Commit graph

717 commits

Author SHA1 Message Date
rra
9fccd2d3b3 The system expects domains to start with http, validate for it 2024-03-26 17:29:08 +01:00
rra
c1961c41c3 fix crash when there are no topics 2024-03-26 17:16:51 +01:00
rra
6d2ddb92fa Merge remote-tracking branch 'upstream/main' 2024-03-26 16:12:37 +01:00
rimu
aed298118f filter reports by local or remote #21 2024-03-26 22:18:05 +13:00
rimu
22731c1d38 Add Blockquote to Each Selected Line - fixes #121 2024-03-25 21:46:31 +13:00
rimu
6762d9a87b Merge pull request 'Top-level Post Replies' (#120) from freamon/pyfedi:23c into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/120
2024-03-25 08:19:52 +00:00
rimu
48bc683a6a show users based on id 2024-03-25 21:15:27 +13:00
rimu
fb046f1acb properly resize image posts 2024-03-25 13:30:18 +13:00
rimu
e15d2a0581 don't accept new posts from banned communities 2024-03-25 13:30:09 +13:00
freamon
a0e974df11 Only send separate Note if community is remote or local community has no followers from post.author's instance 2024-03-24 16:38:20 +00:00
rimu
5c5c28a4a3 bug when editing post 2024-03-24 20:58:25 +13:00
rimu
c0f526d70f remove unused interests 2024-03-24 19:48:02 +13:00
rimu
39ed5d501b update documentation to avoid future migration issues fixes #113 2024-03-24 19:47:51 +13:00
rimu
a860ce45cd urllib3 version 2024-03-24 19:16:02 +13:00
freamon
403a04df7c Also send top-level post reply directly to post author 2024-03-24 04:13:51 +00:00
freamon
caedb3e84f Copy Lemmy for top-level post reply JSON 2024-03-24 03:20:45 +00:00
rimu
c5055cd09f detect friendica 2024-03-24 15:35:45 +13:00
freamon
f63472e6bf Add mention_tag() function to User class 2024-03-24 02:19:49 +00:00
freamon
e3b9e5f0f7 Add public_url() function for User and Community classes 2024-03-24 02:12:34 +00:00
freamon
4dbe485608 Add ap_public_url for New Local communities 2024-03-24 02:02:47 +00:00
freamon
4ae5b36459 Lowercase the ap_profile_id of New Local Users and New Local Communties
(to match behaviour for remote users and communities)
2024-03-24 01:53:18 +00:00
rimu
bb3798428e browse topics button 2024-03-24 13:44:31 +13:00
freamon
e8f7551e06 Avoiding crashes from adding remotes:
If remote community is missing
If remote community doesn't have a 'featured' url (e.g. KBIN)
If remote community returns empty/broken outbox (e.g. KBIN returns {}) with 200 OK
2024-03-24 00:15:10 +00:00
rimu
ad62df7c10 improve consistency of image post handling
when a link post is created and the link is to an image, create an image post instead
2024-03-24 12:00:16 +13:00
rimu
6d2b722f0e move urllib to top
this needs to already be present before flask is installed, so it is the correct version when boto3 is installed. phew
2024-03-24 10:17:23 +13:00
rra
c236fe999f Merge remote-tracking branch 'upstream/main' 2024-03-23 14:25:39 +01:00
rimu
1394d7baad update install docs 2024-03-23 21:23:38 +13:00
rimu
eb94db5fe9 add documentation about Cloudflare cache purging 2024-03-23 15:24:34 +13:00
rimu
9287a1cbf2 flush cdn cache when a file is deleted 2024-03-23 15:12:51 +13:00
rimu
c18679a0f5 show created and last active dates #116 2024-03-23 07:15:50 +13:00
rimu
c374f65a27 limit admin user editing power #116 2024-03-23 07:08:28 +13:00
rimu
2e2406c0d6 cloudflare cache flush wip 2024-03-23 06:52:55 +13:00
rra
4f7ee50d38 Merge remote-tracking branch 'upstream/main' 2024-03-22 15:41:56 +01:00
rimu
ab60bc753b correct Accept header 2024-03-22 20:49:35 +13:00
rimu
8a6f3fff61 Merge pull request 'Moderators' (#115) from freamon/pyfedi:21 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/115
2024-03-22 02:34:39 +00:00
rimu
ef43e78ae5 automatically block new user registrations based on referrer 2024-03-22 14:35:51 +13:00
freamon
75c3c0b49b mod_list in side-panel for show_post, add_reply, etc 2024-03-22 01:23:26 +00:00
freamon
4804c4c4b2 Avoid returning 'null' for manuallyApprovesFollowers 2024-03-21 23:26:03 +00:00
rimu
081108a7c6 block future shitpost floods 2024-03-22 12:22:19 +13:00
freamon
f7074d2edd Add/Remove moderators (incoming AP) 2024-03-21 23:21:28 +00:00
rimu
2cbaefd844 block shitpost flood 2024-03-22 10:50:17 +13:00
rra
1ff4b3262f Merge remote-tracking branch 'upstream/main' 2024-03-21 21:55:08 +01:00
rra
9b2d58971a add current page to community edit and community mods 2024-03-21 21:55:05 +01:00
rimu
43f0998391 When a post or postreply is created, record whether the author is a bot, for easier filtering #98 #114 2024-03-21 21:50:25 +13:00
rimu
40246fee1e Merge pull request 'Bot Accounts #98' (#114) from freamon/pyfedi:20 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/114
2024-03-21 08:37:27 +00:00
rimu
1a8c21670e ban people from community, and unban them - topics and search #21 2024-03-21 21:24:30 +13:00
rimu
9fd4ac1c53 ban people from community, and unban them #21 2024-03-21 21:19:50 +13:00
rimu
c562202588 tighten session cookie security 2024-03-21 11:07:11 +13:00
freamon
0966ce4346 Recognise 'service' type as bots 2024-03-20 11:34:25 +00:00
freamon
82a092eec8 Also prevent bot accounts from voting 2024-03-20 10:50:42 +00:00