GoToSocial/internal/api/model
David Baker 96f11e757c
[bugfix] Fix login on Mastodon iOS app for users with no statuses (#1042)
* Fix login on Mastodon iOS app for users with no statuses

Mastodon for iOS can't cope with an empty string for a date and
expect a JSON `null` instead.

Fixes https://github.com/superseriousbusiness/gotosocial/issues/1010

* Fix expected values in tests to match
2022-11-13 21:38:01 +01:00
..
account.go [bugfix] Fix login on Mastodon iOS app for users with no statuses (#1042) 2022-11-13 21:38:01 +01:00
admin.go [feature] Add `/api/v1/admin/custom_emojis` endpoint (#902) 2022-10-12 15:01:42 +02:00
announcement.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
announcementreaction.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
application.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
attachment.go [bugfix] Make `/api/v2/media` more compatible with masto API (#724) 2022-07-22 12:48:19 +02:00
block.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
card.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
content.go [bugfix] Wrap media in read closer (#941) 2022-11-03 15:03:12 +01:00
context.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
conversation.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
domain.go [feature] Implement `/api/v1/instance/peers` endpoint (#660) 2022-06-23 16:54:54 +02:00
emoji.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
featuredtag.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
field.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
filter.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
history.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
instance.go [feature] Make instance thumbnail configurable via admin panel (#973) 2022-11-08 17:11:06 +00:00
list.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
marker.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
mention.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
notification.go [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784) 2022-08-31 19:20:52 +02:00
oauth.go [feature] add 'state' oauth2 param to /oauth/authorize (#730) 2022-07-28 16:43:27 +02:00
paging.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
poll.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
preferences.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
pushsubscription.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
relationship.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
results.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
scheduledstatus.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
search.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
source.go [feature] Let accounts set default status format, and use this when processing new statuses (#739) 2022-08-06 12:09:21 +02:00
status.go [docs] Use correct form for status submit (#915) 2022-10-17 12:54:36 +02:00
tag.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
token.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
user.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
well-known.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00