Commit Graph

1498 Commits

Author SHA1 Message Date
gasoved
8168c6c407 fix: purge uploaded images accordingly #9606 (#9611)
* fix: purge uploaded images accordingly

* fix: tests

* fix: relative paths
2021-06-18 09:21:23 -04:00
Julian Lam
f9728aff2c feat: clear reset tokens on successful login 2021-06-14 11:50:36 -04:00
Julian Lam
5c42b3eab0 test: fixed broken tests from #9605, removed token clean on token usage as it is superceded by token clean on generation (+ associated test) 2021-06-11 15:43:03 -04:00
Julian Lam
16e0bca570 fix: improper use of filename extensions 2021-05-28 14:05:30 -04:00
Barış Soner Uşaklı
2c22b06feb fix: isObjectField(s) empty field 2021-05-06 12:44:01 -04:00
Barış Soner Uşaklı
084c985117 feat: guard against multiple resolves 2021-04-29 10:47:23 -04:00
Barış Soner Uşaklı
5fe97b9c2e revert: sync hooks 2021-04-28 15:00:43 -04:00
Barış Soner Uşaklı
308252f566 fix: #9503, dont error in markUnread if room doesnt exist
this prevents deleting the user if they are the only person in the chat room
2021-04-23 14:46:54 -04:00
Barış Soner Uşaklı
1029a06a87 test: fix tests 2021-04-22 11:50:05 -04:00
Barış Soner Uşaklı
01956af43a feat: remove sync hooks support 2021-04-22 11:35:36 -04:00
Barış Soner Uşaklı
92de49be00 test: add test for undefined fields in getObjectsFields 2021-04-22 11:14:47 -04:00
gasoved
8b79c7f139 fix: regress. rescheduling shouldn't add to sets that pinning removed… (#9477)
* fix: regress. rescheduling shouldn't add to sets that pinning removed from

* test: remove the also from tests
2021-04-21 19:19:04 -04:00
Barış Soner Uşaklı
435067aa5f test: remove logs 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
2ea468daa3 test: clear cache between runs, require middleware later in helpers 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
2f401d7d74 test: test times 2021-04-18 21:57:07 -04:00
psychobunny
4dd3844680 fix: logic is hard 2021-04-18 21:57:07 -04:00
psychobunny
bc0ca61c6a fix: run in series 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
80ef108220 test: log 2021-04-18 21:57:07 -04:00
psychobunny
13fa983e61 fix: accidentally committed this 2021-04-18 21:57:07 -04:00
psychobunny
eb240c905f fix: tests 2021-04-18 21:57:07 -04:00
psychobunny
ea22cd302a fix: use req.ip instead, since guests can upload as well 2021-04-18 21:57:07 -04:00
psychobunny
a9978fcfd2 feat: rate limit file uploads 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
36f119a96a fix: #9492, keep query params on redirect 2021-04-15 12:43:28 -04:00
Julian Lam
f4c5050a16 fix: failure on session reroll 🍣 test 2021-04-14 16:32:59 -04:00
Julian Lam
a3a7ab3ae1 test: added test for session id reroll on login 2021-04-14 11:38:17 -04:00
Barış Soner Uşaklı
161081e960 fix: escape flag reason 2021-04-09 14:20:42 -04:00
Barış Soner Uşaklı
f9df6431c9 revert: revert tag sort 2021-04-08 15:19:35 -04:00
Barış Soner Uşaklı
05f2236193 feat: add reverse of recent to getSortedTopics 2021-04-06 12:43:32 -04:00
gasoved
aa0137b1c4 feat: rescheduling (editing ST) (#9445) 2021-03-30 17:51:23 -04:00
Barış Soner Uşaklı
f7f46e7c65 feat: upgrade sharp (#9442) 2021-03-29 21:00:12 -04:00
gasoved
077330b764 feat: scheduled topics (#9399)
* feat: scheduled topics

* refactor: linting fixes

* fix: tests

* fix(test): race condition

* fix: make a single request
2021-03-24 14:28:02 -04:00
Barış Soner Uşaklı
eb360351e5 fix: #9394, fix guest handles 2021-03-15 14:03:35 -04:00
Barış Soner Uşaklı
5c59354c58 fix: #9389, allow admins to add themselves to private groups 2021-03-14 15:20:14 -04:00
Barış Soner Uşaklı
4327a09d76 feat: allow optional fields argument on db.getObject(s) (#9385) 2021-03-14 11:40:54 -04:00
Barış Soner Uşaklı
e789fe8d2a fix: #9383, don't show deleted topic titles in inf scroll 2021-03-13 22:54:32 -05:00
Barış Soner Uşaklı
34b9aaedee feat: allow sync function (#9379)
* feat: allow sync function

* fix: remove async
2021-03-13 12:03:06 -05:00
Barış Soner Uşaklı
e725beaa4a Revert "feat: allow filter functions that return promises or the data directly"
This reverts commit e6c52cf26c.
2021-03-13 11:39:34 -05:00
Barış Soner Uşaklı
e6c52cf26c feat: allow filter functions that return promises or the data directly 2021-03-13 11:27:53 -05:00
Barış Soner Uşaklı
46270f9f20 feat: bring back static hook timeout 2021-03-11 22:56:14 -05:00
Barış Soner Uşaklı
39b0e0fb91 fix: tests 2021-03-11 22:12:05 -05:00
Barış Soner Uşaklı
8ef38cb252 test: add missing test 2021-03-11 10:39:36 -05:00
Barış Soner Uşaklı
70a653d0a5 test: double filter test 2021-03-09 14:02:28 -05:00
Barış Soner Uşaklı
f4f61b92b4 fix: lint 2021-03-09 13:26:23 -05:00
Barış Soner Uşaklı
0e67ab01ca test: admin/manage/users tests 2021-03-09 13:14:59 -05:00
Barış Soner Uşaklı
0af9d26fe5 feat: change uploadCroppedPicture to use updateProfile as well 2021-03-03 17:14:55 -05:00
Barış Soner Uşaklı
a598abcd8e feat: use updateProfile for picture change
so it triggers action:user:updateProfile
2021-03-03 17:11:13 -05:00
Barış Soner Uşaklı
ca8176312f fix: notification prune test 2021-02-26 22:37:57 -05:00
Barış Soner Uşaklı
293b7c2650 refactor: privileges, export modules directly (#9325)
fix unused/commented out methods in admin privileges
2021-02-24 18:10:34 -05:00
Julian Lam
0804d54759 spec: schema docs for new ACP dashboard subpage routes 2021-02-24 12:51:20 -05:00
Barış Soner Uşaklı
cfc237c2b7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-19 11:39:58 -05:00