24157 Commits (dd3e1a2861bca1cce21801a5c82d54e841e7a453)
 

Author SHA1 Message Date
Misty Release Bot dd3e1a2861 chore: incrementing version number - v2.4.5
(cherry picked from commit d8b1291088)
Signed-off-by: Misty Release Bot <deploy@nodebb.org>
3 years ago
Misty Release Bot 2a97342035 Merge commit '9b96c33d5d3706f9c5795b9c07ace063f69b101d' into v2.x 3 years ago
Julian Lam 9b96c33d5d fix: wrap passport.authenticate to pass in keepSessionInfo if not already set 3 years ago
Barış Soner Uşaklı bc37a5c516 fix: parseInt caller.uid closes #10849 3 years ago
Misty Release Bot d5525c873b chore: incrementing version number - v2.4.4
(cherry picked from commit 24221d66e0)
Signed-off-by: Misty Release Bot <deploy@nodebb.org>
3 years ago
Misty Release Bot 77e492b8d7 chore: update changelog for v2.4.4 3 years ago
Misty Release Bot 24221d66e0 chore: incrementing version number - v2.4.4 3 years ago
Misty Release Bot e7c3634f9a Merge commit 'fc9b436f3ef9d0ef335967456b6f6890ee8560b1' into v2.x 3 years ago
Barış Soner Uşaklı fc9b436f3e Merge branch 'master' of https://github.com/NodeBB/NodeBB 3 years ago
Barış Soner Uşaklı 489fb3a36f fix: missing req, closes #10847 3 years ago
Misty Release Bot 9c647c6ce2 chore: incrementing version number - v2.4.3
(cherry picked from commit be0256b26e)
Signed-off-by: Misty Release Bot <deploy@nodebb.org>
3 years ago
Misty Release Bot 06da15a576 chore: update changelog for v2.4.3 3 years ago
Misty Release Bot be0256b26e chore: incrementing version number - v2.4.3 3 years ago
Misty Release Bot 52fc05edfe Merge commit '4dc7fa050f1f30888b5bd71622b68537cc032b44' into v2.x 3 years ago
Julian Lam 4dc7fa050f fix: #10845, disallow inline viewing of uploaded html files 3 years ago
Misty Release Bot 3aa7b8552a chore: incrementing version number - v2.4.2
(cherry picked from commit 1635633acd)
Signed-off-by: Misty Release Bot <deploy@nodebb.org>
3 years ago
Misty Release Bot ba7a3466b2 chore: update changelog for v2.4.2 3 years ago
Misty Release Bot 1635633acd chore: incrementing version number - v2.4.2 3 years ago
Misty Release Bot 36523c67b8 Merge commit 'ec048a01ba9f2dbc17064427bdcafd88e7271c88' into v2.x 3 years ago
Julian Lam ec048a01ba fix: #10841, incorrect conditional in email interstitial partial 3 years ago
Opliko 72e7b9f7d8
docs: explain what export routes actually do in OpenAPI documentation (#10836) 3 years ago
Barış Soner Uşaklı 4a3e36a766 fix: don't crash if post is undefined 3 years ago
Barış Soner Uşaklı 6b2a6f9006
test: passport0.6 (#10638)
* test: passport0.6

* test: make logout async, fix lint

* test: keepSessionInfo flag

* revert: csrf load
3 years ago
Misty Release Bot 60cbd1480d chore: incrementing version number - v2.4.1
(cherry picked from commit 7f5ff2e613)
Signed-off-by: Misty Release Bot <deploy@nodebb.org>
3 years ago
Misty Release Bot 4b6baabbbf chore: update changelog for v2.4.1 3 years ago
Misty Release Bot 7f5ff2e613 chore: incrementing version number - v2.4.1 3 years ago
Misty Release Bot f3e59508ae Merge commit '15ca460c8f144c3167249b135902ac59289ca2f8' into v2.x 3 years ago
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
3 years ago
Julian Lam 8936f412d1 Revert "chore(deps): update docker/setup-buildx-action action to v2"
This reverts commit 371ac03220.
3 years ago
Julian Lam 887df0e62b Revert "chore(deps): update docker/login-action action to v2"
This reverts commit 3d68accf99.
3 years ago
Julian Lam d2c2f333e1 Revert "chore(deps): update docker/build-push-action action to v3"
This reverts commit bfd6318cd6.
3 years ago
renovate[bot] bfd6318cd6 chore(deps): update docker/build-push-action action to v3 3 years ago
renovate[bot] 3d68accf99 chore(deps): update docker/login-action action to v2 3 years ago
renovate[bot] 371ac03220 chore(deps): update docker/setup-buildx-action action to v2 3 years ago
Misty Release Bot 4834cde335 chore: incrementing version number - v2.4.0
(cherry picked from commit 5525442279)
Signed-off-by: Misty Release Bot <deploy@nodebb.org>
3 years ago
Misty Release Bot c4714ff7df chore: update changelog for v2.4.0 3 years ago
Misty Release Bot 5525442279 chore: incrementing version number - v2.4.0 3 years ago
Misty Release Bot 01da76e1dc Merge commit '9b753d6d57b850ef5ebc50e5a3dd7b2cbe4d5a27' into v2.x 3 years ago
Misty Release Bot 72b03d8dea Merge branch 'develop' 3 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
3 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>
3 years ago
Julian Lam 64541dd820 Revert "Update to lru-cache@^7 (#10813)"
This reverts commit c9754b09e6.
3 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>
3 years ago
Julian Lam 59f3ae201a Merge remote-tracking branch 'origin/master' into develop 3 years ago
Misty Release Bot d7a02d677f Latest translations and fallbacks 3 years ago
Barış Soner Uşaklı 961be70725 fix test on redis 3 years ago
Misty Release Bot 8e9677544b Latest translations and fallbacks 3 years ago
Opliko b3a37a7f35 feat: support packageManager property in package.json
resolves #10714
3 years ago
renovate[bot] 13a17bd10a chore(deps): update dependency eslint to v8.21.0 3 years ago
Julian Lam 38bf30c8ca fix: adapt to breaking change in commander 3 years ago