Commit Graph

19219 Commits

Author SHA1 Message Date
Ingo Schommer
f006ef6354 Merge pull request #7513 from dhensby/pulls/4.0/sake-location-docs
DOCS Update sake location where relevant
2017-10-26 09:09:39 +13:00
Daniel Hensby
79a5daa0a9 Merge pull request #7512 from creative-commoners/pulls/4.0/fix-escaped-readonly-treedropdown
FIX Do not escape the readonly values since they get escaped when rendered
2017-10-25 12:18:36 +01:00
Daniel Hensby
92a429b935
DOCS Update sake location where relevant 2017-10-25 11:48:50 +01:00
Robbie Averill
da4989e8f6 FIX Do not escape the readonly values since they get escaped when rendered 2017-10-25 17:36:54 +13:00
Damian Mooyman
97948eb41d Added 4.0.0-rc1 changelog 2017-10-25 16:47:04 +13:00
Damian Mooyman
24a1266967 Update translations 2017-10-25 16:18:07 +13:00
Chris Joe
34f6f1b931 Merge pull request #7511 from open-sausages/pulls/4.0/installer-env-write-perms
Warn if env isn't writable
2017-10-25 15:45:14 +13:00
Damian Mooyman
97f9eddf90
Warn if env isn't writable 2017-10-25 15:07:35 +13:00
Chris Joe
2f64bfcd65 Merge pull request #7510 from open-sausages/pulls/4.0/fix-installer-env
BUG Fix env loading in installer
2017-10-25 14:45:24 +13:00
Damian Mooyman
2f82d08460
BUG Fix env loading in installer 2017-10-25 14:06:57 +13:00
Damian Mooyman
f52eecdc7f Merge pull request #7507 from open-sausages/pulls/4.0/changelog
Improve changelog
2017-10-25 12:36:05 +13:00
Damian Mooyman
ebe20bb643
Remove obsolete ToC
Update composer recommendations
2017-10-25 12:04:04 +13:00
Ingo Schommer
d56c756074 Fixed changelog indentation 2017-10-25 07:24:57 +13:00
Ingo Schommer
69f16c605c Consistent anchors in changelog headliens 2017-10-24 22:41:18 +13:00
Ingo Schommer
19d33f4de7 Moved up file migration in changelog 2017-10-24 22:37:04 +13:00
Ingo Schommer
862fcec553 Moved up .env docs in changelog
They're needed much earlier
2017-10-24 22:34:48 +13:00
Ingo Schommer
ff0b648d75 Detail links in changelogs 2017-10-24 22:33:20 +13:00
Ingo Schommer
a08c1f42d9 Deprioritised docs on minor upgrade paths 2017-10-24 22:21:49 +13:00
Ingo Schommer
5027af3926 Consistent 4.0 changelog presentation
- Use "Removed/Changed/Added/Moved" prefixes to make content more scannable
- Removed "change" vs "remove" distinction in subheadings (hard to separate, and not meaningful in practice)
- Linearised messages, less nesting - easier to parse (don't need to remember context from a few lines above)
- Simplified language (e.g. "use" instead of "please use")
- Simplified headline wording (remove repetitive "upgrade code that uses X")
- More anchor links across sections
- More use of diffs to clearly communicate before/after states
- Consistently apply backtick code formatting
- Consistently use "()" to denote methods (easier to read)
- Removed duplicate SQLQuery instructions (and simplified the augmentSQL example)
- Add new composer.json intro
2017-10-24 22:18:46 +13:00
Damian Mooyman
56b49dad34 DOCS Improve high level file documentation (#7501)
* DOCS Improve high level file documentation
Fixes https://github.com/silverstripe/silverstripe-assets/issues/62

* Updates based on feedback
2017-10-24 22:12:28 +13:00
Ingo Schommer
13d2350ad9 More upgrade rules 2017-10-24 21:18:52 +13:00
Damian Mooyman
a4b88c776f Merge pull request #7505 from open-sausages/pulls/4/ch-ch-ch-ch-ch-angesets
Document changesets
2017-10-24 17:05:35 +13:00
Aaron Carlino
4039a2ab61 Remove revert() method reference 2017-10-24 16:13:40 +13:00
Aaron Carlino
47917856c1 Revisions per Damian 2017-10-24 16:08:20 +13:00
Damian Mooyman
e76f01ebfa Merge pull request #7496 from open-sausages/pulls/4/inspect-upgrade-warnings
Upgrading rules for new inspect/warning capabilities
2017-10-24 15:25:34 +13:00
Ingo Schommer
7938b842cc More upgrader rules 2017-10-24 14:26:24 +13:00
Damian Mooyman
ff992de231 Merge pull request #7493 from kinglozzer/require-me-some-isolation
FIX: Use isolated scope when requiring files for module activation
2017-10-24 14:19:37 +13:00
Damian Mooyman
093e69f6e5 Merge pull request #7506 from NightJar/patch-2
Remove dead code from GridFieldDetailForm
2017-10-24 13:30:26 +13:00
Dylan Wagstaff
7c354525fb Remove dead code from GridFieldDetailForm
There is no action for 'autocomplete', there is no method 'handleAutocomplete', and out of the box there is no extension that applies it.
Manually testing the URL that would take us through such a handler does not give an exception about missing details from the URI (such as a required query string), but instead gives us an exception on there not being a handler for such.
`[Emergency] Uncaught BadMethodCallException: Object->__call(): the method 'handleAutocomplete' does not exist on 'SilverStripe\Forms\GridField\GridFieldDetailForm'`
@ e.g. `http://localhost/admin/pages/edit/EditForm/1/field/ElementalArea/autocomplete`.

Auto complete should be (and is) handled in it's own component code, such as https://github.com/silverstripe/silverstripe-framework/blob/4.0/src/Forms/GridField/GridFieldAddExistingAutocompleter.php#L210
2017-10-24 12:57:08 +13:00
Aaron Carlino
dee0754b5a document changesets 2017-10-24 10:30:37 +13:00
Damian Mooyman
13afd6f0d5 Merge pull request #7502 from open-sausages/pulls/4.0/i-converted-an-apple-to-an-orange
Fix switch to using the Convert class for decoding
2017-10-24 10:25:53 +13:00
Damian Mooyman
b9cb1e69e6 BUG Replace phpdotenv with thread-safe replacement 2017-10-20 18:43:11 +13:00
Christopher Joe
4caf34506a Fix switch to using the Convert class for decoding 2017-10-20 14:43:19 +13:00
Chris Joe
b20bfd28a6 Merge pull request #7499 from open-sausages/pulls/4.0/imagick-retry
ENHANCEMENT Don't fail immediately on imagick install
2017-10-20 11:46:21 +13:00
Damian Mooyman
04b4596bec ENHANCEMENT Don't fail immediately on imagick install 2017-10-20 11:04:59 +13:00
Loz Calver
bb9501797f FIX: Use isolated scope when requiring files for module activation 2017-10-20 09:11:00 +13:00
Damian Mooyman
d0ca9bd17a Merge pull request #7490 from open-sausages/pulls/4.0/my-email-children-deserve-the-best
BUG Fix enable email subclasses to use their respective templates
2017-10-19 16:30:37 +13:00
Damian Mooyman
87371ecb4c Merge pull request #7495 from nathanbrauer/patch-1
Adding 308 HTTP Response as n redirect code
2017-10-19 14:44:41 +13:00
Christopher Joe
dabdc905ce
BUG Fix enable email subclasses to use their respective templates 2017-10-19 14:44:04 +13:00
Ingo Schommer
297253170c Upgrading rules for new inspect/warning capabilities 2017-10-19 08:51:18 +11:00
Nathan J. Brauer
bcc2cc6a0b Adding 308 HTTP Response as an redirect code
https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
Often times, 308 are preferred over 301 redirects, as they tell the requester to, for example, re-POST a form submission on the final URL.
2017-10-18 12:27:00 -07:00
Daniel Hensby
6a8540d6d6 Merge pull request #7488 from open-sausages/pulls/4.0/you-have-my-permission-to-htaccess
BUG Fix documentation for permissions
2017-10-18 15:33:30 +01:00
Daniel Hensby
a98782bb99 Merge pull request #7494 from martinduparc/patch-6
Small fix to nginx.conf
2017-10-18 15:30:48 +01:00
Martin D
adfe275cde Small fix to nginx.conf
Source: https://github.com/silverstripe/silverstripe-framework/blob/4.0/docs/en/00_Getting_Started/01_Installation/How_To/Setup_Nginx_and_HHVM.md
2017-10-18 05:52:45 -04:00
Loz Calver
2f4f601497 Merge pull request #7489 from open-sausages/pulls/4.0/many_many_queries_for_images
BUG cache the cacheKey in TreeDropdownField, so it doesn't need to query for it multiple times in the same request
2017-10-18 09:26:51 +01:00
Daniel Hensby
749f74b0d5 Merge pull request #7491 from SilbinaryWolf/doc-icon-menu-icon
DOC Add example for using resource location for pages / modeladmin
2017-10-18 09:01:41 +01:00
Jake B
97dfd9ac47 DOC Add example for using resource location for pages / modeladmin 2017-10-18 15:55:50 +11:00
Christopher Joe
0b3363d0a0 BUG Fix documentation for permissions 2017-10-18 13:21:55 +13:00
Christopher Joe
076d7d78c6 BUG cache the cacheKey in TreeDropdownField, so it doesn't need to query for it multiple times in the same request 2017-10-18 11:49:28 +13:00
Daniel Hensby
3e9dc5c7d2 Merge pull request #7483 from zanderwar/patch-1
get_environment_type() still exists in SS4
2017-10-17 13:55:49 +01:00