Commit Graph

455 Commits

Author SHA1 Message Date
a 92f25458d5
Remove "required" label from no-longer-required methods (#1378) 2024-01-07 22:21:15 +00:00
Travis Briggs ec5ea76a44
Update admin install instructions for node 20 (#1340)
* Update admin install instructions for node 18 (min version for 4.2.1)

* Remove apt-get from node instructions and actually install it in the apt command below

* Remove remaining sudo and put key in same location as postregsql key

* Update content/en/admin/install.md

Co-authored-by: tibequadorian <9560587+tibequadorian@users.noreply.github.com>

---------

Co-authored-by: tibequadorian <9560587+tibequadorian@users.noreply.github.com>
2023-12-27 12:51:35 +01:00
Emelia Smith 101f48dd87
Fix issue with VAPID Public Key linking in Instance.md (#1375) 2023-12-19 09:36:56 +01:00
Panagiotis "Ivory" Vasilopoulos 63edbbad2e
Improve Tor documentation (#937)
* Improve Tor documentation
Co-authored-by: Michael Stanclift <mx@vmstan.com>
2023-12-15 21:23:18 +00:00
Andy Piper 759c0e8bbd
Revert "Add basic Redis Sentinel documentation" (#1370)
Revert "Add basic Redis Sentinel documentation (#1311)"

This reverts commit 3712250ef2.
2023-12-12 10:31:54 +01:00
Gabriel Simmer 3712250ef2
Add basic Redis Sentinel documentation (#1311)
* Add basic Redis Sentinel documentation

Co-authored-by: Andy Piper <andypiper@users.noreply.github.com>
2023-12-11 22:49:25 +00:00
Michael Stanclift a625f3f60e
Remove nginx default site (#1367)
* remove default site
* fix default in migration guide
2023-12-11 22:46:07 +00:00
KTachibanaM 382db977ae
Install guide fixes (#1252)
* fix instructions for editing nginx configuration so that a snakeoil cert is used
* add snakeoil ssl certs for proxying object storage with nginx
2023-12-11 17:18:08 +00:00
Michael Stanclift 6958e585a0
Add load balancing health check endpoints to scaling page (#1363)
* load balancing
2023-12-11 17:15:23 +00:00
Brook Miles e21f2fda03
remove fail2ban duplicate sshd jail specification and enable aggressive mode which includes ddos and extra filters (#1364) 2023-12-11 11:48:04 +00:00
Michael Stanclift 4f4b1e6935
Add troubleshooting instructions for debugging (#1358)
* debugging
* add streaming instructions
* add streaming log_level to config page
2023-12-10 20:41:43 +00:00
Wesley Moore c185e7dec0
Clarify that apps verify_credentials requires app token + read (#1190) 2023-12-10 18:47:29 +00:00
Christian Schmidt 0ca2155229
New translations attributes (#1203) 2023-12-10 18:44:53 +00:00
Michael Stanclift 94aa9f71a7
Consistent use of Postgres and PgBouncer (#1353)
* fix pgbouncer
* pghero
2023-12-10 18:40:20 +00:00
Michael Stanclift 921fb57ff4
add batch delete variables (#1354) 2023-12-10 18:07:04 +00:00
Manish Roy b87c68c120
Fix notification query param LIMIT doc #24684 (#1210)
* Fix notification query param LIMIT doc

The notification query param LIMIT should return 40 notifications as default & Maximum notifications depends on the LIMIT param as evident from the code in api/v1/notifications_controller

* LIMIT param default & max notifications updated

* limit param doc updated
2023-12-08 21:25:44 +00:00
bt90 8a274aaf39
Allow incoming HTTP/3 connections (en) (#1066) 2023-12-08 21:24:53 +00:00
Christian Schmidt 5bed9cfe82
Document /api/v1/instance/translation_languages (#1189) 2023-12-08 21:23:03 +00:00
Maurizio De Magnis 5cfda9d588
Fixes Fail2Ban's directive (#969)
Without `filter = sshd` and after restarting the service I see this error in Fail2Ban's logs (`/var/log/fail2ban.log`):

```
2022-11-03 11:24:36,225 fail2ban.transmitter    [1283507]: ERROR   Jail 'sshd-ddos' skipped, because of wrong configuration: Unable to read the filter 'sshd-ddos'
```

I added the statement as per [this article](https://serverfault.com/a/1050315) and it worked.
2023-12-08 21:21:43 +00:00
Sophie Bertsch 6ae7a7334b
Fix link to tootctl (#847)
Assuming that this documentation is run inside the /live (Mastodon home directory), the current link is broken. 

The proposed change fixes this error and thus refers to the tootctl inside the bin directory
2023-12-08 21:19:04 +00:00
Luke Pighetti 7fca1ab453
update Dart package (#1164) 2023-12-08 17:04:30 +00:00
Adam Harvey e3ea6ccf8f
Fix the description of `media_attachments` in `StatusEdit` (#1180) 2023-12-08 15:40:09 +00:00
Claire 70f4386efd
Update documentation for `/api/v1/accounts/update_credentials` (#1302)
This was missing `source[language]` as well as `hide_collections` and the upcoming `indexable`.
2023-12-08 15:30:02 +00:00
Δ7 251612178d
Update _index.md (#1245)
image in Chinese version doesn't show
2023-12-08 15:27:50 +00:00
trwnh 128895dbc9
Fix copypaste error for FilterResult.status_matches type (#1214)
Fix https://github.com/mastodon/mastodon/issues/24900
2023-12-08 06:50:10 -08:00
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
Emelia Smith e3d00bd75e
Remove the admin/ prefix on Admin APIs for consistency (#1228) 2023-12-07 18:58:05 +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
cucmberium c2d93f344f
Added missing parameter information in Filter (#1312) 2023-12-07 13:36:38 +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
Tantek Çelik e6656d3d37
fix "ActivityPub" format mention to be AS 2.0 (#1202)
There is no "ActivityPub JSON format", ActivityPub uses the Activity Streams 2.0 format https://www.w3.org/TR/activitystreams-core/.
2023-12-07 11:08:44 +00:00
Daniil Suvorov e8f0e64060
fix(client/intro): Nested parameters JSON format (#1254) 2023-12-06 23:10:11 +00:00
Christian 00528a70a6
Update tootctl.md (#1243)
Add missing line break
2023-12-06 23:09:36 +00:00
JakePaustian f2b3dfb70a
An important parameter is missing from the API doc on editing a post #1239 (#1351)
* Update content/en/methods/statuses.md
2023-12-06 11:57:15 +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
Mahan 66612d0084
Add missing type of id. (#1296) 2023-12-05 22:47:25 +01:00
Mahan 3c7c5caed1
update return empty return types to Empty (#1298) 2023-12-05 18:20:37 +00:00
Harmon 11ab7b8d7f
Remove reference to language detection (#1270)
Language detection has been removed:
https://github.com/mastodon/mastodon/pull/17478
2023-12-05 18:19:32 +00:00
Casper Roursgaard 16dde4cfa3
Fix links to serializers (#1246)
Co-authored-by: Casper Roursgaard Christensen <casper@casrou.com>
2023-12-05 18:18:58 +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
Petr Kadlec 9d83707620
Use example.com as example domain (#1227) 2023-12-05 14:50:43 +00:00
Daniel Jalkut 7f7a24efd3
Clarify the documenation to reflect that 'description' on media attachments can be null. (#1263) 2023-12-05 12:58:40 +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
Emelia Smith 9b534bb024
Add documentation for VAPID public key in instance metadata (#1342)
* Add documentation for VAPID public key in instance metadata

* Mark Application#vapid_key as deprecated
2023-11-28 19:25:04 +01:00
Michael Stanclift 9340cb6a9f
Update Media Limits for 4.2 (#1346)
* update image limits
2023-11-27 20:38:38 +00:00
Travis Briggs 9c58803108
Minor fix: Default admin user doesn't use port (#1299) 2023-11-25 10:37:14 +01: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
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