Ingo Schommer
849b26dad4
MINOR Added custom save indicator for constructive buttons (green background on animated gif)
2012-03-12 11:10:25 +01:00
Ingo Schommer
d8a5db4ea7
MINOR Padding for "parent mode" radio buttons on "add page" panel
2012-03-12 10:53:51 +01:00
Ingo Schommer
44515f51b6
MINOR Don't link tree root node in CMS views, its not editable any longer (replaced by more specialised views with CMSSettingsController and SecurityAdmin->EditForm())
2012-03-12 10:42:07 +01:00
jbridson
7ece1d3e4f
BUGFIX:fixed buttons in ie7/ie8 added missing background colour.
2012-03-12 10:01:01 +01:00
jbridson
b0573155ec
BUGFIX:SSF-25 - fixed styling of model admin filter in ie7 and ie8
2012-03-12 10:00:47 +01:00
jbridson
99e376d0f5
ENHANCMENT: SSF-25 - fixed a couple of styling issues on the ModelAdmin Filter
2012-03-12 09:59:56 +01:00
Normann Lou
a73c8bcbf0
BUGFIX SSF-53 : apply a patch with fix chosen.js messed the width up if the select element is single select and having initial width as percentage
2012-03-12 09:50:19 +01:00
jbridson
97386413d6
BUGFIX:SSF-106 - removed border that appeared after click in ie7 and ie8
2012-03-12 09:36:57 +01:00
jbridson
4bea5949d1
BUGFIX:SSF-106 fixed overlapping edit and delete button on datagrid in ie7.
2012-03-12 09:36:41 +01:00
Normann Lou
18adfb0cff
BUGFIX SSF-53 : avoid to use ":submit" pseudo class in a jQuery selector
2012-03-12 09:36:09 +01:00
jbridson
4a6116b562
MINOR:fixed use of $grid_x/y variables and documented 'magic' numbers
2012-03-12 09:35:38 +01:00
Normann Lou
aed91931a7
MINOR SSF-53 : code convention, use "-" instead of "_" for html class property value
2012-03-12 09:35:25 +01:00
Sam Minnee
d63efeb4a5
Revert "MINOR: Remove 2px margin from create button in New Member area"
...
This reverts commit a5666d6d98
.
Conflicts:
admin/css/screen.css
2012-03-12 12:06:43 +13:00
Sam Minnee
d94048c1a6
BUGFIX: Fixed back redirectBack() call in GroupImportForm::doImport ( #6969 )
2012-03-10 14:56:49 +13:00
Sam Minnée
603a984ad4
Merge pull request #236 from silverstripe-big-o/pull/SSF-25
...
SSF-25: ModelAdmin
2012-03-09 15:23:20 -08:00
Ingo Schommer
9e6d70be64
MINOR Moved LeftAndMain->doAdd() and AddForm() to subclasses where they're actually used (no possible through a combination of architectural and UI changes)
2012-03-10 00:04:51 +01:00
Ingo Schommer
bf6317d534
MINOR Removed unrelated styles from .cms-panel-padded class (which should just do what it says)
2012-03-09 22:26:00 +01:00
Ingo Schommer
67a032ce17
MINOR Fixed button loading indicator ( fixes #6876 )
2012-03-09 22:05:06 +01:00
Ingo Schommer
549ebec53b
MINOR Fixed preview link ($CurrentPage stopped working at some point..) ( fixes #6940 )
2012-03-09 21:48:28 +01:00
Ingo Schommer
dd517c49ba
ENHANCEMENT Allowing to override importer instances in ModelAdmin ( fixes #2982 )
2012-03-09 15:33:24 +01:00
Ingo Schommer
115ea86b0c
MINOR Added support for preselected tabs in $('.ss-ui-tabs-nav')
2012-03-09 15:16:00 +01:00
Ingo Schommer
e12a3a4ab7
API CHANGE ModelAdmin uses GridField, DataList and new layout. Removed ModelAdmin_CollectionController, ModelAdmin_RecordController and related functionality.
...
API CHANGE Removed ModelAdmin->ResultColumns()/ColumnSelectionField, selection of own fields no longer possible through the UI, to be replaced by a more generic GridField component
2012-03-09 15:15:58 +01:00
Ingo Schommer
64db811d65
BUGFIX Convert pages from DataList to ArrayList in CMSBatchActionHandler to avoid problems on merge()
2012-03-09 09:28:20 +01:00
Sam Minnee
039ba665d4
Merge branch 'button_fixes' of https://github.com/ohararyan/sapphire into ohararyan-button_fixes
...
Conflicts:
admin/css/screen.css
2012-03-09 17:51:41 +13:00
Sam Minnée
bad7c1a0d7
Merge pull request #232 from robert-h-curry/mysite-_config-apostrophes
...
MINOR: Fix typographical errors.
2012-03-08 20:49:32 -08:00
Ryan O'Hara
fb17f169d9
MINOR: Remove invalid changes to input.hasDatepicker
2012-03-09 17:08:26 +13:00
Ryan O'Hara
a5666d6d98
MINOR: Remove 2px margin from create button in New Member area
2012-03-09 17:03:48 +13:00
Robert Curry
d34dca675a
MINOR: Fix typographical errors.
2012-03-09 17:00:25 +13:00
Sam Minnee
f51515b62a
Merge branch 'master' of https://github.com/adrexia/sapphire into adrexia-master
...
Conflicts:
admin/css/screen.css
2012-03-09 16:56:43 +13:00
Saophalkun Ponlu
c6d7301fab
BUGFIX: Change to a page url segment doesn't get saved properly caused by 'disabled' attribute on the field, which is added by url segment suggestion function (ticket #6842 )
2012-03-09 16:11:32 +13:00
Naomi Guyer
f048b7edf0
BUG FIX: Support for gradients in editor in IE9
...
Signed-off-by: Naomi Guyer <adrexia@gmail.com>
2012-03-09 15:04:26 +13:00
Sam Minnee
a071456837
Merge branch 'master' of github.com:silverstripe/sapphire
...
Conflicts:
tests/forms/gridfield/GridFieldDetailFormTest.php
tests/forms/gridfield/GridFieldPopupFormsTest.yml
2012-03-09 14:37:32 +13:00
Naomi Guyer
b7f5f91759
BUG FIX: Open new window for "Help" in CMS nav
...
Signed-off-by: Naomi Guyer <adrexia@gmail.com>
2012-03-09 14:07:12 +13:00
Russell Michell
5b4f83a567
BUGFIX: #6853 Necessary styles required to complement work on same-indexed commit in cms project
2012-03-09 13:20:27 +13:00
Stig Lindqvist
8b82dae06c
API CHANGE: Renaming of gridfield components #6921
2012-03-09 12:54:02 +13:00
Sean Harvey
c59c717d78
API CHANGE Removed CustomRequiredFields, please use custom validation instead
...
BUGFIX Ensure validators still used in ModelAdmin forms
2012-03-09 12:45:18 +13:00
Sean Harvey
9f3344b355
API CHANGE Removed built-in behaviour.js client-side form validation.
...
This is no longer supported. Please use custom client-side validation instead. (see 3.0.0 changelog
for more information)
2012-03-09 12:19:57 +13:00
Ingo Schommer
e4a6dd5850
Merge branch 'integration'
...
Conflicts:
forms/gridfield/GridField.php
2012-03-08 20:25:21 +01:00
Ingo Schommer
08c3e7edf3
MINOR More flexible form detection in LeftAndMain.Tree.js
2012-03-08 18:22:30 +01:00
Ingo Schommer
b836bce521
MINOR Fixed double form submit (in some cases button click events aren't cancelled despite returning FALSE)
2012-03-08 18:22:30 +01:00
Ingo Schommer
c117ef58cf
API CHANGE Removed LeftAndMain->RootForm(), concept no longer applies in 3.0 UI. Use EmptyForm() or EditForm()
2012-03-08 18:22:30 +01:00
Ingo Schommer
174cf08c75
MINOR Removing special TinyMCE case in LeftAndMain->doAdd(), feature has been removed
2012-03-08 18:22:30 +01:00
Ingo Schommer
ee2b220780
MINOR Supporting X-ControllerURL in form submits
2012-03-08 18:22:30 +01:00
Ingo Schommer
9517763ec6
MINOR Fixed PHP notice in ModelAdmin
2012-03-08 15:18:11 +01:00
Normann Lou
5e92c69c0a
BUGFIX SSF-25 : remove CreateForm, using the GridField 'Add New" action, instead
2012-03-08 20:29:19 +13:00
Normann Lou
2ea7c8d136
ENHANCEMENT SSF-25 : remove GridField filter component for search result in ModelAdmin
2012-03-08 20:29:19 +13:00
Normann Lou
d24c2ef1ed
FEATURE SSF-25 : change to use GridField for showing searched results in stead of TableListField
2012-03-08 20:29:18 +13:00
jbridson
72101c254a
MINOR:SSF-106 - fixed position of pagination on datagrid.
2012-03-08 17:21:26 +13:00
jbridson
3870ba4d0a
MINOR:SSF-53 - changed height of icon on back button in users detail view.
2012-03-08 16:40:05 +13:00
jbridson
bd85d038af
ENHANCEMENT:SSF-53 - hid the find button from the link existing member field on users groups.
2012-03-08 16:40:04 +13:00
jbridson
292bd79b82
BUGFIX:SSF-53 - fixed filter and reset buttons in ie7 and ie8 plus fixed an array of other ie7/8 styling bugs
2012-03-08 16:40:04 +13:00
jbridson
c5a42797de
ENHANCEMENT:SSF-53 - styled the label for the parent group input field on the users groups page.
2012-03-08 16:40:04 +13:00
Normann Lou
de69d0944b
BUGFIX SSF-25 : $Form is not defined in the context, sine {$Form.Name} always give 'Form' string, we need just have 'Form' string there instead to use {$Form.Name}
2012-03-08 15:38:02 +13:00
Normann Lou
767336916b
ENHANCEMENT SSF-25 : use a title if users/devs has set one instead using a hard-coded one
2012-03-08 15:17:52 +13:00
Ingo Schommer
139ccc37da
MINOR Highlighting modified nodes (basic success visualization)
2012-03-08 01:49:36 +01:00
Ingo Schommer
27d23633ea
MINOR Disabled browser autocomplete for batch action select
2012-03-08 01:49:36 +01:00
Ingo Schommer
137839ae4e
MINOR Fixed BatchAction.js behaviour
2012-03-08 01:49:36 +01:00
Ingo Schommer
3916e33c39
MINOR Hide drag icons when tree is in multiselect, and root node checkbox when tree is in multiselect (but limit to content tree)
2012-03-08 01:49:35 +01:00
Ingo Schommer
6b910ca25f
ENHANCEMENT Disable batch action selection unless we're in multiselect mode (no way to single select in tree), updating chosen.js and jquery.button state properly
2012-03-08 01:49:35 +01:00
jbridson
4d39813a80
BUGFIX:SSF-30 - moved tabs SCSS from _style.scss to AssetAdmin.scss
2012-03-08 09:03:47 +13:00
Ingo Schommer
9a96b92c81
MINOR Moved $('.cms-panel-link') and $('.cms-link-ajax') behaviours to "higher order" namespace
2012-03-07 17:17:47 +01:00
Ingo Schommer
c820692e9e
MINOR Ensuring .cms-panel-padded overrides .cms .ui-tabs
2012-03-07 16:20:46 +01:00
Ingo Schommer
bb8bda862e
MINOR Allowing .cms-content-fields to have its own layout
2012-03-07 16:20:28 +01:00
Ingo Schommer
69a8659a3d
ENHANCEMENT Using 'autoresize' TinyMCE plugin in HTMLEditorField default config, in order to save space when no content is entered into the field
2012-03-07 13:32:42 +01:00
Julian Seidenberg
13c7c01b95
MINOR: changing order of save and delete buttons so that they are consistent
2012-03-07 16:43:12 +13:00
jbridson
4590436779
MINOR:SSF-53 changed the class of export to csv icon in scss.
2012-03-07 15:33:15 +13:00
jbridson
ecb7d92471
MINOR:SSF-53 corrected the icon styling on export to csv button - properly implemented the compass sprite.
2012-03-07 15:29:43 +13:00
jbridson
c0e1500ded
ENHANCEMENT:SSF-30 - changed the SCSS so that the styling on the view tabs is more specific to pages and files.
2012-03-07 14:50:31 +13:00
Normann Lou
88a61f9ebe
MINOR SSF-30 : add extra field to Tabs (listView and TreeView) to LeftAndMain EditForm
2012-03-07 14:30:24 +13:00
jbridson
d28e32a16e
ENHANCEMENT:SSF-30 - moved some code so that the css doesn't override the negative text indent on the view tabs.
2012-03-07 14:28:23 +13:00
jbridson
301c6801a4
MINOR:SSF-53 changed export to CSV icon to use the button-icon sprite.
2012-03-07 11:40:04 +13:00
Ingo Schommer
4e9a4bd9c9
ENHANCEMENT Changed batch action logic, no longer updates applicable pages on batch action drop down selection, as this selection triggers the action itself. To be replaced with a more powerful dialog system in case the action is disallowed on some nodes
2012-03-06 21:38:35 +01:00
Ingo Schommer
36ed7d255f
MINOR Fixed tree title updating after batch action completion
2012-03-06 21:38:35 +01:00
Ingo Schommer
f39680206a
BUGFIX Fixed $('.cms-tree').getNodeByID(), was always returning tree instance instead of node because 'get_node' isn't a public method, hence ignored
2012-03-06 21:38:35 +01:00
Ingo Schommer
e147971910
MINOR Don't show status message for normal HTTP responses in BatchActions
2012-03-06 21:38:35 +01:00
Ingo Schommer
ea4bbe594c
ENHANCEMENT Allowing individual parent selection in tree, rather than auto-selecting children (precondition for applying batch actions independently)
2012-03-06 21:38:35 +01:00
Ingo Schommer
746e3ea05e
MINOR Avoid applying jstree plugin multiple times when onmatch is called on CSS class changes, rather than DOM insertions
2012-03-06 21:38:34 +01:00
Ingo Schommer
0c6bc2f7a1
MINOR Moving Tree.js entwine rules into namespace (wasn't applying multiple/draggable toggles because of that)
2012-03-06 21:38:34 +01:00
Ingo Schommer
755a9c398a
MINOR Fixed selected node styling in _treee.scss, was styling children as selected as well
2012-03-06 21:38:34 +01:00
Ingo Schommer
8efaf75375
MINOR jQuery UI icons for GridField buttons (with spriting), added new icon to GridFieldRelationDelete to dustinguish it visually from GridFieldAction_Delete
2012-03-06 21:38:34 +01:00
jbridson
861785958a
MINOR:Re-instated the Go button on the actions button for page tree batch actions.
2012-03-07 08:56:44 +13:00
Julian Seidenberg
ee37adbc87
ENHANCEMENT: SSF-33 Binding the 'cms-link-ajax' class to a javascript function that triggers a CMS ajax method and displays a status message
2012-03-06 18:22:01 +13:00
jbridson
d2fa232fcd
MINOR:SSF-30 - added a new png icon for disabled back button.
2012-03-06 15:55:53 +13:00
jbridson
597b12e823
ENHANCEMENT: SSF-53 - Styled the pagination and icons on export to CSV button on User datagrid.
2012-03-06 15:55:26 +13:00
jbridson
de7167b23f
MINOR:SSF-30 - Changed the back arrow icon to the correct one.
2012-03-06 15:04:19 +13:00
Julian Seidenberg
ebf23abbbf
ENHANCEMENT: SSF-33 always selecting the first tab (list view) when doing a search
2012-03-06 13:46:38 +13:00
Ingo Schommer
3223404a3f
MINOR Disabled two SecurityAdmin tests related to CSV export, which is not fully implemented in the new interface yet. Fixed the group URL in another test.
2012-03-06 01:23:35 +01:00
Ingo Schommer
9bbac335c4
MINOR Merging SecurityAdmin->getEditForm() with RootForm(), in order to have the form fields consistently available (there's no longer a distinction between edit/root)
2012-03-06 01:23:34 +01:00
Hamish Friedlander
28bb83552a
API-CHANGE: moving iterator support from ViewableData to SSViewer. New set of unit tests for iterator support functions.
2012-03-06 09:31:55 +13:00
Hamish Friedlander
927dbbe717
API-CHANGE: Global template variables can now be called directly using SSViewer_DataPresenter instead of needing to inherit off ViewableData
2012-03-06 09:11:46 +13:00
Ingo Schommer
6f71186e2c
ENHANCEMENT Replaced SecurityAdmin tree view for groups with three top-level tabs: "Users", "Groups" and "Roles"
2012-03-05 18:31:52 +01:00
Ingo Schommer
0117b32fee
API CHANGE Removed MemberTableField, use GridField with GridFieldConfig_RelationEditor instead
2012-03-05 17:41:51 +01:00
Ingo Schommer
8da89c6f7c
MINOR Generic .cms-help-toggle implementation to replace MemberDatetimeOptionsetField.js (which also didn't work when loaded via Ajax, and needed a rewrite to jQuery.entwine anyway)
2012-03-05 17:41:50 +01:00
Ingo Schommer
f9f659672a
MINOR Re-instating Member_Validator in SecurityAdmin->RootForm() and Groups->getCMSFields() with new GridField implementation
2012-03-05 17:41:50 +01:00
Ingo Schommer
9a02f19b66
MINOR .message styling
2012-03-05 17:41:50 +01:00
Ingo Schommer
94d985e0c4
MINOR Only disable chosen.js placeholder if no custom one exists
2012-03-05 17:41:50 +01:00
Ingo Schommer
2abb021efb
BUGFIX Restored old permission code model, broken due to new controller structure. Introduced LeftAndMain::$required_permission_codes as a way to control permissions independently of subclasses, and "cluster" multiple classes under a single code.
2012-03-05 17:41:49 +01:00
Ingo Schommer
bfd7adc666
MINOR Fixed default link styling in CMS, was too little contrast on light grey background
2012-03-05 17:41:49 +01:00
Ingo Schommer
e9a2de35c2
ENHANCEMENT Using GridField to edit roles in SecurityAdmin
2012-03-05 17:41:49 +01:00
Ingo Schommer
fe29d4ecfc
MINOR Updated chosen.js from 0.9.5 to 0.9.7
2012-03-05 17:41:49 +01:00
Ingo Schommer
ad5cf1ebf1
ENHANCEMENT Using ListboxField/chosen.js to assign roles in Group->getCMSFields(). Improved explanation of groups in the user interface.
2012-03-05 17:41:47 +01:00
Ingo Schommer
eab8401c7d
MINOR Applying chosen.js behaviour to all <select multiple>, rather than arbitrarily limiting to a CheckboxSetField. Also fixed a bug where those fields would get the '.has-chzn' class even if it wasn't applied due to a missing <select> element.
2012-03-05 09:21:24 +01:00
Ingo Schommer
a6a7b2e469
MINOR Fixed viewer/editor groups field widths to work with chosen.js UI component
2012-03-05 09:13:19 +01:00
Ingo Schommer
e8f9624b42
BUGFIX Moved window.beforeunload handler out of onmatch(), was applied multiple times and causing unsaved changes confirmation messages on forms which were no longer loaded
2012-03-05 09:13:19 +01:00
Ingo Schommer
c69e949bc9
MINOR Show all "can view" options in page settings in their own line, as it makes it easier to scan available options
2012-03-05 09:13:19 +01:00
Ingo Schommer
b242bfb3da
BUGFIX Include GET parameters of current URL in GridField on ajax reloads to retain view state
2012-03-02 20:46:22 +01:00
Ingo Schommer
02e728fa08
BUGFIX Fixed visibility of admin/myprofile for non-admins by moving it to a new CMSProfileController class and overloaded canView()
2012-03-02 20:46:22 +01:00
Ingo Schommer
46628721fe
ENHANCEMENT Using chosen.js for group selection in Member->getCMSFields()
2012-03-02 20:46:22 +01:00
Ingo Schommer
9f5e26d12b
ENHANCEMENT Generic search form uses loadPanel() rather than being tied to GridField (requires backend changes, see AssetAdmin), and uses jquery.form to do resets
2012-03-02 15:20:17 +01:00
Ingo Schommer
3659c63afe
MINOR Updated jquery.form.js plugin, and re-added it to standard includes (its handy for clearing out forms, and consistently getting form field values)
2012-03-02 13:42:15 +01:00
Normann Lou
45927b98c4
ENHANCEMENT SSF-53: add customised class to Member's GridField in SecurityAdmin
2012-03-02 16:28:47 +13:00
Ingo Schommer
3ded12e599
MINOR Removed obsolete "add member" button in SecurityAdmin, now handled through GridField (SSF-53)
2012-03-01 21:36:01 +01:00
Ingo Schommer
3f07b9bffa
MINOR Fixed PermissionCheckboxSetField readonly styles (SSF-53)
2012-03-01 21:35:48 +01:00
Ingo Schommer
4bd5333b56
MINOR Editing and relation adding on SecurityAdmin groups (both root and group instances) (SSF-53)
2012-03-01 21:35:48 +01:00
Ingo Schommer
23bd11281d
MINOR Ensure global CMS behaviour is applied in dialogs and frames like UploadField as well (they only have the .cms class, not .cms-container)
2012-03-01 11:59:28 +01:00
Ingo Schommer
f8201c48a3
MINOR More generic CSS styles for .cms-file-info: Apply to form.small parent, fixed related UploadField spacing issues
2012-03-01 11:58:16 +01:00
Ingo Schommer
a415034d0a
MINOR Changed GridField.js edit click behaviour from event-based to an (subclassable) method class, which means it works outside of the CMS by default. Making the whole row active in case an edit link is present
2012-03-01 00:20:25 +01:00
Ingo Schommer
1b600a0b09
MINOR Fixed empty breadcrumbs in AssetAdmin when using non-existent (singleton) record as the "current record"
2012-03-01 00:20:25 +01:00
Ingo Schommer
da879da940
MINOR Styling and structural fixes for File/Image->getCMSFields() and relates usage in UploadField/HTMLEditorField.
2012-02-29 21:06:43 +01:00
Ingo Schommer
7d10ff790c
MINOR Fixed JS notice/alerts in CMS
2012-02-29 17:15:52 +01:00
jbridson
e61a7868fd
BUGFIX:changed the colour of the font on the default tabs to match the designs
2012-02-29 16:26:52 +13:00
jbridson
e4496fefc1
BUGFIX:SSF-106 added fix for no delete icons in ie7
2012-02-29 16:00:30 +13:00
jbridson
e932be3a9a
ENHANCEMENT:SSF-30 - partially finish - fixed broken layout on edit files 404error.html
2012-02-29 15:31:09 +13:00
Felipe Skroski
be114b418e
MINOR: (SSF-106) Added the images of the previous commit
2012-02-29 13:55:48 +13:00
jbridson
59df00d302
BUGFIX:fixed position of back button in the cms-content-header - adapted design to work around the inclusion of tabs.
2012-02-29 11:06:42 +13:00
jbridson
af59228036
MINOR:fixed the positioning of the viewmode (drag and drop, mulitiselect) on the pages treeview
2012-02-29 09:56:38 +13:00
jbridson
b53a32ae34
MINOR:SSF-30 changed measures to be multiples of grid-x and grid-y
2012-02-29 09:56:38 +13:00
Ingo Schommer
5cc33ab843
Merge branch 'master' into integration
...
Conflicts:
admin/css/screen.css
admin/scss/_style.scss
2012-02-28 20:17:43 +01:00
Ingo Schommer
af9e46af74
MINOR LeftAndMain->Breadcrumbs() ordering
2012-02-28 18:48:20 +01:00
Ingo Schommer
f67cca321c
BUGFIX Using RequestHandler->urlParams rather than HTTPRequest->param() in LeftandMain->currentPageId() in order to avoid the wrong ID being chosen on nested controllers like GridField with their own "ID" parameters in the URL signature
2012-02-28 18:48:02 +01:00
Ingo Schommer
6e9bf8859e
MINOR Force full redraw when panels are initiated
2012-02-28 18:09:33 +01:00
Ingo Schommer
a62881a137
MINOR Always padding panels
2012-02-28 18:09:32 +01:00
Ingo Schommer
07abcb1dda
MINOR Fixed button styling in CMS content header (tab styles not specific enough)
2012-02-28 18:09:32 +01:00
Ingo Schommer
da57794014
MINOR Using ":submit" selector instead of ":button" in order to capture <input> tags as well
2012-02-28 18:09:32 +01:00
Ingo Schommer
25d0196b04
MINOR Merge errors
2012-02-28 18:09:30 +01:00
Felipe Skroski
d0e3129677
MINOR: Added new spinner
2012-02-28 18:07:24 +13:00
Ingo Schommer
f3fe62e740
Merge branch 'master' into integration
...
Conflicts:
admin/css/screen.css
2012-02-28 00:35:17 +01:00
Ingo Schommer
832d410303
MINOR Merge errors
2012-02-28 00:34:15 +01:00
Ingo Schommer
bcc73de85e
Merge branch '106-add-edit-records-rc'
...
Conflicts:
admin/code/LeftAndMain.php
admin/css/screen.css
admin/scss/_style.scss
admin/templates/Includes/LeftAndMain_EditForm.ss
css/GridField.css
filesystem/Folder.php
forms/gridfield/GridField.php
forms/gridfield/GridFieldDefaultColumns.php
forms/gridfield/GridFieldPopupForms.php
2012-02-27 23:58:10 +01:00
Ingo Schommer
f1775b5f84
MINOR Backlinks in CMS edit form template, first defined in GridFieldPopupForms
2012-02-27 23:52:49 +01:00
Ingo Schommer
e95a2cf40c
MINOR Pad fields in base CMS template when no tabs exist, to avoid requiring a template overload for this simple view setting
2012-02-27 23:52:48 +01:00
Ingo Schommer
3b53ed1937
MINOR Moved some CMS-specific template config into GridFieldPopupForms, to make the external API easier to use, and make specific configs less dependent on the instanciation context, and more tuned to the actual execution controller context
2012-02-27 23:52:48 +01:00
Ingo Schommer
ba0d1c60cb
MINOR Don't require controller on instanciation of GridFieldPopupForms, as it can't be reliably determined e.g. during a getCMSFields() call. Should use existing FormField/Form API to retrieve controller when its required.
...
MINOR Renamed GridFieldPopupForms->popupFormName to $name to make it clearer that its the component name (which is optional now).
2012-02-27 23:52:48 +01:00
Julian Seidenberg
550f75408e
ENHANCEMENT: File and Image CMSFields styling
2012-02-27 23:52:40 +01:00
Normann Lou
f7030c56a5
BUGFIX: Page tree node reflects any changes made to page (title, publication status) in its edit view, implemented on the level of cms-content dom element, rather than cms-edit-form level
2012-02-27 12:47:36 +13:00
Normann Lou
587d195647
BUGFIX: Page tree node reflects any changes made to page (title, publication status) in its edit view
2012-02-24 16:46:46 +13:00
Sam Minnée
61c810a79a
Merge pull request #200 from simonwelsh/patch-1
...
BUGFIX Fallback to sapphire/silverstripe_version if there is no CMS (fra...
2012-02-23 19:14:09 -08:00
Ingo Schommer
312850aee9
Merge branch 'master' into integration
...
Conflicts:
admin/css/screen.css
admin/scss/_style.scss
2012-02-24 00:32:30 +01:00
Ingo Schommer
8fcb40cdf0
Merge remote-tracking branch 'silverstripe-scienceninjas/pull/SSF-12'
2012-02-23 23:38:29 +01:00
Ingo Schommer
58f5b870a4
MINOR Added more fugue sprites
2012-02-23 23:29:59 +01:00
Ingo Schommer
30989b598d
ENHANCEMENT Added path manipulation lib from jQuery.mobile, using it to ensure all URLs are made absolute (to fix IE issues)
2012-02-23 23:29:59 +01:00
Ingo Schommer
9465df6fb4
MINOR Less specific button selectors in CMS JavaScript to cover <button> tags as well
2012-02-23 23:29:58 +01:00
Ingo Schommer
8b6ef6599e
MINOR Updating usage of jQuery.data() to confirm with API changes in 1.6 (camelcased names)
2012-02-23 23:29:58 +01:00
Ingo Schommer
bb42afe32f
MINOR Removed inline CSS styles
2012-02-23 23:29:58 +01:00
Ingo Schommer
39dc5ae301
MINOR Load breadcrumb links via ajax into panels in CMS
2012-02-23 23:29:57 +01:00
Ingo Schommer
3c29a9268c
MINOR AssetUploadField styling
2012-02-23 18:39:42 +01:00
Ingo Schommer
6e6fdaf79e
MINOR Applying default padding to edit form template rather than the tabs it contains, which allows a more standardised UI even when no tabs are present in the CMS content area (e.g. in "add files")
2012-02-23 18:39:42 +01:00
Simon Welsh
df82dac334
BUGFIX Fallback to sapphire/silverstripe_version if there is no CMS (framework only)
2012-02-23 20:46:34 +13:00
Felipe Skroski
1ebd83df1a
ENHANCEMENT: styled the header of the datagrid (SSF-106)
2012-02-22 16:29:37 +13:00
Ingo Schommer
3cad19a97e
MINOR JS formatting
2012-02-21 17:46:58 +01:00
Stig Lindqvist
82748a0873
MINOR JS functionality on intercepting injected filtering of gridfields in LeftAndMain inherited Controllers.
2012-02-21 17:09:09 +13:00
Ingo Schommer
abfa16fa70
ENHANCEMENT Using native jQuery UI buttons and icon styling for a less coupled implementation (e.g. assuming that a "constructive" button always has a specific icon, or one at all). All CMS UI buttons switched to use <button> markup, which allows for inline icons and correctly aligned multi-line button labels.
2012-02-17 15:58:32 +01:00
Ingo Schommer
743a26be05
MINOR Reverted conditional redraw of preview panel introduced in a1e9c0f4
, too unstable
2012-02-17 15:58:31 +01:00
Ingo Schommer
bb7c128025
MINOR JS syntax errors
2012-02-17 15:58:31 +01:00
Ingo Schommer
fd847dda4d
MINOR Customized jQuery.layout.js to support fetching layout type through HTML5, for easier readability and avoiding the $.metadata dependency (which fails to parse HTML5 data attrs correctly)
2012-02-17 13:35:54 +01:00
Ingo Schommer
4e99af7047
MINOR Using HTML5 data attributes for denoting layout in templates
2012-02-17 13:35:54 +01:00
Ingo Schommer
ac56fef8b4
MINOR Removed jQuery.metadata usage in CMS, use jQuery.data() and HTML5 data attributes instead. Also fixes errors where jQuery.metadata tries to eval() HTML5 data attrs, which isn't always applicable
2012-02-17 13:35:53 +01:00
Ingo Schommer
a3d8185d8e
MINOR Click behaviour for special "panel loading" links in the CMS
2012-02-17 13:33:38 +01:00
Ingo Schommer
ca9b78f255
MINOR Re-apply custom jstree onselect behaviour on partial form refreshes
2012-02-17 13:33:38 +01:00
jbridson
76ddb3c53b
BUGFIX:fixed various styling issues in cms (raised in SSF-188)
2012-02-17 17:00:29 +13:00
jbridson
18131ae64a
MINOR:fixed bug with tabs - created more specific styling for the page view tabs so that they do not affect the tabs sitewide.
2012-02-17 12:40:19 +13:00
Ingo Schommer
5911abc0f6
API CHANGE Removed prototype.js style $() alias usage for document.getElementById() to avoid confusion with the more common jQuery() alias.
...
API CHANGE Removed several unsed JavaScript globals: sprintf(), Number.prototype.CURRENCIES, Number.prototype.toCurrency(), String.prototype.ucfirst(), jQuery.fn.clearFields(), jQuery.fn.clearInputs()
MINOR Removed prototype_improvements.js and jquery_improvements.js files, now contained in individual component code (or removed altogether)
2012-02-16 12:27:47 +01:00
Ingo Schommer
0e3e2904a4
MINOR Redraw the whole layout on form submit, instead of relying on .cms-content onmatch() which doesn't get fired on partial refreshes (e.g. in CMSPageEditController)
2012-02-16 12:17:03 +01:00
Ingo Schommer
d41f37f771
MINOR Hiding collapsed panel views by CSS to avoid FOUC, and initialising component without triggering events to avoid redrawing the whole CMS layout twice due to it listening for panel changes
2012-02-16 11:45:07 +01:00
Ingo Schommer
44d82209a9
MINOR Improved collapsed panel view by auto-hiding panel headers and avoid ugly cropped overflow effect
2012-02-15 14:26:46 +01:00
Ingo Schommer
51fe1fa1ca
MINOR More events for LeftAndMain.Panel.js
2012-02-15 14:26:46 +01:00
Ingo Schommer
a1e9c0f41e
ENHANCEMENT CMS panels restructured to use two new types of "tools" templates, fetched through LeftAndMain->Tools() and LeftAndMain->EditFormTools(). Requires less overloading of template markup.
2012-02-15 14:26:45 +01:00
Ingo Schommer
92d513857c
MINOR Changed $Left placeholder in CMS templates to $Tools, documented it
2012-02-15 14:26:45 +01:00
Ingo Schommer
060e110481
MINOR Allow expanding a collapsed panel by a click on the visible surface
2012-02-15 14:26:45 +01:00
Ingo Schommer
2acce7b632
MINOR Moved menu-specific panel logic in LeftAndMain.Menu.js to avoid weakening base library
2012-02-15 14:26:45 +01:00
Ingo Schommer
7a8e634d8f
MINOR Reverted hiding of tab titles
2012-02-14 17:31:32 +01:00
Ingo Schommer
37dfbb6b7e
ENHANCEMENT LeftAndMain->Breadcrumbs()
2012-02-14 17:31:32 +01:00
Ingo Schommer
42f3c542f8
MINOR Shorter SCSS $grid-* variables to promote wider usage (amended)
2012-02-14 17:31:23 +01:00
Ingo Schommer
5220a46fd0
ENHANCEMENT Inserting image via new dialog with ajax field retrieval and GridField file selection. Rewritten to jQuery.entwine and using the new HTML editor abstraction layer.
2012-02-14 13:53:35 +01:00
Ingo Schommer
a96429cba6
MINOR Removed unused "nullConverter" callback in TinyMCE CMS integration
2012-02-14 13:53:34 +01:00
Ingo Schommer
3866f561f5
ENHANCEMENT Using GridField for file selection in "insert image" dialog
...
API CHANGE Combined HTMLEditorField_Toolbar->FlashForm() and ImageForm() into new MediaForm() to handle both file types
2012-02-14 13:30:52 +01:00
Ingo Schommer
4437f9db4f
MINOR Shorter SCSS $grid-* variables to promote wider usage
2012-02-14 11:18:58 +01:00
Cam Findlay
0a75a34af1
MINOR Styles for form help text
2012-02-14 08:59:31 +01:00
Ingo Schommer
f6748f5b56
MINOR Merge errors
2012-02-13 18:15:09 +01:00
jbridson
23e7aeeea4
MINOR Tree and content toolbar styling fixes (SSF-138, SSF-71)
2012-02-13 09:53:00 +01:00
Normann Lou
4bd526fbee
MINOR Don't follow <a> tag's href if click on page-icon or drag-icon (SSF-109)
2012-02-13 09:52:59 +01:00
Fred Condo
d370423825
Clean up trailing ?> per coding standard
...
All sapphire but the lang directory
2012-02-12 12:40:16 -08:00
Will Rossiter
649f4cef9c
ENHANCEMENT: allow left column on LeftAndMain::getEditForm
2012-02-11 14:01:43 +13:00
Ingo Schommer
5bf79f8146
BUGFIX Removed tinymce-advcode plugin which breaks with new TinyMCE and newer browsers. Both the plugin and the underlying 'codepress' engine are unmaintained. Fall back to standard (non-highlighted) TinyMCE <textarea> editing ( fixes #6779 )
2012-02-11 01:08:04 +01:00
Anselm Christophersen
0fd8482be6
Button overflow contained to max 100% + outcommented instructions on how button styling can be increased for Webkit & IE9
...
Last changes & comments
2012-02-09 14:59:45 +01:00
Ingo Schommer
c2f201f6ca
MINOR Fixed profile link (was broken due to admin/ => admin/pages redirect)
2012-02-08 15:34:41 +01:00
Ingo Schommer
55ddbd38bc
ENHANCEMENT Replaced custom profile dialog JS with generic ssui-core.js functionality. Removed cookie state saving abilities for now, not a high priority to re-implement)
2012-02-08 15:34:40 +01:00
Felipe Skroski
f4c140bcf4
MINOR Cleaner tree icons
2012-02-03 15:27:33 +01:00
Normann Lou
80a08aab60
MINOR Collapsing filter breaks the main navigation (SSF-108)
2012-02-03 15:27:24 +01:00
Normann Lou
deee8a294a
BUGFIX: SSF-107, Filter bar should be collapsed by default, this fix works with fix of cms repo commit eec833215dcaa7a4510f7b4724413a39160d1ad7 (see gist https://gist.github.com/1720221 )
...
MINOR: correct in-line document
2012-02-03 15:27:24 +01:00
Felipe Skroski
586ae4ab6e
MINOR GridField column header and sorting styles
2012-02-03 15:27:18 +01:00
Ingo Schommer
c0d187071a
ENHANCEMENT New UploadField class to replace FileIframeField, ImageField and SimpleImageField
2012-02-03 01:00:08 +01:00
Ingo Schommer
041da993fa
ENHANCEMENT Added generic 'small' form style
2012-02-03 00:46:49 +01:00
Ingo Schommer
d261f4406a
API CHANGE silverstripe_version file now contains the plain version number, rather than an SVN path
2012-02-01 18:42:21 +01:00
Sam Minnee
2d898cab63
API CHANGE: Added GridFieldExporter, a GridField component that adds export functionality, and added it to the security admin.
2012-01-30 19:49:10 +13:00
Sam Minnee
24850954c1
BUGFIX: Fixed bug in sprintf syntax with GroupImportForm iframe
2012-01-30 19:25:27 +13:00
Stig Lindqvist
dc85fa09b9
MINOR SecurityAdmin::getEditForm should have same signature as LeftAndMain::getEditForm
2012-01-24 02:46:12 +01:00
Stig Lindqvist
ed889529b4
API CHANGE Added two predefined GridFieldConfigs and removal of unsused accessors
...
- GridFieldConfig_ManyManyEditor for default relationship list managment
- GridFieldConfig_Base for basic list managment
2012-01-24 02:46:12 +01:00
Stig Lindqvist
c396c2d2ae
API CHANGE Security admin supports adding, removing and searching for members by relations via gridfield
...
This contains some experimental API's when using GridFieldPopupForms on GridFieldPopupForms.
- GridFieldRelationAdd
- GridFieldRelationDelete
2012-01-24 02:46:07 +01:00
Jeremy Thomerson
09bb6d404c
Use corrected function name from silverstripe-cms project
...
The CMS project had a function named "SiteTree::prepopuplate_permission_cache" which
should be "SiteTree::prepopulate_permission_cache". Since another commit corrected
the function name in that project, this project needs to use the new name.
2012-01-23 14:29:55 -05:00
Ingo Schommer
8ba585be27
MINOR Fixing button whitespace gaps and "interrupted" buttonsets
2012-01-23 10:23:49 +01:00
Wolf Vollprecht
0444d4ea16
ENHANCEMENT Buttonsets for CMS ( fixes #6631 ), using new jQuery UI button() to style buttons in CMS, moved JavaScript to LeftAndMain.js as the button styles only apply with an .Actions container now
2012-01-23 09:35:07 +01:00
Ingo Schommer
d456e86cbd
MINOR Name attribute for preview iframe (mainly to facilitate testing)
2012-01-22 18:28:33 +01:00
Ingo Schommer
e18698d541
MINOR Wrapping tree title in its own element (mainly to facilitate selectors during testing)
2012-01-22 18:27:57 +01:00
Ingo Schommer
a6cc7d8392
MINOR Enforce SiteTree::$allowed_children in tree drag'n'drop for VirtualPage originals
2012-01-14 13:07:13 +01:00
Sam Minnée
5ab38ae13b
Merge pull request #156 from chillu/gridfield-assetadmin
...
Gridfield assetadmin
2012-01-09 13:08:29 -08:00
Ingo Schommer
a1c63a2912
MINOR Only setting style attributes in LeftAndMain panel handling if it was previously set
2012-01-09 21:21:41 +01:00
Ingo Schommer
f50e11bbfb
MINOR Separating menu entries for "add file" and "edit file"
2012-01-09 21:17:56 +01:00
Ingo Schommer
a06300f0b4
ENHANCEMENT GridFieldItemEditView (and specific view and behaviour for usage in CMS)
2012-01-09 21:17:56 +01:00
Ingo Schommer
0caf1991cf
MINOR Better failsafes for tree hints (allows move if hint for class is if not defined)
2012-01-09 13:20:02 +01:00
Ingo Schommer
ef514b924e
MINOR Fixed SecurityAdmin styling
2012-01-09 10:09:40 +01:00
Ingo Schommer
aff72e766e
MINOR Simpler field alignment of OptionsetField (and some specifics for member-profile-form)
2012-01-09 10:09:40 +01:00
Ingo Schommer
c6e1937021
MINOR Rotated labels for collapsed panels
2012-01-06 16:58:04 +01:00
Ingo Schommer
e7747b0240
ENHANCEMENT Saving panel collapse UI state in cookie
2012-01-06 16:58:00 +01:00
Ingo Schommer
a633326c3e
ENHANCEMENT Allow Requirements::add_i18n_javascript() to return its files more optimised inclusion, using it in LeftAndMain
2012-01-06 15:34:29 +01:00
Ingo Schommer
fcc01a322b
MINOR More spriting in CMS styles
2012-01-06 11:59:14 +01:00
Ingo Schommer
850ea4cd7b
MINOR Don't combine CMS-related CSS files in LeftAndMain, as it breaks relative image paths
2012-01-06 10:46:27 +01:00
Ingo Schommer
66d01d645b
MINOR Deselected menu toggles
2012-01-06 00:06:34 +01:00
Ingo Schommer
6edf055dff
ENHANCEMENT Added children toggle actions to CMS menu, fixed menu link update behaviour when records change
2012-01-05 23:17:55 +01:00
Ingo Schommer
d8388b7140
MINOR Improved .cms-add-form styling
2012-01-05 23:17:46 +01:00
Ingo Schommer
e4d65ab01b
MINOR Adding step indicators to "insert link" dialog
2012-01-03 23:01:05 +01:00
Ingo Schommer
97bff7e83d
MINOR More robust way to style "triangle"/"flyout"/"step indicator" in forms, via background image rather than CSS3 with hard-to-maintain dimension and positioning tweaks. Use inline-block to have it working within other elements (+titles) rather than standalone
2012-01-03 23:01:05 +01:00
Ingo Schommer
d9ad1e6e78
MINOR Cache link forms for a couple of minutes, as they don't contain any record/interface specific settings and generally only change when the underlying PHP is changed
2012-01-03 23:01:05 +01:00
Ingo Schommer
1ec694d0a9
MINOR Moved EditorToolbar() from CMSMain to LeftAndMain (as we don't support loading link forms via ajax)
2012-01-03 23:01:02 +01:00
Ingo Schommer
b4b6e5a2db
MINOR Cleaned up CMS dialog styling (now works with/without tabs, in iframe and inline markup), removed superfluous SCSS variable declarations
2012-01-03 18:11:21 +01:00
Ingo Schommer
3202d12933
MINOR Moved ModelAdmin styles into separate file
2012-01-03 18:11:21 +01:00
Ingo Schommer
8dd64bd2ef
MINOR Using box-sizing to lay out form fields rather than relying on hacky 90% widths + pixel-based paddings, which makes it impossible to align anything outside of the field container the these elements. Using conditional CSS to disable field padding if box-sizing is not available. Generalized "stacked" form pattern in _form.scss, fixed CMS actions padding to align with fields.
2012-01-03 18:11:21 +01:00
Ingo Schommer
c0c073e03f
MINOR Disable 'preview' button if not applicable
2012-01-03 18:11:18 +01:00
Ingo Schommer
a24675c6be
MINOR Updated chosen.js to 0.9.5
2012-01-03 12:08:29 +01:00
Ingo Schommer
0cf6421afe
MINOR Button styling for "insert" dialogs
2012-01-03 09:38:42 +01:00
Ingo Schommer
7af52b140b
MINOR Applying button behaviour to .cms namespace in order to include dialogs as well
2012-01-03 09:36:23 +01:00
Ingo Schommer
0dab75c3a0
MINOR Making SecurityAdminTest more resilient against markup order changes
2012-01-02 16:48:36 +01:00
wolfv
2ccda564ca
ENHANCEMENT: #6579 Show page status in page tree (pull request #142 from wolfv/sapphire)
2011-12-29 10:35:44 +01:00
Wolf Vollprecht
2a429c9850
MINOR: Added Member Profile Popup Styling
...
MINOR: Better button styles
MINOR: Now compass for button sprites
2011-12-29 09:48:22 +01:00
Ingo Schommer
7d245c3803
MINOR Reduced unnecessary autoloading
2011-12-23 10:31:35 +01:00
Ingo Schommer
53506f37f2
MINOR Don't remove checkboxes from page tree after batch actions, as it causes an inconsistent UI ('multi-select' view is still enabled) ( fixes #6758 )
2011-12-21 10:48:53 +01:00
Ingo Schommer
0d26776e09
MINOR Deselecting tree items after swtiching back from multi-select ( fixes #6810 , thanks wolfv)
2011-12-21 10:19:42 +01:00
Anselm Christophersen
cdedbb8d37
MINOR ModelAdmin styling
2011-12-20 18:00:56 +01:00
Ingo Schommer
30377f277e
MINOR Update CMS menu state on form submission (as well as history state change)
2011-12-20 17:46:44 +01:00
Ingo Schommer
225776389a
MINOR Allow overwriting of 'X-Controller' and 'X-Title' HTTP headers in CMS
2011-12-20 17:46:44 +01:00
Ingo Schommer
c70e70b5c4
MINOR Removing compass asset_cache_buster functionality, as it wrongly changes the hashes even if files haven't changed, causing merging hassles - leave cache control to the webserver
2011-12-20 17:46:43 +01:00
Ingo Schommer
2211fc11ca
MINOR Added reuseable .cms-panel-padded style
2011-12-20 17:46:43 +01:00
Ingo Schommer
47f53dfa39
MINOR Reverted special styling of preview button in CMS, too hard to keep consistent alignment
2011-12-20 17:46:43 +01:00
Ingo Schommer
ac963755dd
ENHANCEMENT Support for fake "redirects" in ajax responses via History.replaceState() (used e.g. for an add form loading the record for editing afterwards, under its own URL)
2011-12-20 17:46:38 +01:00
Ingo Schommer
068fcb209f
MINOR Added temporary, hardcoded "add page" menu links
2011-12-20 14:10:08 +01:00
Ingo Schommer
11b3b43c84
MINOR Only load preview panel if its visible, to avoid unnecessary asset loads and processing. Only refresh edit form view from preview events when its visible.
2011-12-19 15:06:04 +01:00
Ingo Schommer
f1f8dcd24d
MINOR Improved CMS UI context by showing breadcrumbs in form record title, using current record instead of form field to determine values
2011-12-19 14:57:11 +01:00
Ingo Schommer
058719571c
ENHANCEMENT Allowing to inject <style> tags via ajax responses in LeftAndMain.js (used for the CMS page tree icons)
2011-12-19 13:33:07 +01:00
Ingo Schommer
68a394427d
MINOR Fixed usage of FieldSet->insertFirst() in ModelAdmin, no longer present in FieldList
2011-12-18 18:19:28 +01:00
Ingo Schommer
0bfc0bc645
MINOR Cleaning $Content property explicitly for SecurityAdmin->groupimport() iframe
2011-12-18 18:18:44 +01:00
Ingo Schommer
4d28b79c1b
MINOR Reduced HTML validation errors in CMS and FieldGroup
2011-12-18 17:00:01 +01:00
Ingo Schommer
bc2bb53274
MINOR Fixed drag'n'drop in SecurityAdmin (thanks frankmullenger)
2011-12-18 16:01:36 +01:00
Frank Mullenger
160f712f68
BUGFIX: Update the page title heading on edit page in CMS ( fixes #6809 )
2011-12-18 15:34:00 +01:00
Will Rossiter
4d0d5799bb
MINOR: merged edlinklater/master into master. Fixes #134
2011-12-17 16:12:21 +13:00
Will Rossiter
01541487ca
MINOR: code formatting
2011-12-17 16:06:56 +13:00
=
d407f4c613
MINOR: Revert special formatting of preview button, fix Action button icons in IE8
2011-12-17 15:56:34 +13:00
Will Rossiter
a04c1410e1
BUGFIX: update admin menu links when current page ID updates. Fixes #6768 .
2011-12-17 15:51:02 +13:00
Will Rossiter
6977484f99
ENHANCEMENT: scale cms dialog popups based on browser. BUGFIX: #6760 ensure scrolling is supported in cms dialogs
2011-12-17 13:51:10 +13:00
Ingo Schommer
bad1b88942
MINOR Fixed change detection false positives for TinyMCE in IE, use TinyMCE.isDirty() rather than string comparison
2011-12-15 23:42:19 +01:00
Ingo Schommer
bf11a32336
MINOR Fixed button layout height adjustment in CMS, reduced redraw() invocations on cms-edit-form
2011-12-15 23:42:16 +01:00
Ingo Schommer
adb5acc8bb
MINOR Hiding panel while redrawing via ajax (for repaint/reflow performance), enforcing redraw of tabs before their own onmatch() to avoid layout glitches
2011-12-15 23:41:37 +01:00
Ingo Schommer
d732a78852
MINOR Don't toggle CMS panels if state is already correct (to avoid the CMS UI doing three expensive redraw() invocation in its event listeners where one is sufficient)
2011-12-15 20:38:36 +01:00
Ingo Schommer
7253746bdc
MINOR Fixed IE6 compat note styling
2011-12-15 20:38:35 +01:00
Ingo Schommer
64f6b460e9
BUGFIX Fixed change tracking of checkboxes and radiobuttons in jquery.changetracker plugin
2011-12-15 20:38:35 +01:00
Ingo Schommer
ddad7fb110
MINOR Fixed jquery.changetracker JSpec tests, added support for calling public methods as string arguments on plugin (which was already assumed to be the case in the JSpec tests)
2011-12-15 20:38:35 +01:00
Ingo Schommer
482324b6ae
BUGFIX Fixed form change tracking in the CMS, integrated it into menu changes. Reduced TinyMCE coupling.
2011-12-15 20:38:35 +01:00
Ingo Schommer
a6e2316766
ENHANCEMENT Created $('.cms-container').loadPanel() as a wrapper around History.pushState() to allow for global change tracking
2011-12-15 20:38:31 +01:00
Ingo Schommer
0563018f52
MINOR Moved autocomplete logic from LeftAndMain.js to LeftAndMain.EditForm.js where it belongs
2011-12-15 11:38:29 +01:00
Ingo Schommer
d3477cc13c
BUGFIX Fixed CMS panel expansion after changing links in the CMS (needed to retain the layout settings of the old panel to keep the preview expanded)
2011-12-15 00:48:51 +01:00
Ingo Schommer
2777637d82
MINOR Fixed preview behaviour blacklist, was including "CMSMain" which is applied to every CMS panel (so it didn't re-load the CMS edit forms on any clicks in the preview iframe)
2011-12-15 00:48:51 +01:00
Ingo Schommer
e6b12ff43f
MINOR Removed alpha note from CMS
2011-12-15 00:48:50 +01:00
Ingo Schommer
1c20213dbd
ENHANCEMENT Hide "edit page" menu entry in CMS when no page is opened for editing (for usability reasons)
2011-12-15 00:48:50 +01:00
Ingo Schommer
f3494839b0
MINOR Improved CMS loading spinner visibility by enforcing a higher z-index in its own element
2011-12-15 00:48:50 +01:00
Ingo Schommer
f57a3018a3
MINOR Improved perceived UI feedback by hiding various elements until they're styled properly (TinyMCE, tree)
2011-12-15 00:48:48 +01:00
Ingo Schommer
e8ecdf66b2
BUGFIX Disabling HTML5 history hash change fallbacks due to infinite loops on changing hash values
2011-12-15 00:48:34 +01:00
Ingo Schommer
9c6cbf7012
BUGFIX Making HTML5 History support optional, so we can disable HTML4 hash change fallback
2011-12-15 00:48:34 +01:00
Ingo Schommer
1b7c33574a
MINOR Fixed JSON parsing error when no ss-ui-dialog cookie is defined
2011-12-15 00:48:34 +01:00
Ingo Schommer
f2ec8b0d54
BUGFIX Enforcing TinyMCE textarea call on window.load in addition to entwine/DOMReady to ensure TinyMCE.init() has been called and all plugins are loaded.
2011-12-15 00:48:29 +01:00
Ingo Schommer
483704c894
MINOR Setting entwine warning level outside of entwine block, as it changes the meaning of the $ alias and doesn't apply the new level
2011-12-14 16:15:36 +01:00
Ingo Schommer
f57caecd5a
MINOR Updated history-js dependency
2011-12-14 16:15:36 +01:00
Ingo Schommer
a17e1c21c2
MINOR Suppress inline JS validation scripts in CMS (they don't work with ajax-loaded content)
2011-12-14 16:15:32 +01:00
Ingo Schommer
0dd32baf1e
MINOR Changed execution order in preview JS to fix layout issues with collapsed preview panel in IE7 (SSF-42)
2011-12-12 21:30:16 +01:00
Ingo Schommer
02d1ff80a9
BUGFIX Removed synchronous entwine mode when loading CMS UIs via ajax, which effectively brings down IE (e.g. roughly 10x as many "events" in DynaTrace for IE8)
2011-12-12 18:37:48 +01:00
Ingo Schommer
2170835aeb
BUGFIX Using faster entwine selectors (class/attr rather than CSS3 pseudo selectors)
2011-12-12 18:35:25 +01:00
Ingo Schommer
1553c3e69c
BUGFIX Fixed ModelAdmin.js dropdown panel selection
2011-12-02 10:53:59 +01:00
Anselm Christophersen
5e9db043fa
MINOR ModelAdmin search and create panel fixes (see #6782 )
2011-12-02 10:27:06 +01:00
Ingo Schommer
4a2fe9877d
MINOR Disabled styling for form fields in CMS
2011-11-14 12:23:59 +01:00
Ingo Schommer
f815425b4d
MINOR Fixed collapsed cms menu and preview by setting correct panel width (broken by 6b88006456
)
2011-10-30 14:34:35 +01:00
Ingo Schommer
e5b88c6c48
MINOR Documentation
2011-10-29 21:59:21 +02:00
Ingo Schommer
3aafb63821
MINOR Allowing usage of custom *_EditForm templates in base class with LeftAndMain->getEditForm() (was already implemented in subclasses)
2011-10-29 21:56:33 +02:00
Ingo Schommer
7924ce9f74
MINOR Fixed some JS warnings
2011-10-29 20:58:48 +02:00
Ingo Schommer
c6aa0697d3
MINOR Moved <ins> and <del> styles to more specific selectors in cms module
2011-10-29 20:47:44 +02:00
Ingo Schommer
6683b380b4
MINOR Protection against infinite initialization/callback loops caused by loading a full page template via ajax (in LeftAndMain.js)
2011-10-29 20:47:11 +02:00
Ingo Schommer
ec2b0a437d
MINOR Apply loading styling to edit forms as well as content areas
2011-10-29 20:46:41 +02:00
Ingo Schommer
7be28d5714
BUGFIX Making LeftAndMain->PreviewLink() an "opt-in", returning false by default to avoid adverse effects from loading unpreviewable items like users or filesystem folders - see CMSMain for sample implementation
2011-10-29 19:12:33 +02:00
Ingo Schommer
96d18efa58
MINOR Replaced calls to deprecated FormField->Name() with getName()
2011-10-29 13:27:11 +02:00
Ingo Schommer
6e2eaed4fc
MINOR Fixed batch action drop down width in CMS (somehow chosen.js interprets it as only 60px wide)
2011-10-29 13:27:11 +02:00
Ingo Schommer
ac94809068
MINOR Fixed content loading overlay in CMS
2011-10-29 13:27:11 +02:00
Ingo Schommer
a5652ab3aa
BUGFIX Added 'mceRemoveControl' calls to TinyMCE logic in CMS in order to reinitialise editors properly after replacing the panels via ajax
2011-10-29 13:27:10 +02:00
Ingo Schommer
d1ce2c07c0
MINOR Using overflow-y: auto instead of overflow-y: scroll in CMS to avoid showing ugly scroll bars by default even if resolution is high enough to accommodate all elements.
2011-10-29 13:27:10 +02:00
Sam Minnee
e5afa25522
MINOR: Use Deprecation class to indicate deprecated methods in core.
2011-10-29 17:34:31 +13:00
Will Rossiter
01bfdbeb90
MINOR tweaks to SecurityAdmin layout
2011-10-29 15:47:08 +13:00
Will Rossiter
a08a08eaa0
MINOR move panel title into scrollable panel
2011-10-29 15:47:07 +13:00
Will Rossiter
aba6b44163
MINOR remove console.log. MINOR clean up for icon sprites in the cms and content toolbars
2011-10-29 15:47:07 +13:00
Will Rossiter
3d77214d91
MINOR remove old stylesheet
2011-10-29 15:47:07 +13:00
Will Rossiter
6b88006456
BUGFIX show scroll bar on menu and side panels in adminstration section rather than hiding
2011-10-29 15:47:07 +13:00
Simon Welsh
89ec7e622e
When relying on the order of returned objects, sort explicitly as it is nondeterminate for non-MySQL.
2011-10-29 15:24:06 +13:00
Sam Minnée
089c38a5da
Merge pull request #73 from stojg/leftandmain
...
MINOR Fixing the path of the CSS files in LeftAndMain
2011-10-27 20:13:47 -07:00
Stig Lindqvist
e38dd08ea5
MINOR: Fix docblocks to reference SS_List instead of (now deprecated) DataObjectSet where appropriate
2011-10-28 15:58:55 +13:00
Hamish Friedlander
0a3e0f15de
MINOR: Replace references to FieldSet (now deprecated) with references to FieldList
2011-10-28 15:58:55 +13:00
Stig Lindqvist
15ad2d29c3
MINOR Fixing the path of the CSS files in LeftAndMain
2011-10-22 17:04:02 +02:00
Ingo Schommer
2279e9f3b3
MINOR Removed individual Requirements calls in LeftAndMain->init() in favour of Requirements::combine_files(), to avoid duplication and hard to debug behaviour differences due to changed file inclusion orders between non-live and live systems
2011-10-11 09:55:58 +02:00
Ingo Schommer
98b4fe21d9
Merge branch 'candidasa-cms-enhancements'
2011-10-11 09:37:18 +02:00
Julian Seidenberg
b7f9c59e12
ENHANCEMENT: adding hoverIntent plug-in to the js combined_files (SSO-7)
2011-10-11 12:12:46 +13:00
Julian Seidenberg
f807aa01b2
ENHANCEMENT: introducing a flight delay (using the jQuery HoverIntent plug-in) to prevent "sloppy mouse movement" from instantly closing the flyout menu when the mouse leaves the area. Also fixes problem with the menu in IE7.
2011-10-10 14:00:47 +13:00
Julian Seidenberg
df1de11a63
BUGFIX: renaming "triangle" to "flyout-indicator" and fixing bug when switching between pages in the CMS after collapsing left-hand side menu
2011-10-10 13:24:27 +13:00
Ingo Schommer
fa6681f5c5
BUGFIX: Better handling of non-existent records in delete calls (if button is clicked twice)
2011-10-07 14:12:52 +02:00
Julian Seidenberg
9fb1b32e01
ENHANCEMENT: Collapsed main menu view (SSO-7)
2011-10-07 17:48:53 +13:00
Ingo Schommer
443777e789
MINOR Selecting parents of nested menu entries by default in LeftAndMain.Menu.js
2011-10-04 13:16:55 +02:00
Ingo Schommer
7408ba4a54
ENHANCEMENT Removed unnecessary "Edit Page > Reports" menu entry, feature will only be available through a dedicated "Reports" interface
2011-10-04 13:16:55 +02:00
Julian Seidenberg
d378a86c49
BUGFIX: using Will's grid variables for spacing of dialog
2011-09-30 16:08:32 +13:00
Julian Seidenberg
e58b0320dd
ENHANCEMENT: adding ui-state-disabled icons for CMS buttons (SSO-8)
2011-09-30 14:29:19 +13:00
Julian Seidenberg
9beef85259
BUGFIX: creating green fallback color for "Save and Publish" button in IE7 (SSO-8)
2011-09-30 13:49:05 +13:00
Julian Seidenberg
6837baea38
MINOR: adjust distances and fallback colors (SSO-8)
2011-09-30 13:24:23 +13:00
Julian Seidenberg
fb364bcc25
ENHANCEMENT: using CSS3 to do number label in dialog box (SSO-8)
2011-09-30 12:48:27 +13:00
Julian Seidenberg
90d4321c52
ENHANCEMENT: adding an additional overlay-light div that is used when switching between pages by ajax. The dialog pop-up uses the default "ui-widget-overlay", but that overlay is darker than "ui-widget-overlay-light". Having two overlays prevents weird graphic effects when switching pages using the darker overlay (SSO-12)
2011-09-29 17:09:36 +13:00
Julian Seidenberg
f50a281759
ENHANCEMENT: styling of popup with Ed Knight's changes and moving them from CMS to sapphire, because that is where all the image assets live (SSO-12)
2011-09-29 16:25:31 +13:00
Julian Seidenberg
b2af1bfda9
BUGFIX: fixing "outside" close button on dialogs (SSO-12)
2011-09-29 16:24:21 +13:00
Julian Seidenberg
cdc8d8b976
ENHANCEMENT: merging of Ed Knight's changes from: 52acf3532f
. (SSO-12)
2011-09-29 16:24:03 +13:00
Julian Seidenberg
bfa0181d78
ENHANCEMENT: Icons for all core CMS actions like "Save draft" (SSO-26)
2011-09-29 15:15:12 +13:00
Will Rossiter
51affd2d63
BUGFIX: update LeftAndMain::handleRequest() to be consistent with Controller::handleRequest()
2011-09-26 16:55:59 +13:00
Will Rossiter
1732a17114
Merged new-orm into datagrid
2011-09-26 16:47:54 +13:00
Ingo Schommer
8adb259555
MINOR Exclude buttons from focusing first elements in CMS edit form, as it stuffs up the layout engine
2011-09-19 21:34:03 +02:00
Ingo Schommer
b4fd20dc3c
MINOR More flexible definition of non-previewable CMS interfaces
2011-09-19 21:33:35 +02:00
Ingo Schommer
c862b2423b
MINOR Fixed merge errors from 'history-panel' branch
2011-09-19 21:01:17 +02:00
Will Rossiter
a1b6a8aff2
ENHANCEMENT: stripped out typography styles from the cms into its own file. Included styling for ins and del
2011-09-19 17:27:26 +02:00
Will Rossiter
2036354d8d
ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain interface
2011-09-19 17:26:01 +02:00
Will Rossiter
7560e468ed
BUGFIX: fixed menu not appearing on load
2011-09-19 17:22:36 +02:00
Will Rossiter
60cba7dd76
BUGFIX: fixed submenu not opening in cms-menu when cms loads on page other than edit page section
2011-09-19 17:22:36 +02:00
Will Rossiter
2bf2c3a15f
MINOR: #css styles to clean up vertical alignment in content tools
2011-09-19 17:22:36 +02:00
Ingo Schommer
ce8e72cf0e
MINOR Removing executable flag from all files (thanks miiihi)
2011-09-18 22:04:02 +02:00
Julian Seidenberg
c72a6131fe
BUGFIX: fixing random changing of access tab radio buttons when refreshing the CMS with a URL such as /admin/page/settings/show/1#Root_Access in Firefox
2011-08-31 10:55:40 +12:00
Ingo Schommer
4461cae31b
ENHANCEMENT New CMSPreviewable interface class to standardize metadata making a record previewable by the CMS.
...
ENHANCEMENT New "preview" and "edit" buttons to toggle between preview and cms views. Reinstated utility links to switch between draft and live preview (based on SilverStripeNavigator) (formerly called "AjaxSwitchView")
2011-08-12 17:05:50 +02:00
Ingo Schommer
c06d52dce2
MINOR Delegated JavaScript layout from .cms-container to redraw() methods on the individual panels
2011-08-12 14:29:18 +02:00
Ingo Schommer
5062dd9393
MINOR Removed debug comments from generated screen.css
2011-08-12 14:29:18 +02:00
Ingo Schommer
dacdade4b0
ENHANCEMENT Removed automatic redirection to admin URLs in ContentController, too counter-intuitive and hard to implement consistently, while still allowing linkage of pages without CMS around them. Use $SilverStripeNavigator in custom Page.ss to link a page to its admin view for logged-in users.
2011-08-12 14:28:44 +02:00
Ingo Schommer
6d26a88442
MINOR Better redrawing of panels loaded via ajax in CMS (no jslayout/tabset glitches, loading overlay)
2011-08-12 14:28:44 +02:00
Ingo Schommer
475e055b18
MINOR Avoid triggering $('.cms-menu') item selection when already selected. Add new 'select' event for easier customization
2011-08-12 14:28:22 +02:00
Ingo Schommer
e40d3d45c0
ENHANCEMENT $('.cms-preview').block()/unblock() for blocking preview window when unavailable. Fixed duplicate addition of GET parameters in preview with new jQuery.query library for parameter parsing.
2011-08-12 14:28:22 +02:00
Ingo Schommer
bc9fb126c0
MINOR Fixed LeftAndMainTest assertions around DBField instead of string values (broken in 1827c18f
)
2011-08-12 14:14:06 +02:00
Will Rossiter
094b3916e6
MINOR: misc style fixes to the content-tools sidebar in the main tab including resizing form fields to fit.
2011-08-09 17:52:13 +12:00
Will Rossiter
dc222d54f8
MINOR: changed icon size for lefthand menu down to 16x16 rather than 24x24
2011-08-09 11:39:12 +12:00
Will Rossiter
404e71399b
ENHANCEMENAT: sprited up cms menu icons via compass
2011-08-05 16:46:03 +12:00
Will Rossiter
c40f0b4e0e
MINOR: imported chosen master via piston
2011-08-05 16:11:15 +12:00
Will Rossiter
aec1e7ab5d
MINOR: added mouse cursor for checkboxes and optionsets
2011-08-05 16:06:23 +12:00
Will Rossiter
9a340e7eb4
ENHANCEMENT: Added Chosen jQuery library for providing styled and searchable dropdowns. BUGFIX: removed explict width on TreeDropdownFields, instead using a width from jQuery.
2011-08-05 15:46:57 +12:00
Will Rossiter
0db6558a1b
MINOR: #css added active highlighting to menu for webkit browsers. tidied up grid for content-tools. Crop text that expands over the title fields. polish tweaks to the cms content actions
2011-08-04 14:09:08 +12:00
Will Rossiter
e484a230fe
ENHANCEMENT: updated TreeDropdown display. Use jQuery UI provided icon rather than custom
2011-08-01 14:27:52 +12:00
Will Rossiter
7872c1297f
MINOR: #css implemented multiple column support for optionset fields.
2011-08-01 10:54:31 +12:00
Will Rossiter
aad97ba220
MINOR: added vertical and horizontal grid helpers
2011-07-29 15:10:14 +12:00
Will Rossiter
1827c18fe1
BUGFIX: fixed CMSMain menu being displayed on CMSPageController pages. MINOR: added icons for main left hand side.
2011-07-28 16:57:41 +12:00
Ingo Schommer
928884c5d0
MINOR IE compatibility fixes in new admin CSS
2011-07-08 15:36:48 +02:00
Ingo Schommer
d77cbe62dd
MINOR Cleaned up structure and documentation of SCSS files in sapphire/admin/scss
2011-07-08 15:36:48 +02:00
Ed
ed449ee03d
MINOR CSS styles for tree and misc. form elements
2011-07-08 15:36:47 +02:00
Ed
803a3d9e3d
MINOR CSS styles for admin buttons. Color defintions set into _default.scss
2011-07-08 15:36:47 +02:00
Will Rossiter
92c662e552
MINOR: styles for the top tabs in the main cms. #css
2011-07-08 15:36:47 +02:00
Ingo Schommer
177e085a79
MINOR Improved CSS for left navigation, tabs and form fields
2011-07-08 15:36:47 +02:00
Ingo Schommer
657dbc1e96
MINOR Recompiled CSS from SCSS
2011-07-08 15:36:47 +02:00
Ingo Schommer
a3bd21b48e
BUGFIX Don't trigger detail view in tree mode when first loaded (LeftAndMain.Content.js), limit to actual user clicks
2011-07-08 15:36:47 +02:00
Ingo Schommer
a1b8698389
MINOR Removed '.LeftAndMain' selector from rules in order to avoid DOM hierarchy confusion (.LeftAndMain contains .cms-content vs .LeftAndMain equals .cms-content)
2011-07-08 15:36:47 +02:00
Ingo Schommer
19b9edb170
MINOR Clearer CSS classes in CMS controller templates. Fixed JS loading of ModelAdmin panels. Added $BaseCSSClasses to content templates in order to support partial template loads through ajax (instead of relying on stale CSS classes on the <body> tag). Leaving $BaseCSSClasses in LeftAndMain.ss base template for legacy reasons.
2011-07-08 15:36:46 +02:00
Ingo Schommer
1dc9457048
MINOR Using LeftAndMain->BaseCSSClasses() instead of ViewableData->CSSClasses() to avoid conflicts with customized controller objects (e.g. ModelAdmin_RecordController->edit())
2011-07-08 15:36:46 +02:00
Ingo Schommer
2e9ea1d129
MINOR Disable ping until jQuery.entwine _super() confusion is resolved
2011-07-08 15:36:46 +02:00
Ingo Schommer
b326f03ed7
MINOR Using LeftAndMain->Link() $action parameter correctly in getSiteTreeFor()
2011-07-08 15:36:46 +02:00
Ingo Schommer
d68ec395a3
API CHANGE Using $Link instead of $ApplicationTitle and $SectionTitle in LeftAndMain.ss. Adding new 'X-Title' HTTP header in order to support title changes for history.pushState
2011-07-08 15:36:46 +02:00
Ingo Schommer
2f2096cd3a
ENHANCEMENT HTML5 History.pushState support in CMS
2011-07-08 15:36:46 +02:00
Ingo Schommer
ff54044206
API CHANGE Forms in ajax responses from LeftAndMain and subclasses include <form> tags, and replace the form itself on the client (rather than just everything inside the form). Form submissions and loading is handled by its container ('.cms-content') to avoid problems with a DOM element replacing itself upon form submission.
2011-07-08 15:36:46 +02:00
Ingo Schommer
0e0a59df99
ENHANCEMENT Collapsible menu, disable menu actions on external links
2011-07-08 15:36:45 +02:00
Ingo Schommer
f90c317c86
MINOR Removed unnecessary files for history.js
2011-07-08 15:36:44 +02:00
Ingo Schommer
a5f841764d
MINOR Added history.js dependency
2011-07-08 15:36:44 +02:00
Ingo Schommer
8378a9d561
MINOR Moved "pinging" logic for CMS into new LeftAndMain.Ping.js container
2011-07-08 15:36:44 +02:00
Ingo Schommer
4e0949f565
ENHANCEMENT Consistently wrapping CMS forms in <div class="cms-content">, added LeftAndMain.Content.js to reload panels via ajax, hooking into preview logic
2011-07-08 15:36:44 +02:00
Ingo Schommer
2b56d2a8d8
FEATURE Preview panel to show CMS changes on actual website. Navigating in preview loads new page for editing in CMS.
2011-07-08 15:36:44 +02:00
Ingo Schommer
6649d69b39
MINOR Updated menu icons
2011-07-08 15:36:43 +02:00
Ingo Schommer
686f101925
ENHANCEMENT Toggleable panels in CMS
2011-07-08 15:36:43 +02:00
Sam Minnee
878b348a0f
Merge branch 'master' into new-orm
...
Conflicts:
docs/en/reference/built-in-page-controls.md
model/SQLQuery.php
2011-05-26 17:08:10 +12:00
Will Rossiter
6956275d2e
MINOR: css styles and formatting for left hand side menu bar. Altered the stylesheet structure to allow future admin scss theme files to be included easier
2011-05-20 11:29:40 +12:00
Ingo Schommer
cbf191b14c
MINOR Temporarily disabled deprecation notice in DataObjectDecorator and LeftAndMainDecorator, to be re-enabled once we're in beta stage (they unnecessarily break too many modules for now
2011-05-19 10:25:15 +12:00
ajshort
1f6f7f0862
API CHANGE: Deprecated CompositeField->FieldSet() in favour of CompositeField->FieldList().
...
MINOR: Replaced usage of FieldSet with FieldList.
MINOR: Renamed FieldSetTest to FieldListTest.
2011-05-11 17:51:54 +10:00
Ingo Schommer
4feae59391
MINOR Only setting form state if form element is available in 'ss-ui-button'
2011-05-08 23:35:14 +12:00
Frank Mullenger
0b8f8a3c8a
ENHANCEMENT Checking allowed parents/children in tree dragging. Using 'data' attributes to encode metadata on the tree element ( fixes #6578 )
2011-05-08 16:26:55 +12:00
ajshort
3f132a105b
API CHANGE: Replaced DataObjectSet instances with ArrayList.
2011-05-05 20:40:24 +10:00
ajshort
04e5dae22e
MINOR: Updated places that expect a DataObjectSet to accept an SS_List instance.
2011-05-02 17:14:05 +10:00
Ingo Schommer
40786cddd3
BUGFIX Allowing 'root' as ID parameter in LeftAndMain->getEditForm() (necessary for AssetAdmin root folders etc.)
2011-05-02 13:24:42 +12:00
Ingo Schommer
ff1c961ead
MINOR CMS Preview fixes
2011-05-02 11:43:51 +12:00
Ingo Schommer
f94647197b
MINOR Loading indication for buttons in CMS (overrides jQuery UI backgrounds)
2011-05-02 11:43:34 +12:00
Ingo Schommer
71bc87fa1e
MINOR Making SiteConfig dependency optional in LeftAndMain->SiteConfig()
2011-05-01 22:30:53 +12:00
Ingo Schommer
9a595fbd25
MINOR Rendering DateField instances with button by default in CMS
2011-05-01 22:30:52 +12:00
Ingo Schommer
f0c94696c9
MINOR Added (hardcoded) URLs for LeftAndMain_Menu.ss
2011-05-01 20:23:07 +12:00
Ingo Schommer
afbb4cc045
MINOR Fixed Member_ProfileForm styling, inlining into _style.css. Misc style fixes
2011-05-01 20:23:07 +12:00
Ingo Schommer
f8b38e9adb
MINOR Moving _layout.scss include from screen.css into its own file, in order to selectively block layout options like body {overflow: none;} while retaining all other cms styles (useful in a dialog context)
2011-05-01 20:23:07 +12:00
Ingo Schommer
64692ccee6
API CHANGE Removed LeftAndMain->getitem(), use show() instead
2011-05-01 20:23:07 +12:00
ajshort
81c0caaddb
API CHANGE: Renamed DataList::filter() and DataQuery::filter() to ::where().
2011-05-01 15:26:30 +12:00
Sam Minnee
4a061fd071
ENHANCEMENT: Refactored MemberTableList field to make better use of DataList and ManyManyList. Refactored ComplexTableField and TableListField to, stripping out as much model logic as possible.
2011-05-01 15:26:28 +12:00
Sam Minnee
319d2f4952
ENHANCEMENT: Refactored TableListField and subclasses to rely on the DataList to handle data manipulatation.
...
API CHANGE: A DataList can be passed as the 2nd argument to the constructor; this is the recommended approach for editing non-relations.
API CHANGE: You can't set a custom query; only a custom DataList.
API CHANGE: You can't have one of these fields editing data that doesn't correspond to a DataList - there must be some kind of DataObject behind it.
API CHANGE: If the field's name corresponds to a relation on the object being edited, then the relation is used as the data set - all the source* parameters are ignored.
API CHANGE: relationAutoSetting only works if your form has had the corresponding data object loaded with $form->loadDataFrom().
API CHANGE: relationAutoSetting can't be turned off; attach a non-relation DataList instead.
2011-05-01 15:25:45 +12:00
Sam Minnee
de1494e3a8
ENHANCEMENT: Implemented DataList as the successor of DataObjectSet. DataList doesn't execute the query until it's actually needed, allowing for a more flexible ORM.
...
API CHANGE: augmentSQL is now passed a DataQuery object from which query parameters can be extracted.
API CHANGE: DataObjectDecorators that manipulate the query can now define augmentDataQueryCreation().
API CHANGE: The container class argument for DataObject::get() is deprecated.
API CHANGE: DataObject::buildSQL() and DataObject::extendedSQL() are deprecated; just use DataObject::get() now.
API CHANGE: DataObject::instance_get() and DataObject::instance_get_one() are deprecated, and can no longer be overloaded.
API CHANGE: DataObject::buildDataObjectSet() is deprecated.
API CHANGE: Cant't call manual manipulation methods on DataList such as insertFirst()
2011-05-01 15:25:45 +12:00
Ingo Schommer
79e0634537
Merge branch 'cms-ui-preparation'
2011-04-28 22:48:02 +12:00
Ingo Schommer
0fd6924fe1
FEATURE Preview changes of page edits in CMS on website (through <iframe> sidebar)
2011-04-28 22:36:28 +12:00
Ingo Schommer
afa05f93dd
MINOR Background color fallbacks for IE (no gradient support)
2011-04-27 19:37:46 +12:00
ajshort
3a1c2df4e7
API CHANGE: Renamed DataObjectDecorator to DataExtension.
...
API CHANGE: Renamed LeftAndMainDecorator to LeftAndMainExtension.
MINOR: Replaced all references to decorators with extension.
2011-04-26 11:01:38 +10:00
Ingo Schommer
43491c2641
MINOR Reducing number of asset downloads by combining files in LeftAndMain->init() and including full jquery.ui.css instead of multiple @import statements
2011-04-25 21:36:51 +12:00
Ingo Schommer
d916140686
ENHANCEMENT Added incompatibility notice for Internet Explorer 6 in LeftAndMain.js
2011-04-24 12:31:19 +12:00
Ingo Schommer
663c49ccdd
MINOR Added temporary 'preview' header
2011-04-24 11:46:56 +12:00
Ingo Schommer
2291d64c2c
MINOR Disabled "welcome" message in LeftAndMain->RootForm()
2011-04-24 11:46:56 +12:00
Ingo Schommer
5bd35f7016
MINOR Moved LeftAndMain_EditForm.ss to templates/Includes/ in order to keep same template specificity as overloaded templates
2011-04-24 11:46:56 +12:00
Ingo Schommer
035b68fc32
MINOR Misc style improvements around batch actions and content tools display
2011-04-24 11:46:56 +12:00
Ingo Schommer
2c6e0c277b
MINOR Adapted CMS batch actions form to work outside of tabset context
2011-04-24 11:46:55 +12:00
Ingo Schommer
b08fc52da4
MINOR Wrapping cms-content-header <div> in order to provide overflows without line breaks
2011-04-24 11:46:55 +12:00
Ingo Schommer
f0f7f8aa75
MINOR Removed unnecessary 'actionsparams' class from LeftAndMain forms
2011-04-24 11:46:55 +12:00
Ingo Schommer
be68450ce1
MINOR Allowing NULL returns from getRecord() in LeftAndMain->getSiteTreeFor()
2011-04-24 11:46:54 +12:00
Ingo Schommer
51c02289da
MINOR Moved edit-form specific jstree logic to LeftAndMain.EditForm.js
2011-04-24 11:46:54 +12:00
Ingo Schommer
ecddf5b945
API CHANGE ModelAdmin->ResultsForm() no longer returns a TabSet (was just a layout crutch to support correct sizing)
2011-04-24 11:46:54 +12:00
Ingo Schommer
1a9441ffc8
MINOR Removed jquery.fitheighttoparent from LeftAndMain->init(), handled by layout manager now
2011-04-24 11:46:53 +12:00
Ingo Schommer
895b98116d
MINOR Using jQuery ajax methods in AssetTableField and MemberTableField (instead of the prototype library functions which are not fully compatible with jQuery.ondemand at the moment). Fixed TableListField.js errors.
2011-04-24 11:46:53 +12:00
Ingo Schommer
0271652aa3
ENHANCEMENT Added default 'delete' action in LeftAndMain->getEditForm() if no other actions are set ('save' action was already present)
2011-04-24 11:46:53 +12:00
Ingo Schommer
3c544340ee
MINOR Making canEdit() method optional on objects handled by LeftAndMain subclasses
2011-04-24 11:46:53 +12:00
Ingo Schommer
403d05726d
ENHANCEMENT Using new *_Content templates for ModelAdmin and SecurityAdmin
2011-04-24 11:46:52 +12:00
Ingo Schommer
38bc2a9d73
MINOR Removed unused SecurityAdmin.Tree.js
2011-04-24 11:46:51 +12:00
Ingo Schommer
4ddd69f85f
ENHANCEMENT Using SCSS variables for colour definitions in CMS, setting to greyscale theme for now in order to communicate the early status of the UI work
2011-04-24 11:46:51 +12:00
Ingo Schommer
a2b39e55c1
MINOR Removed unnecessary "type" field from LeftAndMain->AddForm(), added generic styles for buttons
2011-04-24 11:46:51 +12:00
Ingo Schommer
f4cb6ae40f
MINOR Renamed #sitetree_ul to .cms-tree in templates, removed #sitetree from contained <ul> (unnecessary duplication)
2011-04-24 11:46:51 +12:00
Ingo Schommer
87bdb0d3d1
MINOR Removed unused LeftAndMain_rightbottom.ss
2011-04-24 11:46:50 +12:00
Ingo Schommer
ba4d7099bb
ENHANCEMENT Using custom CMSEditForm to render LeftAndMain->EditForm(), in order to place (fake) tab navigation alongside the layout manager areas (outside of actual edit form)
2011-04-24 11:46:49 +12:00
Ingo Schommer
9da43d139a
API CHANGE Removed support for CMSTopMenu_alternative template, use CMSMenu.ss in themes or project template folders instead
...
API CHANGE Renamed LeftAndMain->CMSTopMenu() to CMSMenu()
API CHANGE Renamed LeftAndMain->Left() to Menu(), used through LeftAndMain_Menu.ss templates (instead of LeftAndMain_left.ss) - in order to avoid presentational naming
API CHANGE Renamed LeftAndMain->Right() to Content(), used through LeftAndMain_Content.ss templates (instead of LeftAndMain_right.ss) - in order to avoid presentational naming
2011-04-24 11:46:48 +12:00
Ingo Schommer
99a68dde75
ENHANCEMENT Started styles for new CMS
2011-04-24 11:46:48 +12:00
Ingo Schommer
6dbfd5fdde
MINOR Renaming <div id="contentPanel"> to "cms-editor-dialogs"
2011-04-24 11:46:48 +12:00
Ingo Schommer
0f7175f1f7
BUGFIX Disabling add_sheet() on jstree, as its horribly slow
2011-04-24 11:46:48 +12:00
Ingo Schommer
dafb93fd77
MINOR Moved loading screen above layout initialization to avoid FOUC in LeftAndMain.js
2011-04-24 11:46:47 +12:00
Ingo Schommer
f2f6ecc880
MINOR Hardcoding jstree CSS url to avoid loading non-existant CSS files via ajax (through jstree library)
2011-04-24 11:46:47 +12:00
Ingo Schommer
8183cc7117
BUGFIX Checking file existence in LeftAndMain->init() for TinyMCE's content_css settings to avoid unnecessary clientside loading of files
2011-04-24 11:46:46 +12:00