lemmy/crates/apub/assets/lemmy/objects
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
..
chat_message.json Upgrade activitypub_federation to 0.2.0, add setting federation.debug (#2300) 2022-06-08 11:45:39 -04:00
group.json implement language tags for site/community in db and api (#2434) 2022-10-06 14:27:58 -04:00
instance.json implement language tags for site/community in db and api (#2434) 2022-10-06 14:27:58 -04:00
note.json Add language tags for comments 2022-09-02 10:49:54 -04:00
page.json Tag posts and comments with language (fixes #440) (#2269) 2022-08-18 15:11:19 -04:00
person.json Reorganize federation tests (#2092) 2022-02-17 22:04:01 +00:00
tombstone.json Add tombstone tests, better test errors (#2046) 2022-01-20 14:13:29 +00:00