mirror of
1
Fork 0
gotosocial/internal/ap
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
..
activitystreams.go [chore] internal/ap: add pollable AS types, code reformatting, general niceties (#2248) 2023-10-03 14:59:30 +01:00
activitystreams_test.go [bugfix] self-referencing collection pages for status replies (#2364) 2023-11-20 12:22:28 +00:00
ap_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
collections.go [bugfix] self-referencing collection pages for status replies (#2364) 2023-11-20 12:22:28 +00:00
extract.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
extractattachments_test.go [bugfix] Extract description as `summary` first, fall back to `name` (#2303) 2023-10-26 11:59:10 +02:00
extractcontent_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
extracthashtags_test.go [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
extractmentions_test.go [bugfix] Relax `Mention` parsing, allowing either href or name (#2320) 2023-10-31 11:05:17 +00:00
extractsensitive_test.go [bugfix] Use gtserror package for WrongType errs (#1930) 2023-06-27 11:37:42 +02:00
extractvisibility_test.go [bugfix] Use gtserror package for WrongType errs (#1930) 2023-06-27 11:37:42 +02:00
interfaces.go [feature] support canceling scheduled tasks, some federation API performance improvements (#2329) 2023-11-04 20:21:20 +00:00
normalize.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
normalize_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
properties.go [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00
resolve.go [chore] internal/ap: add pollable AS types, code reformatting, general niceties (#2248) 2023-10-03 14:59:30 +01:00
resolve_test.go [chore] internal/ap: add pollable AS types, code reformatting, general niceties (#2248) 2023-10-03 14:59:30 +01:00
serialize.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
util.go [feature] tentatively start adding polls support (#2249) 2023-10-04 13:09:42 +01:00