Commit Graph

170 Commits

Author SHA1 Message Date
Damian Mooyman 813e75a880 Update deprecated API
Code cleanup
2017-01-11 10:47:17 +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
Daniel Hensby 5905cc1328 Merge pull request #20 from open-sausages/pulls/cms-namespace
Fix CMS Namespace changes
2016-08-17 15:41:52 +01:00
Christopher Joe f3024221ed Fix CMS Namespace changes 2016-08-16 16:38:31 +12:00
Daniel Hensby 4bc1b84f6f Merge pull request #19 from open-sausages/pulls/tabless-example
Make employe fields untabbed to test flat forms
2016-08-12 12:36:12 +01:00
Damian Mooyman 26b8dcd39f Make employe fields untabbed to test flat forms 2016-08-03 14:12:53 +12:00
Paul c9ba0d6c1d Merge pull request #18 from open-sausages/pulls/group-description
Add description and right title
2016-07-21 13:44:51 +12:00
Damian Mooyman 0e84d74b24
Add description and right title 2016-07-21 13:43:44 +12:00
Paul db1909f957 Merge pull request #17 from open-sausages/pulls/4.0/fix-namespace-security
Fix to support security namespace
2016-07-21 13:30:27 +12:00
Damian Mooyman 647d1f36f6 Alias namespaced table 2016-07-20 10:35:01 +12:00
Damian Mooyman ef723bb265 Update for security namespace 2016-07-20 10:34:52 +12:00
Damian Mooyman f03b0ab6c9 Merge pull request #16 from open-sausages/pulls/namespace-model
Namespaced model to get more 4.x test coverage
2016-07-07 10:06:46 +12:00
Ingo Schommer 8f315e7962 Namespaced model to get more 4.x test coverage 2016-07-01 14:37:50 +12:00
Ingo Schommer d66b64d1fa Wrapper div for LiteralField 2016-06-17 14:17:36 +12:00
Ingo Schommer 049277d71f LiteralField with HTML 2016-06-16 14:14:18 +12:00
Ingo Schommer aaa56c176e More realistic SelectionGroup config 2016-06-16 14:14:13 +12:00
Ingo Schommer e98f22f400 Removed TimeWithDropdown, no longer supported in core 2016-06-16 13:35:41 +12:00
Ingo Schommer d7d2afe250 Added more fields (AssetField, LiteralField, ConfirmedPasswordField) 2016-06-16 13:31:34 +12:00
Ingo Schommer a499292bb4 Added more field variations (LabelField, CompositeField, SelectionGroup) 2016-06-16 13:11:29 +12:00
Ingo Schommer 112bdeea92 4.x compat 2016-04-19 09:27:29 +12:00
Ingo Schommer d1ba84e843 Merge pull request #15 from helpfulrobot/add-standard-scrutinizer-config
Added standard Scrutinizer config
2016-04-19 09:18:15 +12:00
helpfulrobot d12a1709e0 Added standard Scrutinizer config 2016-02-17 05:27:53 +13:00
Daniel Hensby 7bc25a2df9 Merge pull request #14 from helpfulrobot/add-standard-code-of-conduct-file
Added standard code of conduct file
2016-02-16 09:46:01 +00:00
helpfulrobot b1ca60dc8b Added standard code of conduct file 2016-02-16 11:37:34 +13:00
Damian Mooyman 13ea394f64 Merge pull request #13 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-12-21 14:22:33 +13:00
helpfulrobot a18cb30402 Converted to PSR-2 2015-12-18 09:20:49 +13:00
Damian Mooyman e50887240b Merge pull request #12 from helpfulrobot/add-standard-editorconfig-file
Added standard .editorconfig file
2015-12-17 17:01:55 +13:00
helpfulrobot 9529d3b465 Added standard .editorconfig file 2015-12-17 10:58:06 +13:00
Ingo Schommer f68cfda091 Fixed favourite page dropdown placement
See https://github.com/silverstripe/silverstripe-cms/issues/387
2014-03-16 16:00:35 +13:00