lemmy/crates/api_common/src
Freakazoid182 43f20881cb
Feature/custom emoji and tagline views (#4580)
* Add custom_emoji list route

* Add tagline list route

* Apply linting

* Remove unecessary TaglineView

* Add category filter for custom emoji

* Add create tagline endpoint

* Add update tagline endpoint

* Add delete tagline endpoint

* Format through lint.sh

* Remove custom_emojis and taglines from site resource

* Get random tagline on site requets

* Impl Crud for Tagline

Remove superfluous properties

* Move tagline endpoints under /admin

* Impl Crud for CustomEmoji

* Remove delete from tagline and custom emoji impls

* Check  markdown for tagline

* Validate markdown on tagline

* Make content fields non optional

Add error types for tagline validation

* Use process_markdown instead of process_markdown_opt

* Consolidate Tagline error types

* Remove unecessary clone

* Updat misleading comments

* Remove local_site_id from tagline and custom_emoji

* Update TaglineInserForm and TaglineUpdateForm

* Add ignore_page_limits for custom emojis

EmojiPicker needs to be able to retrieve all emojis in 1 call

* Update custom_emoji_view

Only keep get_all als helper function calling list with paging ignored

Only order on category when filtering on category

* Removing pointless get_all fn.

* remove tagline length checks

* make fields of TaglineInsertForm and TaglineUpdateForm mandatory

* move emoji order statement

* add comment for GetSiteResponse.tagline

---------

Co-authored-by: Freakazoid182 <>
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Felix Ableitner <me@nutomic.com>
2024-09-19 05:15:04 -04:00
..
build_response.rs pass local user to send local notifs (#4920) 2024-07-30 08:34:58 -04:00
claims.rs Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
comment.rs View report history for a post or comment. Fixes #4190 (#4492) 2024-03-05 11:31:40 +01:00
community.rs Adding a default_comment_sort_type column for local_site and local_user. (#4469) 2024-09-19 10:03:58 +02:00
context.rs federation: parallel sending per instance (#4623) 2024-07-21 11:50:50 -04:00
custom_emoji.rs Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00
lib.rs Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00
oauth_provider.rs SSO Support (#4881) 2024-09-18 14:52:33 +02:00
person.rs Adding a default_comment_sort_type column for local_site and local_user. (#4469) 2024-09-19 10:03:58 +02:00
post.rs Adding a default_comment_sort_type column for local_site and local_user. (#4469) 2024-09-19 10:03:58 +02:00
private_message.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
request.rs SSO Support (#4881) 2024-09-18 14:52:33 +02:00
send_activity.rs Adding ability to restore content on user unban. (#4845) 2024-09-18 09:11:42 -04:00
site.rs Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00
tagline.rs Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00
utils.rs Adding ability to restore content on user unban. (#4845) 2024-09-18 09:11:42 -04:00