Damian Mooyman
0c41a97a8b
API Refactor Form request handling into FormRequestHandler
...
API Add HasRequestHandler interface
API Refactor Link() and url handling behaviour from Controller into RequestHandler
API RequestHandler classes now must define url_segment to have a default Link()
API Clean up redirectBack()
2017-03-10 15:04:33 +13:00
Christopher Joe
466c50b302
API Switch from npm4 and shrinkwrap to npm6 and yarn
2017-03-10 11:38:26 +13:00
Damian Mooyman
63e3fbdccb
Remove default scaffold field for DBFile
2017-03-09 13:33:00 +13:00
Christopher Joe
50deb17763
API remove UploadField, AssetField and associated files
...
Fixes #6481
2017-03-09 10:16:46 +13:00
Daniel Hensby
9c9443602d
FIX Installer no longer causes recursion in yml config
2017-03-07 11:39:11 +00:00
Daniel Hensby
cdb4a86e1c
PHPParser optimisations and update
2017-03-06 10:35:25 +00:00
Loz Calver
f8e3443c89
Initial PHP Parser implementation
2017-03-06 10:19:00 +00:00
Daniel Hensby
f225b83e2b
Merge branch '3'
2017-03-03 15:55:22 +00:00
Daniel Hensby
d01da57da1
Merge pull request #6674 from oilee80/master
...
Fix for APCu cache otherwise you get 'Cache key must be string, "bool…
2017-03-03 12:17:06 +00:00
Lee Bradley
263e747d07
Fix for APCu cache otherwise you get 'Cache key must be string, "boolean" given'
...
Also corrects parameter variable name
2017-03-03 10:35:01 +00:00
Damian Mooyman
58f336928a
Merge pull request #6672 from andrewandante/FIX/apcu-cache-error
...
FIX/apcu cache errors
2017-03-03 15:37:50 +13:00
Andrew Aitken-Fincham
abe967f235
FIX/pass arguments directly (not in array)
2017-03-02 11:12:06 +00:00
Damian Mooyman
b6d9b34ce4
BUG Mark $instance as internal to prevent being saved to config
2017-03-02 17:19:44 +13:00
Damian Mooyman
6ed98a3a94
BUG Prevent obsolete class cache breaking autoload
...
Remove hard-coded class paths
2017-03-01 10:06:15 +13:00
Damian Mooyman
e74556b322
API Protect Director::get_environment_type() from invoking
2017-02-28 10:49:29 +13:00
Damian Mooyman
3983b4d1b1
Fix cache used in ModuleManifest
2017-02-27 16:54:01 +13:00
Damian Mooyman
c452d5f6cd
API Rename CoreConfigCreator to CoreConfigFactory
...
Fix rebase regressions
2017-02-27 16:54:01 +13:00
Damian Mooyman
3362e15a29
API Upgrade code to use updated config
2017-02-27 16:54:01 +13:00
Damian Mooyman
3958788858
API Remove Director.environment_type config and replace with static methods
2017-02-27 16:54:01 +13:00
Damian Mooyman
a6e9a7111b
API Substitute core config system with new silverstripe/config module
2017-02-27 16:54:01 +13:00
Damian Mooyman
72ddac2a56
API Implement ModuleLoader for module registration by composer name
2017-02-27 16:54:01 +13:00
Damian Mooyman
b3fc11e594
API Move ssmedia plugin to asset-admin
2017-02-27 10:58:41 +13:00
Damian Mooyman
1d49c4afe9
API Remove non-asset-admin TinyMCE media dialog
...
API Split ssplugin into ssmedia and sslink plugins
2017-02-27 10:38:23 +13:00
Damian Mooyman
bab52e2403
Tweak dropdownfield
2017-02-27 10:38:23 +13:00
Christopher Joe
98ecaf9bd0
Change UploadField to TreeDropdownField for modal fields
...
Change UploadField to abstract placeholder FileHandleField for non-modal fields
2017-02-27 10:38:23 +13:00
Sam Minnee
f63b741e46
FIX: Improve DebugView’s display of non-header information.
...
DebugView had not ability just to output a regular paragraph that
didn’t have a blue background.
This refactors the CSS classes a bit to amend this.
2017-02-26 15:07:32 +13:00
Ingo Schommer
cef4ab79a6
Remove debug code
2017-02-26 13:08:02 +13:00
Ingo Schommer
d220ca3f67
API Use symfony/cache ( fixes #6252 )
2017-02-26 13:07:59 +13:00
Daniel Hensby
7156da6279
Merge branch '3'
2017-02-20 22:19:33 +00:00
Ingo Schommer
d2de4b10e1
Absolute paths for theme lang dirs ( fixes #1354 )
...
Regression in 4.x i18n rewrite. Can’t test this since ThemeResourceLoader hardcodes constants like THEME_DIR,
so its impossible to mock in different directory structures. Ideally this would use an application object with access
to environment variables, but that’s too much of a refactor to validate this simple fix.
2017-02-17 16:26:44 +13:00
Ingo Schommer
2805a13cc5
Merge pull request #6607 from open-sausages/pulls/4.0/i18n-locale
...
API Substitute Zend_Locale / Zend_Date with php-intl
2017-02-16 10:56:13 +13:00
Ingo Schommer
b7bed18192
Mark setShowCalendar() as experimental
2017-02-16 10:55:07 +13:00
Ingo Schommer
80723c077b
Reinstated separated DateField functionality
2017-02-16 09:06:14 +13:00
Anselm Christophersen
449ed8d379
Text supports up to 16 megabytes, not 2 ( #6368 )
...
See the `requireField` method that defines it as `mediumtext`.
2017-02-15 11:14:41 +13:00
Damian Mooyman
014f0d23ed
API Create SeparatedDateField
...
API Restrict allowed values parsed via DBDate::setValue
API Remove NumericField_Readonly
API Remove DBTime::Nice12 / Nice24
2017-02-15 11:07:58 +13:00
Damian Mooyman
029a8b9586
API Substitute Zend_Currency with NumberFormatter based solution
...
API Substitute Zend_Locale with Locale / NumberFormatter
API Substitute Zend_Date with IntlDateFormatter
API Added DBTIme::Nice12, FormatFromSettings
API Added Short() method to DBDate / DBTime / DBDatetime
API Add Date::getTimestamp()
API Added setSubmittedValue api for FormField
API Add second arg to base FormField::setValue()
API Major refactor of i18n into component data parts
API Implement Resettable interface to reset objects between tests
ENHANCEMENT Changed DBField::create_field return type to `static` to support better type hinting
ENHANCEMENT i18nTextCollector supports __CLASS__
2017-02-09 15:28:59 +13:00
Daniel Hensby
71383b827d
Merge branch '3'
2017-02-08 12:34:45 +00:00
Andrew Aitken-Fincham
b8a0944bda
FIX/load fields if lazy ones exists
2017-02-08 08:52:48 +00:00
Aaron Carlino
0982f77ec7
Feature/aggregate data filters ( #6553 )
2017-02-03 09:03:19 +13:00
Damian Mooyman
8d5ff9b2fe
Merge pull request #6583 from robbieaverill/bugfix/remove-theme-dir
...
API Remove ViewableData::ThemeDir, update changelog to reflect suggested replacement
2017-02-02 12:57:20 +13:00
Daniel Hensby
8c8231c03e
NEW Director::host() to determine host name of site
2017-01-31 21:36:04 +00:00
Daniel Hensby
873fd8c5bc
NEW replace _ss_environment.php with .env and environment vars
2017-01-31 20:40:17 +00:00
Daniel Hensby
a5da085cc7
Merge branch '3'
2017-01-31 17:03:53 +00:00
Daniel Hensby
efb5c5bfe9
Merge pull request #6567 from open-sausages/pulls/4.0/flush-tests
...
BUG Ensure that tests run with flush=1 clean Flushables
2017-01-31 11:36:07 +00:00
Damian Mooyman
7b26b4a1f3
BUG Ensure that tests run with flush=1 clean Flushables
...
BUG Restore opt-in flushing (regression from #4404 )
2017-01-31 18:59:19 +13:00
Robbie Averill
9d35ff8f95
API Remove ViewableData::ThemeDir, update changelog to reflect suggested replacement
2017-01-31 10:56:52 +13:00
Robbie Averill
232b218dfb
FIX Ensure that Zend_ classes can still be autoloaded
2017-01-30 11:12:24 +13:00
Daniel Hensby
77bfea1197
Merge pull request #6564 from Quadra-Digital/dbfield-setter-improvements
...
ENHANCEMENT: DBField 'setter' methods return instance of themselves
2017-01-28 09:23:39 +00:00
Loz Calver
d3c24769ac
Merge pull request #6469 from dhensby/pulls/4/image-backend-interface
...
FIX Make sure image backends implement method getImageResource
2017-01-27 16:59:46 +00:00
Daniel Hensby
a282b3f420
Merge pull request #6528 from zacps/3310-permissions
...
Simplify permissions displayed when admin (fixes #3310 )
2017-01-27 10:26:12 +00:00