Commit graph

206 commits

Author SHA1 Message Date
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