Commit Graph

556 Commits

Author SHA1 Message Date
alxhu 599173ae8c
Add hint to allocate more memory if Elasticsearch crashes (#1456)
Add tip to allocate more memory if Elasticsearch crashes to elasticsearch.md

When creating Elasticsearch indicies, the process could crash if there is not enough memory allocated to the JVM runtime.

This commit adds a hint for administrators to try to allocate more memory to Elasticsearch if they're experiencing out-of-memory issues.
2024-09-13 02:25:19 -07:00
David Roetzel 54659f9371
Deprecate redis namespace (#1528)
* Deprecate `REDIS_NAMESPACE`

* Update content/en/admin/config.md

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-09-06 17:19:28 +02:00
David Roetzel 3b06fdb018
Redis sentinel docs (#1527)
* Add basic Redis Sentinel documentation (#1311)

* Add basic Redis Sentinel documentation

Co-authored-by: Andy Piper <andypiper@users.noreply.github.com>

* Add missing redis environment variables

And adjust and clarify a few things.

* Fix copy&paste error.

---------

Co-authored-by: Gabriel Simmer <github@gmem.ca>
Co-authored-by: Andy Piper <andypiper@users.noreply.github.com>
2024-09-05 17:29:14 +02:00
Mahan b780066232
Update rule_ids type in /v1/reports (#1467)
* Update rule_ids type in /v1/reports

* add reference to the ID docs
2024-09-04 10:10:53 +02:00
aaaaalbert dc78b2ad5f
Fix #1523, add missing link to `entities/Status` (#1524)
Add a link in the attribute description of `reblog` for the `Status` API entity which was reported missing by @nikclayton.
2024-08-30 11:38:44 +02:00
Claire 7eefdcbfc6
Add documentation for `grouped_types` parameter in grouped notifications endpoints (#1525) 2024-08-30 09:47:09 +02:00
Michael Stanclift 2dfcf2c059
Add config for MASTODON_USE_LIBVIPS (#1463)
* Docs for using libvips

* "utilizating"
2024-08-26 10:40:37 +02:00
Claire 24dd81ef49
Add documentation for `authors` attribute in preview cards (#1512)
* Add documentation for `authors` attribute in preview cards

* Add `PreviewCardAuthor` entity

* Update PreviewCard.md

* Update PreviewCardAuthor.md
2024-08-23 17:34:28 +02:00
Claire 54f7d5a63f
Add documentation for `/api/v2_alpha/notifications` (#1517)
* Add rough documentation for `/api/v2_alpha/notifications`

* Update notifications_alpha.md

* Add very rough documentation about notification groups entities

* Add documentation for `NotificationGroup` entity

* Document pagination-only `NotificationGroup` attributes

* Fix documentation issue with `/api/v2_alpha/notifications/:group_key` and add example output

* Add blurb about the goal of grouped notifications

* Update notifications_alpha.md

* Specify that the 80 limit is for notification groups, not notifications

* Add documentation for `group_key` to `Notification` entity

* Make `max_id`, `since_id` and `min_id` more explicit
2024-08-23 16:51:12 +02:00
Renaud Chaput 8d67de74f9
Add OTEL configuration, and deprecate StatsD (#1518) 2024-08-23 16:02:37 +02:00
Claire 12c37c8f15
Add documentation for `notifications_merged` streaming event (#1513) 2024-08-23 15:12:45 +02:00
Claire a98ee3515a
Add documentation for `/api/v1/notifications/requests/merged` (#1516)
* Add documentation for `/api/v1/notifications/requests/merged`

* Apply review suggestions

Co-authored-by: David Roetzel <david@roetzel.de>

---------

Co-authored-by: David Roetzel <david@roetzel.de>
2024-08-23 10:36:44 +02:00
Claire d94ac10884
Add documentation for bulk operations on notification requests (#1511)
* Add documentation for bulk operations on notification requests

* Apply suggestions from code review
2024-08-23 09:37:27 +02:00
Claire cff9085e39
Add documentation for `api_versions` on `Instance` entity (#1514) 2024-08-23 09:19:48 +02:00
Renaud Chaput 9b6dbb491e
Add documentation for the new `icons` attribute in `/api/v2/instances` (#1510) 2024-08-22 17:52:50 +02:00
David Roetzel 495285ba35
Clarify `scope` parameter of oauth token creation (#1509)
* Clarify `scope` parameter of oauth token creation

* Improve wording

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-08-22 15:12:45 +02:00
Michael Stanclift 1d43a44b22
Update color scheme to match latest design system (#1508)
* import variables from main UI

* apply colors

* change hint styles

* update table styling

* remove box shadow from images

* update sponsor and page ref styles

* change code highlighting theme to add more contrast

* replace link icon with google material svg

* replace fontawesome with google material icons

* remove fa assets

* fix missing mastodon fa icon in footer

* tweak alignment of hint svg icons

* tweak inline code background
2024-08-22 12:46:16 +01:00
Claire b59b7fea62
Add documentation for `/api/v2/notifications/policy` (#1503)
* Rename `NotificationPolicy` entity to `V1::NotificationPolicy`

* Add documentation for v2 NotificationPolicy

* Add deprecation warning
2024-08-22 11:20:40 +02:00
Eva Tatarka d1899d20fb
Add missing array syntax to follow lanagues query param (#1502) 2024-08-21 23:30:12 +01:00
Marcin Mikołajczak f5a1f6bef4
filters API methods: Fix typo (#1493) 2024-08-21 23:29:38 +01:00
aaaaalbert dfad4e447b
Add link to Hugo's repo in README (#1506) 2024-08-21 00:59:32 +01:00
John Haugabook 035e49f13b
Note on hugo latest release (#1501)
* Note on hugo latest release
Changed hugo link to match use docs.joinmastodon.org hugo version.
2024-08-09 11:21:18 +01:00
Andy Piper 824c7217dd
Update deploy.yml (#1496)
Update Action to use newer Hugo
2024-08-07 12:09:05 +02:00
aaaaalbert e2a3d5a63d
Fix #1490, Hugo deprecating `.Page.File.Lang` (#1491)
* Update single.html, index.html, footer.html
2024-08-03 17:59:48 +01:00
aaaaalbert 122e461f6f
Change {{< type shortcode to {{% (#1489)
Fix #1487, work around an error in the rendering of a {{< type shortcode in the autogenerated Table of Content of a page.
2024-08-03 17:58:00 +01:00
Claire 1f59ac9fde
Add documentation for `/api/v1/notifications/unread_count` (#1492)
* Add documentation for `/api/v1/notifications`

* Fix issues following review feedback

* Document unread_count's return type
2024-08-02 15:36:31 +02:00
Michael 336b597506
Update Ubuntu requirements (#1486) 2024-08-01 16:25:08 +01:00
Michael Stanclift 89348a77e3
Add AVIF to allowed image types (#1495)
avif
2024-08-01 16:24:43 +01:00
Marcin Mikołajczak 9b660bb152
featured_tags API methods: Fix typo (#1494) 2024-07-31 18:22:41 +01:00
Claire 0e88921543
Fix missing HTTP line for accept-request notification method (#1484) 2024-07-25 15:52:50 +02:00
Nik Clayton 61481fb191
Provide more detail about the use of `resolve` in search queries (#1488)
Provide more detail about the use of `resolve` in search queries
2024-07-23 12:07:05 +01:00
Claire 8efb133f16
Add documentation for `hint` attribute of `Rule` entity in REST API (#1478) 2024-07-16 00:42:47 +01:00
Claire de8d6ac149
Add documentation for `/api/v1/timelines/link` (#1481)
* Add documentation for `/api/v1/timelines/link`
* Update content/en/methods/timelines.md
2024-07-15 21:37:01 +01:00
Claire 7386be7d76
Add documentation for `sources` in `Suggestion` entity (#1480) 2024-07-15 21:35:38 +01:00
Claire e19829bd51
Add documentation for `moderation_warning` notification types (#1479)
* Add documentation for `moderation_warning` notification types

* Add documentation for `AccountWarning` entity

* Add documentation for `Appeal` entity
2024-07-15 11:39:10 +02:00
Mahan db089a94e9
Fix FeaturedTag's statuses_count type (#1472) 2024-07-12 15:40:24 +01:00
Thomas Hansen 04a9453da4
Update install.md (#1469)
Fix ruby-build install command
2024-07-12 15:35:51 +01:00
Mahan 0552a6f71c
Add description to polls methods (#1474) 2024-07-12 15:35:05 +01:00
Renaud Chaput c7d87cda76
Fix `NotificationRequest` fields (#1477)
* NotificationRequest uses `account`, not `from_account`

The example below is correctly using `account` already.

* Fix `notifications_count` type
2024-07-12 16:26:07 +02:00
David Roetzel c0353e222b
Remove flag that no longer exists. (#1482)
See https://github.com/mastodon/mastodon/pull/31008
2024-07-12 13:52:53 +02:00
Renaud Chaput 522d9c2ad8
Fix dismiss notification request title (#1466) 2024-06-19 11:30:37 +02:00
David Whetstone ce8146cf60
Mark MediaAttachment.preview_url, blurhash as nullable (#1457)
* Mark MediaAttachment.preview_url as nullable

Had a payload in the wild where preview_url was `null` and the method that generates this value can certainly return `nil` if none of its conditions are met: d326ad0ed9/app/serializers/rest/media_attachment_serializer.rb (L30-L38)

Also both TootSDK and IceCubesApp have this property as nullable.

* Mark MediaAttachment.blurhash as nullable

When the attachment has type `audio`, `blurhash` is `null`.
2024-06-19 10:45:48 +02:00
Michael Stanclift 28a7f3162c
Add config for REDIS_DRIVER (#1462)
* Add REDIS_DRIVER documention

* fix typo

* add version history
2024-06-19 10:45:28 +02:00
Andy Piper 325dc1fc03
Add link to org-wide CONTRIBUTING.md (#1461) 2024-06-14 12:22:19 +01:00
Claire 878e5836b7
Add documentation for notification policies (#1447)
* Add documentation for GET /api/v1/notifications/policy

* Add documentation for `PATCH /api/v1/notifications/policy`

* Add documentation for `GET /api/v1/notifications/requests`

* Add documentation for `GET /api/v1/notifications/requests/:id`

* Add documentation for accepting and rejecting requests

* Remove redundant HTTP request examples

* Add documentation for the `NotificationPolicy` entity

* Add documentation for the `NotificationRequest` entity
2024-06-13 18:01:35 +02:00
Mahan 61d28de915
Add description to timelines/public (#1448) 2024-06-11 11:25:59 +01:00
Val Lorentz 9294788aaa
`tootctl search deploy`: Document changes since v3.5.0 (#1454) 2024-06-11 11:25:14 +01:00
Mahan 2557e19c63
Add description and type to /emails/confirmations (#1451) 2024-06-11 11:24:06 +01:00
Mahan b903b07128
Add description to /followed_tags (#1452) 2024-06-11 11:18:16 +01:00
Adrian 509b20926b
Update authorized.md (#1455) 2024-06-11 11:17:47 +01:00