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
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
f3c4e55223
parse Group actors produced by Discourse #111
2024-05-28 15:16:43 +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
7f2ed0b658
PeerTube: New posts from incoming activity
2024-05-26 15:53:17 +01:00
rimu
d1f7d35a83
users can remove profile pics (communities too)
2024-05-26 18:24:13 +12:00
freamon
4c1f5cad53
PeerTube: process incoming Update/Video activity
2024-05-26 02:00:05 +01:00
freamon
564323d650
PeerTube: process page 1 of outbox for 'Video' type
2024-05-26 01:37:14 +01:00
freamon
cb749b314b
PeerTube: Post content is soft-break markdown
2024-05-26 01:27:01 +01:00
freamon
3aeda06a7f
PeerTube: Community description is soft-break markdown in 'summary' field
2024-05-26 01:26:38 +01:00
freamon
e4bc3cb3d9
PeerTube: postingRestrictedToMods is optional (?) in Community
...
But should always be True for PF's perspective
2024-05-26 01:26:25 +01:00
freamon
fbe1433037
PeerTube: sensitive in Community is missing
2024-05-26 01:26:00 +01:00
freamon
272df4ff2a
PeerTube: attributedTo in Community is entry in an array
2024-05-26 01:25:40 +01:00
freamon
d839afb8b3
PeerTube: 'icon' and 'image' in Community are lists
2024-05-26 01:20:46 +01:00
freamon
5bb7af84cd
PeerTube: 'icon' is 'Video' post is list
2024-05-26 01:09:04 +01:00
freamon
ebeb5420ee
PeerTube: 'icon' is user accounts is list
2024-05-26 00:33:34 +01:00
freamon
91029d80d6
Indentation bugfix for changed icons and images
2024-05-25 14:04:05 +01:00
freamon
cd9da2abac
Use Instance.nodeinfo_href if available
2024-05-23 17:12:04 +01:00
rimu
dee81cca8f
Merge remote-tracking branch 'origin/main'
2024-05-23 15:26:05 +12:00
rimu
75f52fbd59
remove avg comment length experiment
2024-05-23 15:25:45 +12:00
freamon
0095d7a79b
Rename and rework refresh_instance_profile as now only called for newly-discovered instances
2024-05-23 00:14:07 +01:00
freamon
01fd3fa2ea
Process Site and Community bans where removeData=True
2024-05-22 22:30:51 +01:00
rimu
910ba06620
avoid attributeerror
2024-05-22 13:10:29 +12:00
rimu
28ef241bd3
update site admins during daily maintenance #188
2024-05-22 06:56:22 +12:00
rimu
f099380f72
fix attributeerror
2024-05-22 06:05:02 +12:00
rimu
709980c6f3
flag low effort commenters
2024-05-21 22:20:08 +12:00
rimu
0eba0e4b29
software name always lower case #188
2024-05-21 19:40:46 +12:00
rimu
6495169659
refresh instance stats during daily maintenance #188
2024-05-21 18:07:07 +12:00
rimu
0d9d4f12cb
poll - federation #181
2024-05-18 21:06:57 +12:00
rimu
f90d07f470
ignore Lemmy's superfluous hashtags
2024-05-18 15:08:42 +12:00
freamon
8d9b50d34b
autotldr bot handling: add check for post.body is None
2024-05-16 10:42:56 +01:00
rimu
d43e381b3e
block remote actors containing any word
2024-05-16 15:44:42 +12:00
rimu
a77c203abf
only update display name if available
2024-05-16 09:26:14 +12:00
rimu
a9d6777523
Merge remote-tracking branch 'origin/main'
2024-05-15 20:54:32 +12:00
rimu
e78266aa28
refresh display name when refreshing user profile
2024-05-15 20:54:07 +12:00
freamon
b0f6848312
Avoid invoking allowlist_html() twice
...
(markdown_to_html() already returns the output from that function)
(autotldr username html isn't passed to allowlist_list to avoid getting a target=_blank attribute)
2024-05-14 20:38:16 +01:00