lemmy/crates/api/src/local_user
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
..
notifications Diesel 2.0.0 upgrade (#2452) 2022-09-26 14:09:32 +00:00
add_admin.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
ban_person.rs implement language tags for site/community in db and api (#2434) 2022-10-06 14:27:58 -04:00
block.rs Diesel 2.0.0 upgrade (#2452) 2022-09-26 14:09:32 +00:00
change_password.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
change_password_after_reset.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
get_captcha.rs Remove update and read site config. Fixes #2306 (#2329) 2022-06-22 20:24:54 +00:00
list_banned.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
login.rs implement language tags for site/community in db and api (#2434) 2022-10-06 14:27:58 -04:00
mod.rs Split apart api files (#2216) 2022-04-13 18:12:25 +00:00
report_count.rs Implement reports for private messages (#2433) 2022-09-19 22:58:42 +00:00
reset_password.rs Convert emails to lowercase (fixes #2462) (#2463) 2022-09-27 12:02:04 -04:00
save_settings.rs implement language tags for site/community in db and api (#2434) 2022-10-06 14:27:58 -04:00
verify_email.rs Remove update and read site config. Fixes #2306 (#2329) 2022-06-22 20:24:54 +00:00