Commit Graph

505 Commits

Author SHA1 Message Date
psychobunny
3305256575 add fullname to user return as well 2015-10-29 18:46:52 -04:00
psychobunny
0588a59c0c normalize user data between topic.user and post.user 2015-10-29 18:07:04 -04:00
barisusakli
f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
2015-10-29 16:35:53 -04:00
Julian Lam
4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
2015-10-07 02:14:03 -04:00
barisusakli
40e26d3b9d removed unused requires 2015-10-06 15:38:34 -04:00
Julian Lam
f6d5b52a8b WIP user-icons 2015-09-27 12:57:21 -04:00
barisusakli
5950f97f96 more refactors 2015-09-25 17:38:58 -04:00
barisusakli
c617a3f008 inf scroll changes
dont load main post if start > 0
2015-09-24 21:14:41 -04:00
barisusakli
be7c2cc88a closes #3630 2015-09-17 19:29:41 -04:00
barisusakli
51cdd0800c simplified calculatePostIndices 2015-09-15 17:19:10 -04:00
barisusakli
6fc267858e fix missing callback 2015-09-14 22:58:02 -04:00
barisusakli
8f98d03239 waterfall for topics 2015-08-07 17:25:35 -04:00
barisusakli
9604779be1 fix unreplied 2015-08-04 15:51:35 -04:00
barisusakli
808d64e0d9 delete topic bookmarks on topic purge 2015-08-02 14:42:01 -04:00
Barış Soner Uşaklı
2968dbb9ac Merge pull request #3346 from bdharrington7/bookmark2
Saves user bookmarks on server if available
2015-08-01 17:08:40 -04:00
bdharrington7
25203ee67e changes bookmark storage to sortedset, gets uid from socket rather than being passed from client 2015-07-30 23:13:34 -07:00
bdharrington7
c0ec6faed3 Clarifies code by calling native db method instead of Topics method 2015-07-27 19:59:19 -07:00
barisusakli
2b93c01340 closes #3347 2015-07-21 20:22:56 -04:00
bdharrington7
2a82b5db91 Merge branch 'master' into bookmark2 2015-07-22 00:27:02 +08:00
bdharrington7
4d99f60b3d uses server-side bookmark if available 2015-07-21 23:46:05 +08:00
Julian Lam
7e6703c18e more line ending conversion #3343 2015-07-21 11:23:16 -04:00
bdharrington7
45df5a3d0b stores the user's bookmark on the server 2015-07-21 21:20:13 +08:00
barisusakli
1ee6255450 closes #3104 2015-05-04 13:32:49 -04:00
barisusakli
b7b44e13b1 added privileges.topics.filterUids
if a topic is deleted and user doesn't have permissions/admin/mod dont
send notifs
2015-04-18 16:34:32 -04:00
barisusakli
878e548296 renamed end to stop globally
fixed getting favourites for admins
2015-03-31 23:40:58 -04:00
Barış Soner Uşaklı
abf27954d3 use topic.getMainPids 2015-03-13 16:33:00 -04:00
barisusakli
4cb58d976b fix indices, main post always 0 2015-03-12 11:03:10 -04:00
barisusakli
2878bf6cfe removed commented out code 2015-03-11 23:37:25 -04:00
barisusakli
c63d5f4b7a test 2015-03-11 22:47:15 -04:00
Barış Soner Uşaklı
33723f8b1b closes #2835 2015-03-09 13:54:35 -04:00
Barış Soner Uşaklı
e2b535dfaf closes #1973 2015-02-25 12:44:04 -05:00
barisusakli
4d63a7c020 closes ##2705 2015-02-07 23:00:58 -05:00
Julian Lam
957415463f Merge branch '0.7.0'
Conflicts:
	package.json
	src/search.js
2015-02-07 17:07:48 -05:00
barisusakli
9062a8f02b pass on mainPid 2015-02-07 00:19:22 -05:00
barisusakli
c859586269 calculate topic post indices instead of querying db 2015-02-07 00:12:47 -05:00
barisusakli
236fe91e95 fix typo 2015-01-16 13:00:50 -05:00
barisusakli
6fe8d25166 add uid to filter:topic.get 2015-01-16 12:58:31 -05:00
barisusakli
6ccdf187ea closes #2595 2015-01-13 14:54:13 -05:00
barisusakli
08c1dad3ee topics.isFollowing works with multiple tids now 2015-01-12 16:57:18 -05:00
barisusakli
83312ad53a faster getTeasers 2014-12-19 23:56:51 -05:00
barisusakli
4f38a33702 fix pagination going to 404 if new post creates a new page 2014-11-18 14:49:48 -05:00
barisusakli
8e114c2093 moved isAdminOrMod check out of getTopicsByTids 2014-11-16 16:15:49 -05:00
barisusakli
653850661e topics.getTopics doesnt take set param 2014-11-16 01:33:11 -05:00
barisusakli
79265b9e83 removed dupe code 2014-11-16 00:58:02 -05:00
barisusakli
52c12fa1b1 use wrapper functions getPostsFields and getTopicsFields 2014-11-14 20:19:14 -05:00
barisusakli
6b13a84d2f removed extra priv checks
-removed category check from recentreplies since pids are already
checked
-removed category check from topics/unread.js since topics are filtered
now
-added array checks to src/topics.js
2014-11-14 19:52:25 -05:00
barisusakli
2579d2535d closes #2396 2014-11-11 20:10:51 -05:00
barisusakli
fa5ac04cd3 src/topics.js cleanup 2014-11-11 19:47:56 -05:00
Julian Lam
44175188c4 handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method 2014-11-04 23:19:28 -05:00
barisusakli
b12e3562d5 hide category icons if they are not set 2014-10-30 18:04:49 -04:00