b560adb623
use cargo install
2023-12-20 12:11:39 +01:00
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
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
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
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
phiresky
7353be5b68
federate-less-noisy ( #4263 )
2023-12-14 07:25:04 -05:00
dullbananas
32afc32bc0
Correctly combine sorts in post view cursor-based pagination ( #4247 )
...
* 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 ( #4256 )
...
* 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 ( #4255 )
2023-12-13 10:52:28 +01:00
Dessalines
93d123b46e
Fixing metadata endpoint. ( #4257 )
2023-12-13 10:50:51 +01:00
dullbananas
3e2393993e
Update mod.rs ( #4240 )
...
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 ( #4246 )
...
* 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
30d58865b8
Speed up GET /api/v3/site endpoint ( #4245 )
...
* Make db queries for GET /api/v3/site in parallel (ref #4244 )
* Cache site response
* machete
* Use try_join_with_pool macro
* machete
* taplo
* ttl 1s
2023-12-12 11:56:39 -05:00
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
e317947b75
Dont allow blocking local instance ( fixes #4241 ) ( #4242 )
...
* Dont allow blocking local instance (fixes #4241 )
* use localuserview
2023-12-11 14:35:53 -05:00
Kroese
2d4037ba61
Extend sitemap span ( #4231 )
...
* 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
c85e680aba
Version 0.19.0-rc.13
2023-12-06 18:20:52 -05:00
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
de85e51fac
Dont set duplicate context for activities ( #4233 )
2023-12-05 11:19:12 -05:00
16ac893e15
Some changes to help debug auth problems on lemmy.ml ( #4220 )
...
* Some changes to help debug auth problems on lemmy.ml
* fix
* clippy
2023-12-01 09:18:29 -05:00
809fc05cb3
Only allow distinguishing own comments ( fixes #4216 ) ( #4222 )
2023-12-01 09:16:22 -05:00
70003407a7
Version 0.19.0-rc.11
2023-11-30 05:02:18 -05:00
Dessalines
170b3ec45f
Removing cookie secure check. ( #4213 )
2023-11-30 04:44:18 -05:00
7ef6476520
Version 0.19.0-rc.10
2023-11-29 10:04:42 -05:00
Dessalines
e84f8f55a2
Remove httpOnly requirement. ( #4212 )
2023-11-29 09:58:35 -05:00
Dessalines
86990d5138
Registrations and Reports should sort by New when viewing unresolved / unread. ( #4207 )
...
- Fixes #4206
2023-11-29 11:08:23 +01:00
Dessalines
a986db1a00
Fixing rust-analyzer suggestions on rss feeds. ( #4210 )
...
* Fixing rust-analyzer suggestions on rss feeds.
* Get rid of other pointless builders.
* More cleanup.
2023-11-29 11:00:06 +01:00
Bhoomtawath Plinsut
6fa3b59d25
Fix:#4197: validate post title must be shorter than 200 letters ( #4198 )
...
* validate post title must be shorter than 200 letters
* use range contains
2023-11-27 10:46:03 +01:00
dullbananas
d95df3a46f
Update diesel-async ( #4203 )
...
* Update diesel-async
* Fix
2023-11-27 10:31:19 +01:00
7d489f1e3f
Upgrade pictrs to 0.5.0-beta.2 ( #4194 )
...
* Upgrade pictrs to 0.5.0-beta.2
* Update src/main.rs
Co-authored-by: asonix <asonix@asonix.dog>
* add comment
---------
Co-authored-by: asonix <asonix@asonix.dog>
2023-11-24 07:44:17 -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
d795c54a7a
Version 0.19.0-rc.7
2023-11-23 21:09:56 -05:00
Dessalines
6e4278b1c9
Setting rank column defaults to a small number. Fixes #4178 ( #4191 )
...
* Setting rank column defaults to a small number. Fixes #4178
* Fixing tests.
2023-11-23 20:39:46 -05:00
26297b4035
Users can view their own posts after removal ( fixes #4186 ) ( #4192 )
2023-11-23 09:47:49 -05:00
58258414cc
Version 0.19.0-rc.6
2023-11-22 09:59:04 -05:00
e58a167d64
Fix remote community posts appearing in local listing ( fixes #4180 ) ( #4181 )
...
* Fix remote community posts appearing in local listing (fixes #4180 )
* fmt
* fix typo
2023-11-22 09:41:52 -05:00
375e232217
Prevent purged user getting refetched from home instance ( fixes #3815 ) ( #4189 )
2023-11-22 09:36:20 -05:00
Dessalines
3e1f7f2efa
Adding creator_is_admin
to PersonView
, CommentView
, and PostView
. ( #4165 )
...
* Adding creator_is_admin to PersonView, CommentView, and PostView.
* Removing left joins from comment_view.
* Removing joins from person_mention and comment_reply views.
* Removing extra left join from person_view.
* Reverting some changes in post_view.
* Fixing compile error.
2023-11-21 11:20:24 -05: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
7ba1d98915
Prevent random test failure ( #4184 )
2023-11-21 10:08:19 -05:00
49377c195e
Fix deleted posts so they can only be seen by creator ( #4182 )
2023-11-21 08:59:47 -05: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