Julian Lam
64541dd820
Revert "Update to lru-cache@^7 ( #10813 )"
...
This reverts commit c9754b09e6 .
2022-08-10 13:22:39 -04:00
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 >
2022-08-10 13:22:18 -04:00
Julian Lam
59f3ae201a
Merge remote-tracking branch 'origin/master' into develop
2022-08-10 09:52:49 -04:00
Misty Release Bot
d7a02d677f
Latest translations and fallbacks
2022-08-10 09:06:32 +00:00
Barış Soner Uşaklı
961be70725
fix test on redis
2022-08-09 18:26:46 -04:00
Misty Release Bot
8e9677544b
Latest translations and fallbacks
2022-08-09 09:06:35 +00:00
Opliko
b3a37a7f35
feat: support packageManager property in package.json
...
resolves #10714
2022-08-08 17:23:32 -04:00
renovate[bot]
13a17bd10a
chore(deps): update dependency eslint to v8.21.0
2022-08-08 17:18:22 -04:00
Julian Lam
38bf30c8ca
fix: adapt to breaking change in commander
2022-08-08 17:17:38 -04:00
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 >
2022-08-08 17:17:38 -04:00
Julian Lam
1465598d3b
fix(deps): bump persona v12.1.0
2022-08-08 16:19:36 -04:00
Julian Lam
d0255fc6a5
fix: move panel-offset setting code back to theme header
2022-08-08 16:02:27 -04:00
Julian Lam
659cfe853d
chore: update to new transifex project url
2022-08-08 15:23:33 -04:00
Misty Release Bot
18c144bf37
Latest translations and fallbacks
2022-08-08 09:06:28 +00:00
Misty Release Bot
cdaa8f21e4
chore(i18n): fallback strings for new resources: nodebb.admin-settings-email
2022-08-05 19:40:09 +00:00
Julian Lam
4055e3bd1c
feat: automatically enable the SMTP transport option if the SMTP service is changed
2022-08-05 15:39:32 -04:00
Misty Release Bot
3e56c547a9
chore(i18n): fallback strings for new resources: nodebb.admin-settings-email
2022-08-05 19:28:31 +00:00
Julian Lam
7082291bae
fix : #10808 ; tweak copy for gmail app passwords support
2022-08-05 15:27:46 -04:00
Julian Lam
c6782a2173
Merge remote-tracking branch 'origin/master' into develop
2022-08-05 14:40:47 -04:00
Misty Release Bot
bcf7ef6779
chore(i18n): fallback strings for new resources: nodebb.user
2022-08-05 18:40:17 +00:00
Julian Lam
65c59cc16a
test: additional tests for password challenge on email update
2022-08-05 14:39:36 -04:00
Julian Lam
8e1a4bb5df
test: add dummy emailer hook to suppress sendmail error logging
2022-08-05 14:39:36 -04:00
Julian Lam
68bcd7f48e
test: fix one last failing test
2022-08-05 14:39:36 -04:00
Julian Lam
9d27e90740
fix: don't require password challenge if no password is set in user account
2022-08-05 14:39:36 -04:00
Julian Lam
287f4c2c41
fix: do not throw if password passed into isPasswordCorrect is invalid, just return false
2022-08-05 14:39:36 -04:00
Julian Lam
342cca35c1
chore: re-order interstitial tests so email and gdpr tests are in sub-blocks
2022-08-05 14:39:36 -04:00
Julian Lam
7fcee42be9
feat: present a password challenge on email update flow
2022-08-05 14:39:36 -04:00
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)
2022-08-05 08:11:32 -04:00
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)
2022-08-05 08:11:11 -04:00
Barış Soner Uşaklı
4586f68eaf
fix: race condition causing undefined ajaxify.data
2022-08-04 18:37:27 -04:00
Julian Lam
9ee1afbb0f
Merge branch 'master' into develop
2022-08-04 16:04:09 -04:00
Julian Lam
06f089afda
test: fix user email tests
2022-08-04 16:02:16 -04:00
Barış Soner Uşaklı
d73f0f9ccb
perf: make single db call
2022-08-04 15:51:24 -04:00
Julian Lam
3b296c3aa4
Merge remote-tracking branch 'origin/master' into develop
2022-08-04 14:26:07 -04:00
Julian Lam
f93a0b83bb
test: fix tests so that when user.create is called, email is set prior to confirmation
2022-08-04 14:24:30 -04:00
Julian Lam
1ca09b63ed
fix : #10809 , test runner to only run tests for plugins included in test_plugins
2022-08-04 14:20:36 -04:00
Julian Lam
bd18004d77
fix(deps): bump 2factor to v5.0.2
2022-08-03 15:44:09 -04:00
Julian Lam
e092bfeb46
Merge remote-tracking branch 'origin/master' into develop
2022-08-03 15:21:04 -04:00
Julian Lam
cba9047f67
fix : #10805 , hide unconfirmed emails from user data retrieval methods
2022-08-03 12:36:11 -04:00
Julian Lam
3e062a7f29
fix: use different emoji on NodeBB Ready — again because procrastination
2022-08-03 12:10:08 -04:00
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>
2022-07-30 21:04:51 -04:00
renovate[bot]
f22790c0d0
fix(deps): update dependency html-to-text to v8.2.1
2022-07-30 20:56:58 -04:00
renovate[bot]
e748e31fed
fix(deps): update dependency webpack to v5.74.0
2022-07-30 20:56:26 -04:00
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>
2022-07-30 20:05:32 -04:00
Barış Soner Uşaklı
cd438b328a
fix: unnecessary escape
2022-07-30 19:57:48 -04:00
Barış Soner Uşaklı
f64a69132a
Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop
2022-07-30 19:56:03 -04:00
Opliko
456b87983a
fix: remove socket.io cluster adapter ( #10742 )
2022-07-30 19:47:19 -04:00
Misty Release Bot
d073e09c11
Latest translations and fallbacks
2022-07-30 09:06:33 +00:00
Julian Lam
dc3a6a29bc
fix : #10783 , do not purge files without a timestamp prefix
2022-07-29 15:32:23 -04:00
Julian Lam
70d6028954
chore: opt-out of dependabot, due to conflicts with renovate
2022-07-29 11:29:42 -04:00