Commit Graph

291 Commits

Author SHA1 Message Date
Akihiko Odaki 8ab12a626e Limit client max body size in the nginx configuration example (#579)
As Mastodon temporaliry saves uploaded content to memory and disk (if
/tmp is a disk), unlimiting client max body size makes the server
vulnerable to DoS attack.
2018-03-24 11:55:59 +01:00
RosaEinhorn 42e5e85445 Update Docker-Guide.md (#577) 2018-03-20 23:23:20 +01:00
Effy Elden 64328425db Update Docker Guide to point to hub/tootsuite instead of hub/gargron (#576) 2018-03-20 13:44:26 -04:00
DJ Sundog 5bb2383e59 Add mastodon:maintenance:purge_removed_accounts (#574)
Add documentation for rake task to remove accounts that no longer exist on their home instance.
2018-03-17 02:37:13 +01:00
Jeroen 8ebb4c21fd apt install openjdk-8-jre-headless (#571)
Without headless a lot of (for a server) unneeded dependencies needs be installed (on Debian stretch), like icon sets and x11-utils. Elasticsearch works without problems when you only install openjdk-8-jre-headless (that has much less dependencies).
2018-03-11 18:24:32 -04:00
Hugh Messenger 05e6419a57 Added chewy:deploy to list of rake tasks (#570)
Not sure about the wording, but wanted to get this one on the list.
2018-03-10 14:38:29 +01:00
Mike Barnes 1f389ae068 Rearrange documentation flow (#569)
Consolidated all basic configuration steps for the ideal case to top of document, moved all memory-related and "advanced" configuration to bottom. Removed remote Elasticsearch config from document entirely and replaced it with a link to ES documentation on the topic instead.
2018-03-10 12:18:25 +01:00
Angristan adc1f244e3 Fix grammar (#568)
* Fix grammar

* Other fixes

* Other fixes
2018-03-09 21:23:02 +01:00
NCLS a1cfdf65e5 Fix grammar mistake (#566) 2018-03-09 18:38:06 +01:00
NCLS 711dfc4fa7 Fix small typo (#565) 2018-03-09 17:34:21 +01:00
NCLS fdc409d2df Add Elasticsearch Guide (#564)
* Add initial elasticsearch guide

* Add elasticsearch guide link to README.md

* Add chewy:deploy
2018-03-09 17:15:17 +01:00
Eugen Rochko 5107618bdd Update production guide in preparation for 2.3.0 (#562)
* Update production guide in preparation for 2.3.0

* Update Production-guide.md
2018-03-09 12:14:14 +01:00
Eugen Rochko 85b4343e07
Update Administration-guide.md 2018-03-09 12:04:45 +01:00
Eugen Rochko ceaa847cbb
Update Docker guide in preparation for 2.3.0 (#561) 2018-03-09 11:56:08 +01:00
Akihiko Odaki 845ed4ad99 Use db:setup instead of db:migrate when creating the database (#560)
db:setup is used in all guides except Docker Guide, which uses db:migrate
to create the database. db:setup is actually superior over db:migrate for
the purpose in terms of performance and compatibility.

db:setup is performant because it does not perform redundant migrations.
db:migrate, on the other hand, executes migration code which will be
dismissed by later migrations. db:migrate also waits for seconds to allow
to interrupt migrations if it is not favorable to run them on a running
server, but db:setup is obviously executed on a instance which is not
running yet, and the wait is unnecessary.

db:migrate has a compatibility issue. It requires a compatibility layer
to keep it working, and such one may be broken, or not provided by
dependencies such as Paperclip.

This commit replaces db:migrate with db:setup in the building guide. The
procedure cannot be applied to migration from an older release, where
the old procedure could, but it is not problematic because it has
dedicated Updating section.
2018-03-09 06:41:01 +01:00
Treyssat-Vincent Nino dbd39f7f1e Typo in List-of-Rake-tasks.md (#559) 2018-03-08 13:08:14 +01:00
Eugen Rochko 5bf91ce594
Add information about HTML formatting in admin settings 2018-03-08 08:39:46 +01:00
Eugen Rochko c1af30a86b
LDAP_ENABLED no longer required outside of .env 2018-03-07 12:23:00 +01:00
Hugh Cole-Baker 6fd155d7a7 Add documentation on how to use LDAP for logins (#554) 2018-03-04 20:43:13 +01:00
Paul Woolcock d97b67a913 Update List-of-Rake-tasks.md (#551)
add the `redownload_avatars` task
2018-02-26 17:43:56 +01:00
Ian McCowan e191c374e4 Update Mac instructions to 2.5 (#544) 2018-02-18 02:11:19 +01:00
Angristan 2e86bdaf2c Tiny improvements (#539) 2018-02-11 19:27:53 +01:00
Eugen Rochko 9d1505a3e0
Revert "Removes SSL configuration to point users to the Mozilla SSL Configuration Generator" (#475)
This reverts commit 9474170686.
2018-02-10 23:18:01 +01:00
Eugen Rochko 3e49e71fd2
Revert "Add libpam0g-dev to Ubuntu package dependencies" (#536)
* Revert "Enabled bundler multicore support (#529)"

This reverts commit acaea9251f.

* Revert "Add libpam0g-dev to Ubuntu package dependencies (#534)"

This reverts commit a5c81841ec.
2018-02-04 15:06:21 +01:00
Thomas Leister acaea9251f Enabled bundler multicore support (#529) 2018-02-04 15:01:02 +01:00
Erik Moeller a5c81841ec Add libpam0g-dev to Ubuntu package dependencies (#534)
Required by rpam2
2018-02-04 14:57:44 +01:00
wolfteeth 6a961e899f Clarify Docker instructions for prebuilt images (#533)
* Clarify Docker instructions for prebuilt images

Made clear there are two options for getting the Docker image: pulling the prebuilt image, or building your own. Using a prebuilt image is easier for anyone who hasn't made code changes on their instance.

* Fix errors in Docker prebuilt image instructions
2018-02-04 00:29:50 +01:00
Thomas Leister 8a6a0f899d Update ruby version from 2.4.2 to 2.5.0 (#528) 2018-02-02 11:10:23 +01:00
Mathias B f42e0ce5c8 Add privileges functions (#530)
I add two new commands make_mod and revoke_staff
2018-02-02 11:08:14 +01:00
Eugen Rochko 7f81350fe4
Add 3 steps overview 2018-01-24 02:54:33 +01:00
Norayr Chilingarian f52891ee8e apache config fix. (#520) 2018-01-20 06:23:10 +01:00
David Underwood fc3ebad888 Update Mac install instructions for consistency (#500)
Moves the `libidn` installation command up to the big brew command to keep things consistent.
2017-12-28 14:32:00 -06:00
Cygnan 986660c7c0 Fix variables.scss path (#492)
Signed-off-by: Cygnan <email@cygnan.com>
2017-12-20 22:55:43 +01:00
Drew Crecente 7431659193 Update Administration-guide.md (#491)
Change location of Accounts to Moderation > Accounts
2017-12-18 16:10:32 +01:00
Jim Tittsler 088399a36b Update Docker (#487) 2017-12-17 15:08:48 +01:00
abcang 88d81f14e9 Specify root directive for letsencrypt (#471) 2017-12-06 17:21:08 +01:00
Alda Marteau-Hardi 9474170686 Removes SSL configuration to point users to the Mozilla SSL Configuration Generator 2017-12-05 17:49:30 +01:00
Mike Burns ff454d3215 OpenBSD-specific development guide (#463)
* OpenBSD-specific development guide

The GNU/Linux setup works well but there are some OpenBSD-specific
considerations around default compilers, discovering third-party
libraries, and linker warnings.

* Fix typos
2017-11-27 14:55:59 +01:00
Jim Tittsler b561e44132 Fix typo. (#462) 2017-11-25 18:45:40 +01:00
Sadiq Saif b938713f12 Add remote media attachment cache cleanup section (#452) 2017-11-14 16:02:59 +01:00
Daniel Hunsaker 4c7b2b192a [Nanobox] Update Nanobox Guide
- Be a little clearer about what's going on at each step.
- Give more detailed update instructions (and be smarter about selecting the "latest" tag).
- Mention the `VAPID_*_KEY` variables.
2017-11-12 15:59:03 -07:00
James e8a18d4259 Add email service guide in production-guide.md (#446)
This gives some advice on getting started with an email service guide, including specifics on the process and caveats of the various free services people recommend, as well as a short command in the Rails console that helps a user test this out.
2017-11-10 16:59:21 +01:00
James 0370ea6ec7 Fix typo in Customizing.md (#445)
There was a missing "s" in the directory listing for source.rb
2017-11-10 16:58:06 +01:00
wxcafé 32b98791df
removes mentions of hentai.loan, fixes sentence 2017-10-30 05:44:05 +01:00
nightpool a75e75b63a
Merge pull request #269 from spinda/manage-translations
Add snippet in dev guide about `yarn manage:translations`
2017-10-29 16:19:55 -04:00
Alexander Terczka 0eeb940818 Update Docker-Guide.md
Removed the ssh port forwarding info
2017-10-27 01:54:55 +02:00
Alexander Terczka 3789996bf8 Anonymous git URL is easier for the initial git clone
HTTPS hint added
2017-10-23 14:48:47 +02:00
Nolan Lawson 4f0f399ec0 Add note about #MastoAdmins hashtag (#425) 2017-10-18 16:47:59 +02:00
Nolan Lawson 3a3b8b30bc Add instructions for custom themes (#421)
* Add instructions for custom themes

* Remove notes about custom.scss
2017-10-18 16:32:06 +02:00
Daigo 3 Dango 6a89b3cbe2 Add an explanation how to customize link to source code (#423)
This is to document the merged pull request:
https://github.com/tootsuite/mastodon/pull/4643
2017-10-18 00:25:51 +02:00