You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
admin feat: add dashboard sub-pages to ACP menu 4 years ago
api feat: add mute history, closes #10596 3 years ago
categories refactor: replace deprecated String.prototype.substr() (#10432) 3 years ago
cli feat: Allow defining active plugins in config (#10767) 3 years ago
controllers feat: Allow defining active plugins in config (#10767) 3 years ago
database feat: make it simpler to use redis sentinels 3 years ago
groups fix: use escaped group names in invite modal 3 years ago
messaging feat: closes #10501, minimum reputation to chat 3 years ago
meta feat: Allow defining active plugins in config (#10767) 3 years ago
middleware Webpack5 (#10311) 3 years ago
navigation fix: #10528, gray out disabled nav items 3 years ago
plugins feat: Allow defining active plugins in config (#10767) 3 years ago
posts refactor: move orphan cleaning logic to its own method, added tests for getOrphans and cleanOrphans 3 years ago
privileges Webpack5 (#10311) 3 years ago
rewards fix: #9827, fix reward duplication 3 years ago
routes chore: remove optional `middleware` parameter from setupPageRoute and setupAdminPageRoute calls 3 years ago
socket.io feat: Allow defining active plugins in config (#10767) 3 years ago
topics fix: #10692 3 years ago
upgrades refactor: replace deprecated String.prototype.substr() (#10432) 3 years ago
user feat: allow plugins to toggle whether IPs are shown in the users CSV export 3 years ago
views feat: UI changes for ACP > Manage > Categories (#10782) 3 years ago
widgets refactor: setObjectBulk to match sortedSetAddBulk 3 years ago
als.js feat: als (#9749) 4 years ago
analytics.js fix: closes #10436, fix DST issue on acp dashboard 3 years ago
batch.js fix: redis batch 3 years ago
cache.js Categories refactor (#9257) 4 years ago
cacheCreate.js chore: eslint prefer-arrow-callback 4 years ago
constants.js refactor: shared constants (#8707) 4 years ago
coverPhoto.js chore: eslint prefer-template 4 years ago
emailer.js refactor: replace deprecated String.prototype.substr() (#10432) 3 years ago
events.js feat: new admin events, closes #10405 3 years ago
file.js fix: handle ENOENT on file deletion, closes #10645 3 years ago
flags.js feat: add mute history, closes #10596 3 years ago
helpers.js Webpack5 (#10311) 3 years ago
image.js feat: add filter:image.stripEXIF 3 years ago
install.js fix: #10334, use the correct env vars for web install 3 years ago
languages.js fix: translator path traversal 3 years ago
logger.js chore: eslint prefer-rest-params, prefer-spread 4 years ago
notifications.js perf: WIP #10449, allow array of pids for posts.purge (#10465) 3 years ago
pagination.js chore: eslint no-var, vars-on-top 4 years ago
password.js feat: add node 16 (#9847) 3 years ago
prestart.js fix: #10473, trim trailing slashes on config url 3 years ago
promisify.js chore: eslint prefer-rest-params, prefer-spread 4 years ago
pubsub.js chore: eslint no-var, vars-on-top 4 years ago
search.js feat: #10460, add cutoff to suggested topics 3 years ago
settings.js fix: prevent crash in expandObjBy #9618 4 years ago
sitemap.js fix: #9301, dont call sitemapstream if there are no entries in categories/pages/topics.xml 4 years ago
slugify.js feat: #8734, add slugify module, deprecate utils.slugify 4 years ago
social.js fix: cannot turn off all networks 3 years ago
start.js feat: scheduled topics (#9399) 4 years ago
translator.js Webpack5 (#10311) 3 years ago
upgrade.js feat: Allow defining active plugins in config (#10767) 3 years ago
utils.js test: fix tests again 3 years ago
webserver.js Revert "Revert "feat: cross origin opener policy options (#10710)"" 3 years ago