Skip to content

Commit

Permalink
Merge branch 'staging' of github.com:FreeCodeCamp/freecodecamp into s…
Browse files Browse the repository at this point in the history
…taging

Conflicts:
	public/js/main_0.0.3.js
	seed/challenges/get-set-for-free-code-camp.json
	seed/field-guides.json
  • Loading branch information
Quincy Larson committed Jun 26, 2015
2 parents 6700729 + 8570f9b commit 378f6da
Show file tree
Hide file tree
Showing 18 changed files with 462 additions and 447 deletions.
9 changes: 8 additions & 1 deletion common/models/User-Identity.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
"foreignKey": "userId"
}
},
"acls": [],
"acls": [
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "DENY"
}
],
"methods": []
}
2 changes: 1 addition & 1 deletion common/models/bonfire.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$authenticated",
"principalId": "$everyone",
"permission": "ALLOW"
}
],
Expand Down
2 changes: 1 addition & 1 deletion common/models/challenge.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$authenticated",
"principalId": "$everyone",
"permission": "ALLOW"
}
],
Expand Down
5 changes: 3 additions & 2 deletions common/models/comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@
},
"rank": {
"type": "number",
"default": "-Infinity"
"default": 0
},
"upvotes": {
"type": "array",
"default": []
},
"author": {
"type": {}
"type": {},
"default": {}
},
"comments": {
"type": "array",
Expand Down
2 changes: 1 addition & 1 deletion common/models/field-guide.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$authenticated",
"principalId": "$everyone",
"permission": "ALLOW"
}
],
Expand Down
2 changes: 1 addition & 1 deletion common/models/job.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$authenticated",
"principalId": "$everyone",
"permission": "ALLOW"
}
],
Expand Down
2 changes: 1 addition & 1 deletion common/models/nonprofit.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$authenticated",
"principalId": "$everyone",
"permission": "ALLOW"
}
],
Expand Down
5 changes: 2 additions & 3 deletions public/js/main_0.0.2.js → public/js/main_0.0.3.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,9 @@ $(document).ready(function() {
.fail(function (xhr, textStatus, errorThrown) {
$('#story-submit').bind('click', storySubmitButtonHandler);
})
.done(function (data, textStatus, xhr) {
window.location = '/news/' + JSON.parse(data).storyLink;
.done(function(data, textStatus, xhr) {
window.location = '/stories/' + data.storyLink;
});

};

$('#story-submit').on('click', storySubmitButtonHandler);
Expand Down
2 changes: 1 addition & 1 deletion seed/challenges/basic-html5-and-css.json
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@
"You can create one like this: <code>&#60;input type='text'&#62;</code>. Note that <code>input</code> elements are self-closing."
],
"tests": [
"assert($('input').length > 0, 'Your app should have an text field input element.')"
"assert($('input').length > 0, 'Your app should have a text field input element.')"
],
"challengeSeed": [
"<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>",
Expand Down
2 changes: 1 addition & 1 deletion seed/challenges/bootstrap.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dashedName": "waypoint-mobile-responsive-images",
"difficulty": 0.047,
"description": [
"Now let's go back to our Cat Photo App. This time, we'll style it using the popular Twitter Bootstrap responsive CSS framework. First, add a new image with the <code>src</code> attribute of \"http://bit.ly/fcc-kittens2\", and add the \"img-responsive\" Bootstrap class to that image.",
"Now let's go back to our Cat Photo App. This time, we'll style it using the popular Bootstrap responsive CSS framework. First, add a new image with the <code>src</code> attribute of \"http://bit.ly/fcc-kittens2\", and add the \"img-responsive\" Bootstrap class to that image.",
"It would be great if the image could be exactly the width of our phone's screen.",
"Fortunately, we have access to a Responsive CSS Framework called Bootstrap. You can add Bootstrap to any app just by including it with <code>&#60;link rel='stylesheet' href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css'/&#62;</code> at the top of your HTML. But we've gone ahead and automatically added it to your Cat Photo App for you.",
"Bootstrap will figure out how wide your screen is and respond by resizing your HTML elements - hence the name <code>Responsive Design</code>.",
Expand Down
6 changes: 3 additions & 3 deletions seed/challenges/get-set-for-free-code-camp.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
"challengeSeed": ["127358841"],
"description": [
"One of the best ways to stay motivated when learning to code is to hang out with other campers.",
"Our chat room and Camper News are great ways to communicate with other campers, but there's no substitute for meeting people in-person.",
"Gitter and Camper News are great ways to communicate with other campers, but there's no substitute for meeting people in-person.",
"The easiest way to meet other campers in your city is to join your city's Facebook Group. Click <a href='/field-guide/how-can-i-find-other-free-code-camp-campers-in-my-city' target='_blank'>here</a> to view our growing list of local groups.",
"Click the link to your city, then, once Facebook loads, click \"Join group\".",
"Our local groups are new, so if you don't see your city on this list, you should follow the directions to create a Facebook group for your city.",
Expand All @@ -256,7 +256,7 @@
"nameEs": "Waypoint: Encuentrate con otros Campers en tu Ciudad",
"descriptionEs": [
"Una de las mejores maneras de mantenerte motivado cuando estás aprendiendo a programar es pasar el rato con otros campers.",
"Slack y Noticias de Campers son una muy buena forma de comunicarte con otros campers, pero no hay ningún substituto para conocerlos en persona.",
"Gitter y Noticias de Campers son una muy buena forma de comunicarte con otros campers, pero no hay ningún substituto para conocerlos en persona.",
"La forma más fácil de encontrarte con otros campers en tu ciudad es unirte al grupo de Facebook de tu ciudad o país. Dale click a <a href='/field-guide/how-can-i-find-other-free-code-camp-campers-in-my-city' target='_blank'>here</a> para ver la lista de grupos locales.",
"Dale click al link de tu ciudad o país y una vez que Facebook cargue, dale click a \"Join group\".",
"Nuestros grupos locales son pocos, asi que en caso no veas tu ciudad o país en la lista, solamente sigue las instrucciones para crear un grupo de Facebook para ello.",
Expand Down Expand Up @@ -328,7 +328,7 @@
"Cualquier momento en el que te atasques o no sepas que hacer, sigue este simple algoritmo (procedimiento): RSAP (Read, Search, Ask, Post). Que en español vendría a ser Lee, Busca, Pregunta, Publica.",
"Primero, Lee - Lee la documentación o el mensaje de error. El punto fuerte de un buen programador es la habilidad de interpretar y seguir instrucciones.",
"Luego, Busca - Busca en Google. Buenas búsquedas o queries requieren bastante práctica. Cuando búsques en Google, idealmente tienes que incluir el lenguaje o framework que estés usando. También tendrás que limitar los resultados de búsqueda a un periodo reciente.",
"Ahora, en caso no hayas encontrado la respuesta a tu pregunta, Pregunta - Pregunta a tus amigos. En caso estes en problemas, puedes preguntar a otros campers. Tenemos una sala de chat especificamente para obtener ayuda sobre las herramientas que utilizamos en los desafíos de Free Code Camp. Ingresa a <a href='https://freecodecamp.slack.com/messages/help/' target='_blank'>https://freecodecamp.slack.com/messages/help/</a>. Mantén este chat abierto mientras trabajas en los desafíos subsiguientes.",
"Ahora, en caso no hayas encontrado la respuesta a tu pregunta, Pregunta - Pregunta a tus amigos. En caso estes en problemas, puedes preguntar a otros campers. Tenemos una sala de chat especificamente para obtener ayuda sobre las herramientas que utilizamos en los desafíos de Free Code Camp. Ingresa a <a href='https://gitter.im/FreeCodeCamp/Help' target='_blank'>https://gitter.im/FreeCodeCamp/Help</a>. Mantén este chat abierto mientras trabajas en los desafíos subsiguientes.",
"Finalmente, Publica - Publica tu pregunta en Stack Overflow. Antes de hacer esto lee la guía de Stack Overflow para publicar buenas preguntas: <a href='http://stackoverflow.com/help/how-to-ask'>http://stackoverflow.com/help/how-to-ask</a>. Tendrás que hacerlo en inglés, en caso no sepas como, pide que te ayuden a traducir tu pregunta en el canal #espanol de Slack.",
"Aquí está nuestra guia detallada en como obtener ayuda: <a href='/field-guide/how-do-i-get-help-when-i-get-stuck' target='_blank'>http://freecodecamp.com/field-guide/how-do-i-get-help-when-i-get-stuck</a>.",
"Ahora que tienes en claro el procedimiento a seguir cuando necesites ayuda. ¡Empecémos a programar! Continua con el siguiente desafío."
Expand Down
Loading

0 comments on commit 378f6da

Please sign in to comment.