diff --git a/common/models/User-Identity.json b/common/models/User-Identity.json index d63e5c0af3..79c2192f1c 100644 --- a/common/models/User-Identity.json +++ b/common/models/User-Identity.json @@ -11,6 +11,13 @@ "foreignKey": "userId" } }, - "acls": [], + "acls": [ + { + "accessType": "*", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "DENY" + } + ], "methods": [] } diff --git a/common/models/bonfire.json b/common/models/bonfire.json index ae5e5db32a..859f0196ed 100644 --- a/common/models/bonfire.json +++ b/common/models/bonfire.json @@ -36,7 +36,7 @@ { "accessType": "READ", "principalType": "ROLE", - "principalId": "$authenticated", + "principalId": "$everyone", "permission": "ALLOW" } ], diff --git a/common/models/challenge.json b/common/models/challenge.json index dfc8c9c4a9..f270e7f70b 100644 --- a/common/models/challenge.json +++ b/common/models/challenge.json @@ -72,7 +72,7 @@ { "accessType": "READ", "principalType": "ROLE", - "principalId": "$authenticated", + "principalId": "$everyone", "permission": "ALLOW" } ], diff --git a/common/models/comment.json b/common/models/comment.json index da6bb755d1..ec29a05c98 100644 --- a/common/models/comment.json +++ b/common/models/comment.json @@ -22,14 +22,15 @@ }, "rank": { "type": "number", - "default": "-Infinity" + "default": 0 }, "upvotes": { "type": "array", "default": [] }, "author": { - "type": {} + "type": {}, + "default": {} }, "comments": { "type": "array", diff --git a/common/models/field-guide.json b/common/models/field-guide.json index b8e734247c..be3ae99a25 100644 --- a/common/models/field-guide.json +++ b/common/models/field-guide.json @@ -29,7 +29,7 @@ { "accessType": "READ", "principalType": "ROLE", - "principalId": "$authenticated", + "principalId": "$everyone", "permission": "ALLOW" } ], diff --git a/common/models/job.json b/common/models/job.json index 30f981d4df..83d50ebc7b 100644 --- a/common/models/job.json +++ b/common/models/job.json @@ -32,7 +32,7 @@ { "accessType": "READ", "principalType": "ROLE", - "principalId": "$authenticated", + "principalId": "$everyone", "permission": "ALLOW" } ], diff --git a/common/models/nonprofit.json b/common/models/nonprofit.json index 35713aa13d..738c43e9ad 100644 --- a/common/models/nonprofit.json +++ b/common/models/nonprofit.json @@ -51,7 +51,7 @@ { "accessType": "READ", "principalType": "ROLE", - "principalId": "$authenticated", + "principalId": "$everyone", "permission": "ALLOW" } ], diff --git a/public/js/main_0.0.2.js b/public/js/main_0.0.3.js similarity index 99% rename from public/js/main_0.0.2.js rename to public/js/main_0.0.3.js index faadaed388..20152c48f5 100644 --- a/public/js/main_0.0.2.js +++ b/public/js/main_0.0.3.js @@ -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); diff --git a/seed/challenges/basic-html5-and-css.json b/seed/challenges/basic-html5-and-css.json index 7fdae6da09..c90513cc28 100644 --- a/seed/challenges/basic-html5-and-css.json +++ b/seed/challenges/basic-html5-and-css.json @@ -1468,7 +1468,7 @@ "You can create one like this: <input type='text'>. Note that input 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": [ "", diff --git a/seed/challenges/bootstrap.json b/seed/challenges/bootstrap.json index 41a7229731..2fb852ade8 100644 --- a/seed/challenges/bootstrap.json +++ b/seed/challenges/bootstrap.json @@ -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 src 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 src 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 <link rel='stylesheet' href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css'/> 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 Responsive Design.", diff --git a/seed/challenges/get-set-for-free-code-camp.json b/seed/challenges/get-set-for-free-code-camp.json index 9a242fbd9f..ff3c0b8f3f 100644 --- a/seed/challenges/get-set-for-free-code-camp.json +++ b/seed/challenges/get-set-for-free-code-camp.json @@ -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 here 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.", @@ -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 here 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.", @@ -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 https://freecodecamp.slack.com/messages/help/. 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 https://gitter.im/FreeCodeCamp/Help. 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: http://stackoverflow.com/help/how-to-ask. 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: http://freecodecamp.com/field-guide/how-do-i-get-help-when-i-get-stuck.", "Ahora que tienes en claro el procedimiento a seguir cuando necesites ayuda. ¡Empecémos a programar! Continua con el siguiente desafío." diff --git a/seed/field-guides.json b/seed/field-guides.json index e626d3acae..92d9757116 100644 --- a/seed/field-guides.json +++ b/seed/field-guides.json @@ -279,7 +279,7 @@ "

", "

    ", "
  1. Follow this tutorial to set up your computer for streaming.
  2. ", - "
  3. Contact Jason Ruekert - he's @jsonify in Slack. He's in charge of our Twitch.tv channel. Tell him what you'd like to stream, and when you're available to stream.
  4. ", + "
  5. Contact Jason Ruekert - he's @jsonify in Gitter. He's in charge of our Twitch.tv channel. Tell him what you'd like to stream, and when you're available to stream.
  6. ", "
  7. Jason will pair with you using Screen Hero to verify your computer is configured properly to stream.
  8. ", "
", "

", @@ -492,7 +492,7 @@ " A screen shot showing you the group description box on the Facebook page.", "
  • Click the \"Upload a photo button. To start out, you'll probably just want to use Free Code Camp's banner (download it here), or a scenic shot of your city. Later you can update this with a picture from one of your city's Free Code Camp events.
  • ", " A screenshot showing the \"Upload a photo\" button.", - "
  • Message @quincylarson in Slack with a link to your city's group page and he'll include it here.
  • ", + "
  • Message @quincylarson on Gitter with a link to your city's group page and he'll include it here.
  • ", "
  • Join our Local Leaders Facebook group, where we share ideas about involving campers in your city.
  • ", " ", "

    ", @@ -625,8 +625,8 @@ " ", "

    ", "

    It's notoriously difficult to estimate how long building software projects will take, so feel free to ask our volunteer team for help.

    ", - "

    You'll continue to meet with your stakeholder at least twice a month in your project's Slack channel.

    ", - "

    You should also ask questions in your project's Slack channel as they come up throughout the week, and your stakeholder can answer them asynchronously.

    ", + "

    You'll continue to meet with your stakeholder at least twice a month in your project's Gitter or Slack channel.

    ", + "

    You should also ask questions in your project's Gitter or Slack channel as they come up throughout the week, and your stakeholder can answer them asynchronously.

    ", "

    Getting \"blocked\" on a task can take away your sense of forward momentum, so be sure to proactively seek answers to any ambiguities you encounter.

    ", "

    Ultimately, the project will be considered complete once both the stakeholder's needs have been met, and you and your pair are happy with the project. Then you can add it to your portfolio!

    ", "

    Working with your Pair

    ", @@ -634,7 +634,7 @@ "

    Here are our recommended ways of collaborating:

    ", "

    ", "