1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-01-10 09:30:11 +00:00
Commit graph

1094 commits

Author SHA1 Message Date
Dessalines 2f09ad8e5b Version 0.19.2-rc.4 2024-01-09 09:25:52 -05:00
Nutomic e3b715002b
Handle federated reports from Mastodon, Kbin ()
* Test Kbin/Mbin federation

* Handle reports from Mastodon/Kbin (fixes )

* 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 ) ()
* Move apub context to join-lemmy.org (fixes )

* Dont store federation context in sent_activity table

* include basic activitypub context

* update lib

* ci
2024-01-05 15:42:46 +01:00
Felix Ableitner d3efebfa4e Version 0.19.2-rc.1 2024-01-05 11:33:37 +01:00
Dessalines 1856e7c0ca
Increasing max items for user settings import. ()
- Fixes 
2024-01-05 10:43:30 +01:00
phiresky 0e6669f617
no endless loop if queue too recent () 2024-01-04 13:28:26 -05:00
Nutomic 7d9b59c467
Reduce default db pool size to 30, remove db timeout (ref ) ()
* Reduce default db pool size to 30 (ref )

* remove db timeout
2024-01-04 12:16:51 -05:00
Nutomic 38e64825e6
Add macro assert_length!() for tests ()
* Add macro assert_length!() for tests

* fix

* number
2024-01-04 11:51:55 -05:00
Nutomic 3cad3b2119
Dont overwrite cache-control header in session middleware () 2024-01-04 11:44:36 -05:00
Nutomic 023c9f4fcd
Fix fetching of community posts (fixes ) ()
* Fix fetching of community posts (fixes )

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
ALEX11BR a5289dd4cf
Use pretty_assertions for assertions ()
* 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. ()
- Allows admins to view likes, sorted by downvotes first,
  for a given comment or post.
- Fixes 
2024-01-03 13:39:21 -05:00
phiresky 024ab7d530
Fix federate loop ()
* make activity channel infallible

* clippy

* federate: make cancellabletask loop itself
2024-01-03 13:30:06 -05:00
Nutomic 4163e0465e
Dont ignore errors during login (fixes ) ()
* Dont ignore errors during login (fixes )

* fix test

* fmt
2024-01-03 10:34:03 -05:00
Nutomic abe8b18ea8
Also send reports to user's home instance (fixes ) () 2024-01-03 10:31:51 -05:00
Sander Saarend 35db0dc8e7
Reduce initial federation retry delay () 2024-01-03 10:31:23 +01:00
Dessalines 5f603985c0
Allow reports to be resolved, even if the community is deleted / removed. ()
Fixes 
2024-01-03 10:31:03 +01:00
Andrew Voynov f223eb94d5
Fixed matrix_user_id regex ()
* fix(matrix_user_id): fixed regex

* test(matrix_user_id): added test with underscore
2023-12-21 12:13:24 +01:00
SleeplessOne1917 4ef00e068f
Prevent crates that shouldn't be published from being published ()
* 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
Felix Ableitner 08b7e0f03d Version 0.19.1-rc.2 2023-12-20 10:32:51 +01:00
Nutomic a507a39336
Add missing test cleanup ()
* Add missing test cleanup

* cleanup
2023-12-19 05:26:00 -05:00
Dessalines 2899ba0131
Fixing broken post_read logic. Fixes () 2023-12-19 10:46:41 +01:00
Dessalines 8583a85607 Version 0.19.1-rc.1 2023-12-18 14:20:42 -05:00
phiresky 6790b54d4d
make activity channel infallible () 2023-12-18 13:17:10 -05:00
dullbananas dcb89f52d6
Don't update comment_aggregates if updating path fails () 2023-12-18 10:31:39 +01:00
Dessalines bc32b408b5
Fixing private message reports. () 2023-12-18 10:25:05 +01:00
dullbananas a7ba5c9dd3
Sort by post id in post view ()
* Sort by post id in post view

* Remove tie_breaker

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Nutomic <me@nutomic.com>
2023-12-15 06:42:28 -05:00
Nutomic 7a182c982b
Debug random test failure () 2023-12-15 12:28:08 +01:00
Dessalines 719b76a6e7
Create comment in transaction. Fixes ()
* Create comment in transaction. Fixes 

* Removing if let on comment create.
2023-12-15 11:36:58 +01:00
Dessalines 246e38a45b
Making login case-insensitive. Fixes ()
* Making login case-insensitive. Fixes 

* Removing redundant lowercase.
2023-12-15 11:34:17 +01:00
Nutomic 4a55d4f871
Quick fix for Peertube federation (fixes ) ()
* Quick fix for Peertube federation (fixes )

* prettier

* apub assets should be included in slow check paths
2023-12-14 07:25:47 -05:00
phiresky 7353be5b68
federate-less-noisy () 2023-12-14 07:25:04 -05:00
dullbananas 32afc32bc0
Correctly combine sorts in post view cursor-based pagination ()
* Update post_view.rs

* Update post_view.rs

* Update Cargo.toml

* Update post_view.rs

* fix

* Update post_view.rs

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-12-14 07:10:01 -05:00
dullbananas 5e589004a5
Add test for fixed deleted post filter ()
* Add test for fixed deleted post filter

* fmt

* Fmt

* Update post_view.rs
2023-12-13 11:09:10 +01:00
dullbananas a0ef56b9b7
Remove moderator_view field from PostQuery () 2023-12-13 10:52:28 +01:00
Dessalines 93d123b46e
Fixing metadata endpoint. () 2023-12-13 10:50:51 +01:00
dullbananas 3e2393993e
Update mod.rs ()
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-12-12 13:06:17 -05:00
SleeplessOne1917 8d52c7e7c7
See if different SQL query fixes performance regression ()
* See if different SQL query fixes performance regression

* Fix formatting

* Hopefully fix failing federation test

* Hopefully solve federation test problem

* Use already-existing coalesce function

* Update person_view.rs

---------

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Nutomic <me@nutomic.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-12-12 12:09:52 -05:00
Nutomic 30d58865b8
Speed up GET /api/v3/site endpoint ()
* Make db queries for GET /api/v3/site in parallel (ref )

* Cache site response

* machete

* Use try_join_with_pool macro

* machete

* taplo

* ttl 1s
2023-12-12 11:56:39 -05:00
Nutomic c7ee53026f
Upgrade dependencies ()
* Upgrade dependencies

* clippy
2023-12-12 08:56:33 -05:00
Dessalines f764996745
Show federated posts on user profile. Fixes ()
* Show federated posts on user profile. Fixes 

* Make sure posts are hidden if no listing_type is given.
2023-12-11 14:36:12 -05:00
Nutomic e317947b75
Dont allow blocking local instance (fixes ) ()
* Dont allow blocking local instance (fixes )

* use localuserview
2023-12-11 14:35:53 -05:00
Kroese 2d4037ba61
Extend sitemap span ()
* Extend sitemap span

* Keep cargo_fmt happy

* Add FETCH_LIMIT_SITEMAP

* Use FETCH_LIMIT_SITEMAP

* Keep cargo_fmt happy

* Update utils.rs

* Use SITEMAP_DAYS

* Keep cargo_fmt happy

* Sitemap

* Keep cargo_fmt happy

* Sitemap

* Sitemap

* Increase to 31 days
2023-12-11 11:24:51 +01:00
Dessalines c85e680aba Version 0.19.0-rc.13 2023-12-06 18:20:52 -05:00
Nutomic a790a24c4d
Revert debug auth ()
* Revert "Some changes to help debug auth problems on lemmy.ml ()"

This reverts commit 16ac893e15.

* Rename auth cookie back to jwt
2023-12-05 11:22:08 -05:00
Nutomic de85e51fac
Dont set duplicate context for activities () 2023-12-05 11:19:12 -05:00
Nutomic 16ac893e15
Some changes to help debug auth problems on lemmy.ml ()
* Some changes to help debug auth problems on lemmy.ml

* fix

* clippy
2023-12-01 09:18:29 -05:00
Nutomic 809fc05cb3
Only allow distinguishing own comments (fixes ) () 2023-12-01 09:16:22 -05:00
Dessalines 70003407a7 Version 0.19.0-rc.11 2023-11-30 05:02:18 -05:00
Dessalines 170b3ec45f
Removing cookie secure check. () 2023-11-30 04:44:18 -05:00