GoToSocial/internal/typeutils
tobi cfefbc08d8
[feature] Federate status language in and out (#2366)
* [feature] Federate status language in + out

* go fmt

* tests, little fix

* improve comments

* unnest a bit

* avoid unnecessary nil check

* use more descriptive variable for contentMap

* prefer instance languages when selecting from contentMap

* update docs to reflect lang selection

* rename rdfLangString -> rdfLangs

* update comments to mention Pollable

* iter through slice instead of map
2023-11-21 15:13:30 +01:00
..
astointernal_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
astointernal.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
converter_test.go [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
converter.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
defaulticons.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
frontendtointernal.go [feature] Implement markers API (#1989) 2023-07-29 12:49:14 +02:00
internal.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
internaltoas_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
internaltoas.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
internaltofrontend_test.go [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
internaltofrontend.go [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
internaltorss_test.go [bugfix] Use length in runes when trimming for RSS (#2094) 2023-08-10 18:26:56 +02:00
internaltorss.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
util_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
util.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
wrap_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
wrap.go [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00