Commit graph

346 commits

Author SHA1 Message Date
freamon
8542963ac2 Include check for post.deleted in check_url_already_posted 2024-09-27 10:12:31 +00:00
freamon
db250b6aeb Add option for admins to kick remote subscribers from local communities
(unsubscribe without ban, typically because their instance is dead)
2024-09-23 15:06:37 +00:00
freamon
6413490cc3 Revert earlier decision to only send out HTML (pls see app/utils.py line 327) 2024-09-22 13:45:03 +00:00
rimu
700b1c98de better instance failure detection 2024-09-21 10:15:25 +12:00
rimu
e616ce122f replace requests with httpx #15
better thread safety
2024-09-15 19:30:45 +12:00
rimu
d0cbf592ea tweaks #323 2024-09-14 15:50:23 +12:00
Alan Roberts
8fca0b7aca comment clean up 2024-09-13 13:02:17 -04:00
Alan Roberts
56b7621fac adjusting the return for the view 2024-09-13 12:49:10 -04:00
Alan Roberts
8eb34ac4d2 changing referrer check 2024-09-13 11:44:37 -04:00
Alan Roberts
859edac084 passing user.id rather than the user directly 2024-09-13 11:34:14 -04:00
Alan Roberts
6b72b9cb64 adding a way to pass a user to do_subscribe 2024-09-13 11:26:00 -04:00
Alan Roberts
cf5bb65a9f making do_subscribe a celery task, messages to user updates 2024-09-13 11:10:10 -04:00
Alan Roberts
f00a9b2722 initial pass at the subscribe step 2024-09-13 10:26:07 -04:00
rimu
51f2b3e40e track user statistics like post count 2024-09-13 11:08:04 +12:00
rimu
026a7e699c detect video posts better 2024-09-07 11:15:33 +12:00
freamon
1a0149cb80 Use youtu.be rather than youtube.com to grab thumbnail images 2024-09-06 01:10:51 +00:00
Alan Roberts
e5af8398b7 Adding https url search for add-remote communities 2024-09-04 13:55:23 -04:00
freamon
d255f676c8 Use 'Image' type in attachment for image posts so alt-text is in same place as Lemmy #102 2024-09-01 19:14:05 +01:00
freamon
1af76320b7 Also use public_url() for User Follower activity 2024-09-01 17:49:46 +01:00
rimu
ac38f39ef5 display error message when joining is denied due to defederation #312 2024-08-30 17:43:22 +12:00
rimu
11ce66443e display error message when joining is denied due to allowlist 2024-08-30 17:25:37 +12:00
freamon
20a818de00 A couple more for - Don't send subscription activity to communities on dead instances 2024-08-21 13:50:11 +00:00
freamon
4177292320 Bugfix for community edit form changing default_layout from None to '' and making the selection buttons disappear 2024-08-20 22:45:26 +00:00
freamon
96cc0704e0 Don't send subscription activity to communities on dead instances 2024-08-20 20:32:16 +00:00
rimu
8fbf59e189 don't send to banned instances 2024-08-19 10:24:49 +12:00
rimu
0f4863afcf Merge pull request 'Adjusting the post editing for images to display the existing image' (#297) from JollyDevelopment/pyfedi:jollydev/edit-image-posts-uses-existing-image into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/297
2024-08-18 01:55:52 +00:00
rimu
9df02c649e flag un-moderated communities 2024-08-18 13:44:50 +12:00
Alan Roberts
6ab610c503 comment cleanup 2024-08-17 14:34:01 -04:00
Alan Roberts
013f33b5d3 Adjusting the post editing for images to display the existing image 2024-08-17 09:42:07 -04:00
rimu
d0cc79f8ad accept mastodon replies 2024-08-17 10:26:33 +12:00
rimu
6f4ea028f7 federate auto-deletes 2024-08-16 16:10:09 +12:00
rimu
4cf7e067d6 stop 'add remote' from duplicating local communities 2024-08-16 11:49:14 +12:00
rimu
8d60f8f4cd warn if link already posted to other communties 2024-08-15 19:39:33 +12:00
rimu
1f0c8eb6ff community blocking #283 2024-08-12 20:54:10 +12:00
Alan Roberts
4cbef640a5 Update community deletion modlog entry 2024-08-11 12:00:25 +00:00
rimu
da69a87978 longer timeout when doing a follow - friendica 2024-07-30 08:50:07 +08:00
rimu
de6e8a35e9 move federation network activity to celery tasks #268 2024-07-24 20:51:50 +08:00
rimu
82cc9389ba community wiki - revisions #127 2024-07-18 15:14:55 +08:00
rimu
2c3f1763b3 community wiki #127 2024-07-17 22:11:31 +08:00
rimu
0309cbded9 moderators can remove themselves #21 2024-07-16 19:52:44 +08:00
rimu
6d555c4c54 when adding moderators do a fuzzy search and present a list of people to add. fixes #248 2024-07-14 14:01:22 +08:00
rimu
63049942ee Make 'rational discourse toolkit' optional fixes #202 2024-07-12 19:57:41 +08:00
Hendrik L
a8910d5bff combine add_post routes 2024-07-09 09:14:37 +02:00
Hendrik L
ad353ad206 combine add_post and post_edit templates 2024-07-08 21:34:40 +02:00
Hendrik L
841fd9ec43 combine add_..._post templates into one add_post 2024-07-08 17:13:01 +02:00
Hendrik L
7219926bfd update routes after post_edit template cleanup 2024-07-08 16:18:49 +02:00
Hendrik L
a1fa74d3ba move all post_edit templates into one 2024-07-08 15:14:24 +02:00
rimu
3647e2796d mod log #21 2024-07-07 15:01:52 +08:00
rimu
47dd776ca6 bigger thumbnail files to match bigger display size #241 2024-07-01 20:44:08 +08:00
rimu
a767a96dcd accept mpo images fixes #218 2024-06-29 11:51:31 +08:00
Hendrik Langer
93fbba1d1e rename show_ filters into hide_ and migrate db for filter changes 2024-06-28 15:04:06 +00:00
Hendrik Langer
a7fa609ddf add blur and transparent options to the nsfw, nsfw and bots filter 2024-06-28 13:37:04 +02:00
rimu
be41133dd9 image upload bugfixes #218 2024-06-25 21:11:57 +08:00
rimu
115247f422 improve thumbnail generation reliability 2024-06-22 14:18:26 +08:00
rimu
4c64631b8a put recently used languages first in the list #210 2024-06-20 17:27:36 +08:00
rimu
e2ce7c832f better image handling - use content-type header instead of extension #fixes 37 2024-06-19 13:46:36 +08:00
rimu
b578bf27a4 only accept image files in certain forms 2024-06-16 14:03:59 +08:00
rimu
5de36b0c0a rss feed on hashtags fixes #203 2024-06-15 11:59:22 +08:00
rimu
bd248605d6 a bit more #194 2024-06-05 20:32:25 +12:00
rimu
3203ac5506 oh boy, this sucks #194 2024-06-05 13:21:41 +12:00
rimu
f101a56fe2 profile_id or user_name.lower() everywhere #194 2024-06-04 09:53:13 +12:00
rimu
cf3dec5768 profile_id or user_name.lower() everywhere #194 2024-06-04 09:44:10 +12:00
freamon
048a289d67 Use copy() for microblog_announce to avoid overwriting the original announce 2024-06-03 15:40:10 +01:00
freamon
ea93bfb432 More removal of PieFed's Markdown in outbound federation
Missed these the first time
2024-06-02 20:53:37 +01:00
rimu
2380a3ae61 soft deletes and deleted content admin area #193 2024-06-02 16:45:21 +12:00
freamon
7c33c40f09 Bugfix for poll edits 2024-05-31 22:30:36 +01:00
freamon
ae68eecb65 Only duplicate title into body for Polls if it's not already in there 2024-05-31 22:30:21 +01:00
freamon
f6f7af0a1e Use MICROBLOG_APPS constant instead of hard-coding 'mastodon' 2024-05-31 22:28:58 +01:00
freamon
d6aed72b3c Duplicate Poll title into body so it appears in content
required for Mastodon to accept
2024-05-31 22:28:43 +01:00
freamon
2319458b00 Announce page, not create/page for Mastodon 2024-05-31 22:28:26 +01:00
freamon
9dc2d48aca Federate post to user followers before community followers 2024-05-31 22:28:07 +01:00
rimu
a08e0ce6e7 add topics to main menu and reduce size of output html 2024-05-30 21:54:25 +12:00
freamon
788cad653b Clobber PeerTube communitites to restrict posting to mods irrespective of what JSON says 2024-05-28 20:44:06 +01:00
rimu
cf13ee0033 minor tweaks 2024-05-28 15:40:09 +12:00
freamon
2bfe5831b9 Allow users to retrieve posts from remote communities 2024-05-27 23:51:14 +01:00
freamon
1771c5205a Merge branch 'peertube3' 2024-05-26 17:25:20 +01:00
rimu
d1f7d35a83 users can remove profile pics (communities too) 2024-05-26 18:24:13 +12:00
rimu
a0974a00a1 banned users rejoining error #78 2024-05-26 14:04:36 +12:00
freamon
564323d650 PeerTube: process page 1 of outbox for 'Video' type 2024-05-26 01:37:14 +01:00
rimu
bbf345e689 increase alt text max length
same as Lemmy and Mastodon
2024-05-25 22:44:43 +12:00
freamon
92cda776fa Bugfix: sleep() imports in community/util 2024-05-22 12:16:35 +01:00
rimu
b911967168 empty uri 2024-05-22 06:29:28 +12:00
rimu
f19cdfafad poll - icon #181 2024-05-19 11:30:41 +12:00
rimu
0d9d4f12cb poll - federation #181 2024-05-18 21:06:57 +12:00
rimu
79798b28e3 poll ui - edit #181 2024-05-18 20:17:05 +12:00
rimu
e912c8d84f poll ui - create and vote #181 2024-05-18 19:41:20 +12:00
rimu
2e0d27c4f0 rebrand remote follow #186 2024-05-17 21:27:45 +12:00
rimu
526ac5260f poll ui, wip #181 2024-05-16 21:53:38 +12:00
rimu
ade07d2658 stop instances from being flagged as 'gone forever' if they're still sending activities 2024-05-12 16:08:20 +12:00
rimu
3c5a86f6e6 hashtag UI #184 2024-05-12 13:02:45 +12:00
freamon
0cc7232409 Fix typo: add community ban_util date if it's in the future 2024-05-10 10:03:39 +01:00
freamon
2ddda35375 Fix URL redirect for Unban User from Community 2024-05-10 09:50:05 +01:00
rimu
7867b5b346 add language choices to UI - logged in users only #51 2024-05-09 19:21:45 +12:00
rimu
af4dee7ea3 add language choices to UI #51 2024-05-09 17:54:30 +12:00
rimu
3bc30ec99c let admin override language for remote communities #51 2024-05-08 21:07:22 +12:00
rimu
2d5bbbb3bf don't silently change which community is being posted in when not a member of that community #78 2024-05-08 19:44:23 +12:00
freamon
c82581462d Move default_context()
(avoid circular dependency for next commits)
2024-05-04 21:16:55 +01:00
freamon
b1617f3e98 Federate posts to from local user to remote User followers 2024-04-30 13:15:42 +01:00
rimu
76d228f5fa ensure local communities have lowercase machine name 2024-04-30 21:29:49 +12:00
rimu
01d4b2678c anyone can subscribe to any post or comment #20
(not just the author)
2024-04-29 21:43:37 +12:00