Commit Graph

711 Commits

Author SHA1 Message Date
Mohamed ABDELLANI
f16f9171d0
Update DEVELOPER-ADVANCED.md (#15770)
In the READ.ME, version 2.7.2 is recommended.
2022-02-02 11:05:37 -05:00
Natalie Tay
77781f9a11
FEATURE: Extend plugin API to add multiple poster icons (#15311) 2021-12-15 18:09:26 +08:00
Martin Brennan
f70e6c302f
DEV: Switch to using uppy uploads in composer by default (#15058)
This is a big change to change over to using the uppy
upload mixin in the composer by default. This gets rid
of the temporary composer-editor-uppy component, as well
as removing the old ComposerUpload mixin and copying over
any missing functions that were not yet implemented by
ComposerUploadUppy. This has been working well on our
hosting for some time now and has led us to several
bug fixes.

This commit also deletes the old plugin API for adding
preprocessors for the uploads. The accepted method of doing
this now is via an uppy preprocessor plugin, which we have
several examples of in the core codebase.

Leaving the `enable_experimental_composer_uploader` site setting
intact for now because some plugins still rely on it, this
will be removed at a later date.

One step closer to ending the jQuery file uploader saga...
2021-11-30 08:33:06 +10:00
Blake Erickson
da9cd4f692
DEV: Swap out optipng with oxipng (#15013)
* DEV: Swap out optipng with oxipng

The oxipng binary has been added to our base docker image here:

244c9cb110

oxipng is a rust replacement for optipng that provides increased
performance and multi-threading. Checkout
https://github.com/shssoichiro/oxipng for more info.

* add instructions for installing oxipng
2021-11-22 10:16:35 -07:00
Natalie Tay
016aa06229
UX: Number steps in cloud installation README (#14833) 2021-11-08 12:00:24 +08:00
Bhanu
ae45c5efb5
Simplification of install Guide (#13716)
* [WIP] Simplification of install Guide

Working with @osioke to simplify a few pain areas of the install guide. 

Still a Work in progress, More changes incoming.

* Update install wording and links

To improve how it reads for a non-technical user looking to start their first Discourse community

* Update community install link

Update community install link to point to the Meta marketplace so more community contributors can help installs

* Copyedit for Branch change from master to main

* Some minor copyedits

Changes references from master to main
Changes a few commands from `apt-get` to just `apt` and from `yum` to `dnf` 
Also added first party reference to yum-cron

Added a small note and steps to perform rebuilds

* Copyedits take #2

more refined details

* Revert community install link and copyedits

Revert community install link, fix typo and add a link to the migration guide

* Remove optional info on maxmind

Remove optional info on maxmind to really simplify the guide and reduce the "yet another thing to configure" issue for self hosters

* fix capitalization

Co-authored-by: Osioke Itseuwa <osioke@users.noreply.github.com>
Co-authored-by: Rishabh <rishabhn@protonmail.com>
2021-10-20 17:41:54 +05:30
Arpit Jalan
fbeb854ffc
DEV: replace mailcatcher references with mailhog (#14500) 2021-10-05 15:48:06 +05:30
Jay Pfaffman
db8c33ad92 update INSTALL-cloud for discourse-setup
`discourse-setup`'s prompts changed, but they weren't changed in INSTALL-cloud as described in https://meta.discourse.org/t/discourse-installation-on-azure-not-reachable/36880/10?u=pfaffman

This brings INSTALL-cloud in line with the earlier changes to `discourse-setup`.
2021-08-17 13:20:03 -04:00
Michael Brown
5f7e60d9dc discourse/discourse change from 'master' to 'main' 2021-07-19 11:46:15 -04:00
Josh Soref
59097b207f
DEV: Correct typos and spelling mistakes (#12812)
Over the years we accrued many spelling mistakes in the code base. 

This PR attempts to fix spelling mistakes and typos in all areas of the code that are extremely safe to change 

- comments
- test descriptions
- other low risk areas
2021-05-21 11:43:47 +10:00
Rishabh
8517b6f386
DOCS: we use xss.js and not Google Caja (#12866)
The text is out of date as we migrated to xss.js quite some time ago.
2021-04-28 15:02:55 +05:30
Joshua Rosenfeld
37ac32a0cd
Update Code of Conduct to v2.0 (#12296)
The code of conduct is from the Contributor Covenant. Latest version is
2.0. See https://www.contributor-covenant.org
2021-03-04 23:44:58 -05:00
Jeff Atwood
5cff198aba
most people use SSH keys these days (#11998) 2021-02-06 11:58:50 -08:00
Ricard Solé
6f263653c6
DOCS: Updates docs for OSX dev with fontforge (#11956)
`fondu` is no longer available via homebrew: `Error: fondu has been
disabled because it is not maintained upstream!` (since
Homebrew/homebrew-core#66396) and the `pkg` file available on `fondu`'s
site doesn't seem to work on Big Sur. An alternative option is to use
`fontforge`, which a little `python` script (it's definitely less short
an harder to read, but it works). Additionally, it looks like the file
*might* be called `ttc` instead.

I have also updated the URL for ImageMagick's `type_gen` because it now
lives under `legacy.imagemagick.org` which causes `curl` to capture a
301 page instead.
2021-02-04 23:28:10 +01:00
Rafael dos Santos Silva
4f72830eb0
Update minimum required software versions (#11617)
This matches what we are using in the bundled image
2021-01-05 00:00:14 -03:00
Bianca Nenciu
43e52a7dc1
DEV: Remove gifsicle dependency (#10357)
Dependency on gifsicle, allow_animated_avatars and allow_animated_thumbnails
site settings were all removed. Animated GIF images are still allowed, but
the generated optimized images are no longer animated for those (which were
used for avatars and thumbnails).

The added 'animated' is populated by extracting information using FastImage.
This field was used to selectively reoptimize old animations. This process
happens in the background.
2020-10-16 13:41:27 +03:00
Krzysztof Kotlarek
e0d9232259
FIX: use allowlist and blocklist terminology (#10209)
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist.
2020-07-27 10:23:54 +10:00
Raph
fa8bb5f464
import pkuczynski public key for RVM install (#10140) 2020-06-29 17:48:21 +10:00
Jeff Atwood
dc49581344
clarify on supported Linux distros 2020-06-07 17:50:45 -07:00
cketti
3a615a8bdd Update description of level 0 user limitations
With the default configuration new users can post 1 image.
2020-05-15 22:48:17 +08:00
Rishabh
704e4b9cf8
DOCS: Update community install info
Update pricing as per https://www.literatecomputing.com/discourse-installation-packages (same url)
2020-05-08 18:38:29 +05:30
Ben Bowler
5f1c95329e
DOCS: Update DEVELOPER-ADVANCED.md (#9313)
Update correct python software-properties-common package post Ubuntu 12.04
2020-03-31 09:52:23 +11:00
Dan Dascalescu
03d5a80aef
Elastic Email can now disable the UNSUB link for Discourse installs (#8986)
* Elastic Email can now disable the UNSUB link for Discourse installs

* Update docs/INSTALL-email.md

Co-authored-by: Régis Hanol <regis@hanol.fr>
2020-03-06 11:38:01 -05:00
Michael Brown
904bbdb307 DOCS: Clarify what a DNS "A record" is with a link
* context: https://meta.discourse.org/t/-/141250/6
2020-02-12 16:50:56 -05:00
Dan Dascalescu
cd22b12ec0
Mention how to change existing email settings (#8900) 2020-02-10 10:49:51 -05:00
Joshua Rosenfeld
11a9f15fed
Update email provider listing
* Most providers don't have generous free plans anymore
* Mailjet limits the emails sent per day on the free plan.
2020-01-30 12:01:00 -05:00
Brecht Machiels
de2e857de6
Update Mailgun plan information (#8803)
Mailgun doesn't seem to offer a free plan anymore.
2020-01-29 17:02:14 +01:00
Krzysztof Kotlarek
a4f5f5d0bb FIX: Split migration into two steps in developer guide (#8103) 2019-09-18 10:09:17 -04:00
Jay Pfaffman
215f6d97e5 Make INSTALL-cloud agree with discourse-setup (#8102)
`discourse-setup` will install Docker. Several people lately have had trouble with a `|` getting turned into a `>` when trying to `curl` the site into `sh`.

Also, the recommended `git clone` command will create `/var/discourse`, so don't tell people to make that directory, as that too can be confusing.
2019-09-17 12:45:40 -07:00
Jacob Herrington
884f399ff1 Add a word to clarify instructions (#8072)
Following up to the feedback on #8071
2019-09-04 14:29:07 -07:00
Neil Lalonde
7e10c4b83f Remove affiliate code from Namecheap link in INSTALL-cloud doc 2019-08-28 17:05:09 -04:00
Jeff Atwood
8c9a3ccb87
Update INSTALL-cloud.md 2019-08-20 16:24:25 -07:00
Jeff Atwood
db39eae683
make security commits search order by date 2019-07-25 00:08:03 -07:00
Sam Saffron
96fbc14f80 DEV: quick setup is no longer maintained
Removing this for now as it is not maintained
2019-05-17 11:50:05 +10:00
Jeff Atwood
d4638ebf69
remove unnecessary cmd line step in cloud setup 2019-05-07 14:53:53 -07:00
Sadie Parker
5d6b6fe44e updated link for mailjet account & setup (#7312) 2019-04-03 16:48:17 +11:00
sau226
074a9be6a9 DEV: update version of ruby in docs (#7253) 2019-03-27 21:33:38 +01:00
Sam Saffron
5284f235ef DEV: update version of ruby in docs
Honestly I am not sure we should be carrying this document in the repo,
just a link to meta.
2019-03-22 15:00:04 +11:00
sau226
801a9cf637 Ruby version update (#7100) 2019-03-04 12:34:22 +01:00
Sam Saffron
80767080dd Revert "Add ubuntu screen file (#7094)"
This reverts commit ddb87e2759.

I merged this by mistake, prefer this documentation on meta.
2019-03-04 15:03:32 +11:00
sau226
ddb87e2759 Add ubuntu screen file (#7094) 2019-03-04 15:01:12 +11:00
sau226
24b3494660 HTTPSify links (#7046) 2019-02-22 16:29:27 +01:00
Jeff Atwood
90292d23df
add elastic back in, at the bottom per sort order 2019-02-12 18:40:46 -08:00
Jonas De Kegel
603f2c6090 Remove Elastic email as recommended provided (#6994)
They updated their [pricing](https://elasticemail.com/pricing/) and only allow 100mails/day now.
2019-02-13 12:50:21 +11:00
sau226
e07e39470e Replace embed on site link (#6928)
Move embed on site link to meta.discourse per previously linked blog
2019-01-23 11:31:31 +01:00
Jeff Atwood
444bc466b0 for docs, normalize on space after code fence when specifying lang 2019-01-21 01:19:28 -08:00
tshenry
1e5ddb007f Add brief section on bounce handling to email doc (#6900) 2019-01-18 01:02:05 -08:00
Justin W. Flory
6e7b383ed6 [docs] Add instructions for CentOS/RHEL users in install guide (#6861) 2019-01-09 09:31:27 +08:00
Jeff Atwood
bd6d482d11
Update SECURITY.md 2018-12-19 16:55:54 -08:00
Jeff Atwood
358fbeba14
add CSP info for Discourse 2.2 2018-12-19 16:54:45 -08:00
Saj Goonatilleke
5612dbc8c3 Update mention of default Digital Ocean distro (#6727)
When I last exercised this procedure, the Digital Ocean UI defaulted to
'Ubuntu 18.04 x64', not 16.04 as it once did.  18.04 -- Bionic Beaver --
is the latest Ubuntu LTS release.

https://wiki.ubuntu.com/Releases
2018-12-05 13:54:05 -08:00
Gerhard Schlager
3e68539ef5 Update required Ruby version in documentation 2018-11-09 16:00:11 +01:00
Carlos Arcenas
f2b7254a99 Correct Xcode capitalization and add Apple dev info (#6537) 2018-10-30 22:31:34 +00:00
Kartik Singhal
e43d9e8de7
Add useful note about Elastic Email
See https://meta.discourse.org/t/remove-or-merge-elastic-email-unsubscribe/70236
2018-10-07 11:52:16 -05:00
Rishabh Nambiar
d3c1040e55 update docs/DEVELOPER-ADVANCED.md 2018-10-01 09:58:16 +05:30
Rishabh Nambiar
0dd98982eb Change postgres version 9.5 to 10 in docs/ and README.md 2018-10-01 09:42:52 +05:30
Rishabh Nambiar
75c77c7e7e Change Postgres version 10 to 9.5 in docs/ and README.md because Ubuntu 16.04 ships with v9.5
https://meta.discourse.org/t/postgres-minimum-version/98354
2018-09-30 17:47:49 +05:30
Rishabh Nambiar
2ec5f6052c Bump outdated Postgres 9.3 to 10 in docs/ and README.md
https://meta.discourse.org/t/postgres-minimum-version/98354
2018-09-30 17:03:37 +05:30
Jeff Atwood
02f582eca0
add recent security commits info 2018-09-11 12:43:52 -07:00
Jeff Atwood
50955dbe30
let's assume DNS records are required 2018-08-22 02:20:14 -07:00
Jeff Atwood
4c4cdf1f7c
we don't need let's encrypt trivia in here 2018-08-22 02:17:58 -07:00
Rishabh
bd40a6b7a0
Add 'rake' to bundle install command
Without installing rake, `bundle install` fails when trying to install `sassc`.
2018-07-31 08:48:27 +05:30
Godfrey Chan
5affdcbd59 Bump Ruby version in some docs 2018-07-25 14:38:10 -07:00
Godfrey Chan
6b5c77cf83 Revert "install imagemagick@6 for OSX native development (#5411)"
This reverts commit 0207b7ca58.

ImageMagick 7 is now supported (and expected by the test fixtures).
See 1d74cca.
2018-07-25 14:17:00 -07:00
Jay Pfaffman
d24e53d155 Edit: add link to official plugins list (#6087) 2018-07-16 09:36:30 +08:00
Jeff Atwood
67a986f30d centralize trust level doc to blog 2018-06-25 17:34:47 -07:00
Carlos Rodríguez Hernández
8ff2b5e233
Update Ruby requirements 2018-06-21 15:45:12 +02:00
J Travis Lindsey
e7840095bd
Updated Elastic Email Pricing for clarity
Updated Elastic Email Pricing for clarity
2018-06-19 18:40:50 -04:00
Jeff Wong
35a645c71f DOC: update ruby version recommendations, remove old about pg10 compatability 2018-06-19 12:12:36 -07:00
Tanner Filip
f058942343 update Ruby version 2018-06-15 14:01:10 +10:00
Jeff Atwood
64f1480cc0
typo 2018-04-26 14:31:28 -07:00
Jeff Atwood
2d1d2baab2
add DNS instructions 2018-04-26 14:24:34 -07:00
Andrew Schleifer
1ba953077e remove everything about vagrant 2018-04-05 07:59:03 +10:00
Mike Doyle
e020f07131
Update instructions to use correct ruby version
Bundler will not finish installing gems under Ruby 2.0.0. The instructions should maybe use the minimum ruby version in the travis.yml file.
2018-03-29 17:04:58 -05:00
Jeff Atwood
158286287a
Delete INSTALL-digital-ocean.md 2018-03-15 19:04:45 -07:00
Jeff Atwood
19baf3d150
Update AUTHORS.md 2018-03-15 19:02:01 -07:00
Jay Pfaffman
87c0cc2b1a
Update INSTALL-cloud.md
Add note about being able to enable Let's Encrypt when you run `./discourse-setup`.
2018-02-16 16:25:37 -08:00
Jeff Atwood
dcbaf2f213 copyedit: personal, not private, message throughout 2018-01-11 16:04:14 -08:00
Orlando Del Aguila
0207b7ca58 install imagemagick@6 for OSX native development (#5411) 2017-12-27 16:58:30 +11:00
Guo Xiang Tan
6a4f391e38 Switch to chrome headless mode instead of phantomjs. 2017-12-19 16:00:43 +08:00
Robin Ward
ad71d679cf Note about Postgres 10 not working 2017-11-20 13:19:16 -05:00
Guo Xiang Tan
88ef531202
Merge pull request #5243 from pmatsinopoulos/patch-2
More accurate steps for preparing the database
2017-11-03 09:33:44 +08:00
Panayotis Matsinopoulos
74b4d36a9c More accurate steps for preparing the database
The existing prepare database instructions were not correct. I have updated them according to what existed in the other document (docs/DEVELOPMENT-ADVANCED.md).
2017-10-18 13:23:35 +01:00
Panayotis Matsinopoulos
de82bc5734 Correct folder for pgsql socket
The phrase that asks user to create `/var/pgsql` should refer to `/var/pgsql_socket` instead.
2017-10-18 09:29:21 +01:00
Jay Pfaffman
c95b90bd98 move mailgun to top--elastic email seems to confuse people 2017-10-11 15:53:12 -07:00
Michael Brown
93bd03f7e0 DEVELOPER-ADVANCED.md: update instructions to use rake tasks instead of (outdated) manual commands 2017-10-03 10:25:22 -04:00
Michael Brown
90f36e7ab5 This was probably intended to be 'ruby $(which mailcatcher)' but it works without all that 2017-10-02 18:12:35 -04:00
Michael Brown
db2bb96cf7 Update DEVELOPER-ADVANCED.md: use rake task to create first user
* with the new startup wizard, you can no longer create a user
  with no admins present, so use the rake task instead
2017-10-02 18:08:07 -04:00
Jay Pfaffman
1237baa0c2 INSTALL-cloud: you can re-run discourse-setup
Make it a bit more clear that you can run discourse-setup again to change settings if you get them wrong the first time.
2017-09-14 08:08:39 -07:00
Ivar Vasara
300a42cf2c jhead is now in brew (#5128) 2017-09-02 11:30:47 +02:00
Jordan Taylor
6ed65b1ca3 Removed defunct SparkPost free plan (#5058)
The free plan is no longer available through SparkPost for new customers.
However, there is now a free developer account, for the purpose of testing in a sandbox.
Please see https://www.sparkpost.com/pricing/
2017-08-17 16:37:22 -04:00
Régis Hanol
e018e7a8f6 db:test:prepare doesn't seem to work 2017-07-31 11:17:56 +02:00
Régis Hanol
5e43c05bf8 Update DEVELOPER-ADVANCED doc with latest ruby & node versions 2017-07-31 11:09:09 +02:00
Jakub Macina
d29f213632 Fix sidekiq command in docs to start all queues instead of only critical. 2017-07-25 15:46:09 +02:00
Andrew Schleifer
173062a158 Re-order list to match Droplet creation screen 2017-07-03 14:33:53 -05:00
Robin Ward
b23fc2bf84 Helper to find the final destination for a URL 2017-05-22 15:52:41 -04:00
Punit Makwana
36ce69c2dd Added Elastic Email 2017-05-13 09:40:21 +05:30
Jeff Atwood
3a235d1241 clarify on disk space requirements for install 2017-04-11 16:36:47 -07:00
Jeff Atwood
0bfc8104ad add cc mention to mailgun 2017-03-06 12:38:02 -08:00
Jeff Atwood
a3ca6d8d66 improve SPF/DKIM instructions 2017-03-06 12:36:13 -08:00