Commit graph

282 commits

Author SHA1 Message Date
freamon
20f17000f5 apf part 05: ignore self-deletes from users that do not exist here 2024-11-18 17:28:41 +00:00
freamon
e57ca1428e apf part 04: ignore unutilised PeerTube activity 2024-11-18 17:18:09 +00:00
freamon
97af03d3cf apf part 03: reject unneccessary retries 2024-11-18 17:16:46 +00:00
freamon
cddd102a3d apf part 02: reject bad JSONs 2024-11-18 16:53:32 +00:00
freamon
fe7791bf4d apf part 01: add log_incoming_ap function 2024-11-18 15:56:47 +00:00
rimu
24508a350c support activitypub discovery using Link header and HEAD requests 2024-11-18 10:09:57 +13:00
rimu
434cf9f922 support activitypub discovery using Link header
see https://swicg.github.io/activitypub-html-discovery/#http-link-header
2024-11-18 10:04:58 +13:00
freamon
aa754cbd45 Use community linked to_delete or to_restore instead of one mentioned in request JSON 2024-10-30 15:27:18 +00:00
freamon
1611875936 Move cross-post logic out of routes and into util for delete/restore 2024-10-30 15:26:58 +00:00
freamon
e2d3f6d23d Exclude blocked instances from linked instances in federated_instances response 2024-10-29 10:34:19 +00:00
freamon
502e6ff0f6 post soft-deletion: add options to restore or purge deleted posts 2024-10-26 03:55:56 +00:00
freamon
899bf834cd post soft-deletion: delay calling delete_dependencies until a post is purged, to allow for restoration 2024-10-26 03:55:21 +00:00
rimu
401df0cc58 nodeinfo - open registrations 2024-10-23 16:08:24 +13:00
freamon
af3bc4f0dd post-reply soft-deletion: activitypub restorations 2024-10-21 22:20:33 +00:00
freamon
1a0ad888db post-reply soft-deletion: remote users in local communities 2024-10-21 22:20:20 +00:00
freamon
3196c2cb79 post-reply soft-deletion: activitypub fixes 2024-10-19 21:19:35 +00:00
rimu
def1c5fbfc debugging tweaks 2024-09-30 15:46:50 +13:00
freamon
6413490cc3 Revert earlier decision to only send out HTML (pls see app/utils.py line 327) 2024-09-22 13:45:03 +00:00
freamon
5e2ec8f9d9 Remove last remaining uses of lemmy_markdown_to_html
Everything is now piped through allowlist (except spoiler MD as Lemmy doesn't convert the MD in the contents)
2024-09-21 22:13:52 +00:00
rimu
700b1c98de better instance failure detection 2024-09-21 10:15:25 +12:00
rimu
740c42daea refactor voting code to enable api development #13 2024-09-13 16:39:42 +12:00
rimu
51f2b3e40e track user statistics like post count 2024-09-13 11:08:04 +12:00
rimu
33cd7ebdaf bio for anon voting alt 2024-09-10 10:34:31 +12:00
rimu
d70d5c2878 post teaser redesign #148 2024-09-05 20:10:26 +12:00
Alan Roberts
69ad6295a6 Adding application endpoint pointer to nodeinfo response 2024-09-04 16:30:01 -04:00
freamon
5ecb66988b Possible fix for random posts from 'snac' users not being properly rejected and ending up in a community 2024-09-04 13:33:39 +00:00
freamon
a0fe7a58a7 Process ActivityPub post locks and unlocks 2024-09-01 22:46:43 +00:00
freamon
1af76320b7 Also use public_url() for User Follower activity 2024-09-01 17:49:46 +01:00
freamon
ab0a1816b3 ActivityPub - process ban reversals for local users from remote mods & admins 2024-08-23 14:05:42 +00:00
freamon
79ab687b5b ActivityPub - Bans for local users from remote mods & admins
(Also works if alt_user_name is provided)
2024-08-23 08:47:19 +00:00
freamon
0d8058229c Remove a couple of unnecessary db.session calls 2024-08-19 23:50:53 +00:00
freamon
43e2d59025 Don't overwrite activity_log.result from value set in undo_vote() 2024-08-19 23:49:24 +00:00
rimu
336a47fdd2 random published date to avoid cake day associations 2024-08-20 09:08:45 +12:00
rimu
d718c2937b random published date to avoid cake day associations 2024-08-20 08:55:05 +12:00
rimu
2f15fd5aea alt user names 2024-08-20 07:03:18 +12:00
rimu
9ec7f969be dark mode flickering #298 2024-08-18 16:38:55 +12:00
rimu
3f190140bc bugfix 2024-08-17 11:08:09 +12:00
rimu
d0cc79f8ad accept mastodon replies 2024-08-17 10:26:33 +12:00
freamon
474ff8c194 Initial work for posts that have been removed and then restored #276 2024-08-16 15:07:40 +00:00
freamon
5211c64c2a Return 400 Bad Request for signature verification errors 2024-08-15 13:10:37 +00:00
freamon
f247c280e9 Remove unnecessary if/else clause
function only returns True or raises an Exception for an error
2024-08-15 11:16:57 +00:00
rimu
058cef2871 MBin sends Create activities even for remote communities #290
Lemmy uses Announce -> Create for communities hosted on their instance and only uses Create when posting to a community on our instance. Mbin uses Create all the time.
2024-08-10 18:43:16 +12:00
rimu
d25232b128 treat EmojiReact activities as Likes 2024-08-08 18:25:22 +12:00
rimu
21b59f8ff7 Mastodon - post_reply.post bug #21 2024-07-17 09:34:42 +08:00
rimu
3643526706 admins can set permissions for staff role #21 2024-07-16 21:29:06 +08:00
rimu
1ea3c925ea accept Posts and Comments from a.gup.pe #31 2024-07-15 20:46:48 +08:00
rimu
85cc1595fd accept Activity from a.gup.pe #31 2024-07-15 17:51:23 +08:00
rimu
3647e2796d mod log #21 2024-07-07 15:01:52 +08:00
rimu
d9d69c0b8a caching on home page and posts, especially for anonymous users
the home page and post pages are the most likely to get slashdotted by mastodon.
2024-06-30 15:29:52 +08:00
rimu
eef9b193f4 oops, lol 2024-06-28 13:41:04 +08:00