mirror of
1
Fork 0
gotosocial/internal/api/model
Vyr Cossont 61a2b91f45
[feature] Filters v1 (#2594)
* Implement client-side v1 filters

* Exclude linter false positives

* Update test/envparsing.sh

* Fix minor Swagger, style, and Bun usage issues

* Regenerate Swagger

* De-generify filter keywords

* Remove updating filter statuses

This is an operation that the Mastodon v2 filter API doesn't actually have, because filter statuses, unlike keywords, don't have options: the only info they contain is the status ID to be filtered.

* Add a test for filter statuses specifically

* De-generify filter statuses

* Inline FilterEntry

* Use vertical style for Bun operations consistently

* Add comment on Filter DB interface

* Remove GoLand linter control comments

Our existing linters should catch these, or they don't matter very much

* Reduce memory ratio for filters
2024-03-06 11:15:58 +01:00
..
account.go [feature] Account alias / move API + db models (#2518) 2024-01-16 16:22:44 +00:00
admin.go [feature] Add `/api/v1/admin/debug/apurl` endpoint (#2359) 2023-11-27 14:02:52 +00:00
announcement.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
announcementreaction.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
application.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
attachment.go [chore/frontend] Refactor status templates slightly, put polls behind CWs if present (#2419) 2023-12-05 12:43:07 +01:00
block.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
card.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
content.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
context.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
conversation.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
domain.go [feature] Implement explicit domain allows + allowlist federation mode (#2200) 2023-09-21 12:12:04 +02:00
emoji.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
emojicategory.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
featuredtag.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
field.go [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
filter.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
filterv1.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
headerfilter.go [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
history.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
instance.go [Frontend] Settings for profile fields (#1885) 2023-06-13 12:21:26 +02:00
instancev1.go [bugfix] Use ptr for instance stats entries to avoid skipping 0 values (#2666) 2024-02-19 13:17:14 +01:00
instancev2.go [feature] Parse instance descriptors as markdown, show T&C on /about (#2481) 2024-01-05 13:39:31 +01:00
list.go [feature] Add List functionality (#1802) 2023-05-25 10:37:38 +02:00
marker.go [feature] Implement markers API (#1989) 2023-07-29 12:49:14 +02:00
mention.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
multistatus.go [chore/bugfix] Domain block tidying up, Implement first pass of `207 Multi-Status` (#1886) 2023-07-07 11:34:12 +02:00
notification.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
oauth.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
paging.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
poll.go [bugfix] poll vote count fixes (#2444) 2023-12-12 13:47:07 +00:00
preferences.go [feature] Implement the preferences client API (#1740) 2023-05-06 17:42:58 +02:00
pushsubscription.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
relationship.go [feature] Add `requested_by` to relationship model (#2672) 2024-02-20 17:50:54 +00:00
report.go [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
results.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
rule.go [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
scheduledstatus.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
search.go [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
source.go [feature] Account alias / move API + db models (#2518) 2024-01-16 16:22:44 +00:00
status.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
tag.go [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
token.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
user.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
well-known.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00