Commit Graph

24356 Commits (8d6c0de7354f5cb5124c547838ceff66638530a4)
 

Author SHA1 Message Date
Opliko 72e7b9f7d8
docs: explain what export routes actually do in OpenAPI documentation ()
Barış Soner Uşaklı 14c79763dd refactor: use group.slug on acp group urls closes
Barış Soner Uşaklı b663c620ce Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop
renovate[bot] 8fce68d347
chore(deps): update dependency eslint to v8.22.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Misty Release Bot 6b76f99a3e Latest translations and fallbacks
Opliko bcb94edeb4 feat: add event type to topic event component
Barış Soner Uşaklı e06e526e54 fix: don't crash if post is undefined
Barış Soner Uşaklı 33458701c1 test: passport0.6 ()
* test: passport0.6

* test: make logout async, fix lint

* test: keepSessionInfo flag

* revert: csrf load
Misty Release Bot 20a661e124 chore: update changelog for v2.4.1
Misty Release Bot fecf31bd15 chore: incrementing version number - v2.4.1
Opliko 3975fa2e45 fix: return at least one in sizeCalculation ()
if post content is empty post cache should still consider its size to be at least one. fixes 
Misty Release Bot 6f9fa8c2c8 Latest translations and fallbacks
Barış Soner Uşaklı 4a3e36a766 fix: don't crash if post is undefined
Misty Release Bot 90fc50e116 chore(i18n): fallback strings for new resources: nodebb.admin-advanced-cache
Opliko a9bbb586fc
feat: allow plugins to add to admin cache list ()
* feat: allow plugins to add to admin cache list

resolves  

plugins will have to use `filter:admin.cache.get` hook and just add their own cache to the object there.

* feat: add dump to ttlCache and expose properties

* feat: also expose properties under their current names

* feat: display TTL if set
Barış Soner Uşaklı 6b2a6f9006
test: passport0.6 ()
* test: passport0.6

* test: make logout async, fix lint

* test: keepSessionInfo flag

* revert: csrf load
Misty Release Bot 4b6baabbbf chore: update changelog for v2.4.1
Misty Release Bot 7f5ff2e613 chore: incrementing version number - v2.4.1
Opliko 15ca460c8f
fix: return at least one in sizeCalculation ()
if post content is empty post cache should still consider its size to be at least one. fixes 
Julian Lam 2568986c58 Revert "Revert "chore(deps): update docker/build-push-action action to v3""
This reverts commit d2c2f333e1.
Julian Lam 9d446f9282 Revert "Revert "chore(deps): update docker/login-action action to v2""
This reverts commit 887df0e62b.
Julian Lam c71335218b Revert "Revert "chore(deps): update docker/setup-buildx-action action to v2""
This reverts commit 8936f412d1.
renovate[bot] 8afaed223c chore(deps): update mongo docker tag to v3.7
renovate[bot] 4c44d12557 fix(deps): update dependency ace-builds to v1.9.5
renovate[bot] 4ddc0c7af9 fix(deps): update dependency lru-cache to v7.13.2
renovate[bot] 4aecf399eb chore(deps): update docker/setup-qemu-action action to v2
renovate[bot] dd3851849b fix(deps): update dependency nodemailer to v6.7.8
renovate[bot] 150a7488e4 fix(deps): pin dependency @isaacs/ttlcache to 1.2.0
renovate[bot] 9a7dd3a3b1 fix(deps): update dependency nodebb-plugin-composer-default to v8.0.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] 269382e03d chore(deps): update redis docker tag to v2.8.23 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Julian Lam 8936f412d1 Revert "chore(deps): update docker/setup-buildx-action action to v2"
This reverts commit 371ac03220.
Julian Lam 887df0e62b Revert "chore(deps): update docker/login-action action to v2"
This reverts commit 3d68accf99.
Julian Lam d2c2f333e1 Revert "chore(deps): update docker/build-push-action action to v3"
This reverts commit bfd6318cd6.
renovate[bot] bfd6318cd6 chore(deps): update docker/build-push-action action to v3
renovate[bot] 3d68accf99 chore(deps): update docker/login-action action to v2
renovate[bot] 371ac03220 chore(deps): update docker/setup-buildx-action action to v2
renovate[bot] 69c87c2caa fix(deps): update dependency nodebb-plugin-composer-default to v8.0.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] 59fd0efe07 chore(deps): update redis docker tag to v2.8.23 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Misty Release Bot c4714ff7df chore: update changelog for v2.4.0
Misty Release Bot 5525442279 chore: incrementing version number - v2.4.0
Misty Release Bot 72b03d8dea Merge branch 'develop'
Julian Lam 9b753d6d57
TTL Cache ()
* refactor: move src/cacheCreate.js to src/cache/lru.js

* fix: call new library location for lru cache creator

* feat: add ttl cache

* fix: update upload throttler to use ttl cache instead of lru cache

* chore: add missing dependency

* fix: avoid pubsub conflicts

* fix: use get instead of peek, which is not available in ttl-cache
Julian Lam c07d595662
Update to lru-cache@^7 ()
* chore(deps): bump lru-cache from 6.0.0 to 7.13.1 in /install

Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 6.0.0 to 7.13.1.
- [Release notes](https://github.com/isaacs/node-lru-cache/releases)
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-lru-cache/compare/v6.0.0...v7.13.1)

---
updated-dependencies:
- dependency-name: lru-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix(lru-cache): remove unneeded `length` params for cache creation, as `maxSize` was not used in those init calls, also renamed some methods to match new method names in lru-cache [breaking]

Added deprecation notices for old params

* fix: replace three direct calls to lru-cache with call to cacheCreate, moved cache creation call in uploads to run on first init as config is not populated at lib init

* test: move configs init above cache reset calls in databasemock

* move some more code above cache clear

* refactor: remove unused

* test: lru

* test: more debug

* test: on more test

* use await helpers.uploadFile

* fix: tests remove logs

* fix: acp cache page

* fix: add in one more guard again cache instantiation with `length` prop but no `maxSize` prop

* fix(deps): bump markdown

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
Julian Lam 64541dd820 Revert "Update to lru-cache@^7 ()"
This reverts commit c9754b09e6.
Julian Lam c9754b09e6
Update to lru-cache@^7 ()
* chore(deps): bump lru-cache from 6.0.0 to 7.13.1 in /install

Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 6.0.0 to 7.13.1.
- [Release notes](https://github.com/isaacs/node-lru-cache/releases)
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-lru-cache/compare/v6.0.0...v7.13.1)

---
updated-dependencies:
- dependency-name: lru-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix(lru-cache): remove unneeded `length` params for cache creation, as `maxSize` was not used in those init calls, also renamed some methods to match new method names in lru-cache [breaking]

Added deprecation notices for old params

* fix: replace three direct calls to lru-cache with call to cacheCreate, moved cache creation call in uploads to run on first init as config is not populated at lib init

* test: move configs init above cache reset calls in databasemock

* move some more code above cache clear

* refactor: remove unused

* test: lru

* test: more debug

* test: on more test

* use await helpers.uploadFile

* fix: tests remove logs

* fix: acp cache page

* fix: add in one more guard again cache instantiation with `length` prop but no `maxSize` prop

* fix(deps): bump markdown

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
Julian Lam 59f3ae201a Merge remote-tracking branch 'origin/master' into develop
Misty Release Bot d7a02d677f Latest translations and fallbacks
Barış Soner Uşaklı 961be70725 fix test on redis
Misty Release Bot 8e9677544b Latest translations and fallbacks
Opliko b3a37a7f35 feat: support packageManager property in package.json
resolves