12562 Commits (b543a0d05a0bee0e05b41d6edb30657502248445)

Author SHA1 Message Date
Julian Lam e6d7e55fbc fix: missing postAtIndex handling 2 years ago
Julian Lam 4cf04f06f6 feat: add rel="author" to topic route
re: #11248
2 years ago
Julian Lam 36bcdf8f9d Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 8cf4a6f62e fix: alert on page load 2 years ago
gasoved 5a2c6c1cb5 fix: update main post timestamp when rescheduling 2 years ago
Julian Lam 83d3633626 fix: add back req.query fallback for backwards compatibility 2 years ago
psibean ea95668a76 fix: update csrf parser to accept csrf_token form value if present 2 years ago
psibean 0b2dd4e367 Update csrf_token falee assignment to false 2 years ago
psibean f553da48e1 Update csrf-sync to fallback to _csrf query param 2 years ago
Julian Lam bb0397cbc8 lint: satisfy lint errors 2 years ago
psibean 5a994290f2 Replace csurf with csrf-sync 2 years ago
gasoved edd2fc38fc fix: update main post timestamp when rescheduling 2 years ago
Julian Lam dbc84f7571 Merge branch 'master' into develop 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ı ebb5d2d25c feat: search dashboard time range 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 046c8a6ab7 Merge branch 'master' into develop 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
Julian Lam 966724adfe fix: new language keys for #11206 2 years ago
Julian Lam a382e6e2e5 Merge branch 'master' into develop 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
Julian Lam 937344b8a8 Merge remote-tracking branch 'origin/master' into develop 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 38175b5e71 test: fix broken test 2 years ago
Julian Lam fdc41646d1 feat: api v3 route to add email to user, optionally bypassing validation email, closes #11009 2 years ago
Julian Lam eab5ab7ff9 Merge branch 'master' into develop 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 a69bc2cf7f fix: remove unneeded assignment, as req and locals will not likely ever be completely reassigned 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
Julian Lam 0a691e6744 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
Julian Lam 69806662e6
Session Timeout if "Remember Me" is not checked (#11125)
* fix: convert loginDays and loginSeconds to number inputs

* feat: configurable session timeout for when "Remember Me" is not checked

closes #11124

* test: addition tests to check loginDays and sessionDuration settings

* test: also test loginSeconds override
2 years ago
Julian Lam a344e6ec0c
Fix for #11119, restore password reset rate limiting (#11120)
* chore: incrementing version number - v2.8.1

* chore: update changelog for v2.8.1

* fix: accidental clearing of reset rate limiting on reset send

* test: move user reset tests to its own file, add failing test for user reset locks

* fix: #11119, counter attempted flooding of user reset route

* test: fix password reset socket test to check for error now

* test: same user sending multiple reset emails

should work after waiting the correct amount of time

* lint: fixes

* chore: rename outdated `cleanTokensAndUids` method

* test: no need to create user for new test

Co-authored-by: Misty Release Bot <deploy@nodebb.org>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2 years ago
Barış Soner Uşaklı b81fd81af6 feat: fire filter:topics.getUnreadTids even if there are no urnead topics 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