Commit Graph

132 Commits

Author SHA1 Message Date
Ben Lubar
5937fefa39 Check whether the user can read the replies and allow filtering the reply count in plugins 2016-11-08 18:50:10 -06:00
barisusakli
96d05b58d4 show deleted replies like regular deleted posts 2016-11-02 13:21:57 +03:00
Ben Lubar
123c66e3ec Cache the number of replies in the post object. See #5050.
https://github.com/NodeBB/NodeBB/pull/5050#pullrequestreview-4248269
2016-10-27 12:40:51 -05:00
Ben Lubar
5d66811213 Include reply count with posts in topics 2016-10-27 12:40:51 -05:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
6f86621e30 closes #5096 2016-10-08 19:09:55 +03:00
barisusakli
07fe5057e1 make sure validator.escape() receives strings only 2016-08-27 15:45:15 +03:00
barisusakli
0efe315790 closes #4631 2016-08-12 12:57:23 +03:00
Ben Lubar
f62da5c4e9 see NodeBB/NodeBB#4909 2016-08-09 09:50:49 -05:00
Ben Lubar
26df552d55 Add edit, delete, and topics:delete permissions for users acting on their own posts 2016-08-06 21:23:09 -05:00
barisusakli
596af5d82b closes #4754 2016-06-14 10:07:44 +03:00
barisusakli
ff88186d41 closes #4537 2016-04-19 20:04:39 +03:00
barisusakli
f246c5e1ee closes https://github.com/NodeBB/nodebb-theme-persona/issues/259 2016-03-22 11:39:28 +02:00
barisusakli
f665a1e353 closes #4394 2016-03-21 17:49:44 +02:00
barisusakli
c10ec6b810 closes #4326 2016-03-08 19:06:59 +02:00
barisusakli
34f68a029a closes #4204 2016-02-24 22:15:37 +02:00
barisusakli
5f17e327ce possible fix for https://github.com/akhoury/nodebb-plugin-import/issues/173 2016-02-24 20:10:06 +02:00
barisusakli
1a87767c2c removed extra isAdminOrMod check 2016-01-27 20:36:40 +02:00
barisusakli
2d01fe78d0 removed privileges.posts.get from addPostData
privilege data is already available higher up
2015-10-06 18:36:03 -04:00
barisusakli
40e26d3b9d removed unused requires 2015-10-06 15:38:34 -04:00
barisusakli
75e2228989 closes #3689 2015-09-29 16:36:37 -04:00
barisusakli
b7ce4312a9 show toPid inline 2015-09-29 14:35:28 -04:00
Julian Lam
018af5fa22 accidentally used deprecated method, heh 2015-09-29 11:15:08 -04:00
Julian Lam
09d23c3dd0 Added support for a theme to generate a link back to a parent post 2015-09-29 11:05:35 -04:00
barisusakli
5950f97f96 more refactors 2015-09-25 17:38:58 -04:00
barisusakli
51cdd0800c simplified calculatePostIndices 2015-09-15 17:19:10 -04:00
barisusakli
f55e8bc548 actually rename :dull: 2015-05-11 15:51:41 -04:00
Barış Soner Uşaklı
e7dd881092 teaser fixes
if a post is deleted/restored update the teaser to the latest undeleted
pid, if all posts are deleted it will be set to null
2015-04-16 13:23:21 -04:00
barisusakli
1910fdb977 fix xss on guest handles, make sure guest handlers arent longer than max username length 2015-04-13 13:04:47 -04:00
barisusakli
878e548296 renamed end to stop globally
fixed getting favourites for admins
2015-03-31 23:40:58 -04:00
barisusakli
c859586269 calculate topic post indices instead of querying db 2015-02-07 00:12:47 -05:00
barisusakli
39a75ea2d7 fix recent replies 2015-02-04 15:49:08 -05:00
barisusakli
23f450adbd delete topic post sorted sets on topic purge 2015-01-10 17:47:31 -05:00
barisusakli
7b49effc14 minor tweaks 2015-01-01 13:05:58 -05:00
Julian Lam
9befa6aca7 proper handling of post editing, integration with ACP toggle, #2569 2014-12-31 20:48:32 -05:00
Julian Lam
325815a78d showing guest handles in frontend UI #2569 2014-12-31 16:27:35 -05:00
barisusakli
8eb58bf5fe check err 2014-12-25 18:21:06 -05:00
barisusakli
bf3f20bf8b removed extra comma 2014-12-12 23:25:16 -05:00
barisusakli
2c7d9e1a7c store teaserPid in topic
-update teaser pid as necessary in addPostToTopic, removePostFromTopic,
post purge
-removed 20x db calls from getTeasers
-fixed scroll to post in sub folder install
-upgrade script to update topics with teaserPid
2014-12-12 18:52:37 -05:00
barisusakli
8bba811aaf closes #2522 2014-12-12 00:45:43 -05:00
barisusakli
52a53df80d missing err check 2014-12-11 23:59:23 -05:00
barisusakli
fa5ac04cd3 src/topics.js cleanup 2014-11-11 19:47:56 -05:00
barisusakli
595ff1f4b1 closes #2303
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
2014-11-05 18:59:20 -05:00
barisusakli
761f56aeb1 removed most of the db.sortedSetCards 2014-10-14 23:12:47 -04:00
barisusakli
f3f4711a60 wait for callback 2014-09-19 15:54:16 -04:00
psychobunny
45383ce21e posts.getPostsByTid and posts.getPostsByPids now require a uid passed in 2014-09-17 18:10:01 -04:00
barisusakli
57e204df8e removed most of the debug
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
2014-09-06 20:46:18 -04:00
barisusakli
0d5605ab35 trace in addPostData 2014-09-06 03:09:41 -04:00
barisusakli
8e86f4b787 crash fix 2014-09-05 20:35:24 -04:00