[chore] Fix daenney being bad at sed (#4060)

Co-authored-by: Daenney <daenney@users.noreply.github.com>
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4060
Co-authored-by: Daenney <daenney@noreply.codeberg.org>
Co-committed-by: Daenney <daenney@noreply.codeberg.org>
This commit is contained in:
Daenney
2025-04-26 19:19:52 +00:00
committed by kim
parent ab10266bff
commit 346962beb5
15 changed files with 222 additions and 222 deletions

View File

@@ -15,7 +15,7 @@ With GoToSocial, you can keep in touch with your friends, post, read, and share
Documentation is at [docs.gotosocial.org](https://docs.gotosocial.org). You can skip straight to the API documentation [here](https://docs.gotosocial.org/en/latest/api/swagger/). Documentation is at [docs.gotosocial.org](https://docs.gotosocial.org). You can skip straight to the API documentation [here](https://docs.gotosocial.org/en/latest/api/swagger/).
To build from source, check the [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md) file. To build from source, check the [CONTRIBUTING.md](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md) file.
Here's a screenshot of the instance landing page! Check out the project's [official account](https://gts.superseriousbusiness.org/@gotosocial) running on GoToSocial. Here's a screenshot of the instance landing page! Check out the project's [official account](https://gts.superseriousbusiness.org/@gotosocial) running on GoToSocial.
@@ -101,7 +101,7 @@ It began as a solo project, and then picked up steam as more developers became i
We made our first Alpha release in November 2021. We left Alpha and entered Beta in September/October 2024. We made our first Alpha release in November 2021. We left Alpha and entered Beta in September/October 2024.
For a detailed view on what's implemented and what's not, and progress made towards [stable release](https://en.wikipedia.org/wiki/Software_release_life_cycle#Stable_release), please see [the roadmap document](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md). For a detailed view on what's implemented and what's not, and progress made towards [stable release](https://en.wikipedia.org/wiki/Software_release_life_cycle#Stable_release), please see [the roadmap document](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md).
--- ---
@@ -343,7 +343,7 @@ Snapshot binary releases in the S3 bucket are keyed by Github commit hash. To ge
### From Source ### From Source
Instructions for building GoToSocial from source are in the [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md) file. Instructions for building GoToSocial from source are in the [CONTRIBUTING.md](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md) file.
### Third-party Packaging ### Third-party Packaging
@@ -364,7 +364,7 @@ You can also deploy your own instance of GoToSocial with the help of:
## Contributing ## Contributing
You would like to contribute to GtS? Great! ❤️❤️❤️ Check out the issues page to see if there's anything you intend to jump in on, and read the [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md) file for guidelines and setting up your dev environment. You would like to contribute to GtS? Great! ❤️❤️❤️ Check out the issues page to see if there's anything you intend to jump in on, and read the [CONTRIBUTING.md](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md) file for guidelines and setting up your dev environment.
--- ---
@@ -454,10 +454,10 @@ Sloth logo by [Anna Abramek](https://abramek.art/).
The Creative Commons Attribution-ShareAlike 4.0 International License license applies specifically to the following files and subdirectories of this repository: The Creative Commons Attribution-ShareAlike 4.0 International License license applies specifically to the following files and subdirectories of this repository:
- [sloth logo png](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.png) - [sloth logo png](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.png)
- [sloth logo webp](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.webp) - [sloth logo webp](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.webp)
- [sloth logo svg](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.svg) - [sloth logo svg](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.svg)
- [all default avatars](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/default_avatars) - [all default avatars](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/default_avatars)
Under the terms of the license, you are free to: Under the terms of the license, you are free to:
@@ -515,7 +515,7 @@ If after reading this you are still interested in supporting us, that is wonderf
<img src="https://nlnet.nl/logo/NGI/NGIZero-green.hex.svg" width="75" alt="NGIZero logo"/> <img src="https://nlnet.nl/logo/NGI/NGIZero-green.hex.svg" width="75" alt="NGIZero logo"/>
Combined with the above crowdfunding sources, 2023 Alpha development of GoToSocial was funded by a 50,000 EUR grant from the [NGI0 Entrust Fund](https://nlnet.nl/entrust/), via [NLnet](https://nlnet.nl/). See [here](https://nlnet.nl/project/GoToSocial/#ack) for more details. The successful grant application is archived [here](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/archive/nlnet/2022-next-generation-internet-zero.md). Combined with the above crowdfunding sources, 2023 Alpha development of GoToSocial was funded by a 50,000 EUR grant from the [NGI0 Entrust Fund](https://nlnet.nl/entrust/), via [NLnet](https://nlnet.nl/). See [here](https://nlnet.nl/project/GoToSocial/#ack) for more details. The successful grant application is archived [here](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/archive/nlnet/2022-next-generation-internet-zero.md).
2024 Beta development of GoToSocial is being funded by an additional 50,000 EUR grant from the [NGI0 Entrust Fund](https://nlnet.nl/entrust/), via [NLnet](https://nlnet.nl/). 2024 Beta development of GoToSocial is being funded by an additional 50,000 EUR grant from the [NGI0 Entrust Fund](https://nlnet.nl/entrust/), via [NLnet](https://nlnet.nl/).
@@ -525,7 +525,7 @@ Combined with the above crowdfunding sources, 2023 Alpha development of GoToSoci
![the gnu AGPL logo](https://www.gnu.org/graphics/agplv3-155x51.png) ![the gnu AGPL logo](https://www.gnu.org/graphics/agplv3-155x51.png)
GoToSocial is free software, licensed under the [GNU AGPL v3 LICENSE](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/LICENSE). We encourage forking and changing the code, hacking around with it, and experimenting. GoToSocial is free software, licensed under the [GNU AGPL v3 LICENSE](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/LICENSE). We encourage forking and changing the code, hacking around with it, and experimenting.
See [here](https://www.gnu.org/licenses/why-affero-gpl.html) for the differences between AGPL versus GPL licensing, and [here](https://www.gnu.org/licenses/gpl-faq.html) for FAQ's about GPL licenses, including the AGPL. See [here](https://www.gnu.org/licenses/why-affero-gpl.html) for the differences between AGPL versus GPL licensing, and [here](https://www.gnu.org/licenses/gpl-faq.html) for FAQ's about GPL licenses, including the AGPL.

View File

@@ -20,7 +20,7 @@ GtS emphasizes user safety and privacy. Unlike other AP servers, it always requi
GtS values ease of deployment and maintenance; this means low system requirements, simple configuration, minimal external dependencies, and clear documentation. GtS makes it easy + affordable for self-hosting newcomers to set up a Fediverse server on low- (or even solar-) powered equipment they might have lying around at home. GtS values ease of deployment and maintenance; this means low system requirements, simple configuration, minimal external dependencies, and clear documentation. GtS makes it easy + affordable for self-hosting newcomers to set up a Fediverse server on low- (or even solar-) powered equipment they might have lying around at home.
GtS began development in Feb 2021. It is still in Alpha, and we hope to use NLNet funding to bring it up to the Beta phase. The project roadmap (https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md) gives more information on what we have planned. GtS began development in Feb 2021. It is still in Alpha, and we hope to use NLNet funding to bring it up to the Beta phase. The project roadmap (https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md) gives more information on what we have planned.
> Have you been involved with projects or organisations relevant to this project before? And if so, can you tell us a bit about your contributions? (Optional) This can help us determine if you are the right person to undertake this effort. > Have you been involved with projects or organisations relevant to this project before? And if so, can you tell us a bit about your contributions? (Optional) This can help us determine if you are the right person to undertake this effort.
@@ -45,7 +45,7 @@ Aside from GoToSocial, I've also made small PRs upstream to the ActivityPub libr
Currently, GoToSocial receives about €22/week from LiberaPay donations - https://liberapay.com/gotosocial. I have been paying my own costs for working on the project from my savings, which is unfortunately not sustainable for a lot longer. Currently, GoToSocial receives about €22/week from LiberaPay donations - https://liberapay.com/gotosocial. I have been paying my own costs for working on the project from my savings, which is unfortunately not sustainable for a lot longer.
The requested NLNet budget will be used to fund the remaining Alpha portion of development, and bring GoToSocial into the Beta phase (see the roadmap - https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md). In practical terms, this means paying myself to work full time on the project for one year, and paying for contributions from other developers as well. The requested NLNet budget will be used to fund the remaining Alpha portion of development, and bring GoToSocial into the Beta phase (see the roadmap - https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md). In practical terms, this means paying myself to work full time on the project for one year, and paying for contributions from other developers as well.
To pay my living costs + rent I need to make about €2,000/month after tax, working full time. In Belgium, that equates to about €3,000/month, which is €36,000 for one year of work. Naively calculated at 40 hours / week, that's €18.75 per hour. To pay my living costs + rent I need to make about €2,000/month after tax, working full time. In Belgium, that equates to about €3,000/month, which is €36,000 for one year of work. Naively calculated at 40 hours / week, that's €18.75 per hour.

View File

@@ -3,7 +3,7 @@ definitions:
FilterAction: FilterAction:
title: FilterAction is the action to apply to statuses matching a filter. title: FilterAction is the action to apply to statuses matching a filter.
type: string type: string
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
InstanceConfigurationEmojis: InstanceConfigurationEmojis:
properties: properties:
emoji_size_limit: emoji_size_limit:
@@ -14,7 +14,7 @@ definitions:
x-go-name: EmojiSizeLimit x-go-name: EmojiSizeLimit
title: InstanceConfigurationEmojis models instance emoji config parameters. title: InstanceConfigurationEmojis models instance emoji config parameters.
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
Link: Link:
description: See https://webfinger.net/ and https://www.rfc-editor.org/rfc/rfc6415.html#section-3.1 description: See https://webfinger.net/ and https://www.rfc-editor.org/rfc/rfc6415.html#section-3.1
properties: properties:
@@ -32,7 +32,7 @@ definitions:
x-go-name: Type x-go-name: Type
title: Link represents one 'link' in a slice of links returned from a lookup request. title: Link represents one 'link' in a slice of links returned from a lookup request.
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
Mention: Mention:
properties: properties:
acct: acct:
@@ -59,7 +59,7 @@ definitions:
x-go-name: Username x-go-name: Username
title: Mention represents a mention of another account. title: Mention represents a mention of another account.
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
NodeInfoServices: NodeInfoServices:
properties: properties:
inbound: inbound:
@@ -74,7 +74,7 @@ definitions:
x-go-name: Outbound x-go-name: Outbound
title: NodeInfoServices represents inbound and outbound services that this node offers connections to. title: NodeInfoServices represents inbound and outbound services that this node offers connections to.
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
NodeInfoSoftware: NodeInfoSoftware:
properties: properties:
homepage: homepage:
@@ -97,7 +97,7 @@ definitions:
x-go-name: Version x-go-name: Version
title: NodeInfoSoftware represents the name and version number of the software of this node. title: NodeInfoSoftware represents the name and version number of the software of this node.
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
NodeInfoUsage: NodeInfoUsage:
properties: properties:
localComments: localComments:
@@ -112,7 +112,7 @@ definitions:
$ref: '#/definitions/NodeInfoUsers' $ref: '#/definitions/NodeInfoUsers'
title: NodeInfoUsage represents usage information about this server, such as number of users. title: NodeInfoUsage represents usage information about this server, such as number of users.
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
NodeInfoUsers: NodeInfoUsers:
properties: properties:
activeHalfYear: activeHalfYear:
@@ -129,7 +129,7 @@ definitions:
x-go-name: Total x-go-name: Total
title: NodeInfoUsers represents aggregate information about the users on the server. title: NodeInfoUsers represents aggregate information about the users on the server.
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
Source: Source:
description: Returned as an additional entity when verifying and updated credentials, as an attribute of Account. description: Returned as an additional entity when verifying and updated credentials, as an attribute of Account.
properties: properties:
@@ -196,7 +196,7 @@ definitions:
x-go-name: WebVisibility x-go-name: WebVisibility
title: Source represents display or publishing preferences of user's own account. title: Source represents display or publishing preferences of user's own account.
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
TimelineMarker: TimelineMarker:
properties: properties:
last_read_id: last_read_id:
@@ -214,11 +214,11 @@ definitions:
x-go-name: Version x-go-name: Version
title: TimelineMarker contains information about a user's progress through a specific timeline. title: TimelineMarker contains information about a user's progress through a specific timeline.
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
WebPushNotificationPolicy: WebPushNotificationPolicy:
title: WebPushNotificationPolicy names sets of accounts that can generate notifications. title: WebPushNotificationPolicy names sets of accounts that can generate notifications.
type: string type: string
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
account: account:
description: The modelled account can be either a remote account, or one on this instance. description: The modelled account can be either a remote account, or one on this instance.
properties: properties:
@@ -400,7 +400,7 @@ definitions:
title: Account models a fediverse account. title: Account models a fediverse account.
type: object type: object
x-go-name: Account x-go-name: Account
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
accountDisplayRole: accountDisplayRole:
description: This is a subset of AccountRole. description: This is a subset of AccountRole.
properties: properties:
@@ -423,7 +423,7 @@ definitions:
title: AccountDisplayRole models a public, displayable role of an account. title: AccountDisplayRole models a public, displayable role of an account.
type: object type: object
x-go-name: AccountDisplayRole x-go-name: AccountDisplayRole
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
accountExportStats: accountExportStats:
description: |- description: |-
AccountExportStats models an account's stats AccountExportStats models an account's stats
@@ -473,7 +473,7 @@ definitions:
x-go-name: StatusesCount x-go-name: StatusesCount
type: object type: object
x-go-name: AccountExportStats x-go-name: AccountExportStats
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
accountRelationship: accountRelationship:
properties: properties:
blocked_by: blocked_by:
@@ -536,7 +536,7 @@ definitions:
title: Relationship represents a relationship between accounts. title: Relationship represents a relationship between accounts.
type: object type: object
x-go-name: Relationship x-go-name: Relationship
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
accountRole: accountRole:
properties: properties:
color: color:
@@ -568,7 +568,7 @@ definitions:
title: AccountRole models the role of an account. title: AccountRole models the role of an account.
type: object type: object
x-go-name: AccountRole x-go-name: AccountRole
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
adminAccountInfo: adminAccountInfo:
properties: properties:
account: account:
@@ -663,7 +663,7 @@ definitions:
title: AdminAccountInfo models the admin view of an account's details. title: AdminAccountInfo models the admin view of an account's details.
type: object type: object
x-go-name: AdminAccountInfo x-go-name: AdminAccountInfo
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
adminActionResponse: adminActionResponse:
description: |- description: |-
AdminActionResponse models the server AdminActionResponse models the server
@@ -676,7 +676,7 @@ definitions:
x-go-name: ActionID x-go-name: ActionID
type: object type: object
x-go-name: AdminActionResponse x-go-name: AdminActionResponse
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
adminEmoji: adminEmoji:
properties: properties:
category: category:
@@ -743,7 +743,7 @@ definitions:
title: AdminEmoji models the admin view of a custom emoji. title: AdminEmoji models the admin view of a custom emoji.
type: object type: object
x-go-name: AdminEmoji x-go-name: AdminEmoji
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
adminReport: adminReport:
properties: properties:
account: account:
@@ -824,7 +824,7 @@ definitions:
title: AdminReport models the admin view of a report. title: AdminReport models the admin view of a report.
type: object type: object
x-go-name: AdminReport x-go-name: AdminReport
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
application: application:
properties: properties:
client_id: client_id:
@@ -880,7 +880,7 @@ definitions:
title: Application models an api application. title: Application models an api application.
type: object type: object
x-go-name: Application x-go-name: Application
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
attachment: attachment:
properties: properties:
blurhash: blurhash:
@@ -939,7 +939,7 @@ definitions:
title: Attachment models a media attachment. title: Attachment models a media attachment.
type: object type: object
x-go-name: Attachment x-go-name: Attachment
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
card: card:
properties: properties:
author_name: author_name:
@@ -1012,7 +1012,7 @@ definitions:
title: Card represents a rich preview card that is generated using OpenGraph tags from a URL. title: Card represents a rich preview card that is generated using OpenGraph tags from a URL.
type: object type: object
x-go-name: Card x-go-name: Card
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
conversation: conversation:
description: |- description: |-
Conversation represents a conversation Conversation represents a conversation
@@ -1041,7 +1041,7 @@ definitions:
x-go-name: Unread x-go-name: Unread
type: object type: object
x-go-name: Conversation x-go-name: Conversation
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
debugAPUrlResponse: debugAPUrlResponse:
description: |- description: |-
DebugAPUrlResponse provides detailed debug DebugAPUrlResponse provides detailed debug
@@ -1081,7 +1081,7 @@ definitions:
x-go-name: ResponseHeaders x-go-name: ResponseHeaders
type: object type: object
x-go-name: DebugAPUrlResponse x-go-name: DebugAPUrlResponse
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
defaultPolicies: defaultPolicies:
properties: properties:
direct: direct:
@@ -1095,7 +1095,7 @@ definitions:
title: Default interaction policies to use for new statuses by requesting account. title: Default interaction policies to use for new statuses by requesting account.
type: object type: object
x-go-name: DefaultPolicies x-go-name: DefaultPolicies
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
domain: domain:
description: Domain represents a remote domain description: Domain represents a remote domain
properties: properties:
@@ -1130,7 +1130,7 @@ definitions:
x-go-name: SuspendedAt x-go-name: SuspendedAt
type: object type: object
x-go-name: Domain x-go-name: Domain
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
domainPermission: domainPermission:
properties: properties:
comment: comment:
@@ -1202,7 +1202,7 @@ definitions:
title: DomainPermission represents a permission applied to one domain (explicit block/allow). title: DomainPermission represents a permission applied to one domain (explicit block/allow).
type: object type: object
x-go-name: DomainPermission x-go-name: DomainPermission
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
domainPermissionSubscription: domainPermissionSubscription:
properties: properties:
adopt_orphans: adopt_orphans:
@@ -1296,7 +1296,7 @@ definitions:
title: DomainPermissionSubscription represents an auto-refreshing subscription to a list of domain permissions (allows, blocks). title: DomainPermissionSubscription represents an auto-refreshing subscription to a list of domain permissions (allows, blocks).
type: object type: object
x-go-name: DomainPermissionSubscription x-go-name: DomainPermissionSubscription
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
emoji: emoji:
properties: properties:
category: category:
@@ -1327,7 +1327,7 @@ definitions:
title: Emoji represents a custom emoji. title: Emoji represents a custom emoji.
type: object type: object
x-go-name: Emoji x-go-name: Emoji
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
emojiCategory: emojiCategory:
properties: properties:
id: id:
@@ -1341,7 +1341,7 @@ definitions:
title: EmojiCategory represents a custom emoji category. title: EmojiCategory represents a custom emoji category.
type: object type: object
x-go-name: EmojiCategory x-go-name: EmojiCategory
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
field: field:
properties: properties:
name: name:
@@ -1362,13 +1362,13 @@ definitions:
title: Field represents a name/value pair to display on an account's profile. title: Field represents a name/value pair to display on an account's profile.
type: object type: object
x-go-name: Field x-go-name: Field
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterContext: filterContext:
description: v1 and v2 filter APIs use the same set of contexts. description: v1 and v2 filter APIs use the same set of contexts.
title: FilterContext represents the context in which to apply a filter. title: FilterContext represents the context in which to apply a filter.
type: string type: string
x-go-name: FilterContext x-go-name: FilterContext
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterKeyword: filterKeyword:
properties: properties:
id: id:
@@ -1388,7 +1388,7 @@ definitions:
title: FilterKeyword represents text to filter within a v2 filter. title: FilterKeyword represents text to filter within a v2 filter.
type: object type: object
x-go-name: FilterKeyword x-go-name: FilterKeyword
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterResult: filterResult:
properties: properties:
filter: filter:
@@ -1408,7 +1408,7 @@ definitions:
title: FilterResult is returned along with a filtered status to explain why it was filtered. title: FilterResult is returned along with a filtered status to explain why it was filtered.
type: object type: object
x-go-name: FilterResult x-go-name: FilterResult
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterStatus: filterStatus:
properties: properties:
id: id:
@@ -1422,7 +1422,7 @@ definitions:
title: FilterStatus represents a single status to filter within a v2 filter. title: FilterStatus represents a single status to filter within a v2 filter.
type: object type: object
x-go-name: FilterStatus x-go-name: FilterStatus
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterV1: filterV1:
description: |- description: |-
Note that v1 filters are mapped to v2 filters and v2 filter keywords internally. Note that v1 filters are mapped to v2 filters and v2 filter keywords internally.
@@ -1471,7 +1471,7 @@ definitions:
title: FilterV1 represents a user-defined filter for determining which statuses should not be shown to the user. title: FilterV1 represents a user-defined filter for determining which statuses should not be shown to the user.
type: object type: object
x-go-name: FilterV1 x-go-name: FilterV1
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterV2: filterV2:
description: v2 filters have names and can include multiple phrases and status IDs to filter. description: v2 filters have names and can include multiple phrases and status IDs to filter.
properties: properties:
@@ -1517,7 +1517,7 @@ definitions:
title: FilterV2 represents a user-defined filter for determining which statuses should not be shown to the user. title: FilterV2 represents a user-defined filter for determining which statuses should not be shown to the user.
type: object type: object
x-go-name: FilterV2 x-go-name: FilterV2
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
headerFilter: headerFilter:
properties: properties:
created_at: created_at:
@@ -1551,7 +1551,7 @@ definitions:
title: HeaderFilter represents a regex value filter applied to one particular HTTP header (allow / block). title: HeaderFilter represents a regex value filter applied to one particular HTTP header (allow / block).
type: object type: object
x-go-name: HeaderFilter x-go-name: HeaderFilter
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
hostmeta: hostmeta:
description: 'See: https://www.rfc-editor.org/rfc/rfc6415.html#section-3' description: 'See: https://www.rfc-editor.org/rfc/rfc6415.html#section-3'
properties: properties:
@@ -1565,7 +1565,7 @@ definitions:
title: HostMeta represents a hostmeta document. title: HostMeta represents a hostmeta document.
type: object type: object
x-go-name: HostMeta x-go-name: HostMeta
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceConfigurationAccounts: instanceConfigurationAccounts:
properties: properties:
allow_custom_css: allow_custom_css:
@@ -1590,7 +1590,7 @@ definitions:
title: InstanceConfigurationAccounts models instance account config parameters. title: InstanceConfigurationAccounts models instance account config parameters.
type: object type: object
x-go-name: InstanceConfigurationAccounts x-go-name: InstanceConfigurationAccounts
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceConfigurationMediaAttachments: instanceConfigurationMediaAttachments:
properties: properties:
image_matrix_limit: image_matrix_limit:
@@ -1643,7 +1643,7 @@ definitions:
title: InstanceConfigurationMediaAttachments models instance media attachment config parameters. title: InstanceConfigurationMediaAttachments models instance media attachment config parameters.
type: object type: object
x-go-name: InstanceConfigurationMediaAttachments x-go-name: InstanceConfigurationMediaAttachments
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceConfigurationPolls: instanceConfigurationPolls:
properties: properties:
max_characters_per_option: max_characters_per_option:
@@ -1673,7 +1673,7 @@ definitions:
title: InstanceConfigurationPolls models instance poll config parameters. title: InstanceConfigurationPolls models instance poll config parameters.
type: object type: object
x-go-name: InstanceConfigurationPolls x-go-name: InstanceConfigurationPolls
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceConfigurationStatuses: instanceConfigurationStatuses:
properties: properties:
characters_reserved_per_url: characters_reserved_per_url:
@@ -1706,7 +1706,7 @@ definitions:
title: InstanceConfigurationStatuses models instance status config parameters. title: InstanceConfigurationStatuses models instance status config parameters.
type: object type: object
x-go-name: InstanceConfigurationStatuses x-go-name: InstanceConfigurationStatuses
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceRule: instanceRule:
properties: properties:
id: id:
@@ -1718,7 +1718,7 @@ definitions:
title: InstanceRule represents a single instance rule. title: InstanceRule represents a single instance rule.
type: object type: object
x-go-name: InstanceRule x-go-name: InstanceRule
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV1: instanceV1:
properties: properties:
account_domain: account_domain:
@@ -1875,7 +1875,7 @@ definitions:
title: InstanceV1 models information about this instance. title: InstanceV1 models information about this instance.
type: object type: object
x-go-name: InstanceV1 x-go-name: InstanceV1
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV1Configuration: instanceV1Configuration:
properties: properties:
accounts: accounts:
@@ -1895,7 +1895,7 @@ definitions:
title: InstanceV1Configuration models instance configuration parameters. title: InstanceV1Configuration models instance configuration parameters.
type: object type: object
x-go-name: InstanceV1Configuration x-go-name: InstanceV1Configuration
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV1URLs: instanceV1URLs:
properties: properties:
streaming_api: streaming_api:
@@ -1906,7 +1906,7 @@ definitions:
title: InstanceV1URLs models instance-relevant URLs for client application consumption. title: InstanceV1URLs models instance-relevant URLs for client application consumption.
type: object type: object
x-go-name: InstanceV1URLs x-go-name: InstanceV1URLs
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2: instanceV2:
properties: properties:
account_domain: account_domain:
@@ -1965,7 +1965,7 @@ definitions:
x-go-name: Rules x-go-name: Rules
source_url: source_url:
description: The URL for the source code of the software running on this instance, in keeping with AGPL license requirements. description: The URL for the source code of the software running on this instance, in keeping with AGPL license requirements.
example: https://github.com/superseriousbusiness/gotosocial example: https://codeberg.org/superseriousbusiness/gotosocial
type: string type: string
x-go-name: SourceURL x-go-name: SourceURL
terms: terms:
@@ -1998,7 +1998,7 @@ definitions:
title: InstanceV2 models information about this instance. title: InstanceV2 models information about this instance.
type: object type: object
x-go-name: InstanceV2 x-go-name: InstanceV2
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Configuration: instanceV2Configuration:
properties: properties:
accounts: accounts:
@@ -2024,7 +2024,7 @@ definitions:
title: Configured values and limits for this instance. title: Configured values and limits for this instance.
type: object type: object
x-go-name: InstanceV2Configuration x-go-name: InstanceV2Configuration
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2ConfigurationTranslation: instanceV2ConfigurationTranslation:
properties: properties:
enabled: enabled:
@@ -2036,7 +2036,7 @@ definitions:
title: Hints related to translation. title: Hints related to translation.
type: object type: object
x-go-name: InstanceV2ConfigurationTranslation x-go-name: InstanceV2ConfigurationTranslation
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2ConfigurationVAPID: instanceV2ConfigurationVAPID:
properties: properties:
public_key: public_key:
@@ -2046,7 +2046,7 @@ definitions:
title: InstanceV2ConfigurationVAPID holds the instance's VAPID configuration. title: InstanceV2ConfigurationVAPID holds the instance's VAPID configuration.
type: object type: object
x-go-name: InstanceV2ConfigurationVAPID x-go-name: InstanceV2ConfigurationVAPID
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Contact: instanceV2Contact:
properties: properties:
account: account:
@@ -2061,7 +2061,7 @@ definitions:
title: Hints related to contacting a representative of the instance. title: Hints related to contacting a representative of the instance.
type: object type: object
x-go-name: InstanceV2Contact x-go-name: InstanceV2Contact
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Registrations: instanceV2Registrations:
properties: properties:
approval_required: approval_required:
@@ -2084,7 +2084,7 @@ definitions:
title: Information about registering for this instance. title: Information about registering for this instance.
type: object type: object
x-go-name: InstanceV2Registrations x-go-name: InstanceV2Registrations
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Thumbnail: instanceV2Thumbnail:
properties: properties:
blurhash: blurhash:
@@ -2130,7 +2130,7 @@ definitions:
title: An image used to represent this instance. title: An image used to represent this instance.
type: object type: object
x-go-name: InstanceV2Thumbnail x-go-name: InstanceV2Thumbnail
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2ThumbnailVersions: instanceV2ThumbnailVersions:
properties: properties:
'@1x': '@1x':
@@ -2148,7 +2148,7 @@ definitions:
title: Links to scaled resolution images, for high DPI screens. title: Links to scaled resolution images, for high DPI screens.
type: object type: object
x-go-name: InstanceV2ThumbnailVersions x-go-name: InstanceV2ThumbnailVersions
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2URLs: instanceV2URLs:
properties: properties:
streaming: streaming:
@@ -2159,7 +2159,7 @@ definitions:
title: InstanceV2URLs models instance-relevant URLs for client application consumption. title: InstanceV2URLs models instance-relevant URLs for client application consumption.
type: object type: object
x-go-name: InstanceV2URLs x-go-name: InstanceV2URLs
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Usage: instanceV2Usage:
properties: properties:
users: users:
@@ -2167,7 +2167,7 @@ definitions:
title: Usage data for this instance. title: Usage data for this instance.
type: object type: object
x-go-name: InstanceV2Usage x-go-name: InstanceV2Usage
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Users: instanceV2Users:
properties: properties:
active_month: active_month:
@@ -2181,7 +2181,7 @@ definitions:
title: Usage data related to users on this instance. title: Usage data related to users on this instance.
type: object type: object
x-go-name: InstanceV2Users x-go-name: InstanceV2Users
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
interactionPolicy: interactionPolicy:
properties: properties:
can_favourite: can_favourite:
@@ -2193,7 +2193,7 @@ definitions:
title: Interaction policy of a status. title: Interaction policy of a status.
type: object type: object
x-go-name: InteractionPolicy x-go-name: InteractionPolicy
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
interactionPolicyRules: interactionPolicyRules:
properties: properties:
always: always:
@@ -2211,7 +2211,7 @@ definitions:
title: Rules for one interaction type. title: Rules for one interaction type.
type: object type: object
x-go-name: PolicyRules x-go-name: PolicyRules
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
interactionPolicyValue: interactionPolicyValue:
description: |- description: |-
It can be EITHER one of the internal keywords listed below, OR a full-fledged ActivityPub URI of an Actor, like "https://example.org/users/some_user". It can be EITHER one of the internal keywords listed below, OR a full-fledged ActivityPub URI of an Actor, like "https://example.org/users/some_user".
@@ -2228,7 +2228,7 @@ definitions:
title: One interaction policy entry for a status. title: One interaction policy entry for a status.
type: string type: string
x-go-name: PolicyValue x-go-name: PolicyValue
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
interactionRequest: interactionRequest:
properties: properties:
accepted_at: accepted_at:
@@ -2269,7 +2269,7 @@ definitions:
title: InteractionRequest represents a pending, approved, or rejected interaction of type favourite, reply, or reblog. title: InteractionRequest represents a pending, approved, or rejected interaction of type favourite, reply, or reblog.
type: object type: object
x-go-name: InteractionRequest x-go-name: InteractionRequest
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
list: list:
properties: properties:
exclusive: exclusive:
@@ -2297,7 +2297,7 @@ definitions:
title: List represents a user-created list of accounts that the user follows. title: List represents a user-created list of accounts that the user follows.
type: object type: object
x-go-name: List x-go-name: List
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
markers: markers:
properties: properties:
home: home:
@@ -2307,7 +2307,7 @@ definitions:
title: Marker represents the last read position within a user's timelines. title: Marker represents the last read position within a user's timelines.
type: object type: object
x-go-name: Marker x-go-name: Marker
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
mediaDimensions: mediaDimensions:
properties: properties:
aspect: aspect:
@@ -2365,7 +2365,7 @@ definitions:
title: MediaDimensions models detailed properties of a piece of media. title: MediaDimensions models detailed properties of a piece of media.
type: object type: object
x-go-name: MediaDimensions x-go-name: MediaDimensions
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
mediaFocus: mediaFocus:
properties: properties:
x: x:
@@ -2385,7 +2385,7 @@ definitions:
title: MediaFocus models the focal point of a piece of media. title: MediaFocus models the focal point of a piece of media.
type: object type: object
x-go-name: MediaFocus x-go-name: MediaFocus
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
mediaMeta: mediaMeta:
description: This can be metadata about an image, an audio file, video, etc. description: This can be metadata about an image, an audio file, video, etc.
properties: properties:
@@ -2398,7 +2398,7 @@ definitions:
title: MediaMeta models media metadata. title: MediaMeta models media metadata.
type: object type: object
x-go-name: MediaMeta x-go-name: MediaMeta
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
mutedAccount: mutedAccount:
properties: properties:
acct: acct:
@@ -2586,7 +2586,7 @@ definitions:
title: MutedAccount extends Account with a field used only by the muted user list. title: MutedAccount extends Account with a field used only by the muted user list.
type: object type: object
x-go-name: MutedAccount x-go-name: MutedAccount
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
nodeinfo: nodeinfo:
description: 'See: https://nodeinfo.diaspora.software/schema.html' description: 'See: https://nodeinfo.diaspora.software/schema.html'
properties: properties:
@@ -2620,7 +2620,7 @@ definitions:
title: Nodeinfo represents a version 2.1 or version 2.0 nodeinfo schema. title: Nodeinfo represents a version 2.1 or version 2.0 nodeinfo schema.
type: object type: object
x-go-name: Nodeinfo x-go-name: Nodeinfo
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
notification: notification:
properties: properties:
account: account:
@@ -2651,7 +2651,7 @@ definitions:
title: Notification represents a notification of an event relevant to the user. title: Notification represents a notification of an event relevant to the user.
type: object type: object
x-go-name: Notification x-go-name: Notification
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
oauthToken: oauthToken:
properties: properties:
access_token: access_token:
@@ -2677,7 +2677,7 @@ definitions:
title: Token represents an OAuth token used for authenticating with the GoToSocial API and performing actions. title: Token represents an OAuth token used for authenticating with the GoToSocial API and performing actions.
type: object type: object
x-go-name: Token x-go-name: Token
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
poll: poll:
properties: properties:
emojis: emojis:
@@ -2740,7 +2740,7 @@ definitions:
title: Poll represents a poll attached to a status. title: Poll represents a poll attached to a status.
type: object type: object
x-go-name: Poll x-go-name: Poll
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
pollOption: pollOption:
properties: properties:
title: title:
@@ -2755,7 +2755,7 @@ definitions:
title: PollOption represents the current vote counts for different poll options. title: PollOption represents the current vote counts for different poll options.
type: object type: object
x-go-name: PollOption x-go-name: PollOption
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
report: report:
properties: properties:
action_taken: action_taken:
@@ -2831,7 +2831,7 @@ definitions:
title: Report models a moderation report submitted to the instance, either via the client API or via the federated API. title: Report models a moderation report submitted to the instance, either via the client API or via the federated API.
type: object type: object
x-go-name: Report x-go-name: Report
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
searchResult: searchResult:
properties: properties:
accounts: accounts:
@@ -2852,7 +2852,7 @@ definitions:
title: SearchResult models a search result. title: SearchResult models a search result.
type: object type: object
x-go-name: SearchResult x-go-name: SearchResult
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
status: status:
properties: properties:
account: account:
@@ -3015,7 +3015,7 @@ definitions:
title: Status models a status or post. title: Status models a status or post.
type: object type: object
x-go-name: Status x-go-name: Status
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
statusEdit: statusEdit:
description: |- description: |-
StatusEdit represents one historical revision of a status, containing StatusEdit represents one historical revision of a status, containing
@@ -3061,7 +3061,7 @@ definitions:
x-go-name: SpoilerText x-go-name: SpoilerText
type: object type: object
x-go-name: StatusEdit x-go-name: StatusEdit
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
statusReblogged: statusReblogged:
properties: properties:
account: account:
@@ -3224,7 +3224,7 @@ definitions:
title: StatusReblogged represents a reblogged status. title: StatusReblogged represents a reblogged status.
type: object type: object
x-go-name: StatusReblogged x-go-name: StatusReblogged
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
statusSource: statusSource:
description: |- description: |-
StatusSource represents the source text of a StatusSource represents the source text of a
@@ -3249,7 +3249,7 @@ definitions:
x-go-name: Text x-go-name: Text
type: object type: object
x-go-name: StatusSource x-go-name: StatusSource
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
swaggerCollection: swaggerCollection:
properties: properties:
'@context': '@context':
@@ -3276,7 +3276,7 @@ definitions:
title: SwaggerCollection represents an ActivityPub Collection. title: SwaggerCollection represents an ActivityPub Collection.
type: object type: object
x-go-name: SwaggerCollection x-go-name: SwaggerCollection
x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users
swaggerCollectionPage: swaggerCollectionPage:
properties: properties:
id: id:
@@ -3311,7 +3311,7 @@ definitions:
title: SwaggerCollectionPage represents one page of a collection. title: SwaggerCollectionPage represents one page of a collection.
type: object type: object
x-go-name: SwaggerCollectionPage x-go-name: SwaggerCollectionPage
x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users
swaggerFeaturedCollection: swaggerFeaturedCollection:
properties: properties:
'@context': '@context':
@@ -3348,7 +3348,7 @@ definitions:
title: SwaggerFeaturedCollection represents an ActivityPub OrderedCollection. title: SwaggerFeaturedCollection represents an ActivityPub OrderedCollection.
type: object type: object
x-go-name: SwaggerFeaturedCollection x-go-name: SwaggerFeaturedCollection
x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users
tag: tag:
properties: properties:
following: following:
@@ -3378,7 +3378,7 @@ definitions:
title: Tag represents a hashtag used within the content of a status. title: Tag represents a hashtag used within the content of a status.
type: object type: object
x-go-name: Tag x-go-name: Tag
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
theme: theme:
properties: properties:
description: description:
@@ -3396,7 +3396,7 @@ definitions:
title: Theme represents one user-selectable preset CSS theme. title: Theme represents one user-selectable preset CSS theme.
type: object type: object
x-go-name: Theme x-go-name: Theme
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
threadContext: threadContext:
description: |- description: |-
ThreadContext models the tree or ThreadContext models the tree or
@@ -3416,7 +3416,7 @@ definitions:
x-go-name: Descendants x-go-name: Descendants
type: object type: object
x-go-name: ThreadContext x-go-name: ThreadContext
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
tokenInfo: tokenInfo:
description: The actual access token itself will never be sent via the API. description: The actual access token itself will never be sent via the API.
properties: properties:
@@ -3447,7 +3447,7 @@ definitions:
title: TokenInfo represents metadata about one user-level access token. title: TokenInfo represents metadata about one user-level access token.
type: object type: object
x-go-name: TokenInfo x-go-name: TokenInfo
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
user: user:
properties: properties:
admin: admin:
@@ -3523,7 +3523,7 @@ definitions:
title: User models fields relevant to one user. title: User models fields relevant to one user.
type: object type: object
x-go-name: User x-go-name: User
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
webPushNotification: webPushNotification:
description: |- description: |-
It does not contain an entire Notification, just the NotificationID and some preview information. It does not contain an entire Notification, just the NotificationID and some preview information.
@@ -3570,7 +3570,7 @@ definitions:
title: WebPushNotification represents a notification summary delivered to the client by the Web Push server. title: WebPushNotification represents a notification summary delivered to the client by the Web Push server.
type: object type: object
x-go-name: WebPushNotification x-go-name: WebPushNotification
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
webPushSubscription: webPushSubscription:
properties: properties:
alerts: alerts:
@@ -3598,7 +3598,7 @@ definitions:
title: WebPushSubscription represents a subscription to a Web Push server. title: WebPushSubscription represents a subscription to a Web Push server.
type: object type: object
x-go-name: WebPushSubscription x-go-name: WebPushSubscription
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
webPushSubscriptionAlerts: webPushSubscriptionAlerts:
properties: properties:
admin.report: admin.report:
@@ -3656,7 +3656,7 @@ definitions:
title: WebPushSubscriptionAlerts represents the specific events that this Web Push subscription will receive. title: WebPushSubscriptionAlerts represents the specific events that this Web Push subscription will receive.
type: object type: object
x-go-name: WebPushSubscriptionAlerts x-go-name: WebPushSubscriptionAlerts
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
wellKnownResponse: wellKnownResponse:
description: See https://webfinger.net/ description: See https://webfinger.net/
properties: properties:
@@ -3678,7 +3678,7 @@ definitions:
For example, it would be returned from https://example.org/.well-known/webfinger?resource=acct:some_username@example.org For example, it would be returned from https://example.org/.well-known/webfinger?resource=acct:some_username@example.org
type: object type: object
x-go-name: WellKnownResponse x-go-name: WellKnownResponse
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
host: example.org host: example.org
info: info:
contact: contact:

View File

@@ -18,7 +18,7 @@ gotosocial --config-path ./config.yaml server start
The command expects a file in [YAML](https://en.wikipedia.org/wiki/YAML) or [JSON](https://en.wikipedia.org/wiki/JSON) format. The command expects a file in [YAML](https://en.wikipedia.org/wiki/YAML) or [JSON](https://en.wikipedia.org/wiki/JSON) format.
An example configuration file, with an explanation of each of the config fields, with default and example values, can be found [here](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml). This example file is also included in release downloads. An example configuration file, with an explanation of each of the config fields, with default and example values, can be found [here](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml). This example file is also included in release downloads.
It's recommended to create your own configuration file with only the settings you need to change for your installation. This ensures you don't have to reconcile changes to defaults or adding/updating/removing settings from your configuration file that you haven't changed away from the defaults on every release. It's recommended to create your own configuration file with only the settings you need to change for your installation. This ensures you don't have to reconcile changes to defaults or adding/updating/removing settings from your configuration file that you haven't changed away from the defaults on every release.
@@ -125,7 +125,7 @@ This means in cases where you want to just try changing one thing, but don't wan
Reasonable default values are provided for *most* of the configuration parameters, except in cases where a custom value is absolutely required. Reasonable default values are provided for *most* of the configuration parameters, except in cases where a custom value is absolutely required.
See the [example config file](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml) for the default values, or run `gotosocial --help`. See the [example config file](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml) for the default values, or run `gotosocial --help`.
## `GTS_WAZERO_COMPILATION_CACHE` ## `GTS_WAZERO_COMPILATION_CACHE`

View File

@@ -38,4 +38,4 @@ We introduced a sign-up flow in v0.16.0. The server you want to sign up to must
## Why's it still in Beta? ## Why's it still in Beta?
Take a look at the [list of open bugs](https://github.com/superseriousbusiness/gotosocial/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and the [roadmap](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md) for a more detailed rundown. Take a look at the [list of open bugs](https://github.com/superseriousbusiness/gotosocial/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and the [roadmap](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md) for a more detailed rundown.

View File

@@ -24,7 +24,7 @@ See [#894](https://github.com/superseriousbusiness/gotosocial/issues/894) for mo
## Incoming Requests ## Incoming Requests
GoToSocial request signature validation is implemented in [internal/federation](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/federation/authenticate.go). GoToSocial request signature validation is implemented in [internal/federation](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/federation/authenticate.go).
GoToSocial will attempt to parse the signature using the following algorithms (in order), stopping at the first success: GoToSocial will attempt to parse the signature using the following algorithms (in order), stopping at the first success:
@@ -36,7 +36,7 @@ ED25519
## Outgoing Requests ## Outgoing Requests
GoToSocial request signing is implemented in [internal/transport](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/transport/signing.go). GoToSocial request signing is implemented in [internal/transport](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/transport/signing.go).
Once https://github.com/superseriousbusiness/gotosocial/issues/2991 is resolved, GoToSocial will use the `(created)` pseudo-header instead of `date`. Once https://github.com/superseriousbusiness/gotosocial/issues/2991 is resolved, GoToSocial will use the `(created)` pseudo-header instead of `date`.

View File

@@ -155,7 +155,7 @@ Though multiple GtS instances can use the same Postgres database and either shar
## Tuning ## Tuning
Aside from the many instance tuning options present in the [example config file](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml) you can do additional tuning on the machine your GoToSocial instance is running on. Aside from the many instance tuning options present in the [example config file](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml) you can do additional tuning on the machine your GoToSocial instance is running on.
### Swap ### Swap

View File

@@ -4,7 +4,7 @@ definitions:
title: FilterAction title: FilterAction
description: FilterAction 是针对与过滤规则匹配的贴文所执行的操作。 description: FilterAction 是针对与过滤规则匹配的贴文所执行的操作。
type: string type: string
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
InstanceConfigurationEmojis: InstanceConfigurationEmojis:
properties: properties:
emoji_size_limit: emoji_size_limit:
@@ -16,7 +16,7 @@ definitions:
title: InstanceConfigurationEmojis title: InstanceConfigurationEmojis
description: InstanceConfigurationEmojis 结构体包含有关自定义表情的配置信息。 description: InstanceConfigurationEmojis 结构体包含有关自定义表情的配置信息。
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
Link: Link:
description: Link 代表针对查询请求返回的链接组中的一个“链接”。详见 https://webfinger.net/ 和 https://www.rfc-editor.org/rfc/rfc6415.html#section-3.1 description: Link 代表针对查询请求返回的链接组中的一个“链接”。详见 https://webfinger.net/ 和 https://www.rfc-editor.org/rfc/rfc6415.html#section-3.1
properties: properties:
@@ -34,7 +34,7 @@ definitions:
x-go-name: Type x-go-name: Type
title: Link title: Link
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
Mention: Mention:
properties: properties:
acct: acct:
@@ -62,7 +62,7 @@ definitions:
title: Mention title: Mention
description: Mention 表示对另一个账户的一次提及。 description: Mention 表示对另一个账户的一次提及。
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
NodeInfoServices: NodeInfoServices:
properties: properties:
inbound: inbound:
@@ -78,7 +78,7 @@ definitions:
title: NodeInfoServices title: NodeInfoServices
description: 表示此节点对入站和出站连接提供的服务。 description: 表示此节点对入站和出站连接提供的服务。
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
NodeInfoSoftware: NodeInfoSoftware:
properties: properties:
homepage: homepage:
@@ -102,7 +102,7 @@ definitions:
title: NodeInfoSoftware title: NodeInfoSoftware
description: NodeInfoSoftware 表示此节点软件的名称和版本号。 description: NodeInfoSoftware 表示此节点软件的名称和版本号。
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
NodeInfoUsage: NodeInfoUsage:
properties: properties:
localComments: localComments:
@@ -118,7 +118,7 @@ definitions:
title: NodeInfoUsage title: NodeInfoUsage
description: 表示有关此服务器的使用信息,例如用户数量。 description: 表示有关此服务器的使用信息,例如用户数量。
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
NodeInfoUsers: NodeInfoUsers:
properties: properties:
activeHalfYear: activeHalfYear:
@@ -136,7 +136,7 @@ definitions:
title: NodeInfoUsers title: NodeInfoUsers
description: NodeInfoUsers 表示有关服务器上用户的聚合信息。 description: NodeInfoUsers 表示有关服务器上用户的聚合信息。
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
Source: Source:
description: Source 表示用户自己账户的内容展示或发布偏好。在验证和更新凭据时,作为 Account 的一个属性返回的附加实体。 description: Source 表示用户自己账户的内容展示或发布偏好。在验证和更新凭据时,作为 Account 的一个属性返回的附加实体。
properties: properties:
@@ -195,7 +195,7 @@ definitions:
x-go-name: WebVisibility x-go-name: WebVisibility
title: Source title: Source
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
TimelineMarker: TimelineMarker:
properties: properties:
last_read_id: last_read_id:
@@ -214,11 +214,11 @@ definitions:
title: TimelineMarker title: TimelineMarker
description: TimelineMarker 包含有关用户在特定时间线上的阅读进度的信息。 description: TimelineMarker 包含有关用户在特定时间线上的阅读进度的信息。
type: object type: object
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
WebPushNotificationPolicy: WebPushNotificationPolicy:
description: WebPushNotificationPolicy 包含可以生成通知的帐户集合。 description: WebPushNotificationPolicy 包含可以生成通知的帐户集合。
type: string type: string
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
account: account:
description: Account 是一个 Fediverse 账户的抽象模型。被抽象的账户可以是本站账户,也可以是外站账户。 description: Account 是一个 Fediverse 账户的抽象模型。被抽象的账户可以是本站账户,也可以是外站账户。
properties: properties:
@@ -400,7 +400,7 @@ definitions:
title: Account title: Account
type: object type: object
x-go-name: Account x-go-name: Account
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
accountDisplayRole: accountDisplayRole:
description: AccountDisplayRole 是账户的公开、可显示身份组的抽象模型。它是 AccountRole 的一个子集。 description: AccountDisplayRole 是账户的公开、可显示身份组的抽象模型。它是 AccountRole 的一个子集。
properties: properties:
@@ -423,7 +423,7 @@ definitions:
title: AccountDisplayRole title: AccountDisplayRole
type: object type: object
x-go-name: AccountDisplayRole x-go-name: AccountDisplayRole
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
accountExportStats: accountExportStats:
description: |- description: |-
AccountExportStats 专门用于在 /api/v1/exports/stats 端点上通知有关导出大小的账户统计信息。 AccountExportStats 专门用于在 /api/v1/exports/stats 端点上通知有关导出大小的账户统计信息。
@@ -471,7 +471,7 @@ definitions:
x-go-name: StatusesCount x-go-name: StatusesCount
type: object type: object
x-go-name: AccountExportStats x-go-name: AccountExportStats
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
accountRelationship: accountRelationship:
properties: properties:
blocked_by: blocked_by:
@@ -535,7 +535,7 @@ definitions:
description: Relationship 表示账户之间的关系。 description: Relationship 表示账户之间的关系。
type: object type: object
x-go-name: Relationship x-go-name: Relationship
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
accountRole: accountRole:
properties: properties:
color: color:
@@ -568,7 +568,7 @@ definitions:
description: AccountRole 是账户的身份组的抽象模型。 description: AccountRole 是账户的身份组的抽象模型。
type: object type: object
x-go-name: AccountRole x-go-name: AccountRole
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
adminAccountInfo: adminAccountInfo:
properties: properties:
account: account:
@@ -663,7 +663,7 @@ definitions:
description: AdminAccountInfo 是管理员视图下账户详情的抽象模型。 description: AdminAccountInfo 是管理员视图下账户详情的抽象模型。
type: object type: object
x-go-name: AdminAccountInfo x-go-name: AdminAccountInfo
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
adminActionResponse: adminActionResponse:
description: |- description: |-
AdminActionResponse 是服务器对管理员操作的响应的抽象模型。 AdminActionResponse 是服务器对管理员操作的响应的抽象模型。
@@ -675,7 +675,7 @@ definitions:
x-go-name: ActionID x-go-name: ActionID
type: object type: object
x-go-name: AdminActionResponse x-go-name: AdminActionResponse
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
adminEmoji: adminEmoji:
properties: properties:
category: category:
@@ -743,7 +743,7 @@ definitions:
description: AdminEmoji 是管理员视图下自定义表情的抽象模型。 description: AdminEmoji 是管理员视图下自定义表情的抽象模型。
type: object type: object
x-go-name: AdminEmoji x-go-name: AdminEmoji
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
adminReport: adminReport:
properties: properties:
account: account:
@@ -825,7 +825,7 @@ definitions:
description: AdminReport 是管理员视图下举报的抽象模型。 description: AdminReport 是管理员视图下举报的抽象模型。
type: object type: object
x-go-name: AdminReport x-go-name: AdminReport
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
application: application:
properties: properties:
client_id: client_id:
@@ -877,7 +877,7 @@ definitions:
description: Application 是对 API 应用程序的抽象模型。 description: Application 是对 API 应用程序的抽象模型。
type: object type: object
x-go-name: Application x-go-name: Application
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
attachment: attachment:
properties: properties:
blurhash: blurhash:
@@ -937,7 +937,7 @@ definitions:
description: Attachment 是媒体附件的抽象模型。 description: Attachment 是媒体附件的抽象模型。
type: object type: object
x-go-name: Attachment x-go-name: Attachment
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
card: card:
properties: properties:
author_name: author_name:
@@ -1011,7 +1011,7 @@ definitions:
description: Card 表示使用 OpenGraph 标签从 URL 生成的丰富预览卡片。 description: Card 表示使用 OpenGraph 标签从 URL 生成的丰富预览卡片。
type: object type: object
x-go-name: Card x-go-name: Card
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
conversation: conversation:
description: |- description: |-
Conversation 表示具有“私信”可见性的对话。 Conversation 表示具有“私信”可见性的对话。
@@ -1037,7 +1037,7 @@ definitions:
x-go-name: Unread x-go-name: Unread
type: object type: object
x-go-name: Conversation x-go-name: Conversation
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
debugAPUrlResponse: debugAPUrlResponse:
description: |- description: |-
DebugAPUrlResponse 提供对 AP URL 解引用请求的详细调试信息。 DebugAPUrlResponse 提供对 AP URL 解引用请求的详细调试信息。
@@ -1075,7 +1075,7 @@ definitions:
x-go-name: ResponseHeaders x-go-name: ResponseHeaders
type: object type: object
x-go-name: DebugAPUrlResponse x-go-name: DebugAPUrlResponse
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
defaultPolicies: defaultPolicies:
properties: properties:
direct: direct:
@@ -1089,7 +1089,7 @@ definitions:
title: 发起请求的账户的新贴文的默认互动规则。 title: 发起请求的账户的新贴文的默认互动规则。
type: object type: object
x-go-name: DefaultPolicies x-go-name: DefaultPolicies
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
domain: domain:
description: Domain 表示一个外站实例 description: Domain 表示一个外站实例
properties: properties:
@@ -1115,7 +1115,7 @@ definitions:
x-go-name: SuspendedAt x-go-name: SuspendedAt
type: object type: object
x-go-name: Domain x-go-name: Domain
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
domainPermission: domainPermission:
properties: properties:
created_at: created_at:
@@ -1173,7 +1173,7 @@ definitions:
description: DomainPermission 表示应用于某个实例的权限(显式阻止/允许)。 description: DomainPermission 表示应用于某个实例的权限(显式阻止/允许)。
type: object type: object
x-go-name: DomainPermission x-go-name: DomainPermission
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
domainPermissionSubscription: domainPermissionSubscription:
properties: properties:
adopt_orphans: adopt_orphans:
@@ -1268,7 +1268,7 @@ definitions:
description: DomainPermissionSubscription (域名权限订阅)表示一个可以自动更新的域名权限列表订阅(类型可以为允许或阻止) description: DomainPermissionSubscription (域名权限订阅)表示一个可以自动更新的域名权限列表订阅(类型可以为允许或阻止)
type: object type: object
x-go-name: DomainPermissionSubscription x-go-name: DomainPermissionSubscription
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
emoji: emoji:
properties: properties:
category: category:
@@ -1300,7 +1300,7 @@ definitions:
description: Emoji 表示一个自定义表情。 description: Emoji 表示一个自定义表情。
type: object type: object
x-go-name: Emoji x-go-name: Emoji
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
emojiCategory: emojiCategory:
properties: properties:
id: id:
@@ -1315,7 +1315,7 @@ definitions:
description: EmojiCategory 表示自定义表情的类别。 description: EmojiCategory 表示自定义表情的类别。
type: object type: object
x-go-name: EmojiCategory x-go-name: EmojiCategory
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
field: field:
properties: properties:
name: name:
@@ -1337,13 +1337,13 @@ definitions:
description: Field 表示要在账户资料上显示的名称/值对。 description: Field 表示要在账户资料上显示的名称/值对。
type: object type: object
x-go-name: Field x-go-name: Field
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterContext: filterContext:
description: FilterContext 表示过滤规则要应用到的上下文。Filter API 的 v1 和 v2 使用相同的上下文集合。 description: FilterContext 表示过滤规则要应用到的上下文。Filter API 的 v1 和 v2 使用相同的上下文集合。
title: FilterContext title: FilterContext
type: string type: string
x-go-name: FilterContext x-go-name: FilterContext
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterKeyword: filterKeyword:
properties: properties:
id: id:
@@ -1364,7 +1364,7 @@ definitions:
description: FilterKeyword 表示 v2 过滤规则中要过滤的关键词文本。 description: FilterKeyword 表示 v2 过滤规则中要过滤的关键词文本。
type: object type: object
x-go-name: FilterKeyword x-go-name: FilterKeyword
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterResult: filterResult:
properties: properties:
filter: filter:
@@ -1385,7 +1385,7 @@ definitions:
description: FilterResult 与被过滤的贴文一起返回,以解释为什么被过滤。 description: FilterResult 与被过滤的贴文一起返回,以解释为什么被过滤。
type: object type: object
x-go-name: FilterResult x-go-name: FilterResult
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterStatus: filterStatus:
properties: properties:
id: id:
@@ -1400,7 +1400,7 @@ definitions:
description: FilterStatus 表示 v2 过滤规则中被过滤的贴文 ID。 description: FilterStatus 表示 v2 过滤规则中被过滤的贴文 ID。
type: object type: object
x-go-name: FilterStatus x-go-name: FilterStatus
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterV1: filterV1:
description: |- description: |-
FilterV1 表示用户定义的过滤规则,用于确定哪些贴文不应显示给用户。 FilterV1 表示用户定义的过滤规则,用于确定哪些贴文不应显示给用户。
@@ -1450,7 +1450,7 @@ definitions:
title: FilterV1 title: FilterV1
type: object type: object
x-go-name: FilterV1 x-go-name: FilterV1
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
filterV2: filterV2:
description: FilterV2 表示用户定义的过滤规则用于确定哪些贴文不应显示给用户。v2 过滤规则具有名称,并且可以包含多个短语和贴文 ID 以进行过滤。 description: FilterV2 表示用户定义的过滤规则用于确定哪些贴文不应显示给用户。v2 过滤规则具有名称,并且可以包含多个短语和贴文 ID 以进行过滤。
properties: properties:
@@ -1496,7 +1496,7 @@ definitions:
title: FilterV2 title: FilterV2
type: object type: object
x-go-name: FilterV2 x-go-name: FilterV2
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
headerFilter: headerFilter:
properties: properties:
created_at: created_at:
@@ -1531,7 +1531,7 @@ definitions:
description: HeaderFilter 表示应用于特定 HTTP 标头的正则过滤规则(允许/阻止)。 description: HeaderFilter 表示应用于特定 HTTP 标头的正则过滤规则(允许/阻止)。
type: object type: object
x-go-name: HeaderFilter x-go-name: HeaderFilter
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
hostmeta: hostmeta:
description: 'HostMeta 表示一份 hostmeta 文档。参见: https://www.rfc-editor.org/rfc/rfc6415.html#section-3' description: 'HostMeta 表示一份 hostmeta 文档。参见: https://www.rfc-editor.org/rfc/rfc6415.html#section-3'
properties: properties:
@@ -1545,7 +1545,7 @@ definitions:
title: HostMeta title: HostMeta
type: object type: object
x-go-name: HostMeta x-go-name: HostMeta
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceConfigurationAccounts: instanceConfigurationAccounts:
properties: properties:
allow_custom_css: allow_custom_css:
@@ -1570,7 +1570,7 @@ definitions:
description: InstanceConfigurationAccounts 是实例账户配置参数的抽象模型。 description: InstanceConfigurationAccounts 是实例账户配置参数的抽象模型。
type: object type: object
x-go-name: InstanceConfigurationAccounts x-go-name: InstanceConfigurationAccounts
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceConfigurationMediaAttachments: instanceConfigurationMediaAttachments:
properties: properties:
image_matrix_limit: image_matrix_limit:
@@ -1622,7 +1622,7 @@ definitions:
description: InstanceConfigurationMediaAttachments 是实例媒体附件配置参数的抽象模型。 description: InstanceConfigurationMediaAttachments 是实例媒体附件配置参数的抽象模型。
type: object type: object
x-go-name: InstanceConfigurationMediaAttachments x-go-name: InstanceConfigurationMediaAttachments
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceConfigurationPolls: instanceConfigurationPolls:
properties: properties:
max_characters_per_option: max_characters_per_option:
@@ -1653,7 +1653,7 @@ definitions:
description: InstanceConfigurationPolls 是实例投票配置参数的抽象模型。 description: InstanceConfigurationPolls 是实例投票配置参数的抽象模型。
type: object type: object
x-go-name: InstanceConfigurationPolls x-go-name: InstanceConfigurationPolls
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceConfigurationStatuses: instanceConfigurationStatuses:
properties: properties:
characters_reserved_per_url: characters_reserved_per_url:
@@ -1687,7 +1687,7 @@ definitions:
description: InstanceConfigurationStatuses 是实例贴文配置参数的抽象模型。 description: InstanceConfigurationStatuses 是实例贴文配置参数的抽象模型。
type: object type: object
x-go-name: InstanceConfigurationStatuses x-go-name: InstanceConfigurationStatuses
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceRule: instanceRule:
properties: properties:
id: id:
@@ -1700,7 +1700,7 @@ definitions:
description: InstanceRule 表示一条实例规则。 description: InstanceRule 表示一条实例规则。
type: object type: object
x-go-name: InstanceRule x-go-name: InstanceRule
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV1: instanceV1:
properties: properties:
account_domain: account_domain:
@@ -1856,7 +1856,7 @@ definitions:
description: InstanceV1 是关于此实例的信息的抽象模型。 description: InstanceV1 是关于此实例的信息的抽象模型。
type: object type: object
x-go-name: InstanceV1 x-go-name: InstanceV1
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV1Configuration: instanceV1Configuration:
properties: properties:
accounts: accounts:
@@ -1877,7 +1877,7 @@ definitions:
description: InstanceV1Configuration 是实例配置参数的抽象模型。 description: InstanceV1Configuration 是实例配置参数的抽象模型。
type: object type: object
x-go-name: InstanceV1Configuration x-go-name: InstanceV1Configuration
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV1URLs: instanceV1URLs:
properties: properties:
streaming_api: streaming_api:
@@ -1889,7 +1889,7 @@ definitions:
description: InstanceV1URLs 是客户端应用程序使用的与实例相关的 URL 的抽象模型。 description: InstanceV1URLs 是客户端应用程序使用的与实例相关的 URL 的抽象模型。
type: object type: object
x-go-name: InstanceV1URLs x-go-name: InstanceV1URLs
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2: instanceV2:
properties: properties:
account_domain: account_domain:
@@ -1981,7 +1981,7 @@ definitions:
description: InstanceV2 是关于此实例的信息的抽象模型。 description: InstanceV2 是关于此实例的信息的抽象模型。
type: object type: object
x-go-name: InstanceV2 x-go-name: InstanceV2
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Configuration: instanceV2Configuration:
properties: properties:
accounts: accounts:
@@ -2008,7 +2008,7 @@ definitions:
description: 此实例的配置值和限制。 description: 此实例的配置值和限制。
type: object type: object
x-go-name: InstanceV2Configuration x-go-name: InstanceV2Configuration
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2ConfigurationTranslation: instanceV2ConfigurationTranslation:
properties: properties:
enabled: enabled:
@@ -2021,7 +2021,7 @@ definitions:
description: 关于翻译功能的提示。 description: 关于翻译功能的提示。
type: object type: object
x-go-name: InstanceV2ConfigurationTranslation x-go-name: InstanceV2ConfigurationTranslation
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2ConfigurationVAPID: instanceV2ConfigurationVAPID:
properties: properties:
public_key: public_key:
@@ -2031,7 +2031,7 @@ definitions:
title: InstanceV2ConfigurationVAPID 存储实例的 VAPID 配置信息。 title: InstanceV2ConfigurationVAPID 存储实例的 VAPID 配置信息。
type: object type: object
x-go-name: InstanceV2ConfigurationVAPID x-go-name: InstanceV2ConfigurationVAPID
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Contact: instanceV2Contact:
properties: properties:
account: account:
@@ -2047,7 +2047,7 @@ definitions:
description: 此实例的联系信息。 description: 此实例的联系信息。
type: object type: object
x-go-name: InstanceV2Contact x-go-name: InstanceV2Contact
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Registrations: instanceV2Registrations:
properties: properties:
approval_required: approval_required:
@@ -2070,7 +2070,7 @@ definitions:
description: 此实例有关注册的信息。 description: 此实例有关注册的信息。
type: object type: object
x-go-name: InstanceV2Registrations x-go-name: InstanceV2Registrations
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Thumbnail: instanceV2Thumbnail:
properties: properties:
blurhash: blurhash:
@@ -2116,7 +2116,7 @@ definitions:
description: 代表此实例的图像。 description: 代表此实例的图像。
type: object type: object
x-go-name: InstanceV2Thumbnail x-go-name: InstanceV2Thumbnail
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2ThumbnailVersions: instanceV2ThumbnailVersions:
properties: properties:
'@1x': '@1x':
@@ -2135,7 +2135,7 @@ definitions:
description: 缩略图的高分辨率版本,用于高 DPI 屏幕。 description: 缩略图的高分辨率版本,用于高 DPI 屏幕。
type: object type: object
x-go-name: InstanceV2ThumbnailVersions x-go-name: InstanceV2ThumbnailVersions
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2URLs: instanceV2URLs:
properties: properties:
streaming: streaming:
@@ -2147,7 +2147,7 @@ definitions:
description: InstanceV2URLs 是客户端应用程序使用的与实例相关的 URL 的抽象模型。 description: InstanceV2URLs 是客户端应用程序使用的与实例相关的 URL 的抽象模型。
type: object type: object
x-go-name: InstanceV2URLs x-go-name: InstanceV2URLs
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Usage: instanceV2Usage:
properties: properties:
users: users:
@@ -2156,7 +2156,7 @@ definitions:
description: InstanceV2Usage 是关于此实例的使用数据的抽象模型。 description: InstanceV2Usage 是关于此实例的使用数据的抽象模型。
type: object type: object
x-go-name: InstanceV2Usage x-go-name: InstanceV2Usage
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
instanceV2Users: instanceV2Users:
properties: properties:
active_month: active_month:
@@ -2171,7 +2171,7 @@ definitions:
description: 此实例的用户使用数据。 description: 此实例的用户使用数据。
type: object type: object
x-go-name: InstanceV2Users x-go-name: InstanceV2Users
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
interactionPolicy: interactionPolicy:
properties: properties:
can_favourite: can_favourite:
@@ -2184,7 +2184,7 @@ definitions:
description: 某条贴文的互动规则。 description: 某条贴文的互动规则。
type: object type: object
x-go-name: InteractionPolicy x-go-name: InteractionPolicy
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
interactionPolicyRules: interactionPolicyRules:
properties: properties:
always: always:
@@ -2203,7 +2203,7 @@ definitions:
description: 某类互动的规则。 description: 某类互动的规则。
type: object type: object
x-go-name: PolicyRules x-go-name: PolicyRules
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
interactionPolicyValue: interactionPolicyValue:
description: |- description: |-
一条贴文的互动规则条目。 一条贴文的互动规则条目。
@@ -2221,7 +2221,7 @@ definitions:
title: InteractionPolicyValue title: InteractionPolicyValue
type: string type: string
x-go-name: PolicyValue x-go-name: PolicyValue
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
interactionRequest: interactionRequest:
properties: properties:
accepted_at: accepted_at:
@@ -2263,7 +2263,7 @@ definitions:
description: InteractionRequest 表示待处理、已批准或已拒绝的点赞、回复或转发互动。 description: InteractionRequest 表示待处理、已批准或已拒绝的点赞、回复或转发互动。
type: object type: object
x-go-name: InteractionRequest x-go-name: InteractionRequest
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
list: list:
properties: properties:
exclusive: exclusive:
@@ -2292,7 +2292,7 @@ definitions:
description: List 表示用户为关注的账户创建的列表。 description: List 表示用户为关注的账户创建的列表。
type: object type: object
x-go-name: List x-go-name: List
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
markers: markers:
properties: properties:
home: home:
@@ -2303,7 +2303,7 @@ definitions:
description: Marker 表示用户时间线中的上次阅读位置。 description: Marker 表示用户时间线中的上次阅读位置。
type: object type: object
x-go-name: Marker x-go-name: Marker
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
mediaDimensions: mediaDimensions:
properties: properties:
aspect: aspect:
@@ -2362,7 +2362,7 @@ definitions:
description: MediaDimensions 是一份媒体附件的详细属性的抽象模型。 description: MediaDimensions 是一份媒体附件的详细属性的抽象模型。
type: object type: object
x-go-name: MediaDimensions x-go-name: MediaDimensions
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
mediaFocus: mediaFocus:
properties: properties:
x: x:
@@ -2381,7 +2381,7 @@ definitions:
description: MediaFocus 是媒体附件的焦点的抽象模型。 description: MediaFocus 是媒体附件的焦点的抽象模型。
type: object type: object
x-go-name: MediaFocus x-go-name: MediaFocus
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
mediaMeta: mediaMeta:
description: MediaMeta 是媒体附件的元数据的抽象模型。这可以是有关图像、音频文件、视频等的元数据。 description: MediaMeta 是媒体附件的元数据的抽象模型。这可以是有关图像、音频文件、视频等的元数据。
properties: properties:
@@ -2394,7 +2394,7 @@ definitions:
title: MediaMeta title: MediaMeta
type: object type: object
x-go-name: MediaMeta x-go-name: MediaMeta
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
mutedAccount: mutedAccount:
properties: properties:
acct: acct:
@@ -2582,7 +2582,7 @@ definitions:
description: MutedAccount 扩展了 Account其中包含仅静音/隐藏用户列表使用的字段。 description: MutedAccount 扩展了 Account其中包含仅静音/隐藏用户列表使用的字段。
type: object type: object
x-go-name: MutedAccount x-go-name: MutedAccount
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
nodeinfo: nodeinfo:
description: 'NodeInfo 表示版本 2.1 或版本 2.0 的 nodeinfo 数据结构。参见: https://nodeinfo.diaspora.software/schema.html' description: 'NodeInfo 表示版本 2.1 或版本 2.0 的 nodeinfo 数据结构。参见: https://nodeinfo.diaspora.software/schema.html'
properties: properties:
@@ -2616,7 +2616,7 @@ definitions:
title: Nodeinfo title: Nodeinfo
type: object type: object
x-go-name: Nodeinfo x-go-name: Nodeinfo
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
notification: notification:
properties: properties:
account: account:
@@ -2648,7 +2648,7 @@ definitions:
description: Notification 表示与用户相关的事件的通知。 description: Notification 表示与用户相关的事件的通知。
type: object type: object
x-go-name: Notification x-go-name: Notification
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
oauthToken: oauthToken:
properties: properties:
access_token: access_token:
@@ -2675,7 +2675,7 @@ definitions:
description: Token 表示用于 GoToSocial API 身份验证和执行操作的 OAuth 令牌。 description: Token 表示用于 GoToSocial API 身份验证和执行操作的 OAuth 令牌。
type: object type: object
x-go-name: Token x-go-name: Token
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
poll: poll:
properties: properties:
emojis: emojis:
@@ -2738,7 +2738,7 @@ definitions:
description: Poll 表示一个附加到贴文的投票。 description: Poll 表示一个附加到贴文的投票。
type: object type: object
x-go-name: Poll x-go-name: Poll
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
pollOption: pollOption:
properties: properties:
title: title:
@@ -2754,7 +2754,7 @@ definitions:
description: PollOption 表示不同投票选项的当前投票计数。 description: PollOption 表示不同投票选项的当前投票计数。
type: object type: object
x-go-name: PollOption x-go-name: PollOption
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
report: report:
properties: properties:
action_taken: action_taken:
@@ -2831,7 +2831,7 @@ definitions:
description: Report 是提交给实例的一份举报的抽象模型,可以通过客户端 API 或联合 API 提交。 description: Report 是提交给实例的一份举报的抽象模型,可以通过客户端 API 或联合 API 提交。
type: object type: object
x-go-name: Report x-go-name: Report
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
searchResult: searchResult:
properties: properties:
accounts: accounts:
@@ -2853,7 +2853,7 @@ definitions:
description: SearchResult 是一次搜索结果的抽象模型。 description: SearchResult 是一次搜索结果的抽象模型。
type: object type: object
x-go-name: SearchResult x-go-name: SearchResult
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
status: status:
properties: properties:
account: account:
@@ -3007,7 +3007,7 @@ definitions:
description: Status 表示一条贴文或帖子。 description: Status 表示一条贴文或帖子。
type: object type: object
x-go-name: Status x-go-name: Status
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
statusEdit: statusEdit:
description: |- description: |-
StatusEdit 表示一条贴文的一个历史修订版本,包含该修订版本的状态的部分信息。 StatusEdit 表示一条贴文的一个历史修订版本,包含该修订版本的状态的部分信息。
@@ -3059,7 +3059,7 @@ definitions:
x-go-name: SpoilerText x-go-name: SpoilerText
type: object type: object
x-go-name: StatusEdit x-go-name: StatusEdit
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
statusReblogged: statusReblogged:
properties: properties:
account: account:
@@ -3221,7 +3221,7 @@ definitions:
description: StatusReblogged 表示一条被转发的贴文。 description: StatusReblogged 表示一条被转发的贴文。
type: object type: object
x-go-name: StatusReblogged x-go-name: StatusReblogged
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
statusSource: statusSource:
description: |- description: |-
StatusSource 表示创建贴文时提交给 API 的贴文源文本。 StatusSource 表示创建贴文时提交给 API 的贴文源文本。
@@ -3245,7 +3245,7 @@ definitions:
x-go-name: Text x-go-name: Text
type: object type: object
x-go-name: StatusSource x-go-name: StatusSource
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
swaggerCollection: swaggerCollection:
properties: properties:
'@context': '@context':
@@ -3272,7 +3272,7 @@ definitions:
description: SwaggerCollection 表示一个 ActivityPub 集合。 description: SwaggerCollection 表示一个 ActivityPub 集合。
type: object type: object
x-go-name: SwaggerCollection x-go-name: SwaggerCollection
x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users
swaggerCollectionPage: swaggerCollectionPage:
properties: properties:
id: id:
@@ -3308,7 +3308,7 @@ definitions:
description: SwaggerCollectionPage 表示一个 ActivityPub 集合的一页。 description: SwaggerCollectionPage 表示一个 ActivityPub 集合的一页。
type: object type: object
x-go-name: SwaggerCollectionPage x-go-name: SwaggerCollectionPage
x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users
swaggerFeaturedCollection: swaggerFeaturedCollection:
properties: properties:
'@context': '@context':
@@ -3345,7 +3345,7 @@ definitions:
description: SwaggerFeaturedCollection 表示一个有序 ActivityPub 集合。 description: SwaggerFeaturedCollection 表示一个有序 ActivityPub 集合。
type: object type: object
x-go-name: SwaggerFeaturedCollection x-go-name: SwaggerFeaturedCollection
x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users
tag: tag:
properties: properties:
following: following:
@@ -3375,7 +3375,7 @@ definitions:
description: Tag 表示贴文内容中使用的某个话题标签。 description: Tag 表示贴文内容中使用的某个话题标签。
type: object type: object
x-go-name: Tag x-go-name: Tag
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
theme: theme:
properties: properties:
description: description:
@@ -3394,7 +3394,7 @@ definitions:
description: Theme 表示一个用户可选的预设 CSS 主题。 description: Theme 表示一个用户可选的预设 CSS 主题。
type: object type: object
x-go-name: Theme x-go-name: Theme
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
threadContext: threadContext:
description: |- description: |-
ThreadContext 是围绕给定贴文的贴文树/贴文串的抽象模型。 ThreadContext 是围绕给定贴文的贴文树/贴文串的抽象模型。
@@ -3413,7 +3413,7 @@ definitions:
x-go-name: Descendants x-go-name: Descendants
type: object type: object
x-go-name: ThreadContext x-go-name: ThreadContext
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
tokenInfo: tokenInfo:
description: |- description: |-
TokenInfo 表示与用户关联的访问令牌的元数据。 TokenInfo 表示与用户关联的访问令牌的元数据。
@@ -3446,7 +3446,7 @@ definitions:
title: TokenInfo title: TokenInfo
type: object type: object
x-go-name: TokenInfo x-go-name: TokenInfo
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
user: user:
properties: properties:
admin: admin:
@@ -3518,7 +3518,7 @@ definitions:
description: User 是单个用户的相关字段的抽象模型。 description: User 是单个用户的相关字段的抽象模型。
type: object type: object
x-go-name: User x-go-name: User
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
webPushNotification: webPushNotification:
description: |- description: |-
WebPushNotification 表示 Web 推送服务器传递给客户端的通知摘要。 WebPushNotification 表示 Web 推送服务器传递给客户端的通知摘要。
@@ -3565,7 +3565,7 @@ definitions:
title: WebPushNotification title: WebPushNotification
type: object type: object
x-go-name: WebPushNotification x-go-name: WebPushNotification
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
webPushSubscription: webPushSubscription:
properties: properties:
alerts: alerts:
@@ -3594,7 +3594,7 @@ definitions:
description: WebPushSubscription 表示对 Web 推送服务器的订阅。 description: WebPushSubscription 表示对 Web 推送服务器的订阅。
type: object type: object
x-go-name: WebPushSubscription x-go-name: WebPushSubscription
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
webPushSubscriptionAlerts: webPushSubscriptionAlerts:
properties: properties:
admin.report: admin.report:
@@ -3653,7 +3653,7 @@ definitions:
description: WebPushSubscriptionAlerts 代表此 Web 推送订阅将接收的具体事件。 description: WebPushSubscriptionAlerts 代表此 Web 推送订阅将接收的具体事件。
type: object type: object
x-go-name: WebPushSubscriptionAlerts x-go-name: WebPushSubscriptionAlerts
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
wellKnownResponse: wellKnownResponse:
properties: properties:
aliases: aliases:
@@ -3676,7 +3676,7 @@ definitions:
参见 https://webfinger.net/ 参见 https://webfinger.net/
type: object type: object
x-go-name: WellKnownResponse x-go-name: WellKnownResponse
x-go-package: code.superseriousbusiness/gotosocial/internal/api/model x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model
host: example.org host: example.org
info: info:
contact: contact:

View File

@@ -18,7 +18,7 @@ gotosocial --config-path ./config.yaml server start
该命令需要一个 [YAML](https://en.wikipedia.org/wiki/YAML) 或 [JSON](https://en.wikipedia.org/wiki/JSON) 格式的文件。 该命令需要一个 [YAML](https://en.wikipedia.org/wiki/YAML) 或 [JSON](https://en.wikipedia.org/wiki/JSON) 格式的文件。
可以在[这里](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml)找到示例配置文件,其中包含每个配置字段的解释、默认值和示例值。此示例文件也包含在每个发行版的下载资源中。 可以在[这里](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml)找到示例配置文件,其中包含每个配置字段的解释、默认值和示例值。此示例文件也包含在每个发行版的下载资源中。
建议创建你自己的配置文件,只更改你需要改变的设置。这可以确保在每次发布时,你不必合并默认值的更改或者增删未从默认值更改的配置设置。 建议创建你自己的配置文件,只更改你需要改变的设置。这可以确保在每次发布时,你不必合并默认值的更改或者增删未从默认值更改的配置设置。
@@ -119,7 +119,7 @@ gotosocial server start --media-image-max-size 2097152
*大多数*配置参数都提供了合理的默认值,除了必须自定义值的情况。 *大多数*配置参数都提供了合理的默认值,除了必须自定义值的情况。
请查看[示例配置文件](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml)以获取默认值,或运行 `gotosocial --help` 请查看[示例配置文件](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml)以获取默认值,或运行 `gotosocial --help`
## `GTS_WAZERO_COMPILATION_CACHE` ## `GTS_WAZERO_COMPILATION_CACHE`

View File

@@ -38,4 +38,4 @@ GoToSocial 默认配置了基于 IP 的[限流规则](./api/ratelimiting.md)
## 为什么还在 Beta 阶段? ## 为什么还在 Beta 阶段?
查看[当前 bug 列表](https://github.com/superseriousbusiness/gotosocial/issues?q=is%3Aissue+is%3Aopen+label%3Abug)和[路线图](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/ROADMAP.md)以获取更详细的信息。 查看[当前 bug 列表](https://github.com/superseriousbusiness/gotosocial/issues?q=is%3Aissue+is%3Aopen+label%3Abug)和[路线图](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/ROADMAP.md)以获取更详细的信息。

View File

@@ -24,7 +24,7 @@ GoToSocial 使用 [superseriousbusiness/httpsig](https://codeberg.org/superserio
## 传入请求 ## 传入请求
GoToSocial 的请求签名验证在 [internal/federation](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/federation/authenticate.go) 中实现。 GoToSocial 的请求签名验证在 [internal/federation](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/federation/authenticate.go) 中实现。
GoToSocial 将尝试按以下算法顺序解析签名,成功后将停止: GoToSocial 将尝试按以下算法顺序解析签名,成功后将停止:
@@ -36,7 +36,7 @@ ED25519
## 发出请求 ## 发出请求
GoToSocial 的请求签名在 [internal/transport](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/transport/signing.go) 中实现。 GoToSocial 的请求签名在 [internal/transport](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/transport/signing.go) 中实现。
一旦解决了 https://github.com/superseriousbusiness/gotosocial/issues/2991 GoToSocial 将使用 `(created)` 伪标头代替 `date` 一旦解决了 https://github.com/superseriousbusiness/gotosocial/issues/2991 GoToSocial 将使用 `(created)` 伪标头代替 `date`

View File

@@ -151,7 +151,7 @@ GoToSocial 不支持[集群或任何形式的多节点部署](https://github.com
## 调优 ## 调优
除了[示例配置文件](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml)中的众多实例调优选项之外,你还可以对运行 GoToSocial 实例的机器进行额外的调优。 除了[示例配置文件](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml)中的众多实例调优选项之外,你还可以对运行 GoToSocial 实例的机器进行额外的调优。
### 交换内存 ### 交换内存

View File

@@ -15,7 +15,7 @@ GoToSocial 是一个用 Golang 编写的 [ActivityPub](https://activitypub.rocks
文档位于 [docs.gotosocial.org](https://docs.gotosocial.org/zh-cn/)。你可以直接跳至 [API 文档](https://docs.gotosocial.org/zh-cn/latest/api/swagger/)。 文档位于 [docs.gotosocial.org](https://docs.gotosocial.org/zh-cn/)。你可以直接跳至 [API 文档](https://docs.gotosocial.org/zh-cn/latest/api/swagger/)。
要从源代码构建,请查看 [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件。 要从源代码构建,请查看 [CONTRIBUTING.md](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件。
这是实例首页的截图!你也可以看一看本项目在 GoToSocial 上的官方账号: [https://gts.superseriousbusiness.org/@gotosocial](https://gts.superseriousbusiness.org/@gotosocial)。 这是实例首页的截图!你也可以看一看本项目在 GoToSocial 上的官方账号: [https://gts.superseriousbusiness.org/@gotosocial](https://gts.superseriousbusiness.org/@gotosocial)。
@@ -101,7 +101,7 @@ GoToSocial 的愿景是让许多小而特别的实例遍布联邦宇宙,让人
我们在 2021 年 11 月进行了首次 Alpha 发布。我们于 2024 年 9 月/10 月离开 Alpha进入 Beta 阶段。 我们在 2021 年 11 月进行了首次 Alpha 发布。我们于 2024 年 9 月/10 月离开 Alpha进入 Beta 阶段。
要详细了解已实现和未实现的内容,以及 [稳定发布](https://en.wikipedia.org/wiki/Software_release_life_cycle#Stable_release) 的进展,请查看 [路线图](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/ROADMAP.md)。 要详细了解已实现和未实现的内容,以及 [稳定发布](https://en.wikipedia.org/wiki/Software_release_life_cycle#Stable_release) 的进展,请查看 [路线图](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/ROADMAP.md)。
--- ---
@@ -344,7 +344,7 @@ S3 存储桶中的快照版二进制发布由 Github 提交哈希控制。要获
### 从源代码构建 ### 从源代码构建
有关从源代码构建 GoToSocial 的说明,请参见 [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件。 有关从源代码构建 GoToSocial 的说明,请参见 [CONTRIBUTING.md](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件。
### 第三方打包 ### 第三方打包
@@ -365,7 +365,7 @@ S3 存储桶中的快照版二进制发布由 Github 提交哈希控制。要获
## 参与贡献 ## 参与贡献
你想为 GtS 作出贡献吗?太好了!❤️❤️❤️ 请查看问题页面,看看是否有你想参与的内容,并阅读 [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件以获取指南并配置开发环境。 你想为 GtS 作出贡献吗?太好了!❤️❤️❤️ 请查看问题页面,看看是否有你想参与的内容,并阅读 [CONTRIBUTING.md](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件以获取指南并配置开发环境。
--- ---
@@ -454,10 +454,10 @@ GoToSocial 使用以下开源库、框架和工具,在此声明并致谢 💕
该许可具体适用于以下存储库内的文件和子目录: 该许可具体适用于以下存储库内的文件和子目录:
- [树懒标志 png](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.png) - [树懒标志 png](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.png)
- [树懒标志 webp](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.webp) - [树懒标志 webp](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.webp)
- [树懒标志 svg](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.svg) - [树懒标志 svg](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.svg)
- [所有默认头像](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/default_avatars) - [所有默认头像](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/default_avatars)
根据许可证条款,你可以: 根据许可证条款,你可以:
@@ -514,7 +514,7 @@ GoToSocial 欢迎与符合我们价值观的组织进行合作。在此对您的
<img src="https://nlnet.nl/logo/NGI/NGIZero-green.hex.svg" width="75" alt="NGIZero logo"/> <img src="https://nlnet.nl/logo/NGI/NGIZero-green.hex.svg" width="75" alt="NGIZero logo"/>
结合以上众筹来源2023 年 GoToSocial Alpha 阶段的开发得到了 [NGI0 Entrust Fund](https://nlnet.nl/entrust/) 旗下的 [NLnet](https://nlnet.nl/) 提供的 50,000 欧元资助。详情请见[此处](https://nlnet.nl/project/GoToSocial/#ack)。成功的资助申请存档在[此处](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/archive/nlnet/2022-next-generation-internet-zero.md)。 结合以上众筹来源2023 年 GoToSocial Alpha 阶段的开发得到了 [NGI0 Entrust Fund](https://nlnet.nl/entrust/) 旗下的 [NLnet](https://nlnet.nl/) 提供的 50,000 欧元资助。详情请见[此处](https://nlnet.nl/project/GoToSocial/#ack)。成功的资助申请存档在[此处](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/archive/nlnet/2022-next-generation-internet-zero.md)。
2024 年 GoToSocial Beta 阶段的开发将从 [NGI0 Entrust Fund](https://nlnet.nl/entrust/) 旗下的 [NLnet](https://nlnet.nl/) 那里再获得 50,000 欧元的资助。 2024 年 GoToSocial Beta 阶段的开发将从 [NGI0 Entrust Fund](https://nlnet.nl/entrust/) 旗下的 [NLnet](https://nlnet.nl/) 那里再获得 50,000 欧元的资助。
@@ -524,7 +524,7 @@ GoToSocial 欢迎与符合我们价值观的组织进行合作。在此对您的
![GNU AGPL 徽标](https://www.gnu.org/graphics/agplv3-155x51.png) ![GNU AGPL 徽标](https://www.gnu.org/graphics/agplv3-155x51.png)
GoToSocial 是自由软件,采用 [GNU AGPL v3 许可](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/LICENSE)。我们鼓励你对代码进行派生和修改,进行各种实验。 GoToSocial 是自由软件,采用 [GNU AGPL v3 许可](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/LICENSE)。我们鼓励你对代码进行派生和修改,进行各种实验。
有关 AGPL 和 GPL 许可之间的区别,请参阅[这里](https://www.gnu.org/licenses/why-affero-gpl.html),关于 GPL 许可(包括 AGPL的常见问题解答请参阅[这里](https://www.gnu.org/licenses/gpl-faq.html)。 有关 AGPL 和 GPL 许可之间的区别,请参阅[这里](https://www.gnu.org/licenses/why-affero-gpl.html),关于 GPL 许可(包括 AGPL的常见问题解答请参阅[这里](https://www.gnu.org/licenses/gpl-faq.html)。

View File

@@ -193,7 +193,7 @@ func (suite *StatusTestSuite) TestDeleteStatus() {
// To run this test for postgres specifically, start a postgres container on localhost // To run this test for postgres specifically, start a postgres container on localhost
// and then run: // and then run:
// //
// GTS_DB_TYPE=postgres GTS_DB_ADDRESS=localhost go test ./internal/db/bundb -run '^TestStatusTestSuite$' -testify.m '^(TestUpdateStatus)$' github.com/superseriousbusiness/gotosocial/internal/db/bundb // GTS_DB_TYPE=postgres GTS_DB_ADDRESS=localhost go test ./internal/db/bundb -run '^TestStatusTestSuite$' -testify.m '^(TestUpdateStatus)$' code.superseriousbusiness.org/gotosocial/internal/db/bundb
func (suite *StatusTestSuite) TestUpdateStatus() { func (suite *StatusTestSuite) TestUpdateStatus() {
// Take a copy of the status. // Take a copy of the status.
targetStatus := &gtsmodel.Status{} targetStatus := &gtsmodel.Status{}

View File

@@ -188,7 +188,7 @@ func TestFilterableText(t *testing.T) {
{ {
status: &gtsmodel.Status{ status: &gtsmodel.Status{
ContentWarning: "Nerd stuff", ContentWarning: "Nerd stuff",
Content: `<p>Latest graphs for <a href="https://gts.superseriousbusiness.org/tags/gotosocial" class="mention hashtag" rel="tag nofollow noreferrer noopener" target="_blank">#<span>GoToSocial</span></a> on <a href="https://github.com/ncruces/go-sqlite3" rel="nofollow noreferrer noopener" target="_blank">Wasm sqlite3</a> with <a href="https://codeberg.org/gruf/go-ffmpreg" rel="nofollow noreferrer noopener" target="_blank">embedded Wasm ffmpeg</a>, both running on <a href="https://wazero.io/" rel="nofollow noreferrer noopener" target="_blank">Wazero</a>, and configured with a <a href="https://https://codeberg.org/superseriousbusiness/gotosocial/src/commit/20fe430ef9ff3012a7a4dc2d01b68020c20e13bb/example/config.yaml#L259-L266" rel="nofollow noreferrer noopener" target="_blank">50MiB db cache target</a>. This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.</p>`, Content: `<p>Latest graphs for <a href="https://gts.superseriousbusiness.org/tags/gotosocial" class="mention hashtag" rel="tag nofollow noreferrer noopener" target="_blank">#<span>GoToSocial</span></a> on <a href="https://github.com/ncruces/go-sqlite3" rel="nofollow noreferrer noopener" target="_blank">Wasm sqlite3</a> with <a href="https://codeberg.org/gruf/go-ffmpreg" rel="nofollow noreferrer noopener" target="_blank">embedded Wasm ffmpeg</a>, both running on <a href="https://wazero.io/" rel="nofollow noreferrer noopener" target="_blank">Wazero</a>, and configured with a <a href="https://codeberg.org/superseriousbusiness/gotosocial/src/commit/20fe430ef9ff3012a7a4dc2d01b68020c20e13bb/example/config.yaml#L259-L266" rel="nofollow noreferrer noopener" target="_blank">50MiB db cache target</a>. This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.</p>`,
Attachments: []*gtsmodel.MediaAttachment{ Attachments: []*gtsmodel.MediaAttachment{
{ {
Description: `Graph showing GtS using between 150-300 MiB of memory, steadily, over a few days.`, Description: `Graph showing GtS using between 150-300 MiB of memory, steadily, over a few days.`,
@@ -206,7 +206,7 @@ func TestFilterableText(t *testing.T) {
}, },
expectedFields: []string{ expectedFields: []string{
"Nerd stuff", "Nerd stuff",
"Latest graphs for #GoToSocial <https://gts.superseriousbusiness.org/tags/gotosocial> on Wasm sqlite3 <https://github.com/ncruces/go-sqlite3> with embedded Wasm ffmpeg <https://codeberg.org/gruf/go-ffmpreg>, both running on Wazero <https://wazero.io/>, and configured with a 50MiB db cache target <https://https://codeberg.org/superseriousbusiness/gotosocial/src/commit/20fe430ef9ff3012a7a4dc2d01b68020c20e13bb/example/config.yaml#L259-L266>. This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.", "Latest graphs for #GoToSocial <https://gts.superseriousbusiness.org/tags/gotosocial> on Wasm sqlite3 <https://github.com/ncruces/go-sqlite3> with embedded Wasm ffmpeg <https://codeberg.org/gruf/go-ffmpreg>, both running on Wazero <https://wazero.io/>, and configured with a 50MiB db cache target <https://codeberg.org/superseriousbusiness/gotosocial/src/commit/20fe430ef9ff3012a7a4dc2d01b68020c20e13bb/example/config.yaml#L259-L266>. This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.",
"Graph showing GtS using between 150-300 MiB of memory, steadily, over a few days.", "Graph showing GtS using between 150-300 MiB of memory, steadily, over a few days.",
"Another media attachment", "Another media attachment",
"Poll option 1", "Poll option 1",