Commit graph

1841 commits

Author SHA1 Message Date
rimu
ea4df1d2f0 edit post with hashtags 2024-10-30 09:19:32 +13:00
freamon
e2d3f6d23d Exclude blocked instances from linked instances in federated_instances response 2024-10-29 10:34:19 +00:00
freamon
57191c2c23 API: utilise DB exceptions for return errors 2024-10-27 13:36:56 +00:00
freamon
308f29ba38 API: support /comment/report 2024-10-27 10:20:38 +00:00
freamon
d738850fc7 Recalc community.post_reply_count after replies are purged as part of a post purge 2024-10-26 04:46:51 +00:00
freamon
502e6ff0f6 post soft-deletion: add options to restore or purge deleted posts 2024-10-26 03:55:56 +00:00
freamon
9a033522d1 post soft-deletion: show deleted posts in user profile to provide restoration route 2024-10-26 03:55:45 +00:00
freamon
0c0b0e4212 post soft-deletion: hide links in user profile replies section that'll likely 404 2024-10-26 03:55:35 +00:00
freamon
899bf834cd post soft-deletion: delay calling delete_dependencies until a post is purged, to allow for restoration 2024-10-26 03:55:21 +00:00
rimu
8a008e3a8a instance block on instance profile 2024-10-25 13:37:57 +13:00
rimu
de2c5b710a instance block on user profile 2024-10-25 13:14:56 +13:00
rimu
5b386ec190 show instance name after display name 2024-10-23 21:35:44 +13:00
rimu
401df0cc58 nodeinfo - open registrations 2024-10-23 16:08:24 +13:00
rimu
04a68a4298 blocking an instance hides communities too 2024-10-23 13:00:30 +13:00
rimu
841174619c Merge remote-tracking branch 'origin/main' 2024-10-23 08:37:25 +13:00
rimu
8a1aa648ae daily maintenance: handle exceptions 2024-10-23 08:37:08 +13:00
freamon
258dc1b9d7 Bugfix: restore content subscription to own post 2024-10-22 07:55:00 +00:00
rimu
156c328c6f tidy up calls to obsolete post_ranking 2024-10-22 19:51:37 +13:00
rimu
2aeac58f5e check instance.nodeinfo_href is not none 2024-10-22 19:48:23 +13:00
freamon
0274682adc Bugfix: also federate post deletion by post owners #341 2024-10-21 23:03:53 +00:00
freamon
af3bc4f0dd post-reply soft-deletion: activitypub restorations 2024-10-21 22:20:33 +00:00
freamon
1a0ad888db post-reply soft-deletion: remote users in local communities 2024-10-21 22:20:20 +00:00
freamon
0220739d16 post-reply soft-deletion: add info to activitypublog for deletions 2024-10-21 22:19:43 +00:00
rimu
0495d8a30e Abandoned open instances automatically close registrations after one week #339 2024-10-21 16:14:34 +13:00
rimu
dfa95e3b12 tidy up profiles - large images 2024-10-21 15:55:55 +13:00
rimu
cbf44ef229 Delete voting data after 6 months 2024-10-21 15:50:11 +13:00
rimu
384d8077be avoid trying to delete already deleted posts 2024-10-21 10:22:59 +13:00
rimu
42439fb90a Merge branch 'refactor-post-new' 2024-10-21 09:56:20 +13:00
rimu
1d77d42946 post-new: do not double count 2024-10-21 09:55:39 +13:00
rimu
518f165c1f post-new: image posts 2024-10-20 20:21:30 +13:00
rimu
2d6d9b960c Merge remote-tracking branch 'origin/main' 2024-10-20 11:54:31 +13:00
rimu
d7b750f9b9 make disable_voting work again - user profiles 2024-10-20 11:23:20 +13:00
freamon
a627de0985 post-reply soft-deletion: also replace content for activitypub retrievals 2024-10-19 21:56:01 +00:00
freamon
3196c2cb79 post-reply soft-deletion: activitypub fixes 2024-10-19 21:19:35 +00:00
freamon
148d230527 post-reply soft-deletion: add option to purge a comment 2024-10-19 17:27:42 +00:00
freamon
5643c19e44 post-reply soft-deletion: add deleted comments to user view, to provide restoration route 2024-10-19 17:27:30 +00:00
freamon
9ef5aeecb3 post-reply soft-deletion: collapse deleted comments in post view 2024-10-19 17:27:16 +00:00
freamon
9e80066d2a post-reply soft-deletion: add restore function 2024-10-19 17:27:03 +00:00
freamon
a2fae00936 post-reply soft-deletion: replace content in HTML with 'deleted by author/moderator' 2024-10-19 17:26:50 +00:00
freamon
a2a81e5726 post-reply soft-deletion: don't overwrite content, so it can be restored 2024-10-19 17:26:26 +00:00
freamon
df2dc6e020 post-reply soft-deletion: keep current behaviour by not hard-deleting replies that have their own replies 2024-10-19 17:26:08 +00:00
freamon
7983105c58 post-reply soft-deletion: comment out uncalled routine 2024-10-19 17:25:54 +00:00
rimu
375235435e Merge remote-tracking branch 'origin/main' 2024-10-16 21:55:54 +13:00
rimu
77172f1d9c minor bugfixes via sentry 2024-10-16 21:55:41 +13:00
rimu
feca5992af refactor post-new wip 2024-10-16 21:42:30 +13:00
freamon
55d47168ce Use original follow id to unsubscribe from a.gup.pe groups
(doesn't properly unsubscribe if gibberish is used)
2024-10-15 02:01:05 +00:00
freamon
afe6605ceb API: support /comment/delete for user reply delete/restore 2024-10-14 04:29:06 +00:00
rimu
ba2a97c4ad deleted_by field - no foreign keys as they were confusing sqlalchemy 2024-10-14 15:48:55 +13:00
rimu
cec844ec4f refactor post-new wip 2024-10-14 15:37:00 +13:00
rimu
d8c75991cd Merge remote-tracking branch 'origin/main' 2024-10-14 12:35:38 +13:00
rimu
f1ddbcf008 populate deleted_by field 2024-10-14 12:35:24 +13:00
rimu
377d07a67e deleted_by field on Post, PostReply and User 2024-10-14 12:29:56 +13:00
freamon
07010ffaee API: ensure only reply owner can edit the reply 2024-10-13 20:29:05 +00:00
freamon
9054f05c1d API: For comments, prefer 'english' over 'no language' or 'undetermined' 2024-10-13 20:28:53 +00:00
rimu
f2af615d02 pagination on instance people list 2024-10-13 11:16:36 +13:00
rimu
4d285e6871 FEP-268d - federation 2024-10-13 10:57:33 +13:00
rimu
c8922cc67f link user profiles to their instances 2024-10-13 10:53:47 +13:00
rimu
815d13b1f7 Merge remote-tracking branch 'origin/main' 2024-10-13 10:52:51 +13:00
rimu
955af755de FEP-268d: Search consent signals for objects 2024-10-13 10:51:50 +13:00
freamon
e2160bde40 API: support /comment endpoint for editing post replies 2024-10-12 19:16:02 +00:00
freamon
bd0d3fb9e8 API: support 'Popular' listing type 2024-10-12 19:12:53 +00:00
rimu
97396e9343 instance templates 2024-10-12 17:13:22 +13:00
rimu
fde98f381c instance overview page 2024-10-12 17:07:53 +13:00
rimu
91465c4ced Merge remote-tracking branch 'origin/main' 2024-10-12 16:56:35 +13:00
rimu
2e56b6c5c0 show people and posts from each instance 2024-10-12 16:56:22 +13:00
rimu
1bee5a74b7 move instances list to dedicated package/blueprint 2024-10-12 16:25:20 +13:00
freamon
699efbd2d9 API: support /comment endpoint for creating new post replies 2024-10-11 17:09:32 +00: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
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
rimu
de8530aa54 expand 2 character variable names #328 2024-09-30 10:31:30 +13:00
rimu
a14f3a3a62 be careful not to redefine 'db', that breaks everything #328 2024-09-30 09:56:25 +13:00
Alan Roberts
779def72aa adding read-posts filtering to domain page 2024-09-29 14:02:29 -04: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
48bae31d6c adding user read-posts page 2024-09-29 13:18:41 -04:00
Alan Roberts
c6fb8fc554 got the read posts filering on main, topics, and community pages 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
freamon
e34eeb9ec8 Bugfix: user save settings redirects to new function name 2024-09-29 14:16:57 +00:00
rimu
c9883c07c0 strip post title - activitypub 2024-09-29 17:15:47 +13:00
rimu
fd9d744111 strip post title 2024-09-29 17:13:30 +13:00
rimu
91def29480 post_reply refactor 2024-09-28 13:05:00 +12: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
8a5b7fd8b1 button display rephrase of text 2024-09-27 08:58:06 -04:00
Alan Roberts
9498dbd323 removed testing flash message 2024-09-27 08:55:12 -04:00
Alan Roberts
e83e1874e1 fixing admin routes typo lines 2024-09-27 08:55:12 -04:00
Alan Roberts
f97a366135 further tweaks 2024-09-27 08:55:12 -04:00
Alan Roberts
1cbb15a32b checking for use_allowlist in exports 2024-09-27 08:55:12 -04:00
Alan Roberts
49a9e3e692 more ban imports steps 2024-09-27 08:55:12 -04: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
freamon
a14a41c18e Include check for post.deleted when looking for cross posts 2024-09-27 10:12:46 +00:00
freamon
8542963ac2 Include check for post.deleted in check_url_already_posted 2024-09-27 10:12:31 +00:00
freamon
a926eb0f1a API: process post/subscribe and comment/subscribe 2024-09-26 16:01:55 +00:00
freamon
dbc8c3805e API: handle /user?username route option if user is logged in 2024-09-26 16:00:50 +00:00
freamon
363871241a API: process 'vote reversal' (this should have been committed with the first batch) 2024-09-26 16:00:36 +00:00
freamon
d5b68e0779 API: reorganise views to put DB calls in one place 2024-09-26 16:00:23 +00:00
freamon
7e77c0728d Revert to always preferring incoming Markdown over HTML
Due to issues with spoiler format for Lemmmy and Fediverse links for MBIN (#327)
2024-09-25 01:09:28 +00:00
freamon
8437154f48 Regex embedded mp4/webm/mp3 files out of <img> and into <video> or <audio> tags 2024-09-24 22:20:35 +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
2de2f9ed2d API: add post/save and comment/save routes (aka bookmarks) 2024-09-23 12:40:27 +00:00
freamon
e6f3bd6fb4 Add pages for admins and community mods to see voting activity 2024-09-22 22:55:47 +00:00
freamon
6413490cc3 Revert earlier decision to only send out HTML (pls see app/utils.py line 327) 2024-09-22 13:45:03 +00:00
freamon
506becc41c API: fix for queries by community name 2024-09-22 13:44:50 +00:00
rimu
ea1564cc87 Merge remote-tracking branch 'origin/main' 2024-09-22 22:05:45 +12:00
rimu
3fb7470f33 lazy load streamable and redgifs 2024-09-22 22:05:21 +12:00
freamon
646bcdf7be avoid wrapping anchors around existing anchors
(e.g. if raw URL already wrapped by remote PieFed instance)
2024-09-21 22:14:27 +00:00
freamon
bdb201f4d3 Remove safe_mode=True for Markdown2, as most things go straight through allowlist_html, and it mangles code in <code> blocks 2024-09-21 22:14:07 +00:00
freamon
5e2ec8f9d9 Remove last remaining uses of lemmy_markdown_to_html
Everything is now piped through allowlist (except spoiler MD as Lemmy doesn't convert the MD in the contents)
2024-09-21 22:13:52 +00:00
freamon
bb9059bf70 Remove code that added comment from autotl;dr bot to post body (bot was disabled 23/07) 2024-09-21 22:13:35 +00:00
rimu
69ac4f2beb Merge remote-tracking branch 'origin/main' 2024-09-21 13:23:28 +12:00
rimu
5e1f67d162 issues found with sentry 2024-09-21 13:23:14 +12:00
freamon
56a7f65c44 Decrement post.reply_count if reply from local user is deleted 2024-09-20 23:17:21 +00:00
rimu
04412ec035 avoid pendingrollbackerrors by committing more often 2024-09-21 10:54:29 +12:00
rimu
e9594ad646 Merge remote-tracking branch 'origin/main' 2024-09-21 10:15:39 +12:00
rimu
700b1c98de better instance failure detection 2024-09-21 10:15:25 +12:00
freamon
1e06b42099 Add inital routes for API (with minimal changes to main codebase) 2024-09-20 16:06:08 +00:00
rimu
37d3501136 Merge remote-tracking branch 'origin/main' 2024-09-17 09:47:43 +12:00
rimu
b3ef7cc106 recalculate_post_stats when viewing profile 2024-09-17 09:47:31 +12: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
d0cbf592ea tweaks #323 2024-09-14 15:50:23 +12:00
Alan Roberts
e1d7a117ef updated user message 2024-09-13 14:08:32 -04:00
Alan Roberts
1e03afe36e adding a size check on amount of communities requested 2024-09-13 14:04:04 -04:00
Alan Roberts
8fca0b7aca comment clean up 2024-09-13 13:02:17 -04:00
Alan Roberts
56b7621fac adjusting the return for the view 2024-09-13 12:49:10 -04:00
Alan Roberts
8eb34ac4d2 changing referrer check 2024-09-13 11:44:37 -04:00
Alan Roberts
859edac084 passing user.id rather than the user directly 2024-09-13 11:34:14 -04:00
Alan Roberts
6b72b9cb64 adding a way to pass a user to do_subscribe 2024-09-13 11:26:00 -04:00
Alan Roberts
cf5bb65a9f making do_subscribe a celery task, messages to user updates 2024-09-13 11:10:10 -04:00
Alan Roberts
cf2400e5d5 work to make the num of communities user configurable 2024-09-13 10:26:07 -04:00
Alan Roberts
f00a9b2722 initial pass at the subscribe step 2024-09-13 10:26:07 -04:00
Alan Roberts
badf4cddba got the top 25 sorting for pre-load function to work 2024-09-13 10:26:07 -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
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
30dedd19c5 show stats on user profile 2024-09-13 11:21:42 +12:00
rimu
51f2b3e40e track user statistics like post count 2024-09-13 11:08:04 +12:00
rimu
1a658d007f initial admin user - alt_user_name 2024-09-12 09:18:59 +12:00
rimu
c733a856c4 do not update baguettebox in future #321 2024-09-11 15:22:39 +12:00
rimu
a8be200aec small preview text 2024-09-11 10:56:14 +12:00
rimu
33cd7ebdaf bio for anon voting alt 2024-09-10 10:34:31 +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
rimu
dfe976a8b6 a few tweaks #316 2024-09-10 08:14:34 +12:00
rimu
3f1bbc82b7 Merge remote-tracking branch 'origin/main' 2024-09-10 08:10:01 +12:00
Alan Roberts
50bc016c6b adding lemmy default settings 2024-09-09 08:18:25 -04:00
Alan Roberts
0181c28a64 adding show bot accounts 2024-09-09 08:18:25 -04:00
Alan Roberts
e9c1932356 arrange output to match lemmy output format 2024-09-09 08:18:25 -04:00
Alan Roberts
42da1ab2ea adding saved posts and comments 2024-09-09 08:18:25 -04:00
Alan Roberts
a275201a44 adding blocked communities and instances 2024-09-09 08:18:25 -04:00
Alan Roberts
6677aa506c adding blocked users to export 2024-09-09 08:18:25 -04:00
Alan Roberts
77c5278996 more lemmy output compatibility 2024-09-09 08:18:25 -04: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
e623e1cec0 adding avatar, cover image, roles, reputations, and attitude to the settings exports 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
cbacef87d0 just to be sure 2024-09-09 20:20:58 +12:00
rimu
f49e4db596 lightbox scrolling issue #321 2024-09-09 17:29:44 +12:00
rimu
a03d249a18 disallow spaces in user names #320 2024-09-09 17:20:00 +12:00
rimu
5cb0644b46 disallow spaces in user names #320 2024-09-09 16:48:09 +12:00
rimu
34203bd92a image width and height 2024-09-09 15:35:22 +12:00
rimu
801bceb7df image width and height 2024-09-09 09:08:34 +12:00
rimu
3cb3a1b80d youtube with and without the www 2024-09-09 09:04:05 +12:00
rimu
1ef01d12ab retry get requests 2024-09-09 08:43:10 +12:00
freamon
0da0845abe Fix for bug that was preventing text-only posts from processing 2024-09-08 12:38:10 +00: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
943bcc34cd tweak css for post utilities bar 2024-09-07 18:44:51 +12:00
rimu
4fde5480d3 tweak image display 2024-09-07 14:22:35 +12:00
rimu
7f11101a78 tweak image display 2024-09-07 14:18:20 +12:00
rimu
dd5d90984d typo 2024-09-07 14:15:34 +12:00
rimu
93e3b95362 start loading youtube just before it appears on the screen 2024-09-07 12:41:51 +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
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
rimu
d62d3e30fb Merge remote-tracking branch 'origin/main' 2024-09-07 11:15:46 +12:00
rimu
026a7e699c detect video posts better 2024-09-07 11:15:33 +12:00
freamon
2e6fb0a592 youtube embed for shorts 2024-09-06 11:28:31 +00:00
rimu
1f5788e560 temporarily revert change until it is properly debugged 2024-09-06 23:14:57 +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
d68a25d17f dormant instances are those that are not gone_forever #319 2024-09-06 16:03:20 +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
1a0149cb80 Use youtu.be rather than youtube.com to grab thumbnail images 2024-09-06 01:10:51 +00:00
freamon
9e8066bc4e Convert youtu.be links to youtube.com so they embed in post 2024-09-06 01:10:39 +00:00
rimu
6741b1a35a css tweak #148 2024-09-06 12:59:59 +12: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