lemmy/crates/api_crud/src/comment
Nutomic 2ef0f8f5f8
implement language tags for site/community in db and api (#2434)
* implement language tags for site/community in db and api

* add api checks for valid languages

* during db migration, update existing users, sites, communities to have all languages enabled

* init new users/communities with site languages (not all languages)

* federate site/community languages

* fix tests

* when updating site languages, limit community languages to this subset

also, when making a new post and subset of user lang, community lang
contains only one item, use that as post lang

* add tests for actor_language db functions

* include language list in siteview/communityview

* Fix some of the review comments

* Some more review changes

* Add todo about boxed query

* Add default_post_language to GetCommunityResponse
2022-10-06 14:27:58 -04:00
..
create.rs implement language tags for site/community in db and api (#2434) 2022-10-06 14:27:58 -04:00
delete.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
list.rs Dont show deleted users or communities on profile page. (#2450) 2022-09-28 20:54:32 +00:00
mod.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
read.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
remove.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
update.rs implement language tags for site/community in db and api (#2434) 2022-10-06 14:27:58 -04:00