Commit graph

346 commits

Author SHA1 Message Date
rimu
cede0163fd use communities_banned_from() more often 2024-04-29 16:08:35 +12:00
rimu
e1204bc267 topic notifications #20 2024-04-29 16:03:00 +12:00
freamon
c4e1ae49e5 Ignore local content in remote community outboxes 2024-04-27 19:24:31 +01:00
freamon
4dc0763881 Avoid crash if bad URL entered in 'add remote' #77 2024-04-26 13:35:31 +01:00
freamon
3cddfd86e8 Ensure domains of 'id' and 'actor'/'attributedTo' match 2024-04-26 13:35:16 +01:00
rimu
bf76be2804 Merge remote-tracking branch 'origin/main' 2024-04-23 21:12:51 +12:00
freamon
d49470ab8b Add one upvote from yourself for own posts and replies 2024-04-22 19:51:07 +01:00
rimu
a1442afaf5 save name of user or community when creating notification subscription #20 2024-04-22 21:00:04 +12:00
rimu
708edd51b6 refactor community subscription to use new subscription system #20 2024-04-22 20:53:03 +12:00
rimu
c8b81162f1 remove obsolete flush_cache() calls 2024-04-20 16:26:33 +12:00
rimu
4dddd7724f federate higher quality images 2024-04-19 08:50:37 +12:00
rimu
326b53e73d customisable posting warning 2024-04-18 20:51:08 +12:00
rimu
a8f7ebf442 streamable #147 2024-04-17 19:42:36 +12: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
rimu
59ca0f02a8 blocking an account 2024-04-14 08:57:46 +12:00
rimu
75c3f7c8be hot sort - more spicy pls (experiment) 2024-04-14 07:59:24 +12:00
rimu
bd6c71d8bb show if a piece of content has already been voted on 2024-04-11 14:04:57 +12:00
rimu
7b162792ee increase rows of text entry fields 2024-04-11 12:50:26 +12:00
rimu
758d8e79c0 bugfix 2024-04-09 19:55:31 +12:00
rimu
b8ddf0c481 split post creation and editing up into different forms for each type of content #78 2024-04-07 11:15:04 +12:00
rimu
11f0a9e183 Option for mods to ignore reports about a post, comment or user #21 2024-04-06 14:10:23 +13:00
rimu
8cc80fb2e2 When resolving a repot, reset the 'reports' counter on the comment, post or user #21 2024-04-06 13:53:41 +13:00
rimu
164ef25e9e slugify community urls #78 2024-04-03 21:03:38 +13:00
rimu
635449db0f slugify community urls #78 2024-04-03 20:53:50 +13:00
rimu
e6431584ab better ban message #78 2024-04-03 20:48:39 +13:00
rimu
7dd5c61bc7 max length of 300 chars of alt text #78 2024-04-03 20:33:49 +13:00
rimu
15f834c08e delete posts in community when community is deleted #78 2024-04-03 20:29:24 +13:00
rimu
329ad0093e minor tweaks #144 2024-04-03 07:44:59 +13:00
freamon
d0b146ec0f Find cross-posts for new or updated posts 2024-04-02 18:45:04 +01:00
freamon
6313ad2e5d Find cross-posts for items in remote community outbox 2024-04-02 18:44:42 +01:00
rimu
85939c27d4 add pagination to subscriber list #131 2024-03-30 15:56:45 +13:00
rimu
ff7f89bfce more efficient subscribers query, using a join #131 2024-03-30 15:49:26 +13:00
rimu
87b1fc28f6 PEP 8 requires 2 blank lines between functions #131 2024-03-30 15:44:38 +13:00
rra
078d4ff088 oops 2024-03-29 16:55:36 +01:00
rra
6679071471 remove accidental double query and add note for rimu, working towards #116 and #21 2024-03-29 13:54:00 +01:00
rra
98425bccd4 Merge remote-tracking branch 'upstream/main' 2024-03-29 13:41:56 +01:00
rra
02719db138 rework community bans view to show all community subscribers 2024-03-29 13:41:43 +01:00
freamon
dbf4c03aa5 Recognise fediverse community links 2024-03-28 03:40:42 +00:00
rimu
12fc9654d3 link url needs to be optional #123 2024-03-28 09:19:04 +13:00
rimu
b82ee443de Also resolve all other reports about the same thing #21 2024-03-27 20:31:36 +13:00
rimu
090b6d5a68 escalate or resolve reports #21 2024-03-27 20:20:08 +13:00
rimu
50db96fb6c remove broken html_to_markdown function 2024-03-27 16:02:04 +13:00
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
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
fb046f1acb properly resize image posts 2024-03-25 13:30:18 +13:00
rimu
5c5c28a4a3 bug when editing post 2024-03-24 20:58:25 +13: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
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
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
081108a7c6 block future shitpost floods 2024-03-22 12:22:19 +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
9fd4ac1c53 ban people from community, and unban them #21 2024-03-21 21:19:50 +13:00
rimu
0210adafa5 show sticky posts at top of their community fixes #16 2024-03-20 20:41:45 +13:00
freamon
136cb64a69 Checked featured url for sticky posts #16 2024-03-19 07:34:19 +00:00
rimu
32fa6583ec ignore invalid og:image tag 2024-03-19 12:44:47 +13:00
rimu
f5f5f593a5 community moderation - view reports and list of banned people 2024-03-18 21:05:13 +13:00
freamon
b121c13d4e post_layout: always show or always hide (for low-bandwidth) 2024-03-17 07:28:03 +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
4fc715bb18 community owners can change settings and appoint moderators #21 2024-03-13 16:40:20 +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
0f055f590d better image handling 2024-03-12 09:53:34 +13:00
rimu
62292cb6d1 finish sub-topics fixes #44 2024-03-09 14:59:05 +13: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
rimu
6914a47206 remove tracking from links fixes #34 2024-03-08 22:01:46 +13:00
freamon
9fa260632a Clean tracking info from youtube links 2024-03-08 01:33:58 +00:00
rra
0909256288 fix string formatting of 'link not allowed' 2024-03-07 12:39:14 +01:00
freamon
721bf49618 Remove duplicate activitypub logging 2024-03-07 10:45:36 +00:00
rimu
8da4cce68a rss feeds with images in them 2024-02-28 12:55:30 +13:00
rimu
cf131a7039 topic rss feeds 2024-02-28 12:43:51 +13:00
rimu
684d4f741d accessibility improvements 2024-02-26 21:26:19 +13:00
rimu
40de319b9a allow comments on posts in communities that are restricted to mods 2024-02-24 11:07:06 +13:00
rimu
45b62e9305 ranking tweak 2024-02-21 19:59:50 +13:00
rimu
46bca83e2a use community outbox properly 2024-02-21 08:36:47 +13:00
rimu
b864e223bc nsfw and nsfl icons on posts - oops 2024-02-16 06:34:56 +13:00
rimu
066646b4f6 nsfw and nsfl icons on posts 2024-02-16 06:17:13 +13:00
rimu
5d20327598 banned community 2024-02-14 15:55:45 +13:00
rimu
2337c22afa show instance in breadcrumb 2024-02-14 09:50:13 +13:00
rimu
820af0ada2 don't strip params from og:image url #37 2024-02-13 05:56:22 +13:00
rimu
4974d2cddb remove func.lower which was bad for DB perf 2024-02-10 16:29:03 +13:00
rimu
639d920d05 reduce storage usage by user banners 2024-02-10 06:41:24 +13:00
rimu
45d8b042a5 remove 'ilike' for most case insensitive searches - too slow 2024-02-09 14:58:51 +13:00
rimu
95cd37e6b3 posting to topics and auto-join communities as needed fixes #30 2024-02-08 18:34:58 +13:00
rimu
f6a382d0a7 fixes #14 2024-02-05 07:35:09 +13:00
rimu
d69dac7631 set user-agent while parsing og:image meta tag 2024-02-04 22:02:32 +13:00
rimu
586aeb5c08 alt text debug 2024-02-02 17:28:07 +13:00
rimu
2fbe9a011e domain blocking - cache bust 2024-02-02 17:22:32 +13:00
rimu
212e1bd6d9 detect nsfl posts based on title and hide post from lists based on user setting 2024-02-01 11:59:09 +13:00
rimu
510176dea3 form tweaks for accessibility
plus admin topic editing
2024-01-29 22:18:06 +13:00
rimu
a17e3273bf beware of upper and lower case in community url 2024-01-29 09:16:43 +13:00
rimu
241fe8ec38 organise communities under topics 2024-01-28 18:11:32 +13:00
rimu
04a4abe9d5 local only communities - do not federate 2024-01-27 12:22:35 +13:00
rimu
5b66fea4fe local only communities 2024-01-27 11:19:23 +13:00
rimu
2f947e6d0d alt text on images 2024-01-26 17:15:43 +13:00
rimu
8e93ff9f51 better links 2024-01-26 09:37:05 +13:00
rimu
41f6a29e33 various small bugfixes 2024-01-25 20:16:08 +13:00
rimu
14d0344702 block nsfw community adding if nsfw is disabled 2024-01-21 21:04:48 +13:00
rimu
3d11dcf62e masonry tile - maintain state 2024-01-21 20:20:40 +13:00
rimu
4eb250ba10 masonry tile - hide if not used 2024-01-21 17:12:38 +13:00
rimu
af98706610 masonry tile for image communities 2024-01-21 15:44:13 +13:00
rimu
53319d8c90 always lowercase name when searching 2024-01-19 17:29:50 +13:00
rimu
6fe405f5a8 oops 2024-01-19 15:19:31 +13:00
rimu
c3e16ab171 rational discourse toolbox 2024-01-19 15:08:39 +13:00
rimu
e045dc7f2d related communities 2024-01-15 18:32:58 +13:00
rimu
eee7c59b57 active sort with user default sort choice 2024-01-15 18:26:22 +13:00
rimu
78d1dfb45c simplify voting 2024-01-13 22:29:57 +13:00
rimu
b9c468d437 fix etags for caching 2024-01-12 13:24:49 +13:00
rimu
134e213397 communities menu 2024-01-12 12:34:08 +13:00
rimu
0d9566806e fix join/leave buttons 2024-01-11 20:52:09 +13:00
rimu
c6216f2588 per-user keyword filters 2024-01-11 20:39:22 +13:00
rimu
94f1aad3c5 typo 2024-01-09 20:47:08 +13:00
rimu
050d1d36d2 multiple bugfixes 2024-01-09 20:44:08 +13:00
rimu
ec4be34d5d bug when sending link posts to lemmy 2024-01-08 22:48:03 +13:00
rimu
147ff51189 fix link post creation 2024-01-08 21:33:23 +13:00
rimu
90d5d525ae Low bandwidth mode 2024-01-08 19:41:32 +13:00
rimu
b83ae5fa2f image is a dict while attachment is a list of dicts
argh
2024-01-07 19:12:18 +13:00
rimu
367f80f13a further experiments 2024-01-07 18:48:44 +13:00
rimu
afa93df35c and body text fields to link and image posts 2024-01-07 18:30:27 +13:00
rimu
c8f837a52e fix invalid Activity when sending image post 2024-01-07 18:20:04 +13:00
rimu
4354d4259e fix invalid Activity when sending image post 2024-01-07 18:15:28 +13:00
rimu
908ae14799 fix crash when creating image post 2024-01-07 18:02:52 +13:00
rimu
80c85761fb cope with uppercase letters in file extensions 2024-01-07 14:36:55 +13:00
rimu
9aada76655 sort communities list 2024-01-07 13:35:36 +13:00
rimu
2bc1ab47d0 notify about new posts in communities 2024-01-07 12:47:06 +13:00
rimu
cd4fa6ad25 import community subscriptions from lemmy 2024-01-07 09:29:36 +13:00
rimu
396a5bae4c avoid duplicate comments and gif reactions 2024-01-06 14:54:10 +13:00
rimu
20f5c7b7f8 notifications 2024-01-06 11:01:44 +13:00
rimu
39ca00cb8e bug fixes and tweaks after initial user testing 2024-01-05 14:09:46 +13:00
rimu
a36a56eec6 minor bugfixes 2024-01-04 22:08:32 +13:00
rimu
e1f410151e oops 2024-01-04 17:07:02 +13:00
rimu
82422c06c6 bust membership cache 2024-01-04 16:59:15 +13:00
rimu
b431a79518 sort posts by top, hot, new 2024-01-03 20:14:39 +13:00
rimu
acfe35d98d announce incoming activites to all following instances
plus a whole lot more, i don't even know
2024-01-03 16:29:58 +13:00
rimu
74cc2d17c0 communities that are local-only, w access control for posting and voting 2024-01-02 19:41:00 +13:00
rimu
520db4a924 admin area to respond to moderation reports 2024-01-02 16:07:41 +13:00
rimu
83eaf6d883 delete community 2024-01-01 11:38:24 +13:00
rimu
c1971b3d8d administer communities - list and edit 2023-12-31 12:09:20 +13:00
rimu
6ac8aca227 basic mastodon interop 2023-12-27 14:38:41 +13:00
rimu
01f3cf212b federation - editing posts and sending replies to subscribers 2023-12-26 21:39:52 +13:00
rimu
1936cad8c7 markdown editor 2023-12-26 10:49:08 +13:00
rimu
b04466fcc1 make backfilling community posts into a celery task (background processing) 2023-12-25 21:44:10 +13:00
rimu
64e0193135 move long-running tasks to separate background process (image processing) 2023-12-24 16:20:18 +13:00
rimu
fec2e9117c log all outgoing actitivies 2023-12-22 15:34:45 +13:00
rimu
4a6492a15c refactoring and bug fixes 2023-12-22 14:05:39 +13:00
rimu
26074bd85e backfill old posts when a remote community is added 2023-12-21 22:14:43 +13:00
rimu
c3839e6873 home page, expanded admin area and domain blocking 2023-12-17 00:12:49 +13:00
rimu
7b91250e3a pagination 2023-12-15 17:35:11 +13:00
rimu
46900390a5 report posts and communities. also block domains and instances 2023-12-13 21:04:11 +13:00
rimu
ac8a229475 rss feeds on communities 2023-12-12 18:28:49 +13:00
rimu
5b6c9f39b2 avoid use of depreciated datetime.utcnow 2023-12-12 08:53:35 +13:00
rimu
606024494d caching strategy scaled back significantly 2023-12-11 20:46:38 +13:00
rimu
094708f396 federating replies and lots of caching 2023-12-10 15:10:09 +13:00
rimu
05c2c7372b federation - post content and replies/comments to remote communities 2023-12-09 22:14:16 +13:00
rimu
9efda995e3 upload images for community icon and banner 2023-12-08 17:13:38 +13:00
rimu
d5d7122a3d subscription and unsubscription to remote communities - lemmy bugs
also local cache busting
2023-12-03 22:41:15 +13:00
rimu
5752b8eaeb finish notifications 2023-11-30 23:21:37 +13:00
rimu
f0a4e01fe9 post edit and delete. beginning of notifications 2023-11-30 20:57:51 +13:00
rimu
856f450885 significant code reorganisation - split communities and posts 2023-11-30 06:36:08 +13:00
rimu
ddc747bb76 list content by domain 2023-11-29 22:12:55 +13:00
rimu
e97f3ee4ab generate thumbnails from og:image meta tag 2023-11-29 20:32:07 +13:00
rimu
a17b8785d3 create and view image posts 2023-11-27 22:05:35 +13:00
rimu
53a1531820 post replies - create, edit, delete 2023-11-22 20:48:27 +13:00
rimu
6ec660005c federation - receive remote posts, including edits and deletions 2023-11-21 23:05:07 +13:00
rimu
d2a81ef76c federation: subscribe to remote community 2023-11-17 22:02:44 +13:00
rimu
c9beb0c0da federation: handle remote subscriptions and unsubscriptions 2023-11-16 22:31:14 +13:00
rimu
724d6c4bbd design improvements 2023-11-09 22:44:09 +13:00
rimu
58282b971b hide low quality comments 2023-10-23 22:54:11 +13:00
rimu
b630f76152 basic seo 2023-10-23 20:18:46 +13:00
rimu
8737d3cbad vote for posts 2023-10-23 17:22:21 +13:00
rimu
b05531fda3 limit what unverified users can do 2023-10-23 13:03:35 +13:00
rimu
4271ee3bca post replies - more elegant handling of long conversations 2023-10-16 21:38:36 +13:00
rimu
ef275f4fbf reply to a reply 2023-10-15 21:13:32 +13:00
rimu
11cc46c976 voting buttons - handle existing votes for same comment 2023-10-14 21:53:47 +13:00
rimu
fa53128118 show replies below posts 2023-10-10 22:25:37 +13:00
rimu
8a18573974 user profiles and settings 2023-10-07 21:32:19 +13:00
rimu
2c0fc55e35 view community, view posts in community 2023-10-02 22:16:44 +13:00
rimu
8c3c46271d UI to create posts 2023-09-17 21:19:51 +12:00
rimu
4888e2e2e2 federate incoming posts and post replies 2023-09-16 19:09:04 +12:00
rimu
bfc4b243bf accept and follow with activitypub message logging 2023-09-09 20:46:40 +12:00
rimu
20dfc5a43b follow remote communities - activitypub 2023-09-08 20:04:01 +12:00
rimu
c10e46c2e8 community 2023-09-05 20:25:02 +12:00
rimu
e0e8ccd6fd add local community 2023-09-03 16:30:20 +12:00
rimu
82000c1095 community list and beginning of viewing community 2023-08-29 22:01:06 +12:00