Commit Graph

546 Commits

Author SHA1 Message Date
Quincy Larson
c0702b9d04 Merge pull request #180 from terakilobyte/master
MOre news updates
2015-03-09 16:39:04 -07:00
Nathan Leniz
5ddc87a072 Missing next declaration 2015-03-10 08:18:17 +09:00
Nathan Leniz
d6a6834971 Validate min length of 5 for username, 8 for password 2015-03-10 08:17:10 +09:00
Nathan Leniz
a65216e29e don't throw err on mongo errors but send 500 and call next 2015-03-10 08:15:43 +09:00
Michael Q Larson
09e42df355 update sitemap 2015-03-09 07:18:31 -07:00
Nathan Leniz
64d1c4a908 Server side checking of user input before allowing signup. 2015-03-09 18:35:56 +09:00
Nathan Leniz
3bfad2e272 Sanitize HTML on comments and story submission and properly use req.params. Code review cleanup 2015-03-09 18:30:37 +09:00
Nathan Leniz
55b047aa32 Refactor resources.js to include meta description. 2015-03-09 18:21:41 +09:00
Nathan Leniz
eb991c4f15 Add image fetching for articles that support the og:image meta tag 2015-03-09 13:08:39 +09:00
Nathan Leniz
3b3de541b3 Update username for stories and comments on username change in profile 2015-03-09 11:59:50 +09:00
Nathan Leniz
bc06c69a7b update user pictures on page fetch for learn-to-code 2015-03-09 07:59:18 +09:00
Michael Q Larson
8d2552fe57 give users without images a default image and retroactively give that to all their stories and comments and also make some UI changes to stories. 2015-03-08 15:39:36 -07:00
Michael Q Larson
4529558ce4 Merge branch 'master' of https://github.com/FreeCodeCamp/freecodecamp 2015-03-08 15:16:50 -07:00
Michael Q Larson
37c98a95ed add check for missing image 2015-03-08 15:16:44 -07:00
Nathan Leniz
7a56d4fcb2 Remove debug/console.log statements 2015-03-09 06:58:08 +09:00
Nathan Leniz
8608f48d8c Delete seed tasks, email signup now defaults a picture 2015-03-09 06:51:47 +09:00
Nathan Leniz
38dc4378df Add ranking algorithm to decay posts over time, add default image to user instead of gravatar 2015-03-09 06:09:51 +09:00
Nathan Leniz
bd81c678f9 Add story limiting for hotStories, not working on recentStories 2015-03-08 20:36:13 +09:00
Nathan Leniz
6283ec1174 resolve show.jade merge conflict 2015-03-08 18:50:28 +09:00
Nathan Leniz
de91be44da comment submit time bug fixed 2015-03-08 18:48:20 +09:00
Michael Q Larson
aacb0070b3 add the nonprofit projects guide view and change all our nonbreaking spaces to smaller, more natural looking spaces 2015-03-08 01:36:09 -08:00
Nathan Leniz
f367a0310e Finalizing display issues for news release 2015-03-08 16:50:51 +09:00
Nathan Leniz
1edc1aa3cf Begin refactoring story lists to order list, remove separate rank div 2015-03-08 12:32:35 +09:00
Nathan Leniz
790a2d987b Fighting CSS 2015-03-08 11:53:03 +09:00
Michael Q Larson
0a741f0e54 further ux improvements to branch 2015-03-07 17:38:47 -08:00
Michael Q Larson
49886ca097 remove node-rest-client and use request 2015-03-07 15:57:30 -08:00
Nathan Leniz
b776be58e5 Finish full functionality for intial release of camper news 2015-03-07 20:51:20 +09:00
Nathan Leniz
a3769f6507 Story submission now with a description, refactor show to display description above comment box 2015-03-07 18:26:49 +09:00
Nathan Leniz
9bea52d42f Refactor post flow, get url info back from server, redirect to final submission form 2015-03-07 17:42:22 +09:00
Nathan Leniz
b655cb7532 Title scraping in resource.js getURLTitle function 2015-03-07 16:08:15 +09:00
Nathan Leniz
39d66ea0da Merge branch 'master' into news 2015-03-07 15:23:56 +09:00
Michael Q Larson
e6cf415f88 fix an issue of unathenticated users not being able to access challenges 2015-03-06 17:49:14 -08:00
Nathan Leniz
76842ee713 Respond with 404 if no query found ref #151 2015-03-07 04:51:00 +09:00
Nathan Leniz
89dd38cbac Fix minor bugs 2015-03-07 03:55:59 +09:00
Nathan Leniz
be32cd51b8 Added text-index searching 2015-03-07 03:06:38 +09:00
Nathan Leniz
6910ed0aea Nesting of comments in view, disabling comment form display button on button click 2015-03-07 01:57:09 +09:00
Nathan Leniz
aad15b88ba fudging around with interpreting opengraph info in resources.js 2015-03-06 17:25:28 +09:00
Michael Q Larson
c8c396981a update sitemap 2015-03-06 00:13:58 -08:00
Nathan Leniz
6fc72de232 add basic text search for post headlines 2015-03-06 09:20:30 +09:00
Nathan Leniz
0276c6867e Display hot/recent/submit/search views correctly through index 2015-03-06 08:20:49 +09:00
Nathan Leniz
5440efc729 Wire hot, recent, submit, and search views in app and controller, modified button navigation to fetch their routes 2015-03-06 08:11:18 +09:00
Michael Q Larson
f1f3258fe3 Merge branch 'news' of https://github.com/FreeCodeCamp/freecodecamp into news 2015-03-05 13:42:14 -08:00
Nathan Leniz
046a209637 Comment submission now works on main story, need to refresh page after submission to display new comment 2015-03-06 06:08:40 +09:00
Michael Q Larson
7e14990698 Merge branch 'news' of https://github.com/FreeCodeCamp/freecodecamp into news 2015-03-05 10:56:31 -08:00
Michael Q Larson
4c0ff3b5ed Merge branch 'master' of https://github.com/FreeCodeCamp/freecodecamp into news
Conflicts:
	views/partials/navbar.jade
2015-03-05 10:56:06 -08:00
Nathan Leniz
8552a06ac6 Add url correcting in case user forgets http:// or https:// so url works properly in show view, remove upvote arrows from index view 2015-03-05 19:54:31 +09:00
Nathan Leniz
40a42e29c2 Fixed url redirect after submission, upvoting now works 2015-03-05 19:40:44 +09:00
Nathan Leniz
41442a540f Need to work on story redirect after submission, fix url link in stories/show 2015-03-05 19:21:26 +09:00
Michael Q Larson
d8b8373b70 do some refactoring of the camper news views 2015-03-03 19:55:04 -08:00
Nathan Leniz
6ac780e836 Rewire upvote to use post and req.body instead of req.params, add logic on click handler to reject upvotes if the user has already upvoted, coment display now works 2015-03-04 07:15:00 +09:00