Barış Soner Uşaklı
894f392bfc
lint: whitespace
2 years ago
Barış Soner Uşaklı
c2961ad4cd
fix: closes #11173 , move cache clear code
...
if 2 deps were updated only one of them was cleared from require.cache. ie commander & lru-cache both has major version bump then only commander would be cleared from cache since it throws first
2 years ago
Julian Lam
93aa43f717
style: more fixes
2 years ago
Phạm Tấn Minh Tiến
9ed6961af8
fix lint
2 years ago
Phạm Tấn Minh Tiến
4b94c033c4
wrap quotes to prevent stripping leading 0
2 years ago
Barış Soner Uşaklı
767c1d1faf
fix: thumb remove on windows, closes #11357
2 years ago
Barış Soner Uşaklı
a3a38e4ba3
fix : #11357 clear cache on thumb remove
2 years ago
Barış Soner Uşaklı
cfd5027245
fix: closes #11352 , try/catch rss feeds
2 years ago
Barış Soner Uşaklı
56427e4f9d
fix: closes #11343 , don't crash if tags array is empty
2 years ago
Barış Soner Uşaklı
1545223e7f
fix: tag filtering when changing filter to watched topics
...
or changing popular time limit to month
2 years ago
Barış Soner Uşaklı
f054a4f44d
fix: get cid from pid instead of passing in
2 years ago
Barış Soner Uşaklı
8c762d3228
fix: closes #11331 , allow 0 length content if set to 0 in acp
2 years ago
Barış Soner Uşaklı
791551098c
fix: display 25 topics on category feed
2 years ago
Barış Soner Uşaklı
ec58700f6d
fix: object destructuring overwriting type parameter
...
also check for valid types in generateExport
2 years ago
Barış Soner Uşaklı
8cf4a6f62e
fix: alert on page load
2 years ago
gasoved
edd2fc38fc
fix: update main post timestamp when rescheduling
2 years ago
Barış Soner Uşaklı
326b92687f
fix: show admins/globalmods if content is purged
2 years ago
Barış Soner Uşaklı
e335d0f601
fix: email expiry timestamps
...
emailConfirmExpiry is hours and default is 24
2 years ago
Barış Soner Uşaklı
845c8013b6
fix : #11259 , clean old emails when updating via admin ( #11260 )
...
when admin is changing users emails check if its avaiable and remove old email of user first
upgrade script to cleanup email:uid, email:sorted, will remove entries if user doesn't exist or doesn't have email or if entry in user hash doesn't match entry in email:uid
fix missing ! in email interstitial
fix missing await in canSendValidation,
fix broken tests
dont pass sessionId to email.remove if admin is changing/removing email
2 years ago
Julian Lam
7a5bcc2171
fix : #11257 , onSuccessfulLogin called with improper uid
2 years ago
Barış Soner Uşaklı
bf92ee0e5f
feat: add sitemap filter hooks for categories/topic pages
2 years ago
nesro
202378b939
fix : #11254 , return check for reroll property
2 years ago
Barış Soner Uşaklı
705cd13ad3
fix: closes #11249 , notification uses displayname
2 years ago
Julian Lam
b5598a6e5d
fix: wrong link to topics in acp dashboard
2 years ago
Barış Soner Uşaklı
d68352cce5
lint: remove unused
2 years ago
Barış Soner Uşaklı
0713482bd4
feat: #11240 , only show relevant users in flags assignee list
...
for user flags-> admins + all users who have `admin:users` privilege
for post flags -> admins + global mods + moderators of the category the post is in
refactor getModeratorUids function so it can be used for different privileges
2 years ago
Barış Soner Uşaklı
1d3c0e5a2b
fix: https://github.com/NodeBB/NodeBB/issues/11239
...
parseInt uid received from req.body._uid or req.query._uid
2 years ago
Barış Soner Uşaklı
6d819b056e
fix: notif filter selecte field
2 years ago
Peter Jaszkowiak
f6c96948fe
fix: import resolution within plugin modules ( #11219 )
...
use module.exports = require('..')
export * from '..' didn't work in some cases
2 years ago
Barış Soner Uşaklı
c3653bee60
Revert "fix: import resolution within plugin modules ( #11200 )"
...
This reverts commit 89e059a084
.
2 years ago
Peter Jaszkowiak
89e059a084
fix: import resolution within plugin modules ( #11200 )
2 years ago
Barış Soner Uşaklı
0bffd3d93c
fix : #11195 , allow users with admin:users privilege to delete users in acp
2 years ago
Barış Soner Uşaklı
7d04e95226
fix : #11194 , allow access to sub dashboard pages
2 years ago
Julian Lam
f295174e07
test: fix broken test
2 years ago
Julian Lam
459bc52338
fix : #11136 , tests, and returning the proper number of arrays
2 years ago
Julian Lam
39e009c05a
fix : #11136 , only show mods of active categories when getModeratorUids is called
2 years ago
Barış Soner Uşaklı
747cb1f0a1
fix: closes #11173 , clear require cache if wrong dependency is installed
2 years ago
Julian Lam
25ae58e8a0
fix: move call to `filter:middleware.buildHeader` out of parallel so that req can be overridden by plugins prior to loading config
2 years ago
Barış Soner Uşaklı
586eed1407
fix: vulnerability in socket.io nested namespaces ( #11117 )
2 years ago
Barış Soner Uşaklı
1ea9481af6
fix: lock post/reply similar to user.create
2 years ago
Opliko
de31cb1a4f
feat: add force flag to plugin install in cli ( #11089 )
2 years ago
Julian Lam
9f531f957e
refactor: flag states so that they are not hardcoded, allow plugins to add additional states, deprecated filter:flags.getFilters hook, closes #11065
2 years ago
Julian Lam
896493dbd6
fix: change hsts-maxage back to numeric input type, change API token uid input to numeric text type
2 years ago
Julian Lam
4314b8e201
Revert "fix: replace input type number with text/pattern"
...
This reverts commit cde4c6ac7e
.
The changeset was naive in the sense that a lot of the changes inputs actually work better as type="number".
2 years ago
Julian Lam
2bc23a9526
fix: replace input type number with text/pattern
2 years ago
Julian Lam
33af2d9c18
feat: integrating basic client-side form validity checking in settings v1 and v2
2 years ago
Julian Lam
db8d3a94eb
fix: change hsts-maxage back to numeric input type, change API token uid input to numeric text type
2 years ago
Julian Lam
d9852c3245
Revert "fix: replace input type number with text/pattern"
...
This reverts commit cde4c6ac7e
.
The changeset was naive in the sense that a lot of the changes inputs actually work better as type="number".
2 years ago
Julian Lam
45ae31f816
fix: replace input type number with text/pattern
2 years ago
Julian Lam
dadbcd731c
feat: integrating basic client-side form validity checking in settings v1 and v2
2 years ago