Commit Graph

12413 Commits

Author SHA1 Message Date
Julian Lam
9ee1afbb0f Merge branch 'master' into develop 2022-08-04 16:04:09 -04:00
Julian Lam
06f089afda test: fix user email tests 2022-08-04 16:02:16 -04:00
Barış Soner Uşaklı
d73f0f9ccb perf: make single db call 2022-08-04 15:51:24 -04:00
Julian Lam
e092bfeb46 Merge remote-tracking branch 'origin/master' into develop 2022-08-03 15:21:04 -04:00
Julian Lam
cba9047f67 fix: #10805, hide unconfirmed emails from user data retrieval methods 2022-08-03 12:36:11 -04:00
Julian Lam
3e062a7f29 fix: use different emoji on NodeBB Ready — again because procrastination 2022-08-03 12:10:08 -04:00
Barış Soner Uşaklı
cd438b328a fix: unnecessary escape 2022-07-30 19:57:48 -04:00
Barış Soner Uşaklı
f64a69132a Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2022-07-30 19:56:03 -04:00
Julian Lam
dc3a6a29bc fix: #10783, do not purge files without a timestamp prefix 2022-07-29 15:32:23 -04:00
Julian Lam
89173f17ca fix: #10798, logic error in COEP header; helmet config 2022-07-29 11:14:45 -04:00
Julian Lam
5176fb1544 feat: add emoji to startup logs, because procrastination. 2022-07-28 15:13:35 -04:00
Julian Lam
dcacd815a9 refactor: invert helmet configuration 2022-07-27 17:02:02 -04:00
Julian Lam
820bc994d8 feat: UI changes for ACP > Manage > Categories (#10782)
* Revert "Revert "feat: cross origin opener policy options (#10710)""

This reverts commit 46050ace1a.

* Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""

This reverts commit 9f291c07d3.

* feat: closes #10719, don't trim children if category is marked section

* feat: fire hook to allow plugins to filter the pids returned in a user profile

/cc julianlam/nodebb-plugin-support-forum#14

* fix: use `user.hidePrivateData();` more consistently across user retrieval endpoints

* fix: better looking placeholder text for ACP search

* fix: bug where fallback to forum search was not working due to client-side error

* feat: allow plugins to toggle whether IPs are shown in the users CSV export

* feat: Allow defining active plugins in config (#10767)

* Revert "Revert "feat: cross origin opener policy options (#10710)""

This reverts commit 46050ace1a.

* Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""

This reverts commit 9f291c07d3.

* feat: closes #10719, don't trim children if category is marked section

* feat: fire hook to allow plugins to filter the pids returned in a user profile

/cc julianlam/nodebb-plugin-support-forum#14

* fix: use `user.hidePrivateData();` more consistently across user retrieval endpoints

* feat: Allow defining active plugins in config

resolves #10766

* fix: assign the db result to files properly

* test: add tests with plugins in config

* feat: better theme change handling

* feat: add visual indication that plugins can't be activated

* test: correct hooks

* test: fix test definitions

* test: remove instead of resetting nconf to avoid affecting other tests

* test: ... I forgot how nconf worked

* fix: remove negation

* docs: improve wording of error message

* feat: reduce code duplication

* style: remove a redundant space

* fix: remove unused imports

* fix: use nconf instead of requiring config.json

* fix: await...

* fix: second missed await

* fix: move back from getActiveIds to getActive

* fix: use paths again?

* fix: typo

* fix: move require into the function

* fix: forgot to change back to getActive

* test: getActive returns only id

* test: accedently commented out some stuff

* feat: added note to top of plugins page if \!canChangeState

Co-authored-by: Julian Lam <julian@nodebb.org>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>

* feat: show an informative message when no plugins are found after filtering

fixes #10771

* Latest translations and fallbacks

* Latest translations and fallbacks

* chore(deps): bump ace-builds from 1.7.1 to 1.8.1 in /install

Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: ace-builds
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: swap out icons in ACP > Manage > Categories to more intuitive ones, remove extra placeholder div

* fix: hide expando button if no subcategories; remove attempt at establishing common vars, increased spacing between categories in list

* fix: buggy expando state on category drag/drop

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
Co-authored-by: Opliko <opliko.reg@protonmail.com>
Co-authored-by: Misty Release Bot <deploy@nodebb.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 14:29:32 -04:00
Julian Lam
6840a7423b feat: show an informative message when no plugins are found after filtering
fixes #10771
2022-07-26 14:27:17 -04:00
Opliko
23cb67a112 feat: Allow defining active plugins in config (#10767)
* Revert "Revert "feat: cross origin opener policy options (#10710)""

This reverts commit 46050ace1a.

* Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""

This reverts commit 9f291c07d3.

* feat: closes #10719, don't trim children if category is marked section

* feat: fire hook to allow plugins to filter the pids returned in a user profile

/cc julianlam/nodebb-plugin-support-forum#14

* fix: use `user.hidePrivateData();` more consistently across user retrieval endpoints

* feat: Allow defining active plugins in config

resolves #10766

* fix: assign the db result to files properly

* test: add tests with plugins in config

* feat: better theme change handling

* feat: add visual indication that plugins can't be activated

* test: correct hooks

* test: fix test definitions

* test: remove instead of resetting nconf to avoid affecting other tests

* test: ... I forgot how nconf worked

* fix: remove negation

* docs: improve wording of error message

* feat: reduce code duplication

* style: remove a redundant space

* fix: remove unused imports

* fix: use nconf instead of requiring config.json

* fix: await...

* fix: second missed await

* fix: move back from getActiveIds to getActive

* fix: use paths again?

* fix: typo

* fix: move require into the function

* fix: forgot to change back to getActive

* test: getActive returns only id

* test: accedently commented out some stuff

* feat: added note to top of plugins page if \!canChangeState

Co-authored-by: Julian Lam <julian@nodebb.org>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2022-07-26 14:27:17 -04:00
Julian Lam
a6af47da02 feat: allow plugins to toggle whether IPs are shown in the users CSV export 2022-07-26 14:27:17 -04:00
Julian Lam
1b9c68196f fix: better looking placeholder text for ACP search 2022-07-26 14:27:17 -04:00
Julian Lam
0529f2fb5d fix: use user.hidePrivateData(); more consistently across user retrieval endpoints 2022-07-26 14:27:17 -04:00
Julian Lam
c26be43ac5 feat: fire hook to allow plugins to filter the pids returned in a user profile
/cc julianlam/nodebb-plugin-support-forum#14
2022-07-26 14:27:17 -04:00
Barış Soner Uşaklı
7e80cc1033 feat: closes #10719, don't trim children if category is marked section 2022-07-26 14:27:17 -04:00
Julian Lam
ad072c03d1 Revert "Revert "feat: cross origin opener policy options (#10710)""
This reverts commit 46050ace1a.
2022-07-26 14:27:17 -04:00
Tong Ho
bbc7f2afba fix: cannot turn off all networks 2022-07-25 10:39:55 -04:00
Tong Ho
2e088a8ef0 fix: cannot setting networks for sharing posts 2022-07-25 10:39:55 -04:00
Julian Lam
c93bd0105e fix: expire email validation tokens on password change 2022-07-20 17:02:39 -04:00
Julian Lam
0d58e8a6af fix: remove extraneous console.log 2022-07-15 14:57:37 -04:00
Julian Lam
3c41ae04cd fix: #10733, extraneous apostrophes in plugin upgrader 2022-07-07 15:10:52 -04:00
Julian Lam
60114219c1 fix: get version from install/package.json instead 2022-07-07 15:07:03 -04:00
Julian Lam
8d701ec3e2 fix: #10739, always re-add theme to active plugins, on theme set 2022-07-05 13:15:22 -04:00
Julian Lam
f38b2a737a fix: improper handling of single vs. multiple inputs for hidePrivateData 2022-06-29 16:19:52 -04:00
Julian Lam
ecf0e8ce22 fix: observe user-specific and ACP-specific hiding rules for fullname 2022-06-29 16:12:32 -04:00
Julian Lam
3f5ae893c6 refactor: allow user.hidePrivateData() to handle an array of userData 2022-06-29 16:10:04 -04:00
Julian Lam
17e44ff5c9 feat: fire hook to allow plugins to filter the pids returned in a user profile
/cc julianlam/nodebb-plugin-support-forum#14
2022-06-24 11:35:21 -04:00
Barış Soner Uşaklı
be917e8d39 feat: closes #10719, don't trim children if category is marked section 2022-06-24 11:35:21 -04:00
Julian Lam
0d68643bcb Revert "Revert "feat: cross origin opener policy options (#10710)""
This reverts commit 46050ace1a.
2022-06-24 11:35:21 -04:00
Julian Lam
43f9e6c8e4 fix: handle ENOENT on file deletion, closes #10645 2022-06-17 15:09:45 -04:00
Julian Lam
46050ace1a Revert "feat: cross origin opener policy options (#10710)"
This reverts commit 881323583f.
2022-06-17 11:21:41 -04:00
Barış Soner Uşaklı
881323583f feat: cross origin opener policy options (#10710) 2022-06-17 09:40:02 -04:00
Julian Lam
22368b996e refactor: move orphan cleaning logic to its own method, added tests for getOrphans and cleanOrphans 2022-06-15 15:22:51 -04:00
Julian Lam
88aee43947 feat: new cronjob and ACP option to delete orphans after configurable number of days, closes #10659 2022-06-15 15:22:51 -04:00
Julian Lam
bef236f371 chore: remove unnecessary affected set from deprecated plugin hook 2022-06-15 13:50:12 -04:00
Julian Lam
b9d4724e0f feat: allowed plugins to modify email verification details prior to db saving or email send/plugin fire
+ new hook `filter:user.verify`
- hook `filter:user.verify.code`
2022-06-15 13:49:30 -04:00
Julian Lam
3a015eb8e3 fix: no need to pass in empty Set in deprecated hooks 2022-06-15 13:49:19 -04:00
Barış Soner Uşaklı
b6f8e2fd05 fix: #10692 2022-06-11 19:50:05 -04:00
Julian Lam
a04da673fa fix: #10690, all uploads in uploads/files showing orphaned 2022-06-10 15:29:18 -04:00
Julian Lam
7f870beb59 fix: bug where post associations are not shown when the directory is files 2022-06-10 14:32:43 -04:00
Julian Lam
ece733eddc feat: pass absolute url to post into post tools response, #10566 2022-06-10 13:54:42 -04:00
Julian Lam
a35642601c fix: buildBreadcrumbs naively prepending relative path even if absolute paths are passed in 2022-05-31 14:56:41 -04:00
Barış Soner Uşaklı
191fb9f443 test: fix tests again 2022-05-26 13:10:57 -04:00
Barış Soner Uşaklı
e802fab87f fix: get rid of math.random in utils.generateUUID 2022-05-26 12:12:19 -04:00
Barış Soner Uşaklı
7e4d2852f6 fix: #10528, gray out disabled nav items
use enabled property if present
change default to true, so added nav items are enabled by default
2022-05-20 20:23:16 -04:00