Garion Herman
5c4367f46b
Use environment variables in example SMTP config
...
Currently the email documentation provides an example of how to use the SMTP adapter in SwiftMailer, but this example hardcodes the password in the config file which is a security issue. It is possible to reference environment variables instead, so we should document and encourage this.
2019-04-30 08:59:54 +12:00
Adrian Humphreys
212a99c904
Add info around namespacing with controllers
2019-04-30 08:59:29 +12:00
Ingo Schommer
da91f44c00
DOCS File migration changes for 4.4.0 ( #8910 )
...
* DOCS File migration changes for 4.4.0
See https://github.com/silverstripe/silverstripe-versioned/issues/177
* Update docs/en/02_Developer_Guides/14_Files/03_File_Security.md
Co-Authored-By: chillu <ingo@silverstripe.com>
* Corrected statements on archived/versioned files
* Corrected statement on filesystem paths of protected vs. public
* Update docs/en/02_Developer_Guides/14_Files/03_File_Security.md
Co-Authored-By: chillu <ingo@silverstripe.com>
* Clarify redirect behaviour
2019-04-30 08:59:25 +12:00
Matt Peel
a61cb1de99
Fix reference to webconfig.php, an invalid file
...
The upgrading docs reference webconfig.php, which is incorrect and has never existed. I presume the docs mean to reference web.config, which is the IIS configuration file.
I've also fixed a couple of minor spelling mistakes and mentioned Apache for htaccess and IIS for web.config so people know what they're for.
[ci skip]
2019-04-30 08:55:03 +12:00
Maxime Rainville
e95dde8f1e
DOC Update change log to reference updated migration task ( #8945 )
...
* DOC Update change log to reference updated migration task
* Update docs/en/04_Changelogs/4.4.0.md
2019-04-30 08:50:33 +12:00
Maxime Rainville
54cb591f54
DOC Update change log to reference updated migration task ( #8945 )
...
* DOC Update change log to reference updated migration task
* Update docs/en/04_Changelogs/4.4.0.md
2019-04-30 08:45:29 +12:00
Adrian Humphreys
4155b9f483
Docs: Update Dynamic_Default_Fields.md ( #8941 )
2019-04-29 10:21:13 +12:00
Garion Herman
cb37172947
Use environment variables in example SMTP config
...
Currently the email documentation provides an example of how to use the SMTP adapter in SwiftMailer, but this example hardcodes the password in the config file which is a security issue. It is possible to reference environment variables instead, so we should document and encourage this.
2019-04-29 09:53:22 +12:00
Adrian Humphreys
8206538f31
Add info around namespacing with controllers
2019-04-26 14:22:04 +12:00
Ingo Schommer
15396116e5
DOCS File migration changes for 4.4.0 ( #8910 )
...
* DOCS File migration changes for 4.4.0
See https://github.com/silverstripe/silverstripe-versioned/issues/177
* Update docs/en/02_Developer_Guides/14_Files/03_File_Security.md
Co-Authored-By: chillu <ingo@silverstripe.com>
* Corrected statements on archived/versioned files
* Corrected statement on filesystem paths of protected vs. public
* Update docs/en/02_Developer_Guides/14_Files/03_File_Security.md
Co-Authored-By: chillu <ingo@silverstripe.com>
* Clarify redirect behaviour
2019-04-24 14:00:48 +12:00
Matt Peel
91f168955d
Fix reference to webconfig.php, an invalid file
...
The upgrading docs reference webconfig.php, which is incorrect and has never existed. I presume the docs mean to reference web.config, which is the IIS configuration file.
I've also fixed a couple of minor spelling mistakes and mentioned Apache for htaccess and IIS for web.config so people know what they're for.
[ci skip]
2019-04-21 01:29:47 +12:00
Erlend Mongstad
80b097eb68
Added missing Permission class to example
...
Following the example will give the following error;
```[Emergency] Uncaught Error: Class {my namespace}\Permission not found```
Added the missing class
2019-04-17 02:36:13 +02:00
Robbie Averill
6b07b2c47c
Update docs/en/02_Developer_Guides/01_Templates/How_Tos/03_Disable_Anchor_Links.md
...
Fix code styling
Co-Authored-By: DorsetDigital <DorsetDigital@users.noreply.github.com>
2019-04-16 22:32:55 +01:00
DorsetDigital
321ef827b8
Update 03_Disable_Anchor_Links.md
...
Update example code for disabling anchors on a per-instance basis. The previous code was unclear and statically called a non-static method on SSViewer (presumably this was SS3 code)
2019-04-16 21:22:27 +01:00
Christopher Darling
fcef36b7fa
DOCS composer autoload examples should be psr-4
...
currently 'psr4'
2019-04-15 06:55:01 +01:00
Robbie Averill
8a06682e31
Merge branch '4.3' into 4
...
# Conflicts:
# src/ORM/Connect/DBSchemaManager.php
2019-04-11 11:24:17 +12:00
Ingo Schommer
fcdc146996
DOCS Limitations of publishall
...
Fixes https://github.com/silverstripe/silverstripe-cms/issues/2406
2019-04-10 10:42:49 +12:00
Al
9a43952385
Fix formatting
...
Last code block was not closed
2019-04-10 08:22:51 +12:00
Ingo Schommer
d04ef04999
DOCS Upgrading guide known issues and self-update
2019-04-09 08:24:15 +12:00
Guy Marriott
a9d57f5bfb
Merge pull request #8241 from creative-commoners/pulls/4.3/separate-logging
...
Separate core error logging from standard LoggerInterface
2019-04-05 08:49:09 +13:00
Hayden Shaw
30775aa428
DOCS HistoryViewerField updates
...
* Add missing rollback operation in scaffolding example
* Update block_id references to id to allow query to read query to run successfully in conjunction with HistoryViewerField
2019-04-02 16:59:52 +13:00
Robbie Averill
d816989f2e
Merge pull request #8893 from open-sausages/pulls/4/docs-critical-security-fixes
...
DOCS Limited "critical security fixes" release lines
2019-04-02 13:14:14 +13:00
Anton Smith
167881cc38
Update path
2019-04-02 12:46:19 +13:00
Ingo Schommer
af7e055574
DOCS Limited "critical security fixes" release lines
...
We're adopting CVSS (https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator ),
which allows us to classify the impact of security issues
based on industry standard metrics.
While there is still a lot of room for interpretation,
it is more objective than our previous system of "critical/high/medium/low",
with one sentence descriptions on how we interpret that "severity rating".
This effectively changes our process to only apply
security fixes to release lines in "limited support" (currently 3.6 and 3.7)
if they're considered "critical" (CVSS > 9.0).
We've already limited preannounces to CVSS >7.0 in these docs.
2019-04-01 17:08:13 +13:00
Rob McGrail
7396f57088
Change case in link
...
Link doesn't resolve on https://docs.silverstripe.org/en/4/upgrading/upgrading_module/ because of the capital letter
2019-03-29 10:42:31 +13:00
Andre Kiste
f3535972e4
DOC Add more clear instructions on handling upgrade conflicts ( #8836 )
...
* Add more clear instructions on handling upgrade conflicts
* More module upgrading info
* Make it make sense
* Tweak sentence
2019-03-26 16:20:53 +13:00
DorsetDigital
abe76e9b29
Update 02_RSSFeed.md
...
Change file name to PageController to match code.
Change example code to use parameter in `Link()` method rather than using concatenation
2019-03-23 13:22:37 +00:00
Guy Marriott
5243ec2179
Merge pull request #8811 from Juanitou/patch-5
...
Correct typo and commit hash in 4.3.1 changelog
2019-03-23 10:03:18 +13:00
Guy Marriott
4f431d5db5
Correct typo and commit hash in 4.3.1 changelog
...
Co-Authored-By: Juanitou <Juanitou@users.noreply.github.com>
2019-03-22 09:51:38 +01:00
Aaron Carlino
3421f931a7
Added 4.3.3 changelog
2019-03-19 16:22:35 +13:00
Aaron Carlino
07b32fd7eb
Added 4.3.3 changelog
2019-03-19 11:48:59 +13:00
Joe Chenevey
af34fab461
Update 00_CSV_Import.md
...
Fix reference in `$model_importers` to use `Player::class` for namespaced model reference.
2019-03-18 10:55:41 -04:00
Ingo Schommer
b803a174ed
Merge branch '4' into 4
2019-03-11 21:31:22 +13:00
Ingo Schommer
b388114dd3
Merge pull request #8826 from open-sausages/pulls/4/docs-cve-security-process
...
DOCS Clarify security process, introduce CVE and CVSS
2019-03-11 21:28:18 +13:00
Robbie Averill
cb8ec9ae1d
DOCS Mark 4.4.0 as unreleased to avoid confusion on docs.silverstripe.org
...
[ci skip]
2019-03-07 09:20:45 +13:00
Aaron Carlino
406b286325
Merge branch '4.3' into 4
2019-03-06 11:13:13 +13:00
Maxime Rainville
c40e6d38a0
Add reference to #8815 in change log
2019-03-06 11:13:02 +13:00
Aaron Carlino
92050578ce
Added 4.3.2 changelog
2019-03-06 11:13:01 +13:00
Robbie Averill
8af1ca53a7
Merge pull request #8818 from oddnoc/8579-nginx-assets
...
Update nginx example to support assets better
2019-03-01 10:47:21 +11:00
Ingo Schommer
71c32fea20
DOCS Clarify legacy_filenames=true tradeoffs
2019-02-28 08:56:53 +13:00
Ingo Schommer
1f08ed3765
DOCS Note about replaced files on keep_archived_files flag
2019-02-28 08:27:29 +13:00
Guy Marriott
3497c05a83
Merge pull request #8828 from open-sausages/pulls/4/docs-legacy-filenames
...
DOCS Clarify file migration and mention known bug
2019-02-27 10:37:39 +13:00
Andre Kiste
5c42fa18d7
Merge pull request #8796 from open-sausages/pulls/4/upgrading-your-module-doc
...
Adding a Upgrade module guide
2019-02-26 04:07:06 +01:00
Andre Kiste
d1fa6e40d8
Fix some minor typos
2019-02-26 15:38:03 +13:00
Ingo Schommer
62bd6ff334
DOCS Clarify security process, introduce CVE and CVSS
...
Moved the guts to "making a core release", since it's only really relevant to that audience.
There's more work to do around making security and non-security releases the same (less special handling),
but I think this is a good start.
[ci-skip]
2019-02-26 13:48:07 +13:00
Ingo Schommer
b4b2f576f0
DOCS Clarify file migration and mention known bug
2019-02-26 09:44:32 +13:00
Guy Marriott
276ee6c7e6
DOCS Updating "lesson 0" to a relevant link
2019-02-22 16:33:51 +13:00
Scott Hutchinson
57184c245c
DOCS Update HTTP Cache headers docs to include note about testing in dev mode [ci skip]
2019-02-22 10:16:11 +13:00
Fred Condo
22ae0e4387
Update nginx example to support assets better
...
- Enable viewing of draft assets
- Disable viewing of .htaccess and .method
- Enforce File.allowed_extensions (manually for now)
2019-02-21 12:30:13 -08:00
Juan Molina
b02fd13766
Correct 13_CSS_Coding_Conventions.md
...
Correct two broken links and the syntax of a third one
2019-02-21 15:32:45 +01:00
Juan Molina
fa7b6b25f0
Correct typo and commit hash
...
The previous commit was leading to a 404 page in GitHub.
2019-02-19 22:58:35 +01:00
Maxime Rainville
98988cfcf1
DOCS Escape \*nix in upgrading guide
2019-02-19 14:57:55 +13:00
Maxime Rainville
e07937c532
DOCS Implement some feedback from code review.
2019-02-19 14:55:01 +13:00
Robbie Averill
3e90fdf42f
Merge branch '4.3' into 4
2019-02-19 08:41:05 +07:00
Robbie Averill
ed74549c4f
Merge branch '4.2' into 4.3
2019-02-19 08:39:59 +07:00
Robbie Averill
79e44b42fa
Merge branch '4.1' into 4.2
2019-02-19 08:37:07 +07:00
Robbie Averill
cb7f15a681
Merge branch '4.0' into 4.1
2019-02-19 08:36:41 +07:00
Aaron Carlino
a481d004ec
Added 3.7.3 changelog
2019-02-19 08:36:17 +07:00
Aaron Carlino
4eeec52b09
Added 3.6.7 changelog
2019-02-19 08:35:57 +07:00
Aaron Carlino
0758cd8416
Added 4.2.4 changelog
2019-02-19 13:43:45 +13:00
Aaron Carlino
09c539e1c3
Merge branch '4.3' into 4
2019-02-19 12:21:24 +13:00
Aaron Carlino
70fc2d6f1d
Add 4.3.1 changelog
2019-02-19 12:20:41 +13:00
Guy Marriott
36df1ac119
Correcting typos identified in code review
...
Co-Authored-By: maxime-rainville <maxime@rainville.me>
2019-02-19 11:10:12 +13:00
Maxime Rainville
5a4a36a79e
Merge pull request #8791 from open-sausages/pulls/4/file-migration-estimates
...
Add file migration system requirements
2019-02-18 11:56:19 +13:00
Maxime Rainville
5c5d8639c6
DOCS Encourage peopel to contact the CWP/SSP helpdesk if they need to run the migration from the CLI
2019-02-14 15:38:00 +13:00
Maxime Rainville
4653b69168
DOCS Add a paragraph about how to update the upgrader
2019-02-14 15:06:20 +13:00
Maxime Rainville
62e3a2f582
"Approximate" makes it clearer the expected memory usage may vary
...
Co-Authored-By: bergice <bergice@users.noreply.github.com>
2019-02-13 15:01:04 +01:00
Maxime Rainville
2e84e9a18f
Round up expected memory usage
...
Co-Authored-By: bergice <bergice@users.noreply.github.com>
2019-02-13 15:00:08 +01:00
Robbie Averill
95b44d840d
DOCS Add example for disabling emails in dev mode via configuration
...
[ci skip]
2019-02-13 15:37:55 +07:00
Maxime Rainville
27a9dbe4cd
Correct typos
2019-02-13 15:16:09 +13:00
Maxime Rainville
480183b5c5
DOCS Tweak some code samples.
2019-02-13 15:02:01 +13:00
Maxime Rainville
91ccc811cc
DOCS Ddd an index page to the upgrade section
2019-02-13 13:53:55 +13:00
Maxime Rainville
068e486c81
DOCS Rename the upgrading guide.
2019-02-13 13:39:07 +13:00
Maxime Rainville
a138e26e64
DOCS finalise module upgrade guide, correct mistakes in original upgrade guide
2019-02-12 22:07:23 +13:00
Aaron Carlino
3f3a1884d7
Added 4.0.7 changelog
2019-02-12 21:10:53 +13:00
Aaron Carlino
1362b20ee4
Added 4.1.5 changelog
2019-02-12 20:51:18 +13:00
bergice
a245d0c98f
Add file migration system requirements.
...
See https://github.com/silverstripeltd/open-sourcerers/issues/45 for more information on how these estimates were obtained.
2019-02-09 05:19:25 +01:00
Aaron Carlino
c222b96af8
DOCS: Fix broken lesson links, add missing lessons
2019-02-08 14:12:25 +13:00
Maxime Rainville
3fd4e604c6
DOCS Document more steps on the upgrade of modules.
2019-02-07 18:47:01 +13:00
Maxime Rainville
8d3fa81bc0
DOC Document how to update dependency on module upgrade
2019-02-05 14:32:51 +13:00
Maxime Rainville
66f32fb65a
DOCS Draft upgrading module guide intro and branching section
2019-02-04 14:58:51 +13:00
Jonathon Menz
0cbc02add1
DOCS Added 'Modifying Meta Tags' entry
2019-02-01 09:33:20 -08:00
Andre Kiste
2378d75bc1
Merge pull request #8746 from open-sausages/pulls/4/doc-file-migration-for-big-files
...
DOCS Add more info about migrations huge number files
2019-01-30 09:26:00 +13:00
wernerkrauss
2d257ae3df
explain resource url usage for add_i18n_javascript ( #8761 )
...
see #8748
2019-01-29 09:00:04 +02:00
Andre Kiste
6f180574a5
Update 05_File_Migration.md
...
Fixed typos.
2019-01-29 18:58:58 +13:00
Maxime Rainville
c4bf06f600
NEW Add new execmetric debug URL parameter to print out exection time and peak memory usage
2019-01-29 17:28:28 +13:00
Loz Calver
568be8e29b
FIX: Misconfiguration for versioned cache segmentation ( fixes #8754 )
2019-01-25 09:33:21 +00:00
DorsetDigital
17b55fea5e
Update 03_Form_Templates.md - form template locations ( #8751 )
...
Update guidance on form template location. They don't necessarily have to be placed in /app/templates and will work in the theme directory too. The current text also seems to suggest that they can be placed in the core directory - something which I don't believe should be advised,
2019-01-24 14:55:52 +02:00
DorsetDigital
8ae9c7c07c
Update 03_Form_Templates.md
...
Add default location of default form template to help people who wish to copy it.
2019-01-24 10:27:38 +00:00
Maxime Rainville
2b77e7041e
Merge pull request #8741 from open-sausages/pulls/4/rename-warnings-docs
...
Add documentation on using `renameWarnings` in the upgrader
2019-01-24 09:28:21 +13:00
Maxime Rainville
6ad780e217
DOCS Add more info about migrations huge number files
2019-01-23 19:29:03 +13:00
bergice
a975ec023c
Add documentation on using renameWarnings
in the upgrader
2019-01-23 11:24:11 +13:00
Andre Kiste
4a51412c39
Merge pull request #8693 from open-sausages/pulls/4/cwp-recipe-improvement
...
DOCS Add a reference to new cwp-constraint upgrader flag.
2019-01-22 10:32:35 +13:00
Maxime Rainville
b6e3ff85c7
DOCS Add some extra info about the --strict flag for the upgrader
2019-01-17 16:20:14 +13:00
Robbie Averill
50c074964d
Merge pull request #8730 from sachajudd/docs/page-icons
...
DOCS Add how to customise page icons in the site tree
2019-01-16 10:00:08 +01:00
Sacha Judd
95c6ba67df
DOCS Add how to customise page icons in the site tree
...
[ci skip]
2019-01-16 21:57:43 +13:00
Joe Chenevey
87cc52f3e0
Update 04_Data_Types_and_Casting.md
...
Fixed missing closing single-quote in Car class example.
2019-01-15 10:50:37 -05:00
James Cocker
797b749098
Corrected legacy_paths
to legacy_filenames
2019-01-14 14:35:11 +00:00
Maxime Rainville
f34f1ec7ee
Update docs/en/02_Developer_Guides/14_Files/01_File_Management.md
...
Co-Authored-By: jinjie <jinjie@swiftdev.sg>
2019-01-10 14:10:07 +08:00
Maxime Rainville
7d23928fde
Update docs/en/02_Developer_Guides/14_Files/01_File_Management.md
...
Co-Authored-By: jinjie <jinjie@swiftdev.sg>
2019-01-10 14:10:02 +08:00