Commit graph

224 commits

Author SHA1 Message Date
rimu
c8922cc67f link user profiles to their instances 2024-10-13 10:53:47 +13:00
freamon
cb28b79108 For a.gup.pe groups, send votes to post author instead of to community 2024-10-10 15:39:36 +01:00
rimu
eff0edf817 more reliable youtube thumbnails 2024-10-06 07:03:58 +13:00
rimu
d2327fd3c1 move date humanization out of jinja and into python where exceptions can be handled properly
In the arrow package, Catalan language does not have 'weeks' defined as a way to display datetimes. A PR has been submitted.
2024-09-30 16:34:17 +13:00
rimu
bba8687567 use outer join instead #331 2024-09-30 13:49:06 +13:00
Alan Roberts
9185a56267 adding intercted_at column to read_posts table 2024-09-29 13:18:41 -04:00
Alan Roberts
42df0fe458 comment cleanup 2024-09-29 13:18:41 -04:00
Alan Roberts
ccbc0b4b22 got the relationship working, and the mark_as_read working 2024-09-29 13:18:41 -04:00
Alan Roberts
c59556fab5 adding hide-read-posts setting for user settings 2024-09-29 13:18:41 -04:00
Alan Roberts
08290b0468 Adding a hide-read-posts function 2024-09-29 13:18:41 -04:00
rimu
91def29480 post_reply refactor 2024-09-28 13:05:00 +12:00
freamon
363871241a API: process 'vote reversal' (this should have been committed with the first batch) 2024-09-26 16:00:36 +00:00
rimu
7b4cdaf30c only vote privately with untrusted instances 2024-09-24 12:04:29 +12:00
rimu
04412ec035 avoid pendingrollbackerrors by committing more often 2024-09-21 10:54:29 +12:00
freamon
1e06b42099 Add inital routes for API (with minimal changes to main codebase) 2024-09-20 16:06:08 +00:00
freamon
6e4b65b4bc Bugfix to correct post.score and post_vote.effect values 2024-09-16 13:16:14 +00:00
rimu
e616ce122f replace requests with httpx #15
better thread safety
2024-09-15 19:30:45 +12:00
rimu
6970f15e4c typo 2024-09-13 16:48:39 +12:00
rimu
740c42daea refactor voting code to enable api development #13 2024-09-13 16:39:42 +12:00
rimu
51f2b3e40e track user statistics like post count 2024-09-13 11:08:04 +12:00
rimu
dd5d90984d typo 2024-09-07 14:15:34 +12:00
rimu
760477f00c use JS IntersectionObserver to lazy load youtube videos 2024-09-07 12:36:21 +12:00
rimu
503f6719ad youtube_embed() without hardcoded character positions
this should be less likely to break if youtube changes the url format
2024-09-07 11:33:20 +12:00
freamon
2e6fb0a592 youtube embed for shorts 2024-09-06 11:28:31 +00:00
rimu
7d276136ed simplify stats code #319 2024-09-06 16:00:09 +12:00
rimu
f284be0b39 Merge pull request 'Adding admin.instances page' (#319) from JollyDevelopment/pyfedi:jollydev/admin-instances-overview into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/319
2024-09-06 03:54:04 +00:00
freamon
9e8066bc4e Convert youtu.be links to youtube.com so they embed in post 2024-09-06 01:10:39 +00:00
Alan Roberts
6357b2d3d1 adding comment to explain the sql text call 2024-09-05 13:34:16 -04:00
Alan Roberts
6e3de6e9e2 adding users back in with better query 2024-09-05 13:24:30 -04:00
Alan Roberts
2249140bf3 better queries 2024-09-05 11:59:01 -04:00
freamon
1aa023c736 Add 'instance software' selection to Search
(will look messy though, if all software names in DB aren't lower-cased.)
2024-09-03 16:48:34 +00:00
rimu
2f15fd5aea alt user names 2024-08-20 07:03:18 +12:00
rimu
fea7de022f better instance.online() logic 2024-08-19 10:18:23 +12:00
rimu
3cc220d1a2 improve robustness of nodeinfo parsing 2024-08-18 13:12:58 +12:00
rimu
e30d077e6a only refresh community and user profiles of online instances 2024-08-17 10:32:18 +12:00
rimu
41cadc1f72 only refresh community and user profiles of online instances 2024-08-17 10:31:22 +12:00
rimu
56a4d60aab refactor home page based on #293 2024-08-16 13:42:29 +12:00
rimu
2c362e32f4 remove content from communities according to retention setting #254 2024-08-15 20:27:46 +12:00
rimu
9611a27749 only prepend [Microblog] when autogenerated title is too short. fixes #266 2024-08-08 19:04:50 +12:00
rimu
c31d7c187c look up new account country by IP address 2024-08-01 16:24:36 +08:00
rimu
82cc9389ba community wiki - revisions #127 2024-07-18 15:14:55 +08:00
rimu
2c3f1763b3 community wiki #127 2024-07-17 22:11:31 +08:00
rimu
3647e2796d mod log #21 2024-07-07 15:01:52 +08:00
rimu
dd836c6532 Mod log migration #21 2024-07-06 14:50:49 +08:00
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
9e03775e16 reply thresholds 2024-06-28 18:34:54 +08:00
rimu
8548f3e2a2 make role IDs into constants #226 2024-06-27 15:19:32 +08:00
Hendrik Langer
39f39301e5 fix staff on about page 2024-06-26 16:24:15 +02:00
Hendrik Langer
67e803b5e5 make admin exempt from created_recently restrictions 2024-06-26 11:22:31 +02:00