Julian Lam
5ac0276530
fix: reply expansion
2024-01-16 11:20:54 -05:00
Peter Jaszkowiak
115d19e289
chore: eslint prefer-rest-params, prefer-spread
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Barış Soner Uşaklı
eabc6f4763
fix: crash if post doesn't have topic data
2019-11-08 18:38:58 -05:00
Barış Soner Uşaklı
1b2b308a7e
feat: #7743 , posts module
2019-07-17 00:17:21 -04:00
Barış Soner Uşaklı
035f624758
Remove implicit mod privs. closes #6345 ( #7648 )
...
* feat: add upgrade script to give mods privs
* feat: give all privileges when making a moderator
* feat: remove implicit privs
* feat: give global mods default privs
* feat: more priv fixes
* feat: use lodash
* fix: remove implicit mod priv from topic delete
* fix: more privs
* fix: posts.canEdit
* fix: canDelete and canEdit
* fix: tests, remove console.log
* feat: shorter functions
* feat: add tests
* fix: uids
* fix: redis random test fail
2019-05-30 19:30:47 -04:00
Barış Soner Uşaklı
38af651072
use _.uniq
2017-06-25 20:00:05 -04:00
Peter Jaszkowiak
3c2d4fe649
Switch from underscore to lodash
2017-05-27 14:51:45 -06:00
Baris Usakli
0f05ae4ac1
filterpidsbycid tests
2017-05-11 17:16:26 -04:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
feb8405f95
ESlint eol-last
2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
777914b762
more api tests
2016-10-27 13:30:50 +03:00
Julian Lam
3272c0b98c
linting
2016-10-13 16:01:26 -04:00
Julian Lam
ead4de6c6f
Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint
2016-10-13 14:43:28 -04:00
Julian Lam
e80400665e
closes #5111
2016-10-13 13:12:41 -04:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
2e6fc4d045
filterPidsByCid
2016-09-16 18:39:53 +03:00
barisusakli
5e5e46e95f
closes #4499
2016-04-29 20:35:57 +03:00
Barış Soner Uşaklı
c94c1430b7
api/post/pid route
2015-02-24 13:02:58 -05:00
barisusakli
11dc477dde
posts/categories.js
2014-11-11 18:22:50 -05:00
barisusakli
263f479b20
posts.js refactor pt1
2014-11-09 01:12:24 -05:00