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
Simon Welsh
3a6341a251
API-CHANGE sapphire folder can now be renamed.
2012-04-15 10:50:19 +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
85a898e1d5
MINOR Don't assume existence of cms/ folder in LeftAndMain->CMSVersion() (regression from earlier code)
2012-04-09 23:55:23 +02:00
Wolf Vollprecht
3ae0ac7805
ENHANCEMENT: Rightlick submenu styles and ability to add page with pagetype
2012-04-09 21:08:19 +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
a44b67bae2
API CHANGE Moved RequestHandler->isAjax() to SS_HTTPRequest->isAjax()
2012-04-05 23:00:22 +02: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
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
Ingo Schommer
f34e58f573
ENHANCEMENT Enabled History.pushState() support in IE via onhashchange fallbacks ( #7002 )
2012-03-30 16:51:42 +02: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
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
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
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
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
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
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
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
27d23633ea
MINOR Disabled browser autocomplete for batch action select
2012-03-08 01:49:36 +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
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
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
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
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
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
7d10ff790c
MINOR Fixed JS notice/alerts in CMS
2012-02-29 17:15:52 +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
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
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
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
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
Simon Welsh
df82dac334
BUGFIX Fallback to sapphire/silverstripe_version if there is no CMS (framework only)
2012-02-23 20:46:34 +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
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
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
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
37dfbb6b7e
ENHANCEMENT LeftAndMain->Breadcrumbs()
2012-02-14 17:31:32 +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
Fred Condo
d370423825
Clean up trailing ?> per coding standard
...
All sapphire but the lang directory
2012-02-12 12:40:16 -08: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
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
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
c6e1937021
MINOR Rotated labels for collapsed panels
2012-01-06 16:58:04 +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
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
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
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
wolfv
2ccda564ca
ENHANCEMENT: #6579 Show page status in page tree (pull request #142 from wolfv/sapphire)
2011-12-29 10:35: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
4d28b79c1b
MINOR Reduced HTML validation errors in CMS and FieldGroup
2011-12-18 17:00:01 +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
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
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
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
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
Will Rossiter
3d77214d91
MINOR remove old stylesheet
2011-10-29 15:47:07 +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
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
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
Will Rossiter
2036354d8d
ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain interface
2011-09-19 17:26:01 +02:00
Will Rossiter
60cba7dd76
BUGFIX: fixed submenu not opening in cms-menu when cms loads on page other than edit page section
2011-09-19 17:22:36 +02:00
Ingo Schommer
ce8e72cf0e
MINOR Removing executable flag from all files (thanks miiihi)
2011-09-18 22:04:02 +02:00
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
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
e40d3d45c0
ENHANCEMENT $('.cms-preview').block()/unblock() for blocking preview window when unavailable. Fixed duplicate addition of GET parameters in preview with new jQuery.query library for parameter parsing.
2011-08-12 14:28:22 +02:00
Will Rossiter
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
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
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
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
8378a9d561
MINOR Moved "pinging" logic for CMS into new LeftAndMain.Ping.js container
2011-07-08 15:36:44 +02:00
Ingo Schommer
4e0949f565
ENHANCEMENT Consistently wrapping CMS forms in <div class="cms-content">, added LeftAndMain.Content.js to reload panels via ajax, hooking into preview logic
2011-07-08 15:36:44 +02:00
Ingo Schommer
2b56d2a8d8
FEATURE Preview panel to show CMS changes on actual website. Navigating in preview loads new page for editing in CMS.
2011-07-08 15:36:44 +02:00
Ingo Schommer
686f101925
ENHANCEMENT Toggleable panels in CMS
2011-07-08 15:36:43 +02:00
Sam Minnee
878b348a0f
Merge branch 'master' into new-orm
...
Conflicts:
docs/en/reference/built-in-page-controls.md
model/SQLQuery.php
2011-05-26 17:08:10 +12:00
Will Rossiter
6956275d2e
MINOR: css styles and formatting for left hand side menu bar. Altered the stylesheet structure to allow future admin scss theme files to be included easier
2011-05-20 11:29:40 +12:00
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
ajshort
3f132a105b
API CHANGE: Replaced DataObjectSet instances with ArrayList.
2011-05-05 20:40:24 +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
71bc87fa1e
MINOR Making SiteConfig dependency optional in LeftAndMain->SiteConfig()
2011-05-01 22:30:53 +12:00