Commit Graph

12635 Commits

Author SHA1 Message Date
Julian Lam
00aef13dd3 Revert "fix: restore old behaviour of empty json w/ 401 code in admin middleware" [breaking]
This reverts commit dda5d42610.

re: #11099
2022-12-16 12:05:41 -05:00
Barış Soner Uşaklı
d814b3325e fix: post queue issues 2022-12-15 13:03:39 -05:00
Barış Soner Uşaklı
ac1f3c314b fix: acp category-selector being changed by theme 2022-12-13 11:18:09 -05:00
Barış Soner Uşaklı
9b3616b103 refactor: move canPostTopic to privs and use on /unread /tag 2022-12-13 11:05:06 -05:00
Barış Soner Uşaklı
574dd8eecb fix: dont lower bookmark
also ignore guests/spiders
2022-12-12 12:17:14 -05:00
Julian Lam
39ae02ade1 fix: also check theme node_modules folder as a css path 2022-12-05 15:37:01 -05:00
Barış Soner Uşaklı
b422c8ce52 breaking: refactor topic events
for proper i18n
support both `user locked this topic 3 hours ago` & `user locked this topic on 19 Oct 2022, 11:42`
2022-11-30 22:02:06 -05:00
Barış Soner Uşaklı
17a6621cd8 Revert "feat: supply subject-first topic event text for themes"
This reverts commit 2fec6b007a.
2022-11-30 18:29:00 -05:00
Julian Lam
2fec6b007a feat: supply subject-first topic event text for themes 2022-11-30 14:40:42 -05:00
Barış Soner Uşaklı
efcb1c2618 fix: prototype vulnerability in socket.io onMessage 2022-11-27 19:31:08 -05:00
Barış Soner Uşaklı
63b19301d6 breaking: remove middleware.renderHeader/renderAdminHeader
move render/footer rendering to middleware/render.js
pass the same data that is passed to header to the footer as well, allows rendering navigation/profile dropdowns in footer.tpl
2022-11-27 19:08:09 -05:00
Julian Lam
22255ac47b Merge branch 'develop' into bootstrap5 2022-11-24 20:18:38 -05:00
Julian Lam
137388882a fix: change hsts-maxage back to numeric input type, change API token uid input to numeric text type 2022-11-24 20:09:58 -05:00
Julian Lam
d1c49a7663 Revert "fix: replace input type number with text/pattern"
This reverts commit cde4c6ac7e.

The changeset was naive in the sense that a lot of the changes inputs actually work better as type="number".
2022-11-24 20:07:39 -05:00
Julian Lam
cde4c6ac7e fix: replace input type number with text/pattern 2022-11-24 17:17:53 -05:00
Julian Lam
07a3cee6d6 feat: integrating basic client-side form validity checking in settings v1 and v2 2022-11-24 17:17:53 -05:00
Barış Soner Uşaklı
6fe8797525 feat: add ./nodebb install <plugin_name>
will install the suggested version for current nodebb closes #11060
2022-11-24 11:17:06 -05:00
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