Ingo Schommer
6926e85fff
Reinstate route externals in Gulpfile
...
Accidental regression from c4e5074f67
(see aa1aebd007
)
2016-04-04 08:58:59 +12:00
Ingo Schommer
c4e5074f67
Partially reverted b1b85b5
...
We still require copying thirdparty components from node_modules on tiny_mce
2016-04-04 08:15:27 +12:00
Ingo Schommer
c2b6f6199c
Reapplied customisations to tiny_mce_gzip.php
...
See previously applied customisations at https://github.com/silverstripe/silverstripe-framework/blob/3/thirdparty/tinymce/tiny_mce_gzip.php
See https://github.com/silverstripe/silverstripe-framework/pull/5258
2016-04-04 08:01:17 +12:00
Sean Harvey
b1b85b539e
TinyMCE 4 optimisations. Use TinyMCE_Compressor.
2016-04-04 07:58:45 +12:00
Patrick Nelson
9d9c572cf8
FIX for #5251 to address minor URL decoding/parsing bug.
2016-04-01 11:44:29 -07:00
Ben Manu
5c7a6166b6
Moving thirdparty module to npm dependency - json-js.
2016-04-01 15:43:09 +13:00
Ingo Schommer
d93da92c37
Merge pull request #5243 from open-sausages/pulls/4.0/client-routing
...
Implement client-side routing with Page.js
2016-04-01 14:53:17 +13:00
Damian Mooyman
4585e67e15
Merge pull request #5257 from steve-silverstripe/update-close-icon-on-cms-notices
...
Changed CMS close from an 'x' to a silverstripe font icon
2016-04-01 14:36:39 +13:00
Steve Boyd
7887be704e
Changed CMS close from an 'x' to a silverstripe font icon
2016-04-01 13:52:28 +13:00
Damian Mooyman
501b2f1809
API CMSMenu::get_cms_classes() is now sorted
2016-04-01 13:46:33 +13:00
David Craig
aa1aebd007
Implement client-side routing with Page.js
...
- Removes thirdparty dependency History.js
- Adds thirdparty dependency Page.js to manage client-side routing
- Adds a wrapper around Page.js for SilverStripe specific behaviour
- Increased minimum browser requirement to IE10. Native HTML History API routing requires IE10 or newer (necessitated by removal of History.js)
- PJAX pannel loading via now uses promises rather than callbacks
- Adds getClientConfig method to LeftAndMain which can be used to pass config from to the front-end client
2016-04-01 13:45:14 +13:00
Sean Harvey
3b7cfd0118
Merge pull request #5256 from tractorcow/pulls/3.1/fix-error-displayed
...
BUG fix ErrorControlChain causing errors to be displayed if display_errors in php.ini is false
2016-04-01 12:10:22 +13:00
Damian Mooyman
6ec2656201
BUG fix ErrorControlChain causing errors to be displayed if display_errors in php.ini is false
...
Fixes #5250
2016-04-01 11:04:06 +13:00
Ingo Schommer
3d1673f687
Merge pull request #5255 from tractorcow/pulls/4.0/fix-test-location
...
BUG move test file to correct folder and fix class_exists
2016-03-31 17:43:08 +13:00
Damian Mooyman
d8d005d1e2
BUG move test file to correct folder and fix class_exists
2016-03-31 17:06:23 +13:00
Ingo Schommer
449a41a66a
Merge pull request #5254 from tractorcow/pulls/4.0/ignore-tests
...
BUG Prevent live manifest loading files from nested test directories
2016-03-31 16:19:08 +13:00
Damian Mooyman
e8a68c42ce
BUG Prevent live manifest loading files from nested test directories
...
E.g. framework/admin/tests
2016-03-31 15:58:23 +13:00
Damian Mooyman
bea85c22a5
Merge pull request #5233 from kinglozzer/5129-gridfield-shortcode-parsing
...
FIX: GridField::FieldHolder() should not attempt to parse shortcodes (fixes #5129 )
2016-03-31 10:52:44 +13:00
Damian Mooyman
78892f0a8d
Merge pull request #5232 from kinglozzer/viewabledata-dep
...
Remove deprecated caching behaviour from ViewableData (closes #4063 )
2016-03-31 10:08:15 +13:00
Damian Mooyman
0fa7271ec2
Merge pull request #5239 from open-sausages/pulls/4.0/form-schema-fixes
...
Form schema fixes
2016-03-31 09:49:55 +13:00
Ingo Schommer
55f12939bb
Defined $schemaDataType constant, added to FormField subclasses
2016-03-30 23:00:00 +13:00
Loz Calver
b2e4e9622b
API: Remove deprecated caching behaviour from ViewableData ( closes #4063 )
2016-03-30 08:53:35 +01:00
Loz Calver
83663b4b8c
Merge pull request #5249 from tractorcow/pulls/3.2/customise
...
Standardise spelling of "customise"
2016-03-30 08:42:26 +01:00
Jake Bentvelzen
43c9f15647
Fixed bug where breadcrumb title wouldn't appear if title was blank
2016-03-30 16:46:18 +11:00
Damian Mooyman
f6dca68be1
Merge pull request #5234 from kinglozzer/gridfield-onbeforerender
...
NEW: Add onBeforeRender() hook to GridField
2016-03-30 17:53:04 +13:00
Sam Minnée
b4526ec554
Merge pull request #5237 from open-sausages/pulls/4.0/bootstrap-include-default
...
Include Bootstrap by default
2016-03-30 14:57:32 +13:00
Sam Minnée
fb5f73ebdf
Merge pull request #5238 from open-sausages/pulls/4.0/build-tooling-cleanup
...
Build tooling cleanup
2016-03-30 14:39:57 +13:00
Damian Mooyman
2cfd3ab997
Merge pull request #5231 from kinglozzer/sqlselect-docs
...
Fix code docs for SQLSelect::count()
2016-03-30 14:12:11 +13:00
Damian Mooyman
b8e7f9a934
Standardise spelling of "customise"
...
Fixes #3988
2016-03-30 13:17:28 +13:00
Damian Mooyman
fd64fe5572
Merge pull request #5248 from micmania1/patch-10
...
Filter PDO construct on failure
2016-03-30 13:05:32 +13:00
Michael Strong
159dce337d
Filter PDO construct on failure
2016-03-30 11:35:15 +13:00
Ingo Schommer
4714eeee6b
Merge pull request #5146 from chillu/pulls/3.2/disable-xdebug-travis
...
Disable xdebug on Travis runs
2016-03-30 07:49:32 +13:00
Ingo Schommer
fb660225c2
Behat: Wait until CMS loading overlay is removed
...
This makes tests more robust at the expense of an additional
check with every step. The "ajax steps" logic works similarly,
but does not respect the loading indicator. While this logic
waits for a short time after ajax requests are finished,
in some cases that isn't enough time for the browser to
process the response and remove the loading indicator.
Since the "ajax steps" logic applies to operations outside of the CMS
as well, we can't add the loading indicator check there.
2016-03-29 17:24:47 +13:00
Ingo Schommer
85a361444c
Disable xdebug on Travis runs
...
We're not using it for code coverage,
and it's slowing down both composer and phpunit builds.
Recommended by Travis:
https://docs.travis-ci.com/user/speeding-up-the-build/#PHP-optimisations
2016-03-29 17:21:55 +13:00
Ingo Schommer
7ba4b5b6ef
Merge pull request #5241 from timkung/pulls/upload-validator-filesize-spelling
...
BUG changing all cases of filesize spelling to file size
2016-03-29 16:15:27 +13:00
Ingo Schommer
1049288cb5
Merge pull request #5240 from madmatt/pulls/fix-dbstringtest-annotations
...
MINOR: Fix PHPUnit @covers assertions for DBStringTest
2016-03-29 16:13:50 +13:00
Tim Kung
7907d20da7
BUG changing all cases of filesize spelling to file size
2016-03-29 13:38:24 +13:00
Ingo Schommer
2ba4e1dabe
Removed duplicate bootstrap lib
...
Now generated on the fly through framework/admin/scss
2016-03-29 11:28:40 +13:00
scott1702
6b1444709f
Fix menu dropdown icon
2016-03-29 11:28:38 +13:00
David Craig
d4ad1504a9
Fix bottom toolbar height
2016-03-29 11:28:05 +13:00
Hamish Friedlander
700cf9bd56
Merge pull request #5223 from tractorcow/pulls/4.0/transactions
...
API Add SS_Database::withTransaction for nice enclosed transactions
2016-03-29 10:54:04 +13:00
Paul Clarke
dce31d7235
initial updates to main nav styles for 4.0
...
Conflicts:
admin/css/ie7.css
admin/css/ie7.css.map
admin/css/ie8.css.map
admin/css/screen.css
admin/css/screen.css.map
admin/javascript/dist/bundle-leftandmain.js
admin/javascript/src/LeftAndMain.Menu.js
admin/scss/_spritey.scss
css/GridField.css
2016-03-29 10:29:33 +13:00
Ingo Schommer
884c44f596
Removed sourcemaps
...
Will be part of .gitignore in a subsequent commit
2016-03-29 10:29:32 +13:00
scott1702
13d581dea5
Include bootstrap throughout the CMS
2016-03-29 10:29:27 +13:00
Ingo Schommer
3862a7a0a7
Moved FormFieldSchemaTrait into FormField
...
The RFC requires a FormField implementation to override $schemaDataType,
but its defined on the trait - which can't be redefined by a field subclass.
In the end, the trait was never designed to be reuseable on classes other than FormField.
We need to admit that architecturally, we'll have to add all that API weight to the base FormField
class because of the way forms are structured in SilverStripe (mainly due to a missing layer
of indirection in getCMSFields implementations).
Also implemented the $schemaDataType on fields where its known.
See https://github.com/silverstripe/silverstripe-framework/issues/4938
See http://php.net/manual/en/language.oop5.traits.php#language.oop5.traits.properties.example
2016-03-28 21:54:42 +13:00
Ingo Schommer
c3a8159e80
Default to schema response part in LeftAndMain->schema()
...
More of a standard API approach to return data by default, and make customisation
via HTTP headers an optional mode.
2016-03-28 21:54:42 +13:00
Ingo Schommer
adbcddee80
Only iterate through dataFields() in FormSchema
...
Temporary measure until we implement nested fields
2016-03-28 21:54:27 +13:00
Ingo Schommer
8ae2894890
Fix form schema ID getter
...
Also moved keys of higher importance to start of array,
easier to review this way
2016-03-28 21:54:24 +13:00
David Craig
5d88950735
Adds schemaDataType to FormFieldSchema
2016-03-28 21:14:06 +13:00
Ingo Schommer
dbe85dff0a
Watch admin SCSS files
2016-03-28 21:02:27 +13:00