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