Opliko
2bc74cffe6
fix : #9127 , scope service worker to relative_path for the forum ( #9239 )
...
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.
2021-02-01 19:40:14 -05:00
renovate[bot]
897d29ecd6
fix(deps): update dependency nodebb-theme-vanilla to v11.4.0 ( #9238 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-02-01 17:52:25 -05:00
renovate[bot]
8e2deab4ad
fix(deps): update dependency nodebb-theme-slick to v1.4.0 ( #9237 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-02-01 17:50:09 -05:00
renovate[bot]
4f842a79f2
fix(deps): update dependency nodebb-theme-persona to v10.5.0 ( #9236 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-02-01 17:33:51 -05:00
Renovate Bot
47fd1634b6
fix(deps): update dependency nodebb-theme-lavender to v5.2.0
2021-02-01 21:29:50 +00:00
Barış Soner Uşaklı
d1364c3130
Categories refactor ( #9233 )
...
* 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
2021-02-01 15:19:32 -05:00
Barış Soner Uşaklı
4c12e0aaf8
fix: update docs
2021-02-01 15:16:36 -05:00
Julian Lam
d6f60f4502
fix: broken test after sorted-lists logic change
2021-02-01 14:51:16 -05:00
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.
2021-02-01 11:47:26 -05:00
Barış Soner Uşaklı
9834f72fc7
fix: clear all locks on restart
2021-02-01 11:31:47 -05:00
Barış Soner Uşaklı
f6cd2862bd
feat: #9232 , add profile picture into exported zip
2021-02-01 11:31:30 -05:00
Julian Lam
5131eb6b90
fix: action:admin.settingsLoaded to use new hooks lib
2021-01-31 16:59:03 -05:00
Julian Lam
b0f5d5a594
fix: crash on firing action hook that had no listeners registered
2021-01-31 16:59:03 -05:00
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.
2021-01-31 16:59:03 -05:00
Julian Lam
a8be6fb8fb
fix: regression where filter:settings.set no longer received sorted-lists
2021-01-31 16:59:03 -05:00
Barış Soner Uşaklı
5bc1f5b4e8
fix : #9231 , fix redis pubsub connection
...
regression from fdfbc90255
2021-01-31 12:37:28 -05:00
Renovate Bot
3696a19970
chore(deps): update dependency eslint to v7.19.0
2021-01-31 07:07:45 +00:00
Barış Soner Uşaklı
a29dd21de4
fix: don't translate message on every ajaxify
2021-01-30 15:01:43 -05:00
Misty (Bot)
195e688bac
Latest translations and fallbacks
2021-01-30 09:06:05 +00:00
Renovate Bot
1e10ebfb68
fix(deps): update dependency nodebb-plugin-dbsearch to v4.1.3
2021-01-29 23:33:20 +00:00
Julian Lam
05c53394f3
fix: tests
2021-01-29 17:05:45 -05:00
Julian Lam
7419922040
fix: improper override of req.body.username in login logic
2021-01-29 17:03:44 -05:00
Julian Lam
b820d23401
feat: new hook filter:login.override, deprecate action:auth.overrideLogin
2021-01-29 16:59:57 -05:00
Julian Lam
473d5f4aba
fix: full settings hash not passed through to action:settings.set
...
The sorted lists were being filtered out
2021-01-29 15:18:57 -05:00
Julian Lam
eb96046e97
Revert "refactor: use Map to track sorted lists in Settings.set()"
...
This reverts commit 65de2e76b4 .
2021-01-29 15:07:09 -05:00
Julian Lam
65de2e76b4
refactor: use Map to track sorted lists in Settings.set()
2021-01-29 15:00:14 -05:00
Baris Usakli
a5bf9779fd
fix : #9223 , don't overwrite stmp settings
2021-01-29 14:22:08 -05:00
Renovate Bot
0e2b329bb7
fix(deps): update dependency nodebb-plugin-composer-default to v6.5.6
2021-01-29 19:00:52 +00:00
Julian Lam
4029ec3713
fix: multiple sorted-lists do not save to the correct set
2021-01-29 13:39:00 -05:00
Renovate Bot
6c3b1fde87
fix(deps): update dependency autoprefixer to v10.2.4
2021-01-29 18:37:56 +00:00
Misty (Bot)
406faf4c66
Latest translations and fallbacks
2021-01-29 09:10:35 +00:00
Renovate Bot
05901fcd3a
fix(deps): update dependency nodebb-plugin-markdown to v8.12.5
2021-01-28 23:47:56 +00:00
Julian Lam
3052256db3
chore: deprecation notices for plugins using plugin old hook methods
2021-01-28 17:15:51 -05:00
Julian Lam
15ba0abb34
docs: update deprecation-removal version for plugin hook helper methods in 1.18.0
2021-01-28 16:23:03 -05:00
Julian Lam
f8bf9e99c4
fix: pass module name to static:script.init, +comments
...
I feel it is difficult to know exactly what the original use-cases were for these hooks, so some comments may be helpful.
2021-01-28 16:15:04 -05:00
Julian Lam
4bb3b0323d
feat: guard password fields in login/register against accidental caps lock
2021-01-28 15:00:26 -05:00
Barış Soner Uşaklı
e8429f509b
fix: handle delete and update for categories:name zset
2021-01-28 10:18:09 -05:00
Misty (Bot)
53a6dca3c6
Latest translations and fallbacks
2021-01-28 09:10:07 +00:00
Renovate Bot
a9b3fb373b
fix(deps): update dependency nodebb-theme-persona to v10.4.1
2021-01-28 05:36:58 +00:00
Barış Soner Uşaklı
34c42c6fa3
feat: ability to search categories, #8813
2021-01-27 22:51:22 -05:00
Barış Soner Uşaklı
faeb637353
fix: tests remove old routes
2021-01-27 20:30:33 -05:00
Barış Soner Uşaklı
d41ce87334
fix: removed object routes
2021-01-27 17:44:48 -05:00
Barış Soner Uşaklı
a1c014462c
revert: bring back backwards compat
2021-01-27 17:41:07 -05:00
Barış Soner Uşaklı
647d3ba810
fix: removed methods
2021-01-27 17:36:58 -05:00
Barış Soner Uşaklı
05be1c6603
feat: restore action:script.load, allow modifying loaded module via static:script.init
2021-01-27 17:21:08 -05:00
Renovate Bot
a90773a61d
fix(deps): update dependency sharp to v0.27.1
2021-01-27 22:02:21 +00:00
Julian Lam
fb84c78544
chore: remove deprecated User.emailConfirm [breaking]
...
Use `User.email.confirmByCode` instead.
2021-01-27 16:21:53 -05:00
Julian Lam
5a775e09dc
chore: remove deprecated plugin hook filter:privileges:isUserAllowedTo [breaking]
...
Use `filter:privileges:isAllowedTo` instead.
2021-01-27 16:20:45 -05:00
Julian Lam
d41de481a4
chore: remove deprecated plugin hook methods [breaking]
...
Call plugins.hooks.fire() instead.
2021-01-27 16:18:19 -05:00
Julian Lam
cc0d562e9a
chore: more removals of thumb specific backwards-compatibility [breaking]
2021-01-27 16:17:14 -05:00