Commit Graph

22164 Commits

Author SHA1 Message Date
Julian Lam
3e6640efb2 refactor: thumbs.associate accepts both relative path and url in path arg 2021-02-12 17:11:32 -05:00
Julian Lam
36e8d251c8 fix: use of removed URL to get post data 2021-02-12 17:10:59 -05:00
Julian Lam
a4b4a5566d feat: link to post-queue from topic event 2021-02-12 15:15:20 -05:00
Julian Lam
8fd78ce512 feat: post-queue topic event 2021-02-12 15:10:47 -05:00
Julian Lam
3f35fd335d feat: add post-queue cache 2021-02-12 15:10:30 -05:00
Julian Lam
36f2021186 refactor: move post queue retrival code to posts.getQueuedPosts 2021-02-12 12:25:27 -05:00
Julian Lam
b81508c4e2 fix: init topic events from webserver.js 2021-02-12 11:50:43 -05:00
Julian Lam
6074a0fbbf refactor: call topic events init from within file itself 2021-02-12 10:26:50 -05:00
Julian Lam
cc275e1016 Revert "feat: newsletter opt-in/out in UCP, closes #21"
This reverts commit 3c7cd9a6c4.
2021-02-12 10:12:38 -05:00
Julian Lam
3c7cd9a6c4 feat: newsletter opt-in/out in UCP, closes #21 2021-02-12 10:11:08 -05:00
Misty (Bot)
48a3c4bd2e Latest translations and fallbacks 2021-02-12 09:08:08 +00:00
Renovate Bot
73f07958d8 chore(deps): update dependency mocha to v8.3.0 2021-02-11 23:56:24 +00:00
Barış Soner Uşaklı
3595473485 feat: load user posts/topics via xhr on infinitescroll 2021-02-11 16:47:51 -05:00
Barış Soner Uşaklı
b753c69cfe fix: check null topics 2021-02-11 14:51:17 -05:00
Barış Soner Uşaklı
58cd797e4c fix: guard against null topics 2021-02-11 14:48:29 -05:00
Barış Soner Uşaklı
fc90f32ec0 fix: tests, new categories go to top now 2021-02-11 12:58:59 -05:00
Barış Soner Uşaklı
c953b1b3d1 fix: #9292, messageobj.content already parsed 2021-02-11 12:55:00 -05:00
Barış Soner Uşaklı
4b2bf12fd1 feat: #9294, put new categories at top 2021-02-11 12:35:10 -05:00
Julian Lam
9d17f397c0 fix(remountable-routes): more fixes to remountable routes
fix: ensure proper admin privilege checking on remounted `/admin` mount

fix: guard against plugins sending back missing mounts

fix: no need to make addRemountableRoutes awaitable
2021-02-11 11:45:24 -05:00
Julian Lam
16c1d6e937 style(remountable-routes): abstract removable routes code to a separate local fn 2021-02-11 11:45:24 -05:00
Julian Lam
1f28713f1a refactor(remountable-routes): rename src/routes/accounts.js to src/routes/user.js to better match the route prefix 2021-02-11 11:45:24 -05:00
Julian Lam
bc68e990af fix(remountable-routes): bug with user routes remounting to itself 2021-02-11 11:45:24 -05:00
Julian Lam
9021f071d4 feat(remountable-routes): allow category and account routes to be remounted 2021-02-11 11:45:24 -05:00
Julian Lam
f01af62b53 feat(remountable-routes): allow /admin and /post to be remountable 2021-02-11 11:45:24 -05:00
Julian Lam
92758ec50d refactor(remountable-routes): allow certain route prefixes to be mounted elsewhere 2021-02-11 11:45:24 -05:00
Renovate Bot
5dd748c633 fix(deps): update dependency nodebb-theme-persona to v10.5.9 2021-02-11 08:48:52 -05:00
Misty (Bot)
3a61ac2119 Latest translations and fallbacks 2021-02-11 09:09:52 +00:00
Barış Soner Uşaklı
765db86d4e fix: clear category cache on copy parent 2021-02-10 22:13:35 -05:00
Barış Soner Uşaklı
ed3e9ce2e2 fix: delete category cache key on category create 2021-02-10 22:10:54 -05:00
Barış Soner Uşaklı
c61cc37bba fix: typo 2021-02-10 17:56:46 -05:00
Barış Soner Uşaklı
cf4002bcc9 perf: cache base_url 2021-02-10 17:41:39 -05:00
Barış Soner Uşaklı
5ce2820799 perf: single call to get digest topics, dont send duplicate topics 2021-02-10 17:37:22 -05:00
Julian Lam
86e911ba4b fix(deps): require xregexp 5.0.1 2021-02-10 17:05:53 -05:00
Renovate Bot
513cd1c325 fix(deps): update dependency xregexp to v5 2021-02-10 17:05:53 -05:00
Renovate Bot
54b4dc1dfa fix(deps): update dependency nodebb-theme-persona to v10.5.8 2021-02-10 17:04:04 -05:00
Renovate Bot
4d92af5a6b fix(deps): update dependency postcss to v8.2.6 2021-02-10 20:23:00 +00:00
Misty (Bot)
949f043a96 Latest translations and fallbacks 2021-02-10 09:10:53 +00:00
Barış Soner Uşaklı
90d5c9da44 perf: single db call to add all uids 2021-02-10 00:58:07 -05:00
Barış Soner Uşaklı
a5fa212fc7 fix: wait for event.log to finish before killing process 2021-02-09 23:03:02 -05:00
Barış Soner Uşaklı
0185ea1b4f perf: make digests a little bit faster
and use batch.processArray
dont load data for users who have no email or have not confirmed their emails
2021-02-09 15:27:08 -05:00
Barış Soner Uşaklı
b6493f896f fix: tests, only generate csrf_token on 404 gets 2021-02-09 12:40:29 -05:00
Barış Soner Uşaklı
2c52fbd1b9 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-09 12:40:08 -05:00
Barış Soner Uşaklı
1c9acef6dd chore: up composer 2021-02-09 12:27:25 -05:00
renovate[bot]
c2459fd50e fix(deps): update dependency nodebb-theme-persona to v10.5.7 (#9288)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 12:26:48 -05:00
Barış Soner Uşaklı
94f72d6093 fix: #9287, generate csrf_token on 404 2021-02-09 12:23:55 -05:00
Julian Lam
783786cf8c fix: do not blindly escape a notification's bodyLong
For 7+ years we were escaping this value, but it is in many cases already sanitized (as it may be a post content). For those cases when it is not, I now run it through parse.raw.

Instead of escaping, it now strips p, img, and a tags.
2021-02-09 11:16:40 -05:00
Misty (Bot)
0092df2c02 Latest translations and fallbacks 2021-02-09 09:07:34 +00:00
Renovate Bot
b312725fd3 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.10 2021-02-09 06:15:04 +00:00
Renovate Bot
4599144f31 fix(deps): update dependency nodebb-theme-persona to v10.5.6 2021-02-09 02:45:52 +00:00
renovate[bot]
eb9f058fa1 fix(deps): update dependency nodebb-widget-essentials to v5.0.3 (#9284)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 20:14:29 -05:00