Commit Graph

348 Commits

Author SHA1 Message Date
barisusakli
d57f183f42 privileges.posts.get takes an array of pids now 2014-06-28 14:59:01 -04:00
barisusakli
c3a9767bf6 late night optimizations
-isMemberOfSets returns true/false instead of 1/0
-when loading the posts of a topic only get the userdata for each user
once, before this commit if a topic had 10 posts from 2 different users
we were getting the user data for each user 5 times (drunk)
-getVoteStatusByPostIDs and getFavouritesByPostIDs no longer make
pids.length calls to the db, they use isMemberOfSets now
-getUserInfoForPost renamed to getUserInfoForPosts and doesnt make
uids.length calls to db, uses getMultipleUserFields instead
2014-06-28 01:03:26 -04:00
barisusakli
bd4722665d closes #1725
removed move button from main post, disable moving main post, fixed
moving posts.
2014-06-23 18:06:59 -04:00
barisusakli
9af12819e3 closes #1731 2014-06-23 17:26:02 -04:00
barisusakli
4c2765a79c closes #1679 2014-06-13 15:33:22 -04:00
barisusakli
3b1e373e7b group titles 2014-06-12 18:53:58 -04:00
barisusakli
e8b89513d4 some cleanup in addUserInfoToPost 2014-06-12 16:45:00 -04:00
barisusakli
833aa0f738 derp 2014-06-09 12:51:49 -04:00
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.
2014-06-06 22:12:19 -04:00
barisusakli
55dbc5c823 closes #1612
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
2014-06-02 17:31:14 -04:00
barisusakli
1e68974f50 small refactor 2014-05-20 17:46:17 -04:00
barisusakli
472e6b5206 privilege cleanup 2014-05-17 18:59:34 -04:00
barisusakli
4234057821 first pass for #1518
this only handles postTools privileges, topic and category will follow
2014-05-14 17:53:27 -04:00
barisusakli
3643fbc212 fixes 2 privilege issues 2014-05-14 14:56:46 -04:00
barisusakli
8afcf44732 gravatars will be generated on demand
changing the setting in ACP will affect all default gravatars now.
2014-05-04 17:27:00 -04:00
barisusakli
b88df6420d check err 2014-04-30 13:37:56 -04:00
barisusakli
fa8cdce748 closes #1448 2014-04-27 17:17:07 -04:00
barisusakli
c9551abc5d closes #1432
ability to select a default gravatar image (default, identicon,
mystery-man, monsterid, wavatar, retro) or upload a custom image to use
as default gravatar image
2014-04-26 15:53:00 -04:00
barisusakli
844923d538 added guest language string 2014-04-20 15:17:17 -04:00
barisusakli
2ad715ead3 closes #1412 2014-04-20 15:07:53 -04:00
barisusakli
9d405812cb changed sortedSetRangeByScore 2014-04-10 20:59:17 -04:00
barisusakli
1f77df794a added lots of error keys 2014-04-09 22:26:23 -04:00
barisusakli
d61e632c59 closes #1366 2014-04-09 15:49:36 -04:00
barisusakli
640686f031 added back paragraph tags 2014-04-04 10:02:00 -04:00
Julian Lam
b9aa0d2121 stripping paragraph tags from post summaries in an effort to collapse it all into one paragraph block. 2014-04-04 09:21:17 -04:00
barisusakli
36dc086470 no need to get signature and custom profile info 2014-03-22 21:04:53 -04:00
barisusakli
b2a837d283 getPostSummary change 2014-03-20 13:18:12 -04:00
barisusakli
f83b7ee972 renamed event 2014-03-17 17:38:47 -04:00
barisusakli
8efc33d6a1 closes #976 2014-03-17 17:27:47 -04:00
barisusakli
a0e784a612 closes #1138 2014-03-13 20:24:04 -04:00
barisusakli
bddc270033 changed addUserInfoToPost to add a user object 2014-03-13 16:41:45 -04:00
barisusakli
6e6c5688d9 more cleanup 2014-03-11 22:31:09 -04:00
barisusakli
813b3d6fcc changes for live streaming of posts 2014-03-11 18:46:27 -04:00
Baris Soner Usakli
c9c25bd174 added getRecentPost 2014-03-05 15:38:54 -05:00
Baris Soner Usakli
976744480f post summary change 2014-03-05 14:52:32 -05:00
Baris Soner Usakli
fb691b23b4 moved topic locked check to topic.reply 2014-03-01 22:03:21 -05:00
Baris Soner Usakli
b6d97281d3 closes #1015 2014-03-01 19:15:18 -05:00
Baris Soner Usakli
24b669bd39 some fixes for search plugin 2014-02-28 20:47:49 -05:00
Baris Soner Usakli
9b4ca12dc1 fixed missing var, posts.js cleanup 2014-02-28 00:14:11 -05:00
Baris Soner Usakli
6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting 2014-02-22 18:56:37 -05:00
Baris Soner Usakli
d6d9776cde added toPid to posts 2014-02-22 17:56:13 -05:00
Baris Soner Usakli
60905b2e21 getPidPage fix, pids are strings 2014-02-22 16:48:58 -05:00
Baris Soner Usakli
29ba015d69 fixed topic thumbs 2014-02-21 23:15:25 -05:00
akhoury
63c9269240 merged composer and some other files with master 2014-02-20 02:25:15 -05:00
akhoury
25207852e8 added topics thumbnails support 2014-02-20 02:05:49 -05:00
Julian Lam
42d33f8338 first pass #899 2014-02-19 21:06:30 -05:00
Julian Lam
f50d77bca0 resolved #1060 2014-02-19 17:23:25 -05:00
Baris Soner Usakli
21367a1847 reverse infinite loading 2014-02-17 20:57:12 -05:00
Baris Soner Usakli
8c14a59f93 added new sorted set posts:pid 2014-02-14 14:39:32 -05:00
Baris Soner Usakli
bdc93409a7 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-02-13 19:42:00 -05:00