24464 Commits (8ef729475c35ec5dfaf2a85a7ae6a1a4138f7764)
 

Author SHA1 Message Date
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 3 years ago
Julian Lam 4055e3bd1c feat: automatically enable the SMTP transport option if the SMTP service is changed 3 years ago
Misty Release Bot 3e56c547a9 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 3 years ago
Julian Lam 7082291bae fix: #10808; tweak copy for gmail app passwords support 3 years ago
Julian Lam c6782a2173 Merge remote-tracking branch 'origin/master' into develop 3 years ago
Misty Release Bot bcf7ef6779 chore(i18n): fallback strings for new resources: nodebb.user 3 years ago
Julian Lam 65c59cc16a test: additional tests for password challenge on email update 3 years ago
Julian Lam 8e1a4bb5df test: add dummy emailer hook to suppress sendmail error logging 3 years ago
Julian Lam 68bcd7f48e test: fix one last failing test 3 years ago
Julian Lam 9d27e90740 fix: don't require password challenge if no password is set in user account 3 years ago
Julian Lam 287f4c2c41 fix: do not throw if password passed into `isPasswordCorrect` is invalid, just return false 3 years ago
Julian Lam 342cca35c1 chore: re-order interstitial tests so email and gdpr tests are in sub-blocks 3 years ago
Julian Lam 7fcee42be9 feat: present a password challenge on email update flow 3 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)
3 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)
3 years ago
Barış Soner Uşaklı 4586f68eaf fix: race condition causing undefined ajaxify.data 3 years ago
Julian Lam 9ee1afbb0f Merge branch 'master' into develop 3 years ago
Julian Lam 06f089afda test: fix user email tests 3 years ago
Barış Soner Uşaklı d73f0f9ccb perf: make single db call 3 years ago
Julian Lam 3b296c3aa4 Merge remote-tracking branch 'origin/master' into develop 3 years ago
Julian Lam f93a0b83bb test: fix tests so that when user.create is called, email is set prior to confirmation 3 years ago
Julian Lam 1ca09b63ed fix: #10809, test runner to only run tests for plugins included in `test_plugins` 3 years ago
Julian Lam bd18004d77 fix(deps): bump 2factor to v5.0.2 3 years ago
Julian Lam e092bfeb46 Merge remote-tracking branch 'origin/master' into develop 3 years ago
Julian Lam cba9047f67 fix: #10805, hide unconfirmed emails from user data retrieval methods 3 years ago
Julian Lam 3e062a7f29 fix: use different emoji on NodeBB Ready — again because procrastination 3 years ago
renovate[bot] f02492bde3
fix(deps): update dependency sanitize-html to v2.7.1 (#10792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years ago
renovate[bot] f22790c0d0 fix(deps): update dependency html-to-text to v8.2.1 3 years ago
renovate[bot] e748e31fed fix(deps): update dependency webpack to v5.74.0 3 years ago
renovate[bot] 4ca0d57172
fix(deps): update dependency autoprefixer to v10.4.8 (#10799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years ago
Barış Soner Uşaklı cd438b328a fix: unnecessary escape 3 years ago
Barış Soner Uşaklı f64a69132a Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 3 years ago
Opliko 456b87983a
fix: remove socket.io cluster adapter (#10742) 3 years ago
Misty Release Bot d073e09c11 Latest translations and fallbacks 3 years ago
Julian Lam dc3a6a29bc fix: #10783, do not purge files without a timestamp prefix 3 years ago