Commit Graph

219 Commits

Author SHA1 Message Date
Julian Lam
7465762d87 fix: typo, client-side handling of crossposts as pertains to uncategorized topics 2026-01-12 12:55:18 -05:00
Julian Lam
273bc68c46 feat: user crossposts federate as:Announce 2026-01-12 12:55:18 -05:00
Julian Lam
b981082dd7 fix: removed ajaxify refresh on crosspost commit, dynamically update post stats in template, logic fix 2026-01-12 12:55:18 -05:00
Julian Lam
1be88ca0ea refactor: move crosspost methods into their own file in src/topics 2026-01-12 12:55:18 -05:00
Julian Lam
74172ecc5d feat: API v3 calls to crosspost and uncrosspost a topic to and from a category 2026-01-12 12:55:18 -05:00
Barış Uşaklı
7b793527f9 Change owner rest route (#13881)
* fix: dont use sass-embedded on freebsd, #13867

* fix: #13715, dont reduce hardcap if usersPerPage is < 50

* fix: closes #13872, use translator.compile for notification text

so commas don't cause issues

* fix: remove bidiControls from notification.bodyShort

* refactor: move change owner call to rest api

deprecate socket method

* fix spec

* test: one more fix

* test: add 404

* test: fix tests :rage1:

* test: update test to use new method
2026-01-11 14:38:14 -05:00
Julian Lam
3ede64d8a1 refactor: move all methods in src/api/activitypub.js to src/activitypub.out.js 2025-10-22 14:41:56 -04:00
Julian Lam
1e0fb20db4 feat: adding and removing relays from AP settings page in ACP 2025-08-27 14:16:42 -04:00
Julian Lam
bdcf28a3d9 feat: ability to add/remove auto-categorization rules for incoming federated content 2025-08-18 16:08:32 -04:00
Barış Uşaklı
24e7cf4a00 refactor: move post uploads to post hash (#13533)
* refactor: move post uploads to post hash

* test: add uploads to api definition

* refactor: move thumbs to topic hash

* chore: up composer

* refactor: dont use old zset
2025-07-07 10:22:24 -04:00
Barış Uşaklı
4fbcfae8b1 Post queue write api (#13473)
* move post queue from socket.io to rest api

* move harmony post-queue to core

add canEdit, allow users to edit their queued posts

* fix: openapi spec

* lint: whitespace
2025-06-05 07:15:45 -04:00
Barış Soner Uşaklı
3ad6ee075b Thumb uploads/post uploads normalization (#13300)
* testing thumn/post upload refactor

* fix: isOrphan check

* lint: fix md5

* test: fix upload test

* user

* fix: upgrade script

* refactor: long line

* lint: lint

* test: fix tests

* Squashed commit of the following:

commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Fri Apr 4 09:24:54 2025 -0400

    fix: req.body can be undefined

* refactor: show data on test fail

* test: logs

* test: change test

* make sure timestamps are different
2025-04-04 10:45:05 -04:00
Barış Soner Uşaklı
389bc062e3 feat: body-parser-2.x test (#13278)
* feat: body-parser-2.x test

* fix req.body
2025-03-27 11:29:37 -04:00
Julian Lam
51fd65abc8 refactor: add thumbsOnly option to thumbs retrieval method so that embeds/attachments don't show up in composer thumbnail modal 2024-12-17 11:14:29 -05:00
Barış Soner Uşaklı
6010b72d71 Merge branch 'develop' into activitypub 2024-09-09 14:03:25 -04:00
Barış Soner Uşaklı
1e616da52b Merge branch 'master' into develop 2024-09-07 22:51:19 -04:00
Barış Soner Uşaklı
220af7068a fix: closes #12780, 404 in api/v3 if topic doesn't exist 2024-09-07 21:31:08 -04:00
Barış Soner Uşaklı
df6062d8be Merge branch 'develop' into activitypub 2024-08-21 12:57:10 -04:00
Julian Lam
2d14a79854 feat: migrate topic move socket call to api v3 2024-08-15 13:28:57 -04:00
Barış Soner Uşaklı
c021e7e80f refactor: announces
store number of announces on post hash, show announces like votes, with tooltip and a way to see all, remove them from topic.events so they dont load all tid:<tid>:posts everytime topic is loaded
2024-06-17 11:18:48 -04:00
Barış Soner Uşaklı
937caecdc4 Merge branch 'develop' into activitypub 2024-06-14 10:36:06 -04:00
Barış Soner Uşaklı
f7c9b7ae4e fix: recent chat pagination, closes #12637 2024-06-14 09:52:11 -04:00
Barış Soner Uşaklı
119230d7ec Merge branch 'develop' into activitypub 2024-06-06 13:18:12 -04:00
Barış Soner Uşaklı
1aaa6cbbc5 feat: add voters/upvoters v3 routes
closes #12423
2024-05-31 11:45:41 -04:00
Opliko
53b352d0d8 refactor: remove unnecessary flag routes added in 9ab1a2d 2024-04-30 00:39:32 +02:00
Julian Lam
b7ad4317cc fix: have category sync routes return full api response, openapi schema for that pair of routes 2024-04-29 11:45:40 -04:00
Julian Lam
59a9dd8436 refactor: stub routes for category synchronization, refactor remote follow logic to allow categories to conduct follows as well 2024-04-15 16:18:12 -04:00
Opliko
2a2b855fe2 feat: federate flag creation 2024-04-14 00:51:53 +02:00
Opliko
9ab1a2d129 feat: rescind post flags 2024-04-14 00:07:55 +02:00
Julian Lam
f51bbe91e7 fix: clear post cache on Update(Note) 2024-01-24 14:35:21 -05:00
Julian Lam
c9feb92539 refactor: simplify remote (un)follow controller 2024-01-23 12:11:35 -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
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
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
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