1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

117 Commits

Author SHA1 Message Date
Liam M Stojanovic
f7cc3d601f
Role management (#1268)
* default roles, edit roles, assets, formatting
2023-12-07 19:47:38 +00:00
Frigyes
8d26904e04
Added a lot of spelling fixes in the English documentation (#1350)
* Added many spelling fixes
* Apply suggestions from code review

Co-authored-by: Michael Stanclift <mx@vmstan.com>
2023-12-07 19:46:29 +00:00
Isa S
0982664688
Add instructions for seperate sidekiq redis (#1170)
* Add instructions for seperate sidekiq redis

Co-authored-by: Andy Piper <andypiper@users.noreply.github.com>
2023-12-07 13:52:29 +00:00
^cypher
44e96e9428
Proposal for adding minimal documentation for undocumented moderation API (webhook) (#1329)
* Update moderation.md
2023-12-07 13:33:36 +00:00
Christian
00528a70a6
Update tootctl.md (#1243)
Add missing line break
2023-12-06 23:09:36 +00:00
Mark Doliner
1f5f33271c
Remove unnecessary steps from Ruby instructions. (#1136)
The `./configure` and `make` steps appear to be obsolete.
2023-12-06 11:56:14 +00:00
Emelia Smith
472344a483
Improve scaling documentation for Streaming (#1335)
* Improve scaling documentation for Streaming

This reorganizes the documentation a little bit, adds information about the templates systemd files, and some reference numbers for concurrent streaming connections.

* Update content/en/admin/scaling.md

* Add section on Streaming Server metrics to Scaling.md
2023-12-05 23:03:47 +00:00
Elan Hasson
af73402cbe
Update ES_HOST to document TLS usage (#1140)
* Update `ES_HOST` to document TLS usage
* Update elasticsearch.md
* Update content/en/admin/config.md
* Apply suggestions from code review

Co-authored-by: Michael Stanclift <mx@vmstan.com>
2023-12-05 15:06:17 +00:00
CSDUMMI
92c64fd62d
Add documentation for the ONE_CLICK_SSO_LOGIN environment variable (#1300) 2023-12-05 15:05:29 +00:00
lhp22
bae33cc3ac
Improve the documentation about the parameters of the email sent by m… (#869)
* Improve the documentation about the parameters of the email sent by mastodon smtp client.

---------

Co-authored-by: lhp22 <louishp@protonmail.com>
Co-authored-by: Andy Piper <andypiper@users.noreply.github.com>
2023-11-29 17:00:15 +00:00
Renaud Chaput
1d26ea1378
Fix ES sample config with no auth is user (#1318)
* Redirect the old ES page to the new one

* Fix ES configuration sample

`ES_USER` and `ES_PASS` need to be undefined when no auth should be used
2023-11-24 18:31:47 +01:00
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
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
Renaud Chaput
eda06de4fe
Redirect the old ES page to the new one (#1308) 2023-09-26 19:12:21 +02: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
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
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
Patrick Wilson
35e60a0359
Fix typo in word 'suspended' in content/en/admin/moderation.md (#1260) 2023-07-13 08:53:49 +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
Yurii Izorkin
1f31fbc043
Add troubleshooting for sandboxing mode (#892) 2023-06-07 10:35:00 +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
trwnh
07d7147619
Fix ordering of tootctl accounts approve --N (#1201) 2023-04-20 16:03:39 +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
Fernando Briano
4d3fc9f62b
Fix capitalization for Elasticsearch (#1019) 2023-04-07 09:01:51 +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
Claire
724d4bb1d7
Add documentation for object storage providers (#1186) 2023-03-16 22:19:03 +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
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
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
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 9fd5f7032b69b29e77599dd62adfe8d2f5cd4f20.

* 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
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