Julian Lam
7ec75f5830
fix: ActivityPub.get now throws on failure, handle in getActor
2024-01-08 14:30:09 -05:00
Julian Lam
a1c8c3a043
refactor: update ActivityPub.get and all methods calling it to take a uid so that requests can be signed
2024-01-05 22:46:07 -05:00
Julian Lam
759d69e06c
fix: accept and undo logic saving improper id into database, updated follow logic so remote follow is not added to collection until an accept is received
2024-01-03 13:54:17 -05:00
Julian Lam
ccbf32bcc5
Merge remote-tracking branch 'origin/develop' into activitypub
2024-01-02 11:58:25 -05:00
Barış Soner Uşaklı
8867f243e8
fix: closes #12246 , direction is passed in as string as query param with new api call
...
cid isn't necessary in query params since its in path
2023-12-27 17:43:56 -05:00
Julian Lam
6a54e0090b
fix: additional refactors and updates to follow/unfollow logic
2023-12-22 15:53:04 -05:00
Julian Lam
543daee866
fix: send actor uris in follow instead of webfinger ids
2023-12-22 13:56:18 -05:00
Julian Lam
00bda0688d
Merge remote-tracking branch 'origin/develop' into activitypub
2023-12-21 14:23:50 -05:00
Barış Soner Uşaklı
48a2b5f725
fix: lang key for move notification closes #12241
2023-12-21 09:59:36 -05:00
Julian Lam
c803b2124c
refactor: minor restructure to move logic out of main controller file to src/api
2023-12-08 10:55:16 -05:00
Julian Lam
445b70deda
test: migrate socket modules tests to v3 api
2023-12-05 11:47:55 -05:00
Julian Lam
2c1c4dfe41
test: migrate socket.io groups tests to use api v3
2023-12-05 10:41:14 -05:00
Julian Lam
2c6024e07f
feat: update groups.leave to allow global mods to kick users out of groups
2023-12-01 13:04:32 -05:00
Barış Soner Uşaklı
b905013950
fix: closes #12185 , fix cli user password reset
...
refactor session get/destroy
2023-11-28 20:58:07 -05:00
Barış Soner Uşaklı
0a4f3c8a56
fix : #12183 , remove ensureLoggedIn middleware
...
from category routes
add privilege check to getTopicCount
2023-11-24 17:05:36 -05:00
Julian Lam
c1e6be7705
refactor(socket.io): deprecate SocketModules.chats.typing in favour of api.chats.toggleTyping
2023-11-20 13:06:26 -05:00
Julian Lam
401e8636bd
refactor(socket.io): deprecate SocketModules.chats.loadPinnedMessages in favour of api.chats.getPinnedMessages"
2023-11-20 13:06:26 -05:00
Julian Lam
f9dc35021d
refactor(socket.io): deprecate SocketModules.chats.searchMessages in favour of api.search.roomMessages
2023-11-20 13:06:26 -05:00
Julian Lam
75c8cda18c
refactor(socket.io): deprecate SocketModules.chats.setNotificationSetting in favour of api.chats.watch
2023-11-20 13:06:26 -05:00
Julian Lam
b13c6ee431
refactor(socket.io): deprecated SocketModules.chats.toggleOwner in favour of api.chats.toggleOwner
2023-11-20 13:06:26 -05:00
Julian Lam
6e952263d1
refactor(socket.io): deprecated SocketModules.chats.searchMembers in favour of api.search.roomUsers
2023-11-20 13:06:26 -05:00
Julian Lam
62b7dfd400
refactor(socket.io): deprecate SocketModules.sortPublicRooms in favour of api.chats.sortPublicRooms
2023-11-20 13:06:26 -05:00
Julian Lam
5eaffb422c
refactor(socket.io): deprecate SocketModules.chat.getUnreadCount in favour of api.chats.getUnread
2023-11-20 13:06:26 -05:00
Julian Lam
214989a8c1
refactor(socket.io): deprecate SocketModules.chats.getIP in favour of api.chats.getIpAddress
2023-11-20 13:06:26 -05:00
Julian Lam
0d3c94e6bb
refactor(socket.io): deprecate SocketModules.chats.hasPrivateChat in favour of api.users.getPrivateRoomId
2023-11-20 13:06:26 -05:00
Julian Lam
a4133500fe
refactor(socket.io): deprecate SocketModules.chats.canMessage and .markAllRead with no alternative. deprecate .getRecentChats in favour of api.chats.list
2023-11-20 13:06:26 -05:00
Julian Lam
eebea4df2e
refactor(socket.io): deprecate SocketModules.chats.isDnD in favour of api.users.getStatus
2023-11-20 13:06:26 -05:00
Julian Lam
c4b4e79b28
refactor(socket.io): deprecate SocketModules.chats.getRaw in favour of api.chats.getRawMessage
2023-11-20 13:06:26 -05:00
Julian Lam
dc4cc74fbd
refator(socket.io): deprecate socketGroups.getChatGroups in favour of api.admin.listGroups
2023-11-09 11:53:17 -05:00
Julian Lam
807d778c77
refactor(socket.io): deprecate socketGroups.loadMoreMembers in favour of api.groups.listMembers
2023-11-09 11:53:17 -05:00
Julian Lam
d2f3333af0
refactor(socket.io): deprecate socketGroups.searchMembers in favour of api.groups.listMembers
2023-11-09 11:53:17 -05:00
Julian Lam
b61e814787
refactor(socket.io): deprecate socketGroups.loadMore in favour of api.groups.list
2023-11-09 11:53:17 -05:00
Barış Soner Uşaklı
fdff165e2b
feat: closes #12154 , add exempt groups
...
for new user restrictions
2023-11-07 12:36:40 -05:00
Barış Soner Uşaklı
84fed97b41
feat: add tracking categories and make watching send notifications ( #12147 )
...
* feat: add tracking categories and make watching send notifications
upgrade script to change the defaults
* add missing spec
* test: one more spec
2023-11-03 12:49:17 -04:00
Julian Lam
581516c88e
fix: made parentCid optional in api.search.categories
2023-10-31 11:32:07 -04:00
Julian Lam
00de9d5b07
refactor(socket.io): deprecate categories.categorySearch in favour of api.search.categories
...
THIS IS WIP
2023-10-31 11:32:07 -04:00
Julian Lam
1ce4ca54da
refactor(socket.io): deprecate categories.loadMore in favour of api.categories.getTopics
2023-10-31 11:32:07 -04:00
Julian Lam
010727f5cb
refactor(socket.io): deprecate categories.loadMoreSubCategories in favour of api.categories.getChildren
2023-10-31 11:32:07 -04:00
Julian Lam
d7c6b3d60e
refactor(socket.io): deprecate categories.setWatchState in favour of api.categories.setWatchState
2023-10-31 11:32:07 -04:00
Julian Lam
c442b6e662
refactor(socket.io): deprecate categories.getTopicCount in favour of api.categories.getTopicCount
2023-10-31 11:32:07 -04:00
Julian Lam
96046373da
refactor(socket.io): deprecate categories.get in favour of api.categories.list
2023-10-31 11:32:07 -04:00
Julian Lam
52b78e83a8
refactor(socket.io): deprecate categories.getRecentReplies in favour of api.categories.getPosts
2023-10-31 11:32:07 -04:00
Barış Soner Uşaklı
4c4f3ac983
feat: add direct message link ( #12138 )
...
* feat: add direct message link
/message/:mid
add /:index? to chat routes
add copy link to chat messages
add messageCount to each room object
add infinitescroll in both directions to chat
* fix more tests
* test: more text fixes
* test: fix tests
* remove async
* dont crash if element not in dom
clamp scrollToIndex values to 0, msgCount
2023-10-31 10:15:06 -04:00
Barış Soner Uşaklı
b398321a5e
Chat with privileged ( #12092 )
...
* Update headers.js
Fixes X-Upstream-Hostname header for os hostnames with invalid characters
* Added missing period in allowed hostname chars
Allowed hostname chars should include A-Za-z0-9-. based on https://man7.org/linux/man-pages/man7/hostname.7.html
* feat: add chat:privileged global privilege
to only allow chatting with privileged users
* test: fix priv test
* test: one more fix
---------
Co-authored-by: chadjw <chad.warner@gmail.com >
2023-10-17 13:19:25 -04:00
Julian Lam
e012edea3b
feat: flag rescinding logic + api method
2023-10-12 10:23:30 -04:00
Barış Soner Uşaklı
844cb91beb
feat: update all language keys to use - instead of _ ( #12059 )
...
* feat: update all language keys to use - instead of _
* refactor: update language keys
2023-10-05 12:48:50 -04:00
Barış Soner Uşaklı
344ece8db5
fix : #12057 , allow gmods to change user email
2023-10-03 20:42:43 -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
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