Commit graph

273 commits

Author SHA1 Message Date
rimu
de11aa6c50 Defederation subscriptions 2024-12-27 20:20:16 +13:00
rimu
3662749188 extra fields on profiles ala Mastodon 2024-12-22 15:38:40 +13:00
rimu
0b8251524c Merge pull request 'user notes (implements #258)' (#382) from h3ndrik/pyfedi:user_note1 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/382
2024-12-21 00:13:58 +00:00
rimu
d73c12d4c7 remove moviepy and ffmpeg dependency 2024-12-16 20:49:43 +13:00
rimu
d98a5e19d3 warnings on domains 2024-12-13 19:24:09 +13:00
Hendrik L
b4f1706a6b user_notes relationship, caching, cleanup 2024-12-12 20:05:59 +01:00
freamon
c851680b05 Depreciate generate_image_from_video_url(), put <video> in masonry instead #373 2024-12-11 22:54:58 +00:00
Hendrik L
1550d9bb70 render user note 2024-12-10 09:12:18 +01:00
rimu
4fe3778008 Merge pull request 'add more info to the modlog' (#367) from h3ndrik/pyfedi:mod4 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/367
2024-12-05 00:50:44 +00:00
rimu
6c59ef8cb8 migration to remove related field #371 2024-12-05 13:47:08 +13:00
Hendrik L
25d5f67128 remove unused community.show_home setting 2024-12-04 14:48:18 +01:00
Hendrik L
455612bf2e add lock_post action 2024-12-04 11:22:27 +01:00
Hendrik L
23a6b2673e handle DB foreign key constraint for ModLog entries 2024-12-03 17:07:19 +01:00
rimu
36b272e797 use thumbnail image for videos #366 2024-12-03 09:15:03 +13:00
rimu
04cce6ec9d ban posts or comments - ui 2024-12-02 15:03:16 +13:00
rimu
654829cbae ban posts or comments 2024-12-02 13:48:10 +13:00
freamon
ec91e6c7d2 Bugfix for posts with empty attachments 2024-11-30 14:20:19 +00:00
rimu
73f0ff35f4 a.gup.pe images - attached to notes as a dict 2024-11-30 21:36:42 +13:00
rimu
dd93048e96 temporary instance bans 2024-11-30 09:50:14 +13:00
freamon
5b85ee06f5 lower() the ap_id paramter for get_by_ap_id() 2024-11-29 16:40:51 +00:00
rimu
c135b9c51f clean up duplicate instances #348 2024-11-24 16:32:22 +13:00
rimu
d2aa9c321d clean up duplicate comments #348 2024-11-24 16:00:53 +13:00
rimu
ff201af0d6 do not create duplicate posts #348 2024-11-24 15:38:51 +13:00
rimu
51fba1a156 merge duplicate posts #348 2024-11-24 15:27:21 +13:00
rimu
d3825b68b5 increase length of ban reason 2024-11-23 18:48:03 +13:00
rimu
f9d8ac555a Merge remote-tracking branch 'origin/main' 2024-11-19 18:54:45 +13:00
rimu
a5656c3318 merge duplicate communities #348 2024-11-19 18:54:33 +13:00
freamon
5e422131ad Prefer image in attachment for image posts #350 2024-11-17 22:14:39 +00:00
freamon
594b858bd4 Use http instead of https for viewing images if SERVER_NAME is 127.0.0.1 2024-11-17 19:45:01 +00:00
rimu
d5ae01b456 add index #348 2024-11-15 16:42:08 +13:00
rimu
ffd78bfd80 add unique constraint to user.ap_profile_id and clean up old data 2024-11-14 20:16:09 +13:00
rimu
0b5f515de6 show posts from child topics 2024-11-08 15:09:24 +13:00
rimu
eedaddd851 avoid StaleDataError 2024-11-03 10:47:41 +13:00
rimu
915e8c779a Avoid StaleDataError exception during user.recalculate_attitude() 2024-11-02 16:34:16 +13:00
rimu
21ae50f6ff post licence - save and display 2024-11-02 16:02:29 +13:00
rimu
88d28c1464 post licence model and migration 2024-11-02 15:14:31 +13:00
freamon
57191c2c23 API: utilise DB exceptions for return errors 2024-10-27 13:36:56 +00:00
freamon
d738850fc7 Recalc community.post_reply_count after replies are purged as part of a post purge 2024-10-26 04:46:51 +00:00
freamon
899bf834cd post soft-deletion: delay calling delete_dependencies until a post is purged, to allow for restoration 2024-10-26 03:55:21 +00:00
rimu
5b386ec190 show instance name after display name 2024-10-23 21:35:44 +13:00
rimu
8a1aa648ae daily maintenance: handle exceptions 2024-10-23 08:37:08 +13:00
rimu
156c328c6f tidy up calls to obsolete post_ranking 2024-10-22 19:51:37 +13:00
rimu
42439fb90a Merge branch 'refactor-post-new' 2024-10-21 09:56:20 +13:00
rimu
518f165c1f post-new: image posts 2024-10-20 20:21:30 +13:00
freamon
7983105c58 post-reply soft-deletion: comment out uncalled routine 2024-10-19 17:25:54 +00:00
rimu
feca5992af refactor post-new wip 2024-10-16 21:42:30 +13:00
rimu
ba2a97c4ad deleted_by field - no foreign keys as they were confusing sqlalchemy 2024-10-14 15:48:55 +13:00
rimu
cec844ec4f refactor post-new wip 2024-10-14 15:37:00 +13:00
rimu
377d07a67e deleted_by field on Post, PostReply and User 2024-10-14 12:29:56 +13:00
rimu
c8922cc67f link user profiles to their instances 2024-10-13 10:53:47 +13:00