Commit Graph

12835 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
a31ba824ea fix: upgrade script to work from 0.x to 2.x 2022-11-05 14:44:12 -04:00
Barış Soner Uşaklı
06d1539137 test: fix tests again 2022-10-29 17:40:33 -04:00
Barış Soner Uşaklı
b5d38bc696 feat: new search hooks
filter:search.isAllowed, allow plugins to check if searching is allowed
filter:search.searchIn, allow searching in custom items
2022-10-29 16:57:03 -04:00
Julian Lam
a2fafc2b15 Merge remote-tracking branch 'origin/master' into develop 2022-10-24 14:11:25 -04:00
Barış Soner Uşaklı
673261ff98 fix: #10519, image height in emails 2022-10-23 19:46:54 -04:00
Barış Soner Uşaklı
6f673f806f fix: #10993, apply autoLocale middleware to guests only 2022-10-21 10:23:36 -04:00
Barış Soner Uşaklı
be92be4eee feat: add search data to filter:search.inContent 2022-10-20 20:36:29 -04:00
Barış Soner Uşaklı
e3f2156202 feat: add search data to filter:search.inContent 2022-10-20 20:35:35 -04:00
Julian Lam
96b46411b1 Merge branch 'master' into develop 2022-10-18 15:38:36 -04:00
Julian Lam
9ee30fe7d2 fix: revert breaking change, add back SocketUser.emailConfirm 2022-10-18 15:16:52 -04:00
Julian Lam
9c576a0758 Email confirmation QOL updates (#10987)
* breaking: remove `SocketUser.emailConfirm`, re: #10954

* chore: move email confirmation related configs to own section in Settings > Email

* feat: new user email method `getValidationExpiry`, returns expiration in ms.. probably.

* fix: bug where `user.email.isValidationPending` returned an u nexpected non-boolean value if there was no confirmation pending (only when checking email as well)

* fix: update getValidationExpiry to return ms

* test: use emailConfirmInterval for tests, for now

* fix: throw friendly error when attempting an email change within email confirmation window

* feat: new config option `emailConfirmExpiry` in days, governs how long the confirm link is good for

* test: additional tests for user email methods

* fix: add back missing handling of  option

* test: fix tests
2022-10-18 15:12:13 -04:00
Julian Lam
09f3ac6574 fix: in appropriately named language key email-confirm-email2 2022-10-17 16:49:15 -04:00
Julian Lam
7672194c7c fix: correctly pass dev flag to package installer 2022-10-17 16:13:04 -04:00
Julian Lam
09cfd0bd57 fix: use --omit=dev flag for npm instead of --production 2022-10-17 16:07:26 -04:00
Barış Soner Uşaklı
dd4e9cce09 perf: speed up build
run webpack as soon as js targets are done
this allows building js/css in parallel
2022-10-14 11:04:00 -04:00
Barış Soner Uşaklı
3a70530c8e fix active plugins (#10964) 2022-10-13 10:11:19 -04:00
Barış Soner Uşaklı
67efaeb4b8 fix active plugins (#10964) 2022-10-13 10:09:23 -04:00
Barış Soner Uşaklı
b879b6a0c2 fix: use admin:groups priv for groups (#10960) 2022-10-12 10:02:45 -04:00
Barış Soner Uşaklı
e35b0a869f fix: https://github.com/NodeBB/NodeBB/issues/10525 2022-10-11 20:30:54 -04:00
Barış Soner Uşaklı
ebd5dcc6d6 fix: EEXISTS error on linux if plugin/theme overrides core js file 2022-10-11 08:13:59 -04:00
Julian Lam
1e4846435a fix: mixing of old and new bch syntax 2022-10-03 15:36:03 -04:00
Julian Lam
1e864a7518 Merge remote-tracking branch 'origin/master' into develop 2022-10-03 14:51:55 -04:00
Barış Soner Uşaklı
61d32bdebb fix: category ordering add test 2022-10-03 09:41:40 -04:00
Barış Soner Uşaklı
177d904812 fix: category ordering add test 2022-10-03 09:41:08 -04:00
Barış Soner Uşaklı
c0b1ded363 fix more categories button not moving with parent
fix order issue
2022-10-01 22:02:01 -04:00
Barış Soner Uşaklı
a584dae650 feat: add relevant topic events to post objects
see c9604f216a
2022-09-23 10:42:15 -04:00
Julian Lam
14515f6004 fix: add lru-cache to checked packages, to fix upgrade issue with lru-cache 2022-09-21 16:02:20 -04:00
Julian Lam
53d47a58f6 fix: use --omit=dev flag for npm instead of --production 2022-09-21 11:56:58 -04:00
Julian Lam
6391f77b01 Merge remote-tracking branch 'origin/master' into develop 2022-09-20 14:04:02 -04:00
Julian Lam
cf4f5447bb fix: #10906, allow middleware.checkAccountPermissions to be called with either uid or userslug in params
Previously, the middleware only worked with userslug params
2022-09-19 10:08:18 -04:00
Barış Soner Uşaklı
b5dd89e1c0 feat: store topic title and tags in diffs (#10900)
* feat: store topic title and tags in diffs

allow restoring post diff if tags didn't change

* test: fix tests, fast computer problems
2022-09-16 22:16:08 -04:00
Julian Lam
fe249fa577 fix: listen to -d flag on cli upgrade 2022-09-16 11:44:34 -04:00
Barış Soner Uşaklı
ebd7c05c4c feat: paginate recentposts.rss and
category/1/recentposts.rss
2022-09-14 09:27:08 -04:00
Julian Lam
6061d611ea Merge remote-tracking branch 'origin/master' into develop 2022-09-09 13:34:49 -04:00
Barış Soner Uşaklı
8aa1596d23 chore: bring back treding plugins 2022-09-04 12:59:03 -04:00
Barış Soner Uşaklı
3d5a6b39d6 lint: fix lint 2022-09-04 12:28:47 -04:00
Barış Soner Uşaklı
b392450c36 perf: disable trending plugins, too slow due to nbbpm 2022-09-04 12:00:27 -04:00
Opliko
665f36b707 feat: add quiet to action:settings.set
Makes it possible to ignore quiet updates without abusing the `filter` hook
2022-09-03 09:36:25 -04:00
Julian Lam
67cb70352f fix: missing escape on ACP category backgroundImage property 2022-09-02 12:30:55 -04:00
Julian Lam
15b1561fd3 feat: introduce ACP defined option to rescind notif or do nothing on flag resolve/reject
/cc #10867
2022-08-26 16:05:45 -04:00
Julian Lam
d05705183f refactor: move export generation logic to v3 controller, GET/HEAD routes for exports
re: #10384
2022-08-22 17:03:43 -04:00
Julian Lam
0cda5aa3e3 feat: allow v3 api to handle 202 and 204 response codes as well. 2022-08-22 17:03:43 -04:00
Julian Lam
8b7cf48ade Merge remote-tracking branch 'origin/master' into develop 2022-08-19 15:36:08 -04:00
Julian Lam
9b96c33d5d fix: wrap passport.authenticate to pass in keepSessionInfo if not already set 2022-08-19 13:04:10 -04:00
Julian Lam
65b3996ac6 fix: removing duplicate session rerolling code (as it is in passport@^0.6 now) 2022-08-19 12:52:24 -04:00
Julian Lam
20ebf0a1e0 Merge remote-tracking branch 'origin/master' into develop 2022-08-19 10:50:59 -04:00
Barış Soner Uşaklı
bc37a5c516 fix: parseInt caller.uid closes #10849 2022-08-19 08:51:04 -04:00
Barış Soner Uşaklı
fc9b436f3e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-08-18 09:27:48 -04:00
Barış Soner Uşaklı
489fb3a36f fix: missing req, closes #10847 2022-08-18 09:27:37 -04:00
Julian Lam
4dc7fa050f fix: #10845, disallow inline viewing of uploaded html files 2022-08-17 21:48:02 -04:00