Commit Graph

283 Commits

Author SHA1 Message Date
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