24132 Commits (8afaed223c05ae68666dd2a97a4f85bc741f9a37)
 

Author SHA1 Message Date
renovate[bot] 8afaed223c chore(deps): update mongo docker tag to v3.7 2 years ago
renovate[bot] 4c44d12557 fix(deps): update dependency ace-builds to v1.9.5 2 years ago
renovate[bot] 4ddc0c7af9 fix(deps): update dependency lru-cache to v7.13.2 2 years ago
renovate[bot] 4aecf399eb chore(deps): update docker/setup-qemu-action action to v2 2 years ago
renovate[bot] dd3851849b fix(deps): update dependency nodemailer to v6.7.8 2 years ago
renovate[bot] 150a7488e4 fix(deps): pin dependency @isaacs/ttlcache to 1.2.0 2 years ago
renovate[bot] 9a7dd3a3b1 fix(deps): update dependency nodebb-plugin-composer-default to v8.0.1 (#10819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
renovate[bot] 269382e03d chore(deps): update redis docker tag to v2.8.23 (#10811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Julian Lam 8936f412d1 Revert "chore(deps): update docker/setup-buildx-action action to v2"
This reverts commit 371ac03220.
2 years ago
Julian Lam 887df0e62b Revert "chore(deps): update docker/login-action action to v2"
This reverts commit 3d68accf99.
2 years ago
Julian Lam d2c2f333e1 Revert "chore(deps): update docker/build-push-action action to v3"
This reverts commit bfd6318cd6.
2 years ago
renovate[bot] bfd6318cd6 chore(deps): update docker/build-push-action action to v3 2 years ago
renovate[bot] 3d68accf99 chore(deps): update docker/login-action action to v2 2 years ago
renovate[bot] 371ac03220 chore(deps): update docker/setup-buildx-action action to v2 2 years ago
Misty Release Bot c4714ff7df chore: update changelog for v2.4.0 2 years ago
Misty Release Bot 5525442279 chore: incrementing version number - v2.4.0 2 years ago
Misty Release Bot 72b03d8dea Merge branch 'develop' 2 years ago
Julian Lam 9b753d6d57
TTL Cache (#10816)
* 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
2 years ago
Julian Lam c07d595662
Update to lru-cache@^7 (#10815)
* 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>
2 years ago
Julian Lam 64541dd820 Revert "Update to lru-cache@^7 (#10813)"
This reverts commit c9754b09e6.
2 years ago
Julian Lam c9754b09e6
Update to lru-cache@^7 (#10813)
* 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>
2 years ago
Julian Lam 59f3ae201a Merge remote-tracking branch 'origin/master' into develop 2 years ago
Misty Release Bot d7a02d677f Latest translations and fallbacks 2 years ago
Barış Soner Uşaklı 961be70725 fix test on redis 2 years ago
Misty Release Bot 8e9677544b Latest translations and fallbacks 2 years ago
Opliko b3a37a7f35 feat: support packageManager property in package.json
resolves #10714
2 years ago
renovate[bot] 13a17bd10a chore(deps): update dependency eslint to v8.21.0 2 years ago
Julian Lam 38bf30c8ca fix: adapt to breaking change in commander 2 years ago
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>
2 years ago
Julian Lam 1465598d3b fix(deps): bump persona v12.1.0 2 years ago
Julian Lam d0255fc6a5 fix: move panel-offset setting code back to theme header 2 years ago
Julian Lam 659cfe853d chore: update to new transifex project url 2 years ago
Misty Release Bot 18c144bf37 Latest translations and fallbacks 2 years ago
Misty Release Bot cdaa8f21e4 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2 years ago
Julian Lam 4055e3bd1c feat: automatically enable the SMTP transport option if the SMTP service is changed 2 years ago
Misty Release Bot 3e56c547a9 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2 years ago
Julian Lam 7082291bae fix: #10808; tweak copy for gmail app passwords support 2 years ago
Julian Lam c6782a2173 Merge remote-tracking branch 'origin/master' into develop 2 years ago
Misty Release Bot bcf7ef6779 chore(i18n): fallback strings for new resources: nodebb.user 2 years ago
Julian Lam 65c59cc16a test: additional tests for password challenge on email update 2 years ago
Julian Lam 8e1a4bb5df test: add dummy emailer hook to suppress sendmail error logging 2 years ago
Julian Lam 68bcd7f48e test: fix one last failing test 2 years ago
Julian Lam 9d27e90740 fix: don't require password challenge if no password is set in user account 2 years ago
Julian Lam 287f4c2c41 fix: do not throw if password passed into `isPasswordCorrect` is invalid, just return false 2 years ago
Julian Lam 342cca35c1 chore: re-order interstitial tests so email and gdpr tests are in sub-blocks 2 years ago
Julian Lam 7fcee42be9 feat: present a password challenge on email update flow 2 years ago
Barış Soner Uşaklı 7e8ad785f4 fix: don't crash if req.body.username is not string
Error: req.body.username.trim is not a function
File: authenticationController.login (/usr/src/app/src/controllers/authentication.js:247:40)
2 years ago
Barış Soner Uşaklı 55c5588a4b fix: don't crash if target/user is undefined
Error: TypeError: Cannot read properties of undefined (reading 'displayname')
File: Flags.notify (/usr/src/app/src/flags.js:812:89)
2 years ago
Barış Soner Uşaklı 4586f68eaf fix: race condition causing undefined ajaxify.data 2 years ago
Julian Lam 9ee1afbb0f Merge branch 'master' into develop 2 years ago