lemmy/crates/api_common/src
Nutomic e4a49b6eab
Tag posts and comments with language (fixes #440) (#2269)
* Tag posts and comments with language (fixes #440)

* Untangle PostView tests

* Implement test for PostView language query

* Store languages directly in database

* finish moving languages into db, it compiles

* update post_view

* serde skip Language.id field

* add local_user_language table, other changes suggested in review

* add code for local_user_discussion_language_view

* Remove unnecessary clones in db view converteres

* Fixing up some table and join issues.

* Clearing the current languages.

* Fix formatting.

* update user languages in single transaction

* proper test for user language queries

* Some fixes for all / missing user languages. (#2404)

* Some fixes for all / missing user languages.

* Adding back in transaction.

* fix test

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-08-18 15:11:19 -04:00
..
comment.rs Adding distinguish comment. Fixes #2002 (#2391) 2022-08-17 11:38:52 +00:00
community.rs Revert "Add pending, and change use specific API response for FollowCommunity…" (#2283) 2022-05-26 11:17:04 -04:00
lib.rs Add pub use for db crates in api_common (#2305) 2022-06-08 11:30:20 -04:00
person.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
post.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
request.rs Fix pictrs routing (#2407) 2022-08-16 11:20:41 -04:00
sensitive.rs Derive default for api request structs, move type enums (#2245) 2022-05-06 20:55:07 +00:00
site.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
utils.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
websocket.rs Derive default for api request structs, move type enums (#2245) 2022-05-06 20:55:07 +00:00