barisusakli
7610c11cd1
closes #450
...
backup database before upgrade!
upgrade script will take the first post of each topic and set the
`mainPid` property on the topic. then it will remove that pid from the
sorted sets for that topic, this was done to make alternative sorting
work.
added a new sorted set called `tid:<id>:posts:votes` that is used to
sort topic posts by vote count, the original sorted set `tid:<id>:posts`
is used to sort by oldest first or newest first.
the main post is added to the returned posts array on topic load and is
always at the top.
theme changes are minimal just a few new data properties on the posts
and the sorting dropdown.
hopefully didn't miss anything too critical.
11 years ago
barisusakli
d43d363a7a
refactored topics.js
...
removed ajaxify.register_events using removeListener now
11 years ago
psychobunny
e5486db1ae
Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
...
Conflicts:
src/database.js
11 years ago
barisusakli
90540f64cf
removed some unused translator requires
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
barisusakli
95972209f4
favourite changes
...
favourites.js no longer makes socket calls, moved that code into
socket.io/posts.js. it also makes a single socket call when you downvote
a post that you previously upvoted.
11 years ago
barisusakli
8b6f701246
removd dupe
11 years ago
barisusakli
1354739d19
user deletion #746
...
user deletion NOT SKALABLE
11 years ago
Baris Soner Usakli
8da7a6f2f3
cleanup
11 years ago
Baris Soner Usakli
2630a72f81
closes #965
11 years ago
psychobunny
37affe2489
no need to use mget, app.alert already translates
11 years ago
psychobunny
1e955b769b
refactoring favourites
11 years ago
psychobunny
25a6302c01
upvoting / downvoting complete
11 years ago
psychobunny
af805d3ca4
Favourites.hasVoted
11 years ago
psychobunny
d35dc2d89b
favouriting no longer affects reputation
11 years ago
psychobunny
ef1fdbed71
server-side voting logic
11 years ago
Baris Soner Usakli
7f23f848fe
fix for mismatch between favourite count and number of people in favourited seT
11 years ago
MrWaffle
03d92eb5cd
Thought I'd refactor this for you guys
11 years ago
MrWaffle
da317b5a85
async wooo
11 years ago
MrWaffle
b887b76c29
Implement favourite tooltip to show who favourited a post
11 years ago
Baris Soner Usakli
b3816b98a1
more post fixes
11 years ago
Baris Soner Usakli
accde93fff
removed api: from server
11 years ago
Julian Lam
adb8f80b86
interim commit - removed calls to websockets.js, beginning porting to namespaced files
11 years ago
Baris Soner Usakli
5f86e31d1e
fixed favouriting
11 years ago
Baris Soner Usakli
32d5118266
tons more changes
11 years ago
Baris Soner Usakli
32b191fa62
removed global.io
11 years ago
Baris Usakli
7c1b6d6ad2
lots of refactor for error handling
11 years ago
Baris Usakli
27f421587e
closes #444
11 years ago
psychobunny
8b8a890ac9
removed unnecessary warning message to anonymous users attempting to unfavourite posts
12 years ago
psychobunny
5645bcee2d
topic.json en lang; tested serverside internationalization in favourites; fixed some keys in login
12 years ago
psychobunny
cf4ba9d1d3
format/jshint favourites.js
12 years ago
psychobunny
aea3181d27
formatting - server side core
12 years ago
psychobunny
43c0c2ec2a
fix for favouriting
12 years ago
psychobunny
a277104ad5
dehinted favourites.js
12 years ago
psychobunny
0f8aad52b2
updated all alert-error to alert-danger (wtf did BS3 need to change that?)
12 years ago
Baris Usakli
1e66116e1d
closes #181
12 years ago
Baris Usakli
8dc7a0dbbf
changed favouriting to wait for socket call to end before changing star class
12 years ago
Baris Soner Usakli
ded0200355
upgraded userlist to 3 sorted sets, run node app -upgrade after updating to this commit, added infinite scrolling to all user pages, added ops per second to redis page, changed the percentage to 90% for infinite scrolling to kick in
12 years ago
Baris Usakli
38663177b0
fixed favouriting
12 years ago
Baris Usakli
98013536d1
more fixes
12 years ago
psychobunny
1f99666d9f
moved favourites code out of posts
12 years ago