Commit Graph

19191 Commits

Author SHA1 Message Date
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
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
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
Daniel Hensby
36826a07a1 Merge pull request #7480 from Firesphere/7339-Password_reset_message
[FIX] Password reset message
2017-10-17 13:39:07 +01:00
Reece Alexander
8a1e466c75
get_environment_type() still exists in SS4 2017-10-17 13:00:24 +01:00
Daniel Hensby
dcc21ea21b Merge pull request #7485 from open-sausages/pulls/4.0/sake-path-fixesmore
BUG Ensure sake works when called from any directory
2017-10-17 12:54:37 +01:00
Damian Mooyman
884fdd61b1
BUG Ensure sake works when called from any directory 2017-10-17 13:52:39 +13:00
Simon Erkelens
6506a5b958 Don't add a . when there's no extension 2017-10-16 11:56:35 +13:00
Damian Mooyman
e9e7bd649e Merge pull request #7479 from creative-commoners/pulls/4.0/remove-forums-in-controller-template
DOCS Remove forums link and replace with Slack and Stack Overflow in default controller template
2017-10-13 16:57:47 +13:00
Robbie Averill
eb1ee32571 DOCS Remove forums link and replace with Slack and Stack Overflow in default controller template 2017-10-13 15:03:45 +13:00
Chris Joe
11817592fd Merge pull request #7477 from open-sausages/pulls/4.0/intercept-incorrect-deletes
ENHANCEMENT Allow extensions to intercept incorrect deletes on unpublish
2017-10-13 11:49:26 +13:00
Damian Mooyman
7e97f04e47
ENHANCEMENT Allow extensions to intercept incorrect deletes on unpublish 2017-10-13 10:12:08 +13:00
Daniel Hensby
a244884117 Merge pull request #7476 from webbuilders-group/win-base-url-fix
BUGFIX: Fixed issue on Windows where the BASE_URL constant would get set wrong if the site was in a sub-folder of the web root
2017-10-12 15:31:53 +01:00
UndefinedOffset
7ff707df73 BUGFIX: Fixed issue on windows where the BASE_URL constant would get set wrong if the site was in a sub-folder of the web root 2017-10-12 10:54:27 -03:00
Daniel Hensby
3824655df4 Merge pull request #7473 from open-sausages/pulls/4.0/fix-sake-path
BUG Fix sake path lookup to find vendor framework
2017-10-12 08:39:34 +01:00
Damian Mooyman
5ccbabd36c
BUG Fix sake path lookup to find vendor framework
Remove legacy sapphire lookup
2017-10-12 15:45:43 +13:00
Chris Joe
d876e36424 Merge pull request #7467 from open-sausages/pulls/4.0/adjust-field-onbeforerender
Adjust FormField::onBeforeRendor so that it can influence both context and passed properties
2017-10-12 12:11:32 +13:00
Damian Mooyman
0c52623ad0
Update composer.json 2017-10-12 11:53:12 +13:00
Damian Mooyman
cacd3fbae4 Added 4.0.0-beta4 changelog 2017-10-11 17:46:52 +13:00
Damian Mooyman
37bc6e5099 Update translations 2017-10-11 17:46:48 +13:00
Damian Mooyman
f685c8c111 Remove obsolete branch-alias 2017-10-11 17:31:36 +13:00
Damian Mooyman
c3f321459b Merge pull request #7449 from creative-commoners/pulls/4.0-updatebreadcrumbs
Add updateBreadcrumbs hook to GridFieldDetailForm
2017-10-11 12:17:33 +13:00
Damian Mooyman
eff5c28f24
Adjust FormField::onBeforeRendor so that it can influence both context and passed properties
Fixes #7466
2017-10-11 11:43:57 +13:00
Damian Mooyman
e3086d31a1 Merge pull request #7465 from dhensby/pulls/4/composer-bin
Expose sake via vendor/bin dir with composer
2017-10-11 10:07:29 +13:00
Daniel Hensby
96f04d6686
Expose sake via vendor/bin dir with composer 2017-10-10 15:51:11 +01:00
Daniel Hensby
c09dec5958 Merge pull request #7456 from open-sausages/pulls/4.0/decimal-scaffolding
BUG Fix decimal scaffolding
2017-10-10 15:46:38 +01:00
Daniel Hensby
1cffdd923e Merge pull request #7463 from open-sausages/pulls/4/docs-upgrading-htaccess
Clarify index.php and .htaccess upgrading
2017-10-10 10:27:50 +01:00
Ingo Schommer
feadca875c Clearer .htaccess upgrading instructions 2017-10-10 10:28:02 +02:00
Ingo Schommer
823bc3b9ce Simplified upgrading docs around index.php
No need to paste the file there if we're auto upgrading it.
The guide is long enough already :)
2017-10-10 10:26:11 +02:00
Loz Calver
7afab3043d Merge pull request #7461 from open-sausages/pulls/4.0/fix-icon-urls
Fix references to resource paths / urls
2017-10-10 09:08:08 +01:00
Chris Joe
3c3cdc3452 Merge pull request #7460 from open-sausages/pulls/4.0/better-beta4-upgrade
ENHANCEMENT Improve upgrade experience for beta3 -> beta4 upgrade
2017-10-10 17:00:34 +13:00