Commit Graph

12969 Commits

Author SHA1 Message Date
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
Julian Lam
4a846803e8 fix: improper SSO format (regression), update openapi schema 2023-08-21 15:38:41 -04:00
Julian Lam
db15e7c4b1 fix: return empty array for 'sso' otherwise 2023-08-21 15:31:58 -04:00
Julian Lam
a6c98de631 fix: #11906, remove retrieval of SSO data in getAllData internal method, only retrieve for calling user or admins, and only on edit page 2023-08-21 15:26:42 -04:00
Julian Lam
8aacc8f89c fix: #11906, remove retrieval of SSO data in getAllData internal method, only retrieve for calling user or admins, and only on edit page 2023-08-21 15:26:26 -04:00
Barış Soner Uşaklı
979f24b173 feat: #6021 add min:rep-post-links (#11938)
new reputation limit to post links
if post queue is enabled and user doesn't have enough reputation to post links, queue their posts

if post queue is NOT enabled and user doesn't have enough reputation to post links show error

check content on topic post, topic reply, post edit
2023-08-21 14:00:36 -04:00
Barış Soner Uşaklı
b65d8e823a feat: add new notif type for public rooms
change notification text to display more users
  * user1 wrote in general
  * user1 and user2 wrote in general
  * user1, user2 and user3 wrote in general
  * user1. user2 and 2 others wrote in general
2023-08-20 11:51:09 -04:00
Barış Soner Uşaklı
85a200096c Merge branch 'master' into develop 2023-08-20 00:25:52 -04:00
Barış Soner Uşaklı
78a7cfe9c2 fix: upgrade script, get rid of nested processSortedSet 2023-08-19 21:53:44 -04:00
Barış Soner Uşaklı
c92ecfb4b9 feat: better acp sidebar in dark mode 2023-08-19 21:46:09 -04:00
Barış Soner Uşaklı
9534f9b9b9 feat: check mute when messaging, closes #11932 2023-08-19 17:15:06 -04:00
Barış Soner Uşaklı
8b533d5467 test: one more fix 2023-08-19 16:47:10 -04:00
Barış Soner Uşaklı
6b09b7c7d4 test: fix tests, dont hang if payload is string
closes #11933
2023-08-19 16:40:43 -04:00
Barış Soner Uşaklı
82d95ba812 remove logs 2023-08-18 21:42:21 -04:00
Barış Soner Uşaklı
aeb27f4b8d fix: admins should see public chats
even if they are not in any of the groups
2023-08-18 21:41:00 -04:00
Barış Soner Uşaklı
7dd143e1f8 fix: show access denied instead of internal error
when user doesn't have access to chats
2023-08-18 21:40:39 -04:00
Barış Soner Uşaklı
cbc092be1e Merge branch 'master' into develop 2023-08-18 20:48:03 -04:00
Barış Soner Uşaklı
b958a39a66 feat: log roomId/roomName on delete 2023-08-18 20:47:55 -04:00
Barış Soner Uşaklı
51587ca3b2 fix: one more fix 2023-08-18 20:38:59 -04:00
Barış Soner Uşaklı
b5d1e9176b fix: one more upgrade script fix 2023-08-18 20:34:22 -04:00
Barış Soner Uşaklı
5a8e6af43e fix: post preview on skins remove clearfix and floats 2023-08-18 20:13:35 -04:00