Commit Graph

455 Commits

Author SHA1 Message Date
Travis Briggs e1b2a6b150
Update ruby version in admin install docs (#1341) 2023-11-23 17:25:29 +01:00
0x46616c6b f96af9009d
Add Reference for new STATS_SIDEKIQ variable (#1307) 2023-11-23 16:59:39 +01:00
Erwin c93340580c
Fix typo and capitalization (#1319) 2023-11-23 16:56:28 +01:00
Levi Bard cbe1295e15
Add `exclusive` parameter to list update documentation (#1327) 2023-11-13 18:21:51 +01:00
Ludovic HOCHET 02a694869a
Update the end point url on emails.md (#1334)
/api/v1/emails/confirmation should be /api/v1/emails/confirmations (with an ending s) otherwise a 404 is returned
2023-11-10 13:29:32 +01:00
Claire 10ee12b62a
Add documentation for `with_suspended` params (#1333)
Add documentation for https://github.com/mastodon/mastodon/pull/27667
2023-11-09 15:50:30 +01:00
Markus Unterwaditzer 959013f27c
fix incorrect example for last_status_at (#1322)
this api returns just the date, no time component

fix https://github.com/mastodon/mastodon/issues/26843
2023-10-13 10:19:13 +02:00
Claire 0f9fa614eb
Fix installation instructions pointing to pre-releases (#1316)
Fixes #1315
2023-10-10 14:52:08 +02:00
Brook Miles 9317ff3bae
restore ini settings which appear to have been lost in commit 33cb69a (#1314) 2023-10-05 11:09:10 +02:00
Brook Miles 8a2cfbb31e
fix for nginx certbot instructions (#1036) 2023-10-05 09:51:39 +02:00
Joshua Byrd f94ec5ea4f
Update install.md (#1313) 2023-10-04 09:43:14 +02:00
Claire b6c62a040d
Document exclusive lists (#1310) 2023-09-28 11:49:54 +02:00
Renaud Chaput eda06de4fe
Redirect the old ES page to the new one (#1308) 2023-09-26 19:12:21 +02:00
Lennart Hengstmengel e4e88f0fb7
Fixed some consistency issues in the documentation (#1274)
* fixed invalid json examples

* correct type: integer for a count, not number

* correct type: array of string, not string

* add square brackets around entity return type

* added missing path parameter definition

* spacing fix

* PR comment: add link
2023-09-20 10:32:44 +02:00
Daniel M Brasil 1d15e379a4
Document DELETE `/api/v1/profile/avatar` and `/api/v1/profile/header` (#1238)
* document DELETE /api/v1/accounts/picture/:picture

* update documentation

* add mastodon version

* move page to new profile.md file
2023-09-09 23:13:35 +01:00
Renaud Chaput dd54f29af7
Improve Elasticsearch documentation with `ES_PRESET` and security settings (#1279)
* Improve Elasticsearch documentation with `ES_PRESET` and security settings

* Fix small errors, and make the ES configuration no longer optional
2023-09-06 09:17:54 +02:00
Claire c28e766995
Add information on Mastodon 4.2.0's automatic update check (#1291)
* Add information on Mastodon 4.2.0's automatic update check

* Update upgrading.md
2023-09-01 18:20:45 +02:00
Claire 7974696ed0
Mention followed hashtags in /api/v1/timelines/home (#1282)
* Mention followed hashtags in /api/v1/timelines/home

* Update timelines.md
2023-08-31 18:18:04 +02:00
Michael Stanclift 0fe2e7932a
Change tootctl search deploy default batch size to 100 to match reality (#1289)
* Change default to 100 to refect code.

* memory pressure increase

* remove comment about local system resources
2023-08-31 18:17:16 +02:00
Michael Stanclift eafb7de213
ElasticSearch to Elasticsearch (#1290) 2023-08-31 18:16:33 +02:00
Isa S 31f8c3f327
Add documentation for --days option to tootctl media refresh (#1141)
* Add documentation for --days option to toolctl media refresh
2023-08-25 15:27:37 +01:00
trwnh 5377ff0edf
Clarify since_id vs min_id (#1209)
* Clarify since_id vs min_id

* forgot to update the template
2023-08-21 15:40:12 +01:00
Christophe Jossart e71fb8b814
docs: update Mastodon for Drupal link (#1276)
This project is maintained on Drupal.org
2023-08-21 15:38:29 +01:00
Matt Jankowski 86b951ef98
Update links to github CLI pages (#1236) 2023-08-21 15:35:14 +01:00
Andy Piper d4bcddf68c
Add ungleich.ch for mastodon hosting and fix quotes in previous line (#1280)
Signed-off-by: Andy Piper <andypiper@users.noreply.github.com>
Co-authored-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2023-08-21 15:25:20 +01:00
Stefan Leibfarth 7e28e6da43
Rename 'hidden' to 'onion' (#920)
Because that's what they're called, see https://community.torproject.org/onion-services/.
2023-08-21 15:04:20 +01:00
Andy Piper 05958339e5
libraries.md: add new PHP client (#1277) 2023-08-16 18:49:57 +02:00
Patrick Wilson 35e60a0359
Fix typo in word 'suspended' in content/en/admin/moderation.md (#1260) 2023-07-13 08:53:49 +02:00
Cassidy James Blaede fa0d546592
Update Status method docs to include unauthenticated limits (#1258)
* Update Status method docs to include unauthenticated limits

Not sure if this follows the correct style or is precisely where these limits should be noted, but the intent is to save others time by documenting these hardcoded limits:

99be47f8b9/app/controllers/api/v1/statuses_controller.rb (L21-L24)

Related: https://github.com/mastodon/mastodon/issues/25892

* statuses: mention limits in version history
2023-07-11 15:19:33 +02:00
josephrocca f1de8ba240
More explicit wording for `pinned` param default (#1259)
* More explicit wording for `pinned` param default

* Clarify pinned status ordering in returned results
2023-07-11 10:11:40 +02:00
Jeff Sikes b29a9e77f9
Spelling correction - User Safety Features (#1215)
Changed "Use Safety Features" to "User Safety Features".
2023-07-11 04:08:44 +02:00
nightpool d9f99fa667
Clarify WebPush documentation and it's relationship to proprietry services (#1257)
based on conversation in https://github.com/mastodon/mastodon/issues/25729
2023-07-10 18:31:13 +02:00
agnesoshiro 610212f450
Update broken links (#1253) 2023-07-10 18:30:31 +02:00
Claire ead55cda6c
Make it clearer that you should not use read-replicas with sidekiq processes (#1255)
* Make it clearer that you should not use read-replicas with sidekiq processes

* Update scaling.md
2023-07-09 18:20:23 +02:00
Claire a61403023a
Add hardening headers for user-uploaded files (#1244) 2023-07-06 14:31:32 +02:00
Julian Lam 40dab49db2
fix: incorrect digest header format (#1235) 2023-06-26 13:45:07 +02:00
Andy Piper a149c0e9bf
Update to libraries page following full review (#1232)
* Update to libraries page following full review

Signed-off-by: Andy Piper <andypiper@users.noreply.github.com>

* Two additional libraries from issues

Signed-off-by: Andy Piper <andypiper@users.noreply.github.com>

---------

Signed-off-by: Andy Piper <andypiper@users.noreply.github.com>
2023-06-11 18:42:40 +02:00
Yurii Izorkin 1f31fbc043
Add troubleshooting for sandboxing mode (#892) 2023-06-07 10:35:00 +02:00
Renaud Chaput 70a452fd92
Update the Localisation section to use the new React Intl command (#1224) 2023-06-04 22:24:47 +02:00
Renaud Chaput 5edab09336
Update the disclosure page with the correct email address (#1223) 2023-05-25 13:25:10 +02:00
Esther Weidauer 7fd2979b32
Clarify effects of suspending users and server (#1218)
* clarify effects of suspending users and server

There's a lot of confusion about how suspending affects existing follow relationships and some moderators assume the follow relationships will be restored when a remote account (or entire server) is un-suspended within the 30-day time window

* Correction of docs about server suspension

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

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-05-25 09:29:57 +02:00
aimuz 596e4ec8cf
fix: config cdn link (#1219)
Signed-off-by: aimuz <mr.imuz@gmail.com>
2023-05-19 17:17:36 +02:00
Emelia Smith fe555118d6
Rework documentation for removal of streaming clustering (#1207) 2023-04-27 11:03:18 +02:00
Shadowfacts 3630f2de3b
Fix instance entity links (#1205)
The v2 endpoint incorrectly said it returned a v1 instance (though it linked to the correct entity) and the v1 endpoint incorrectly linked to the v2 entity (the text correctly said v1)
2023-04-26 14:20:05 +02:00
Emelia Smith 9bbe82fbf2
feat: document the usage of Letter Opener for development emails (#1206)
* feat: document the usage of Letter Opener for development emails

* chore: document the REMOTE_DEV variable for development emails
2023-04-26 14:15:42 +02:00
trwnh 07d7147619
Fix ordering of `tootctl accounts approve --N` (#1201) 2023-04-20 16:03:39 +02:00
trwnh ee88dd3887
Update ActivityPub documentation (#1183)
* Update ActivityPub documentation

Added more details in several places

* address claire's review
2023-04-11 14:57:14 +02:00
Ricard Torres 34f32df7cf
feat: adds new flags to tootctl media remove (#1172)
Adds documentation from this PR https://github.com/mastodon/mastodon/pull/22149/files landing in the next Mastodon stable 4.1.0
2023-04-11 14:27:09 +02:00
nattro 089950a308
Update install.md (#1197)
The current rbenv is 3.0.6 - I received an error when following these steps which said the expected version is 3.0.6. After updating to 3.0.6, the installation was successful.
2023-04-11 10:51:05 +02:00
Tuur Martens f7f21c8726
whole_word is a boolean, not a string (#1177) 2023-04-11 10:02:30 +02:00
Fernando Briano 4d3fc9f62b
Fix capitalization for Elasticsearch (#1019) 2023-04-07 09:01:51 +02:00
Chee Aun 4ee33a54b5
Fix typo s/statuses/accounts (#1196) 2023-04-07 09:01:21 +02:00
aaaaalbert 5b1f92c203
Fix markdown figure formatting leftovers in the English docs (#1195)
* Convert left over Markdown figures to Hugo

Also add captions for the respective figures: profile.jpg, bell.jpg, and lists.jpg

* Convert another left over Markdown figure to Hugo

Also add a caption for the figure: bot-flag.jpg
2023-04-04 10:44:41 +02:00
Thomas Soubrier 46cbbc6d73
Update object-storage-proxy.md (#1056)
This documentation has I believe one very confusing point: It uses two times `YOUR_S3_HOSTNAME` in the nginx configuration example, however the second time it looks like you actually have to use `YOUR_BUCKET_NAME.YOUR_S3_HOSTNAME`.

## Explanation
Mastodon is using path-style requests to S3 which looks like this:
https://s3.region-code.amazonaws.com/bucket-name/key-name

Once you enable the new virtual host nginx file using the current indications, the path-style request which goes to amazon looks like this:
https://s3.region-code.amazonaws.com/key-name

In other words, the bucket name is not being sent S3 and the images break.

This is because the current instructions make it seem like the header Host name is not including the bucket
`proxy_set_header Host YOUR_S3_HOSTNAME;`

With the current path-style request integration, one must use the bucket name in the Host header for this to work, hence the proposed change to

`proxy_set_header Host YOUR_BUCKET_NAME.YOUR_S3_HOSTNAME;`
2023-03-29 10:52:31 +02:00
Vyr Cossont ad28620313
Update Role docs to remove attrs that aren't serialized (#1188)
Also added more realistic example permissions for the Owner role
2023-03-20 20:05:24 +01:00
remove 9fd09540cb
Fix `assets/block-domain.png` figure. (#1166) 2023-03-17 09:47:32 +01:00
Claire 724d4bb1d7
Add documentation for object storage providers (#1186) 2023-03-16 22:19:03 +01:00
Anders Eknert e3b5391784
Relationships: example POST request should be GET (#1176) 2023-03-08 17:40:38 +01:00
Isa S 59aa5f047a
Correct links to the main mastodon repo (master --> main) (#1173)
* Fix links to mastodon repo

* Use preferred language
2023-03-08 17:40:02 +01:00
Vyr Cossont 5e82c71542
Remove references to nonexistent Mastodon 3.6 in filter docs (#1167) 2023-03-08 17:39:05 +01:00
Josh Soref 6be1e702bd
Spelling (#1163)
* spelling: conversion

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: translation

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

---------

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-08 17:38:51 +01:00
trwnh b458498d25
Miscellaneous fixes (#1110)
* Fix typos in method examples

* Fix broken link to sanitize_config (#1115)

* Add SIDEKIQ_CONCURRENCY

* Fix relref to FilterResult (#1114)

* Fix status_ids and rule_ids description (#1126)

* fix typo (#1129)

* clarify confusing example (mastodon/mastodon#22854)

* fix formatting on linked headings (#1139)

* fix placeholder entity names (#1157)

* better wording

* fix scheduledstatus#params.visibility

* fix missing: tootctl accounts modify --remove-role

* add: status/translate

* add deprecation/removal warning to microformats page

* clarify further how link verification works

* clarify mastodon requirements for webfinger

* fix: push param policy -> data[policy]
2023-02-07 02:14:07 +01:00
nightpool 5b0cd8b7f0
Document requirement for `updated` timestamp on statuses when processing Update (#1150)
After discussion with a new implementer here https://socialhub.activitypub.rocks/t/what-could-be-the-reason-that-my-update-activity-does-not-work/2893, I realized that we don't currently document the need for an `updated` property when processing Update activities. This PR documents that requirement and adds some details about why it exists.
2023-01-16 17:36:21 +01:00
Mark Doliner 17a5e151a5
Improve documentation for TRUSTED_PROXY_IP (#1144)
* Improve documentation for TRUSTED_PROXY_IP

The documentation previously only indicated that `localhost` was trusted, but it appears that all private networks are trusted by default. I believe this because:

- I'm running my web and streaming processes within Docker containers and running Nginx on the Docker host. I believe they communicate over a 172.16.0.0/12 network that Docker creates. I tried looking at logs a bit and it _seems_ like things are working correctly. But if anyone has suggestions on how to verify that my Mastodon processes are recording the correct client IP, please let me know! We could include that advice in this documentation.
- I looked at the source code a bit and it appears that both the streaming and web processes use localhost and the private network ranges. But this is really my first time looking at the Mastodon code and I don't even know Ruby, so please double check me!
  - I believe the streaming processes uses Express JS. I believe it sets the trusted proxy IP [here](d11d15748c/streaming/index.js (L150)). Express documents the `loopback` and `uniquelocal` values [here](https://expressjs.com/en/guide/behind-proxies.html).
  - I'm less certain about web. It looks like the env var is parsed [here](d11d15748c/config/environments/production.rb (L44-L45)). It looks like `trusted_proxies` will be unset if the env var is unset. And maybe that results in [this check](https://github.com/mastodon/mastodon/blob/main/config/initializers/trusted_proxies.rb) getting bypassed? But it looks like Action Dispatch does it's own check [here](https://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html)?

* Try to improve the phrasing

Specifically I tried to make it less likely that people would do the wrong thing if they're using Cloudflare or a similar proxy service. It does seem pretty wordy now. I'm open to suggestions.
2023-01-06 07:54:14 +01:00
Renaud Chaput d356c6caac
Switch hosting to Vercel (#1113)
* Fix URLs to work when `baseURL` is in a sub-directory

* Use `RelPermalink` to not have assets loaded from `baseUrl`

* Add `.vercel` to gitignore

* Remove deploy Github Action, we are now using Vercel
2022-12-21 06:26:37 +01:00
trwnh ffbe66a389
Update content for 4.0, part 2 (#1060)
* fix relrefs around trends and related entities

* revert moving caption-links to middle of page

* hide empty menu in table of contents

* clarify edit notifs are only for boosted statuses

* following/followers no longer need auth

* fix typo

* specify cooldown period for account Move

* use the correct cooldown

* add missing parameters to accounts/id/statuses

* link to account_statuses_filter.rb

* fix typo (#1072)

* fix typo (#1073)

* fix link to http sig spec (#1067)

* simply HTTP request examples in api methods docs

* add missing client_secret to oauth/token (#1062)

* Add any, all, none to hashtag timeline

* minor formatting changes

* Update signature requirements and advice

* fix public key -> private key

* clarify use of RSA with SHA256

* Add note about saving your profile after adding rel-me link

* v2 filters api

* comment out params that shouldn't be used in v2 filter api

* admin trends

* remove old todo

* canonical email blocks + scheduled statuses

* remove under-construction warnings from finished pages

* verify api method params with source code

* fix typo (#1088)

* fix broken caption-links (#1100)

* fix formatting of entities (#1094)

* Remove keybase section from user guide (#1093)

* fix typos (#1092)

* Verify limits are accurate (#1086)

* add mention of iframe limitation (#1084)

* Add CORS header to WEB_DOMAIN example (#1083)

* Fix typo (#1081)

* pin http sigs spec at draft 8

* Revert "pin http sigs spec at draft 8"

This reverts commit 9fd5f7032b.

* add case sensitivity warning to 4.0 roles

* Add url length note to bio (#1087)

* remove follow scope from examples (#1103)

* clarify usage of update_credentials to update profile fields

* add noindex to Account entitity

* remove required hint from technically not required property
2022-12-14 22:55:30 +01:00
Andre_601 3f6b23b3ce
Add links to sub-pages for optional stuff (#1013) 2022-11-20 08:12:08 +01:00
nemobis 60d552157e
Fix typo in config.md (#932) 2022-11-20 08:05:24 +01:00
Jackson Chen 283f0c7c57
Fix dead link (#949) 2022-11-20 08:04:26 +01:00
A My Sour a1edb0ac40
Added text after a colon in install.md (there was none) (#957)
I'm guessing there was meant to be text there, so I added some to explain how to do it

Co-authored-by: Alex_Sour <52638772+Alex-Sour@users.noreply.github.com>
2022-11-20 08:03:43 +01:00
Oliver Hengstenberg bc652cadc4
Update intro.md (#960)
Add json.org reference link to the JSON chapter
2022-11-20 08:02:49 +01:00
Kevin Moore d91c6b624e
Replace Dart package that was discontinued... (#970)
...with a more actively maintained package
2022-11-20 07:48:22 +01:00
Jakob Gillich c1a15217c4
Add Cloudplane to hosting providers (#986) 2022-11-20 07:48:00 +01:00
Matt Arcidy 61bcd7de89
Update install.md to use yarn version classic (#989)
`yarn set version stable` yields many install errors of Javascript packages.  note https://codesti.com/issue/mastodon/documentation/931.

Setting `yarn set version classic` works around these problems and the rest of the instructions work as indicated.  `classic` appears to be required.
2022-11-20 07:45:15 +01:00
ogelpre 12a1d3c0d9
Update firewall examples to fix PMTUD issues (#998)
According to RFC2979 Section 3.1.1 incoming ICMP Destination Unreachable / Fragmentation Needed errors MUST NOT be blocked.
2022-11-20 07:44:19 +01:00
Fil Maj ccd4389e86
Specify where to find Site Settings page (#1044) 2022-11-20 07:42:42 +01:00
Precision Wordcraft LLC 2676efdb86
Update preferences.md (#1045)
Clarify what "posting defaults" means and make it more likely that users will find these settings with a search.
2022-11-20 07:42:00 +01:00
Precision Wordcraft LLC 9673ed09d5
Update posting.md (#1046)
Added instructions on how to set default post privacy, and added more detail on how to change privacy for any one post.
2022-11-20 07:41:46 +01:00
Gervasio Marchand 6a157c2985
Update install instructions (#1052) 2022-11-20 07:41:21 +01:00
Terence Eden 5091aebd12
Remove dead PHP link (#1012) 2022-11-20 07:38:56 +01:00
RealDekkia 7afa3e77c6
Added iptables-configuration for IPv6 (#1004)
The configuration is basically the same as with IPv4, but with some minor changes to make them work in IPv6.

Is it perfect? Probably not. But it's better than nothing.
2022-11-20 07:37:12 +01:00
Ash Kyd 1fa0b567db
Add ingress queue & update pull w Claire's help (#1050) 2022-11-20 07:35:23 +01:00
trwnh 3628b6d434
Update content for 4.0 (part 1) (#991)
* add rules

* join date on profiles

* deprecate follow scope

* deprecate identity proofs

* familiar followers

* use definition lists instead of tables for defining activitypub properties

* reformat notifications page into markdown

* fix broken links to publicKey header

* Application website is now nullable

* update environment variables added and removed

* fix typo

* fix heading level

* min_id and max_id can be used at the same time (3.3)

* fix typo

* new tootctl options

* reformat tootctl page to use definition lists for params

* add rules and configuration to Instance

* fix typo

* refactor instance api page

* 3.3.0 duration on mutes

* 3.3.0 mute_expires_at

* improve section headings

* 3.4.0 resend email confirmation api

* 3.4.0 policy on push subscriptions

* 3.4.0 add details to account registration error

* refactor accounts api page and start adding relrefs to entity pages

* 3.4.0 accounts/lookup api

* add see also to accounts methods

* add more see-also links

* 3.5.0 appeal mod decisions

* 3.5.0 reformat reports and add category/rule_ids params

* document report entity and missing responses

* fix typos

* fix relrefs and url schema, add aliases to old urls

* add archetypes for new methods/entities

* update archetypes with see-also stubs

* clearer presentation of rate limits

* announcements api methods

* refactor apps methods

* refactor bookmarks methods + some anchors

* refactor conversations methods

* custom_emojis methods refactor

* anchors

* refactor directory methods

* refactor domain_blocks methods

* add see also to emails methods

* fix page relref shortcodes to specific methods + refactor endorsements methods

* min_id max_id

* refactor favourites methods

* refactor featured_tags methods

* refactor filters methods, make path params consistent, i18n required shortcode

* follow_requests methods

* lists methods

* markers methods

* forgot to add entity links

* media methods, also fix formatting of some json errors

* mutes methods, add more see-also links

* oembed methods

* preferences methods

* proofs methods

* push methods

* suggestions methods

* 3.5.0 add new trend types, fix formatting

* refactor streaming methods

* refactor oauth methods

* note that streaming api casts payload to string

* refactor search methods

* refactor polls methods

* remove unnecessary link

* reformat scheduled_statuses methods

* reformat timelines methods

* reformat statuses methods

* 3.5.0 editing statuses

* consistent use of array brackets in form data parameters

* update dev setup guide, add vagrant and clean up text

* add admin/accounts methods

* 3.6 role entity

* admin/accounts methods v2

* minor fix

* stub admin/reports methods

* document admin reports

* add 403 example to methods archetype

* cleanup entities for admin reports and add new attrs

* 3.6.0 domain allows methods + normalize admin entity namespace

* fix search-and-replace error

* add aliases for admin entities

* 3.6.0 canonical email blocks entity

* 3.5.0 admin/retention api

* 3.5.0 add admin::ip doc

* 3.5.0 admin/reports

* 3.6.0 admin/domain_allows

* 3.5.0 admin/dimensions

* 3.6.0 permissions and roles

* minor formatting fix

* add anchor link to headings

* checkpoint

* add update commands to dev env setup guide

* change mentions of v3.6 to v4.0

* tootctl now uses custom roles

* fix formatting

* v2 instance api

* update frontmatter, add better titles to pages

* minor wording change

* consistency

* add more aliases

* add placeholders and WIP notices

* explain link pagination and stub out todos

* switch baseURL to https

* 422 on reports with rules but category!=violation

* document bug fixes

* fix typo

* remove duplicate API method definition

* s/tootsuite/mastodon for github links

* remove unnecessary escaping

* s/tootsuite/mastodon in Entity archetype

* add missing nullable shortcode

* clarify oauth scope when requesting a user token

* api/v2/media now synchronous for images

* DISALLOW_UNAUTHENTICATED_API_ACCESS

* add undocumented env variables

* add instance domain blocks and extended description api

* add SMTP_ENABLE_STARTTLS

* add description to SMTP_ENABLE_STARTTLS

* take suggestions from open PRs

* normalize links and flavour language

* Fully document streaming API based on source code

* Add mention of MIME types

* bump to ruby 3.0.4

* clarify how to check on async media processing

* validation of replies_policy

* remove TODOs on admin account action

* EmailDomainBlocks

* IpBlocks

* Admin::DomainBlock

* remove TODOs

* following hashtags

* followed_tags

* remove reference to unused parameter

* add new oauth scopes for admin blocks and allows

* fix command signature for i18n-tasks normalize

* reformat code structure page

* document fixes for following tags (assume 4.0.3)

* Add warning about pre-4.0 hardcoded roles

* add note about case sensitivity

* remove use of 'simply' from docs

* remove reference to silencing

* add reference to IDN normalization for verified links

* add lang parameter
2022-11-20 07:34:38 +01:00
Tatham Oddie 69e9017730
Fix broken markup (#1025)
Missing closing double quote
2022-11-16 03:44:42 +01:00
Tatham Oddie d108182d82
Add HTTPS requirement for link verification (#1022)
Brings documentation in line with new constraints introduced by https://github.com/mastodon/mastodon/issues/20242
2022-11-16 00:24:25 +01:00
Lim Ding Wen b817492314
Add fedi.monster to hosting providers (#980) 2022-11-07 22:38:21 +01:00
rmacd 593d87d230
Admin -> Owner (per https://github.com/mastodon/documentation/pull/972#issuecomment-1304655676) (#974) 2022-11-05 23:59:41 +01:00
rmacd 8fe194b433
fix admin -> Admin (#972) 2022-11-05 17:28:00 +01:00
Elan Hasson d01250cc77
Use more inclusive language. (#971) 2022-11-05 03:39:59 +01:00
Markus Weingärtner ba52f05dfc
Update Hosting Providers (#954)
Added Weingärtner IT
2022-10-31 16:33:05 +01:00
Stephen Yeargin b2f0baacdd
Adjusts role name examples to title case (#966) 2022-10-31 02:34:34 +01:00
nemobis fc99a82358
Rephrase ElasticSearch log4j warning, fix typos (#965)
Not sure whether it's still appropriate to direct people to a mitigation.
2022-10-30 11:57:34 +01:00
Eugen Rochko 10f2068f40 Fix fonts 2022-10-23 23:57:54 +02:00
Sam Wilson d1f47a9d2d
Remove yks118/Mastodon-api-php from the PHP section (#958)
Per https://github.com/yks118/Mastodon-api-php/issues/4 that library is no longer maintained.
2022-08-28 14:39:12 +02:00
mcclure 71e3ba0b1e
Clarify axis info on media "focus" parameter (#953)
Today I read the media/ api endpoint document and was confused about the axis orientation (IE is y up or down). I initially implemented an endpoint call with the wrong Y orientation.

There is a helpful diagram but I did not see it because I foolishly scrolled down, saw the return codes section, assumed that was the end of the document, and didn't scroll further.

Edit adds a reference from the arguments section at the top to the detailed explanation of "focus" at the bottom of the page, so the next fool doesn't make the mistake I did.
2022-07-16 14:02:20 +02:00
Samuel Philipp 47c8bdc4e9
Added Ossrox (#950) 2022-06-28 19:49:00 +02:00
Luke Fisk-Lennon b881492350
Update Ubuntu version, add missing commands (#944) 2022-05-14 20:14:24 +02:00
Shlee 21716a766e
typo in RAILS_LOG_LEVEL (#933)
* Update config.md

* Update config.md
2022-05-04 02:56:49 +02:00
Showfom 2915445503
Update elasticsearch.md (#929)
- Update `openjdk-17-jre-headless` in Ubuntu 20.04 and Debian 11
- Update ElasticSearch to 7.x
- Add `systemctl daemon-reload` after installation

Tested and it's working fine.
2022-03-31 11:21:04 +02:00
Showfom 98d85c9f48
Update install.md (#927)
- Ubuntu 18.04 will be EOL on April, 2022. So I make changes for installation document with Ubuntu 20.04 and Debian 11 support.
- Added PostgreSQL with latest version (PostgreSQL 14)
- [Yarn](https://yarnpkg.com/getting-started/install) is now a default package since Node.js 16.10, there's no need to install yarn classic.
- From Mastodon [3.5.0](https://github.com/mastodon/mastodon/releases/tag/v3.5.0), ruby 3.0.3 is recommend.

Tested in Ubuntu 20.04 and Debian 11, all works fine.
2022-03-31 10:14:51 +02:00
nemobis 956c7e3e64
Fix typo "langauges" (#924) 2022-03-12 19:33:34 +01:00
Klaus Purer eb46d90af8
fic(libraries): Mark all Rust libraries as unmaintained and fix link to Elefren (#919) 2022-02-26 21:40:53 +01:00
JeremyStarTM 9e57382ba2
Modified two-liner into one-liner (#911) 2022-01-19 23:13:31 +01:00
Claire 090adf03fe
Improve warnings around the database maintenance script (#908)
* Improve warnings around the database maintenance script

* Fix repeated sentence
2022-01-16 17:03:38 +01:00
Claire d5d88f2c37
Add an info box about PgHero duplicate index warnings (#909)
Some people asked whether they should be running the maintenance script after seeing a PgHero warning about duplicate indexes.
This change highlights that the warning is unrelated to database index corruption.
2022-01-16 16:37:06 +01:00
Val Lorentz 1dc561d8e0
Fix package name for certbot-nginx (#910)
python-certbot-nginx does not exist anymore in Debian.
2022-01-15 19:26:31 +01:00
Holger de96f2a5d1
Add warning for log4j CVE-2021-44228 (#905) 2021-12-11 17:06:18 +01:00
Bruno Baguette 419b77f7b5
Typo fixes (#902)
- Typo fix : "duplicate" ➤ "duplicates"
- Typo fix : "chose" ➤ "choose"
- Typo fix : "occuring" ➤ "occurring"
2021-11-30 21:20:52 +01:00
Mashiro 9bea3ee51a
Add `--skip-sign-in-token` in admin CLI (#900)
* Update tootctl.md

* zh-cn
2021-10-26 15:12:16 +02:00
Martin Folkers 25e1a139c2
Update relationship.md (#896) 2021-09-20 02:05:03 +02:00
a sapphic bunne 2c00752228
Fixed 'AUTHORIZED_FETCH_MODE' typo in english (#891) 2021-09-13 18:29:52 +02:00
Leon Kowalski 0dc4745593
Fix `force_login` type & more (#894)
* Fix `force_login` type & more

Makes `force_login` of type `bool` & moves optional parameters to bottom of table for consistency.

* Fix `limit` type & provide descriptions

* Fix typo
2021-09-13 17:55:48 +02:00
Claire 06cc977ff1
Deprecate the text_url attribute to media attachments (#895) 2021-09-13 17:55:19 +02:00
Bryce "BonzoESC" Kerley 55c284295f
point towards how to avoid index corruption (#893)
added links to the SQL `REINDEX` and CLI `reindexdb` commands
2021-08-29 18:00:20 +02:00
WammKD 599fd67b1e
Update libraries.md (#881)
Add a library for Guile Scheme.
2021-05-29 22:43:41 +02:00
Kev Quirk b95d72be42
Updated individual moderation info to reflect new moderation options. (#865) 2021-05-06 02:27:15 +02:00
wiperS200 a4dc91ac03
Add pg_restore option (#874) 2021-05-06 02:26:36 +02:00
HolgerHuo 22ae9cabc7
Update scaling documentation to adapt to the new "scheduler" sidekiq queue (#875)
* Add scheduler sidekiq queues as the code updates

* 更新sidekiq队列以适应文档

* Update scaling.md

* Update scaling.md
2021-05-05 14:16:45 +02:00
Claire dfeb299d4d
Improve WEB_DOMAIN documentation (#817)
* Improve WEB_DOMAIN documentation

Explain that queries to the webfinger endpoint on the WEB_DOMAIN have to be proxied/redirected to the LOCAL_DOMAIN.

* Improve wording based on suggestions

Co-authored-by: Raphael Schweikert <any@sabberworm.com>

* Improve documentation for LOCAL_DOMAIN and WEB_DOMAIN

- Concisely explain why it cannot be changed later, stressing this isn't about your install but about remote servers.
- Add an example relating `LOCAL_DOMAIN` and `WEB_DOMAIN` to avoid confusion.
- Make it explicit that the value is optional.

Co-authored-by: Raphael Schweikert <any@sabberworm.com>
2021-04-22 18:45:08 +02:00
teutates 9e6a65d55f
Fix typo (#870) 2021-04-07 20:14:02 +02:00
ress 137d2ebef5
Remove broken link to Nablahost (#867)
link: #845
2021-03-25 08:54:43 +01:00
Justin Mazzocchi 62711e29d4
Add metatext-apns to list of push relay services (#864) 2021-03-18 05:48:58 +01:00
Eugen Rochko dbfc97e682
Revert "Slight improvements for admin docs (#856)" (#861)
This reverts commit 9beb501bac.
2021-03-04 04:16:02 +01:00
Noah H 063feeaf3b
update version history and options for `tootctl search deploy` (#859) 2021-02-15 18:14:51 +01:00
Janek 9beb501bac
Slight improvements for admin docs (#856)
* admin/install: simplify system package instructions & use sh codeblocks

No need to assume bash

* admin/config: document RAILS_ENV in more detail
2021-01-24 09:52:33 +01:00
Marcin Mikołajczak 8fa91d1719
Polish translation (#832)
* Polish translataion WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation WIP

Lots of spelling corrections

* Polish translation WIP

* Polish translation WIP

* Polish translation WIP

actually I just want to sync between my Windows and Linux installation

* Create FUNDING.yml

* Polish translation WIP

* Revert "Create FUNDING.yml"

This reverts commit c106424163.

* Polish translation WIP

* Applied suggestions by @selfisekai

Signed-off-by: mkljczk <me@mkljczk.pl>

* Update config.toml

Co-authored-by: Hexandcube <mikolajzaremba03@gmail.com>

* Update content/pl/user/run-your-own.md

Co-authored-by: Hexandcube <mikolajzaremba03@gmail.com>

* Update content/pl/user/signup.md

Co-authored-by: Hexandcube <mikolajzaremba03@gmail.com>

* Update content/pl/user/run-your-own.md

Co-authored-by: Hexandcube <mikolajzaremba03@gmail.com>

* Update content/pl/user/run-your-own.md

Co-authored-by: Hexandcube <mikolajzaremba03@gmail.com>

* Apply suggestions by @hexandcube + minor changes

Signed-off-by: mkljczk <me@mkljczk.pl>

* Apply suggestions by @hexandcube + minor changes

Signed-off-by: mkljczk <me@mkljczk.pl>

* Polish translation: Reflect changes from #834

* Fix typo in English version

* pl: Remove broken link to Nablahost

* pl: Use fictitious domain in blocking example (

* Polish translation: Fix images

Signed-off-by: marcin mikołajczak <me@mkljczk.pl>

Co-authored-by: Hexandcube <mikolajzaremba03@gmail.com>
2021-01-20 01:19:19 +01:00
Janek c831e1c1cf
Simplify systemd section in install.md (#851) 2021-01-16 14:58:17 +01:00
Benoît Verret dfda363212
Fix block-domain.png not appearing (#849)
Resize block-domain.png as it didn't work with ` | height=200`.
2021-01-13 14:27:35 +01:00
Sjors Provoost 29cb04b2ea
Use fictitious domain in blocking example (#848) 2021-01-12 13:31:36 +01:00
Joe e433b233b9
Remove broken link to Nablahost (#845)
I couldn't find any information online about what happened to them, but [their domain](http://nablahost.com/) expired and is now owned by a domain squatter.
2021-01-09 07:43:50 +01:00
Eugen Rochko c549ff298f
Revert "Revert "Update, we need to install Ruby 2.7.2 (#829)" (#830)" (#844)
This reverts commit 84ac3d711c.
2021-01-07 20:19:53 +01:00
trwnh bcf77cb795
3.3.0rc2 (#834)
* add identifier for troubleshooting pages

* mention mutes can be temporary now

* bell for notifications

* convert images to jpg and rename them

* suspensions now reversible

* unread notifications

* suspended: true

* mutes expiry

* replies_policy, type of notification

* notify

* featuredTags AP representation

* new env vars

* accounts merge

* maintenance cli

* list replies

* suspended flag

* follower sync

* minor formatting

* add note about idempotency of follow action

* account featured tags, min_id and max_id, plus normalization

* follow marcin and nightpool's suggestion

* bearcaps

* replies_policy update

* featuredtags now have a url
2020-12-27 07:03:55 +01:00
ThibG 7df49f31a1
Add more detailed instructions regarding index corruption (#835)
- emphasizes that Mastodon has to be stopped when running the script
- add `RAILS_ENV=production` in front of the `tootctl` line as it is a common mistake to run it without `RAILS_ENV` set
- mention 3.2.2 as the first release shipping the script (assuming that will be the case)
2020-12-18 17:53:35 +01:00
trwnh 3bd141f65e
add identifier for troubleshooting pages (#833) 2020-12-08 00:09:21 +01:00
Eugen Rochko 84ac3d711c
Revert "Update, we need to install Ruby 2.7.2 (#829)" (#830)
This reverts commit dbf078733f.
2020-11-30 23:02:07 +01:00
Marcin Mikołajczak dbf078733f
Update, we need to install Ruby 2.7.2 (#829) 2020-11-30 05:46:55 +01:00
Mélanie Chauvel 15cdc0d09a
Mention that filters targetting home timeline also affects lists (#828) 2020-11-26 01:48:32 +01:00
ThibG 13cb6106fc
Add documentation about index corruption (#811)
* [WiP] Add documentation about index corruption

Add documentation about index corruption caused by changes in collation rules, and information on how to fix it.

* Add doc on how to check indexes

Add documentation on how to check indexes without bringing the instance down.

* Update index-corruption.md

* fixup typo

* Add instructions for re-creating the database

* Add minor explanations

* Remove recommendation to re-create database with C collation

Meaningful case-folding operations are used within the database for hashtags, so do not recommend using `C`, which would cause issues with non-ASCII hashtags.
2020-11-19 21:49:18 +01:00
Eugen Rochko 34fab9a9ff
Add note about secure mode in ActivityPub document
Fix #822
2020-10-24 22:07:22 +02:00
koyu 31a159d456
Add pre-requisites instructions for dev setup (#821) 2020-10-17 15:33:34 +02:00
koyu 074aafcc64
Update dependencies (#820) 2020-10-17 15:32:54 +02:00
Y.Yamashiro 64607d49e1
Change S3 access style (#799) 2020-09-28 05:10:25 +02:00
Nolan Lawson 1124632417
fix: explain Postgres error when creating a dev environment (#815)
This has tripped me up a few times, so having this in the documentation would save me a Google search. 🙂
2020-09-28 05:03:37 +02:00
Nolan Lawson 3811ae1068
fix: fix incorrect link to `upgrade_cli.rb` (#814)
Looks like this was copypasted from the previous link.
2020-09-28 05:03:14 +02:00
Nolan Lawson 4617ea900a
feat: add a section on periodic cleanup tasks (#816)
* feat: add a section on periodic cleanup tasks

I asked in Discord today about which `tootctl` tasks are good to run on a regular basis (as there are a lot of cleanup jobs). It seems that `media remove` and `preview_cards remove` are the standard ones that you want to run on a regular basis (e.g. with cron). So I added this to the docs in its own section, under "Things to do after installing Mastodon."

* fix: fix typo
2020-09-28 04:58:09 +02:00
k_taka e47834d3f8
Add Japanese translation of "What is Mastodon?" and "Using Mastodon" (#813)
* add japanese menu to config.toml

* add i18n/ja.toml

* add content/ja/_index.md

* add content/ja/user/*.md

* Removed incorrect note in posting.md.

Co-authored-by: k_taka <k_taka@gihyo.co.jp>
2020-09-28 04:56:31 +02:00
KT f36d1f9b58
Add DB_SSLMODE to config page (#812)
* Add DB_SSLMODE to config page

* Add DB_SSLMODE for zh-cn
2020-09-23 19:37:10 +02:00
Justin Mazzocchi f3bc8f5699
Fix filter expiry parameter type documentation (#806) 2020-08-30 02:40:46 +02:00
James Valleroy da50b5192e
Make JSON example use valid JSON (#804) 2020-08-24 01:26:17 +02:00
Moritz 1148f0415b
Fix typo in filename introduced in #801 (#802) 2020-08-11 02:14:13 +02:00