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
Frank Mullenger
916309e6c6
BUGFIX returning false from canDeleteFromLive() for a DataObject did not remove the Unpublish button from CMS, but the Unpublish action returned an error. Fixes #6731 .
2011-10-08 17:14:54 +13: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
Sam Minnee
32ab772615
BUGFIX: Use SSReport::description() (by sminnee, merged from r100009)
2011-10-07 12:08:12 +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
de13f144fa
MINOR Argument checks in AssetTableField->getCustomFieldsFor() (AIR-40)
2011-10-07 11:58:34 +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
Ingo Schommer
f98bc8480c
BUGFIX Respect writeWithoutVersion() when updating VirtualPage relationships in SiteTree->onAfterWrite() (AIR-97)
2011-10-07 11:12:52 +02:00
Ingo Schommer
21d10ad32f
BUGFIX Consistently returning a record from VirtualPage->CopyContentFrom(), even if pointing to a non-existant ID (AIR-77)
2011-10-07 11:09:10 +02:00
Sam Minnee
5d235fa9f7
ENHACEMENT: Improved caching of permissions for improved CMS perfromance for non-admins (merged from r102278)
2011-10-07 10:36:56 +02:00
Sam Minnee
d64e847534
BUGFIX: Don't turn virtual pages green if their source is deleted from draft and then reverted (merged from r100926 and r100928)
2011-10-07 10:07:38 +02:00
Ingo Schommer
f368686adc
MINOR Documentation
2011-10-07 10:06:06 +02:00
Sam Minnee
6fc01394a6
API CHANGE: Added VirtualPage::$non_virtual_fields and VirtualPage::$initially_copied_fields for configuring the behaviour of virtual pages. (merged from r100463)
2011-10-07 10:05:32 +02:00
Ingo Schommer
987eedf9ba
BUGFIX Don't fail SiteTree::batch_permission_check() is no published pages exist
2011-10-07 09:38:35 +02:00
Ingo Schommer
e26d249d60
BUGFIX Consistently resetting Subsite::$disable_subsite_filter to its original state (if the module is installed)
2011-10-07 09:38:11 +02:00
Ingo Schommer
6ab1340680
BUGFIX Using SiteTree->getSiteConfig() instead of SiteConfig::current_site_config() in SiteTree::batch_permission_check() to avoid cases where multiple variances of SiteConfig need to be considered (e.g. when using the subsites module) (AIR-59)
2011-10-07 09:34:53 +02:00
Ingo Schommer
1fcc987b78
MINOR Documentation for SiteTree::batch_permission_check()
2011-10-07 09:34:28 +02:00
Ingo Schommer
45f857e042
MINOR Removing class comparison in SiteTree->canCreate() (mainly in order to enable overloading via SiteTreeSubsite->canCreate())
2011-10-07 09:31:29 +02:00
Ingo Schommer
4903fad537
BUGFIX Checking for SiteTree:: in SiteTree->getClassDropdown() (AIR-20)
2011-10-07 09:29:03 +02:00
Ingo Schommer
922dd126c6
MINOR Allowing TRUE vetoes in SiteTree->augmentValidURLSegment() (in addition to the existing FALSE vetoes)
2011-10-07 09:19:40 +02:00
Ingo Schommer
2dd96a4050
API CHANGE Checking for SiteTree::$allowed_children in SiteTree->validate() (was only checked via JavaScript before).
...
BUGFIX Ensure that VirtualPage $allowed_children are checked on original classes to avoid allowing more than necessary (AIR-38)
2011-10-07 08:59:23 +02:00
Ingo Schommer
d03724e116
BUGFIX Disable subsites filtering in File->BackLinkTracking() if module is installed (AIR-66)
2011-10-07 08:59:23 +02:00
sminnee
e57be3f6e4
API CHANGE Always allow users with ADMIN permissions to view or edit SiteConfig
...
git-svn-id: http://svn.silverstripe.com/modules/sapphire/branches/airnz/iteration3@89049 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-10-07 08:59:23 +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
Sam Minnee
9398fcaaa1
BUGFIX: Fix SiteTree broken link correction to handle the fact that relations aren't cached.
2011-10-07 08:51:53 +02:00
Sam Minnee
f2ed229be4
API CHANGE: Removed context object - it's a hack.
2011-10-07 08:50:52 +02:00
Sam Minnee
d3ca4dac5b
BUGFIX: Updated models to suit minor changes in the new ORM.
2011-10-07 08:50:51 +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
Ingo Schommer
d0b419c5a9
ENHANCEMENT Showing class names in ClassDropDown in not en_US ( fixes #6325 , thanks dhensby)
2011-09-19 14:40:01 +02:00
Ingo Schommer
5de2ba5628
MINOR Removing executable flag from all files (thanks miiihi)
2011-09-18 22:04:42 +02:00
Will Rossiter
b3721d718c
Merge pull request #26 from icecaster/patch-1
...
ENHANCEMENT: Added translatable call for search page type dropdown.
2011-09-15 19:50:43 -07:00
Ingo Schommer
2693f675db
ENHANCEMENT Testing new File.ShowInSearch flag, and adding it to AssetTableField view
2011-09-15 15:59:18 +02:00
Ingo Schommer
ad88e28907
BUGFIX Consistently using Convert::raw2sql() instead of DB::getConn()->addslashes() or PHP's deprecated addslashes() for database escaping
2011-09-15 14:24:47 +02:00
Tim Klein
7e1b8a834c
Changed Dropdown value to language specific to allow setting default to 'any'
2011-09-12 09:17:52 +12:00
Ingo Schommer
aefda19ffa
ENHANCEMENT Adding SilverStripe navigator to CMSMain->getEditForm() if not already present through LeftandMain->getEditForm() (in case custom $fields parameter is passed into the method)
2011-08-12 17:06:35 +02:00
Ingo Schommer
4eebf7f0be
ENHANCEMENT Shortened CMS button labels: "Delete from the draft site" -> "Delete draft", "Delete from the published site" -> "Delete", "Save and Publish" -> "Save & Publish". Renamed "Save" to "Save draft"
2011-08-12 17:06:35 +02:00
Ingo Schommer
07094f5b10
MINOR Removed temporary preview links in CMSPageEditController
2011-08-12 17:06:35 +02:00
Ingo Schommer
ab3fe3e638
ENHANCEMENT Implementing CMSPreviewable in SiteTree
2011-08-12 17:06:35 +02:00
Ingo Schommer
00cc6dd628
ENHANCEMENT More generic usage for SilverStripeNavigator (through new CMSPreviewable interface). Hiding certain items based on improved canView() logic.
2011-08-12 17:06:34 +02:00
Ingo Schommer
eecb401952
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.
2011-08-12 17:06:29 +02:00
Ingo Schommer
e13537e0a7
API CHANGE Refactored SilverStripeNavigator and SilverStripeNavigatorItem to instance-based utility classes, which take a DataObject record in the constructor rather than all of their methods (increasing template flexibility and code isolation).
...
ENHANCEMENT Added SilverStripeNavigatorItem->canView() for flexible permission control
MINOR Fixed duplicate priority overrides in SilverStripeNavigator
MINOR Removed unnecessary inline styling from SilverStripeNavigator HTML generation
2011-08-12 14:28:17 +02:00
Will Rossiter
9c40e495e2
MINOR: altered layout for SiteTree->URLSegment in getCMSFields()
2011-08-01 16:23:00 +12:00
Ed
ebb1e0f370
MINOR Additional HTML for tree styling in SiteTree->getTreeTitle()
2011-07-08 15:36:31 +02:00
Ingo Schommer
bb0574e214
MINOR Extra CSS classes in SiteTree->getCMSActions()
2011-07-08 15:36:31 +02:00
Ingo Schommer
2ab9a062b5
ENHANCEMENT Changing CMSMain->RootForm() (edits SiteConfig record) from being invoked on the tree root node to having its own section called "Settings" in the CMS menu (through a new CMSSettingsController class)
2011-07-08 15:36:31 +02:00
Ingo Schommer
17131f7a2a
MINOR Fall back to homepage record for CMSMain->PreviewLink()
2011-07-08 15:36:30 +02:00
Ingo Schommer
38db63c3b0
MINOR Clearer CSS classes in CMS controller templates, 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)
2011-07-08 15:36:30 +02:00
Ingo Schommer
c4a99dfc09
MINOR Redirecting page links in CMSPagesController to CMSPageEditController (admin/pages/show/99 to admin/page/show/99)
2011-07-08 15:36:30 +02:00
Ingo Schommer
c4c3d21fa9
MINOR Using Form->forTemplate() to include <form> tags in controller actions on AssetAdmin and CMSMain (underlying clientside logic has changed)
2011-07-08 15:36:30 +02:00
Ingo Schommer
75ce441348
ENHANCEMENT Redirecting to cms preview in ContentController if user is logged in
2011-07-08 15:36:30 +02:00
Marcus Nyeholt
07487bf192
BUGFIX: Fixed issue where folderID wasn't being correctly resolved from request, thus making file upload permissions only ever checked against the 'root' folder
2011-06-29 10:41:35 +10:00
Will Rossiter
e3ad632231
BUGFIX: Escape username and password when printed out in install success screen. FIXES : #6652 (via ash).
2011-06-06 12:53:47 +12:00
mattclegg
2a13fa2b85
MINOR SiteTree documentation
2011-05-28 10:02:52 +12:00
Ingo Schommer
c196c47c52
MINOR Temporarily disabled deprecation notice in SiteTreeDecorator, to be re-enabled once we're in beta
2011-05-19 11:11:48 +12:00
Ingo Schommer
26151f2e4c
ENHANCEMENT Limiting page types based on SiteTree::$allowed_children in CMSMain.AddForm.js
2011-05-08 23:36:55 +12:00
Frank Mullenger
b4366c9ca9
ENHANCEMENT 'data-hints' attribute into root of CMSMain site tree, changed from 'allowedParents' to 'disallowedParents', 'allowedChildren' to 'disallowedChildren' for brevity ( fixes #6577 )
2011-05-08 16:27:20 +12:00
Ingo Schommer
42b31d4410
MINOR Adding temporary preview view to CMSPageEditController->getEditForm()
2011-05-02 11:45:27 +12:00
Ingo Schommer
e33576d23e
MINOR Grouping date search fields in CMSMain->SearchForm
2011-05-01 12:34:16 +12:00
Ingo Schommer
bf8bc1d856
MINOR Added CMSPageHistoryController, CMSPageReportsController, marked placeholders for new functionality in AssetAdmin
2011-04-30 16:49:36 +12:00
Ingo Schommer
8fe9283181
ENHANCEMENT Adding page ID as metadata in SiteTree->MetaTags() in order to provide context for CMS preview of pages
2011-04-28 22:49:35 +12:00
Ingo Schommer
51ba790f63
MINOR Correct stage URL in CMSMain->EditForm
2011-04-28 22:49:35 +12:00
Ingo Schommer
2d88b5321d
MINOR Combining JavaScript files for CMSMain
2011-04-28 22:49:35 +12:00
Ingo Schommer
9a09aaf42b
ENHANCEMENT Changed CMSMain->AddForm() to a modal dialog, showing page types and their descriptions as radiobuttons rather than a dropdown
2011-04-28 22:49:34 +12:00
Ingo Schommer
e2f4dd0b44
ENHANCEMENT Added SiteTree::$description to provide more context for content authors selecting a new page type
2011-04-28 22:49:34 +12:00
Ingo Schommer
beb9fe4b12
API CHANGE Removed CMSMain->getfilteredsubtree(), use getsubtree().
...
API CHANGE Removed CMSMain->SiteTreeFilters(), use CMSSiteTreeFilter_Search
2011-04-28 22:49:34 +12:00
Ingo Schommer
2c3dd5dd53
API CHANGE Removed CMSMainMarkingFilter, replaced a while ago by CMSSiteTreeFilter_Search
2011-04-28 22:49:34 +12:00
Ingo Schommer
09ad6dcaa6
ENHANCEMENT Showing full CMS search form (instead of toggling fields individually), removing metadata search fields (limiting to fields applicable in new designs)
...
API CHANGE Renamed CMSMain->SearchTreeForm() to SearchForm(), CMSMain->doSearchTree() to doSearch() (search can be used for list and gallery views as well)
API CHANGE Removed CMSMain->SiteTreeFilterOptions() and CMSMain::$site_tree_filter_options, moved to CMSMain->SearchForm()
2011-04-28 22:49:34 +12:00
Ingo Schommer
be6f56ad3c
MINOR Removed unused CMSActionOptionsForm
2011-04-28 22:49:34 +12:00
Ingo Schommer
b5a0c1c553
MINOR Removed unnecessary (and unsemantic) element classes from forms in AssetAdmin and CMSMain
2011-04-28 22:49:34 +12:00
Ingo Schommer
58416e5dea
ENHANCEMENT Added CMSPagesController
2011-04-28 22:49:34 +12:00
Ingo Schommer
53a62e7b8c
MINOR Moved 'access' field labels in SiteConfig->getCMSFields() and SiteTree->getCMSFields() from headlines to actual label elements in order to manage presentation easier
2011-04-28 22:49:33 +12:00
Ingo Schommer
91fbcf8f94
MINOR Added SASS files
2011-04-28 22:49:33 +12:00
Ingo Schommer
baa0c8afd4
MINOR Fixed Hierarchy extension detection in AssetAdmin->doAdd()
2011-04-28 22:49:33 +12:00
Ingo Schommer
1ae9a318af
MINOR Changed ReportAdmin to new ReportAdmin_Content template, viewing available reports as unordered list instead of a tree (they can't be nested anyway)
2011-04-28 22:49:33 +12:00
Ingo Schommer
8bee7a1290
MINOR Added markup semantics around constructive/destructive actions to SiteTree->getCMSActions()
2011-04-28 22:49:33 +12:00
Ingo Schommer
614fb06336
MINOR AssetAdmin support for new cms layout changes
2011-04-28 22:49:32 +12:00
Ingo Schommer
2e2e312da9
ENHANCEMENT Splitting up CMSMain into CMSPageEditController and CMSPageSettingsController
2011-04-28 22:49:32 +12:00
Ingo Schommer
8af9c546cf
BUGFIX Added support for $fields parameter in CMSMain->getEditForm(), don't require 'ClassName' field in save() as its not included in getCMSFields() any longer.
2011-04-28 22:48:56 +12:00
Ingo Schommer
7a50608e24
API CHANGE Splitting off "Behaviour" and "Access" tabs from SiteTree->getCMSFields() into SiteTree->getSettingsFields(). Adjusting functionality to split of SiteTree->getCMSFields() into getSettingsFields(), and new tab paths ("Root.Content" instead of "Root.Content.Main")
2011-04-28 22:48:55 +12:00
Ingo Schommer
53ed7c496e
MINOR Disallow nested ErrorPage instances via canAddChildren()
2011-04-28 22:48:55 +12:00