Commit Graph

24540 Commits (93ccf604db3b482becc51feed877c98e5c538b04)
 

Author SHA1 Message Date
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 
renovate[bot] 13a17bd10a chore(deps): update dependency eslint to v8.21.0
Julian Lam 38bf30c8ca fix: adapt to breaking change in commander
dependabot[bot] 993b77478e chore(deps): bump commander from 7.2.0 to 9.4.0 in /install
Bumps [commander](https://github.com/tj/commander.js) from 7.2.0 to 9.4.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v7.2.0...v9.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Julian Lam 1465598d3b fix(deps): bump persona v12.1.0
Julian Lam d0255fc6a5 fix: move panel-offset setting code back to theme header
Julian Lam 659cfe853d chore: update to new transifex project url
Misty Release Bot 18c144bf37 Latest translations and fallbacks
Misty Release Bot cdaa8f21e4 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email
Julian Lam 4055e3bd1c feat: automatically enable the SMTP transport option if the SMTP service is changed
Misty Release Bot 3e56c547a9 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email
Julian Lam 7082291bae fix: ; tweak copy for gmail app passwords support
Julian Lam c6782a2173 Merge remote-tracking branch 'origin/master' into develop
Misty Release Bot bcf7ef6779 chore(i18n): fallback strings for new resources: nodebb.user
Julian Lam 65c59cc16a test: additional tests for password challenge on email update
Julian Lam 8e1a4bb5df test: add dummy emailer hook to suppress sendmail error logging
Julian Lam 68bcd7f48e test: fix one last failing test