Opliko
3cc09d204f
feat: add ids for undoing follows
2024-04-10 01:11:49 +02:00
Opliko
72dbcfe3d9
feat: add id to follows and verify accepts
2024-04-09 23:58:52 +02:00
Opliko
9fc194e3a8
feat: send unique identifiers for note activities
2024-04-06 01:50:39 +02:00
Opliko
8003b00acd
Revert "feat: log all post edits to the event log, return eid when logging events, plumb eid into Update(Note) to federate out as a unique id"
...
This reverts commit 83392f3ca2 .
2024-04-06 01:18:46 +02:00
Julian Lam
0b2faf21f9
Merge remote-tracking branch 'origin/develop' into activitypub
2024-04-03 13:50:10 -04:00
Barış Soner Uşaklı
8f9ac5c17a
feat: move all user profile pics to folder, closes #12449 ( #12450 )
...
* feat: move all user profile pics to folder
get rid of glob delete and just delete the uid-{uid} folder when deleting user images
* when exporting user uploads add all profile uploads
* uid check
2024-03-28 16:50:56 -04:00
Julian Lam
04c743eb4a
feat: have category actor send Announce(Note) on remote replies to topics in a cid
...
#12434
2024-03-22 15:28:01 -04:00
Julian Lam
7df5cabb76
feat: have category actor send Announce(Note) activity on posts from that cid
...
re: #12434
2024-03-22 14:39:20 -04:00
Julian Lam
8f131b71ee
fix: issue where cid -1 appeared in all category searches
2024-03-21 14:01:51 -04:00
Opliko
953231fc90
feat(activitypub): show world category in selectors
...
Allows for posting to World, showing World in unread/recent/etc
also removes now-unnecessary special case for privileges
2024-03-18 01:50:11 +01:00
Julian Lam
83392f3ca2
feat: log all post edits to the event log, return eid when logging events, plumb eid into Update(Note) to federate out as a unique id
2024-03-13 15:27:59 -04:00
Julian Lam
1e6632392b
fix: properly build recipients... old logic was just plain wrong :shipit:
2024-03-09 21:09:59 -05:00
Julian Lam
08184f29c1
Revert "fix: pass proper uid to privilege check in AP note federation"
...
This reverts commit 95427c4af7 .
2024-03-08 20:45:54 -05:00
Julian Lam
95427c4af7
fix: pass proper uid to privilege check in AP note federation
2024-03-06 15:07:56 -05:00
Barış Soner Uşaklı
07c1ea2876
Merge branch 'develop' into activitypub
2024-03-04 16:09:11 -05:00
Barış Soner Uşaklı
2a9b0a3c9c
feat: add new sorting option to categories
...
add new zset for category topics
fix sorting names
2024-03-04 16:06:04 -05:00
Julian Lam
c707a32aa9
feat: integrate notifications for remote likes, follows, and announces.
...
Rescind notification as necessary.
2024-02-29 16:10:01 -05:00
Julian Lam
5f85e70006
fix: defer federation of new topics when topic is scheduled, tie activitypub api module to global enable toggle
2024-02-26 15:39:09 -05:00
Julian Lam
00efbd6dd9
Merge remote-tracking branch 'origin/develop' into activitypub
2024-02-06 14:58:06 -05:00
Julian Lam
35819cc953
refactor: activitypub sending to handle signed requests from categories
2024-02-05 16:57:17 -05:00
Julian Lam
88733a5160
feat: category actors, stub outbox
2024-02-02 17:19:59 -05:00
Julian Lam
607c4623c7
feat: Like(Note) and Undo(Like); federating likes
2024-02-01 16:05:31 -05:00
Barış Soner Uşaklı
45cfb3691e
feat: show unread categories based on unread topics ( #12317 )
...
* feat: show unread categories based on unread topics
if a category has unread topics in one of its children then mark category unread
deprecate cid:<cid>:read_by_uid sets
upgrade script to remove the old sets
* chore: up harmony
2024-01-30 17:47:06 -05:00
Julian Lam
0e59f3124e
feat: Update(Note)
2024-01-30 11:25:45 -05:00
Julian Lam
fef1882473
fix: remote follows, yet again
2024-01-26 22:35:02 -05:00
Julian Lam
ef8cd34ba1
refactor: replace JIT actor retrieval with actor assertion and storage logic
2024-01-26 15:10:35 -05:00
Julian Lam
5de4f08412
refactor: added mocks.note in preparation for AP note retrieval logic, inReplyTo is always populated now, unless new topic
2024-01-25 15:38:01 -05:00
Julian Lam
8453b83e9e
feat: added mocks.actor and Update(Person) activity on profile update
2024-01-24 20:10:22 -05:00
Julian Lam
0e016c6ecd
feat: Create(Note) on new topic or reply
...
This is a naive WIP implementation that federates everything out publicly. It does not take category privileges into account!
2024-01-24 11:44:10 -05:00
Julian Lam
c9feb92539
refactor: simplify remote (un)follow controller
2024-01-23 12:11:35 -05:00
Julian Lam
5ac0276530
fix: reply expansion
2024-01-16 11:20:54 -05:00
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