Baris Usakli
93653e88df
changed most of the ajax calls to use sockets
12 years ago
Baris Usakli
47378fb978
error middleware, closes #60
12 years ago
Baris Usakli
8f2a0014b3
closes #70
12 years ago
Baris Soner Usakli
b146445db1
send 404 and error message in api_method user.js
12 years ago
Baris Soner Usakli
a0b4ea70b3
more cleanup in user routes
12 years ago
Baris Soner Usakli
6a4dcc75c2
changes to user routes to return null
12 years ago
Damian Bushong
8867a4d666
Update user.js
...
Fix minor copy-paste mistake
12 years ago
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
12 years ago
Baris Usakli
38663177b0
fixed favouriting
12 years ago
Baris Usakli
1a992b7147
first batch of changes
12 years ago
Baris Soner Usakli
c571a73a8b
closes #44
12 years ago
Baris Soner Usakli
8b58ba95d1
sort query param
12 years ago
Baris Soner Usakli
d0af1230b5
query params will need a fix before we can send /users?sort=latest to templates
12 years ago
Baris Soner Usakli
56dc29a747
closes #44
12 years ago
Baris Soner Usakli
c93f8c0530
recent posts in /users/ page
12 years ago
Baris Usakli
d3a190d74e
username to userslug change
12 years ago
Baris Usakli
aaab212128
fixed more indentation
12 years ago
Baris Usakli
64a9e5844d
son whitespace conflicts are so 1765
12 years ago
Baris Usakli
523b787e69
added csrf to ajax calls
12 years ago
Julian Lam
0d954b24dc
removed debug statements, adding missing file re: issue #3
12 years ago
Baris Usakli
9cf9e98b14
removed duplicate build_header
12 years ago
Baris Usakli
cef77c2fd8
changed res.send(JSON.stringify()); to res.json(). closes #25
12 years ago
Baris Usakli
3f3d81de44
admins can make others admins
12 years ago
Baris Soner Usakli
f2dfba33ad
cleaned image upload a bit, no longer using the filename sent by the user
12 years ago
Baris Soner Usakli
626423e01b
path join on user routers
12 years ago
Baris Soner Usakli
b962972d21
changed the image upload to use the path module instead of /
12 years ago
Baris Soner Usakli
39cf0476d3
follower and following count on account page
12 years ago
Baris Soner Usakli
44d07ea543
changed friends to following/followers, updated routes and the user.js functions
12 years ago
Julian Lam
1a104686ac
new header for meta title
12 years ago
Julian Lam
9af39622ed
actually using identicon default across the site
12 years ago
Julian Lam
48bccb3498
applying custom theme (if enabled) to all routes
12 years ago
Julian Lam
88bf9425db
install script + patching up integration with install wizard
12 years ago
psychobunny
cd4ca110a1
moved utils over to client side for code sharing
12 years ago
Baris Soner Usakli
ef304a712f
strip tags from signature when they are saving, separated info in user profile and added signature box
12 years ago
Baris Soner Usakli
9c5fa5fc5e
signature work
12 years ago
Baris Usakli
9d5f6364ad
removed console.logs
12 years ago
Baris Usakli
9cd189e273
relative time fix
12 years ago
Baris Usakli
d1041bedf4
imagemagick resizing
12 years ago
Baris Usakli
40b8264d6e
only png jpg and gifs are allowed for image upload, increase profile image size to 256kb
12 years ago
Baris Usakli
3b0978caa7
add friend button invisible if user is already friend
12 years ago
Baris Usakli
58aa0ee647
friends
12 years ago
Baris Usakli
c76eeaba3e
removed old upload code
12 years ago
Baris Usakli
39798b9f79
changed the file upload to use streams
12 years ago
Baris Usakli
233752a9c7
why does urls dont work when put into address bar
12 years ago
Baris Usakli
073b87982b
moved user routes into routers/user.js
12 years ago
Baris Usakli
188b1d5ada
for andrew
12 years ago