Commit Graph

24146 Commits

Author SHA1 Message Date
Julian Lam
c1936e87f0 fix: add dropup handler to thread tools menu, updated how post tools menu adds dropup handler 2022-08-26 11:51:41 -04:00
gasoved
b424ba4637 test: User.hidePrivateData 2022-08-22 13:47:33 -04:00
Misty Release Bot
d505cc47ec chore: update changelog for v2.4.5 2022-08-22 16:14:00 +00:00
Misty Release Bot
d8b1291088 chore: incrementing version number - v2.4.5 v2.4.5 2022-08-22 16:13:58 +00:00
Julian Lam
9b96c33d5d fix: wrap passport.authenticate to pass in keepSessionInfo if not already set 2022-08-19 13:04:10 -04:00
Barış Soner Uşaklı
bc37a5c516 fix: parseInt caller.uid closes #10849 2022-08-19 08:51:04 -04:00
Misty Release Bot
77e492b8d7 chore: update changelog for v2.4.4 2022-08-18 13:45:27 +00:00
Misty Release Bot
24221d66e0 chore: incrementing version number - v2.4.4 v2.4.4 2022-08-18 13:45:26 +00:00
Barış Soner Uşaklı
fc9b436f3e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-08-18 09:27:48 -04:00
Barış Soner Uşaklı
489fb3a36f fix: missing req, closes #10847 2022-08-18 09:27:37 -04:00
Misty Release Bot
06da15a576 chore: update changelog for v2.4.3 2022-08-18 02:33:19 +00:00
Misty Release Bot
be0256b26e chore: incrementing version number - v2.4.3 v2.4.3 2022-08-18 02:33:19 +00:00
Julian Lam
4dc7fa050f fix: #10845, disallow inline viewing of uploaded html files 2022-08-17 21:48:02 -04:00
Misty Release Bot
ba7a3466b2 chore: update changelog for v2.4.2 2022-08-17 21:12:35 +00:00
Misty Release Bot
1635633acd chore: incrementing version number - v2.4.2 v2.4.2 2022-08-17 21:12:34 +00:00
Julian Lam
ec048a01ba fix: #10841, incorrect conditional in email interstitial partial 2022-08-17 15:32:36 -04:00
Opliko
72e7b9f7d8 docs: explain what export routes actually do in OpenAPI documentation (#10836) 2022-08-16 15:57:24 -04:00
Barış Soner Uşaklı
4a3e36a766 fix: don't crash if post is undefined 2022-08-14 20:18:18 -04:00
Barış Soner Uşaklı
6b2a6f9006 test: passport0.6 (#10638)
* test: passport0.6

* test: make logout async, fix lint

* test: keepSessionInfo flag

* revert: csrf load
2022-08-13 20:24:42 -04:00
Misty Release Bot
4b6baabbbf chore: update changelog for v2.4.1 2022-08-14 00:18:25 +00:00
Misty Release Bot
7f5ff2e613 chore: incrementing version number - v2.4.1 v2.4.1 2022-08-14 00:18:24 +00:00
Opliko
15ca460c8f fix: return at least one in sizeCalculation (#10832)
if post content is empty post cache should still consider its size to be at least one. fixes #10831
2022-08-13 09:29:56 -04:00
Julian Lam
8936f412d1 Revert "chore(deps): update docker/setup-buildx-action action to v2"
This reverts commit 371ac03220.
2022-08-12 17:14:22 -04:00
Julian Lam
887df0e62b Revert "chore(deps): update docker/login-action action to v2"
This reverts commit 3d68accf99.
2022-08-12 17:14:21 -04:00
Julian Lam
d2c2f333e1 Revert "chore(deps): update docker/build-push-action action to v3"
This reverts commit bfd6318cd6.
2022-08-12 17:14:20 -04:00
renovate[bot]
bfd6318cd6 chore(deps): update docker/build-push-action action to v3 2022-08-12 11:48:00 -04:00
renovate[bot]
3d68accf99 chore(deps): update docker/login-action action to v2 2022-08-12 11:47:53 -04:00
renovate[bot]
371ac03220 chore(deps): update docker/setup-buildx-action action to v2 2022-08-12 11:44:48 -04:00
Misty Release Bot
c4714ff7df chore: update changelog for v2.4.0 2022-08-10 20:02:19 +00:00
Misty Release Bot
5525442279 chore: incrementing version number - v2.4.0 v2.4.0 2022-08-10 20:02:18 +00:00
Misty Release Bot
72b03d8dea Merge branch 'develop' 2022-08-10 20:02:08 +00:00
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
2022-08-10 15:26:07 -04:00
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>
2022-08-10 13:24:16 -04:00
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