Commit Graph

26360 Commits

Author SHA1 Message Date
Julian Lam
cf50b0fe49 fix: change notificationSendDelay to default to 10 seconds instead of 60, #11445 2023-09-27 10:22:17 -04:00
Julian Lam
d7e9f32412 test: additional tests for #12034 2023-09-26 14:54:13 -04:00
Julian Lam
bdc221eb37 fix: clear interstitial data if there are no additional interstitials on abort 2023-09-26 14:54:13 -04:00
Julian Lam
74902e4a7b fix: #11808, reduce zeal of middleware.registrationComplete
Now will judiciously check whether the target category or topic is restricted to verified users before redirecting unverified users to the email confirmation interstitial
2023-09-26 14:54:13 -04:00
Barış Soner Uşaklı
e0b29ba9bd chore: up themes 2023-09-26 12:20:46 -04:00
Barış Soner Uşaklı
fbcb40f834 Merge branch 'master' into develop 2023-09-26 11:51:28 -04:00
Barış Soner Uşaklı
cddac03a5f fix: change priv to topics:read 2023-09-26 11:51:18 -04:00
Barış Soner Uşaklı
f0c940c97f Merge branch 'master' into develop 2023-09-26 11:50:16 -04:00
renovate[bot]
84648db21d fix(deps): update dependency nodebb-plugin-spam-be-gone to v2.2.0 (#12039)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 10:50:00 -04:00
Barış Soner Uşaklı
8b25aff79a feat: add workerpool for password, closes #10326 (#12038) 2023-09-26 10:48:58 -04:00
Barış Soner Uşaklı
f1a80d48cc 10411 (#12037)
* feat: add type to privilege maps

deprecate old hooks that are used for adding new privileges, new hooks are static:privileges.global.init/static:privileges.categories.init

* deprecate admin priv hooks

* fix: if type doesnt exist default to 'other'

* remove filter

* fix: copy privilege functions to use new filter instead of indices

allow static hooks to use sync functions

* fix: openapi

* test: fix template helper
2023-09-25 20:42:18 -04:00
Barış Soner Uşaklı
77d6d0abfc fix: #12035, filter tids in mark all read 2023-09-25 20:34:10 -04:00
renovate[bot]
c1f873b302 fix(deps): update dependency cron to v2.4.4 (#12033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 11:53:18 -04:00
Barış Soner Uşaklı
d50473dfeb fix: pass in missing uid 2023-09-25 11:20:21 -04:00
Barış Soner Uşaklı
8895b152c2 refactor: get rid of exists db call, use promise.parallel 2023-09-25 11:08:09 -04:00
Barış Soner Uşaklı
a0ae31d0a7 Merge branch 'master' into develop 2023-09-25 10:51:44 -04:00
Barış Soner Uşaklı
379ed0e2e8 refactor: remove nested promise 2023-09-25 10:49:14 -04:00
pkuanvil-uid1
aff19a6c6b fix: properly wrap promise to callback-style function (#12030)
Async function xhr use a mixture of await and callback, which is not correct when an exception is thrown before callback happens. Use only async/await for it and create a new callback-style wrapper.
2023-09-25 10:48:31 -04:00
Julian Lam
ce7403014a test: added tests for new logic paths (toPid validation on post creation)
re: #12025
2023-09-25 10:34:35 -04:00
Julian Lam
fe42fd4ebc fix: #12025, validity checking on user-provided toPid value 2023-09-25 10:34:35 -04:00
renovate[bot]
650510669f chore(deps): update dependency eslint to v8.50.0 (#12029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 10:23:42 -04:00
Barış Soner Uşaklı
b518e03671 fix: #12032, truncate long category names 2023-09-24 20:08:49 -04:00
Barış Soner Uşaklı
e452c097d0 refactor: get rid of some async.waterfall/series/parallel calls 2023-09-22 11:44:32 -04:00
Barış Soner Uşaklı
6456e04507 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-09-22 10:15:39 -04:00
Barış Soner Uşaklı
8041f4d185 fix: field name importance 2023-09-22 10:15:34 -04:00
renovate[bot]
3262923a3f fix(deps): update dependency ace-builds to v1.28.0 (#12028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 09:55:53 -04:00
Barış Soner Uşaklı
b8e43143cd fix: closes #12007, parseInt notification fields 2023-09-22 09:55:02 -04:00
renovate[bot]
d29ea026de fix(deps): update dependency nodebb-plugin-2factor to v7.3.1 (#12026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 09:15:05 -04:00
renovate[bot]
360d3257f6 fix(deps): update dependency nodebb-plugin-ntfy to v1.7.2 (#12024)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 09:14:39 -04:00
Misty Release Bot
6c578d6cd4 Latest translations and fallbacks 2023-09-22 09:19:16 +00:00
renovate[bot]
c805824f43 fix(deps): update dependency nodebb-plugin-2factor to v7.3.0 (#12021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-21 15:03:43 -04:00
Barış Soner Uşaklı
0d8434be3f Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-09-21 11:13:17 -04:00
Barış Soner Uşaklı
615b2f0fa0 fix: on shutdown clear locks 2023-09-21 11:13:11 -04:00
renovate[bot]
be600a84f7 fix(deps): update dependency sass to v1.68.0 (#12023)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-21 00:04:26 -04:00
renovate[bot]
f6b6e6c715 fix(deps): update dependency autoprefixer to v10.4.16 (#12022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 18:28:47 -04:00
renovate[bot]
639fb33fd3 fix(deps): update dependency nodebb-plugin-2factor to v7.3.0 (#12021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 18:28:38 -04:00
renovate[bot]
5dc368a95b fix(deps): update dependency bootswatch to v5.3.2 (#12020)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 18:28:32 -04:00
Barış Soner Uşaklı
a7517d886f feat: add new hook action:chat.onMessagesAddedToDom
fires whenever new messages are added to dom
* receive new message
* added by scrolling up to load old messages
2023-09-20 09:48:45 -04:00
Misty Release Bot
293b460a63 Latest translations and fallbacks 2023-09-20 09:20:01 +00:00
Barış Soner Uşaklı
00dd0cb30b chore: up emoji 2023-09-19 19:46:59 -04:00
Barış Soner Uşaklı
86de8cb296 chore: up emoji 2023-09-19 19:10:48 -04:00
Barış Soner Uşaklı
581bac4144 bump emoji 2023-09-19 14:00:26 -04:00
renovate[bot]
f73ed6dd50 fix(deps): update dependency ace-builds to v1.27.0 (#12019)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 13:11:57 -04:00
renovate[bot]
16fe4fdecf fix(deps): update dependency nodebb-plugin-emoji to v5.1.10 (#12018)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 13:11:36 -04:00
renovate[bot]
f838498bfc fix(deps): update dependency sharp to v0.32.6 (#12016)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 10:58:05 -04:00
renovate[bot]
7dbc66683a fix(deps): update dependency postcss to v8.4.30 (#12015)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 10:57:44 -04:00
Barış Soner Uşaklı
5081ff485e chore: up emoji 2023-09-19 10:57:16 -04:00
renovate[bot]
ba894a04d6 fix(deps): update dependency rtlcss to v4.1.1 (#12014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-18 15:33:18 -04:00
renovate[bot]
4e834a2ef4 fix(deps): update dependency nodebb-plugin-ntfy to v1.7.1 (#12011)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-18 15:33:08 -04:00
renovate[bot]
5a003acb13 fix(deps): update dependency ace-builds to v1.26.0 (#12010)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-18 15:32:59 -04:00