Commit Graph

12618 Commits

Author SHA1 Message Date
Julian Lam
ff5d56bb8d Merge branch 'develop' into bootstrap5 2022-11-23 16:07:15 -05:00
Barış Soner Uşaklı
ca27f37791 Merge branch 'master' into bootstrap5 2022-11-23 14:17:10 -05:00
Barış Soner Uşaklı
c7aa4ebf47 Merge branch 'master' into develop 2022-11-23 13:52:33 -05:00
Barış Soner Uşaklı
864fe0f971 feat: add permissions-policy header 2022-11-23 11:33:00 -05:00
Barış Soner Uşaklı
110311b25e fix: https://github.com/NodeBB-Community/nodebb-plugin-custom-pages/issues/68
don't crash if template doesn't have any widgets set before
2022-11-22 19:33:52 -05:00
Barış Soner Uşaklı
fc49665fe5 fix: https://github.com/NodeBB-Community/nodebb-plugin-custom-pages/issues/68
don't crash if template doesn't have any widgets set before
2022-11-22 19:30:58 -05:00
Barış Soner Uşaklı
fb0c9174b5 refactor: remove unnecessary async 2022-11-21 18:49:01 -05:00
Barış Soner Uşaklı
bb82eb71e2 fix: #11052, add missing await 2022-11-21 13:37:35 -05:00
Julian Lam
378fff2714 Merge branch 'develop' into bootstrap5 2022-11-16 12:18:28 -05:00
Julian Lam
10ba7b9ced Merge branch 'master' into develop 2022-11-16 12:16:26 -05:00
Barış Soner Uşaklı
abcfb63126 fix: #11044, allow banned users to post
if given privileges
2022-11-15 17:53:15 -05:00
Julian Lam
e92fd00bca fix: #10042, use bootstrap 5 classes for colour context if privilege is added or removed, prior to saving 2022-11-15 14:22:21 -05:00
Barış Soner Uşaklı
1f62593a21 fix: alert on page load 2022-11-15 09:29:14 -05:00
Barış Soner Uşaklı
3a6898bb4c bs5 fix 2022-11-11 16:25:56 -05:00
Barış Soner Uşaklı
7bd0ccabd3 Merge branch 'develop' into bootstrap5 2022-11-11 16:24:32 -05:00
Barış Soner Uşaklı
3c85b944e3 feat: allow groups to be exempt from maintenance mode
closes #11030
2022-11-11 16:23:00 -05:00
Barış Soner Uşaklı
39434061a9 refactor: move some tpls to core 2022-11-11 13:12:43 -05:00
Barış Soner Uşaklı
5c220d928b fix: move discard button up, closes #11005 2022-11-11 12:26:52 -05:00
Barış Soner Uşaklı
6109061501 fix: check schedule privilege, closes #11032 2022-11-11 11:14:30 -05:00
Barış Soner Uşaklı
b34e859c1b refactor: don't prevent startup if staticDir is undefined
https://community.nodebb.org/topic/16790/problems-with-upgrading-to-2-xx
2022-11-10 13:31:51 -05:00
Julian Lam
515af200ee Merge branch 'develop' into bootstrap5 2022-11-09 12:17:21 -05:00
Julian Lam
97d8b53fd3 Merge branch 'master' into develop 2022-11-09 12:15:24 -05:00
Julian Lam
55a197a7d7 fix: check for csrf token on /register/abort, + theme changes for v2.x branches of themes 2022-11-09 12:00:59 -05:00
Opliko
756e9f53a9 feat(fontawesome): New FontAwesome Icon selector (#11010)
* feat: search via FA api in icon picker

* feat: new initial icon list

* fix: only trigger search if the query changed

avoids sending a request for eg. a ctrl key press

* fix: change deprecated .click() to .trigger(click)

* feat: debounce icon search

* fix: use debounce properly
2022-11-09 11:41:37 -05:00
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
Barış Soner Uşaklı
9d290a4f6e fix: skins/themes save buttons. remove material icons from header 2022-10-25 18:01:31 -04:00
Julian Lam
e7ba890889 refactor: remove unneeded mixin, use bs5 classes and inline style as needed 2022-10-25 14:39:58 -04:00
Julian Lam
e63f8826b4 fix: remaining use of mdl classes in ACP 2022-10-25 14:39:58 -04:00
Julian Lam
539e3cb5a8 fix: 500ms transition instead, also use solid floppy disk icon 2022-10-25 14:39:58 -04:00
Julian Lam
9bbdccbae0 fix: use form-switch instead of checkbox 2022-10-25 14:39:58 -04:00
Julian Lam
19c2be6b0b fix: remove save button and replace with partial written with bs5 classes 2022-10-25 14:39:58 -04:00
Julian Lam
83f6f99354 fix: remove mdl css file 2022-10-25 14:39:58 -04:00
Julian Lam
2c3f330580 fix: rewrite and standardise all checkboxes in ACP to be bs5 checkboxes 2022-10-25 14:39:58 -04:00
Julian Lam
f426e7efe6 style: linting for some reason 2022-10-24 14:54:30 -04:00
Julian Lam
635541026b Merge branch 'develop' into bootstrap5 2022-10-24 14:13:18 -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ı
5ba818ba7b feat: add search data to filter:search.inContent 2022-10-20 20:36:43 -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
591380531f fix: form text in ACP > Appearance > Customise 2022-10-19 14:27:39 -04:00
Barış Soner Uşaklı
9e064a864e fix col-xs classes 2022-10-19 12:10:54 -04:00
Julian Lam
96b46411b1 Merge branch 'master' into develop 2022-10-18 15:38:36 -04:00
Julian Lam
dac71c84cb chore: remove socketUser.emailConfirm again 2022-10-18 15:26:28 -04:00
Julian Lam
c1081f7039 Merge branch 'master' into bootstrap5 2022-10-18 15:21:20 -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