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