Commit graph

467 commits

Author SHA1 Message Date
rimu
c9fa9a9748 sometimes urls are not decoded properly 2024-06-14 16:39:59 +08:00
freamon
537dd41740 Lemmy can send Announce/Update without ever sending an Announce/Create 2024-06-13 19:09:34 +01:00
freamon
95f6475792 Lemmy v0.19.4 has changed to nodeinfo v2.1 2024-06-13 16:59:48 +01:00
freamon
45340858a8 Bugfix for Announce: same check for Update/Note as Create/Note 2024-06-12 19:45:24 +01:00
freamon
d67a2bda2b Also ignore Lemmy's community slug as a hashtag for post updates 2024-06-07 23:22:01 +01:00
rimu
148183f530 to be sure 2024-06-06 13:35:28 +12:00
rimu
ef3393459b don't attempt to remove content from accounts that are already deleted / banned 2024-06-06 13:31:53 +12:00
rimu
99633772ec Merge remote-tracking branch 'origin/main' 2024-06-06 13:12:16 +12:00
rimu
fbfcae8d39 better logging of which url was being POSTed to #175 2024-06-06 13:11:50 +12:00
freamon
e64ae00a44 Undo some lower() calls 2024-06-06 00:09:17 +01:00
freamon
e0f43e9d96 Also remove markdown for retrieved comments (same behaviour as posts) 2024-06-05 23:28:40 +01:00
freamon
7db33a084a Share functionality between post_to_activity and post_to_page 2024-06-05 22:45:35 +01:00
freamon
6dc7ac9728 public_url() in JSONs for Accept or Reject of community Follow request 2024-06-05 19:26:03 +01:00
rimu
92788416e8 typo #175 2024-06-05 20:37:56 +12:00
rimu
f859dd8c1f replies collection on outbox and /post/xxx #175 2024-06-05 20:33:23 +12:00
rimu
e4ea5de665 refresh profile using public_url #194 2024-06-05 14:22:04 +12:00
rimu
32fcbccf31 icons as string 2024-06-05 14:17:04 +12:00
rimu
727f089044 more straight-forward way #194 2024-06-05 13:33:58 +12:00
rimu
3203ac5506 oh boy, this sucks #194 2024-06-05 13:21:41 +12:00
rimu
c902f28137 good point, andrew #194 2024-06-04 10:20:54 +12:00
rimu
f44a8dfedd good point, andrew #194 2024-06-04 10:01:06 +12:00
rimu
0bde39b8a3 profile_id or user_name.lower() everywhere #194 2024-06-04 09:49:54 +12:00
rimu
cf3dec5768 profile_id or user_name.lower() everywhere #194 2024-06-04 09:44:10 +12:00
freamon
9c05c3d02b Remove actor from Page or else it's rejected completely 2024-06-03 15:47:54 +01:00
rimu
7ab91b7dc5 add actor (author?) to Page 2024-06-03 12:09:10 +12:00
rimu
2380a3ae61 soft deletes and deleted content admin area #193 2024-06-02 16:45:21 +12:00
rimu
0a1ea7d0e3 only json serializable objects can be passed to celery tasks (not SQLAlchemy models) #181 2024-06-01 19:52:17 +12:00
freamon
d53d5b1a8d Bugfix: function import 2024-05-31 22:31:35 +01:00
freamon
06edc710d9 Process incoming poll votes 2024-05-31 22:31:11 +01:00
freamon
41804394d6 Function to inform followers that a post has been updated (only used for Polls for now) 2024-05-31 22:30:51 +01:00
freamon
7cfe89a92e post_to_page: add Poll post type 2024-05-31 22:30:05 +01:00
freamon
e6b3a5bd7c post_to_page: remove old post.language overwrite (bugfix) 2024-05-31 22:29:49 +01:00
freamon
c5596e2f08 post_to_page: use post.community instead of also passing community 2024-05-31 22:29:13 +01:00
rimu
c91131424d Merge remote-tracking branch 'origin/main' 2024-05-29 15:19:48 +12:00
rimu
57550f02b9 post.body needs to have something in it because that field is used for the search index 2024-05-29 15:19:32 +12:00
freamon
ce1d01de09 Retrieve remote post from Search (no pre-supplied community required) 2024-05-28 22:28:03 +01:00
freamon
788cad653b Clobber PeerTube communitites to restrict posting to mods irrespective of what JSON says 2024-05-28 20:44:06 +01:00
freamon
3219a55d98 Same default for initial fetch and refresh if 'postingRestrictedToMods' is missing from community json 2024-05-28 20:18:12 +01:00
rimu
cf13ee0033 minor tweaks 2024-05-28 15:40:09 +12:00
rimu
a299ed8efd fix up merge conflicts 2024-05-28 15:23:44 +12:00
rimu
e8d7aec516 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/activitypub/util.py
2024-05-28 15:22:15 +12:00
rimu
1c2be79dab Discourse follow community #111 2024-05-28 15:16:43 +12:00
rimu
f3c4e55223 parse Group actors produced by Discourse #111 2024-05-28 15:16:43 +12:00
rimu
53b64942c9 verify signatures produced by Discourse #111 2024-05-28 15:16:42 +12:00
freamon
2bfe5831b9 Allow users to retrieve posts from remote communities 2024-05-27 23:51:14 +01:00
freamon
8da2b68ab1 Use create_post instead of post_json_to_model for retrieved posts 2024-05-27 22:51:49 +01:00
freamon
6df2575238 'MediaType' not always present in microblog-type posts 2024-05-27 19:26:33 +01:00
freamon
1771c5205a Merge branch 'peertube3' 2024-05-26 17:25:20 +01:00
freamon
3cd74ccc3b PeerTube: easier to just ignore anything from a accounts/peertube actor 2024-05-26 17:22:52 +01:00
freamon
7f2ed0b658 PeerTube: New posts from incoming activity 2024-05-26 15:53:17 +01:00