299 Commits (7610c11cd1b9de53ce185227ab80f86d55d3bd69)

Author SHA1 Message Date
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 0574022e02 fixes to infinitescroll 11 years ago
barisusakli 55dbc5c823 closes #1612
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
11 years ago
psychobunny f98a52013a Merge remote-tracking branch 'origin/master' into require.js 11 years ago
psychobunny 281aa0049c init, attempt to increase cold load speed 11 years ago
barisusakli 652e1ef574 closes #1597
turns out clicking back causes double script.init() calls and
ajaxify.variables.get('topic_id') can be undefined in one of those
calls.
11 years ago
psychobunny d81351579d don't require passing in uid for topics.markAsRead 11 years ago
psychobunny 791fde7904 fixing #1587 properly for unread count 11 years ago
barisusakli b8b482e287 closes #1555 11 years ago
barisusakli ff2bad635c infinite scroll refactor 11 years ago
barisusakli 3e86bdb38f more work on #1518
still needs more work, category is next
11 years ago
barisusakli 66abd20647 moved add commas to process page 11 years ago
psychobunny f697b5a2b8 addBlockquoteEllipses to newly created posts #1491 11 years ago
psychobunny 3b7d222ec3 prevent duplicate blockquotes #1491 11 years ago
psychobunny 3934f2ec88 collapsible blockquotes, closes #1359 11 years ago
barisusakli d43d363a7a refactored topics.js
removed ajaxify.register_events using removeListener now
11 years ago
barisusakli dea4b78cb9 fixes tooltip for users that go online/offline 11 years ago
barisusakli e0a83728d6 closes #1458 11 years ago
barisusakli 7339cb5d61 closes #1434 11 years ago
barisusakli 2ad715ead3 closes #1412 11 years ago
barisusakli e12beccc09 closes #1371
adds a dropdown to category view to move/pin/lock/delete multiple topics
11 years ago
barisusakli 63dfc38dea topic changes to match the new post-bar partial 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 a091e06fe3 more work for #1368 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 57dd44a871 removed console.log 11 years ago
barisusakli 0cd13b7b66 closes #1273 11 years ago
barisusakli bdefebeea0 reverting some of my code and fixed #1322 properly 11 years ago
Julian Lam 339d0e5495 flag post translations 11 years ago
barisusakli b1a6d394e3 moved format number functions to utils 11 years ago
psychobunny 7e11d29f06 got rid of all templates.prepare; pull blocks using templates.getBlock instead of parsing twice 11 years ago
psychobunny 7217954078 updating all templates.get to ajaxify.variables.get 11 years ago
barisusakli 4f88e9cf2c shortened the user postcount update code 11 years ago
barisusakli d6ad100ed5 not used anymore 11 years ago
barisusakli 5fe5e3d893 topics.js refactor 11 years ago
barisusakli 2507d6c853 display_moderator_tools is already returned
when new posts were loaded, we were making a socket call for each post
to check if the post is editable, but this data is already returned in
display_moderator_tools when posts are loaded.
11 years ago
barisusakli e4fbb31e68 some cleanup 11 years ago
barisusakli 980cf2ccf9 closes #1184 11 years ago
barisusakli 363e7c23bd postTools cleanup 11 years ago
barisusakli 8ffaecaa4c fixed paginator on entry, moved out postTools to a new file 11 years ago
barisusakli 45f0021503 moved follow to thread tools 11 years ago
barisusakli 3f23821580 moved topic moving and thread tools out of topic.js 11 years ago
barisusakli 38d4fd1a59 took out forking to its own file 11 years ago
barisusakli 161c7f1875 closes #1201 11 years ago
psychobunny b2986f2a4e removing use strict from forum/topic.js until its refactored properly 11 years ago
psychobunny dd7433bab6 fixed active users icon in thread 11 years ago
psychobunny 0d625761be fixing bug introduced @ da0355ef79 (multiple widget areas defined = explosion) 11 years ago
psychobunny a68ba044c3 fixed missing topic_name and viewcount when reverse infinite scrolling 11 years ago
psychobunny 857df86726 fixed pagination, and loading of template blocks on cold load (temp solution) 11 years ago