lemmy/crates/api/src/site
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
..
purge Remove update and read site config. Fixes #2306 (#2329) 2022-06-22 20:24:54 +00:00
registration_applications Use typed-builder crate for queries (#2379) 2022-08-04 15:30:17 -04:00
leave_admin.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
mod.rs Remove update and read site config. Fixes #2306 (#2329) 2022-06-22 20:24:54 +00:00
mod_log.rs Add Modlog Filters (#2313) 2022-08-16 11:52:04 +00:00
resolve_object.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
search.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00