Commit graph

678 commits

Author SHA1 Message Date
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
ac71830c72 display json even if not valid json 2024-10-02 20:29:09 +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
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
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
bba8687567 use outer join instead #331 2024-09-30 13:49:06 +13:00
Alan Roberts
48bae31d6c adding user read-posts page 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
rimu
c893d32aaa link tweak 2024-09-28 09:12:15 +12:00
rimu
84d2c1e877 Merge pull request 'Adding export/import for various instance level bans' (#328) from JollyDevelopment/pyfedi:jollydev/export-import-block-lists into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/328
2024-09-27 21:11:14 +00:00
Alan Roberts
d046df22e3 adding bans import side 2024-09-27 08:55:12 -04:00
Alan Roberts
d3198016db getting bans list export setup 2024-09-27 08:55:12 -04:00
Alan Roberts
549abde9b3 Adding import, export for bans 2024-09-27 08:55:12 -04:00
Jeena
14fa658774 Add direct link to reply/comment
It's difficult to be able to copy and paste a link to a specific
comment or reply. It's only easy from the notifications page.

This patch introduces a link to a comment/reply by changing
the <span> to a <a> around the "When" text like "15 hours ago".

This is usually how other websites do deep links to comments too,
they make the time of post into a clickable link, so people should
be able to find it easyly.
2024-09-27 11:02:10 +00:00
rimu
7b4cdaf30c only vote privately with untrusted instances 2024-09-24 12:04:29 +12:00
rimu
b0e478b335 change instance settings #255 2024-09-24 11:33:49 +12:00
rimu
8fcd4c7de7 list trusted instances 2024-09-24 09:36:19 +12:00
rimu
7e4163db6b limit access to voting data 2024-09-24 09:28:06 +12:00
rimu
705de82714 only show Voting Activity link if logged in 2024-09-24 09:08:54 +12:00
freamon
db250b6aeb Add option for admins to kick remote subscribers from local communities
(unsubscribe without ban, typically because their instance is dead)
2024-09-23 15:06:37 +00:00
freamon
e6f3bd6fb4 Add pages for admins and community mods to see voting activity 2024-09-22 22:55:47 +00:00
rimu
3fb7470f33 lazy load streamable and redgifs 2024-09-22 22:05:21 +12:00
Alan Roberts
cf5bb65a9f making do_subscribe a celery task, messages to user updates 2024-09-13 11:10:10 -04:00
Alan Roberts
3838ad5701 Adding a pre-load of threadiverse communities to the admin area 2024-09-13 10:26:07 -04:00
rimu
30dedd19c5 show stats on user profile 2024-09-13 11:21:42 +12:00
rimu
a8be200aec small preview text 2024-09-11 10:56:14 +12:00
rimu
4fcdcc0b77 move import and export to dedicated form #316
rather than mixing it in with the settings
2024-09-10 08:29:44 +12:00
Alan Roberts
713516c6ae removing the admin bits and just making it a user export 2024-09-09 08:18:25 -04:00
Alan Roberts
b659e463d4 adding admin level export as well 2024-09-09 08:18:25 -04:00
Alan Roberts
a043876acc Adding an export for user settings and subscriptions 2024-09-09 08:18:25 -04:00
rimu
801bceb7df image width and height 2024-09-09 09:08:34 +12:00
rimu
ba0f7bac48 show community layout on admin list 2024-09-08 17:03:51 +12:00
rimu
58c3447a11 lazy load youtube preview 2024-09-08 13:23:37 +12:00
rimu
065d1e1078 only embed youtube vids on AC power 2024-09-08 12:31:16 +12:00
rimu
760477f00c use JS IntersectionObserver to lazy load youtube videos 2024-09-07 12:36:21 +12:00
rimu
dba016e05e show videos in teaser 2024-09-07 12:11:01 +12:00
rimu
0bae4c770f center voting buttons on mobile 2024-09-06 22:50:20 +12:00
rimu
7ab53804d1 larger images and videos 2024-09-06 22:39:27 +12: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
rimu
0c7cd6d34c Merge remote-tracking branch 'origin/main' 2024-09-06 15:43:33 +12:00
rimu
b6a44b100c post teaser refactor to improve maintainability 2024-09-06 15:43:22 +12: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
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
Alan Roberts
1d1abdac6d adding dormant and gone filters 2024-09-05 09:10:30 -04:00
Alan Roberts
af8f81c058 adding communities stat to instances page 2024-09-05 09:10:30 -04:00
Alan Roberts
94bc1a6867 adding known users column 2024-09-05 09:10:30 -04:00
Alan Roberts
959d5a386a further admin instance page adjustments 2024-09-05 09:10:30 -04:00