Julian Lam
dd4e66e22c
fix: push back some deprecations, remove deprecated stuff scheduled for v1.18.0
4 years ago
gasoved
3df79683f5
feat: create folders in ACP uploads #9638 ( #9750 )
...
* feat: create folders in ACP uploads #9638
* fix: openapi
* test: missing tests
* fix: eslint
* fix: tests
4 years ago
Barış Soner Uşaklı
a288f51f42
fix: allow smaller than 5mins for admin relogin duration
...
setting the value to 1min in ACP wasn't working
4 years ago
Opliko
d509a307f0
Remove some deprecated/unnecessary code ( #9688 )
...
* refactor: remove mkdirp promisify
* refactor: remove old session deletion API route
* refactor: remove middleware.isAdmin
* refactor: remove templateValues.config.bootswatchSkin
* fix: unused dependencies
4 years ago
Julian Lam
afd2d8dab1
feat(emails): pass req in to filter:registration.interstitial
4 years ago
Julian Lam
b4b65ecd98
fix(emails): remove debug log
4 years ago
Julian Lam
087e6020e4
refactor(email): validation checking methods, +tests fix
4 years ago
Julian Lam
69c96dd23c
refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation
4 years ago
Barış Soner Uşaklı
04b1f702cd
feat: add loggedin/guest class to body
4 years ago
Julian Lam
cc6cbfcdc4
Flags API ( #9666 )
...
* feat: new routes for flags API
+ flag get
+ flag creation, migration from socket method
+ flag update, migration from socket method
* fixed bug where you could not unassign someone from a flag
* feat: tests for new flags API
added missing files for schema update
* fix: flag tests to use Write API instead of sockets
* feat: flag notes API + tests
* chore: remove debug line
* test: fix breaking test on mongo
4 years ago
Julian Lam
7036c3751e
feat: internationalize API error messages
4 years ago
Julian Lam
a54a3ee1ca
fix: return proper API-style response if exception caught by error handler on v3 routes [breaking]
4 years ago
Barış Soner Uşaklı
3cd9434b56
fix: scope
4 years ago
Barış Soner Uşaklı
1eda538da5
fix : #9615 , catch exceptions in renderOverride
4 years ago
Barış Soner Uşaklı
3d5fef6e80
feat: pass req.query to getUnreadData
4 years ago
Barış Soner Uşaklı
9ebfdeb7ee
fix : #9580 , proper 404 when ajaxifying
4 years ago
Barış Soner Uşaklı
3d6bdeb3df
feat: add req.query to flags.list/getCount
4 years ago
Barış Soner Uşaklı
f6b583bb9d
feat: #9533 , allow redirect in build hooks
4 years ago
Barış Soner Uşaklı
6ed8890c2e
fix : #9512 , fix chat icon if no privileges
4 years ago
Barış Soner Uşaklı
a478dc7ee8
feat: add filter:middleware.autoLocale
4 years ago
Barış Soner Uşaklı
435067aa5f
test: remove logs
4 years ago
Barış Soner Uşaklı
2ea468daa3
test: clear cache between runs, require middleware later in helpers
4 years ago
Barış Soner Uşaklı
d15e27107e
test: log
4 years ago
Barış Soner Uşaklı
354e0a822d
test: remove equals
4 years ago
psychobunny
4dd3844680
fix: logic is hard
4 years ago
psychobunny
2e9efc0e8a
fix: wrong variable for cache
4 years ago
psychobunny
fa0c92a7c4
fix: eslint
4 years ago
psychobunny
ea22cd302a
fix: use req.ip instead, since guests can upload as well
4 years ago
psychobunny
a9978fcfd2
feat: rate limit file uploads
4 years ago
Barış Soner Uşaklı
36f119a96a
fix : #9492 , keep query params on redirect
4 years ago
Julian Lam
9c52fd2e74
fix : #9450 express session saved even if saveUninitialized explicitly passed in
4 years ago
Julian Lam
166d65a1ba
fix: add back middleware.authenticateOrGuest
4 years ago
Julian Lam
e3b2c00db1
fix: request authentication called twice in account routes
4 years ago
Julian Lam
7da061f0d7
refactor: automatically authenticate all requests setup through route helpers ( #9357 )
...
* refactor: automatically authenticate all requests setup through route helpers
* fix: removed connect-ensure-login dependency
* fix: bug with some middlewares not defined outside route helper methods
4 years ago
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
4 years ago
Peter Jaszkowiak
5c2f0f0557
chore: eslint no-restricted-syntax
4 years ago
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
4 years ago
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
4 years ago
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
4 years ago
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
4 years ago
gasoved
53e0d4d2e0
feat: banned-users group
4 years ago
Julian Lam
5f9f241e37
chore: remove deprecated `filter:admin/header.build` hook [breaking]
...
Use `filter:middleware.renderAdminHeader` instead.
4 years ago
Julian Lam
f975063b7d
fix : #7125 , allow list for page route, configurable via plugin hook
4 years ago
Julian Lam
966c4117ec
refactor(api): post move to write API
4 years ago
Barış Soner Uşaklı
1374e0eeba
refactor: change var to const
4 years ago
Julian Lam
c07e1e16af
feat: add unread-count badge if navigator contains /flags route
4 years ago
Julian Lam
6cb5888c13
fix: unescape header navigation originalRoute [breaking]
4 years ago
Julian Lam
03a0e72fae
refactor: split out logic dedicated to calculating unread counts, to a separate local method
4 years ago
Julian Lam
223f0a5515
feat(acp): admin tags privilege
4 years ago
Julian Lam
fb46a8d975
feat(acp): admins-mods privilege
4 years ago