lemmy/crates/apub/src/objects
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 Remove update and read site config. Fixes #2306 (#2329) 2022-06-22 20:24:54 +00:00
instance.rs Remove update and read site config. Fixes #2306 (#2329) 2022-06-22 20:24:54 +00:00
mod.rs remove parking_lot (#2350) 2022-07-11 17:12:12 +00:00
person.rs Fix problem where actors can have empty public key (fixes #2347) (#2348) 2022-07-11 18:25:33 +00:00
post.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
private_message.rs Rejected federated pm from blocked users (fixes #2398) (#2408) 2022-08-17 16:53:19 -04:00