Commit graph

2096 commits

Author SHA1 Message Date
freamon
3e3aca1910 move check for incoming Mentions into post.new() 2025-01-18 00:59:26 +00:00
freamon
1df4cde0d8 API: fixes for post create / edit with the app 2025-01-18 00:35:20 +00:00
freamon
b4aa566dba Also increment subscriptions_count for remote users joining local communities #424 2025-01-17 23:22:32 +00:00
freamon
ec232d9a17 Catch UnidentifiedImageError if non-image uploaded 2025-01-17 22:48:07 +00:00
freamon
6df39c02f3 outgoing federation: improve inter-op with microblog apps for posts 2025-01-17 22:23:08 +00:00
freamon
33dcbd45b0 outgoing federation: remove tags from Create / Update level 2025-01-17 19:59:45 +00:00
freamon
022d1d67dc mentions in post bodies - inbound federation 2025-01-17 18:54:44 +00:00
freamon
6a4e89149f mentions in post bodies - recognise @user@instance syntax in UI 2025-01-17 18:54:32 +00:00
freamon
6ee41578d6 mentions in post bodies - use shared code for outbound federation / notification 2025-01-17 18:54:14 +00:00
freamon
19771a5ea4 API: merge up make_post and edit_post 2025-01-17 18:54:00 +00:00
freamon
989afa0344 fixes for outgoing federation of comments 2025-01-17 18:53:39 +00:00
freamon
f9c9991370 bugfix for blocked phrases 2025-01-17 18:53:23 +00:00
freamon
e85a0ddd9a Keep post.cross_posts at null instead of empty array if they don't have any 2025-01-17 18:53:06 +00:00
freamon
d64dde5468 API: initial support for post edits (polls and uploaded images not supported yet) 2025-01-17 18:52:51 +00:00
freamon
0cab646195 API: initial support for new posts (polls and uploaded images not supported yet) 2025-01-17 18:52:39 +00:00
rimu
22b8ed6782 Merge pull request 'Show number of cast votes in user profile and rearrange the statistics' (#409) from h3ndrik/pyfedi:user_num_votes into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/409
2025-01-17 04:33:14 +00:00
rimu
d0a3a3c5a2 remove hx-boost from admin tabs #423
it breaks the dropdown menu
2025-01-17 17:28:57 +13:00
rimu
5feb66807d hx-boost on admin tabs #423 2025-01-17 17:19:49 +13:00
rimu
e06afb874f Merge pull request 'UI Updates for Admin Home, Round Two' (#423) from JollyDevelopment/pyfedi:jollydev/admin-tabbed-ui-00 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/423
2025-01-17 04:10:39 +00:00
rimu
cee5c727fd inline commenting - auto scroll to keep new form on screen 2025-01-17 16:22:59 +13:00
rimu
0349128be1 inline commenting - explanatory comments 2025-01-17 16:05:24 +13:00
rimu
d8c4826ff6 inline commenting - explanatory comments 2025-01-17 16:02:47 +13:00
rimu
fada29b70e inline commenting 2025-01-17 15:50:37 +13:00
Hendrik L
89714608ad show number of cast votes in user profile 2025-01-16 11:05:05 +01:00
rimu
468a083dfa avoid security issue of unvalidated redirections #421
https://owasp.org/www-project-web-security-testing-guide/v41/4-Web_Application_Security_Testing/11-Client_Side_Testing/04-Testing_for_Client_Side_URL_Redirect
2025-01-16 16:58:15 +13:00
rimu
192b6470f7 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/templates/base.html
2025-01-16 16:39:16 +13:00
rimu
da29475224 Merge pull request 'Add user note edit button to the user preview hover' (#421) from h3ndrik/pyfedi:user-preview-redirect2 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/421
2025-01-16 03:38:17 +00:00
rimu
0f0e0b40b6 fix alignment of edited date on posts 2025-01-16 16:17:55 +13:00
JollyDevelopment
675020a22a adding divs around the activities table so it wont over flow the page 2025-01-14 08:56:03 -05:00
JollyDevelopment
929aaaee1d site tab name change 2025-01-14 08:56:03 -05:00
JollyDevelopment
a3c601ee06 Admin Home Tabbed, with view-transitions 2025-01-14 08:56:03 -05:00
JollyDevelopment
7fd3d7ab69 Revert "view-transition testing for post teaser to full post"
This reverts commit 538960ea9b7d843a35f6a2d2e2e03d2f5394216c.
2025-01-14 08:54:44 -05:00
JollyDevelopment
17eb4953d8 view-transition testing for post teaser to full post 2025-01-14 08:54:44 -05:00
rimu
b4664c8ea9 handle a variety of date formats for end of ban time 2025-01-14 13:23:30 +13:00
Hendrik L
c8fdf7c205 show who deleted a post 2025-01-13 18:26:11 +01:00
Hendrik L
c58cf8606f make .card slightly wider so the emojis don't spill over 2025-01-13 17:18:53 +01:00
Hendrik L
9f49c02ac6 fix html and make user_preview popups work on posts and together with icons 2025-01-13 17:18:53 +01:00
Hendrik L
4bcd218b8a add back navigation for user preview 2025-01-13 17:18:46 +01:00
Hendrik L
ea102b9b85 add user note button to profile preview popup 2025-01-13 16:30:28 +01:00
Hendrik L
8930e4a640 htmx user_preview: redirect back 2025-01-13 16:28:45 +01:00
freamon
051d0458d7 Tweak handler function for post_cross_posts fragment 2025-01-13 15:24:20 +00:00
rimu
242c737076 Merge pull request 'Change criteria for restricting available cross posts' (#420) from change_xp_restrictions into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/420
2025-01-13 00:50:14 +00:00
freamon
8714144b32 HTMX drop-down for available cross posts 2025-01-12 12:11:05 +00:00
freamon
f3bdb9b9b0 Fix AP terminology for creating new posts #419 2025-01-11 18:49:44 +00:00
freamon
95e99dd286 Change criteria for restricting available cross posts 2025-01-11 18:14:40 +00:00
rimu
f0239724c7 add nofollow noindex to person_link_to_href 2025-01-11 16:10:07 +13:00
rimu
355d0cd860 ensure posts are tagged as nsfw inside nsfw communities 2025-01-11 13:24:53 +13:00
rimu
e6d81db15f optimize can vote checking 2025-01-11 12:19:42 +13:00
rimu
cb7d4fc40f community setting: accept downvotes from community members only 2025-01-11 12:07:58 +13:00
freamon
57da9f7182 mentions in comments - inbound federation 2025-01-10 16:09:57 +00:00
freamon
a0fbf5e146 mentions in comments - use shared code for outbound federation / notification 2025-01-10 14:03:00 +00:00
freamon
385bd6bfbe mentions in comments - recognise @user@instance syntax in UI 2025-01-10 12:30:30 +00:00
freamon
250405aafb Add option to boost votes for PeerTube videos 2025-01-09 16:46:06 +00:00
freamon
0d73c70cc9 Add restrictions to cross posts calculation 2025-01-09 16:30:35 +00:00
freamon
463acb67a7 Refactor code to calculate cross posts 2025-01-09 00:56:25 +00:00
freamon
5a31c99c08 Remove a couple of old uncalled functions 2025-01-08 23:05:03 +00:00
freamon
d9e5b14e42 Streamline ap routes (part 17: use 'core_activity' for consistency) 2025-01-08 22:58:10 +00:00
freamon
cbb2321a57 Streamline ap routes (part 16: tidy up AP logging function) 2025-01-08 22:48:57 +00:00
freamon
7942793c20 Streamline ap routes (part 15: filter out activities that are both sent direct and Announced) 2025-01-08 22:08:12 +00:00
freamon
f82c2fe9b4 Streamline ap routes (part 14: remove old code) 2025-01-08 22:00:00 +00:00
freamon
309a016d97 Streamline ap routes (part 13: undo user bans) 2025-01-08 22:00:00 +00:00
freamon
809a04b869 Streamline ap routes (part 12: undo locks) 2025-01-08 19:49:41 +00:00
freamon
e1e1b43d63 Streamline ap routes (part 11: undo votes) 2025-01-08 19:27:46 +00:00
freamon
e8b2861d88 Streamline ap routes (part 10: undo deletes) 2025-01-08 19:23:47 +00:00
freamon
e640ab7ed8 Streamline ap routes (part 09: creates / updates) 2025-01-08 18:57:50 +00:00
freamon
9dc1589783 Streamline ap routes (part 08: deletes) 2025-01-08 18:28:27 +00:00
freamon
63495dd5d9 Streamline ap routes (part 07: user bans) 2025-01-08 16:34:25 +00:00
rimu
d8c9e04617 add barkrowler to robots.txt 2025-01-08 14:25:23 +13:00
rimu
8618d43c1c use inbox instead of shared_inbox 2025-01-08 13:41:52 +13:00
rimu
f10fb60577 sometimes attributedTo is a list of strings or Person dicts 2025-01-08 13:24:57 +13:00
rimu
b90f4feb3c Merge remote-tracking branch 'origin/main' 2025-01-08 13:15:33 +13:00
rimu
654e148d4a sometimes attributedTo is a list of strings 2025-01-08 13:14:37 +13:00
rimu
cf14b186c1 sometimes attributedTo is a list of strings 2025-01-08 12:19:10 +13:00
freamon
0f0202cb55 Streamline ap routes (part 06: remove mods or sticky) 2025-01-07 16:26:28 +00:00
freamon
3a9ffa7c53 Streamline ap routes (part 05: add mods or sticky) 2025-01-07 16:23:29 +00:00
freamon
099f073f01 Streamline ap routes (part 04: locks) 2025-01-07 15:27:28 +00:00
freamon
88ac73f979 Streamline ap routes (part 03: flags) 2025-01-07 15:12:28 +00:00
freamon
172f861141 Streamline ap routes (part 02: dislikes) 2025-01-07 14:14:50 +00:00
freamon
05bfed955e Streamline ap routes (part 01: likes) 2025-01-07 13:53:52 +00:00
freamon
78fd925282 Add votes to posts from PeerTube instances when they send an update 2025-01-07 10:53:47 +00:00
freamon
1fa74370c6 Move code to upvote own post into new() 2025-01-07 09:45:30 +00:00
freamon
7c817decf2 misc bugfixes for PeerTube 2025-01-06 22:54:41 +00:00
freamon
af82bc7076 Fetch and verify an object from its source if sent without a signature 2025-01-06 19:25:07 +00:00
freamon
26283a5d73 change 'find_community_ap_id()' to 'find_community()' 2025-01-06 19:24:54 +00:00
Andrew Slater
241f0a359d Merge pull request 'Fix "merge #408"' (#414) from h3ndrik/pyfedi:fix_admin_tables into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/414
2025-01-06 16:07:45 +00:00
freamon
949a1c40a3 API: demo individual community response with x_api theme 2025-01-06 13:49:49 +00:00
freamon
618cdf4d44 API: demo more responses using x-api theme 2025-01-06 13:49:15 +00:00
freamon
4586477740 API: return 'moderates' and 'follows' from logged-in Site response 2025-01-06 13:48:59 +00:00
freamon
89ce75e051 Also list moderated / owned communities in 'Joined' tab 2025-01-06 11:23:13 +00:00
Hendrik L
721383ff86 fix admin users table 2025-01-06 11:31:12 +01:00
rimu
3a526e0ca7 merge #408 2025-01-06 21:23:33 +13:00
rimu
d27b6d8532 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/templates/admin/users.html
2025-01-06 21:17:02 +13:00
rimu
5e7eb86e6d Merge branch 'h3ndrik-admin_tables' 2025-01-06 21:14:49 +13:00
rimu
1c4452b667 Merge pull request 'Set attitude to None if no votes cast (fixes #405)' (#410) from h3ndrik/pyfedi:attitude into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/410
2025-01-06 07:58:23 +00:00
rimu
948766b8c6 tweak ordering 2025-01-05 15:21:31 +13:00
rimu
93f8184f0a maintain state of title, description and tags when switching post type 2025-01-05 14:10:25 +13:00
rimu
5a6a013afd persist post reply fieldset state 2025-01-04 10:32:00 +13:00
rimu
92dffa8535 persist post options fieldset state 2025-01-04 10:17:25 +13:00
Hendrik L
918d5d2c94 set attitude to None if no votes cast 2025-01-02 19:20:31 +01:00
Hendrik L
f50b9161b0 show full timestamps 2025-01-02 16:39:02 +01:00