Normann Lou
f1e0951483
ENHANCEMENT: allow each dialog pop to have their own extra class.
2012-04-03 12:50:13 +12:00
Sean Harvey
f8a6db8d31
MINOR Temporarily reverted X-ControllerURL push state, as the header doesn't get set
...
correctly in LeftAndMain::handleRequest() correctly. This fixes saving
pages until X-ControllerURL has been corrected.
2012-04-03 11:29:44 +12:00
Sean Harvey
a2979f0551
BUGFIX Ensure that origLayoutClasses is always an array when considered
...
empty, as join() will be called later and causes a JS error on an empty
string.
2012-04-02 14:29:02 +12:00
Ingo Schommer
6c91aa0ec5
BUGFIX Force referer via "BackURL" POST data in CMS to work around IE problems with sending the base URL as the referer instead of the actual one ( #7002 )
2012-03-30 16:51:43 +02:00
Ingo Schommer
1091c7b944
BUGFIX Don't replace pushState() if emulated, as it will re-load the new URL via ajax, effectively duplicating every request in IE ( #7002 )
2012-03-30 16:51:43 +02:00
Ingo Schommer
83adffd7cd
MINOR Fixed var names in LeftAndMain.js
2012-03-30 16:51:42 +02:00
Ingo Schommer
3f4aba5545
MINOR Avoid breaking IE on CMS ajax responses which don't contain CSS class names (splitting on NULL) ( #7002 )
2012-03-30 16:51:42 +02:00
Ingo Schommer
c518a19ec2
BUGFIX Replaced logic for checking external URLs in CMS Menu with more stable jQuery Mobile codebase (fixes problems on IE not loading menu entries via ajax) ( #7002 )
2012-03-30 16:51:42 +02:00
Ingo Schommer
efc30fd39e
MINOR Removed setRightTitle() special case (and too specific styling) from Group->getCMSFields(), implemented title attribute for chosen.js drop downs instead (to be styled with more friendly title popovers)
2012-03-27 17:07:50 +02:00
Normann Lou
7a27832297
BUGFIX fix the field generated by choser with 0 width in an iFrame popup
2012-03-27 17:06:58 +02:00
Normann Lou
4c1cb59116
MINOR: fix the bug that ModelAdmin search filter doesn't work when arriving from another section of the CMS.
2012-03-27 15:37:32 +02:00
Sam Minnee
f5f655bd7a
BUGFIX: Show a correct growl message when ajax returns a JS error rather than HTTP error.
2012-03-24 16:35:18 +13:00
Will Rossiter
06dd79f34c
MINOR: remove console.log
2012-03-24 14:22:29 +13:00
Will Rossiter
39742f53e5
BUGFIX: #7036 refresh CMS panel when adding a new file
2012-03-24 14:20:46 +13:00
Simon Welsh
673dd7d992
MINOR Remove unused AssetTableField js file
2012-03-24 12:36:59 +13:00
Sean Harvey
fea3a4eea0
MINOR Removed useless .DS_Store files
2012-03-20 20:41:10 +13:00
Ingo Schommer
2c42ffdba7
MINOR Removed ModelAdmin JS which no longer applies due to rewrite
2012-03-12 17:34:31 +01:00
Ingo Schommer
d46a4504f5
MINOR Fixed scope problems caused by separating out getTreeConfig()
2012-03-12 14:44:09 +01:00
Ingo Schommer
51ff4004d1
ENHANCEMENT Allowing ajax responses on CMS form submissions to "break out" of the form element they were triggered through, by looking for existence of ".cms-content" node in response
2012-03-12 13:30:17 +01:00
Ingo Schommer
e5ade1ba12
MINOR Making tree config overrideable
2012-03-12 11:40:08 +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
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
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
ee2b220780
MINOR Supporting X-ControllerURL in form submits
2012-03-08 18:22:30 +01:00
Ingo Schommer
139ccc37da
MINOR Highlighting modified nodes (basic success visualization)
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
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
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
bb8bda862e
MINOR Allowing .cms-content-fields to have its own layout
2012-03-07 16:20:28 +01: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
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
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
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
94d985e0c4
MINOR Only disable chosen.js placeholder if no custom one exists
2012-03-05 17:41:50 +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
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
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
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
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
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
7d10ff790c
MINOR Fixed JS notice/alerts in CMS
2012-02-29 17:15:52 +01: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
6e9bf8859e
MINOR Force full redraw when panels are initiated
2012-02-28 18:09:33 +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
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
Ingo Schommer
8fcb40cdf0
Merge remote-tracking branch 'silverstripe-scienceninjas/pull/SSF-12'
2012-02-23 23:38:29 +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
39dc5ae301
MINOR Load breadcrumb links via ajax into panels in CMS
2012-02-23 23:29:57 +01: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
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
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
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
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
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
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
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
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
Ingo Schommer
c0d187071a
ENHANCEMENT New UploadField class to replace FileIframeField, ImageField and SimpleImageField
2012-02-03 01:00:08 +01: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
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
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
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
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
c0c073e03f
MINOR Disable 'preview' button if not applicable
2012-01-03 18:11:18 +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
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
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
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
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
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
bc2bb53274
MINOR Fixed drag'n'drop in SecurityAdmin (thanks frankmullenger)
2011-12-18 16:01:36 +01:00
Will Rossiter
01541487ca
MINOR: code formatting
2011-12-17 16:06:56 +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
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
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
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
Ingo Schommer
7924ce9f74
MINOR Fixed some JS warnings
2011-10-29 20:58:48 +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
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
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
6b88006456
BUGFIX show scroll bar on menu and side panels in adminstration section rather than hiding
2011-10-29 15:47:07 +13:00
Ingo Schommer
98b4fe21d9
Merge branch 'candidasa-cms-enhancements'
2011-10-11 09:37:18 +02: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
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
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
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
2036354d8d
ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain interface
2011-09-19 17:26:01 +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
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
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
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
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
Ed
803a3d9e3d
MINOR CSS styles for admin buttons. Color defintions set into _default.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
2e9ea1d129
MINOR Disable ping until jQuery.entwine _super() confusion is resolved
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
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
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
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
Ingo Schommer
ff1c961ead
MINOR CMS Preview fixes
2011-05-02 11:43:51 +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
afbb4cc045
MINOR Fixed Member_ProfileForm styling, inlining into _style.css. Misc style fixes
2011-05-01 20:23:07 +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
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
d916140686
ENHANCEMENT Added incompatibility notice for Internet Explorer 6 in LeftAndMain.js
2011-04-24 12:31:19 +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
51c02289da
MINOR Moved edit-form specific jstree logic to LeftAndMain.EditForm.js
2011-04-24 11:46:54 +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
38bc2a9d73
MINOR Removed unused SecurityAdmin.Tree.js
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
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
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
b273861591
ENHANCEMENT Implemented new jLayout layout manager, more expressive class names in LeftAndMain.ss
2011-04-24 11:46:46 +12:00
Ingo Schommer
bdd831f68f
MINOR Changed <body class="stillLoading"> to loading
2011-04-24 11:46:45 +12:00
Ingo Schommer
35bd9f2537
MINOR Changed #sitetree_ul to #sitetree in templates and javascript
2011-04-24 11:46:45 +12:00
Ingo Schommer
dad6169f73
MINOR Using '.cms-edit-form' instead of '#Form_EditForm' selector
2011-04-24 11:44:17 +12:00
Ingo Schommer
11a3b86fef
MINOR Removed jQuery.layout implementation
2011-04-24 11:44:16 +12:00
Ingo Schommer
601665519b
ENHANCEMENT Added 'nochildren' support to new jstree implementation
2011-04-07 22:03:57 +12:00
Frank Mullenger
bde2696ff5
BUGFIX Checks if movedNode is in allowedChildren of newParent node before moving in tree ( fixes #6578 )
2011-04-07 22:00:42 +12:00
phalkunz
83f6c82639
BUGFIX: Fixed tinymce cleanup
2011-04-05 11:54:01 +12:00
Ingo Schommer
b1f27b40ce
MINOR Updated image references in sapphire/ folder to local files, rather than requiring cms/ folder (copied a bunch of images files over for this)
2011-03-29 21:34:26 +13:00
Ingo Schommer
a1fb071b2b
MINOR Moved LeftAndMain, SecurityAdmin, ModelAdmin and related functionality from 'cms' module to sapphire/admin
2011-03-29 18:07:59 +13:00