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
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