Ingo Schommer
4a8236ffa7
Removed special "from"/"to" filter field CSS rules
...
Use global field rules instead, and fall back to new
"stacked" styling of FieldGroup (see CMS CSS)
2012-08-27 16:03:21 +02:00
Ingo Schommer
e4db3c6c05
Removed DateField special width with .hasDatepicker class
...
Causes field to change width after first display,
as the .hasDatepicker class is added dynamically on first field focus.
Since we don't add an icon by default, there's no difference
between an <input> field with date picker, an input field for dates,
and a simple input field. Fall back to global (or CMS specific) rules.
2012-08-27 16:02:40 +02:00
Ingo Schommer
76dd8cca0f
Remove width limit on CMS panel dropdowns
...
No longer necessary as we've fixed the Chosen.js width
settings, which means the <select> fields can inherit
their settings and determine width automatically.
2012-08-27 15:52:01 +02:00
Ingo Schommer
88dfde8afa
Removed arbitrary width restrictions on field group children
...
Let the fields handle their dimensions themselves
(for example the "from" and "to" date fields in the CMS pages search form)
2012-08-27 15:50:21 +02:00
Ingo Schommer
1d2288b091
NEW Open external links in preview mode in new window ( fixes #7652 )
...
Rather than disabling the links altogether, which is
counter-intuitive to most users.
See https://github.com/silverstripe/sapphire/pull/638 .
Also hide a duplicate $SilverStripeNavigator on the previewed
website (in case it has been manually applied to the template).
2012-08-27 14:42:10 +02:00
Ingo Schommer
a8f335360b
Merge remote-tracking branch 'origin/3.0'
2012-08-27 09:25:59 +02:00
Kirk Mayo
3e351bc421
BUG: open ticket 7812 correcting filter syntax on a DataObject used by function updatetreenodes
2012-08-27 14:41:07 +12:00
Ingo Schommer
2fab657fce
i18n for CMS section titles (see #7798 )
2012-08-26 23:58:31 +02:00
Sam Minnee
824afffd2e
Merge branch '3.0'
2012-08-23 12:39:41 +12:00
Ingo Schommer
ae9c2e78a1
BUG Restore tree children after updateNode() ( fixes #7761 )
2012-08-22 15:38:54 +02:00
Ingo Schommer
4cc82e906b
Merge remote-tracking branch 'origin/3.0'
2012-08-20 10:13:55 +02:00
Sam Minnée
1e7e7c65ba
Merge pull request #723 from silverstripe-rebelalliance/entwine
...
Re-enable entwine inspector
2012-08-19 16:36:18 -07:00
Hamish Friedlander
b560d258d3
Re-enable Entwine Inspector in CMS & document
2012-08-20 11:26:11 +12:00
Andrew Short
2503e481ff
Only initialise chosen elements when visible.
2012-08-16 23:26:33 +02:00
Andrew Short
b38735d536
Fix chosen dropdown width not being set.
2012-08-16 23:26:29 +02:00
Andrew Short
c1f27c18ee
Revert b9ed6f7f6d
.
2012-08-16 23:26:24 +02:00
Mateusz Uzdowski
70eaa270e4
API Allow to force URL reload, while replacing the history state
...
Comes with a wrapper for easy reloading of the current panel.
2012-08-16 22:02:19 +02:00
Ingo Schommer
f79d2df104
BUG More robust url comparison in CMS
...
Avoid ajax reloads when URLs differ in irrelevant ways,
e.g. admin/?locale=de vs. admin?locale=de.
This caused problems with the translatable module
reloading page content where it didn't need to,
because some previous robustness patches to the same problem
didn't apply (they only removed trailing slashes, ignoring
query parameter strings). The visible problem for this was
a broken tree panel, because it was ajax-loaded in parallel
with its container. Depending on ajax response order,
this would break the inner panel (in this case the tree),
since its original container was replaced with a new DOM.
2012-08-15 21:22:15 +02:00
Jeremy Bridson
c621a6d699
BUGFIX: fixed trac 7665 - CMS Menu header now changes height depending on the name of the admin and greeting message. position and height were being set inline so added !important to override this.
2012-08-15 11:28:31 +12:00
Ingo Schommer
3bce3550d3
Merge remote-tracking branch 'origin/3.0'
2012-08-12 22:21:06 +02:00
dd1079
8d9db7f61a
FIX: Proper buttonset styling
2012-08-11 10:19:17 +12:00
Ingo Schommer
35ca67535d
Merge pull request #667 from jakr/trac7617-followup
...
Fix edge case in sessionStorage detection for FireFox.
2012-08-10 01:42:58 -07:00
Ingo Schommer
cac540d252
Merge branch '3.0'
2012-08-10 00:19:00 +02:00
Ingo Schommer
c7fd9a6605
CMS Localization
2012-08-10 00:17:34 +02:00
Ingo Schommer
77d939f0b2
CMS Localization
2012-08-09 23:55:30 +02:00
Ingo Schommer
fb7008627c
Merge remote-tracking branch 'origin/3.0'
2012-08-09 10:47:44 +02:00
martimiz
b1ee36e3aa
Fix: display the correct (menu) icon in the GridFieldDetailForm's breadcrumbs.
...
In CMSBreadcrumbs.ss the (TopLevel)Controller is not recognized within
the Breadcrumbs loop, so the class that is used in css to style the
icon cannot be created. Moving the construction outside the loop will
remedy this. As far as I can see this works within the CMS.
2012-08-08 17:30:20 +02:00
Naomi Guyer
5b88ffca46
BUG: IE7 vertical text fix
...
Re-add vertical text fix, as it's been overwritten somewhere along the
way
2012-08-07 13:29:33 +12:00
Ingo Schommer
d0a9811087
BUG Fully qualified namespace for _t() in templates
...
Was inferred by the containing file previously,
which is deprecated behaviour, because it obscures
the fact that renaming an template file or copying
template code will change the context of the translations.
While it would be nice to use shorter and more readable namespaces,
this change would remove all existing translations.
Since there is no (easy) migration of entities to a new namespace,
having verbose template code is the lesser of two evils.
2012-08-06 13:44:21 +02:00
Will Rossiter
c28c024dce
Merge pull request #694 from creamarketing/javascript-treenode-updating
...
BUG: javascript tree node updating fails when Translatable is used
2012-08-03 14:49:52 -07:00
Niklas Forsdahl
a85530991c
BUG: javascript tree node updating fails when Translatable is used
...
Automatic tree node updating fails when for example creating a new
translation, due to the update URL containing two question marks,
due to the locale get parameter.
Fixed by using the $.path.addSearchParams utility function, which properly
checks for existing query string parameters.
2012-08-03 13:36:37 +03:00
Will Rossiter
d774cb50f6
Add nowrap to buttons to ensure single lines ( https://skitch.com/willrossi/ekp44/silverstripe-pages ). Thanks oetiker
2012-08-03 09:13:37 +12:00
Hamish Friedlander
3efdb5c981
Merge in changes from 3.0.1 final
2012-07-31 16:51:10 +12:00
Naomi Guyer
2cb9a574a5
BUG: Adjust css for actions toolbar on pages (fixes 7649)
...
Set a minimum height on the actions panel so it would look the same in
list and tree views
2012-07-31 16:16:37 +12:00
Hamish Friedlander
72efed1993
Dont need to wrap entwine blocks in onload blocks, theres no benefit
2012-07-27 11:17:56 +12:00
Hamish Friedlander
a9bedccd1f
Merge in changes from 3.0.1-rc2
2012-07-27 11:14:32 +12:00
Hamish Friedlander
5591017577
BUG 3156e755
broke GridField Add forms because guessed frag was wrong
2012-07-27 11:13:23 +12:00
Will Rossiter
1a42fd0faa
Merge pull request #672 from adrexia/CMS-collapsed-menu
...
FIX: Logo padding in collapsed Menu
2012-07-25 22:57:16 -07:00
Naomi Guyer
55ec92d40e
ENHANCEMENT: Maori language javascript
2012-07-26 17:18:44 +12:00
Naomi Guyer
a605d06d9f
BUG: Logo padding in collapsed Menu
2012-07-26 15:41:44 +12:00
Hamish Friedlander
95d0be636c
Merge remote-tracking branch 'origin/3.0'
2012-07-25 11:44:53 +12:00
Hamish Friedlander
dc18c51f32
Add javascript japanese translation - thanks Yuki Awano
2012-07-25 09:38:36 +12:00
jakr
3bc2798e72
Fix edge case in sessionStorage detection for FireFox. If it is disabled using about:config, typeof will be object, but the value will be null.
2012-07-24 12:54:23 +02:00
Hamish Friedlander
22d6c7afa4
BUG Updating node would position wrong, Sort isnt === offset
2012-07-23 22:15:11 +12:00
Ingo Schommer
120de7cba2
NEW Tree node updates after save ( fixes #7450 , #7389 )
...
- Updates icon, badges, title, and position in hierarchy
- New LeftAndMain_TreeNode API to allow rendering of single tree nodes
without their hierarchy, extracted from LeftAndMain->getSiteTreeFor()
- New LeftAndMain->updatetreenodes() endpoint to request updated state
for one or more nodes. Triggered on demand by form refreshes.
2012-07-23 17:21:49 +12:00
Ingo Schommer
09067cc8dd
NEW Open first tab with validation errors
2012-07-18 16:50:09 +02:00
Ingo Schommer
3156e75548
BUG Redisplay CMS forms with validation errors
...
Guess the fragment based on the returned HTML.
The validation error HTTP response is generated by Form rather than
the controller (LeftAndMain), so we can't set custom PJAX headers easily.
2012-07-18 16:50:04 +02:00
Ingo Schommer
ac5989560e
Validation error styling in CMS
...
Blocklevel to avoid weird alignment relative to actual form field
Highlighted background, same as other error messages
2012-07-18 16:49:59 +02:00
Ingo Schommer
3ae8b0b665
Merge remote-tracking branch 'origin/3.0'
2012-07-18 15:00:06 +02:00
Ingo Schommer
faff2c122d
Localized CMS breadcrumbs title
2012-07-18 13:51:12 +02:00
Andrew Short
9a5baafde7
Don't capture form submits to new windows.
2012-07-17 16:34:01 +10:00
Ingo Schommer
d4b8db27af
Marking fake LeftAndMain->redirect() responses as finished
...
Introduce new LeftAndMain_HTTPResponse class for this purpose,
to mark a response as finished regardless of HTTP status.
This is required for ajax responses which do redirects on app layer
rather than HTTP (to avoid double processing).
Specifically required to decorate LeftAndMain->init()
in the 'translatable' module (TranslatableCMSMainExtension),
which marks the response as finished through its redirect,
avoiding further processing after init().
2012-07-16 23:30:59 +02:00
Ingo Schommer
bbfa54c816
Allow custom preview URLs through hidden fields
...
Useful e.g. to force non-SSL previews via absolute links,
even if the CMS is loaded on an SSL host.
2012-07-16 12:05:48 +02:00
unclecheese
b9ed6f7f6d
BUGFIX: When Chosen dropdowns are instantiated on hidden tabs, the width is rendered very small and they are unreadable. This is a known bug in Chosen. A change has been proposed at the Chosen page here: https://github.com/harvesthq/chosen/issues/92 but no pull request has been executed.
2012-07-16 10:18:58 +02:00
unclecheese
d571cdcc85
ENHANCEMENT: Hide the search bar in Chosen dropdown fields when list is reasonably short.
2012-07-16 10:10:01 +02:00
unclecheese
6e2d6c2782
ENHANCEMENT: Hide the search bar in Chosen dropdown fields when list is reasonably short.
2012-07-15 22:54:53 -03:00
Ingo Schommer
bf91594e4f
Disable tab state logic on uninit'ed tabs, allow opt-out
...
Fixes a problem when switching between ajax tabs,
e.g. "Content" and "Settings" in admin/pages/edit/show/<id>.
2012-07-13 17:34:55 +02:00
Ingo Schommer
c493dc730a
Avoid lonely question mark for GridField URLs in CMS
2012-07-13 17:33:48 +02:00
Ingo Schommer
155758f546
NEW Save and restore tab state upon CMS navigation ( fixes #7647 )
...
Implemented independently of URL state to ensure that
state is retained on every user interaction, rather than
having to add it to each URL specifically.
Same reasons for not saving it as HTML5 history metadata,
as that's only inspected on history events, not
normal CMS navigation.
2012-07-13 16:46:23 +02:00
Ingo Schommer
712f28bc78
Scoped deprecation messages ( fixes #7645 )
2012-07-13 11:37:35 +02:00
Ingo Schommer
a5a08530fc
BUG Force "full" ajax content reload with invalid fragments
...
When one or more fragments are requested that are not in
the current DOM, we need to force loading the outermost
fragment instead (currently hardcoded to "Content").
This mainly prevents history back navigation from breaking,
e.g. admin/pages -> admin/pages/list ->
admin/pages/list/?ParentID=99 -> admin/pages/edit/show/5 -> (back)
2012-07-13 10:19:24 +02:00
Ingo Schommer
7a52a7fe41
BUG Default form submits to text/html, fixing validation ( #7653 )
...
Was using text/json, which Form->httpSubmission() interprets
(correctly) to returning JSON validation data.
This trips up the interface, which expects HTML with
the validation errors directly in the markup.
2012-07-12 17:10:50 +02:00
Kirk Mayo
ac45825752
BUG:fixed alignment of radio buttons on add page pane trac/7473
2012-07-11 10:09:10 +12:00
Ingo Schommer
dd9c968a7a
Merge pull request #631 from silverstripe-rebelalliance/3.0_7472
...
BUGFIX:fixed action buttons on edit page content - stopped them from ove...
2012-07-10 01:30:18 -07:00
Kirk Mayo
4a9c6d1e22
BUGFIX:fixed action buttons on edit page content - stopped them from overlapping in ie8.
2012-07-10 16:57:58 +12:00
Will Rossiter
b4eb023f64
Merge pull request #627 from silverstripe-rebelalliance/open/7637
...
Remove text shadow off confirmation message links trac 7637.
2012-07-08 21:32:46 -07:00
Jeremy Bridson
0ef0c9c408
BUGFIX:removed text shadow off confirmation message links trac 7637
2012-07-09 16:21:00 +12:00
Andrew Short
2a9a4bede7
Fixed nested tab styling in other CMS interfaces.
2012-07-06 12:48:36 +10:00
Ingo Schommer
64357a4522
Merge branch '3.0'
...
Conflicts:
admin/css/screen.css
admin/scss/_forms.scss
docs/en/changelogs/3.0.0.md
2012-07-05 18:01:09 +02:00
ARNHOE
b6c59f2c95
Restricting input.time width
2012-07-04 18:57:07 +02:00
Andrew Short
b44ff84aac
Allow multi-line application names.
2012-07-04 13:17:19 +10:00
Ingo Schommer
fa62c1b0ba
Smarter concat of query params in LeftAndMain.js
...
Broke when CMS URL already had query params,
such as ?locale=en_US with the Translatable module enabled.
With this patch it doesn't double-concat ?locale....
Still doubles query params, but that's acceptable
until we find a more solid URL manipulation lib for JS.
2012-06-29 14:23:01 +02:00
Simon Welsh
8d670283c9
FIX Santise model classes in ModelAdmin
...
As ModelAdmin puts classes directly into links, a namespaced class
has its \s turned into /s, breaking the links. This escapes them by
converting each \ to a -, then converting them back when loading.
2012-06-29 13:52:33 +12:00
ARNHOE
81c085f777
Fixed width of DateField with dmyfields=true
2012-06-27 10:11:39 +02:00
Ingo Schommer
6dc108ac3e
Merge pull request #570 from adrexia/7528-insert-link
...
BUGFIX: Insert link styling inconsistent with Insert media (fixes #7528 )
2012-06-25 06:24:30 -07:00
Naomi Guyer
5c6ec68389
BUGFIX: Min-width on html dialog box ( fixes #7541 )
2012-06-25 17:35:05 +12:00
Naomi Guyer
e51bf760e9
BUGFIX: Insert link styling broken, and inconsistent with Insert media ( fixes #7528 )
2012-06-25 15:31:39 +12:00
Sam Minnee
7685a0b59d
Merge branch '3.0'
2012-06-25 10:01:34 +12:00
Ingo Schommer
ba9c3c7b8e
BUGFIX Type checking in CMS URL params ( fixes #7187 )
...
Nasty issue where nested requests to sub-controllers within LeftAndMain->EditForm() would fail because of
LeftAndMain->currentPageID() being taken from the URL, even though it was a field action name.
Example: POST /admin/pages/edit/EditForm/field/MyGridField/item/1/ItemEditForm/field/MyUploadField/upload
The current ID would be detected as "field" in this case.
Bug was previously fixed for AssetAdmin.
2012-06-22 17:47:45 +02:00
Ingo Schommer
682a6a0d1b
BUGFIX "Insert media" loading indicator ( fixes #7542 )
...
No "working" indicator in insert media from web button.
Returning the $.ajax object to allow for deferred callbacks
on events other than 'success'
2012-06-22 10:25:15 +02:00
Naomi Guyer
5713a37a32
BUGFIX: Alignment of http label in insert media
2012-06-22 18:11:00 +12:00
Naomi Guyer
f01c1640c7
BUGFIX: Alignment of http label in insert media
2012-06-22 18:04:13 +12:00
Sam Minnee
4aa4cd2c28
Merge branch '3.0'
...
Conflicts:
admin/scss/ie7.scss
2012-06-22 17:20:07 +12:00
Naomi Guyer
cffb95280f
BUGFIX: Tab colour htmleditor in IE7
2012-06-22 17:10:52 +12:00
Naomi Guyer
f3933aa3fb
BUGFIX: Make entire tab clickable in htmleditor ( fixes #7407 )
2012-06-22 17:10:52 +12:00
Naomi Guyer
89bd7ebfba
BUGFIX: Tab colour htmleditor in IE7
2012-06-22 16:55:40 +12:00
Naomi Guyer
c2e8c2450d
BUGFIX: Make entire tab clickable in htmleditor ( fixes #7407 )
2012-06-22 16:23:01 +12:00
Sam Minnée
bafda93957
Merge pull request #563 from silverstripe-rebelalliance/trac/7427-add-responses
...
BUGFIX: Add batch handler status messages (fixes #7427 )
2012-06-21 19:29:41 -07:00
Hamish Friedlander
03469230ff
BUGFIX: Add batch handler status messages ( fixes #7427 )
...
7427 was mostly fixed by Ingos previous patch. But two batch actions, delete from draft site and delete from published site werent returning
status messages. Abstracted out the status preperation code that the batch actions that were returning status messages were using, and
used that to add status messages to the problem two
2012-06-22 13:59:08 +12:00
Hamish Friedlander
daa226a9af
BUGFIX: Fix trac ticket #7476
...
We missed making an event delegatable in https://github.com/silverstripe/sapphire/pull/542
the result was 7476 wasnt actually fixed
2012-06-22 10:46:03 +12:00
Hamish Friedlander
65030906ad
BUGFIX: Add validation to fix open.silverstripe.org ticket #7494
...
When adding media via the HtmlEditorField dialog, the value of the URL field wasnt being validated. Youd get different errors depending on if the field was empty
or if it had text, but it didnt look like an absolute URL to HtmlEditorField#viewfile.
This adds some javascript validation to make the text field look like a URL field
2012-06-21 14:19:41 +12:00
Naomi Guyer
d3845380d7
BUGFIX: Padding in navigation elements in IE7
...
Fixes the gap between navigation elements in IE7
2012-06-21 11:48:39 +12:00
Naomi Guyer
3eff92ad40
ChangedBUG FIX: IE filter buttons ( fixes #7501 )
...
* Changed spacing of IE filter buttons
Conflicts:
admin/css/ie7.css
admin/css/ie8.css
admin/scss/ie7.scss
2012-06-20 14:21:12 +02:00
Ingo Schommer
89ce1ec991
Merge branch '7501-grid-field-filters' of https://github.com/adrexia/sapphire into adrexia-7501-grid-field-filters
...
Conflicts:
admin/css/ie7.css
admin/css/ie8.css
admin/scss/ie7.scss
2012-06-20 14:13:39 +02:00
Naomi Guyer
42d40a7c1a
BUGFIX: Turn off filters on IE Nav icons ( fixes #7471 )
...
Set filter to none so that the icons appear correctly in IE7and 8
Conflicts:
admin/scss/_ieShared.scss
2012-06-20 14:11:08 +02:00
Ingo Schommer
1016c36d33
Merge branch '7471-ie-filter-nav' of https://github.com/adrexia/sapphire into adrexia-7471-ie-filter-nav
...
Conflicts:
admin/scss/_ieShared.scss
2012-06-20 14:10:08 +02:00
Naomi Guyer
50ed4f515d
BUGFIX: Show text for collapsed side panel in IE8 and 9 ( fixes #7469 )
...
Altered IE CSS for CMS-panel to allow the text to display from top to
bottom.
2012-06-20 14:09:05 +02:00
Naomi Guyer
c9cde893b1
BUGFIX: Show text for collapsed side panel in IE8 and 9 ( fixes #7469 )
...
Altered IE CSS for CMS-panel to allow the text to display from top to
bottom.
2012-06-20 14:06:21 +02:00
Sean Harvey
c6039ae8d1
BUGFIX When updating the tree from EditForm, ensure we only change the
...
text of the tree node for the first .text element, instead of the nested
ones.
2012-06-20 22:00:19 +12:00
Sean Harvey
86753baaa1
BUGFIX When updating the tree from EditForm, ensure we only change the
...
text of the tree node for the first .text element, instead of the nested
ones.
2012-06-20 21:58:23 +12:00
Naomi Guyer
9f41ffd6e1
ChangedBUG FIX: IE filter buttons ( fixes #7501 )
...
* Changed spacing of IE filter buttons
2012-06-19 17:52:09 +12:00
Naomi Guyer
c55627ee7c
BUGFIX: Turn off filters on IE Nav icons ( fixes #7471 )
...
Set filter to none so that the icons appear correctly in IE7and 8
2012-06-18 13:22:01 +12:00
Ingo Schommer
dd99fbc69e
BUGFIX Apply batch action node deselection ( fixes #7476 )
...
The form ID list was only updated on node checking, but not unchecking.
2012-06-18 00:31:27 +02:00
Hamish Friedlander
c12db51c22
BUGFIX: Fix trac/7485
2012-06-18 10:23:04 +12:00
Ingo Schommer
16527f7fef
MINOR Removed old CSS files
2012-06-15 16:24:01 +02:00
Sam Minnée
e3e15e4007
Merge pull request #537 from silverstripe-rebelalliance/trac/7462
...
BUGFIX: trac/7462 Amended the css to fix this by adding text-transform: ...
2012-06-14 20:45:07 -07:00
Kirk Mayo
f546e0db64
BUGFIX: trac/7462 Amended the css to fix this by adding text-transform: capitialize and display: block to the relevant css
2012-06-15 15:38:29 +12:00
Sean Harvey
c801671a90
BUGFIX #7394 : Allow unselect dropdowns in chosen if there's an empty option
2012-06-15 14:32:21 +12:00
Sam Minnée
7ce7ac406e
Merge pull request #528 from mango9/master
...
Ticket #5578
2012-06-14 16:43:20 -07:00
Ingo Schommer
deff232567
MINOR Using onadd in preview JS
2012-06-15 01:19:31 +02:00
Hamish Friedlander
acee026875
BUGFIX: Buttons in the cms that didnt have .ss-ui-button werent becoming buttons because we changed buttons to trigger on onadd, but the ss-ui-button class was being added dynamically
2012-06-15 01:19:31 +02:00
Ingo Schommer
2fa835a027
MINOR Moving edit form focus logic from onadd() to onmatch() to give the form time to become visible (see #7258 )
2012-06-15 01:19:20 +02:00
Ingo Schommer
ecb48bb57c
BUGFIX Force full window reload on IE7/IE8 every 20 pushState requests (see #7258 )
2012-06-15 01:19:20 +02:00
Ingo Schommer
5260738148
MINOR Avoid reinitialising tabs (see #7258 )
2012-06-15 01:19:19 +02:00
Ingo Schommer
980686ab75
MINOR Limiting console.log() output to explicit enabling through window.debug to avoid failing IE
2012-06-15 01:19:19 +02:00
Hamish Friedlander
21e7ec61f4
ENHANCEMENT: In dev mode, include some basic leak detection functions in the admin panel
2012-06-15 01:19:19 +02:00
Hamish Friedlander
b86a787521
BUGFIX: Use new jQuery.Entwine event capturing, onadd and onremove features to plug some memory leaks
2012-06-15 01:19:15 +02:00
Ingo Schommer
04e5ff09ca
MINOR Hiding CMS-specific badges in TreeDropdownField ( fixes #7456 )
2012-06-14 20:43:29 +02:00
Ingo Schommer
c81d0e1222
MINOR Only set X-Pjax header in redirections if it doesn't already exist in the response
2012-06-14 20:20:29 +02:00
Paul Meyrick
882b4267cb
BUGFIX: Ticket #5578 SiteTree->CanCreateTopLevel() doesn't change dragged tree nodes or ParentID changes
2012-06-14 17:17:27 +12:00
Ingo Schommer
e23a7585a7
MINOR Using new jQuery.changetracker.destroy method in LeftAndMain.EditForm.js
2012-06-13 23:16:13 +02:00
Ingo Schommer
0b6d45356e
MINOR Added destroy() method to jQuery.changetracker plugin
2012-06-13 23:16:09 +02:00
Ingo Schommer
4c0a0f95b0
BUGFIX Inlining TinyMCE HTML popup ( fixes #7451 )
...
Doesn't include base TinyMCE logic when used externally,
most likely a TinyMCE bug since the source_editor.html file is unmodified.
2012-06-13 14:39:50 +02:00
Ingo Schommer
9cdc787935
Merge branch 'stylingfixes' of https://github.com/ajshort/sapphire into ajshort-stylingfixes
2012-06-13 13:23:24 +02:00
Ingo Schommer
db076c0f02
MINOR Using new setDescription() styling in HtmlEditorField
2012-06-13 13:21:41 +02:00
Andrew Short
d9c7bb8eb9
ENHANCEMENT: Implemented help text for form fields.
...
The title attribute is extracted from form fields and displayed inline
below the field.
2012-06-13 13:19:12 +02:00
Ingo Schommer
43483090b4
Merge branch 'tabstyling' of https://github.com/ajshort/sapphire into ajshort-tabstyling
2012-06-13 10:37:59 +02:00
Andrew Short
160d516699
BUGFIX: Consistently style custom defined page icons.
...
* Apply page icon styling to .page-icon, rather than specific elements.
2012-06-13 18:22:43 +10:00
Andrew Short
86bb491f2a
MINOR: Consistently style tabs in various CMS interfaces.
2012-06-13 15:10:48 +10:00
Andrew Short
aa67b56b10
ENHANCEMENT: Refactored ToggleCompositeField.
...
* Use jquery ui accordion for the field, and implemented an admin theme.
* Made the setting of configuration consistent with other form fields.
* ToggleComposteField->startClosed() has been deprecated in favour of
setStartClosed().
* Removed public access to the heading level, instead use getHeadingLevel()
or setHeadingLevel().
2012-06-13 14:20:27 +10:00
Andrew Short
513737097b
MINOR: Fixed tab border being shown when tabs were hidden.
2012-06-13 13:46:00 +10:00
Ingo Schommer
ce3d48e310
MINOR Supressed dependencies of tree logic on SiteTree elements (not properly isolated to work well with Folder objects)
2012-06-13 00:51:53 +02:00
Ingo Schommer
b1d95cffac
BUGFIX Passing existing SS_HTTPResponse to PjaxResponseNegotiator in LeftAndMain so state like X-Status HTTP headers are retained ( fixes #7427 )
2012-06-13 00:27:03 +02:00
Ingo Schommer
9b3d3123b6
Merge branch 'tabstyling' of https://github.com/ajshort/sapphire into ajshort-tabstyling
2012-06-12 19:40:21 +02:00
Ingo Schommer
896d198890
BUGFIX Correct DOM structure on updating tree nodes from edit forms, adding badge classes to force strike-through styling on deleted nodes (see #7410 )
2012-06-12 19:16:34 +02:00
Ingo Schommer
2637969bcd
API CHANGE Renamed JS event from 'reloadeditform' on 'aftersubmitform', 'beforesave' to 'beforesubmitform'. Listening to bubbled event on container to avoid binding to forms which are removed before the event is triggered.
2012-06-12 17:13:36 +02:00
Andrew Short
8976c82a35
MINOR: Fixed nested tab styling.
...
* Added and styled border below nested tabs.
* Fixed duplicate nested tabset divs being created.
2012-06-13 00:43:04 +10:00
Ingo Schommer
ed9c856442
ENHANCEMENT Strikethrough styling for deleted tree nodes, adding status classes to tree node <li> in addition to the existing <span class="badge"> ( fixes #7410 )
2012-06-12 15:53:38 +02:00
Ingo Schommer
d95e9a06b3
Merge pull request #518 from ajshort/jsfixes
...
BUGFIX: Fixed incorrect variables breaking form submission.
2012-06-11 06:33:27 -07:00
Andrew Short
34eb1b39dd
BUGFIX: Fixed incorrect variables breaking form submission.
2012-06-11 23:31:02 +10:00
Naomi Guyer
e96ca5fb9a
ENHANCEMENT: Change media insertion to use button and apply design
...
Conflicts:
css/UploadField.css
scss/UploadField.scss
2012-06-11 10:54:48 +02:00
Ingo Schommer
9009d43f63
MINOR Moved "insert x" dialog styling from generic UploadField.scss to CMS-specific _style.scss
2012-06-11 10:51:47 +02:00
Paul Clarke
3ada9a9327
ENHANCEMENT Basic css spacing issues
...
Ticket #7446 Minor css spacing fixs: padding on grid filter, filter
panel, page actions box-shadow to remove
2012-06-11 16:02:33 +12:00
Naomi Guyer
7523f98e04
BUGFIXES: File Uploads
...
* Add arrows back to edit-all toggle button
* Don't show dimensions if the item being inserted doesn't have them.
* Set pop-up windows to be a percentage of the window height for better
use of space
* Fix broken fieldholdersmall styling within files edit
* Add placeholder if no preview
*Take out minFileSize so upload will work on Android phones
2012-06-08 18:40:33 +02:00
Will Rossiter
f3b91618fb
Merge pull request #509 from Zauberfisch/patch-2
...
MINOR: fixed opera vendor prefix for @mixin hide-text-overflow
2012-06-07 00:37:55 -07:00
Sam Minnee
267f41bdf4
ENHANCEMENT: Point userhelp link at a new userhelp instance. ( #7430 )
2012-06-07 13:46:47 +12:00
Ingo Schommer
d4baf2d19d
BUGFIX Stability improvements on CMS layout logic
...
- Changed application order
- Fixed layout trigger after preview toggle
- Replaced button row dimension approximation with double application of jQuery.layout() - once before sizing the action panel height to set correct width on container, then again for the height
2012-06-06 21:05:36 +02:00
Ingo Schommer
803aa6bfc5
MINOR Only applying box-shadow on inactive tabs
2012-06-06 21:05:35 +02:00
Ingo Schommer
415a680802
BUGFIX CMS Breadcrumbs and tabs as inline blocks which can span multiple lines, rather than being cropped off ( fixes #6882 )
2012-06-06 21:05:33 +02:00
Zauberfisch
eac70b6b5b
MINOR: fixed opera vendor prefix for @mixin hide-text-overflow
2012-06-06 15:30:19 +02:00
Ingo Schommer
b3164eb2a9
MINOR Disabled jQuery.entwine inspector in dev mode, as it causes side effects due to document.write() before other scripts are loaded
2012-06-06 11:49:32 +02:00
Ingo Schommer
12f2e1e176
Merge branch 'pjax-multiple'
2012-06-05 14:01:18 +02:00
Ingo Schommer
f794e98d7e
BUGFIX Moved localised JS messages in correct module ( fixes #7393 )
2012-06-04 11:52:31 +02:00
Ingo Schommer
69d3497497
MINOR Fixed node deselection when changing areas (e.g. "pages" to "edit page")
2012-06-04 11:05:05 +02:00
Ingo Schommer
a757c16411
MINOR Make tree loading indicator visible on page icon to ensure it shows when drag handles are hidden (in "sidebar view") ( fixes #7256 )
2012-06-03 23:30:56 +02:00
Ingo Schommer
8e89396c93
MINOR Updating compass sprites with its changed ordering starting with 0.12 release (see http://compass-style.org/blog/2012/02/01/compass-0-12-is-released/ )
2012-06-03 23:22:29 +02:00
Ingo Schommer
31a66e0424
MINOR Returning at least some error feedback when admin/* route isn't found ( fixes #7409 )
2012-06-03 22:46:16 +02:00
Ingo Schommer
c18c29f464
BUGFIX Updating tree state (after adding/renaming nodes, changing parent). Deselecting nodes when switching to edit view ( fixes #7389 , #7336 , #7309 )
2012-06-03 18:48:47 +02:00
Ingo Schommer
460148c12a
MINOR Debug messages for tracking down JS layout sequence issues (disabled by default)
2012-06-02 12:31:55 +02:00
Ingo Schommer
5a93ee77f8
MINOR Fixed tab selection state
2012-05-30 16:36:26 +02:00
Ingo Schommer
0eac6ea5c3
MINOR Apply loading indicators to all forms, not just .cms-edit-form (which means it includes the "pages list view"). Move to correct place in LeftAndMain.js (not specific to '.cms-content')
2012-05-30 16:36:25 +02:00
Ingo Schommer
19bfd01a60
ENHANCEMENT Declare a single DOM element with multiple Pjax fragments. Unified ajax response handling in CMS, followup from submitForm() refactoring. Removed replacement of arbitrary CSS selectors through Pjax, relies on a fragment now (to keep logic consistent).
2012-05-30 16:36:23 +02:00
Ingo Schommer
75e51de9ed
API CHANGE Moved submitForm() from $('.cms-content') to $('.cms-container'), unifying ajax response handling between panel loading and form submission
2012-05-30 15:07:14 +02:00
Ingo Schommer
5178954311
UNFINISHED Processing multiple PJAX responses on CMS JavaScript, introducing data-pjax-fragment attribute to identify reloadable template parts
2012-05-30 15:07:13 +02:00
Sam Minnee
73b9f93c08
BUGFIX: Improved layout of moneyfield.
2012-05-30 11:47:48 +12:00
Ingo Schommer
5b03f49245
BUGFIX Respecting server-overrides on X-Pjax responses during ajax redirects. Fixes GridFieldDetailForm redirect after delete, e.g. in ModelAdmin. Partially reverts 8b4b896
. Closes pull request #488
2012-05-29 11:34:47 +02:00
Sean Harvey
c3eabffcb9
MINOR Use shorthand {class}::get() syntax instead of DataList::create()
...
in core code.
2012-05-28 21:13:42 +12:00
Sean Harvey
e3dee85635
MINOR Fix broken test
2012-05-28 12:03:13 +12:00
Sam Minnée
f80091f16a
Merge pull request #492 from ajshort/multisites
...
Fix ModelAdmin When Managed Models Is Array
2012-05-27 16:53:28 -07:00
Naomi Guyer
9a7980e357
ENHANCEMENT: Design fixes in insert media pop-up
...
* Apply design to insert media/image pop-up
2012-05-28 11:50:34 +12:00
Naomi Guyer
28e43bdc88
ENHANCEMENT: File/Image UI fixes
...
* Replaced cancel/delete button in files area
* Consolidated Image upload styles with AssetUpload styles
* Changed name of step 2 in image upload
* Made image editing hidden by default, so multiple files can be seen,
and added ability top open and close
* Tweaked styles in on page upload field (status colour and file name
width)
2012-05-28 11:50:34 +12:00
Sean Harvey
79680137b1
BUGFIX SecurityAdmin shows incorrect breadcrumbs for viewing Roles GridField. Partially reverts 16982ba17c
.
2012-05-28 11:46:25 +12:00
Sean Harvey
74d444cf2f
BUGFIX Ensure "Add [modelClass]" is shown instead of using the field name of the GridField, partially reverts 16982ba17c
which broke breadcrumbs in SecurityAdmin
2012-05-28 11:43:47 +12:00
Andrew Short
b7ce610933
BUGFIX: Fixed ModelAdmin not working when managed models was defined as an array.
2012-05-27 21:45:42 +10:00
Ingo Schommer
fb7cd328cf
MINOR Fixed field naming in SecurityAdminTest (recently changed alongside new GridFieldAddButton commit)
2012-05-25 00:02:23 +02:00
Ingo Schommer
fa445ad13f
Merge pull request #452 from adrexia/sapphire
...
---
* Added a separate component to grid field to hold buttons.
* Updated templates for changes
* Updated comments
Conflicts:
css/AssetUploadField.css
css/GridField.css
2012-05-24 23:06:46 +02:00
Simon Welsh
bb29ff3611
FEATURE: Allow adding media to the CMS using oEmbed
2012-05-24 17:00:21 +12:00
Sean Harvey
45465dca91
Merge pull request #483 from halkyon/cms_ping_keepalive
...
Re-instate CMS ping to ensure sessions are kept alive
2012-05-23 15:55:22 -07:00
Sean Harvey
77c2365b87
MINOR Replacing deprecated static function calls to Director with
...
current Controller instance replacements.
2012-05-23 21:50:02 +12:00
Sean Harvey
ecf847b61c
ENHANCEMENT Re-instate pinging every 5 minutes in the CMS as a measure
...
to keep sessions alive. Moved Security/ping to admin/security/ping
2012-05-23 17:15:17 +12:00
Mateusz Uzdowski
8d469b66c8
BUGFIX: add missing onunmatches
2012-05-23 16:24:15 +12:00
Sean Harvey
3ed9c5f9f8
MINOR Removed getitem allowed action, this method no longer exists in LeftAndMain
2012-05-22 17:33:34 +12:00
Sean Harvey
ae1a106600
BUGFIX Ensure that CMSMain rule doesn't override the CMSPagesController
...
rule in AdminRootController::add_rule_for_controller()
2012-05-22 16:59:31 +12:00
Paul Clarke
2f4a033bc2
BUGFIX: CMS tabs were hidden in ie7, changed css to make them appear far right
2012-05-22 16:06:50 +12:00
Paul Clarke
84bf5e2029
ENHANCEMENT tabs text-shadow direction change, improve visibility for IE
2012-05-22 16:06:49 +12:00
Paul Clarke
5edf447d2a
ENHANCEMENT visual enhancements, cms tabs, main menu drop shadow adjusted, actions panel top gradient replaced
2012-05-22 16:06:49 +12:00
Sean Harvey
0d4f7a04dc
BUGFIX Fixing incorrect arguments to submitForm() in
...
LeftAndMain.AddForm.js
2012-05-22 15:37:31 +12:00
Sean Harvey
ce7a96b116
BUGFIX Fixed missing comma in LeftAndMain.AddForm
2012-05-22 14:57:30 +12:00
Mateusz Uzdowski
78b7836d04
BUGFIX: add missing onunmatch
2012-05-22 14:49:57 +12:00
Mateusz Uzdowski
ac2567761b
BUGFIX: add missing selectors and namespace qualifiers
2012-05-22 11:29:06 +12:00
Naomi Guyer
16982ba17c
ENHANCEMENT: Make GridFieldAddNewButton Content more specific
...
* Alter Grid Field "Add New" Button to take the name of the table (i.e.
"Add Member")
* Alter table names in security section to be singular so the button
text makes sense
2012-05-21 17:47:14 +12:00
Naomi Guyer
1747298786
ENHANCEMENT: Make GridFieldButtonRow more adaptable
...
* Add ability to choose where to put buttons (in buttonRow, toolbar
header, etc)
* Adjust styles to take these changes into account
2012-05-21 14:41:46 +12:00
Sam Minnée
f348141cfd
Merge pull request #466 from silverstripe-scienceninjas/feature/config-enhancements
...
Feature/config enhancements
2012-05-20 19:03:43 -07:00
Ingo Schommer
607a9e2f45
MINOR Reverted removal of horizontal panel scrollbars from dc5e36ec
, as it makes important content like nested tree nodes inaccessible. UI elements inside the panel should adjust to the available width if visually required instead ( fixes #7347 )
2012-05-20 14:00:14 +02:00
Hamish Friedlander
94f50f554e
API CHANGE: Changes to make Director rules set through the new config system. Includes the addition of a new AdminRootController to take over handling of routing /admin/* routes to the correct LeftAndMain panel.
2012-05-19 14:37:32 +12:00
Ingo Schommer
7c589f07dc
MINOR Don't invoke layout() in onmatch() for cms-preview, as it causes a gap above the menu/logo div for some reason. It's also unnecessary processing, since the preview is always hidden by default, and layout() will be triggered through redraw() when required (e.g. preview panel expansion)
2012-05-18 20:07:06 +02:00
Ingo Schommer
d23e8ec14c
BUGFIX Fixed cms menu expansion logic when shown alongside preview panel, retain cookie preference
2012-05-18 20:07:06 +02:00
Ingo Schommer
e185a9b8f8
MINOR Adding title to menu items so they can be more easily identified in collapsed mode
2012-05-18 20:07:06 +02:00
Sean Harvey
3f932d6bad
Merge pull request #464 from mateusz/os7299
...
BUGFIX: add capability of redirecting form actions.
2012-05-17 22:44:05 -07:00
Mateusz Uzdowski
8b4b896578
BUGFIX: add capability of redirecting form actions.
...
Form actions assume that they are reloading the form afterwards. But
this is not always the case - for example "delete" action will redirect
back to the panel, so we need to be able to set the X-Pjax headers
accordingly.
2012-05-18 17:36:06 +12:00
Sam Minnee
70a5b49dd6
MINOR: Fixed i18n coding for LeftAndMain save and delete.
2012-05-18 16:15:13 +12:00
Mateusz Uzdowski
97e00a35dd
BUGFIX: add missing onunmatches causing exceptions in entwine
2012-05-18 14:27:09 +12:00
Mateusz Uzdowski
6e436b54f4
BUGFIX: change namespace for the tree so all matchers are executed
...
.cms-tree.multiple matcher would not execute, because .cms-tree from
another file is overriding it (and the element is marked as resolved by
entwine). We need to move it to a separate namespace.
2012-05-18 12:27:30 +12:00
Mateusz Uzdowski
37399f88db
BUGFIX: add missing _super calls to all matchers and unmatchers
...
Otherwise some matchers might not be triggered as expected.
2012-05-18 12:27:30 +12:00
Mateusz Uzdowski
3d0876c8f5
BUGFIX: put all CMS JS code into 'ss' namespace.
...
Conflicts:
admin/javascript/LeftAndMain.js
javascript/GridField.js
2012-05-18 12:27:30 +12:00
Naomi Guyer
458171ff92
ENHANCEMENT: Gridfield usability (fixes 7215)
...
1. Modified gridfield to use default colours
2. Added ability to show and hide the filter
3. Design changes to icons used
4. Gridfield template fixes: Took out broken mark-up from templates
(spans were being inserted inside spans), and adjusted styles. Added
extra class to template
5. Added "filter by ..." placeholder text to input fields
2012-05-16 12:18:23 +12:00
Naomi Guyer
5a023f985d
MINOR: SCSS refactoring
...
1. Refactored some gridfield styles to enable reuse (created a mixin
file to hold mixins that generate specific css objects/elements).
2. Made some scss comments use // so they wouldn't appear in generated
css
2012-05-16 12:18:00 +12:00
Ingo Schommer
4d97f75e15
MINOR Fixed form reset styles
2012-05-15 22:15:36 +02:00
Ingo Schommer
d57ede8f44
MINOR Fixed query param concatenation in LeftAndMain.js
2012-05-15 21:28:55 +02:00
Ingo Schommer
5ff282e20a
MINOR Allow extending LeftAndMain->SiteTreeAsUL() (specifically used to add the language drop down for the 'translatable' module)
2012-05-15 21:28:38 +02:00
Ingo Schommer
8e39e7dfba
MINOR Allow extension of LeftAndMain->Link()
2012-05-15 21:27:32 +02:00
Ingo Schommer
d42ea5a9d6
BUGFIX Encoding multibyte characters in custom X-Status HTTP headers used in CMS (headers don't allow multibyte data)
2012-05-14 15:13:49 +02:00
Ingo Schommer
45ae2465e8
Merge pull request #438 from ajshort/sapphire
...
---
These are some enhancements + tweaks I made as part of getting the advanced workflow module running in SS3:
* Added a readonly view button and action to GridField.
* Made LeftAndMain::getResponseNegotiator() public so CMS extensions can use it to generate responses.
* Fixed top tab background, made text more readable (http://i.imgur.com/yDmmY.png ).
* Allow fields in the CMS to not be change tracked using ".no-change-track".
* Made all icons 16x16 (some were different sizes, being cut off), and allow them without .ui-state-default.
* Fixed ToggleCompositeField and tweaked field styling.
2012-05-14 14:25:16 +02:00
Hamish Friedlander
7f05add15e
ENHANCEMENT: Make jQuery.Entwine inspector available in admin panels in dev mode
2012-05-14 16:34:18 +12:00
Andrew Short
38075d880d
MINOR: Tweaked the main tab styling to fix the background and make text more readable.
2012-05-12 18:49:56 +10:00
Andrew Short
d17c4d00ba
MINOR: Made all icons consistently 16x16, and show them inside .ui-widget-content elements.
2012-05-12 18:49:56 +10:00
Andrew Short
4a5603b249
MINOR: Don't show a border below the last field.
2012-05-12 18:49:56 +10:00
Andrew Short
1e174b3102
API CHANGE: Made LeftAndMain::getResponseNegotiator() public so extensions can use it.
2012-05-12 18:49:56 +10:00
Andrew Short
304c3cd5d3
ENHANCEMENT: Fields can be excluded from change tracking using a ".no-change-track" class.
2012-05-12 18:49:56 +10:00
Sean Harvey
0fe0d87d9f
Merge pull request #434 from halkyon/using_non_deprecated_template_controls
...
Replacing use of deprecated <% control %> with <% with %> or <% loop %> as necessary
2012-05-11 15:08:16 -07:00
Ingo Schommer
ffbcf634bb
Merge pull request #420 from chillu/sapphire
...
---
See http://open.silverstripe.org/ticket/7261
2012-05-11 13:42:47 +02:00
Ingo Schommer
d5ebdf91b6
Merge pull request #437 from mateusz/sapphire
...
---
http://open.silverstripe.org/ticket/7304
When the actions dropdown is loaded from deferred cache, the Chosen does not apply because of stale classess and markup.
2012-05-11 11:17:39 +02:00
Mateusz Uzdowski
be06ae7e5f
MINOR: change the tree reorganisation message.
2012-05-11 16:22:56 +12:00
Mateusz Uzdowski
905115b4db
BUGFIX: Update the batch action select state also on load (os7304)
...
This approach should cover more situations than the previous one. It
will owrk regardless of the initial state in the HTML (which can be
loaded from deferred cache).
2012-05-11 16:21:00 +12:00
Mateusz Uzdowski
b28a625f0b
BUGFIX: clean up Chosen classess, so the cached panel can be rebuilt (os7304)
...
There is no way to clean up attached Chosen instance in a nice way -
there is no destroy, nor remove on the library.
Also, we can't use the onunmatch on this entwine - it only triggers after the cache snapshot
has been taken. This is because the cache function is on different
namespace.
2012-05-11 16:17:44 +12:00
Sean Harvey
6f672e5f36
MINOR Fixing use of <% control %> with <% with %> or <% loop %> as necessary.
2012-05-11 13:49:20 +12:00
Robert Curry
6dd94bd6f7
MINOR: Changed classes on tabset li and a tags to match new standard.
2012-05-11 11:12:44 +12:00
Ingo Schommer
7f4c6e3d19
MINOR Fixed small button styles (now used in URLSegment "edit" button etc.)
2012-05-10 14:17:02 +02:00
Ingo Schommer
8b4afc01a7
Merge pull request #426 from halkyon/jquery_upgrade
...
MINOR Upgrade jQuery dependency to 1.7.2
2012-05-10 02:49:41 -07:00
Naomi Guyer
106bd47e88
BUGFIX: #7295 Long Filenames break layout
...
Add text overflow and a max width to filenames.
2012-05-10 11:41:10 +02:00
Naomi Guyer
68f9cde226
BUGFIX: 7219-feedback-changes-file-upload
...
Altered files from ENHANCEMENT: UI Changes to FileUpload Area
(TRAC-7219 that were missed in the prior push
2012-05-10 11:41:09 +02:00
Ingo Schommer
2753744f9e
ENHANCEMENT Moving X-Status message handling in CMS from global ajaxError to ajaxComplete handler, to allow success messages being passed this way as well.
2012-05-10 10:44:21 +02:00
Ingo Schommer
6956b1be5c
Merge pull request #412 from adrexia/sapphire
...
---
The two bug fixes impact on the file area, but have wider reach.
BUGFIX: Colour Adjustments
Change the constructive button colour to match the colour used in the designs, and fix up calculations to produce the correct button colour.
BUGFIX: IE Colours
Replace hard coded colours in IE with variables, and refactor code so that shared IE7 and IE8 fixes are in one place.
ENHANCEMENT: UI Changes to FileUpload Area (TRAC-7219)
1. Add arrows to edit dropdowns
2. Adjust lightened fields so they dont look like input boxes, and fix rgba colours
3. Add ability to click file names to edit
4. Add feedback when edit button is hovered
5. Add feedback if a file has been opened for editing and shut again (saved changes, unsaved changes, unchanged)
6. Add ability to open and close all files to edit them all at once
7. Add overall feedback for file uploads, and fix NaN error
8. Fix up area to match design
9. Fix error messages so they fit in the provided space
10. Fix case where a single uploaded file errors
2012-05-10 10:27:11 +02:00
Sean Harvey
1e8a89db8f
MINOR Upgrade jQuery dependency to 1.7.2
2012-05-10 16:21:11 +12:00
Sean Harvey
138ba0c5bf
Merge pull request #424 from adrexia/chosen-bug
...
BUGFIX: typeof undefined error fix
2012-05-09 20:26:03 -07:00
Naomi Guyer
6c5255246f
BUGFIX: typeof undefined error fix
...
Make chosen check if a trigger exists before continuing
2012-05-10 15:18:52 +12:00
Ingo Schommer
11f4756225
ENHANCEMENT Auto-hiding tab bar in CMS forms if only a single tab is available (to save screen space and reduce UI clutter) (see #7261 )
2012-05-09 17:19:20 +02:00
Sean Harvey
b1e17578c7
API CHANGE Removed assertType() and assertEmpty() workarounds. Use assertInstanceOf()
...
instead of assertType(), assertEmpty() is available in PHPUnit 3.5+.
PHPUnit 3.4 is no longer supported, so please upgrade your version to
work.
MINOR Removed FullTestSuite which was a workaround for PHPUnit but not
used.
2012-05-09 23:05:39 +12:00
Naomi Guyer
d642eee28e
ENHANCEMENT: UI Changes to FileUpload Area (TRAC-7219)
...
1. Add arrows to edit dropdowns
2. Adjust lightened fields so they don't look like input boxes, and fix
rgba colours
3. Add ability to click file names to edit
4. Add feedback when edit button is hovered
5. Add feedback if a file has been opened for editing and shut again
(saved changes, unsaved changes, unchanged)
6. Add ability to open and close all files to edit them all at once
7. Add overall feedback for file uploads, and fix NaN error
8. Fix up area to match design
9. Fix error messages so they fit in the provided space
10. Fix case where a single uploaded file errors
2012-05-09 18:38:21 +12:00
Naomi Guyer
7d5e46cdcf
BUGFIX: IE Colours
...
Replace hard coded colours in IE with variables, and refactored code
so that shared IE7 and IE8 fixes are in one place.
2012-05-09 18:31:25 +12:00
Naomi Guyer
181ea6cbea
BUGFIX: colour Adjustments
...
Change the constructive button colour to match the colour used in the
designs, and fixed up calculations to produce the correct button colour.
2012-05-09 18:24:36 +12:00
Ingo Schommer
9052cdc1da
ENHANCEMENT Making "Users", "Groups" and "Roles" tabs in SecurityAdmin bookmarkable.
...
ENHANCEMENT Fixed SecurityAdmin->Breadcrumbs() to include link to individual tab, and disable backlink (signed off by Paul)
2012-05-08 11:25:47 +02:00
Ingo Schommer
2c878f5296
MINOR Template consistency between TabSet.ss and overloaded LeftAndMain tabsets
2012-05-08 11:25:47 +02:00
Ingo Schommer
f2d2f5bb0e
MINOR Changed CMS section name from "Users" back to its 2.4 label, "Security". Mainly to avoid breadcrumb weirdnesses when having a "Users/Users/My User" path. Signed off by Paul.
2012-05-08 11:25:47 +02:00
Ingo Schommer
2212363a0f
MINOR Using new extraClass support in tabs for CMSTabSet
2012-05-08 11:25:46 +02:00
Ingo Schommer
82cf93855e
MINOR Reverting padding changes from pull request #377 , way too global - solved through a .cms-panel-padded class in CMSSettingsController instead
2012-05-08 00:53:06 +02:00
Ingo Schommer
76dd6d1636
MINOR Fixed style sprites broken by pull request #402
2012-05-08 00:43:25 +02:00
Ingo Schommer
7e0d0a4dee
MINOR Tree metadata naming
2012-05-07 14:45:25 +02:00
Ingo Schommer
23148b959a
Merge pull request #402 from ohararyan/sapphire
...
---
http://open.silverstripe.org/ticket/7214
Added watermark to show current state of preview.
Removed button styling from Draft and Preview and added styling to show current selected state.
Designs signed off by Paul
Conflicts:
admin/css/screen.css
2012-05-07 13:01:00 +02:00
Ingo Schommer
f56097a29b
Merge pull request #386 from adrexia/sapphire
...
---
Includes:
* Changes to chosen to include a custom function that will let the drop-down rise-up if there is room and it would otherwise drop beneath the size of the window (changes in coffeescript, jquery output, and chosen css)
* Changes in SCSS to stop the automatic addition of scrollbars, and to limit the extra space at the bottom of the filter div
Issues remaining:
* jLayout is calculating the height of the filter div incorrectly. It is assuming the div is around 70px longer than it is. This height assumption is linked somehow to chosen, as initiating the select box results in a correct height calculation.
2012-05-07 11:21:23 +02:00
Ryan O'Hara
abb5719d33
ENHANCEMENT: Style change to buttons for preview states. Removed open in new window (TRAC-7214)
2012-05-04 13:53:33 +12:00
Ryan O'Hara
92484581e3
ENHANCEMENT: Add disabled state to preview buttons and add watermark for the current state being viewed (TRAC:7214)
2012-05-04 13:53:33 +12:00
Ingo Schommer
f6c8468d56
MINOR Disabled MainMenu caching in LeftAndMain
2012-05-03 14:19:07 +02:00
Ingo Schommer
4029f96728
ENHANCEMENT Section icons in CMS ( #7269 )
2012-05-03 13:49:19 +02:00
Ingo Schommer
0d1e4cece5
Merge pull request #395 from silverstripe-big-o/sapphire
...
---
...tAdmin + regenerated css files.
2012-05-03 11:26:12 +02:00
Normann Lou
826878b45d
ENHANCEMENT: add header icon to CMSFileAddController when uploading file and SecurityAdmin when editing a member record
2012-05-03 18:16:35 +12:00
Jeremy Bridson
7f1e6de4f2
ENHANCEMENT:Trac 7266 - added an icon to the 'sync files' button in AssetAdmin + regenerated css files.
2012-05-03 12:17:41 +12:00
Sean Harvey
151abde17d
Merge pull request #388 from chillu/trac/7170-i18n-sprintf-injections
...
#7170 i18n sprintf injections
2012-05-02 16:18:30 -07:00
Ingo Schommer
c7323545b6
BUGFIX Return consistent data from ModelAdmin->getManagedModels(), fixing custom 'title' settings in $managed_models ( fixes #7243 )
2012-05-02 22:11:26 +02:00
Ingo Schommer
e29bb3c390
ENHANCEMENT Allow opt-out of autofocus in CMS editor form, to avoid browser "auto scrolling" to bring the focused element into view ( fixes #7242 )
2012-05-02 18:27:45 +02:00
Ingo Schommer
8c1053968c
MINOR Fixed unnecessary background in CMS tabs, causes wrong display in FF, and already implemented on parent "cms-content-header" ( #7240 )
2012-05-02 18:13:34 +02:00
Ingo Schommer
dc659543a1
MINOR Correct breadcrumbs in ModelAdmin when managing multiple models ( #7240 )
2012-05-02 18:13:34 +02:00
Ingo Schommer
38ff6d4398
Merge pull request #390 from silverstripe-big-o/Trac-7222-change-gallery-icon
...
ENHANCEMENT:changed gallery icon to an edit icon for assetAdmin + regene...
2012-05-02 06:24:55 -07:00
Ingo Schommer
30153d4538
Merge pull request #394 from silverstripe-big-o/sapphire
...
---
Set the input to the left and label on the right in CheckboxFieldHolder_Small.ss for consistancy with checkbox set field.
Conflicts:
admin/scss/_style.scss
2012-05-02 14:03:59 +02:00
Jeremy Bridson
db9806a895
BUGFIX:Trac#7196 - Fixed styling issues with CMS page settings.
2012-05-02 16:58:08 +12:00
Jeremy Bridson
bc36406826
ENHANCEMENT:changed gallery icon to an edit icon for assetAdmin + regenerated UnitTesting.css
2012-05-02 11:47:54 +12:00
Ingo Schommer
ca789ef5ff
BUGFIX Disable form submits through "enter" key in CMS, as they might trigger unwanted actions by the browser choosing the default button
2012-05-01 23:40:21 +02:00
Ingo Schommer
7b18d9d0da
MINOR Switching _t() calls from sprintf() to using injection parameters ( #7170 )
2012-05-01 22:17:00 +02:00
Ingo Schommer
4c2352f908
MINOR Don't trigger on click on construction of view-model toggles, as it bubbles up to the panel, where it causes a toggle action which overrides any previous user choices stored in cookies ( fixes #7210 )
2012-05-01 14:10:09 +02:00
Ingo Schommer
feab46e075
MINOR Marking ModelAdmin tools filters panel as expanded by default (related to #7210 )
2012-05-01 14:08:55 +02:00
Ingo Schommer
b428fa1548
MINOR Reverting panel collapse changes for filters (see pull requests #383 and #385 )
2012-05-01 13:01:00 +02:00
Naomi Guyer
dc5e36ec5c
BUGFIX: 7117 Fixes
...
Includes:
* Changes to chosen to include a custom function that will let the
drop-down rise-up if there is room and it would otherwise drop beneath
the size of the window (changes in coffeescript, jquery output, and
chosen css)
* Changes in SCSS to stop the automatic addition of scrollbars, and
to limit the extra space at the bottom of the filter div
Issues remaining:
* jLayout is calculating the height of the filter div incorrectly.
It is assuming the div is around 70px longer than it is. This height
assumption is linked somehow to chosen, as initiating the select box
results in a correct height calculation.
2012-05-01 17:14:16 +12:00
Sean Harvey
3cd4b33121
Merge pull request #385 from adrexia/7210-close-filter-panel-default
...
BUGFIX: Fix logic error
2012-04-30 20:26:41 -07:00
Naomi Guyer
16fae77241
BUGFIX: Fix logic error
2012-05-01 15:23:11 +12:00
Sean Harvey
1663e96ddb
BUGFIX Fixing stray . in the "Page type: x" tooltip hovering over a page
2012-05-01 15:16:22 +12:00
Sean Harvey
befc80676d
Merge pull request #383 from adrexia/7210-close-filter-panel-default
...
ENHANCEMENT: Close filter panel(Track#7210)
2012-04-30 18:44:08 -07:00
Naomi Guyer
af5bd4d750
ENHANCEMENT: Close filter panel(Track#7210)
...
Make the filter panel closed every time unless explicitly opened. This
commit is dependent on a commit to the CMS that adds a class to the
template.
2012-05-01 11:12:47 +12:00
Ingo Schommer
85a331cc11
BUGFIX Choose first "action" button on submission of CMS forms via enter key, to avoid a form field button being autoselected ( fixes #7151 )
2012-04-30 17:13:39 +02:00
Naomi Guyer
61c18c5dbc
BUGFIXES: Fixes #7003
2012-04-30 12:25:35 +12:00
Ingo Schommer
4d64946a48
Merge pull request #368 from adrexia/apply-chosen-updates-coffeescript
...
MINOR: Fix chosen Coffeescript files
2012-04-27 01:21:22 -07:00
Ingo Schommer
e7a4eec0da
Merge pull request #377 from adrexia/sapphire
...
---
Added padding back into the settings panel.
2012-04-27 09:42:10 +02:00
Naomi Guyer
f5c26e7282
BUGFIX: Add padding to settings panel
2012-04-27 16:45:07 +12:00
Naomi Guyer
4dc564b143
BUGFIX: actions panel
...
Fix actions panel background colours and shading to work on both the
main page content areas and the settings area. Adjust margin and
z-index so there isn't a visible space on the left-hand side.
2012-04-27 15:48:09 +12:00
Naomi Guyer
66d0673b07
BUGFIX: Fixes #7003
...
Changed the calculation of the iframe size so it would be the correct
height. Altered the styles of the view details area to match design.
Changed the background color of the title on the file header so it
wouldn't look editable (as recommended by Felipe)
2012-04-26 11:17:16 +02:00
Naomi Guyer
70adfc106c
MINOR: Fix chosen Coffeescript files
...
Apply all changes implemented in chosen.jquery.js back on to source
file (chosen.jquery.coffee) and rebuild files. Update cakefile to
current version (fixes package reserved word).
2012-04-26 12:04:40 +12:00
Naomi Guyer
e392cc21c3
BUGFIX: Pop-up scrolling IE7
...
Added position relative to the body of the iframe to fix scrolling bug
2012-04-23 17:01:38 +12:00
Ingo Schommer
ef8651dd30
Merge pull request #350 from adrexia/7004-IE7-wrapping-bug
...
BUGFIX: #7004 Fixes
2012-04-20 01:15:28 -07:00
Will Rossiter
585417d141
Merge pull request #343 from halkyon/object_static_remove_deprecation
...
BUGFIX Remove calls to deprecated Object static methods, update ConfigTest
2012-04-19 14:41:45 -07:00
Naomi Guyer
e2d6d5936d
BUGFIX: #7004 Fixes
...
Fixed the overflow bug in IE7, as per ticket #7004 .
2012-04-19 16:06:58 +12:00
Robert Curry
842784c8aa
ENHANCEMENT: Fixes #7010 . Move DisplayFields, FieldCasting and FieldFormatting functions from GridField to GridFieldDataColumns.
2012-04-19 12:44:59 +12:00
Sam Minnee
9d36048ada
BUGFIX: Fixed a few references to non-existent $request variable.
2012-04-19 10:11:01 +12:00
Ingo Schommer
d8bb1b2375
MINOR Consistent link method names: LeftAndMain->PreviewLink() changed to LinkPreview()
2012-04-18 22:59:18 +02:00
Ingo Schommer
1408198e70
MINOR Fixing display of tree checkboxes
2012-04-18 18:22:54 +02:00
Ingo Schommer
57ee9bf5e8
MINOR Removed unnecessary jquery.livequery include from CMS, its still processing in the background = performance overhead
2012-04-18 17:37:36 +02:00
Ingo Schommer
e40455f2e3
MINOR Fixed tabset/breadcrumb tabular styling, avoid tabs overflowing into hidden space (still needs more work to fix properly)
2012-04-18 16:56:04 +02:00
Ingo Schommer
972e7ccb1a
MERGE sitetreeasul
2012-04-18 16:55:15 +02:00
Ingo Schommer
3ee4459476
MERGE tabs url abs
2012-04-18 16:54:57 +02:00
Ingo Schommer
7f62ad0f3e
Merge branch 'master' into 7094-combine-tree-edit-view
2012-04-18 14:19:55 +02:00
Sean Harvey
16e950cb6a
MINOR Tidy up of code formatting in TestRunner
...
MINOR Fixing up old ObjectStaticTest and merging into ConfigTest
2012-04-18 23:29:54 +12:00
Sean Harvey
4c6be2931b
BUGFIX Removing use of deprecated Object static functions like
...
get_static(), set_static(), uninherited() etc. Replace with equivalent
Config system get(), update()
2012-04-18 23:10:57 +12:00
Jeremy Bridson
4c9fa6276d
ENHANCMENT:Trac#7166 - added styling for 2nd level tabs.
2012-04-18 14:28:13 +12:00
Jeremy Bridson
02abc42f24
BUGFIX:fixed unwanted box shadow on cms-panel-header when side panel is collapsed
2012-04-18 13:59:00 +12:00
Jeremy Bridson
330dd3008c
ENHANCEMENT:Trac#7166 - styled the new combined tree and edit view.
2012-04-18 13:35:57 +12:00
Naomi Guyer
b075dc9058
BUGFIX: Fixes #6943
...
Added classes to dropzone when dragging and dropping files. Added
styles to the dropzone when a file could be dropped. Added a clearfloat
mixin to the mixins file.
2012-04-18 09:56:09 +12:00
Ingo Schommer
473d3a66b8
MINOR Fixed controller contexts in LeftAndMain->SiteTreeAsUL() - needs different context for edit links and determining "current page" (not applicable for CMSPagesController)
2012-04-17 22:33:30 +02:00
Ingo Schommer
35d4cd3da8
MINOR PJAX support for .cms-panel-link
2012-04-17 22:28:36 +02:00
Ingo Schommer
84b0a7d96c
MINOR Renamed .ss-tabset to .cms-tabset in cms templates to distinguish entwine selectors and add extra functionality (cookies, re-selecting tab, panel loading)
2012-04-17 17:40:37 +02:00
Ingo Schommer
d6eb1b6fff
ENHANCEMENT Added .cms-panel-deferred for lazy loading of CMS panels (for performance reasons)
2012-04-17 17:19:03 +02:00
Ingo Schommer
37777615cf
MINOR Ignore aborted ajax requests in CMS notifications
2012-04-17 17:12:15 +02:00
Ingo Schommer
0ef5d0b84f
MINOR Moved tree filtering in LeftAndMain from SiteTreeAsUL() into getSiteTreeFor() to allow filtering the initial tree (via GET parameters), rather than just through getsubtree()
2012-04-17 16:07:22 +02:00
Ingo Schommer
9b2b39aaaa
MINOR More specific tree links, to ensure correct CMSMain subclass is used
2012-04-17 11:03:09 +02:00
Ingo Schommer
6bee103d14
MINOR Removed hardcoded children entries from CMS Menu (and record setting logic), as the related controllers have been merged to be accessible under the same top-level menu
2012-04-17 11:03:09 +02:00
Sean Harvey
de08c05027
BUGFIX Fixing reference to moved editor_plugin_src.js in HtmlEditorConfig settings
2012-04-17 11:56:59 +12:00
Jeremy Bridson
64300caae3
ENHANCEMENT:fixed issues with overflow between tabs and breadcrumbs in cms-content-header
2012-04-16 16:31:24 +12:00
Andrew O'Neil
3b9f99394b
MINOR: Use config system for cms title, rather than eval.
2012-04-16 11:04:55 +12:00
Ingo Schommer
d44f6b3e1f
MINOR Removed deprecated usage of $priority argument in _t() calls
2012-04-15 17:17:17 +02:00
Will Rossiter
befbd3e6a8
MINOR: remove reference to sapphire in CMSVersion
2012-04-15 15:00:52 +12:00
Sean Harvey
8949dfa691
ENHANCEMENT Replaced locations of sapphire with $ModulePath(framework) in templates, based off Controller which implements TemplateGlobalProvider
2012-04-15 10:50:20 +12:00
Simon Welsh
f07258f3cf
MINOR Update @package values to match renaming sapphire
2012-04-15 10:50:19 +12:00
Simon Welsh
3a6341a251
API-CHANGE sapphire folder can now be renamed.
2012-04-15 10:50:19 +12:00
Simon Welsh
f8082e4814
MINOR Add newline to end of files without one
2012-04-15 10:50:19 +12:00
Will Rossiter
907568b182
ENHANCEMENT: move hard coded template HTML for composite field and field group out to separate template files.
2012-04-14 17:36:08 +12:00
Ingo Schommer
3572b31a94
MINOR Default app title when SiteConfig object is not present ( fixes #7114 )
2012-04-13 16:21:30 +02:00
Ingo Schommer
0f8a6999a1
MINOR Passing rendered form to renderWith() call, underlying logic changed (see #7136 )
2012-04-13 15:35:46 +02:00
Jeremy Bridson
20aeb76979
BUGFIX:fixed overflow issues in cms-content-header with back button / breadcrumbs / tabs
2012-04-13 16:08:05 +12:00
Jeremy Bridson
6a7668fefb
ENHANCEMENT:Trac 6882 - created include template for back button and altered the templates accordingly
2012-04-13 16:06:15 +12:00
Ingo Schommer
e2df1f4c5f
MINOR Removed $('.cms-content').loadForm(), its very similar to loadPanel() - accepts callbacks, but that's not specific to forms. Listen to 'afterstatechange' rather than 'loadform' events
2012-04-12 23:53:14 +02:00
Ingo Schommer
b025b95ede
ENHANCEMENT Lazy-loading image and link dialogs for HtmlEditorField, to avoid unnecessary processing overhead on initial CMS load (also means they'll never get loaded if not required, e.g. in ReportAdmin)
2012-04-12 23:53:12 +02:00
Ingo Schommer
5cfbac63a2
MINOR Fixed PJAX panel loading when .cms-content is a split panel with tree and form view (regression caused by 452a507cc9
)
2012-04-12 12:29:20 +02:00
Mateusz Uzdowski
452a507cc9
BUGFIX: remove form auto-detection from the generic JS state handler.
...
Forms take care of PJAX state on their own in the submit and load functions (os-7126)
2012-04-12 11:31:28 +12:00
Ingo Schommer
ca24120a5e
MINOR Install screen visual tweaks, more visible disabled state on install button, conditional version number (to avoid it showing without a version), referencing new theme in install screen, using new layout in install progress screen as well
2012-04-11 16:49:31 +02:00
Ingo Schommer
ac45e5b9c0
Merge branch 'integration'
...
Conflicts:
admin/css/ie8.css
admin/css/screen.css
admin/scss/_style.scss
dev/install/config-form.html
dev/install/install.css
dev/install/php5-required.html
2012-04-11 16:31:12 +02:00
Ingo Schommer
fb12dbe075
Merge pull request #298 from silverstripe-big-o/sapphire
...
---
...s CMS - fixed the issue with the width of the date fields - aligned action buttons in filter panel with the designs.
- There are a couple changes to dropdown widths for the filter side panel in Big-o integration branch already.
Conflicts:
admin/code/ModelAdmin.php
admin/css/screen.css
2012-04-11 15:20:25 +02:00
Jeremy Bridson
98399f7779
BUGFIX:Trac #6854 / #7115 - fixed styling issues with filter panel across CMS - fixed the issue with the width of the date fields - aligned action buttons in filter panel with the designs.
2012-04-11 16:00:56 +12:00
Jeremy Bridson
b58183ff1b
MINOR:Trac #7116 - added a set width to dropdowns in filter side panel for IE8
2012-04-11 11:43:53 +12:00
Ingo Schommer
a64715beeb
BUGFIX Calling tinyMCE.init() in sync with entwine rules to avoid uncached loading interfereing with call order ( fixes #6877 )
2012-04-10 21:41:00 +02:00
Jeremy Bridson
8292075174
BUGFIX:consolidated the btn_icons folder with the btn_icon folder in ../sapphire/admin/images
2012-04-10 14:17:47 +02:00
Jeremy Bridson
75c0937ab3
BUGFIX:removed reference to compass generated sprite and added direct reference to the png file.
2012-04-10 14:16:07 +02:00
Julian Seidenberg
2c5c3eed20
MINOR: regenerating compass icons
2012-04-10 14:16:00 +02:00
Ingo Schommer
3390ea390f
MINOR Updating tree nodes on each state change, rather than just listening to form reloads
2012-04-10 12:28:10 +02:00
Ingo Schommer
15e16f13e1
MINOR Retaining correct PJAX selector on (fake) redirects after form submissions
2012-04-10 12:27:40 +02:00
Julian Seidenberg
1e0b843353
ENHANCEMENT: refactoring code for making a link an ajax/history link. Removing the selector that targets .crumb and only applying the selector that turns links with cms-panel-link into ajax enabled links. Adding the cms-panel-link to those links that already have the crumb class.
2012-04-10 18:16:27 +12:00
Jeremy Bridson
54905b077b
BUGFIX:fixed width of dropdowns in filter side menu.
2012-04-10 17:40:01 +12:00
Jeremy Bridson
df389716df
BUGFIX: SSF-124 - fixed width of column and positioning of show children arrow in ie7
2012-04-10 16:28:25 +12:00
Jeremy Bridson
4a3a6d5128
BUGFIX: SSF-124 - removed styles to fix color of th text.
2012-04-10 13:36:15 +12:00
Julian Seidenberg
9183890148
BUGFIX: SSF-168 fixing Webkit rendering issue that would display elements outside of an absolute positioned layout, breaking the layout in the reportadmin section. The fix is to hide to container that breaks the layout and use js to move the required elements out of the container when the CMS needs them.
2012-04-10 12:41:47 +12:00
Jeremy Bridson
e0b429491c
ENHANCEMENT: SSF-124 - styled the pages list view.
2012-04-10 12:22:11 +12:00
Jeremy Bridson
1176d8d100
BUGFIX:consolidated the btn_icons folder with the btn_icon folder in ../sapphire/admin/images
2012-04-10 12:20:13 +12:00
Jeremy Bridson
cb09ff7ba8
BUGFIX:removed reference to compass generated sprite and added direct reference to the png file.
2012-04-10 12:20:12 +12:00
Julian Seidenberg
c57d8a8ed4
MINOR: regenerating compass icons
2012-04-10 12:11:01 +12:00
Ingo Schommer
cf304044b8
Merge branch 'master' into integration
2012-04-10 00:39:29 +02:00
Ingo Schommer
1742b4b742
BUGFIX Fixed loading/saving regressions due to new PJAX logic introduced in e01b0aa3d0
2012-04-10 00:37:14 +02:00
Ingo Schommer
85a898e1d5
MINOR Don't assume existence of cms/ folder in LeftAndMain->CMSVersion() (regression from earlier code)
2012-04-09 23:55:23 +02:00
Jeremy Bridson
e212e8cb25
BUGFIX: fixed a couple of minor bugs - X-scrolling to 9999em on ModelAdmin and padding on active tabs in pages.
2012-04-10 09:02:24 +12:00
Ingo Schommer
8c5e56fe31
Merge branch 'master' into integration
...
Conflicts:
admin/css/screen.css
dev/install/php5-required.html
2012-04-09 21:10:08 +02:00
Wolf Vollprecht
3ae0ac7805
ENHANCEMENT: Rightlick submenu styles and ability to add page with pagetype
2012-04-09 21:08:19 +02:00
Ingo Schommer
aebbb10c9f
MINOR Skip processing in CMS on empty ajax responses, as they're usually a pseudo redirect (via X-ControllerURL)
2012-04-05 23:00:22 +02:00
Sam Minnee
e01b0aa3d0
ENHANCEMENT PjaxResponseNegotiator for more structured partial ajax refreshes, applied in CMS and GridField. Also fixes issues with history.pushState() and pseudo-redirects on form submissions (e.g. from page/add to page/edit/show/<new-record-id>)
2012-04-05 23:00:22 +02:00
Ingo Schommer
72985b6f42
MINOR Artificially triggering onsubmit event on CMS form buttons rather than calling submitForm() method, in order to give forms like .cms-add-form the option to overload its behaviour
2012-04-05 23:00:22 +02:00
Ingo Schommer
f97804bbe2
MINOR Fixed specificity of .add-form behaviour
2012-04-05 23:00:22 +02:00
Ingo Schommer
a44b67bae2
API CHANGE Moved RequestHandler->isAjax() to SS_HTTPRequest->isAjax()
2012-04-05 23:00:22 +02:00
Jeremy Bridson
206c61fcd5
ENHANCEMENT:SSF-168 - styled report admin gridfield
2012-04-05 15:27:52 +12:00
Jeremy Bridson
a85301b3c7
MINOR:css files regenerating from sass
2012-04-05 15:27:24 +12:00
Jeremy Bridson
6c697e5d05
BUGFIX:SSF-38 - fixed the issue with the size of the popup being to large on-load - added overflow scroll. Altered the header and tabs to match the style of edit profile.
2012-04-05 13:23:56 +12:00
Jeremy Bridson
c1f6f20114
ENHANCEMENT:added logo to header on ss3 install page - plus compass regenerated icon sprites.
2012-04-05 11:18:11 +12:00
Ingo Schommer
40d73127ae
MINOR Using late static binding instead of Object::create() calls
2012-04-04 17:10:31 +02:00
Ingo Schommer
6517f4496b
Merge pull request #273 from ajoneil/sapphire
...
---
This allows DataList::create(SiteTree) as equivalent to Object::create(DataList, SiteTree), without
having to have a create() function on DataList.
Required for E_STRICT compliance, as child classes cant override create() if they change the arguments.
DBField::create() is also renamed to DBField::create_field(), as this does not just call the constructor, which all other cases of create() do.
Conflicts:
tests/model/DateTest.php
tests/model/DatetimeTest.php
2012-04-04 16:48:16 +02:00
Ingo Schommer
ac6f9e9987
MINOR Normalize trailing slashes in X-ControllerURL handling to avoid double requests caused by SS_HTTPRequest modifying the original URL (removing trailing slash etc)
2012-04-04 16:47:14 +02:00
Ingo Schommer
c2b741642e
MINOR Moved X-ControllerURL handling into global ajax response handlers to avoid code duplication
2012-04-04 16:47:13 +02:00
Ingo Schommer
0414e42bbc
MINOR Keep X-ControllerURL canonical by not re-constructing with question mark if there's no GET string (caused duplicate HTML5 pushState requests)
2012-04-04 16:47:13 +02:00
Felipe Skroski
7740bb326a
ENHANCEMENT SSF-168 moved print and csv export buttons to the top of the grid
2012-04-04 14:09:52 +12:00
Felipe Skroski
4ffef20b09
ENHANCEMENT: SSF-168 updated print styles to the datagrid
2012-04-04 14:09:52 +12:00
Julian Seidenberg
7f8a682ad7
BUGFIX: SSF-38 fixing the "Choose files from your computer" upload field
2012-04-04 13:46:24 +12:00
Normann Lou
2f3949ac6e
MINOR add 'print button' to Member list and data list of ModelAdmin
2012-04-04 10:35:41 +12:00
Jeremy Bridson
cebe2fc093
BUGFIX:removed header from edit profile popup and restyled broken tabs - still needs a proper fix after beta II.
2012-04-03 14:34:42 +12:00
Normann Lou
fac2664e01
MINOR: add 'edit-profile-popup' as extra popup class
2012-04-03 12:50:13 +12:00
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
Julian Seidenberg
5c3c3cb347
BUGFIX: SSF-38 removing the z-index on the TabSet so that the upload button works in the HtmlEditorField insert image lightbox.
2012-04-03 10:31:01 +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
e6aa9ae017
BUGFIX Fixed History.js library handling of relative URLs combined with a base URL (was causing infinite loops, e.g. /admin/#/admin/admin/admin/security) ( #7002 )
2012-03-30 16:51:42 +02:00
Ingo Schommer
f34e58f573
ENHANCEMENT Enabled History.pushState() support in IE via onhashchange fallbacks ( #7002 )
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
Jeremy Bridson
c0fd9bf97c
ENHANCEMENT:SSF-38 - Styled in-content file upload dialog box. Also added fixes for cms-content-header box-shadow.
2012-03-30 14:33:20 +13:00
Ingo Schommer
f0ee711f52
Merge pull request #275 from halkyon/e_strict_support
...
First round of fixes for E_STRICT compliance
2012-03-28 02:42:26 -07:00
Sean Harvey
e097f6e1a8
MINOR Fixes to method arguments in core classes for E_STRICT support.
...
API CHANGE Remove abstract static function and just use static functions
in Authenticator (PHP 5.3+ doesn't support abstract static functions)
2012-03-28 22:41:42 +13:00
Ingo Schommer
2ecfbc49f5
Merge pull request #276 from halkyon/e_deprecated_fixes
...
E_DEPRECATED fixes - split() replaced with preg_split()
2012-03-28 02:31:04 -07:00
Ingo Schommer
cbb0259dd7
Merge branch 'integration-merge27march'
2012-03-27 18:07:21 +02:00
Ingo Schommer
66093f71ac
MINOR Fixed one-off button height inconsistencies ( fixes #6980 )
2012-03-27 17:07:52 +02:00
Ingo Schommer
3ef3a6df99
MINOR Shrinking GridField button column to fit, rather than hardcoding a width for it that depends on the amount and styling of buttons in the table
2012-03-27 17:07:52 +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
a95b11d004
MINOR Updated chosen.js from 0.9.7 to 0.9.8 while still maintaining local fixes
2012-03-27 17:02:19 +02:00
Normann Lou
66f537dc3a
BUGFIX: when apply a bugfix patch, there is one missing variable missing, add it.
2012-03-27 17:02:19 +02:00
jbridson
236f2673e1
MINOR:changed the heading 'add pages' to add page trac #7026
2012-03-27 17:02:19 +02:00
jbridson
31d4629cdb
BUGFIX:removed the float from the li (checkboxes) in members permissions... fixed layout issues Trac #6958
2012-03-27 17:02:18 +02:00
jbridson
83be1a8b43
BUGFIX:removed unnecessary horizontal line from new members page and replaced cms-help-toggle text with ?icon Trac #6956
2012-03-27 17:02:18 +02:00
jbridson
97aa2c8ba6
BUGFIX:adjusted padding so that content aligns properly on the add page panel Trac #6990
2012-03-27 17:02:18 +02:00
jbridson
6fb95e098d
BUGFIX:fixed padding issues with navigation tabs across the CMS
2012-03-27 17:02:18 +02:00
Ingo Schommer
87fbb720a1
MINOR Fixing 1px gap between nav tree and page header
2012-03-27 17:02:18 +02:00
jbridson
064a36e140
BUGFIX:fixed alignment of create and delete buttons across the CMS - Trac #6955
2012-03-27 17:02:17 +02:00
jbridson
43d8c08b28
ENHANCEMENT:added cursor:pointer to arrows in the pages tree (Trac #6930 )
2012-03-27 17:02:17 +02:00
jbridson
62ef8a269f
ENHANCEMENT:replaced text "Toggle Formatting Help" with a ? icon on edit profile Popup - Trac #6904
2012-03-27 17:02:17 +02:00
jbridson
1a66ecd6ac
BUGFIX:fixed styling issues on edit profile dialog popup - Trac #6819
2012-03-27 17:02:14 +02:00
jbridson
304b89f802
MINOR:replaced back button icon with correct icon.
2012-03-27 15:38:36 +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
Sean Harvey
cf014dc56d
MINOR Replaced use of deprecated split() with preg_split() and fixed use of "&new Class()" which is deprecated in PHP 5.3
...
ENHANCEMENT E_DEPRECATED and E_USER_DEPRECATED are now handled as notice level errors in Debug.
2012-03-27 23:16:52 +13:00
Will Rossiter
c3cae289d3
MINOR: added default flag to SCSS to allow variables to be overridden
2012-03-27 21:35:43 +13:00
Will Rossiter
e9f650a04e
MINOR: tighten up tree spacing
2012-03-27 21:35:43 +13:00
Andrew O'Neil
de2832e65f
ENHANCEMENT: Allow Object::create() to be called with late static binding.
...
This allows DataList::create('SiteTree') as equivalent to Object::create('DataList', 'SiteTree'), without
having to have a create() function on DataList. Required for E_STRICT compliance.
2012-03-27 17:57:42 +13:00
Ingo Schommer
06a4e1aad6
Merge pull request #268 from sminnee/raise-js-errors
...
BUGFIX: Show a correct growl message when ajax returns a JS error rather than HTTP error.
2012-03-26 06:27:41 -07:00
Sean Harvey
fd7f2eb469
ENHANCEMENT Use of Object::create('GridField') for Roles grid in
...
SecurityAdmin, to be consistent with Members and Groups grid
instantiation.
MINOR Removing comments referring to CTF
2012-03-26 14:51:40 +13:00
Sean Harvey
fca60b786c
ENHANCEMENT Addition of ModelAdmin::getExportFields() which allows ModelAdmin classes to customise which fields should be exported. Defaults to the summary fields from the model class definition.
2012-03-25 20:01:43 +13: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
Sam Minnée
3ef64af761
Merge pull request #260 from simonwelsh/assettablefield
...
MINOR Remove unused AssetTableField js file
2012-03-23 18:08:12 -07:00
Sam Minnée
1b24437fde
Merge pull request #262 from halkyon/security_import
...
ENHANCEMENT Adding missing MemberImportForm to SecurityAdmin, and styling fixes.
2012-03-23 17:39:46 -07:00
Sean Harvey
ffdf548575
ENHANCEMENT Adding missing MemberImportForm to SecurityAdmin, putting each importer into
...
Users and Groups tab for context instead of Import tab, and fixing
styling to be close to how it was in SS 2.4.
2012-03-24 13:20:19 +13:00
Simon Welsh
673dd7d992
MINOR Remove unused AssetTableField js file
2012-03-24 12:36:59 +13:00
Will Rossiter
71f37b993c
BUGFIX: #6840 Fix navigation highlights on LeftAndMain
2012-03-24 11:57:29 +13:00
Will Rossiter
ebec3ba1c6
MINOR: fix alignment of cms logo to panel title
2012-03-24 11:57:29 +13:00
Sean Harvey
fea3a4eea0
MINOR Removed useless .DS_Store files
2012-03-20 20:41:10 +13:00
Ingo Schommer
e70c9b7d13
Merge pull request #246 from silverstripe-scienceninjas/trac-6853
...
BUGFIX: #6853 Necessary styles required to complement work on same-index...
2012-03-15 15:40:38 -07:00
Ingo Schommer
e443ec5c9c
Merge pull request #244 from sminnee/ipad-fixes
...
BUGFIX: Remove stray scrolling and zooming glitches on iPad.
2012-03-15 03:03:45 -07:00
Sean Harvey
fc9e065e44
BUGFIX Don't show "Import" header if ImportForm isn't available in
...
ModelAdmin_Tools template
2012-03-15 14:18:56 +13:00
Sam Minnee
069d7117d7
BUGFIX: Remove stray scrolling and zooming glitches on iPad.
2012-03-15 14:13:30 +13:00
Ingo Schommer
620b23a23f
MINOR Including GET parameters in X-ControllerURL default headers (which fixes e.g. AssetAdmin search persistence)
2012-03-14 16:07:50 +01:00
jbridson
7ff273263a
BUGFIX:fixed issues with overflow on model and security admin - made changes more specific.
2012-03-12 23:01:07 +01:00
jbridson
3d26cb7bf9
BUGFIX:SSF-106 - fixed uneven column widths and overflow issues with datagrid in ie7.
2012-03-12 23:01:07 +01:00
Andrew O'Neil
f367db2904
MINOR: Remove table filter from modeladmin search results
2012-03-12 23:01:07 +01: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
4fc3aaf939
Revert "ENHANCEMENT Using 'autoresize' TinyMCE plugin in HTMLEditorField default config, in order to save space when no content is entered into the field" - causes artificial loading delay, and doesn't detect height correctly due to floated images in paragraphs. These paragraphs can't be clearfix'ed because they'd become contenteditable (resizeable) elements in IE because of this.
...
This reverts commit 69a8659a3d
.
2012-03-12 16:03:13 +01:00
Ingo Schommer
d46a4504f5
MINOR Fixed scope problems caused by separating out getTreeConfig()
2012-03-12 14:44:09 +01:00
Ingo Schommer
bac23bcdb7
BUGFIX Correctly set $BaseCSSClasses on LeftAndMain content container templates, not only on forms. Fixes $('.cms-menu') handling of "current id" updates ( fixes #6997 )
2012-03-12 14:05:54 +01:00
Ingo Schommer
8f8817b2f9
MINOR Always set X-ControllerURL in CMS responses, in order to fix menu state after Ajax HTTP redirects (e.g. from CMSPageAddController to CMSPageEditController)
2012-03-12 13:41:22 +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
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