Commit graph

578 commits

Author SHA1 Message Date
rimu
5fc07c6604 display image posts the same size as lemmy does 2024-03-17 03:22:05 +13:00
rimu
1cb31a0794 improve robustness of handling of 'sensitive' field 2024-03-17 02:55:59 +13:00
rimu
8be165d5eb check for mediaType in request_json['object']['source'] 2024-03-17 02:53:00 +13:00
rimu
884248987e make_image_sizes_async: fall back to parsing the http content type if the url does not contain a file extension 2024-03-17 02:32:17 +13:00
rimu
9291821835 only process post image if post url not banned 2024-03-17 02:22:33 +13:00
rimu
5fb05f3e2f only process post image if post url not banned 2024-03-17 02:21:16 +13:00
rimu
dc87bafaaa join topic bugfix 2024-03-17 02:17:47 +13:00
rimu
ff42ae3f1f still return HTTP 200 even if activity was not logged. Hopefully friendca will cope #103 2024-03-17 02:02:32 +13:00
rimu
eaca1ccfaf always log outgoing activities so that /activities/<type>/<id> works (used by friendica) #103 2024-03-17 01:59:15 +13:00
freamon
b57209bb23 Serve local image in posts 2024-03-16 00:16:47 +00:00
freamon
cbe5f0ca6b Match image size with image source for masonry view 2024-03-16 00:09:11 +00:00
freamon
37c9431b4e Borrow code from create_post for post_json_to_model 2024-03-15 23:47:21 +00:00
freamon
98d381d94d Amend last_active and post_count for newly-discovered remote communities 2024-03-15 22:51:27 +00:00
freamon
c5f0d5175a Add ActivityPub logging to outbox processing 2024-03-15 22:32:48 +00:00
rimu
0bab5d0eb2 oops #21 2024-03-16 09:44:37 +13:00
rimu
2f24e5bef2 ban people from community #21 2024-03-15 14:24:45 +13:00
rimu
e4e9c26a2d Merge pull request 'Admin Activities Page' (#99) from freamon/pyfedi:14 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/99
2024-03-14 23:38:21 +00:00
freamon
22fad8c1f1 Avoid crash on viewing unlogged ActivityPub JSON 2024-03-14 10:08:54 +00:00
freamon
16f84f28a6 Use setting to log JSON for outgoing activities 2024-03-14 09:40:50 +00:00
rimu
18e5301879 unblock instances 2024-03-14 22:22:24 +13:00
rimu
4fc715bb18 community owners can change settings and appoint moderators #21 2024-03-13 16:40:20 +13:00
rimu
8b4b0c2e7f only filter by instance when logged in 2024-03-13 11:17:04 +13:00
rimu
5ab1082551 hide community selection when editing post 2024-03-12 21:34:10 +13:00
rimu
49db71e05d opt out of search 2024-03-12 20:58:47 +13:00
rimu
5408c4b060 instance blocking 2024-03-12 20:06:24 +13:00
rimu
a20d706da3 rename cache route to avoid clash with caching mechanism 2024-03-12 19:33:26 +13:00
rimu
0f055f590d better image handling 2024-03-12 09:53:34 +13:00
rimu
4a1c4e2d08 blocking tables inside tabs in user settings #91 2024-03-11 21:17:18 +13:00
rimu
7c520c556c fix settings link 2024-03-11 20:18:27 +13:00
rimu
fecc67f589 changes to bring domain view and user settings design into line with the rest of the site #91 2024-03-11 20:14:12 +13:00
rra
43b5a76d99 Merge branch 'domains' of https://codeberg.org/rscmbbng/pyfedi into domains 2024-03-10 20:28:28 +01:00
rra
96ccc59dbf fix small issues in the template 2024-03-10 20:27:55 +01:00
rscmbbng
66bd1bb01a Merge branch 'main' into domains 2024-03-10 19:26:45 +00:00
rra
bfb3827d34 minor edits and cleanup of template 2024-03-10 20:19:32 +01:00
rra
b9f3e92acf redesign domains; add banned domains; add permission control 2024-03-10 20:17:53 +01:00
rra
0aee1cf6df basic route for banned domains 2024-03-10 20:17:16 +01:00
rra
742ff2f46e make tabs work responsive 2024-03-10 15:03:04 +01:00
rra
e2c2d9b503 rework settings ui, scaffold blocks managment 2024-03-10 00:25:06 +01:00
rimu
6408432da6 properly set create_id and announce_id in community outbox 2024-03-09 19:13:15 +13:00
rimu
3dff7ef2e7 invalid attachment activitypub 2024-03-09 18:19:03 +13:00
rimu
62292cb6d1 finish sub-topics fixes #44 2024-03-09 14:59:05 +13:00
rimu
bacc0c81be logging on post_json_to_model 2024-03-09 12:15:58 +13:00
rra
93155e40da sketching out a way to make domain bans & blocks visible to users 2024-03-08 11:44:59 +01:00
rra
aed1b0dd77 Merge remote-tracking branch 'upstream/main' 2024-03-08 11:40:29 +01:00
rra
8e2965ddd0 more vertical alignment 2024-03-08 11:20:46 +01:00
rimu
690bb34eff I know this looks weird but this is how flask_babel (string translation package) wants it done 2024-03-08 22:58:38 +13:00
rra
d9effe0310 merge upstream 2024-03-08 10:40:41 +01:00
rra
a10ed015f2 properly vertically align side cards 2024-03-08 10:34:17 +01:00
rimu
01423586b5 refactor remove_tracking_from_link to preserve the t parameter in youtube urls, without regex #34 2024-03-08 22:09:54 +13:00
rimu
6914a47206 remove tracking from links fixes #34 2024-03-08 22:01:46 +13:00