freamon
a0fe7a58a7
Process ActivityPub post locks and unlocks
2024-09-01 22:46:43 +00:00
freamon
38b944c323
Read alt text if provided for incoming image posts #102
2024-09-01 20:08:33 +01:00
freamon
d255f676c8
Use 'Image' type in attachment for image posts so alt-text is in same place as Lemmy #102
2024-09-01 19:14:05 +01:00
freamon
1af76320b7
Also use public_url() for User Follower activity
2024-09-01 17:49:46 +01:00
rimu
11ce66443e
display error message when joining is denied due to allowlist
2024-08-30 17:25:37 +12:00
rimu
b3e2cab577
don't add paragraph tags around replies
2024-08-29 10:37:00 +12:00
rimu
51b79df591
don't add paragraph tags around replies
2024-08-29 10:31:55 +12:00
rimu
da66219ab8
Merge remote-tracking branch 'origin/main'
2024-08-28 19:16:05 +12:00
rimu
a473e9c55c
experimenting with LD Signatures
2024-08-27 19:37:47 +12:00
freamon
2069ca517e
Start using Lemmy's HTML 'content' field through an allowlist instead of translating Markdown
2024-08-25 15:58:38 +00: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
rimu
6cf546facb
only run 4chan filter in low quality communities
2024-08-23 12:28:10 +12:00
freamon
7fd83c4a11
Remove remote subscribers to a local community if remote instance states that there is none
2024-08-21 18:34:21 +00:00
freamon
12f488bfc1
Ignore it when flaky instances provide a HTML instead of JSON response
2024-08-21 15:27:47 +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
freamon
87d932c655
Return local user via their Alt in find_actor_or_create
...
(just so activities log shows when Lemmy is Announcing back local content)
2024-08-19 23:44:58 +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
Hendrik L
11a4f1b101
Make notifications open comments below THREAD_CUTOFF_DEPTH
2024-08-19 10:32:54 +02:00
rimu
9ec7f969be
dark mode flickering #298
2024-08-18 16:38:55 +12:00
rimu
3cc220d1a2
improve robustness of nodeinfo parsing
2024-08-18 13:12:58 +12:00
rimu
3f190140bc
bugfix
2024-08-17 11:08:09 +12:00
rimu
41cadc1f72
only refresh community and user profiles of online instances
2024-08-17 10:31:22 +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
9611a27749
only prepend [Microblog] when autogenerated title is too short. fixes #266
2024-08-08 19:04:50 +12:00
rimu
d25232b128
treat EmojiReact activities as Likes
2024-08-08 18:25:22 +12:00
rimu
024e1f37fb
stop pages.dev spam
2024-08-04 17:07:08 +12:00
rimu
1a4b2810d6
add paragraph tags where necessary #265
2024-07-20 13:39:24 +08:00
rimu
55e4289a6e
Mastodon - language #21
2024-07-17 16:12:39 +08: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
070e5726ef
Mastodon - spans with class "invisible" #31
2024-07-16 09:36:31 +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
8f5af6f14d
Lemmy failed to retrieve the image but we might have better luck
2024-07-13 22:12:43 +08:00
rimu
3647e2796d
mod log #21
2024-07-07 15:01:52 +08:00
rimu
47dd776ca6
bigger thumbnail files to match bigger display size #241
2024-07-01 20:44:08 +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
rimu
c652b45627
no need to resize SVG images
2024-06-28 13:09:31 +08:00
rimu
9f5bae4ef4
if there is no attributedTo, fall back to the actor on the parent object
2024-06-28 13:03:07 +08:00
rimu
de20f73b0d
small tweak
2024-06-28 12:52:54 +08:00
rimu
e333193cbc
possible causes of celery hangs
2024-06-28 12:30:19 +08:00
freamon
2f6e60ac40
Check if object already exists for Create activity too #216
2024-06-25 17:23:10 +01:00
freamon
f06a299f56
Community Bans can also come from site admins
2024-06-25 17:11:54 +01:00
rimu
a499440374
Don't log successful json - save space
2024-06-23 20:34:53 +08:00
rimu
50bde3ebaf
try to avoid occasional deadlocks
2024-06-23 15:59:46 +08:00
rimu
76ca9aa8f4
improve thumbnail generation reliability
2024-06-22 16:14:56 +08:00
rimu
352e91d5aa
oops
2024-06-22 15:42:48 +08:00
rimu
115247f422
improve thumbnail generation reliability
2024-06-22 14:18:26 +08:00
freamon
daac5a52c7
Refine local community outbox response
2024-06-20 04:38:51 +01:00
freamon
c69def130a
Lemmy can send Announce/Update without ever sending an Announce/Create #212
...
(non-breaking version)
2024-06-19 01:19:26 +01:00
rimu
cce25e7a54
flipboard integration - magazines are groups
2024-06-19 03:28:39 +08:00
rimu
5888034a2f
Merge remote-tracking branch 'origin/main'
2024-06-19 03:27:37 +08:00
rimu
74dd6ba3ed
flipboard integration - magazines are groups
2024-06-19 03:27:21 +08:00
freamon
e6c65bd393
Only decrement post.reply_count for deletions if reply author wasn't a bot
2024-06-18 16:42:24 +01:00
rimu
786a24432b
Merge remote-tracking branch 'origin/main'
2024-06-18 20:13:03 +08:00
rimu
be58f833ef
prefer mime type to avoid having to parse messy urls
2024-06-18 20:12:20 +08:00
freamon
63a8ba3960
Avoid announcing activity sent to local users unless it is also in a local community
2024-06-17 19:06:07 +01:00
rimu
b61f467049
disable problematic federation code #201
2024-06-14 21:33:20 +08:00
rimu
4b3844bbae
let admin change site logo through UI #197
2024-06-14 18:03:47 +08:00
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
rimu
d1f7d35a83
users can remove profile pics (communities too)
2024-05-26 18:24:13 +12:00
freamon
21afa9a6aa
PeerTube: ignore incoming 'CacheFile' activity
2024-05-26 02:24:11 +01:00
freamon
97d1ba0fbb
PeerTube: ignore incoming 'View' activity
2024-05-26 02:19:24 +01:00
freamon
4c1f5cad53
PeerTube: process incoming Update/Video activity
2024-05-26 02:00:05 +01:00
freamon
2abadb183f
PeerTube: 'Follow' requests are acknowledged with a 204 status code
2024-05-26 01:37:51 +01:00
freamon
e83b929a73
PeerTube: 'Accept' sent to user inbox, not shared inbox
2024-05-26 01:37:34 +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
freamon
b0b1bf68c8
Pass requests to site_inbox on
...
(used by remote admins to inform of site bans)
2024-05-22 17:04:05 +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
b911967168
empty uri
2024-05-22 06:29:28 +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
rimu
0eadceda63
handle pixelfed follow requests
2024-05-17 21:03:38 +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
freamon
c77a6de126
Render Markdown soft breaks as new lines for new local content #133
2024-05-14 19:33:08 +01:00
freamon
dc2431fdd1
Only use HTML in Page JSON (for fetched, stickied, or old posts)
2024-05-14 16:27:24 +01:00
freamon
37b06ef43f
Deliver Actor 'summary' info as HTML
...
(same as Mastodon and Lemmy)
2024-05-14 16:24:05 +01:00
rimu
ec7f38f0cb
simplify conditions #183
2024-05-14 22:04:52 +12:00
freamon
e16112e117
Move contents from new AutoTL;DR bot comments into post body instead #183
2024-05-12 12:14:12 +01:00
rimu
ade07d2658
stop instances from being flagged as 'gone forever' if they're still sending activities
2024-05-12 16:08:20 +12:00
rimu
3c5a86f6e6
hashtag UI #184
2024-05-12 13:02:45 +12:00
rimu
9c7b5a8398
Merge remote-tracking branch 'origin/main'
2024-05-11 13:45:18 +12:00
rimu
c869c47e9f
save incoming hashtags during federation #184
2024-05-11 13:45:04 +12:00
rimu
c498146917
nodebb has no followers attribute
2024-05-11 10:50:22 +12:00
freamon
a55420ea50
Remove old post.language handling for community outbox posts
2024-05-10 23:06:58 +01:00
freamon
948a2bf2f7
Support PixelFed's attachment format
...
(for the first image, anyway)
2024-05-10 15:58:21 +01:00
freamon
35f41cde73
Extra blank line for PEP 8
2024-05-10 09:14:33 +01:00
rimu
af4dee7ea3
add language choices to UI #51
2024-05-09 17:54:30 +12:00
rimu
3bc30ec99c
let admin override language for remote communities #51
2024-05-08 21:07:22 +12:00
rimu
2d321134e6
when someone is blocked, remove them from followers collection #172
2024-05-08 19:28:49 +12:00
rimu
3125d7aa67
improve UI responsiveness when voting by federating vote in background
2024-05-06 19:49:51 +12:00
freamon
dff8d5c5bc
Fix: don't check signature twice for Likes from User Follows
2024-05-04 23:22:47 +01:00
freamon
b6237e5eac
Fix: only write local user's follower URL once
2024-05-04 22:44:51 +01:00
freamon
81af3ebcb5
Use signed Get request for remote actors trying to Follow local ones
2024-05-04 22:32:17 +01:00
freamon
cfef490143
Add instance actor
2024-05-04 21:26:39 +01:00
freamon
c82581462d
Move default_context()
...
(avoid circular dependency for next commits)
2024-05-04 21:16:55 +01:00
rimu
ec88d84775
add celery decorator to task functions #172
2024-05-03 06:27:25 +12:00
freamon
c7f2a168fe
Send (undo)Like from Remote User follower to shared inbox
2024-04-30 13:15:57 +01:00
freamon
e7ebce679a
Respond to /u/actor/followers URL
2024-04-30 13:14:51 +01:00
freamon
b374e3031b
Add msg to ap log if local user not found
2024-04-30 13:14:24 +01:00
freamon
15507efd73
Only accept Undo/Follow if original Follow was accepted
2024-04-30 13:13:56 +01:00
freamon
d2a99e08b4
Process Undo/Follow requests from remote actors to local actors
2024-04-30 13:13:29 +01:00
freamon
f7cfd1f92b
Accept Follow requests from remote actors to local actors
2024-04-30 13:12:53 +01:00
rimu
7805563b0f
lowercase ap_id on communities
2024-04-30 21:11:57 +12:00
rimu
dc89405d05
debug #20
2024-04-30 11:33:43 +12:00
rimu
01d4b2678c
anyone can subscribe to any post or comment #20
...
(not just the author)
2024-04-29 21:43:37 +12:00
rimu
e1204bc267
topic notifications #20
2024-04-29 16:03:00 +12:00
rimu
37b95f03b9
oops missed one #170
2024-04-28 16:49:49 +12:00
freamon
3cddfd86e8
Ensure domains of 'id' and 'actor'/'attributedTo' match
2024-04-26 13:35:16 +01:00
rimu
0f020a6372
make ap_id always lower case
2024-04-23 21:28:58 +12:00
rimu
708edd51b6
refactor community subscription to use new subscription system #20
2024-04-22 20:53:03 +12:00
rimu
95172af37c
include languages in api/v3/site
2024-04-22 20:10:13 +12:00
rimu
34d09acc92
surprise feature for those who comment "this"
2024-04-22 15:25:37 +12:00
freamon
8275f75a28
Ignore remote Creates to local_only communities
2024-04-20 13:03:39 +01:00
freamon
cd0419a93a
Reject remote Follows to local_only communities
2024-04-20 13:02:43 +01:00
rimu
6ce5e7208c
a way for senders to see the result of their POST to our inbox
...
for debugging
2024-04-20 20:46:51 +12:00
rimu
35efd7725c
Tesseract errors take many forms - just capture them all in one go
2024-04-20 20:17:58 +12:00
rimu
d4141bb044
if the remote instance does not respond to an attempt to refresh a user profile it is probably temporarily overwhelmed
...
we just received an activity from them so it doesn't make sense to flag the instance as dormant, here.
2024-04-20 17:33:04 +12:00
rimu
2c1efdeb68
fall back to ap_profile_id
2024-04-20 17:16:17 +12:00
rimu
8396cf5e60
TimeoutError when using pytesseract
2024-04-20 17:01:36 +12:00
rimu
697d424bdf
handle invalid video files more gracefully
2024-04-20 16:47:27 +12:00
rimu
7decc51f9a
only set post language if post exists
2024-04-20 16:34:54 +12:00
rimu
c8b81162f1
remove obsolete flush_cache() calls
2024-04-20 16:26:33 +12:00
rimu
c121ed6784
Bot comments shouldn't add to comment count fixes #150
2024-04-19 21:17:21 +12:00
rimu
fae5d70aab
notification subscription - user notif #20
2024-04-19 20:13:02 +12:00
rimu
d9422411ea
typo
2024-04-19 20:05:27 +12:00
rimu
1d8a717d6f
Merge pull request 'Local Community Federation' ( #162 ) from freamon/pyfedi:17_lcf into main
...
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/162
2024-04-18 19:37:16 +00:00
rimu
035f0f2ea9
api/v3/site - date format
2024-04-18 14:23:01 +12:00
rimu
237fd3c408
api/v3/site - correct admin name
2024-04-18 14:17:27 +12:00
rimu
a4991090fd
update existing community language
2024-04-18 13:57:33 +12:00
freamon
aae9ac88ad
Announce actions by remote actors in local communities
2024-04-17 15:18:59 +01:00
freamon
79239b7273
Add Undo of Post Vote to federation
2024-04-17 15:18:28 +01:00
rimu
39946fcc2a
Merge pull request 'Ignore Page/Announce, and some little fixes' ( #158 ) from freamon/pyfedi:15 into main
...
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/158
2024-04-16 10:20:52 +00:00
rimu
8be961bea8
save language of posts and communities
2024-04-16 21:49:05 +12:00
rimu
516eafa1f3
video as a entirely separate post type
2024-04-16 20:59:58 +12:00
rimu
abd4dd16c9
embed video and generate still thumbnail
2024-04-16 16:35:12 +12:00
freamon
96528ada90
Ignore Announces intended for Mastodon
2024-04-15 22:06:50 +01:00
rimu
e5bfd1b4c9
better chat notification link
2024-04-15 19:03:59 +12:00
rimu
b193f71527
make spicyness of hot algo configurable through .env
2024-04-15 12:08:04 +12:00
rimu
75c3f7c8be
hot sort - more spicy pls (experiment)
2024-04-14 07:59:24 +12:00
rimu
2729539d8c
only attach image to post if post was successfully created
2024-04-09 19:27:42 +12:00
rimu
15c628903d
avoid AttributeError when instance inbox is not populated
2024-04-09 19:23:19 +12:00
rimu
12e6e55cb4
avoid "list.remove(x): x not in list"
2024-04-09 19:16:11 +12:00
rimu
cfce14b9f3
images > 2000px tend to be real photos instead of 4chan screenshots
2024-04-09 12:29:48 +12:00
rimu
9840f7bc53
avoid invalid image json in Actors
2024-04-09 10:29:55 +12:00
rimu
5c3fb82ebb
speed up redis-based dup detection by avoiding touching the DB in before_request() #135
2024-04-09 08:14:25 +12:00
freamon
dd0646f1aa
Remove @context from inner Announce object before sending out
2024-04-06 22:42:25 +01:00
rimu
66d05ea860
receive federated reports from remote instances #21
2024-04-06 16:29:47 +13:00
rimu
6264a07c49
track recent activities using redis instead of db
2024-04-04 21:38:26 +13:00
rimu
958c8f226f
track recent activities using redis instead of db
2024-04-04 21:36:03 +13:00
rimu
1e38fcf9b3
api/v1/instance endpoint, for fedidb
2024-04-03 16:35:26 +13:00
rimu
329ad0093e
minor tweaks #144
2024-04-03 07:44:59 +13:00
freamon
d9dc0d2960
Fixup cross posts if post is removed
2024-04-02 18:45:21 +01:00
freamon
d0b146ec0f
Find cross-posts for new or updated posts
2024-04-02 18:45:04 +01:00
rimu
483df457c4
resolve merge conflicts #143
2024-04-02 12:38:59 +13:00
freamon
3cdf9b0225
update_post_from_activity: use additions from create_post, and respond to changed URL
2024-04-01 23:44:58 +01:00
rimu
40c33672b1
improve nsfl detection
2024-04-01 10:12:31 +13:00
rimu
50d1672a3a
reverse earlier bad decision
2024-03-29 16:22:06 +13:00
rimu
e78dd304be
record last activity in a conversation
2024-03-28 09:24:13 +13:00
rimu
bf1393a0f2
case of user names
2024-03-27 22:55:31 +13:00
rimu
d076fea654
cope with user names with upper case letters
2024-03-27 16:34:15 +13:00
rimu
5632f9b78f
minor merge fixups #124
2024-03-27 16:15:29 +13:00
rimu
3e76bd2775
minor merge fixups #124
2024-03-27 16:08:25 +13:00
rimu
bf11490011
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# app/activitypub/routes.py
# app/activitypub/util.py
2024-03-27 16:07:21 +13:00
rimu
50db96fb6c
remove broken html_to_markdown function
2024-03-27 16:02:04 +13:00
freamon
484d165f47
Initial support for incoming Microblog posts
2024-03-26 22:46:15 +00:00
freamon
1b1b126bf9
Rework finding community from Create JSON
2024-03-26 15:03:45 +00:00
freamon
5fd59849b7
Merge remote-tracking branch 'upstream/main' into 25
2024-03-25 11:04:12 +00:00