Commit Graph

22149 Commits (4a01313de3236f37f31b7871799866de6ae7e15d)
 

Author SHA1 Message Date
Renovate Bot 13e12c9565 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.7
Renovate Bot 0aa8e03f34 fix(deps): update dependency json2csv to v5.0.6
Julian Lam 4af9c2fcdd fix: autofocus on search field in ACP > Manage > Plugins
Julian Lam 44019e2805 fix(deps): bump theme deps for
gasoved cabec378f4 fix: openapi test specs
gasoved 7c9674de6c fix: include admins
gasoved a2a7557cc0 refactor: update dom after diff deletion better
gasoved eaf9d2e44a fix: include admins, limit to category mods, correct privilege name
gasoved 4447a64eaa refactor: removed 3 lines
gasoved 72b050b4a8 test: post diff deletion tests
gasoved eb642f40b9 feat: , ability to delete a post's diffs
Misty (Bot) a87416971b Latest translations and fallbacks
Renovate Bot 56e4e56b57 fix(deps): update dependency mongodb to v3.6.4
Julian Lam bd5839639d fix: http 200 test for api routes
Julian Lam 501441b736 feat: add .delete() method to api module
psychobunny 58655e9a0b fix: invalid API call when unfollowing a user
Misty (Bot) 526df41db1 Latest translations and fallbacks
Barış Soner Uşaklı 833c73e81b fix: example
Barış Soner Uşaklı cc560ca3f9 feat: doc add description
Barış Soner Uşaklı 8e85a28d85 Merge branch 'master' of https://github.com/NodeBB/NodeBB
Renovate Bot 0441144968 fix(deps): update dependency nodebb-theme-persona to v10.5.1
Barış Soner Uşaklı ed11e17129 feat: add doc for query param
Barış Soner Uşaklı fffdc4e0ca feat: , add pagination to /api/recent/posts/:term?
Opliko 2bc74cffe6
fix: , scope service worker to relative_path for the forum ()
Adds a `Service-Worker-Allowed` header on `assets/src/service-worker.js` URL and uses `scope` option during registration to ensure the service worker is correctly scoped to the entire forum and only the forum.
renovate[bot] 897d29ecd6
fix(deps): update dependency nodebb-theme-vanilla to v11.4.0 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] 8e2deab4ad
fix(deps): update dependency nodebb-theme-slick to v1.4.0 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] 4f842a79f2
fix(deps): update dependency nodebb-theme-persona to v10.5.0 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Renovate Bot 47fd1634b6 fix(deps): update dependency nodebb-theme-lavender to v5.2.0
Barış Soner Uşaklı d1364c3130
Categories refactor ()
* feat: wip categories pagination

* feat: add subCategoriesPerPage setting

* feat: add load more sub categories button to category page

* fix: openapi spec

* feat: show sub categories left on category page

hide button when no more categories left

* breaking: rename categories to allCategories on /search

categories contains the search results

* fix: spec

* refactor: remove cidsPerPage

* fix: tests

* feat: use component for subcategories

* fix: prevent negative subCategoriesLeft
Barış Soner Uşaklı 4c12e0aaf8 fix: update docs
Julian Lam d6f60f4502 fix: broken test after sorted-lists logic change
Julian Lam d5d24594e8 feat: allow sorted-lists on multiple pages
If multiple sorted-lists were on separate pages, saving one page would erase the sorted-lists saved on the other page. This was caused by naive deletion of the sorted-lists index on settings save.

At the same time, a bug was found where if fewer items were passed in, only that many items were removed from the database, leaving leftover orphan data in the database.

The logic now:

- Only removes sorted-lists if they are passed in (and empty)
- Deletes all sorted list items, not just the items passed in.
Barış Soner Uşaklı 9834f72fc7 fix: clear all locks on restart
Barış Soner Uşaklı f6cd2862bd feat: , add profile picture into exported zip
Julian Lam 5131eb6b90 fix: `action:admin.settingsLoaded` to use new hooks lib
Julian Lam b0f5d5a594 fix: crash on firing action hook that had no listeners registered
Julian Lam 1a04ec6419 fix: bug where `action:settings.sorted-list.loaded` fired early
The hook was fired before the elements had been added to the DOM.

Also, I updated it to use the new hooks lib.
Julian Lam a8be6fb8fb fix: regression where `filter:settings.set` no longer received sorted-lists
Barış Soner Uşaklı 5bc1f5b4e8 fix: , fix redis pubsub connection
regression from fdfbc90255
Renovate Bot 3696a19970 chore(deps): update dependency eslint to v7.19.0
Barış Soner Uşaklı a29dd21de4 fix: don't translate message on every ajaxify
Misty (Bot) 195e688bac Latest translations and fallbacks
Renovate Bot 1e10ebfb68 fix(deps): update dependency nodebb-plugin-dbsearch to v4.1.3
Julian Lam 05c53394f3 fix: tests
Julian Lam 7419922040 fix: improper override of req.body.username in login logic
Julian Lam b820d23401 feat: new hook `filter:login.override`, deprecate `action:auth.overrideLogin`
Julian Lam 473d5f4aba fix: full settings hash not passed through to action:settings.set
The sorted lists were being filtered out
Julian Lam eb96046e97 Revert "refactor: use Map to track sorted lists in Settings.set()"
This reverts commit 65de2e76b4.
Julian Lam 65de2e76b4 refactor: use Map to track sorted lists in Settings.set()
Baris Usakli a5bf9779fd fix: , don't overwrite stmp settings