mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
2ef0f8f5f8
* 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
25 lines
742 B
JSON
25 lines
742 B
JSON
[
|
|
"https://www.w3.org/ns/activitystreams",
|
|
"https://w3id.org/security/v1",
|
|
{
|
|
"lemmy": "https://join-lemmy.org/ns#",
|
|
"litepub": "http://litepub.social/ns#",
|
|
"pt": "https://joinpeertube.org/ns#",
|
|
"sc": "http://schema.org/",
|
|
"ChatMessage": "litepub:ChatMessage",
|
|
"commentsEnabled": "pt:commentsEnabled",
|
|
"sensitive": "as:sensitive",
|
|
"matrixUserId": "lemmy:matrixUserId",
|
|
"posting_restricted_to_mods": "lemmy:posting_restricted_to_mods",
|
|
"remove_data": "lemmy:remove_data",
|
|
"stickied": "lemmy:stickied",
|
|
"moderators": {
|
|
"@type": "@id",
|
|
"@id": "lemmy:moderators"
|
|
},
|
|
"expires": "as:endTime",
|
|
"distinguished": "lemmy:distinguished",
|
|
"language": "sc:inLanguage"
|
|
}
|
|
]
|