Commit Graph

2605 Commits

Author SHA1 Message Date
Julian Lam
4bd7a574c3 feat: some additional work to properly save and retrieve remote topic data 2024-01-12 16:39:29 -05:00
Julian Lam
273188632d Merge remote-tracking branch 'origin/develop' into activitypub 2024-01-12 15:23:41 -05:00
Julian Lam
485cf20006 feat: ability to browse to any ActivityPub note and have the entire topic chain render
Added methods for going up the inReplyTo chain to parent, asserting the topic, etc.
2024-01-12 15:23:30 -05:00
Barış Soner Uşaklı
5213e22a6e feat: search in bookmarks on search page 2024-01-12 14:02:28 -05:00
Julian Lam
06e1583461 refactor: move mockProfile and mockPost to separate mocks.js 2024-01-10 14:19:57 -05:00
Julian Lam
5e1e809962 feat: send name property in getActor response 2024-01-08 14:46:43 -05:00
Julian Lam
9221506b0f fix: improper params sent to get and getActor 2024-01-08 14:46:33 -05:00
Julian Lam
942a9b7e5c fix: send in mocked profile data in follow routes as well 2024-01-05 15:39:45 -05:00
Julian Lam
2a77ae550b feat: ability to browse follower/following lists of remote accounts 2024-01-05 15:32:55 -05:00
Julian Lam
672c70146a feat: update mockProfile to accept actor uris as well as actor objects 2024-01-04 16:25:46 -05:00
Julian Lam
8d4fd9c0f8 refactor: move profile mocking logic to discrete method in main activitypub lib 2024-01-04 14:04:34 -05:00
Julian Lam
f3b0794d17 fix: some wip code regarding handling a follow activity, remove unfollow activity as that does not exist 2023-12-22 13:35:09 -05:00
Julian Lam
dd480aa4f6 fix: update proceedOnActivityPub middleware to handle how Mastodon doesn't send the 'Accepts' header 2023-12-21 15:49:51 -05:00
Julian Lam
0d6f0530f5 Merge remote-tracking branch 'origin/develop' into activitypub 2023-12-19 14:02:33 -05:00
Barış Soner Uşaklı
06221a0ddf feat: add 500 page for missing tpls, closes #12230 2023-12-18 17:35:37 -05:00
Julian Lam
7f46f07cb9 fix: unused require 2023-12-13 13:21:29 -05:00
Julian Lam
4c1b2b3fe6 feat: accept and undo support 2023-12-13 13:15:03 -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
8a5fb86ddf chore: small var rename 2023-12-08 10:46:34 -05:00
Julian Lam
e794f1d2ce fix: store remote followed users count separately from local 2023-12-07 13:23:06 -05:00
Julian Lam
4324f09c85 fix: icon text and bgColor in remote profiles 2023-12-07 13:10:06 -05:00
Julian Lam
5e693702a4 chore: minor re-shuffling of code 2023-12-07 12:36:30 -05:00
Julian Lam
c02271c7af feat: follow/unfollow logic and receipt 2023-12-06 13:38:41 -05:00
Julian Lam
e6753ce5db fix: missing req.body when parsing ActivityPub requests 2023-12-06 13:38:41 -05:00
Julian Lam
5d95765ee7 fix: bugs, more prep to start making calls to self 2023-12-06 13:38:41 -05:00
Julian Lam
cdc4275fec feat: actor cache, method to resolve inboxes, stub code for sending requests. Now base64 encoding digest as expected by Mastodon 2023-12-06 13:38:41 -05:00
Julian Lam
2e89900886 chore: reorganize controllers for clarity 2023-12-06 13:38:41 -05:00
Julian Lam
e7184eb8cc feat: http signatures support, .sign() and .verify() AP helper methods 2023-12-06 13:38:41 -05:00
Julian Lam
0cbbce8c16 chore: update AP helpers export, 404 logic reversal, no slugify in userslug in mock profile from remote instance 2023-12-06 13:38:18 -05:00
Julian Lam
a05b674e27 feat: ability to view federated profiles via url manipulation 2023-12-06 13:38:18 -05:00
Julian Lam
7e1dac39ea feat: followers and following endpoints 2023-12-06 13:38:18 -05:00
Julian Lam
81b6260f2e feat: inbox and outbox routes, stub controllers 2023-12-06 13:38:18 -05:00
Julian Lam
2dec357aee feat: activitypub actor endpoint for user accounts 2023-12-06 13:38:18 -05:00
Julian Lam
51d8f3b195 fix: moved .well-known assets to separate router file, added basic webfinger implementation
added tests for webfinger controller
2023-12-06 13:38:18 -05:00
Opliko
2d8026ebb7 Add basic author information to topic data (#12202)
* feat: add author metadata to topics

* docs: add author object to OpenAPI definition

* docs: add remaining author properties to openapi definition

* docs: mark optional properties optional

* docs: properly set required properties
2023-12-01 09:08:50 -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
181a93996c chore: minor re-order of routes/controllers in admin api v3 router/controller 2023-11-09 11:53:17 -05:00