diff --git a/README.md b/README.md index 092c5b76e9..0bbedf9b54 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Our campers (students) start by working through our free, self-paced, browser-ba 80% of our campers are over 25, and nearly a fifth of our campers are women. -This code is running live at [FreeCodeCamp.com](http://www.FreeCodeCamp.com). We also have [Slack](http://freecode.slack.com), a [blog](http://blog.freecodecamp.com), and even a [Twitch.tv channel](http://twitch.tv/freecodecamp). +This code is running live at [FreeCodeCamp.com](http://www.FreeCodeCamp.com). We also have [Slack](http://freecodecamp.slack.com), a [blog](http://blog.freecodecamp.com), and even a [Twitch.tv channel](http://twitch.tv/freecodecamp). [Join our community](http://www.freecodecamp.com/signin)! @@ -24,7 +24,7 @@ Contributing We welcome pull requests from Free Code Camp campers (our students) and seasoned JavaScript developers alike! Follow these steps to contribute: 1. Check our [public Waffle Board](https://waffle.io/freecodecamp/freecodecamp). -2. Pick an issue that nobody has claimed and start working on it. If your issue isn't on the board, open an issue. If you think you can fix it yourself, start working on it. Feel free to ask for help in our [Slack](http://freecode.slack.com). +2. Pick an issue that nobody has claimed and start working on it. If your issue isn't on the board, open an issue. If you think you can fix it yourself, start working on it. Feel free to ask for help in our [Slack](http://freecodecamp.slack.com). 3. Fork the project ([Need help with forking a project?](https://help.github.com/articles/fork-a-repo/)). You'll do all of your work on your forked copy. 4. Create a branch specific to the issue or feature you are working on. Push your work to that branch. ([Need help with branching?](https://github.com/Kunena/Kunena-Forum/wiki/Create-a-new-branch-with-git-and-manage-branches)) 5. Name the branch something like `user-xxx` where user is your username and xxx is the issue number you are addressing. diff --git a/app.js b/app.js index e431ac361f..97ee11c775 100755 --- a/app.js +++ b/app.js @@ -381,7 +381,7 @@ app.get('/api/slack', function(req, res) { }; var options = { - url: 'https://freecode.slack.com/api/users.admin.invite', + url: 'https://freecodecamp.slack.com/api/users.admin.invite', method: 'POST', headers: headers, form: invite diff --git a/config/passport.js b/config/passport.js index 799ee1f83b..9671114c73 100644 --- a/config/passport.js +++ b/config/passport.js @@ -114,7 +114,7 @@ passport.use(new FacebookStrategy(secrets.facebook, function(req, accessToken, r 'Feel free to email us at this address if you have any questions about Free Code Camp.\n', "And if you have a moment, check out our blog: blog.freecodecamp.com.\n", 'Good luck with the challenges!\n\n', - '- Our All-Volunteer Team' + '- the Free Code Camp Volunteer Team' ].join('') }; transporter.sendMail(mailOptions, function(err) { @@ -189,7 +189,7 @@ passport.use(new GitHubStrategy(secrets.github, function(req, accessToken, refre 'Feel free to email us at this address if you have any questions about Free Code Camp.\n', "And if you have a moment, check out our blog: blog.freecodecamp.com.\n", 'Good luck with the challenges!\n\n', - '- the Volunteer Camp Counselor Team' + '- the Free Code Camp Volunteer Team' ].join('') }; transporter.sendMail(mailOptions, function(err) { @@ -311,7 +311,7 @@ passport.use(new GoogleStrategy(secrets.google, function(req, accessToken, refre 'Feel free to email us at this address if you have any questions about Free Code Camp.\n', "And if you have a moment, check out our blog: blog.freecodecamp.com.\n", 'Good luck with the challenges!\n\n', - '- the Volunteer Camp Counselor Team' + '- the Free Code Camp Volunteer Team' ].join('') }; transporter.sendMail(mailOptions, function(err) { @@ -387,7 +387,7 @@ passport.use(new LinkedInStrategy(secrets.linkedin, function(req, accessToken, r 'Feel free to email us at this address if you have any questions about Free Code Camp.\n', "And if you have a moment, check out our blog: blog.freecodecamp.com.\n", 'Good luck with the challenges!\n\n', - '- the Volunteer Camp Counselor Team' + '- the Free Code Camp Volunteer Team' ].join('') }; transporter.sendMail(mailOptions, function(err) { diff --git a/controllers/resources.js b/controllers/resources.js index e80473d109..0bf414954b 100644 --- a/controllers/resources.js +++ b/controllers/resources.js @@ -232,7 +232,7 @@ module.exports = { chat: function chat(req, res) { if (req.user && req.user.progressTimestamps.length > 5) { - res.redirect('http://freecode.slack.com'); + res.redirect('http://freecodecamp.slack.com'); } else { res.render('resources/chat', { title: 'Watch us code live on Twitch.tv' diff --git a/controllers/user.js b/controllers/user.js index f83ac9e0be..103a816dfb 100644 --- a/controllers/user.js +++ b/controllers/user.js @@ -229,7 +229,7 @@ exports.postEmailSignup = function(req, res, next) { 'And if you have a moment, check out our blog: ', 'blog.freecodecamp.com.\n', 'Good luck with the challenges!\n\n', - '- the Volunteer Camp Counselor Team' + '- the Free Code Camp Volunteer Team' ].join('') }; transporter.sendMail(mailOptions, function(err) { diff --git a/public/css/main.less b/public/css/main.less index dc43261bfa..5187ba93f6 100644 --- a/public/css/main.less +++ b/public/css/main.less @@ -1092,6 +1092,7 @@ hr { .iframe-scroll { position: fixed !important; margin-top: 75px; + z-index: 9999; } } @media only screen and (max-width: 992px) { diff --git a/public/js/main_0.0.2.js b/public/js/main_0.0.2.js index 2d92d33321..69a8dfcff2 100644 --- a/public/js/main_0.0.2.js +++ b/public/js/main_0.0.2.js @@ -30,7 +30,7 @@ $(document).ready(function() { }, function(res) { if (res) { - window.open('https://freecode.slack.com/messages/help/', '_blank') + window.open('https://freecodecamp.slack.com/messages/help/', '_blank') } } ); @@ -48,7 +48,7 @@ $(document).ready(function() { }, function(res) { if (res) { - window.open('https://freecode.slack.com/messages/help/', '_blank') + window.open('https://freecodecamp.slack.com/messages/help/', '_blank') } } ); @@ -71,7 +71,7 @@ $(document).ready(function() { }, function(res) { if (res) { - window.open('https://freecode.slack.com/messages/letspair/', '_blank') + window.open('https://freecodecamp.slack.com/messages/letspair/', '_blank') } } ); diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index 1f22850de3..146c139b39 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -16,7 +16,7 @@ "To enable the \"Go to my next challenge\" button on this exercise, change your h1 tag's text to say \"Hello World\" instead of \"Hello\"." ], "tests": [ - "assert.isTrue((/hello(\\s)+world/gi).test($('h1').text()), 'Your h1 element should have the text \"Hello World\"')" + "assert.isTrue((/hello(\\s)+world/gi).test($('h1').text()), 'Your h1 element should have the text \"Hello World\".')" ], "challengeSeed": [ "

Hello

" @@ -37,7 +37,7 @@ "La mayoría de los elementos HTML tienen una etiqueta de apertura y una etiqueta de cierre. Las etiquetas de apertura se ven como: <h1>. Las etiquetas de cierre se ven como: </h1>. Fíjate que la única diferencia entre las etiquetas de apertura y de cierre es que estas últimas tienen un / después de su signo de apertura (<).", "Una vez que hayas completado cada desafío, y que hayas pasado todas sus pruebas, el botón \"Ir a mi siguiente desafío\" se activará. Haz click en él - o presiona control y enter al mismo tiempo - para avanzar al siguiente desafío.", "Para activar el botón \"Ir a mi siguiente desafío\" de este ejercicio, cambia tu texto de la etiqueta h1 para que diga \"Hello World\" en lugar de \"Hello\"." - ], + ], "namePt": "", "descriptionPt": [] }, @@ -53,9 +53,9 @@ ], "tests": [ "assert(($('h2').length > 0), 'Create an h2 element.')", - "assert(editor.match(/<\\/h2>/g) && editor.match(/<\\/h2>/g).length === editor.match(/

/g).length, 'Make sureyour h2 element has a closing tag.')", - "assert.isTrue((/cat(\\s)?photo(\\s)?app/gi).test($('h2').text()), 'Your h2 element should have the text \"CatPhotoApp\"')", - "assert.isTrue((/hello(\\s)+world/gi).test($('h1').text()), 'Your h1 element should have the text \"Hello World\"')" + "assert(editor.match(/<\\/h2>/g) && editor.match(/<\\/h2>/g).length === editor.match(/

/g).length, 'Make sure your h2 element has a closing tag.')", + "assert.isTrue((/cat(\\s)?photo(\\s)?app/gi).test($('h2').text()), 'Your h2 element should have the text \"CatPhotoApp\".')", + "assert.isTrue((/hello(\\s)+world/gi).test($('h1').text()), 'Your h1 element should have the text \"Hello World\".')" ], "challengeSeed": [ "

Hello World

" @@ -73,7 +73,7 @@ "El elemento h2 que ingreses creará un elemento h2 en el sitio web.", "Este elemento le dice al navegador cómo mostrar el texto que contiene.", "Los elementos h2 son ligeramente más pequeños que los elementos h1. También hay elementos h3, h4, h5 y h6." - ], + ], "namePt": "", "descriptionPt": [] }, @@ -84,12 +84,12 @@ "description": [ "Create a p element below your h2 element, and give it the text \"Hello Paragraph\".", "p elements are the preferred element for normal-sized paragraph text on websites. P is short for \"paragraph\".", - "You can create a p element like so: <p>I'm a p tag!</p>" + "You can create a p element like so: <p>I'm a p tag!</p>." ], "tests": [ "assert(($('p').length > 0), 'Create a p element.')", "assert.isTrue((/hello(\\s)+paragraph/gi).test($('p').text()), 'Your p element should have the text \"Hello Paragraph\".')", - "assert(editor.match(/<\\/p>/g) && editor.match(/<\\/p>/g).length === editor.match(/

/g).length, 'Make sureyour p element has a closing tag.')" + "assert(editor.match(/<\\/p>/g) && editor.match(/<\\/p>/g).length === editor.match(/

p element has a closing tag.')" ], "challengeSeed": [ "

Hello World

", @@ -106,8 +106,8 @@ "descriptionEs": [ "Crea un elemento párrafo debajo de tu elemento h2, y dale el texto \"Hello Paragraph\". Apenas escribas la etiqueta de apertura <p>, una de nuestras pruebas pasarán (ya que ésta es HTML válido). Asegúrate de cerrar el elemento agregando la etiqueta de cierre </p>.", "Los elementos párrafo son los principales elementos para los párrafos de texto en tamaño normal en sitios web.", - "Tú puedes crear un elemento párrafo como éste: <p>I'm a p tag!</p>" - ], + "Tú puedes crear un elemento párrafo como éste: <p>I'm a p tag!</p>." + ], "namePt": "", "descriptionPt": [] }, @@ -122,7 +122,7 @@ "You'll encounter other self-closing element tags soon." ], "tests": [ - "assert(($('br').length > 0), 'Add a br element to your page, preferably between two of your elements.')" + "assert(($('br').length > 0), 'Add a br element to your page preferably between two of your elements.')" ], "challengeSeed": [ "

Hello World

", @@ -202,7 +202,8 @@ "tests": [ "assert(($('h1').length === 0), 'Comment out your h1 element so that it is not visible on your page.')", "assert(($('h2').length > 0), 'Leave your h2 element uncommented so that is not visible on your page.')", - "assert(($('p').length === 0), 'Comment out your p element so that it is not visible on your page.')" + "assert(($('p').length === 0), 'Comment out your p element so that it is not visible on your page.')", + "assert(editor.match(/-->/g).length > 0, 'Be sure to close each of your comments with -->.')" ], "challengeSeed": [ "