lemmy/crates/db_views/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_report_view.rs Use typed-builder crate for queries (#2379) 2022-08-04 15:30:17 -04:00
comment_view.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
lib.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
local_user_discussion_language_view.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
local_user_view.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
post_report_view.rs Use typed-builder crate for queries (#2379) 2022-08-04 15:30:17 -04:00
post_view.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
private_message_view.rs Use typed-builder crate for queries (#2379) 2022-08-04 15:30:17 -04:00
registration_application_view.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
site_view.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
structs.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00