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