Felix Ableitner
a88f4d6ef3
fix setting
2024-01-08 12:09:05 +01:00
Dessalines
33999171ad
Markdown link rule-dess ( #4356 )
...
* Extracting opengraph_data to its own type.
* A few additions for markdown-link-rule.
---------
Co-authored-by: Nutomic <me@nutomic.com>
2024-01-08 11:56:55 +01:00
Felix Ableitner
1f29e72127
clippy
2024-01-05 11:31:58 +01:00
Felix Ableitner
d793d803b0
address review
2024-01-04 16:17:41 +01:00
Felix Ableitner
dc17cb13e9
Merge branch 'main' into markdown-link-rule
2024-01-04 12:47:14 +01:00
ALEX11BR
a5289dd4cf
Use `pretty_assertions` for assertions ( #4347 )
...
* Use `pretty_assertions` for assertions
* fixed ordering of `use`s
* ci
---------
Co-authored-by: Felix Ableitner <me@nutomic.com>
2024-01-04 04:47:18 -05:00
Dessalines
009a45dffb
Adding /post/like/list and /comment/like/list for admins. ( #4332 )
...
- Allows admins to view likes, sorted by downvotes first,
for a given comment or post.
- Fixes #4088
2024-01-03 13:39:21 -05:00
Nutomic
4163e0465e
Dont ignore errors during login ( fixes #4319 ) ( #4321 )
...
* Dont ignore errors during login (fixes #4319 )
* fix test
* fmt
2024-01-03 10:34:03 -05:00
Sander Saarend
35db0dc8e7
Reduce initial federation retry delay ( #4346 )
2024-01-03 10:31:23 +01:00
Felix Ableitner
06257f9e0d
fix test
2023-12-21 13:25:12 +01:00
Felix Ableitner
becf54c4c4
add image proxy test, fix test
2023-12-21 12:06:38 +01:00
Felix Ableitner
3d698dde7c
Merge branch 'main' into markdown-link-rule
2023-12-21 10:43:00 +01:00
phiresky
6790b54d4d
make activity channel infallible ( #4295 )
2023-12-18 13:17:10 -05:00
Nutomic
a790a24c4d
Revert debug auth ( #4232 )
...
* Revert "Some changes to help debug auth problems on lemmy.ml (#4220 )"
This reverts commit 16ac893e15
.
* Rename auth cookie back to jwt
2023-12-05 11:22:08 -05:00
Dessalines
2b5a31b411
Upgrading deps. ( #4196 )
...
* Upgrading deps.
* Try to use native node-fetch function.
* Fixing image upload tests.
2023-11-24 10:29:41 +01:00
Felix Ableitner
6232fa0279
Merge branch 'main' into markdown-link-rule
2023-11-23 12:04:40 +01:00
Dessalines
28d779a960
Fixing issue with mods not being able to view reports. Fixes #4172 ( #4174 )
...
* Fixing issue with mods not being able to view reports. Fixes #4172
* Addressing PR comments.
2023-11-21 16:33:49 +01:00
dullbananas
30f7135f32
Use rust 1.74.0 in CI and move clippy lints to Cargo.toml ( #4170 )
...
* ci rust 1.74.0
* do it
* Update .woodpecker.yml
* Update Cargo.toml
* Update lint.sh
* Update lib.rs
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-11-21 08:51:22 -05:00
Nutomic
a00313e680
Merge `/site_inbox` into `/inbox`, remove unique constraint for inboxes ( #4138 )
...
* Merge /site_inbox into /inbox (fixes #4137 )
Get rid of different inboxes, only use /inbox
Remove shared_inbox_url db columns
add code migration
move to db migration, fixes
machete
fix sql
drop inbox url unique constraints
Dont create auth cookie in backend (#4136 )
dont change individual inboxes to shared inbox
Dont send comment reply to user who has community blocked. Fixes #3684 (#4096 )
* Dont send comment reply to user who has community blocked. Fixes #3684
* Adding source instance block check.
* Adding api test.
* Addressing PR comments.
* move site inbox rewrite to db
* fix test
* clippy
* clippy 2
* fix test
2023-11-16 14:22:40 +01:00
Dessalines
e2bf2ce530
Removing show_new_post_notifs. ( #4158 )
2023-11-15 10:20:01 +01:00
Dessalines
28c30cc502
Adding skip_serializing_none to federation state. ( #4152 )
2023-11-14 08:20:44 -05:00
Nutomic
1d23df37d8
Rename cache_remote_images setting to cache_external_link_previews (ref #4035 ) ( #4148 )
2023-11-13 09:19:09 -05:00
Dessalines
e00b0c9da2
Dont send comment reply to user who has community blocked. Fixes #3684 ( #4096 )
...
* Dont send comment reply to user who has community blocked. Fixes #3684
* Adding source instance block check.
* Adding api test.
* Addressing PR comments.
2023-11-09 12:03:25 +01:00
Nutomic
aaaf17486d
Dont create auth cookie in backend ( #4136 )
2023-11-08 07:55:09 -05:00
Felix Ableitner
6257469e51
Merge branch 'main' into markdown-link-rule
2023-11-07 12:01:27 +01:00
Dessalines
97a4fb9a72
Add UI setting for collapsing bot comments. Fixes #3838 ( #4098 )
...
* Add UI setting for collapsing bot comments. Fixes #3838
* Fixing clippy check.
2023-11-06 16:09:12 -05:00
phiresky
b9b65c9c18
add federation queue state to get_federated_instances api ( #4104 )
...
* add federation queue state to get_federated_instances api
* feature gate
* move retry sleep function
* move stuff around
2023-11-06 16:07:04 -05:00
Felix Ableitner
a5dc167b10
invert
2023-11-06 13:12:53 +01:00
Felix Ableitner
abe3ab2809
machete
2023-11-06 13:03:59 +01:00
Felix Ableitner
66229ab902
Merge branch 'main' into markdown-link-rule
2023-11-06 12:45:26 +01:00
Felix Ableitner
ecd8e3b11b
federate post url as image depending on mime type
2023-11-06 12:35:01 +01:00
Felix Ableitner
706841950d
add setting disable_external_link_previews
2023-11-03 11:43:04 +01:00
Nutomic
9007d49324
Remove unused deps ( #4111 )
...
* Remove unused deps
* Adding cargo-machete to woodpecker.
---------
Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-10-31 11:11:12 +01:00
Felix Ableitner
7fbfa48590
fix tests
2023-10-30 11:58:44 +01:00
Felix Ableitner
c2a763d6fb
get rid of cache_remote_thumbnails setting, instead automatically
...
take thumbnail from federation data if available.
2023-10-30 10:58:31 +01:00
Felix Ableitner
ed3e2e0d8c
should be media_type
2023-10-27 16:48:46 +02:00
Felix Ableitner
97697aa413
store post url content type in db
2023-10-27 16:42:43 +02:00
Felix Ableitner
5507d2d680
include url content type when sending post over apub ( fixes #2611 )
2023-10-27 16:24:47 +02:00
Felix Ableitner
c8c355dbe2
more cleanup ( fixes #2611 )
2023-10-27 16:20:44 +02:00
Felix Ableitner
bf205399e5
cleanup request.rs file
2023-10-27 12:33:03 +02:00
Felix Ableitner
9b40d74cce
Merge branch 'main' into markdown-link-rule
2023-10-26 12:48:57 +02:00
Felix Ableitner
98b5746472
add tests
2023-10-26 12:32:38 +02:00
Felix Ableitner
986913d250
add config option
2023-10-26 10:52:24 +02:00
Dessalines
64b00ee850
Dont allow bots to vote. Fixes #3940 ( #4100 )
...
* Dont allow bots to vote. Fixes #3940
* Removing pointless function.
2023-10-25 10:14:12 -04:00
Felix Ableitner
f057abff71
Merge branch 'main' into markdown-link-rule
2023-10-25 12:57:24 +02:00
Felix Ableitner
aa49a1b173
proxy links received over federation
2023-10-25 12:35:22 +02:00
Felix Ableitner
ae96d863a4
rewrite link fields for avatar, banner etc
2023-10-24 16:53:53 +02:00
Felix Ableitner
ef79422632
add db table to validate proxied links
2023-10-24 15:56:04 +02:00
Felix Ableitner
89976b83f6
clippy
2023-10-24 13:44:03 +02:00
Felix Ableitner
aaf3833d12
perform markdown image processing in api/apub receivers
2023-10-24 13:27:58 +02:00