Commit Graph

133 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
ef514b924e MINOR Fixed SecurityAdmin styling 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
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
7d245c3803 MINOR Reduced unnecessary autoloading 2011-12-23 10:31:35 +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
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
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
Ingo Schommer
96d18efa58 MINOR Replaced calls to deprecated FormField->Name() with getName() 2011-10-29 13:27:11 +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