gotosocial/internal/api/model
tobi 6418307c64
[feature] Add back/next buttons to profiles for paging through statuses (#708)
* add GetAccountWebStatuses to db

* add WebStatusesGet func to processor

* don't add limit to next/prev links if 0

* take query params for next/prev statuses

* add separate next + prev links for convenience

* show 'nothing here' message if no statuses exist

* add back / next links to profiles

* allow paging down only

* go fmt ./...

* 'recent public toots' -> 'latest public toots'
2022-07-13 09:57:47 +02:00
..
account.go [feature] Federate local account deletion (#431) 2022-03-15 16:12:35 +01:00
admin.go [feature] Media cleanup endpoint (#560) 2022-05-15 14:52:46 +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 [chore] Mastodon api fixups (#617) 2022-05-28 18:59:55 +01: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 [feature] S3 support (#674) 2022-07-03 12:08:30 +02: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 [bugfix] Fix incorrect domain showing in profiles (#693) 2022-07-05 14:03:44 +02: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 paging via Link header for notifications and account statuses (#629) 2022-06-08 20:22:49 +02:00
oauth.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01: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 Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
status.go [chore] Mastodon api fixups (#617) 2022-05-28 18:59:55 +01:00
tag.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
timeline.go [feature] Add back/next buttons to profiles for paging through statuses (#708) 2022-07-13 09:57:47 +02: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