Ingo Schommer
04a195b111
MINOR Stop using FormResponse, which has been removed from core
2012-03-09 23:20:09 +01:00
Ingo Schommer
0633c10075
API CHANGE Removed CMSMain->getpagecount() unused helper method (should be a report, anyway)
2012-03-09 23:13:27 +01:00
Ingo Schommer
22cd47cc84
MINOR Removed unused CMSMain->sendFormToBrowser()
2012-03-09 23:07:44 +01:00
Ingo Schommer
055b3b9799
API CHANGE Removed CMSMain->SideReportsForm() and related functionality, now handled by dedicated ReportAdmin interface
2012-03-09 23:07:31 +01:00
Mark Stephens
463ee0c5f7
ENHANCEMENT: added option to add page to top level
2012-03-09 18:07:35 +13:00
Sam Minnée
aaa52d59e6
Merge pull request #67 from silverstripe-scienceninjas/pull/6921-renaming-of-gridfields
...
Pull/6921 renaming of gridfields
2012-03-08 17:50:31 -08:00
Stig Lindqvist
ec06f1db8e
API CHANGE Renamed GridFieldDefaultColumns to GridFieldDataColumns #6921
2012-03-09 14:08:43 +13:00
Sam Minnee
4c7f3e0836
BUGIFX: Use limit() instead of deprecated getRange() in AssetAdmin.
2012-03-09 13:53:28 +13:00
Stig Lindqvist
b8399aa85e
API CHANGE: Renaming of gridfield components #6921
2012-03-09 12:54:30 +13:00
Ingo Schommer
439b9c1f29
ENHANCEMENT Removing notion of "root" identifier string for the base folder in AssetAdmin, using 0 explicitly = clearer logic. Fixed breadcrumbs to work with this as well.
2012-03-08 22:18:07 +01:00
Ingo Schommer
8fb2755c5b
MINOR Defaulting upload dir to /assets rather than /assets/Uploads in CMSFileAddController when viewing root folder
2012-03-08 22:17:05 +01:00
Ingo Schommer
a30a615de4
MINOR Extending CMSFileAddController off LeftAndMain to fix problems with inherited templates (wrong .cms-content styling when requesting via ajax, due to inherited AssetAdmin templates)
2012-03-08 21:18:39 +01:00
Ingo Schommer
1789287bd2
MINOR No longer using iteratorproperties() directly
2012-03-08 20:25:51 +01:00
Ingo Schommer
ce5204f2f8
MINOR Respect permission failures from parent implementation in CMSPageHistoryController
2012-03-08 20:02:15 +01:00
Ingo Schommer
79269a22ed
MINOR Moved CMSMain->RootForm() to CMSSettingsController (same effect, but clearer structure)
2012-03-08 18:24:35 +01:00
Ingo Schommer
c94308d21d
MINOR Implemented "Add new" link in CMSPagesController
2012-03-08 18:24:35 +01:00
Ingo Schommer
f085583b61
ENHNANCEMENT Creating folders via (faster) JavaScript prompt in AssetAdmin, implicitly fixing AssetAdmin->doAdd() layout issues after submitting
2012-03-08 18:24:33 +01:00
Ingo Schommer
c226554b5a
MINOR Adjusted AssetAdmin to GridFieldAction_ * class renames
2012-03-08 15:25:45 +01:00
Ingo Schommer
3670fe0530
ENHANCEMENT Show AssetAdmin breadcrumbs+tabs outside of search+editform panels
2012-03-07 17:02:08 +01:00
Ingo Schommer
9981c929e0
MINOR Fixed breadcrumbs in CMSFileAddController
2012-03-07 17:01:08 +01:00
Ingo Schommer
915dc7f27c
MINOR Fixed wrong "add folder" css class + behaviour
2012-03-07 14:37:12 +01:00
Normann Lou
434dbdb286
MINOR SSF-30 : add extra class to Tab (GalleryView) to AssetAdmin EditForm
2012-03-07 16:52:29 +13:00
Normann Lou
ecb31ce30a
MINOR SSF-30 : add extra field to Tabs (listView and TreeView) to LeftAndMain EditForm
2012-03-07 14:28:57 +13:00
Ingo Schommer
b6f73eb290
MINOR Title for "sync files" button
2012-03-06 11:25:41 +01:00
Julian Seidenberg
adefc15e5a
API-CHANGE: SSF-33 Adding "look for new files" trigger. Removing the legacy implementation of SyncForm and replacing it with an implementation that can be triggered via ajax.
2012-03-06 18:22:31 +13:00
Ingo Schommer
e0a67a80c7
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 18:42:44 +01:00
Ingo Schommer
fbbbc9f0bc
MINOR Fixed breadcrumbs for CMSSettingsController
2012-03-02 20:45:44 +01:00
Ingo Schommer
d1581c2b9b
ENHANCEMENT Refactored AssetAdmin to use SearchContext for filtering records, rather than relying on GridFieldFilter - less coupling to one view (we also have gallery and tree views), and more flexible filtering on columns/criteria which are not present in GridField
2012-03-02 20:45:34 +01:00
Ingo Schommer
7125af918d
BUGFIX Fixed CMSFileAddController upload in custom folders
2012-03-02 15:43:22 +01:00
Ingo Schommer
18e612e65b
MINOR Moved CMSMain.GridField.js logic into LeftAndMain.js (applies to all CMS interfaces), fixed event bugs with GridField overloading in AssetAdmin.js
2012-03-01 00:19:34 +01:00
Ingo Schommer
6860c5dd9f
MINOR Consolidated AssetAdmin->FilterForm() button styling and labels with CMSMain
2012-02-29 21:06:21 +01:00
Ingo Schommer
e96d6f5bd5
MINOR Linking breadcrumbs to root node via AssetAdmin->Breadcrumbs()
2012-02-28 20:11:07 +01:00
Ingo Schommer
f78ab9097a
MINOR Reinstated getting current record ID from session in AssetAdmin in order to allow routing to GridFieldPopupForms detail views (admin/assets/show/99 vs admin/assets/EditForm/field/...)
2012-02-28 20:10:39 +01:00
Andrew O'Neil
80fe9c8864
MINOR: SSF-106 Include cms gridfield javascript hooks
2012-02-28 15:58:19 +01:00
Ingo Schommer
5a69985a52
Merge branch '106-add-edit-records'
2012-02-28 00:22:49 +01:00
Ingo Schommer
f216c783c6
Merge remote-tracking branch 'silverstripe-scienceninjas/pull/SSF-12'
2012-02-23 23:39:06 +01:00
Ingo Schommer
09fd710dd4
MINOR Combining CSS in CMS, added AssetAdmin styles
2012-02-23 23:15:37 +01:00
Ingo Schommer
c582f08ea3
MINOR Ensuring a valid Folder object is returned from AssetAdmin->currentPage() to avoid breaking AssetAdmin->getEditForm(), e.g. when a GridField search is conducted
2012-02-23 23:15:37 +01:00
Ingo Schommer
c7c2a2c409
ENHANCEMENT New "add folder" logic for AssetAdmin
2012-02-23 23:15:37 +01:00
Ingo Schommer
71c7664c95
MINOR Moved AssetAdmin-specific fields from Folder->getCMSFields() to AssetAdmin->getEditForm(), added button icons and toolbar
2012-02-23 23:15:35 +01:00
Ingo Schommer
5a6ed1a603
MINOR Backlink for "Add files" UI
2012-02-21 21:17:56 +01:00
Stig Lindqvist
876c809a7d
ENHANCEMENT Filterpanel for assetadmin
2012-02-21 16:02:54 +13:00
Ingo Schommer
f620f9b46c
MINOR Using <button> tags for CMS UI, and new 'data-icon' HTML5 attribute to denote icons
2012-02-17 15:30:37 +01:00
Ingo Schommer
8c503069b8
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-16 18:06:48 +01:00
Ingo Schommer
68e9e91a78
ENHANCEMENT New panel styling for AssetAdmin and CMSFileAddController (SSF-24)
2012-02-16 13:59:29 +01:00
Ingo Schommer
38cf7e5c4d
ENHANCEMENT Using new "tools" panel architecture to render CMS templates, which e.g. allows CMSPageEditController to reload the form without the tree in the side-by-side display variation, and hence avoids slowing down the loading and saving process
2012-02-15 14:28:07 +01:00
Ingo Schommer
f88d4006f8
ENHANCEMENT CMSMain->Breadcrumbs()
2012-02-14 16:11:38 +01:00
Ingo Schommer
023902c4cc
MINOR Unsetting any current record state in CMSPagesController, as it doesn't deal with records (and it wrongly highlights the current tree node)
2012-02-14 16:00:48 +01:00
Ingo Schommer
c96e2ba7ca
API CHANGE Removed ThumbnailStripField class, as it was only used for the CMS image insertion logic (which was rewritten with a more powerful file selection based on GridField)
2012-02-14 13:32:58 +01:00
Fred Condo
d99e3a0927
Code cleanup: removed trailing ?> markers per code standard.
...
All cms module except lang directory.
2012-02-13 12:48:41 -08:00
Will Rossiter
adcb0a5c73
MINOR: remove duplicate controller folder
2012-02-11 16:29:06 +13:00
Will Rossiter
c958147609
MINOR: update HTTPResponse to SS_HTTPResponse. Ensure ID is casted as int when displaying in error message
2012-02-11 15:50:09 +13:00
Will Rossiter
01cef8a86d
Merge pull request #54 from jthomerson/allow_different_homepage_url_master
...
ENHANCEMENT: Allow the homepage to have a different URL.
2012-02-10 17:08:16 -08:00
Will Rossiter
50ff9b6962
ENHACEMENT: include sitetree on the CMSPage editing screen
2012-02-11 14:02:22 +13:00
Stig Lindqvist
6d37826305
MINOR getEditForm should have the same signature as inherited classes (PHP strict standard)
2012-02-10 23:16:09 +01:00
Simon Welsh
fd39ed20a7
BUGFIX Preview button URL had wrong case for stage parameter.
2012-02-10 13:41:40 +13:00
Jeremy Thomerson
3c3b27d3cb
ENHANCEMENT Allow the homepage to have a different URL
...
If you changed the URL segment for your homepage to anything other than 'home'
a new homepage would be created every time you ran a dev/build. This commit
allows you to call RootURLController::set_default_homepage_link('something');
to change the URL segment for your homepage to 'something'. After doing this
the dev/build process will no longer create a homepage if you already have a
page with 'something' as the URL segment.
There was a discussion of needing this at
http://www.silverstripe.org/general-questions/show/12253
2012-02-03 03:24:00 +00:00
Ingo Schommer
acd2f6bacf
API CHANGE Removed AssetAdmin metadata upload capabilities, please use the new UploadField inline editing support
...
EHNAHCEMENT Moved AssetAdmin->upload() and related functionality to new UploadField class
2012-02-03 00:11:11 +01:00
Ingo Schommer
71220ee99f
API CHANGE silverstripe_version file now contains the plain version number, rather than an SVN path
2012-02-01 18:42:13 +01:00
Ingo Schommer
908a98b55b
API CHANGE Default to /admin/pages rather than homepage edit view when CMS is first opened ( #6762 )
2012-01-24 14:20:55 +01:00
Stig Lindqvist
7de585103f
BUGFIX: Can't upload files to root folder
2012-01-10 14:02:19 +13:00
Stig Lindqvist
1f190eb698
BUGFIX: Return a RootForm for AssetAdmin so Form get the correct Fields on POST
...
Solves issues with GridField and uploading on the root folder (/assets/)
2012-01-10 14:01:25 +13:00
Ingo Schommer
60129f61da
ENHANCEMENT Added new CMSFileAddController
2012-01-09 21:21:12 +01:00
Ingo Schommer
d88075edea
MINOR Disabling empty requirement in CMSMain
2012-01-06 17:59:02 +01:00
Ingo Schommer
6bff69117a
MINOR Better combination of i18n JS files in CMSMain
2012-01-06 12:12:41 +01:00
Ingo Schommer
6887b88099
MINOR Selection bugfixes for CMSMain.AddForm.js, more efficient tree metadata
2012-01-05 23:17:12 +01:00
Ingo Schommer
6dd0535442
MINOR Only set current record in CMSMain->AddForm() if its not the homepage - not ideal, but root is the more likely default given the information at hand
2012-01-05 23:17:12 +01:00
Ingo Schommer
167bc045fe
MINOR Making page drop down searchable on CMS add form, and ensuring that the default page option is showing first
2012-01-05 13:45:07 +01:00
Ingo Schommer
8da0defa27
MINOR Using new triangle/step markup in AddForm
2012-01-03 22:55:59 +01:00
Ingo Schommer
f8d1523823
MINOR Moved EditorToolbar() from CMSMain to LeftAndMain (as we don't support loading link forms via ajax)
2012-01-03 22:55:56 +01:00
Ingo Schommer
e35991b363
MINOR Misc styling fixes around dialogs and "add page" styling
2012-01-03 17:57:04 +01:00
Ingo Schommer
ee2c8003db
MINOR Merge error
2011-12-29 09:53:18 +01:00
Ingo Schommer
1914f0b29d
MINOR Checking for existence of defaultParent in CMSMain->SiteTreeHints()
2011-12-20 18:21:45 +01:00
Ingo Schommer
0d008b6496
ENHANCEMENT Allowing to add pages from main interface, in addition to dialog triggered from admin/pages (through CMSPageAddController)
2011-12-20 17:45:07 +01:00
phalkunz
ac79934077
ENHANCEMENT Render page tree icons as stylesheets rather than $_TREE_ICONS JS definitions. Removed file/folder swapping of SiteTree::$icon, use relative file path including extension instead.
2011-12-19 14:03:42 +01:00
Ingo Schommer
023ac994e9
MINOR Making allowed_actions explicit on some core controllers (thanks cbarberis, fixes pull request #1 )
2011-12-19 14:03:42 +01:00
Ingo Schommer
4c8f6e7f4d
MINOR Reduced HTML validation errors in CMS
2011-12-18 16:59:49 +01:00
Will Rossiter
e17b4a185a
MINOR: update PageTypes to use updated tab path for CMS fields. Fixes #6811
2011-12-17 16:46:26 +13:00
Ingo Schommer
8d3d71027e
MINOR Remove JavaScript validation handler from CMS, it doesn't work with ajax
2011-12-14 12:41:04 +01:00
Ingo Schommer
c380af6836
BUGFIX Including HTMLEditorConfig::include_js() in LeftAndMain instead of CMSMain for loading consistency.
2011-12-12 22:56:10 +01:00
Ingo Schommer
c5323547b8
BUGFIX Fixed loading of full page template via ajax in CMSPageHistoryController, which causes infinite loops in CMS initialization
2011-10-29 22:04:40 +02:00
Ingo Schommer
d66a47271d
MINOR Implemented CMSMain->PreviewLink() (moved from LeftAndMain)
2011-10-29 22:04:40 +02:00
Sam Minnee
4e7cb308d5
MINOR: Use Deprecation class to indicated deprecated methods in cms.
2011-10-29 17:41:06 +13:00
Sam Minnée
7394c31a44
Merge pull request #32 from stojg/release/new-orm-cleanup
...
Release/new orm cleanup
2011-10-28 21:33:48 -07:00
Will Rossiter
c34ef60d82
BUGFIX prevent calling function on null record
2011-10-29 15:46:38 +13:00
Stig Lindqvist
d81b46f141
MINOR Fixed some inline documentation
2011-10-27 20:24:46 +02:00
Stig Lindqvist
d799c80cc5
API CHANGE Changed name from DataObjectSet to either ArrayList or DataList
2011-10-27 20:24:45 +02:00
Stig Lindqvist
05e90838c0
API CHANGE Switch usage from FieldSet to FieldList
2011-10-27 20:24:45 +02:00
Ingo Schommer
51a81bb258
MINOR Removed individual Requirements calls in CMSMain->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:56:25 +02:00
Ingo Schommer
9016204dec
Merge branch 'candidasa-cms-enhancements'
2011-10-11 09:36:53 +02:00
Ingo Schommer
a93994f59e
BUGFIX: Better handling of non-existent records in delete calls (if button is clicked twice)
2011-10-07 12:15:41 +02:00
Ingo Schommer
f7d322a004
BUGFIX Marking fields as readonly in CMSMain->compareversions() before loading data, to avoid loading invalid values (HTML diffs) into the fields (AIR-39)
2011-10-07 12:07:46 +02:00
Ingo Schommer
093eb6cd53
MINOR Checking for success of file upload before trying to add metadata in AssetAdmin->doUpload() (AIR-37)
2011-10-07 12:02:16 +02:00
Ingo Schommer
089973803b
MINOR Using increase_memory_limit_to() in CMSMain->buildbrokenlinks()
2011-10-07 12:01:25 +02:00
Ingo Schommer
3809c1614f
API CHANGE Require ADMIN permissions for performance-heavy tasks in CMSMain: getpagecount() and publishall(), and using increase_time_limit_to() which respects higher max_execution_time settings
2011-10-07 11:14:55 +02:00
ajshort
a54963d954
API CHANGE: Replaced DataObjectSet instances with ArrayList.
2011-10-07 08:51:54 +02:00
Sam Minnee
ddcbd650d4
BUGFIX: Fix bugs introduced by the expectation of having a DataModel.
2011-10-07 08:51:54 +02:00
Ingo Schommer
2ef1ae397a
MINOR Fixed method signature on batch actions
2011-10-04 13:24:01 +02:00
Julian Seidenberg
1bf34b3bfb
MINOR: changing label text to match design
2011-09-30 12:49:34 +13:00
Julian Seidenberg
a7527eef9c
ENHANCEMENT: using CSS3 to do number label in dialog box (SSO-8)
2011-09-30 12:48:34 +13:00
Julian Seidenberg
2c4b1271c7
ENHANCEMENT: CSS styling of "Create Page" dialog box and adjusting dialog title to be consistent with label of button that creates it (SSO-8)
2011-09-29 13:10:56 +13:00
Ingo Schommer
9c22a87b9a
ENHANCEMENT Removed unnecessary "Edit Page > Reports" controller, feature will only be available through a dedicated "Reports" interface
2011-09-19 21:50:15 +02:00
Will Rossiter
803adfce42
MINOR: removed direct access to $_REQUEST and instead encapulsate access through SS_HTTPRequest
2011-09-19 21:38:26 +02:00
Will Rossiter
010829f6fb
MINOR: added note to select two entries
2011-09-19 21:38:19 +02:00
Ingo Schommer
ab9d62b53c
MINOR Removed hardcoding of history ajax links
2011-09-19 21:34:46 +02:00
Ingo Schommer
10e76830c4
MINOR Fixed history panel non-ajax loading and version links in "comparing X and Y" titles
2011-09-19 21:06:39 +02:00
Will Rossiter
ecae94e8c2
MINOR: added unit test for checking whether viewing an unpublished version directly selects the checkbox option
2011-09-19 17:30:47 +02:00
Will Rossiter
11821f3e43
ENHANCEMENT: implemented further tests for CMSPageHistoryController::getEditForm()
2011-09-19 17:30:47 +02:00
Will Rossiter
18471e8878
ENHANCEMENT: added tests for CMSPageHistoryController::VersionsForm(). BUGFIX: fixed VersionsForm hidden ID storing a reference to itself. ENHANCEMENT: changed url structure from /version/ to /show/ for consistency between CMSPageHistoryController and CMSMain. APICHANGE: moved performRollback() from CMSMain to CMSPageHistoryController
2011-09-19 17:30:47 +02:00
Will Rossiter
f81531115f
ENHANCEMENT: added notice template for outputting notices to cmsmain interfaces.
2011-09-19 17:30:47 +02:00
Will Rossiter
d90ea0d236
ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain API.
2011-09-19 17:30:46 +02:00