Commit Graph

256 Commits

Author SHA1 Message Date
Julian Lam
2d7ca48d42 fix: rename api.activitypub.create.post to .note() 2024-05-10 14:32:00 -04:00
Julian Lam
eda97da14a fix: unnecessary parseInt in post purge api method 2024-05-10 11:28:12 -04:00
Julian Lam
ccd187e000 feat: Note deletion logic and refactoring, #12551 2024-05-09 15:49:03 -04:00
Julian Lam
6f9fa66006 fix: Update(Note) federation should only apply to local content 2024-05-07 12:43:27 -04:00
Julian Lam
96db519b79 feat: on post delete, federate out an Update(Tombstone) 2024-05-07 12:37:57 -04:00
Julian Lam
51089a347a fix: attach announcers and their followers to cc, not to targets, only attach announcers to targets 2024-05-07 12:34:07 -04:00
Julian Lam
807c3eac12 feat: on post edit, also target anyone who announced the post and their followers
re: #12537
2024-05-06 15:14:32 -04:00
Julian Lam
5e776088c9 chore: lint 2024-04-26 10:45:53 -04:00
Barış Soner Uşaklı
91c3434fda Merge branch 'develop' into activitypub 2024-04-25 11:16:42 -04:00
Barış Soner Uşaklı
985663faae feat: closes #12491, add unban & unmute history
to account/info page
2024-04-23 11:16:04 -04:00
Opliko
ab055a77a2 feat: add id to Like
part of #12483
2024-04-22 11:40:31 +02: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
Barış Soner Uşaklı
d599493057 Merge branch 'master' into develop 2024-04-15 12:13:20 -04:00
Opliko
c1dfa8d2fe feat: send undo when rescinding/deleting a report 2024-04-14 01:52:07 +02: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
Barış Soner Uşaklı
5bee324c6a fix: add canView check to /api/v3/users/:uid 2024-04-12 16:25:24 -04:00
Opliko
4d07ca4c6a feat: add id to profile updates 2024-04-12 16:43:33 +02:00
Barış Soner Uşaklı
3042cf02d1 Merge branch 'master' into develop 2024-04-11 16:46:01 -04:00
Barış Soner Uşaklı
afe597a275 feat: #12495, add unblock button to users on /blocks 2024-04-11 16:18:42 -04:00
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