Commit graph

1574 commits

Author SHA1 Message Date
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
773ba7040c Merge remote-tracking branch 'origin/main' 2024-10-10 19:47:08 +13:00
rimu
1f18a05a4d sanitize user display names #336 2024-10-10 19:46:55 +13:00
freamon
d09c21a32e API: support /site/block endpoint 2024-10-09 23:48:58 +00:00
freamon
b49bb4cf3f API: initial support for /search endpoint (enough for instance view) 2024-10-09 23:46:57 +00:00
rimu
522a607647 Merge remote-tracking branch 'origin/main' 2024-10-09 13:25:04 +13:00
rimu
83f8a70407 exclude deleted posts from search results 2024-10-09 13:24:50 +13:00
freamon
fef2c16635 Bugfix: import EditInstanceForm into admin/routes 2024-10-08 11:23:10 +00:00
freamon
8bbacc3da6 API: let exceptions bubble-up instead of unnecessary catch and raise 2024-10-08 11:22:54 +00:00
rimu
29f48f58b3 accept alt text 2024-10-08 07:47:43 +13:00
rimu
a0e8f673c9 effects of upgrading sass #337 2024-10-08 07:13:11 +13:00
rimu
88e7bdca57 Merge remote-tracking branch 'origin/main' 2024-10-08 07:02:05 +13:00
rimu
b3144f6d7d fixes #337 2024-10-08 07:01:51 +13:00
freamon
45b68c6a7f API: process /community/block endpoint 2024-10-07 13:57:19 +00:00
freamon
f73b428cc8 Recalculate topic community count if topic changed #338 2024-10-07 02:21:48 +00:00
freamon
5f42de3893 API: process /community/follow (for joining and leaving communities) 2024-10-07 00:51:05 +00:00
freamon
ab6d66e7e2 API: return 'SubscribedType' (for if the community is being followed) 2024-10-07 00:48:47 +00:00
freamon
41aa128b67 API: return user_id as int, not str 2024-10-07 00:48:37 +00:00
freamon
75d5c821a0 Also increment author's post_count when backfilling 2024-10-06 13:09:48 +00:00
freamon
be42d6eb6d Also delete blocked_users cache when blocking users in Post and Reply Options page 2024-10-06 13:08:21 +00:00
freamon
30fb76ed9e API: better error msg if Auth is missing from header 2024-10-06 02:17:13 +00:00
freamon
7c8dfe6bd3 API: support /user/block endpoint 2024-10-05 20:55:04 +00:00
rimu
eff0edf817 more reliable youtube thumbnails 2024-10-06 07:03:58 +13:00
rimu
0c646c5cf4 cross-posting of bot-generated posts #206 2024-10-05 18:58:07 +13:00
rimu
488bfab901 Merge remote-tracking branch 'origin/main' 2024-10-05 12:25:43 +13:00
rimu
23836fbcc1 fixes #335 2024-10-05 12:25:31 +13:00
freamon
4cfcc69648 Update if account is a bot or not when refreshing user profiles #334 2024-10-04 10:51:29 +00:00
rimu
f4ad10e4c4 heh #333 2024-10-04 19:03:40 +13:00
rimu
a7fbd57188 use smallest version of community thumbnail #333 2024-10-04 18:58:41 +13:00
rimu
1094a2b5fb undo effects of different sass version 2024-10-04 18:48:05 +13:00
rimu
3ccbe67ab8 Merge pull request 'Add community icon infront of name in teasers' (#333) from jeena/pyfedi:main into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/333
2024-10-04 05:44:50 +00:00
freamon
baaf93087d Add 'Account->Activity Alerts' page to show content subscriptions
(not sure of best terminology for these - feel free to rename)
2024-10-02 09:18:27 +00:00
rimu
5912e363a0 Revert "extensive logging for find_actor_or_create() issues"
This reverts commit cbd68f8fd8.
2024-10-02 20:31:21 +13:00
rimu
ac71830c72 display json even if not valid json 2024-10-02 20:29:09 +13:00
rimu
0c493549e3 html response logging 2024-10-02 20:12:32 +13:00
Jeena
157486d7b2 Add community icon infront of name in teasers
I have a much easier time recognizing icons, even if they're small
compared to reading the name of the community. I thought for
example that beehive blocked me because I never saw any posts from
there.

Turns out I see all of them, I just didn't realize that those posts
were from beehive, because we don't show the domain part of a
community, so I assumed every time I saw c/technology it came
from lemme world. With the icon I can see imediatelly that it's
from beehive.

It does make the page a bit heavier because the browser needs to
download all the community icons, but in my opinion it is worth
it for the better UX.
2024-10-01 22:01:01 +00:00
rimu
cbd68f8fd8 extensive logging for find_actor_or_create() issues 2024-10-01 09:33:10 +13:00
rimu
deb14b73f3 generate medium sized image even when source image is small #332 2024-10-01 09:23:26 +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
5465f945be old cross posts 2024-09-30 16:04:15 +13:00
rimu
c5208b1afe peertube missing descriptions 2024-09-30 16:02:06 +13:00
rimu
c37a01fde4 set instance.start_trying_again if it has not been already 2024-09-30 15:58:02 +13:00
rimu
0771bc8386 dang 2024-09-30 15:52:13 +13:00
rimu
def1c5fbfc debugging tweaks 2024-09-30 15:46:50 +13:00
rimu
c9372f38c5 only show link to read history if tracking is enabled #331 2024-09-30 14:14:53 +13:00
rimu
a2db4c669e add option to clear read history - privacy #331 2024-09-30 14:09:29 +13:00
rimu
bc4fa5b202 use join instead #331 2024-09-30 13:49:17 +13:00
rimu
bba8687567 use outer join instead #331 2024-09-30 13:49:06 +13:00
rimu
3ad1071e01 Merge remote-tracking branch 'origin/main' 2024-09-30 13:24:06 +13:00
rimu
39cffce73c Merge pull request 'Adding a "Hide Read" function' (#331) from JollyDevelopment/pyfedi:jollydev/hide-read-function into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/331
2024-09-30 00:23:49 +00:00