Commit graph

231 commits

Author SHA1 Message Date
rimu
7ab53804d1 larger images and videos 2024-09-06 22:39:27 +12:00
freamon
9e8066bc4e Convert youtu.be links to youtube.com so they embed in post 2024-09-06 01:10:39 +00:00
freamon
ef50a844c5 Regex fix for sub and super script 2024-09-05 07:27:12 +00:00
freamon
2069ca517e Start using Lemmy's HTML 'content' field through an allowlist instead of translating Markdown 2024-08-25 15:58:38 +00:00
rimu
3b76c0fe46 avoid invalid language id 2024-08-20 07:17:18 +12:00
freamon
0512db7f5a Avoid defaulting to Afaraf for brand new users (Bugfix for #273) 2024-08-19 14:40:36 +00:00
freamon
6b1218ce02 Default language selection is always most recently used (Bugfix for #273) 2024-08-19 13:50:49 +00:00
rimu
8fbf59e189 don't send to banned instances 2024-08-19 10:24:49 +12:00
rimu
b8d8b4d74d bugfix 2024-08-17 11:03:52 +12:00
rimu
d0cc79f8ad accept mastodon replies 2024-08-17 10:26:33 +12:00
Alan Roberts
de7c8c9d4c work to get the routes aligned and working 2024-08-15 11:50:02 +00:00
rimu
1f0c8eb6ff community blocking #283 2024-08-12 20:54:10 +12:00
rimu
935337cbd0 tidy ups to #289 2024-08-12 20:23:26 +12:00
Alan Roberts
d0ffaccd58 adding current_mode in custom render_template 2024-08-11 08:04:04 -04:00
rimu
9611a27749 only prepend [Microblog] when autogenerated title is too short. fixes #266 2024-08-08 19:04:50 +12:00
rimu
ac8a7a31f3 disabling downvotes should have a global effect 2024-08-07 17:17:38 +12:00
rimu
f4ff75f88f lemmy - backslashes used for line breaks 2024-08-07 17:13:35 +12:00
rimu
1a2203038c add timeouts to all HTTP requests to avoid hangs 2024-07-30 11:18:06 +08:00
rimu
7b7b0abf17 allow strikethrough html tag #267 2024-07-21 17:04:42 +08:00
rimu
82cc9389ba community wiki - revisions #127 2024-07-18 15:14:55 +08:00
rimu
3643526706 admins can set permissions for staff role #21 2024-07-16 21:29:06 +08:00
rimu
070e5726ef Mastodon - spans with class "invisible" #31 2024-07-16 09:36:31 +08:00
rimu
557e73d6a2 public mod log #21 2024-07-07 16:03:35 +08: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
d9d69c0b8a caching on home page and posts, especially for anonymous users
the home page and post pages are the most likely to get slashdotted by mastodon.
2024-06-30 15:29:52 +08:00
rimu
10b9f859a9 only create keys if they don't have any #225 2024-06-26 21:25:40 +08:00
Hendrik Langer
30e4723ab5 run finalize_user_setup on manual verification 2024-06-26 13:37:30 +02:00
rimu
328eb71648 slight reorganisation #215 2024-06-25 10:06:01 +08:00
rimu
433dd91126 Merge pull request 'Use Site default theme for not logged in users' (#215) from jeena/pyfedi:theme into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/215
2024-06-25 02:02:02 +00:00
rimu
115247f422 improve thumbnail generation reliability 2024-06-22 14:18:26 +08:00
Jeena
fc7e0e53ac Use Site default theme for not logged in users
Until now only logged in users who did not choose a default theme
would get the Site default theme. With this change even users who
did not log in will get the Site default theme.
2024-06-22 13:55:57 +09:00
rimu
6461cf88cf increase language limit #210 2024-06-21 16:21:30 +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
freamon
8137c6b4b1 Simplify regex for raw URLs in text 2024-06-17 16:54:27 +01:00
rimu
7534822231 announcements on home page, set in Admin -> Site Profile 2024-06-10 19:07:15 +08:00
rimu
f859dd8c1f replies collection on outbox and /post/xxx #175 2024-06-05 20:33:23 +12:00
rimu
a5583dc37e public_url on posts too #194 2024-06-05 16:23:31 +12:00
rimu
cf3dec5768 profile_id or user_name.lower() everywhere #194 2024-06-04 09:44:10 +12:00
rimu
82704ae421 added comment 2024-06-04 08:51:32 +12:00
freamon
ff43df1a21 Avoid picking up trailing punctuation for raw URLs in text 2024-06-03 21:29:00 +01:00
rimu
a08e0ce6e7 add topics to main menu and reduce size of output html 2024-05-30 21:54:25 +12:00
rimu
709980c6f3 flag low effort commenters 2024-05-21 22:20:08 +12:00
rimu
6495169659 refresh instance stats during daily maintenance #188 2024-05-21 18:07:07 +12:00
rimu
f90d07f470 ignore Lemmy's superfluous hashtags 2024-05-18 15:08:42 +12:00
rimu
df6edf040b cope with titles with no punctuation #185 2024-05-18 11:51:32 +12:00
rimu
d43e381b3e block remote actors containing any word 2024-05-16 15:44:42 +12:00
freamon
c77a6de126 Render Markdown soft breaks as new lines for new local content #133 2024-05-14 19:33:08 +01:00
rimu
ec7f38f0cb simplify conditions #183 2024-05-14 22:04:52 +12:00
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