Commit Graph

12989 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
be14f6cc52 feat: closes #11553, add forked from message like merged into 2023-09-28 10:10:30 -04:00
Barış Soner Uşaklı
40d290c1a9 Tag follow (#12041)
* feat: tag follow

* on tag delete remove it from following users

* feat: on tag rename update user followed tags

and move the

* add new filter on /notifications

* feat: openapi updates

* chore: up themes

* chore: up peace

* refactor: remove unused title
2023-09-27 10:57:00 -04:00
Julian Lam
d7e9f32412 test: additional tests for #12034 2023-09-26 14:54:13 -04:00
Julian Lam
bdc221eb37 fix: clear interstitial data if there are no additional interstitials on abort 2023-09-26 14:54:13 -04:00
Julian Lam
74902e4a7b fix: #11808, reduce zeal of middleware.registrationComplete
Now will judiciously check whether the target category or topic is restricted to verified users before redirecting unverified users to the email confirmation interstitial
2023-09-26 14:54:13 -04:00
Barış Soner Uşaklı
fbcb40f834 Merge branch 'master' into develop 2023-09-26 11:51:28 -04:00
Barış Soner Uşaklı
cddac03a5f fix: change priv to topics:read 2023-09-26 11:51:18 -04:00
Barış Soner Uşaklı
f0c940c97f Merge branch 'master' into develop 2023-09-26 11:50:16 -04:00
Barış Soner Uşaklı
8b25aff79a feat: add workerpool for password, closes #10326 (#12038) 2023-09-26 10:48:58 -04:00
Barış Soner Uşaklı
f1a80d48cc 10411 (#12037)
* feat: add type to privilege maps

deprecate old hooks that are used for adding new privileges, new hooks are static:privileges.global.init/static:privileges.categories.init

* deprecate admin priv hooks

* fix: if type doesnt exist default to 'other'

* remove filter

* fix: copy privilege functions to use new filter instead of indices

allow static hooks to use sync functions

* fix: openapi

* test: fix template helper
2023-09-25 20:42:18 -04:00
Barış Soner Uşaklı
77d6d0abfc fix: #12035, filter tids in mark all read 2023-09-25 20:34:10 -04:00
Barış Soner Uşaklı
d50473dfeb fix: pass in missing uid 2023-09-25 11:20:21 -04:00
Barış Soner Uşaklı
8895b152c2 refactor: get rid of exists db call, use promise.parallel 2023-09-25 11:08:09 -04:00
Barış Soner Uşaklı
a0ae31d0a7 Merge branch 'master' into develop 2023-09-25 10:51:44 -04:00
Julian Lam
fe42fd4ebc fix: #12025, validity checking on user-provided toPid value 2023-09-25 10:34:35 -04:00
Barış Soner Uşaklı
8041f4d185 fix: field name importance 2023-09-22 10:15:34 -04:00
Barış Soner Uşaklı
b8e43143cd fix: closes #12007, parseInt notification fields 2023-09-22 09:55:02 -04:00
Barış Soner Uşaklı
615b2f0fa0 fix: on shutdown clear locks 2023-09-21 11:13:11 -04:00
Barış Soner Uşaklı
d906097a22 feat: add composerActions for chat rooms 2023-09-16 20:46:54 -04:00
Barış Soner Uşaklı
7ca37bd6c3 fix: #12009, check if suggested/current versions are valid 2023-09-15 09:35:51 -04:00
Barış Soner Uşaklı
e15d68d195 Merge branch 'master' into develop 2023-09-11 16:01:41 -04:00
Julian Lam
e1bced8c2c fix: move database call used to associate a NodeBB session UUID to its express session id into user.auth.addSession, which is the only time it is called 2023-09-11 15:08:45 -04:00
Julian Lam
f09f4105ba fix: nodebb/nodebb-plugin-link-preview#18, remove sup from allowedTags, add source + source attributes 2023-09-11 13:56:50 -04:00
Barış Soner Uşaklı
dcccbe69e3 Merge branch 'master' into develop 2023-09-11 12:02:28 -04:00
Barış Soner Uşaklı
53106c009c fix: toMid to posts you cant see 2023-09-11 10:20:10 -04:00
Barış Soner Uşaklı
b9c3cdb679 fix: use isPrivileged instead of isAdmin 2023-09-07 11:39:22 -04:00
Julian Lam
223e76569b feat: introduce new ACP setting for newbie chat message delay, defaults to 2 minutes 2023-09-07 11:39:22 -04:00
Julian Lam
88dd21e26f fix: better labels in ACP chat settings, #11983 2023-09-06 15:21:40 -04:00
Barış Soner Uşaklı
19b7cdb245 fix: #11981, post immediately when canceling scheduling 2023-09-06 11:43:43 -04:00
Barış Soner Uşaklı
aa797f23c1 fix: #11981, post immediately when canceling scheduling 2023-09-06 11:00:34 -04:00
Barış Soner Uşaklı
600357444d feat: typing user list in chat 2023-09-02 21:18:00 -04:00
Barış Soner Uşaklı
92f5c146fd feat: add data-allow-dupe and data-navigator-ignore
these can be used by plugins like q&n to dupe a post
instead of relying on magic -1 index
2023-09-02 00:07:35 -04:00
Barış Soner Uşaklı
4e5340d260 refactor: add targetUid to email-change event 2023-08-31 09:34:15 -04:00
Barış Soner Uşaklı
8db13d8e86 refactor: how admins change emails (#11973)
* refactor: how admins change emails

ability for admins to change emails from acp
ability for admins to change passwords from acp
only users themselves can use /user/<slug>/edit/email
group actions in manage users dropdown
admins can use the same modal from profile page instead of interstitial to update email
add missing checks to addEmail, if email take throw error
add targetUid to email change event

* test: bunch of baloney

* test: remove old test
2023-08-30 19:29:46 -04:00
Barış Soner Uşaklı
54706b1182 ability to pin chat messages (#11964) 2023-08-28 15:57:30 -04:00
Barış Soner Uşaklı
1a1fd64d9a fix: deleted chat messages (#11962)
* fix: deleted chat messages

* fix spec
2023-08-28 12:10:42 -04:00
Barış Soner Uşaklı
965780b731 fix: closes #11954, fix custom skins with spaces 2023-08-25 21:02:05 -04:00
Barış Soner Uşaklı
f026e74038 feat: add socket.data.uid on connect 2023-08-25 14:46:51 -04:00
Barış Soner Uşaklı
3d6668e7f0 fix: dont show chat notif if you are already in the room
mark all notifs from chat read when you you mark the chat room read
2023-08-24 22:42:36 -04:00
Barış Soner Uşaklı
2930892aa7 pass req.query.next to sso callback
user req.query.next instead of req.session.returnTo if it exists
2023-08-24 21:29:26 -04:00
Barış Soner Uşaklı
9720bb4846 Merge branch 'master' into develop 2023-08-24 14:36:25 -04:00
Julian Lam
d13e7cd36c fix: isPrivilegeGroup not capturing admin privileges 2023-08-24 14:10:45 -04:00
Barış Soner Uşaklı
731466e572 feat: #11949, show alert if posts is going to be queued 2023-08-23 23:36:18 -04:00
Barış Soner Uşaklı
31305d64ba Merge branch 'master' into develop 2023-08-23 18:19:57 -04:00
Barış Soner Uşaklı
4ba7633897 fix: msg ref 2023-08-23 18:19:39 -04:00
Barış Soner Uşaklı
2d62a77248 fix: #11947, make user message has a numeric timestamp 2023-08-23 18:09:34 -04:00
Barış Soner Uşaklı
dc0fb81bf5 fix: #11947, make user message has a numeric timestamp 2023-08-23 18:07:05 -04:00
Barış Soner Uşaklı
e39697061a fix: closes #11921 2023-08-22 19:42:51 -04:00
Barış Soner Uşaklı
adb8e85d68 Merge branch 'master' into develop 2023-08-22 11:32:03 -04:00
Julian Lam
df65c60081 fix: improper SSO format (regression), update openapi schema 2023-08-21 15:43:32 -04:00