Felix Ableitner
b600bc5116
Merge branch 'main' into markdown-link-rule
2024-01-25 10:42:37 +01:00
Dessalines
20fd4b5869
Clippy fixes for 1.77.0 nightly ( #4395 )
...
* A few 1.77.0-nightly clippy fixes.
* Dead code warnings.
* More fixes.
2024-01-24 10:34:09 +01:00
Dessalines
eb56d9253c
Adding site to GetPersonDetails. Fixes #4373 ( #4394 )
...
* Adding site to GetPersonDetails. Fixes #4373
* Removing the conditioned site return.
2024-01-24 10:32:14 +01:00
Felix Ableitner
2fd7edd8ec
Merge branch 'main' into markdown-link-rule
2024-01-22 11:35:32 +01:00
Nutomic
9240a653c0
Fix bug with Mastodon undo follow activities ( #4364 )
2024-01-11 18:56:19 -05:00
Felix Ableitner
7e5e4557fa
Merge branch 'main' into markdown-link-rule
2024-01-10 11:49:54 +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
Nutomic
e3b715002b
Handle federated reports from Mastodon, Kbin ( #4323 )
...
* Test Kbin/Mbin federation
* Handle reports from Mastodon/Kbin (fixes #4217 )
* prettier
* revert
* add mastodon activity
* ci
* revert
* ci
2024-01-05 11:03:13 -05:00
Nutomic
4ca63c5641
Move apub context to join-lemmy.org ( fixes #4234 ) ( #4302 )
...
* Move apub context to join-lemmy.org (fixes #4234 )
* Dont store federation context in sent_activity table
* include basic activitypub context
* update lib
* ci
2024-01-05 15:42:46 +01:00
Dessalines
1856e7c0ca
Increasing max items for user settings import. ( #4352 )
...
- Fixes #4307
2024-01-05 10:43:30 +01:00
Nutomic
023c9f4fcd
Fix fetching of community posts ( fixes #4283 ) ( #4293 )
...
* Fix fetching of community posts (fixes #4283 )
Also use spawn_try_task to fetch community outbox, mods etc to avoid
delay/timeout when fetching new community.
* prettier
* fix test
* fix api test
* prettier
* add delay
* Update run-federation-test.sh
* fix test
2024-01-04 11:42:18 -05: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
Nutomic
abe8b18ea8
Also send reports to user's home instance ( fixes #4286 ) ( #4305 )
2024-01-03 10:31:51 -05: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
SleeplessOne1917
4ef00e068f
Prevent crates that shouldn't be published from being published ( #4309 )
...
* Prevent crates that shouldn't be published from being published
* Make dependent crates publishable
* Make dependent crates publishable
* fix toml formatting
* Removing publish=true
* Removing versioned deps.
---------
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-12-20 09:11:58 -05:00
phiresky
6790b54d4d
make activity channel infallible ( #4295 )
2023-12-18 13:17:10 -05:00
Nutomic
4a55d4f871
Quick fix for Peertube federation ( fixes #4261 ) ( #4264 )
...
* Quick fix for Peertube federation (fixes #4261 )
* prettier
* apub assets should be included in slow check paths
2023-12-14 07:25:47 -05:00
Nutomic
c7ee53026f
Upgrade dependencies ( #4248 )
...
* Upgrade dependencies
* clippy
2023-12-12 08:56:33 -05:00
Dessalines
f764996745
Show federated posts on user profile. Fixes #4228 ( #4229 )
...
* Show federated posts on user profile. Fixes #4228
* Make sure posts are hidden if no listing_type is given.
2023-12-11 14:36:12 -05:00
Nutomic
de85e51fac
Dont set duplicate context for activities ( #4233 )
2023-12-05 11:19:12 -05:00
Felix Ableitner
6232fa0279
Merge branch 'main' into markdown-link-rule
2023-11-23 12:04:40 +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
cetra3
1c03a86c17
Upgrade activitypub to `0.5.0-beta.5` ( #4179 )
...
* Remove anyhow test
* Update lock
* Fix lints hopefully!
2023-11-21 10:26:12 +01:00
Nutomic
f786df151f
Include instance blocks in settings export ( #4173 )
2023-11-17 21:59:15 -05:00
Nutomic
25450ea090
Fix following local communities stuck on pending ( fixes #4160 ) ( #4161 )
...
* Fix following local communities stuck on pending (fixes #4160 )
* fmt
* remove import
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-11-17 04:55:26 -05:00
Nutomic
fc56d0aa05
Use result instead of unwrap in apub tests ( #4168 )
2023-11-16 22:51:33 -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
Felix Ableitner
6257469e51
Merge branch 'main' into markdown-link-rule
2023-11-07 12:01:27 +01:00
Dessalines
98ed0e51cc
Only check auth secure on release mode. ( #4127 )
...
* Only check auth secure on release mode.
* Fixing wrong js-client.
* Adding is_debug_mode var.
2023-11-07 11:03:13 +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
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
388eb42b99
undo post.url rewriting, move http route definition
2023-10-26 11:38:44 +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
Nutomic
568233b062
Resolve federated objects from other instances via redirect ( fixes #3129 ) ( #4073 )
...
* Resolve federated objects from other instances via redirect (fixes #3129 )
* restore domain check using library change
* add test case, update apub lib
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-25 07:14:59 -04:00
Felix Ableitner
f057abff71
Merge branch 'main' into markdown-link-rule
2023-10-25 12:57:24 +02:00
Nutomic
45bed71c36
Include prometheus in default build, remove build feature ( fixes #3558 ) ( #4071 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-25 06:54:58 -04:00
Felix Ableitner
aa49a1b173
proxy links received over federation
2023-10-25 12:35:22 +02:00
Felix Ableitner
ef79422632
add db table to validate proxied links
2023-10-24 15:56:04 +02:00