SleeplessOne1917
55be9a14ac
Merge branch 'main' into feature/custom-emoji-and-tagline-views
2024-04-05 21:05:51 -04:00
Freakazoid182
b2b8c43757
Validate markdown on tagline
2024-04-05 23:34:43 +02:00
Freakazoid182
abdfc90dbe
Check markdown for tagline
2024-04-05 23:20:59 +02:00
Freakazoid182
ead51517e4
Remove delete from tagline and custom emoji impls
2024-04-05 22:57:36 +02:00
Freakazoid182
bab417a73e
Impl Crud for CustomEmoji
2024-04-05 22:55:36 +02:00
Freakazoid182
5342a22765
Move tagline endpoints under /admin
2024-04-05 22:36:37 +02:00
Freakazoid182
144c112247
Impl Crud for Tagline
...
Remove superfluous properties
2024-04-05 22:36:08 +02:00
Freakazoid182
f1b993f90e
Get random tagline on site requets
2024-04-04 23:07:51 +02:00
Freakazoid182
2b1fdf106b
Remove custom_emojis and taglines from site resource
2024-04-04 22:26:19 +02:00
Dessalines
705e86eb4c
Fixing docker release ( #4592 )
...
* Re-add notif on tag failure.
* Upping rust version.
* Version 0.19.4-beta.1a
* Try again.
* Version 0.19.4-beta.1b
* Removing unstable inspect.
* Version 0.19.4-beta.1c
* Remove use release cache.
* Trying to fix cargo publish 1.
* Version 0.19.4-beta.1d
* Re-adding publish release
* Version 0.19.4-beta.2
* Fixing workspace for lemmy_federate
2024-04-04 16:14:59 +02:00
Dessalines
a1d632e582
Re-add notif on tag failure. ( #4591 )
2024-04-04 10:21:31 +02:00
Nutomic
087684658a
Cache result of LocalSite::read to avoid unnecessary db calls ( #4585 )
...
* Cache result of LocalSite::read to avoid unnecessary db calls
* single const for cache duration
* clippy
* revert apub send changes
* clippy
* fmt
2024-04-03 17:38:31 -04:00
Dessalines
aaaa362b98
Remove latest tag for pgformatter. ( #4589 )
2024-04-03 17:29:24 -04:00
Dessalines
5237233f97
Version 0.19.4-beta.1
2024-04-03 16:50:35 -04:00
Freakazoid182
5358908c17
Format through lint.sh
2024-04-03 22:49:02 +02:00
Freakazoid182
e536d39c2b
Add delete tagline endpoint
2024-04-03 22:42:25 +02:00
Freakazoid182
ab938062e4
Add update tagline endpoint
2024-04-03 22:33:43 +02:00
Freakazoid182
a1a7e2ca33
Add create tagline endpoint
2024-04-03 22:14:25 +02:00
Dessalines
94438a8516
Removing cardano, this was never used. ( #4588 )
2024-04-03 10:38:57 +02:00
Freakazoid182
486c746eb9
Add category filter for custom emoji
2024-04-02 23:23:01 +02:00
Freakazoid182
17e2834e1b
Remove unecessary TaglineView
2024-04-02 22:27:53 +02:00
Dessalines
4d9c16a336
Fix private message sort order. #4581 ( #4587 )
2024-04-02 13:25:28 -04:00
Nutomic
ae9f82b452
Read crate version from cargo.toml ( fixes #4583 ) ( #4584 )
2024-04-02 11:19:51 -04:00
dullbananas
007e9b7aab
Optimize Community::set_featured_posts ( #4579 )
...
* Don't lock excess rows in Community::set_featured_posts
* Update community.rs
* Update community.rs
* Update community.rs
* Update community.rs
2024-04-02 11:19:04 -04:00
Freakazoid182
10a8f01fad
Apply linting
2024-03-31 17:42:48 +02:00
Freakazoid182
b4a86157a5
Add tagline list route
2024-03-31 17:25:54 +02:00
Freakazoid182
fd275231bc
Add custom_emoji list route
2024-03-31 16:49:32 +02:00
tracyspacy
60f9a97dfa
Fix unnecessarily duplicated notifs ( #4578 )
...
* add check to remove duplicated notifs
* added comments
2024-03-29 17:09:19 -04:00
Dessalines
067332553d
Fixing woodpecker. ( #4575 )
2024-03-27 11:09:44 -04:00
Nutomic
a4b79ca610
Generate post thumbnail/metadata in background (ref #4529 ) ( #4564 )
...
* Generate post thumbnail/metadata in background (ref #4529 )
* fix api test
* Apply suggestions from code review
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
* fix test
---------
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-03-27 10:54:42 -04:00
Dessalines
a632a86852
Delete a person's local images on delete account. ( #4506 )
...
* Delete a person's local images on delete account.
* Rename purge function to delete.
* Use purge_user_account instead of Person::delete_account in purge person.
* Fixing clippy
2024-03-27 10:28:02 -04:00
Nutomic
85ee89f4e8
When uploading new icon/avatar/banner, delete old one ( #4573 )
2024-03-27 09:00:52 -04:00
Dessalines
6bfbb9332d
Adding listMedia endpoint, to view all your local image uploads. ( #4509 )
...
* Adding listMedia endpoint, to view all your local image uploads.
- Fixes #4445
* Fix ts import.
* Forgot to order by published desc
* Adding an endpoint to list all images, for admins only.
* Forgot to add file.
* Add additional test.
* Use better logic for no-limit version.
* Better call sites.
* Adding another test.
* Fix tests.
* Moving list_media to /account action.
* Addressing PR comments.
* Removing pointless comment.
---------
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-03-26 12:06:11 -04:00
Dessalines
945064726f
Add creator_banned_from_community to vote_view. ( #4568 )
...
* Add creator_banned_from_community to vote_view.
- Fixes #4561
* Adding tests.
2024-03-26 16:22:04 +01:00
Dessalines
7929e77602
Fixing issue with comment replies wrongly marked as read. ( #4567 )
...
* Fixing issue with comment replies wrongly marked as read.
- Fixes #4566
* Elaborating on a comment.
2024-03-26 10:46:37 -04:00
Dessalines
95069d7648
Fixing some clippy and woodpecker lints. ( #4565 )
...
* Fixing some clippy and woodpecker lints.
* Try fixing woodpecker 1.
* Revert "Try fixing woodpecker 1."
This reverts commit 7c2020a08d
.
2024-03-26 10:17:42 +01:00
Dessalines
e4356a7701
Fixing a few broken tests from the change in LocalUser::create ( #4569 )
2024-03-25 19:14:35 -04:00
Nutomic
846848c4f6
On registration, automatically set content languages from accept-language
header ( #4550 )
...
* On registration, automatically set content languages from accept header
* no need to set site language or default language for new user anymore
* fix test
* fix langs
* avoid duplicate writing of new user languages
2024-03-25 16:02:12 -04:00
Nutomic
d06ef2c47e
Migrate apub block activity to standard endTime
property and deprecate expires
( fixes #2316 ) ( #4541 )
...
* Migrate apub block activity to standard `endTime` property (fixes #2316 )
* add todo
2024-03-25 08:10:09 -04:00
Sander Saarend
99d01e186a
Fix rate limiter ( #4560 )
2024-03-25 07:56:03 -04:00
Nutomic
ef4bb3cc40
Add delete user field removeData
to apub assets ( fixes #4544 ) ( #4549 )
2024-03-22 18:41:59 -04:00
Nutomic
21547dedf7
Fix handling of apub downvote ( fixes #4545 ) ( #4551 )
...
* Fix handling of apub downvote (fixes #4545 )
* fmt
---------
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-03-22 18:41:09 -04:00
Nutomic
baf5921d2c
Add comment about console feature requiring tokio_unstable ( fixes #4553 ) ( #4555 )
2024-03-22 18:40:08 -04:00
SleeplessOne1917
6679b2559f
Add SleeplessOne1917 to CODEOWNERS ( #4558 )
...
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-03-22 18:31:45 -04:00
SleeplessOne1917
38c22d9453
Add banned_from_community to PostView and CommentView ( #4552 )
...
* Add banned_from_community to PostView and CommentView
* Add post view test
* Add tests for CommentView
* Add tests for case where local user is not banned from community
---------
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-03-22 18:31:08 -04:00
Tomas
78581bd696
Add ARG RUSTFLAGS into Dockerfile ( #4556 )
...
* Add ARG RUSTFLAGS into Dockerfile
Allows passing RUSTFLAGS through --build-arg
* Remove invalid ARG syntax
2024-03-21 16:42:30 +01:00
Dessalines
2fd81067c7
Temporarily comment sticky test. ( #4538 )
2024-03-18 12:54:45 +01:00
Dessalines
0f77951e05
Upgrading deps. ( #4537 )
...
* Upgrading deps.
* Addressing PR comments
2024-03-18 10:36:49 +01:00
Nutomic
9d4299aaac
Dont require leading ! or @ for webfinger resolve ( #4513 )
...
* Dont require leading ! or @ for webfinger resolve
* fmt
* clippy
2024-03-15 08:42:09 -04:00
Nutomic
43378c5bb3
Fix video thumbnail generation ( fixes #3484 ) ( #4539 )
...
* Fix video thumbnail generation (fixes #3484 )
* fix test
2024-03-15 08:41:16 -04:00