You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/crates
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>
2 years ago
..
api Tag posts and comments with language (fixes #440) (#2269) 2 years ago
api_common Tag posts and comments with language (fixes #440) (#2269) 2 years ago
api_crud Tag posts and comments with language (fixes #440) (#2269) 2 years ago
apub Tag posts and comments with language (fixes #440) (#2269) 2 years ago
db_schema Tag posts and comments with language (fixes #440) (#2269) 2 years ago
db_views Tag posts and comments with language (fixes #440) (#2269) 2 years ago
db_views_actor Use typed-builder crate for queries (#2379) 2 years ago
db_views_moderator Add Modlog Filters (#2313) 2 years ago
routes Fix pictrs routing (#2407) 2 years ago
utils Use doku release version (ref #2343) (#2386) 2 years ago
websocket Tag posts and comments with language (fixes #440) (#2269) 2 years ago