Commit graph

231 commits

Author SHA1 Message Date
rimu
6bdf13d300 add span to allowed tags #185 2024-05-13 10:54:30 +12:00
freamon
424f8e004f Handle extraneous html/text when generating titles for microblog content 2024-05-10 15:46:16 +01:00
freamon
843e9d060a fall back for if there's no recognised punctuation in microblog 2024-05-10 13:42:12 +01:00
freamon
f626ad95ff Also use exclamation point as end of sentence indicator 2024-05-10 13:35:15 +01: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
e2e20c76a0 generate titles from microblog posts - sentences with a ? need it added back on 2024-05-01 21:02:25 +12:00
rimu
f111b50041 generate titles from microblog posts - sentences can end with a ? 2024-05-01 20:05:49 +12:00
rimu
970013d21b generate titles from microblog posts - handle invalid html 2024-05-01 09:04:57 +12:00
rimu
4d7acb9396 generate titles from microblog posts using the first sentence of the first paragraph
(limited to 150 chars, as before)
2024-05-01 08:48:37 +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
e1204bc267 topic notifications #20 2024-04-29 16:03:00 +12:00
rimu
34d09acc92 surprise feature for those who comment "this" 2024-04-22 15:25:37 +12:00
rimu
697d424bdf handle invalid video files more gracefully 2024-04-20 16:47:27 +12:00
rimu
39946fcc2a Merge pull request 'Ignore Page/Announce, and some little fixes' (#158) from freamon/pyfedi:15 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/158
2024-04-16 10:20:52 +00: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
freamon
554f93d56a One more fix for lemmy spoiler regex 2024-04-16 00:06:54 +01:00
rimu
01a235725e safer shorten_string 2024-04-15 19:24:05 +12:00
rimu
59ca0f02a8 blocking an account 2024-04-14 08:57:46 +12:00
rimu
5e20658474 Merge pull request 'Fixes for HTML stuff' (#153) from freamon/pyfedi:10 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/153
2024-04-12 04:18:59 +00:00
freamon
d7bee348b3 Remove HTML elements from first paragraph when forming microblog title 2024-04-11 05:00:20 +01:00
freamon
3a0c72d6d4 Fix for lemmy spoiler regex if paragraphs inside 2024-04-11 04:55:30 +01:00
rimu
bd6c71d8bb show if a piece of content has already been voted on 2024-04-11 14:04:57 +12:00
rimu
9d1f1a9f14 avoid missing site variable 2024-04-10 08:48:31 +12:00
rimu
15c628903d avoid AttributeError when instance inbox is not populated 2024-04-09 19:23:19 +12:00
rimu
4e3e409681 avoid AttributeError on 404s in /static/* 2024-04-09 19:04:46 +12:00
rimu
b2e678926d topic tree fixes #145 2024-04-08 19:48:25 +12:00
freamon
cbae43e37e Replace lemmy spoiler markdown with appropriate html 2024-04-06 10:50:53 +01:00
freamon
1cce2d82b8 Add horizontal rule to allowed html tags 2024-04-06 10:44:03 +01:00
freamon
a1a4464304 Avoid returning empty anchors in html 2024-04-06 10:43:06 +01:00
rimu
e6431584ab better ban message #78 2024-04-03 20:48:39 +13:00
rimu
274cd536b2 suggested place to parse lemmy spoiler tags 2024-04-01 15:13:58 +13:00
rimu
4f3bb0863d move code to standard places #125 2024-03-29 15:58:25 +13:00
rimu
bf11490011 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/activitypub/routes.py
#	app/activitypub/util.py
2024-03-27 16:07:21 +13:00
rimu
50db96fb6c remove broken html_to_markdown function 2024-03-27 16:02:04 +13:00
freamon
484d165f47 Initial support for incoming Microblog posts 2024-03-26 22:46:15 +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
rimu
ef43e78ae5 automatically block new user registrations based on referrer 2024-03-22 14:35:51 +13:00
rimu
081108a7c6 block future shitpost floods 2024-03-22 12:22:19 +13:00
rimu
40246fee1e Merge pull request 'Bot Accounts #98' (#114) from freamon/pyfedi:20 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/114
2024-03-21 08:37:27 +00:00
rimu
9fd4ac1c53 ban people from community, and unban them #21 2024-03-21 21:19:50 +13:00
freamon
82a092eec8 Also prevent bot accounts from voting 2024-03-20 10:50:42 +00:00
rimu
097d37d7e0 markdown: Parse ~~strikethrough~~ formatting 2024-03-20 21:19:34 +13:00
rimu
4fa8d13af5 fenced code blocks 2024-03-18 16:03:53 +13:00
rimu
7e67f67ca6 update Vary header to account for language 2024-03-17 20:46:33 +13:00
freamon
fcdc5afbf4 Ignore spurious warning from BeautifulSoup 2024-03-16 20:39:16 +00:00
freamon
90a89c47e2 Increase exception catching when fetching actors 2024-03-16 20:33:48 +00:00
rimu
4fc715bb18 community owners can change settings and appoint moderators #21 2024-03-13 16:40:20 +13:00
rimu
5408c4b060 instance blocking 2024-03-12 20:06:24 +13:00
rimu
01423586b5 refactor remove_tracking_from_link to preserve the t parameter in youtube urls, without regex #34 2024-03-08 22:09:54 +13: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
freamon
3e5d040beb Add header tags to allowlist 2024-03-07 21:00:11 +00:00
rimu
f2f9510dd4 peertube blocklist 2024-03-05 09:07:26 +13:00
rimu
ebea77c37d change headers to reduce network usage 2024-03-02 13:56:47 +13:00
rimu
fffb58fb07 set vary headers #57 2024-02-28 21:34:19 +13:00
rimu
8da4cce68a rss feeds with images in them 2024-02-28 12:55:30 +13:00
rimu
7b8ad6647e tables in markdown 2024-02-27 04:35:03 +13:00
rimu
2d6ec1aabd api/v1/instance/domain_blocks endpoint 2024-02-25 16:24:50 +13:00
rimu
40de319b9a allow comments on posts in communities that are restricted to mods 2024-02-24 11:07:06 +13:00
rimu
d40ab28ea2 email notifications fixes #18 2024-02-23 16:52:17 +13:00
rimu
8ce71bdd54 encode params correctly when doing webfinger 2024-02-21 08:36:00 +13:00
rimu
a566c40913 chat - tidy up and nav improvements 2024-02-19 15:56:56 +13:00
rimu
e840db1991 chat 2.0 2024-02-19 15:01:53 +13:00
rimu
03884aa534 fixes #47 2024-02-17 23:11:39 +13:00
rimu
f7fea98dff performance tweaks 2024-02-13 21:28:33 +13:00
rimu
0594dddcac smarter theme engine - derive list of themes from directory structure, not hard coded list 2024-02-07 18:33:25 +13:00
rimu
9874727eea theme engine and high contrast theme fixes #27 fixes #19 2024-02-07 17:31:12 +13:00
rimu
4f43eec998 syntax error 2024-02-05 16:23:42 +13:00
rimu
25f7eaf812 more media.tenor.com blocking 2024-02-05 08:03:56 +13:00
rimu
d69dac7631 set user-agent while parsing og:image meta tag 2024-02-04 22:02:32 +13:00
rimu
2f3f8b6155 account approval process 2024-02-02 15:30:03 +13:00
rimu
41f6a29e33 various small bugfixes 2024-01-25 20:16:08 +13:00
rimu
cf377ec6b4 allow spoiler html 2024-01-19 21:00:46 +13:00
rimu
28db316e77 bugfix 2024-01-19 07:45:48 +13:00
rimu
78d1dfb45c simplify voting 2024-01-13 22:29:57 +13:00
rimu
dff156fd12 crash on profile for anon users 2024-01-12 13:49:40 +13:00
rimu
134e213397 communities menu 2024-01-12 12:34:08 +13:00
rimu
2faafb01eb change vote button width calculation method 2024-01-11 21:18:34 +13:00
rimu
c6216f2588 per-user keyword filters 2024-01-11 20:39:22 +13:00
rimu
4e1a5efac5 improve html parsing - make plain links clickable - debug 2024-01-11 08:21:33 +13:00
rimu
438ac72657 improve html parsing - make plain links clickable 2024-01-10 19:54:54 +13:00
rimu
daf124ae49 topics in breadcrumb 2024-01-10 19:06:35 +13:00
rimu
a29a914bf0 display 1200 votes as 1.2k 2024-01-10 09:44:59 +13:00
rimu
40f53d9cd3 admins can delete anything 2024-01-08 22:43:38 +13:00
rimu
2e3cf467ba reduce overly aggressive downvote blocking 2024-01-08 18:50:37 +13:00
rimu
f26ce95864 comment ranking using confidence formula 2024-01-07 21:36:04 +13:00
rimu
396a5bae4c avoid duplicate comments and gif reactions 2024-01-06 14:54:10 +13:00
rimu
872fdb9364 fix post ranking 2024-01-06 08:16:50 +13:00
rimu
14ddb92922 guard against null date 2024-01-05 08:11:35 +13:00
rimu
e1f410151e oops 2024-01-04 17:07:02 +13:00
rimu
195901975f issues found during deployment 2024-01-03 22:52:19 +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
c1971b3d8d administer communities - list and edit 2023-12-31 12:09:20 +13:00
rimu
afb253f6d0 IP address plus cookie-based ban system 2023-12-30 19:03:44 +13:00
rimu
207efc2329 delete account, with federation 2023-12-29 17:32:35 +13:00
rimu
71d66905bd add summary text field to Pages and Notes 2023-12-28 20:39:26 +13:00
rimu
64e0193135 move long-running tasks to separate background process (image processing) 2023-12-24 16:20:18 +13:00
rimu
6182240ad3 move long-running tasks to separate background process (celery + redis) 2023-12-24 13:28:41 +13:00
rimu
1fc2ba631f stop lemmy from duplicating content 2023-12-22 16:18:44 +13:00
rimu
fec2e9117c log all outgoing actitivies 2023-12-22 15:34:45 +13:00
rimu
c3839e6873 home page, expanded admin area and domain blocking 2023-12-17 00:12:49 +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
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
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
f0a4e01fe9 post edit and delete. beginning of notifications 2023-11-30 20:57:51 +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
c9beb0c0da federation: handle remote subscriptions and unsubscriptions 2023-11-16 22:31:14 +13:00
rimu
62854c95f5 admin area for allow and block lists 2023-11-03 21:59:48 +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
b05531fda3 limit what unverified users can do 2023-10-23 13:03:35 +13:00
rimu
ec3511eb17 block conspiracy sites 2023-10-21 16:20:13 +13:00
rimu
56d09b264a user banning and purging 2023-10-21 15:49:01 +13:00
rimu
fa53128118 show replies below posts 2023-10-10 22:25:37 +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
f806551bd0 interests for onboarding 2023-09-05 20:25:10 +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