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
Barış Soner Uşaklı
fcc1e24ad0
feat: rename admin middleware header hook
4 years ago
Julian Lam
da191341e8
feat(acp): added new admin privilege for groups management
4 years ago
Julian Lam
34ccabe3ab
fix: bad assignment logic in middleware.renderHeader
4 years ago
Julian Lam
75b1bbd09f
feat: explicitly add filter:admin/header.build hook
...
As it is not fired during middleware.processRender
4 years ago
Julian Lam
4c87f30184
feat: allow plugins to override ACP relogin challenge
...
- used in 2factor
4 years ago
Julian Lam
90497e3ef5
feat: more work on topic thumbs refactor
...
- addThumb and deleteThumb are now protected routes (duh)
- new getThumbs route GET /api/v3/topics/<tid>/thumbs
- Updated `assert.path` middleware to better handle if relative paths are received with upload_url
- Slight refactor of thumbs lib to use validator to differentiate between tid and UUID
4 years ago
Julian Lam
708b1c338f
fix : #9040
4 years ago
Julian Lam
7e9e08f718
feat: server-side routes for handling multiple topic thumbnails
...
closes #8994 , requires 'topic-thumb-refactor' branch of composer-default
4 years ago
Julian Lam
6037f5ee2c
chore: add comment for clarification
4 years ago
Julian Lam
970ccb5a68
fix : #9063 , missing handler for passwordless accounts in admin.checkPrivileges middleware
4 years ago
Julian Lam
3ea66f84e1
fix: use file lib instead of directly accessing fs (for Assert.path)
4 years ago
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
4 years ago
Barış Soner Uşaklı
120999bf63
feat: #7550 , show message if post is queued when js is disabled
4 years ago
Barış Soner Uşaklı
e4d2764d4c
fix : #8884 , remove header/footer cache
4 years ago
Barış Soner Uşaklı
a0164b1c38
fix: use header/footer cache in prod
4 years ago
Barış Soner Uşaklı
2e44639210
fix: guest header/footer cache
...
allow clearing individual caches
4 years ago
Barış Soner Uşaklı
4b63f9937c
fix: check is banned in buildHeader
...
remove unused banReason
remove generateHeader function
4 years ago