lemmy/crates/apub/src/protocol/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
..
chat_message.rs Upgrade activitypub_federation to 0.2.0, add setting federation.debug (#2300) 2022-06-08 11:45:39 -04:00
group.rs Fix a few form options for diesel. Fixes #2287 (#2376) 2022-07-29 15:04:21 +02:00
instance.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
mod.rs Federate with Peertube (#2244) 2022-05-06 23:53:33 +00:00
note.rs Adding distinguish comment. Fixes #2002 (#2391) 2022-08-17 11:38:52 +00:00
page.rs Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
person.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
tombstone.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00