Barış Soner Uşaklı
e368feef51
refactor: dont expost entire res._locals to client side
2021-11-17 22:11:24 -05:00
Julian Lam
1719bff89c
feat: use auto-generated meta and link tags in ACP, closes #9991
2021-11-09 10:39:48 -05:00
Julian Lam
dd4e66e22c
fix: push back some deprecations, remove deprecated stuff scheduled for v1.18.0
2021-09-03 12:04:20 -04:00
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
2021-08-31 09:27:00 -04:00
Barış Soner Uşaklı
a288f51f42
fix: allow smaller than 5mins for admin relogin duration
...
setting the value to 1min in ACP wasn't working
2021-08-18 20:46:51 -04:00
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
2021-08-01 22:03:19 -04:00
Julian Lam
afd2d8dab1
feat(emails): pass req in to filter:registration.interstitial
2021-07-30 13:29:13 -04:00
Julian Lam
b4b65ecd98
fix(emails): remove debug log
2021-07-30 13:29:13 -04:00
Julian Lam
087e6020e4
refactor(email): validation checking methods, +tests fix
2021-07-30 13:29:13 -04:00
Julian Lam
69c96dd23c
refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation
2021-07-30 13:29:13 -04:00
Barış Soner Uşaklı
04b1f702cd
feat: add loggedin/guest class to body
2021-07-29 11:10:13 -04:00
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
2021-07-16 13:44:42 -04:00
Julian Lam
7036c3751e
feat: internationalize API error messages
2021-07-09 12:24:32 -04:00
Julian Lam
a54a3ee1ca
fix: return proper API-style response if exception caught by error handler on v3 routes [breaking]
2021-07-09 12:24:32 -04:00
Barış Soner Uşaklı
3cd9434b56
fix: scope
2021-06-18 12:36:04 -04:00
Barış Soner Uşaklı
1eda538da5
fix : #9615 , catch exceptions in renderOverride
2021-06-18 12:24:07 -04:00
Barış Soner Uşaklı
3d5fef6e80
feat: pass req.query to getUnreadData
2021-05-27 10:02:54 -04:00
Barış Soner Uşaklı
9ebfdeb7ee
fix : #9580 , proper 404 when ajaxifying
2021-05-25 12:44:17 -04:00
Barış Soner Uşaklı
3d6bdeb3df
feat: add req.query to flags.list/getCount
2021-05-19 10:01:33 -04:00
Barış Soner Uşaklı
f6b583bb9d
feat: #9533 , allow redirect in build hooks
2021-05-07 09:32:06 -04:00
Barış Soner Uşaklı
6ed8890c2e
fix : #9512 , fix chat icon if no privileges
2021-04-27 10:00:52 -04:00
Barış Soner Uşaklı
a478dc7ee8
feat: add filter:middleware.autoLocale
2021-04-26 10:35:34 -04:00
Barış Soner Uşaklı
435067aa5f
test: remove logs
2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
2ea468daa3
test: clear cache between runs, require middleware later in helpers
2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
d15e27107e
test: log
2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
354e0a822d
test: remove equals
2021-04-18 21:57:07 -04:00
psychobunny
4dd3844680
fix: logic is hard
2021-04-18 21:57:07 -04:00
psychobunny
2e9efc0e8a
fix: wrong variable for cache
2021-04-18 21:57:07 -04:00
psychobunny
fa0c92a7c4
fix: eslint
2021-04-18 21:57:07 -04:00
psychobunny
ea22cd302a
fix: use req.ip instead, since guests can upload as well
2021-04-18 21:57:07 -04:00
psychobunny
a9978fcfd2
feat: rate limit file uploads
2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
36f119a96a
fix : #9492 , keep query params on redirect
2021-04-15 12:43:28 -04:00
Julian Lam
9c52fd2e74
fix : #9450 express session saved even if saveUninitialized explicitly passed in
2021-04-02 11:07:16 -04:00
Julian Lam
166d65a1ba
fix: add back middleware.authenticateOrGuest
2021-03-08 14:52:49 -05:00
Julian Lam
e3b2c00db1
fix: request authentication called twice in account routes
2021-03-08 14:47:55 -05:00
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
2021-03-08 14:03:22 -05:00
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
5c2f0f0557
chore: eslint no-restricted-syntax
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
gasoved
53e0d4d2e0
feat: banned-users group
2021-02-03 15:22:44 -05:00
Julian Lam
5f9f241e37
chore: remove deprecated filter:admin/header.build hook [breaking]
...
Use `filter:middleware.renderAdminHeader` instead.
2021-01-27 16:10:19 -05:00
Julian Lam
f975063b7d
fix : #7125 , allow list for page route, configurable via plugin hook
2021-01-25 16:01:10 -05:00
Julian Lam
966c4117ec
refactor(api): post move to write API
2021-01-18 15:31:14 -05:00
Barış Soner Uşaklı
1374e0eeba
refactor: change var to const
2021-01-16 12:54:11 -05:00
Julian Lam
c07e1e16af
feat: add unread-count badge if navigator contains /flags route
2021-01-08 14:15:54 -05:00
Julian Lam
6cb5888c13
fix: unescape header navigation originalRoute [breaking]
2021-01-08 14:15:54 -05:00
Julian Lam
03a0e72fae
refactor: split out logic dedicated to calculating unread counts, to a separate local method
2021-01-08 14:15:54 -05:00