lemmy/crates/db_schema/src/impls
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
..
activity.rs Move SQL triggers from migrations into reusable sql file (#4333) 2024-04-17 20:58:44 -04:00
actor_language.rs Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
captcha_answer.rs Fixing some clippy and woodpecker lints. (#4565) 2024-03-26 10:17:42 +01:00
comment.rs Adding deny unimplemented to clippy lints. (#4922) 2024-07-31 20:28:41 -04:00
comment_reply.rs Dont show replies / mentions from blocked users. Fixes #4227 (#4727) 2024-05-22 08:50:26 -04:00
comment_report.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
community.rs Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
community_block.rs Remove pointless block_views. (#4841) 2024-09-10 14:32:12 -04:00
custom_emoji.rs Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00
email_verification.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
federation_allowlist.rs Fixing some clippy and woodpecker lints. (#4565) 2024-03-26 10:17:42 +01:00
federation_blocklist.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
federation_queue_state.rs add federation queue state to get_federated_instances api (#4104) 2023-11-06 16:07:04 -05:00
images.rs Adding an image_details table to store image dimensions. (#4704) 2024-06-20 12:44:06 +02:00
instance.rs Unit tests and cleanup for outgoing federation code (#4733) 2024-05-27 09:34:58 -04:00
instance_block.rs Remove pointless block_views. (#4841) 2024-09-10 14:32:12 -04:00
language.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
local_site.rs Replace 3rd party once_cell crate with recently stabilized standard library API (#4919) 2024-07-30 10:11:39 -04:00
local_site_rate_limit.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
local_site_url_blocklist.rs Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
local_user.rs SSO Support (#4881) 2024-09-18 14:52:33 +02:00
local_user_vote_display_mode.rs refactor!: use rustls instead of native-tls (#4901) 2024-07-18 08:40:43 -04:00
login_token.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
mod.rs SSO Support (#4881) 2024-09-18 14:52:33 +02:00
moderator.rs Remove PersonInsertForm builder (#4779) 2024-06-06 08:29:18 -04:00
oauth_account.rs SSO Support (#4881) 2024-09-18 14:52:33 +02:00
oauth_provider.rs SSO Support (#4881) 2024-09-18 14:52:33 +02:00
password_reset_request.rs Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
person.rs SSO Support (#4881) 2024-09-18 14:52:33 +02:00
person_block.rs Remove pointless block_views. (#4841) 2024-09-10 14:32:12 -04:00
person_mention.rs Dont show replies / mentions from blocked users. Fixes #4227 (#4727) 2024-05-22 08:50:26 -04:00
post.rs Use trigger to generate apub URL in insert instead of update, and fix query planner options not being set when TLS is disabled (#4797) 2024-07-02 11:23:21 -04:00
post_report.rs Remove PersonInsertForm builder (#4779) 2024-06-06 08:29:18 -04:00
private_message.rs Use trigger to generate apub URL in insert instead of update, and fix query planner options not being set when TLS is disabled (#4797) 2024-07-02 11:23:21 -04:00
private_message_report.rs Adding deny unimplemented to clippy lints. (#4922) 2024-07-31 20:28:41 -04:00
registration_application.rs Add the ability to fetch a registration application by person_id. (#4913) 2024-07-23 19:01:24 -04:00
secret.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
site.rs Remove enable nsfw (#5017) 2024-09-16 11:18:16 -04:00
tagline.rs Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00