mirror of
1
Fork 0
gotosocial/internal/ap
kim 67e11a1a61
[chore] chore rationalise http return codes for activitypub handlers (#2540)
* some small code fixups and changes

* add check in ResolveIncomingActivity for transient activity types (i.e. activity ID is nil)

* update test to handle new transient behaviour
2024-01-18 17:11:13 +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 [bugfix] poll vote count fixes (#2444) 2023-12-12 13:47:07 +00: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 [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +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 [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
resolve.go [chore] chore rationalise http return codes for activitypub handlers (#2540) 2024-01-18 17:11:13 +01:00
resolve_test.go [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
serialize.go [bugfix] Ensure `pre` renders as expected, fix orderedCollectionPage (#2434) 2023-12-10 12:36:00 +01:00
util.go [feature] tentatively start adding polls support (#2249) 2023-10-04 13:09:42 +01:00