Commit Graph

347 Commits

Author SHA1 Message Date
Ingo Schommer
260ad323ac Improved page generation (customise depths)
Similar to FTFileMakerTask, this allows for creation of trees of arbitrary depths.
Which is useful to test long page lists, deep trees, or large amount of “broad vs deep” nestings.
Yes, it has no unit tests - I’m fine with that :)
2017-05-18 13:20:53 +12:00
Damian Mooyman
5fcfeb1a9a Merge pull request #33 from open-sausages/pulls/4.0/i-need-a-route
Fix config sections look up
2017-05-09 16:05:01 +12:00
Christopher Joe
eac10f7272 Fix config sections look up 2017-05-09 14:41:36 +12:00
Damian Mooyman
880d26be78 Merge pull request #35 from open-sausages/pulls/4.0/6099-remove-form-fields
Removed legacy fields
2017-05-09 11:08:51 +12:00
Ingo Schommer
e526c9692c Removed legacy fields
See https://github.com/silverstripe/silverstripe-framework/pull/6883
2017-05-08 20:25:15 +12:00
Damian Mooyman
c23f4d36e0 Merge pull request #34 from open-sausages/pulls/datetimefield-update
Date field updates
2017-04-28 10:07:11 +12:00
Ingo Schommer
0e893b503b Support for new DatetimeField
See https://github.com/silverstripe/silverstripe-framework/issues/6140
2017-04-26 10:32:09 +12:00
Ingo Schommer
8cb15a45de Align date minimums with db defaults
Avoid validation errors by default
2017-04-26 10:32:02 +12:00
Ingo Schommer
902151603c Removed unused DMYDate 2017-04-26 10:31:22 +12:00
Damian Mooyman
b3301548ea Merge pull request #32 from open-sausages/pulls/4.0/6626-remove-jquery-datepicker
HTML5 date
2017-04-04 10:57:51 +12:00
Ingo Schommer
097e136525 Use HTML5 date (with min-date case) 2017-04-03 12:01:47 +12:00
Ingo Schommer
df5681371d Added TimeField with setHTML5(true) 2017-03-31 14:12:56 +13:00
Ingo Schommer
1363efe1e1 Removed AssetField, only use new UploadField
AssetField and the old UploadField have been removed from core.
2017-03-30 09:32:57 +13:00
Damian Mooyman
6c03a99621 Merge pull request #31 from open-sausages/pulls/4.0/i18n-locale
Adapt to 4.x date/numeric field changes
2017-02-16 11:30:51 +13:00
Ingo Schommer
f465d5c3ff Updated setShowCalendar() use 2017-02-16 11:27:12 +13:00
Ingo Schommer
1df00831f4 Use new SeparatedDateField 2017-02-16 09:08:28 +13:00
Ingo Schommer
c55b641604 Scale/float testing 2017-02-16 08:23:09 +13:00
Daniel Hensby
ab965a520c Merge pull request #30 from silverstripe/pulls/guzzle6
Upgraded guzzle to 6.x
2017-01-17 11:14:41 +00:00
Ingo Schommer
7c47ee2191 Upgraded guzzle to 6.x
Required for 0620392dc4
2017-01-17 13:36:35 +13:00
Damian Mooyman
c56308861c Merge pull request #29 from open-sausages/pulls/act-as
Fix dev/build with Member::actAs()
2017-01-16 11:36:57 +13:00
Ingo Schommer
7fcf623639 Fix dev/build with Member::actAs()
Fixes #28
2017-01-16 11:11:40 +13:00
Ingo Schommer
db7c537666 Use PageController without underscore 2017-01-15 21:19:56 +13:00
Ingo Schommer
550f9856d6 Tests for new AssetAdmin UploadField 2017-01-11 23:38:27 +13:00
Ingo Schommer
5a33b6ccbd Merge pull request #27 from open-sausages/pulls/4.0/cleanup-4
Update deprecated API
2017-01-11 22:45:36 +13:00
Damian Mooyman
813e75a880 Update deprecated API
Code cleanup
2017-01-11 10:47:17 +13:00
Daniel Hensby
a5f7d9b6fd Merge pull request #26 from open-sausages/pulls/make-files-task
Task for generating files
2017-01-10 16:01:18 +00:00
Ingo Schommer
0620392dc4 FTFileMakerTask 2017-01-06 19:48:50 +13:00
Ingo Schommer
a97830ad1c Moved tasks into subfolder 2017-01-06 08:31:40 +13:00
Damian Mooyman
8410ccbf0b Merge pull request #25 from open-sausages/pulls/field-consistency
Field consistency
2016-10-21 11:47:53 +13:00
Ingo Schommer
0618abe1ab Added new HTMLReadonlyField implementation 2016-10-20 22:06:02 +13:00
Ingo Schommer
89922b58e9 Don't set OptionSetField to multiple vals
It's a radiobutton based field, so multiple values don't make sense here
2016-10-20 08:51:27 +13:00
Ingo Schommer
2c72749af9 Use new <FormBuilderLoader> react API
See https://github.com/silverstripe/silverstripe-framework/issues/5524
2016-10-20 08:37:41 +13:00
Ingo Schommer
a0099fb03f Populate readonly/disabled manymany 2016-10-20 08:37:06 +13:00
Ingo Schommer
8a024fd39c Use actual manymany for CheckboxSetField
It's not really designed to work with a has_one or database column (you'd use OptionsetField for that).
Also removed the "Field" suffix from "MultipleListboxField" (inconsistent with other column names)
2016-10-18 23:15:37 +13:00
Ingo Schommer
3eb6295f76 More consistent field loading, using loadDataFrom() in react test admin 2016-10-18 22:07:07 +13:00
Ingo Schommer
7137b456cf Consolidated fields 2016-10-18 16:38:41 +13:00
Ingo Schommer
8a2f501805 Sort items (no additions) 2016-10-18 16:32:13 +13:00
Ingo Schommer
c733111c6d Merge pull request #24 from open-sausages/pulls/field-test-fixes
Value fixes in BasicFieldsTestPage
2016-10-14 11:21:01 +13:00
Ingo Schommer
ccbbd91822 Set values on readonly/disabled fields
These field variations are not corresponding to properties on the underlying DataObject,
hence need to be set manually. At the moment, Form->loadDataFrom() is never called during schema generation,
so the setValue() calls are required for all fields - which is a bug in the LeftAndMain->schema() implementation.
2016-10-14 07:47:57 +13:00
Ingo Schommer
fbae8eef90 Fixed casing in HTMLEditorField default data 2016-10-14 07:46:13 +13:00
Ingo Schommer
c86232f198 Present HTML formatted text in HTMLEditorField test 2016-10-14 07:46:00 +13:00
Ingo Schommer
4d2eef608b Merge pull request #22 from open-sausages/pulls/test-react
Added TestReactFormBuilder admin section
2016-10-13 16:38:48 +13:00
Christopher Joe
9c75f0a4e1 Rebased with webpack 2016-09-29 13:39:07 +13:00
Christopher Joe
a4e7440c62 Added TestReactFormBuilder admin section, this utilises BasicFieldsTestPage fields currently. 2016-09-28 11:42:20 +13:00
Daniel Hensby
8cee68b17d Merge pull request #23 from open-sausages/pulls/ns-field-label-regression
Regression on field labels
2016-09-14 11:21:50 +01:00
Ingo Schommer
e143204ae6 Regression on field labels
Auto-conversion was a bit too overzealous, and I failed at reviewing the diff properly.
2016-09-14 16:34:31 +12:00
Ingo Schommer
d735641bc0 Fixed namespace regression 2016-09-10 22:14:11 +12:00
Daniel Hensby
388db32af9 Merge pull request #21 from open-sausages/pulls/4.0/namespace-everything
Compat with SS4 namespaces
2016-09-08 10:56:25 +01:00
Ingo Schommer
7720748b34 Compat with SS4 namespaces
See https://github.com/silverstripe/silverstripe-framework/issues/5637
2016-09-07 17:10:55 +12:00
Ingo Schommer
c3f64d7ddc Extend correct ModelAdmin class 2016-09-07 09:10:34 +12:00