Commit Graph

44 Commits

Author SHA1 Message Date
Baris Usakli
8f2a0014b3 closes #70 2013-07-08 14:14:18 -04:00
Baris Soner Usakli
b146445db1 send 404 and error message in api_method user.js 2013-07-05 17:16:35 -04:00
Baris Soner Usakli
a0b4ea70b3 more cleanup in user routes 2013-07-05 16:31:55 -04:00
Baris Soner Usakli
6a4dcc75c2 changes to user routes to return null 2013-07-05 16:16:03 -04:00
Damian Bushong
8867a4d666 Update user.js
Fix minor copy-paste mistake
2013-07-05 13:01:33 -05:00
Damian Bushong
2c12062ce0 Update user.js
- Do not use a temp var here, that's just wasting memory since we're only using it once (and it isn't helping readability all that much)
- Add notes about console.error use, indicate it's temporary and needs replaced with proper logging
- Indicate that resizing code should be split out into another process (perhaps with node's built in cluster module? or child_process.spawn?)
- Do not use `res.send` with JSON data; use res.json
- Use consistent spacing and whitespace usage
2013-07-05 12:51:56 -05:00
Baris Usakli
38663177b0 fixed favouriting 2013-07-03 14:33:26 -04:00
Baris Usakli
1a992b7147 first batch of changes 2013-07-02 16:24:13 -04:00
Baris Soner Usakli
c571a73a8b closes #44 2013-06-29 17:17:09 -04:00
Baris Soner Usakli
8b58ba95d1 sort query param 2013-06-29 15:25:52 -04:00
Baris Soner Usakli
d0af1230b5 query params will need a fix before we can send /users?sort=latest to templates 2013-06-27 15:13:02 -04:00
Baris Soner Usakli
56dc29a747 closes #44 2013-06-27 14:38:45 -04:00
Baris Soner Usakli
c93f8c0530 recent posts in /users/ page 2013-06-26 23:04:49 -04:00
Baris Usakli
d3a190d74e username to userslug change 2013-06-24 14:33:53 -04:00
Baris Usakli
aaab212128 fixed more indentation 2013-06-20 16:52:42 -04:00
Baris Usakli
64a9e5844d son whitespace conflicts are so 1765 2013-06-20 16:30:33 -04:00
Baris Usakli
523b787e69 added csrf to ajax calls 2013-06-20 16:29:44 -04:00
Julian Lam
0d954b24dc removed debug statements, adding missing file re: issue #3 2013-06-20 16:29:20 -04:00
Baris Usakli
9cf9e98b14 removed duplicate build_header 2013-06-20 16:04:58 -04:00
Baris Usakli
cef77c2fd8 changed res.send(JSON.stringify()); to res.json(). closes #25 2013-06-20 15:08:33 -04:00
Baris Usakli
3f3d81de44 admins can make others admins 2013-06-20 14:45:38 -04:00
Baris Soner Usakli
f2dfba33ad cleaned image upload a bit, no longer using the filename sent by the user 2013-06-19 21:00:19 -04:00
Baris Soner Usakli
626423e01b path join on user routers 2013-06-19 10:32:48 -04:00
Baris Soner Usakli
b962972d21 changed the image upload to use the path module instead of / 2013-06-19 09:47:15 -04:00
Baris Soner Usakli
39cf0476d3 follower and following count on account page 2013-06-17 15:46:13 -04:00
Baris Soner Usakli
44d07ea543 changed friends to following/followers, updated routes and the user.js functions 2013-06-17 15:25:09 -04:00
Julian Lam
1a104686ac new header for meta title 2013-06-05 16:17:07 -04:00
Julian Lam
9af39622ed actually using identicon default across the site 2013-05-29 14:55:43 -04:00
Julian Lam
48bccb3498 applying custom theme (if enabled) to all routes 2013-05-28 12:31:55 -04:00
Julian Lam
88bf9425db install script + patching up integration with install wizard 2013-05-27 14:02:57 -04:00
psychobunny
cd4ca110a1 moved utils over to client side for code sharing 2013-05-23 13:21:46 -04:00
Baris Soner Usakli
ef304a712f strip tags from signature when they are saving, separated info in user profile and added signature box 2013-05-21 22:36:21 -04:00
Baris Soner Usakli
9c5fa5fc5e signature work 2013-05-21 13:44:53 -04:00
Baris Usakli
9d5f6364ad removed console.logs 2013-05-16 11:53:27 -04:00
Baris Usakli
9cd189e273 relative time fix 2013-05-15 16:44:08 -04:00
Baris Usakli
d1041bedf4 imagemagick resizing 2013-05-15 15:01:05 -04:00
Baris Usakli
40b8264d6e only png jpg and gifs are allowed for image upload, increase profile image size to 256kb 2013-05-15 14:46:49 -04:00
Baris Usakli
3b0978caa7 add friend button invisible if user is already friend 2013-05-15 14:30:03 -04:00
Baris Usakli
58aa0ee647 friends 2013-05-15 13:57:13 -04:00
Baris Usakli
c76eeaba3e removed old upload code 2013-05-15 11:48:40 -04:00
Baris Usakli
39798b9f79 changed the file upload to use streams 2013-05-15 11:46:41 -04:00
Baris Usakli
233752a9c7 why does urls dont work when put into address bar 2013-05-14 16:44:43 -04:00
Baris Usakli
073b87982b moved user routes into routers/user.js 2013-05-14 14:04:19 -04:00
Baris Usakli
188b1d5ada for andrew 2013-05-14 13:04:12 -04:00