dullbananas
759f6d8a9a
Better query plan viewing experience ( #4285 )
...
* stuff
* stuff including batch_upsert function
* stuff
* do things
* stuff
* different timestamps
* stuff
* Revert changes to comment.rs
* Update comment.rs
* Update comment.rs
* Update post_view.rs
* Update utils.rs
* Update up.sql
* Update up.sql
* Update down.sql
* Update up.sql
* Update main.rs
* use anyhow macro
* replace get(0) with first()
* as_slice
* Update series.rs
* Update db_perf.sh
* Update and rename crates/db_schema/src/utils/series.rs to crates/db_perf/src/series.rs
* Update utils.rs
* Update main.rs
* Update main.rs
* Update .woodpecker.yml
* fmt main.rs
* Update .woodpecker.yml
* Instance::delete at end
* Update main.rs
* Update Cargo.toml
---------
Co-authored-by: Nutomic <me@nutomic.com>
2024-01-24 10:22:33 -05:00
İsmail Karslı
8670403a67
Add local_subscribers field to CommunityAggregates. Fixes #4144 ( #4166 )
...
* Add upload timeout to PictrsConfig
* Bad space 🤔
* Update PictrsConfig upload timeout to include units.
* Add local_subscribers field to CommunityAggregates
struct and schema
* sql format
* local_subscribers test
* fix local_subscribers test
* Revert "fix local_subscribers test"
This reverts commit 4bbac5ce4a
.
* Revert "local_subscribers test"
This reverts commit 735107e1f7
.
* Create trigger for local_subscribers
* Rename variable
* re-trigger ci
* re-trigger ci
* Add local_subscribers count to follow.spec.ts
* Rename local_subscribers to subscribers_local
* Add subscribers_local to community_aggregates
* added subscribers_local to the aggregate tests
* Check if person exists on community_follower trigger
* Delete community follows before deleting person
* Update lemmy-js-client in api_tests
* Refactor local_subscriber migration
* fix format
* Move migration files date to now
* Fix test to wait for aggregates to federate
* re-trigger ci
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-01-24 10:22:05 -05:00
Dessalines
922ec7c2cd
Forgot to add skip_serializing_none to persondetailsres. ( #4399 )
2024-01-24 09:58:58 -05:00
jim-taylor-business
f43d2eca70
make inner type pub so it can be read and created easily in other crates ( #4397 )
...
this is for use in SSR pagination in Lemmy-UI-Leptos
2024-01-24 09:03:31 -05: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
SleeplessOne1917
4b4b99aa78
Allow community mods to see votes in addition to admins ( #4392 )
...
* Allow community mods to see votes in addition to admins
* Use Post instead of PostView
---------
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-01-23 18:47:28 -05:00
Dessalines
2133bcea4e
Version 0.19.3
2024-01-22 08:56:08 -05:00
Nutomic
0868910570
Add secondary sort by published date for post view ( fixes #4383 ) ( #4384 )
2024-01-22 08:52:21 -05:00
Dessalines
df11d77a0d
Updating translations.
2024-01-19 11:23:47 -05:00
Nutomic
3d6f7ff911
Revert "Dont ignore errors during login ( fixes #4319 ) ( #4321 )" ( #4380 )
...
This reverts commit 4163e0465e
.
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-01-19 11:21:43 -05:00
Nutomic
516db012bf
Dont allow caching captcha response ( #4381 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-01-19 10:41:05 -05:00
Nutomic
b58da11fb7
Mark instance as alive after successful activity send ( fixes #4039 ) ( #4377 )
...
* Mark instance as alive after successful activity send (fixes #4039 )
* clippy
* Instance::update
* domain
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-01-19 09:40:12 -05:00
Nutomic
1be7dbde33
Count chars, not bytes for max title length ( fixes #4366 ) ( #4367 )
...
* Count chars, not bytes for max title length (fixes #4366 )
* fix api test
2024-01-15 09:33:39 -05:00
Nutomic
9240a653c0
Fix bug with Mastodon undo follow activities ( #4364 )
2024-01-11 18:56:19 -05:00
Dessalines
143fdb62b1
Updating translations.
2024-01-10 10:16:36 -05:00
Nutomic
2d16d12cb7
Move publish = false
to correct place in lemmy_server ( fixes #4359 ) ( #4361 )
2024-01-10 09:07:09 -05:00
Dessalines
3b717cfc88
Removing serde_skip from newest_comment_time. Fixes #4351 ( #4360 )
2024-01-10 10:44:27 +01:00
dullbananas
1ef90773e0
Refactor post view tests ( #4313 )
...
* Refactor post view tests
* Update post_view.rs
* Update post_view.rs
* Update post_view.rs
* Update post_view.rs
* Update post_view.rs
* Update post_view.rs
* Update post_view.rs
* remove unused import
2024-01-09 12:19:25 -05:00
Dessalines
2f09ad8e5b
Version 0.19.2-rc.4
2024-01-09 09:25:52 -05: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
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. ( #4352 )
...
- Fixes #4307
2024-01-05 10:43:30 +01:00
phiresky
0e6669f617
no endless loop if queue too recent ( #4349 )
2024-01-04 13:28:26 -05:00
Nutomic
7d9b59c467
Reduce default db pool size to 30, remove db timeout (ref #4282 ) ( #4301 )
...
* Reduce default db pool size to 30 (ref #4282 )
* remove db timeout
2024-01-04 12:16:51 -05:00
Nutomic
38e64825e6
Add macro assert_length!() for tests ( #4348 )
...
* 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 ( #4337 )
2024-01-04 11:44:36 -05: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
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
phiresky
024ab7d530
Fix federate loop ( #4330 )
...
* 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 #4319 ) ( #4321 )
...
* Dont ignore errors during login (fixes #4319 )
* fix test
* fmt
2024-01-03 10:34:03 -05:00
Nutomic
abe8b18ea8
Also send reports to user's home instance ( fixes #4286 ) ( #4305 )
2024-01-03 10:31:51 -05:00
Sander Saarend
35db0dc8e7
Reduce initial federation retry delay ( #4346 )
2024-01-03 10:31:23 +01:00
Dessalines
5f603985c0
Allow reports to be resolved, even if the community is deleted / removed. ( #4345 )
...
Fixes #4344
2024-01-03 10:31:03 +01:00
Andrew Voynov
f223eb94d5
Fixed matrix_user_id
regex ( #4312 )
...
* 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 ( #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
Felix Ableitner
08b7e0f03d
Version 0.19.1-rc.2
2023-12-20 10:32:51 +01:00
Nutomic
a507a39336
Add missing test cleanup ( #4289 )
...
* Add missing test cleanup
* cleanup
2023-12-19 05:26:00 -05:00
Dessalines
2899ba0131
Fixing broken post_read logic. Fixes #4290 ( #4297 )
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 ( #4295 )
2023-12-18 13:17:10 -05:00
dullbananas
dcb89f52d6
Don't update comment_aggregates if updating path fails ( #4281 )
2023-12-18 10:31:39 +01:00
Dessalines
bc32b408b5
Fixing private message reports. ( #4279 )
2023-12-18 10:25:05 +01:00
dullbananas
a7ba5c9dd3
Sort by post id in post view ( #4270 )
...
* 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 ( #4275 )
2023-12-15 12:28:08 +01:00
Dessalines
719b76a6e7
Create comment in transaction. Fixes #3741 ( #4265 )
...
* Create comment in transaction. Fixes #3741
* Removing if let on comment create.
2023-12-15 11:36:58 +01:00
Dessalines
246e38a45b
Making login case-insensitive. Fixes #4272 ( #4273 )
...
* Making login case-insensitive. Fixes #4272
* Removing redundant lowercase.
2023-12-15 11:34:17 +01: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