Ingo Schommer
5f81122ad3
Removed misdocumented 'data' prop
2016-10-20 15:33:50 +13:00
Ingo Schommer
1e478a5378
Consistently set 'id' in FormSchema
...
The URL to request the schema representation is the unique identifier.
We can't default to $request->getURL() since that's different for form submissions.
The schema.schema_url key is redundant, since the identifier is already contained on the top level 'id' key.
Keeping schema_url in a schema itself makes it less portable, particularly once we transition into
generic schemas which are not reliant on a particular record context (that's only contained in the schema_url)
This also fixes the issue of form schemas not refreshing after submit,
e.g. when form fields are added or removed.
2016-10-20 15:33:50 +13:00
Damian Mooyman
3f773c826a
Merge pull request #6189 from open-sausages/pulls/4.0/split-pages-toolbar
...
Split top toolbar for Pages section
2016-10-18 18:44:06 +13:00
Christopher Joe
08b1171ae7
Adjust CSS for top toolbar split for Pages section
2016-10-18 14:22:03 +13:00
Christopher Joe
820407887e
Adjusted button submit action to respect _super()
2016-10-18 09:27:58 +13:00
Daniel Hensby
8afff154b8
Merge pull request #6171 from open-sausages/pulls/4.0/use-changeset-for-publish
...
API Versioned::publishRecursive() now uses a ChangeSet
2016-10-16 14:45:23 +01:00
Christopher Joe
25ca87b650
Clean up build files to be more consistent
2016-10-14 15:33:07 +13:00
Loz Calver
0ebde90dd0
Fix flexbox 'fill-height' overflowing container
2016-10-13 09:42:12 +01:00
Damian Mooyman
f60fe7d4a9
API Versioned::publishRecursive() now uses a ChangeSet
...
API Add IsInferred to inferred changesets
API Add SapphireTest::assertNotDOSContains
Fixes #5667
2016-10-13 17:38:08 +13:00
Daniel Hensby
369fde2a5b
Merge pull request #6150 from open-sausages/pulls/4.0/fix-form-validation-persistence
...
BUG prevent form data / validation persisting in state when using form schema
2016-10-11 15:43:59 +01:00
Damian Mooyman
72fd3b949e
Fix linting issues
2016-10-11 16:49:24 +13:00
Christopher Joe
5a5d62fa27
Fix profile layout
2016-10-11 15:50:35 +13:00
Damian Mooyman
20cee73583
Fix pages background
2016-10-11 15:27:32 +13:00
Christopher Joe
7b36df286e
Fix split mode disappearing as an option
2016-10-11 14:41:08 +13:00
Christopher Joe
a03abe1356
Set select box width 100% to override chosen's default hardcoding width
2016-10-11 13:50:30 +13:00
Christopher Joe
bb2f487644
Scrolling fixes for Model Admin
2016-10-11 13:47:44 +13:00
Christopher Joe
eee9ffaaa2
disable select option for split when it is graphically disabled in chosen...
2016-10-11 13:47:32 +13:00
Christopher Joe
ba44382cb9
tweak for ie10 styling issues
2016-10-11 13:47:21 +13:00
Christopher Joe
7acb3b5fc2
Fix selected view mode not reflected on button
...
Fix other ModelAdmin layout (test)
Fix fieldholder placement
2016-10-11 13:47:09 +13:00
Christopher Joe
89150c48e7
Fix preview in pages section
2016-10-11 13:47:00 +13:00
Paul Clarke
8b02d9d68a
Remove legacy classes for flexbox classes
2016-10-11 13:46:49 +13:00
Christopher Joe
0a0a990c54
Remove add wrapper element
...
Added 100% height to fill-width to fix some layout issues
2016-10-11 13:46:38 +13:00
Paul Clarke
eb7a8be3f8
Temp work in progress- to clean up
2016-10-11 13:46:38 +13:00
Paul Clarke
a37bf87857
Replace Layout with flexbox CSS classes
2016-10-11 13:46:24 +13:00
Paul Clarke
e71f39d171
Remove table bg
2016-10-11 13:46:24 +13:00
Paul Clarke
472e135602
Add Layout js back in as it contains preview JS
2016-10-11 13:46:24 +13:00
Paul Clarke
4a45793af9
Hide preview in other areas of the cms outside of pages
2016-10-11 13:46:24 +13:00
Paul Clarke
e7829eb974
Replace jLayout classes with flexbox CSS classes
2016-10-11 13:46:24 +13:00
Paul Clarke
1fd46ed36d
Pages area: remove layout classes, replace with flexbox CSS classes
2016-10-11 13:46:24 +13:00
Paul Clarke
ed4270155b
Remove layout.js
2016-10-11 13:45:17 +13:00
Paul Clarke
8dd56efe2e
Add flex classes, remove layout classes
2016-10-11 13:45:08 +13:00
Paul Clarke
1b0839a8e8
Remove Layout
2016-10-11 13:45:08 +13:00
Damian Mooyman
27d35403e8
API Force formschema to be reloaded on form submission
...
BUG Fix missing action state
2016-10-07 13:26:57 +13:00
Damian Mooyman
f130ebf9de
Restore tab indentation to LeftAndMain.php
2016-10-07 13:24:48 +13:00
Stevie Mayhew
0d173f231c
Merge pull request #6160 from SteveAzz/update-documentation
...
Update yml formating for extra javascript & css
2016-10-07 12:26:29 +13:00
Steve Azzopardi
d7530ed22b
Update css doc to spaces instead of tabs
2016-10-06 22:01:44 +02:00
Steve Azzopardi
2ec14cefcb
Update yml formating for extra javascript & css
2016-10-06 20:03:00 +02:00
Christopher Joe
21dc238685
Fixed classes that weren't matching icon
2016-10-06 20:46:30 +13:00
Christopher Joe
e5b86457b4
Added react LookupField component
...
API MultiSelectField readonly transformation casts to LookupField instead of ReadonlyField
FIX removed jQuery dependency from i18n
2016-10-05 15:32:05 +13:00
Damian Mooyman
82e72d062f
BUG prevent form data / validation persisting in state when using form schema
2016-10-05 10:26:32 +13:00
Christopher Joe
30d161625f
Fix unmock qs module, Backend-test refactored to not time out on error
2016-10-05 10:25:22 +13:00
Christopher Joe
287809ec3b
Refactored react FormFields to use react-bootstrap FormControl components
...
Addded Checkbox, CheckboxSet and Optionset (radio) fields
Refactored documentation
2016-10-05 10:25:21 +13:00
Daniel Hensby
45736ef2db
Merge branch '3'
2016-10-03 12:00:20 +01:00
Daniel Hensby
5e9d16646d
Merge branch '3.4' into 3
2016-10-03 10:24:32 +01:00
Damian Mooyman
ebbb0258dd
Fix linting issue
2016-10-03 10:58:58 +13:00
Daniel Hensby
f2d3026e93
Merge pull request #3628 from JeremyRoundill/3.1
2016-09-30 17:16:47 +01:00
Paul Clarke
3ac0eaaf62
Remove legacy styles
2016-09-30 15:45:12 +13:00
Paul Clarke
b794a40864
Group button icon styles
2016-09-30 15:44:17 +13:00
Paul Clarke
374ef6e0c3
Modal styles
2016-09-30 15:44:17 +13:00
Paul Clarke
5f92e12911
If description field is empty hide it as it has margin
2016-09-30 15:44:17 +13:00