gotosocial/internal/typeutils
Vyr Cossont 45f4afe60e
feature: filters v2 server-side warning/hiding (#2793)
* Remove dead code

* Filter statuses when converting to frontend representation

* status.filtered is an array

* Make matching case-insensitive

* Remove TODOs that don't need to be done now

* Add missing filter check for notification

* lint: rename ErrHideStatus

* APIFilterActionToFilterAction not used yet

* swaggerino docseroni

* Address review comments

* Add apimodel.FilterActionNone

---------

Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-05-06 12:49:08 +01:00
..
astointernal.go [chore] Try to parse public key as both Actor + bare key (#2710) 2024-04-02 11:30:10 +01:00
astointernal_test.go [bugfix] 2643 bug search for account url doesnt always work when redirected (#2673) 2024-02-23 16:24:40 +01:00
converter.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
converter_test.go feature: filters v2 server-side warning/hiding (#2793) 2024-05-06 12:49:08 +01: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 [bugfix/chore] Announce reliability updates (#2405) 2023-12-01 15:27:15 +01:00
internaltoas.go [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
internaltoas_test.go [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
internaltofrontend.go feature: filters v2 server-side warning/hiding (#2793) 2024-05-06 12:49:08 +01:00
internaltofrontend_test.go feature: filters v2 server-side warning/hiding (#2793) 2024-05-06 12:49:08 +01:00
internaltorss.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
internaltorss_test.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
util.go [bugfix] Fix minor API issue w/ boosted statuses (#2846) 2024-04-17 12:41:40 +02:00
util_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
wrap.go [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
wrap_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00