lemmy/crates/api_common/src
Dessalines d8722b6e91
Adding diesel enums for SortType and ListingType (#2808)
* Adding diesel enums for SortType and ListingType

- Uses diesel-derive-enum.
- Adds diesel.toml , so we can again use the auto-generated schema.rs
- Fixes a lot of DB null issues and column ordering issues.
- Fixes #1136
- Also replaces RegistrationMode boilerplate.

* Fixing unit tests 1.

* Remove comment line.

* Before patch.

* Before again.

* Using patch file to fix diesel_ltree issue with diesel.toml

* Adding some yalc ignores

* Fixing RegistrationMode enums

* Adding woodpecker diesel schema check.

* Try adding openssl 1.

* Try using diesel-cli image 1

* Try using diesel-cli image 2

* Try using diesel-cli image 3

* Try using diesel-cli image 4

* Try using diesel-cli image 5

* Try using diesel-cli image 6

* Try using diesel-cli image 7

* Try using diesel-cli image 8

* Try using diesel-cli image 9

* Try using diesel-cli image 10

* Try using diesel-cli image 11

* Try using diesel-cli image 12

* Try using diesel-cli image 13
2023-04-17 15:19:51 -04:00
..
websocket Separate federated_instances into its own endpoint. Fixes #1931 (#2813) 2023-04-16 17:00:31 -04:00
comment.rs Separate comment distinguish (#2740) 2023-02-18 09:46:34 -05:00
community.rs Get rid of Safe Views, use serde_skip (#2767) 2023-03-01 18:19:46 +01:00
context.rs Making the chat server an actor. (#2793) 2023-04-13 06:53:55 -04:00
custom_emoji.rs Add Custom Emojis Support (#2616) 2023-03-20 17:32:31 -04:00
lib.rs Add Custom Emojis Support (#2616) 2023-03-20 17:32:31 -04:00
person.rs Adding diesel enums for SortType and ListingType (#2808) 2023-04-17 15:19:51 -04:00
post.rs Add support for Featured Posts (#2585) 2022-12-12 11:17:10 +00:00
private_message.rs Implement reports for private messages (#2433) 2022-09-19 22:58:42 +00:00
request.rs Activitypub crate rewrite (#2782) 2023-03-21 16:03:05 +01:00
sensitive.rs Derive default for api request structs, move type enums (#2245) 2022-05-06 20:55:07 +00:00
site.rs Adding diesel enums for SortType and ListingType (#2808) 2023-04-17 15:19:51 -04:00
utils.rs Adding diesel enums for SortType and ListingType (#2808) 2023-04-17 15:19:51 -04:00