UndefinedOffset
598b0253f5
BUG: Coding convention updates
2012-07-16 11:21:30 +12:00
Ed
c9d3a1f854
BUG: More SS 3.0 modifications
...
Fixes for SS 3.0 beta 3
Fixed compatibility issues with ss3.0 rc1
fixed potential issue caused by the from array format changing in 3.0
Fixed strict standards warnings
Fixed strict notice "Only variables should be passed by reference"
Fixed strict notice "Only variables should be passed by reference"
Fixed strict notice caused by SubsiteAdmin not declaring all of the properties for getCMSFields()
Made Subsite::accessible_sites() static
Fixed issue caused when trying to add a domain before saving for the first time
Fixed undefined property ParentID
2012-07-16 11:21:24 +12:00
Ed
a2b612570b
MINOR: Replaced deprecated extraStatics() with static variables
2012-07-16 11:18:44 +12:00
Ed
0cec9a6f33
BUGFIX: Fixed issue caused by HTMLEditorField selecting the column FieldName
...
BUGFIX: Fixed issue caused by ManyManyList remove all removing the File table from the FROM statement when removing all records from SiteTree_ImageTracking for a given page
2012-07-16 11:18:44 +12:00
Ed
2ef72b374c
BUG: Modifying the module to work with SS 3.0
...
Replaced deprecated DataObjectDecorator with DataExtension
Fixed hard crashes in the cms
Updated to support new LeftAndMain template structure
Made the subsites model admin functional
Moved the LeftAndMain_Menu template up a directory so it overrides the core
Fixed some errors caused by changes to the framework
Re-organized the code folder
Fixed permission issue causing to default to first subsite regardless if it is the default or not
Fixed crashes on the subsite virtual page when creating/editing
Removed toDropdownMap() calls replacing with map()
Fixed the URLSegment field on subsites
Fixed error when detecting subsite for a domain
Improved styles on the subsite dropdown
Updated LeftAndMain_Subsites.js to work with jQuery entwine
Started porting the SubsitesTreeDropdownField.js to use jQuery entwine and work with the new TreeDropdownField.js
Fixed issue causing crash when viewing a page who is linked to by a subsite virtual page
Removed unused methods on SubsitesTreeDropdownField.js
Re-added classes that were moved
Fixed hard crash after saving caused by the many_many definition on SiteTreeSubsites
Replaced deprecated DataObjectSet creation with ArrayList
Compatibility fixes with SS 3.0 beta 2
Fixed crash in cms caused by no parameter being passed to the SubsiteReportWrapper constructor
Proper fix for report wrapper
Removed table list field in favor of a basic grid field
Fixed updateCMSFields() for file subsites
Migrated translations to yml
Fixed issue causing the current page to not get cleared when changing subsites in the cms
Fixed virtual page icon
Fixed language files issue
2012-07-16 11:18:38 +12:00
Ingo Schommer
a6bb5a3fb7
BUGFIX Update SubsiteID in session and clear currently viewed record when changing subsite via a GET parameter, which is more common now through 069c5ada3
(fixes AIR-130)
2012-02-03 09:31:29 +01:00
Ingo Schommer
869e90d129
MINOR Fixed SiteTreeSubsitesTest->testPageTypesBlacklistInClassDropdown() to work with PHP 5.2, and not rely on the Reflection API (broken in 17dde8ff
)
2011-11-15 14:15:28 +01:00
Sam Minnee
fe25268274
BUGFIX: Removed unnecessary SiteTreeSubsites event handlers, since SiteTree is now sufficiently subsite aware. This provided a significant performance increase. (by sminnee, merged from r103169)
2011-09-22 18:19:58 +02:00
Sam Minnee
0760673568
BUGFIX: Limit the top-right subsites dropdown to the content, files, and security sections. (by sminnee, merged from r102044)
2011-09-22 18:19:53 +02:00
Sam Minnee
674f4bee27
BUGFIX: Added caching to Subsite::accessible_sites() (by sminnee, merged from r100872)
2011-09-22 18:19:47 +02:00
Sam Minnee
28f63853e1
BUGFIX: Show virtual pages in virtual page tree select field (so that you can select their children), but ignore any attempts to set the tree select field to a virtual page when saving. (by sminnee, merged from r100638)
2011-09-22 18:19:40 +02:00
Sam Minnee
9ad409d5d4
BUGFIX: Removed virtual pages tab from subsites. (sminnee, merged from r100426)
2011-09-22 18:19:22 +02:00
Ingo Schommer
b8015edf75
MINOR Fixing PageTypeBlacklistToggle link behaviour
2011-09-22 18:18:49 +02:00
Ingo Schommer
da8a313881
BUGFIX Include main site in SubsiteReportWrapper drop down selection
2011-09-12 14:01:13 +02:00
Ingo Schommer
552a6e784d
BUGFIX Consistently resetting Subsite::$disable_subsite_filter to its original state
2011-09-12 12:18:56 +02:00
Ingo Schommer
1d1811b308
BUGFIX Don't show subsites drop down in ReportAdmin, as filtering works differently here (AIR-49)
2011-09-09 14:12:59 +02:00
Ingo Schommer
ac2704b968
MINOR Documentation and formatting in Subsite->domain()
2011-09-09 12:40:09 +02:00
Ingo Schommer
2b506b02b1
ENHANCEMENT Allowing strict subdomain checks on 'www.example.com' vs. 'example.com' via Subsite::$strict_domain_matching (AIR-54)
2011-09-09 12:40:05 +02:00
Ingo Schommer
32d51ed986
MINOR Clearer testing and documentation around wildcard usage for domain matching
2011-09-09 10:50:52 +02:00
Ingo Schommer
fbe9eec50b
MINOR Code formatting
2011-09-09 10:33:43 +02:00
Ingo Schommer
0cf41dcc15
MINOR Improved README structure, wording and formatting
2011-09-09 10:31:32 +02:00
Ingo Schommer
47c545f658
API CHANGE Removed unused nextWriteDoesntCustomise flag on SiteTreeSubsites, removed references to non-existent CustomContent field in SiteTreeSubsites->onBeforeWrite() (field was removed with 08207510c
in 2008) (AIR-52)
2011-09-07 21:55:13 +02:00
Ingo Schommer
bb486548d6
MINOR Removed SiteTreeSubsites->onAfterWrite(), same behaviour already implemented in SiteTree (copying content from VirtualPage records, including its subclass SubsitesVirtualPage) (AIR-52)
2011-09-05 18:11:51 +02:00
Ingo Schommer
069c5ada3c
BUGFIX Removed ajaxified switch of subsite in the CMS, as it would need to deal with too much UI state like refreshing the "insert link" panel. Refresh the entire window instead.
2011-09-05 17:55:00 +02:00
Ingo Schommer
7cf7a788d1
MINOR Only restricting max width of subsites drop down in CMS to allow for saving space by auto-shrinking it
2011-09-05 17:55:00 +02:00
Ingo Schommer
d956d31ed4
MINOR Removed non-functional "add subsite" link behaviour from LeftAndMain_Subsites.js (was removed way back in 2007, with 8f6db47888
)
2011-09-05 17:55:00 +02:00
Ingo Schommer
1697126957
MINOR Testing and documenting "super-admin" behaviour on "ADMIN" permission in Subsite::accessible_sites() and Subsite::hasMainSitePermission()
2011-09-05 17:54:57 +02:00
Ingo Schommer
01435e0de5
MINOR Ensuring valid return values in Subsite::accessible_sites() (AIR-48)
2011-09-05 17:20:24 +02:00
Ingo Schommer
9433a097ac
MINOR Using built-in escaping mechanisms in LeftAndMainSubsites, replaced hardcoded language string (AIR-46)
2011-09-05 15:11:23 +02:00
Ingo Schommer
17dde8ff58
FEATURE Blacklisting of page types by subsite through Subsite->PageTypeBlacklist (AIR-20)
2011-08-30 18:59:21 +02:00
Ingo Schommer
33a9b90953
BUGFIX Calling parent on Subsite::onAfterWrite() (AIR-16)
2011-08-30 14:43:53 +02:00
Ingo Schommer
c6969439a1
MINOR Check for existence of related page in RelatedPageLink->RelatedPageAdminLink() (AIR-74)
2011-08-30 08:41:13 +02:00
Ingo Schommer
72e1e5b1b2
BUGFIX Overload validateURLSegment() in SubsitesVirtualPage to allow for same URLSegments as linked pages, as long as they only exist in a different subsite (only change the URLSegment if it already exists in the same subsite). (AIR-4)
2011-08-22 17:52:21 +02:00
Ingo Schommer
85a095702b
MINOR Removed dependency on sapphire fixture file
2011-03-29 21:58:45 +13:00
Michael Gall
f7a6b4be05
BUGFIX: augmentInit is deprecated. Use 'init' instead
2011-02-14 14:10:47 +11:00
Ingo Schommer
dd96f5ca4a
MINOR Migrated README from doc.ss.org
2011-02-12 12:46:02 +13:00
Sean Harvey
7b6b35328c
BUGFIX SubsitesTreeDropdownField::getsubtree() failed because it was removed from TreeDropdownField in r88482
2010-09-29 04:02:15 +00:00
Ingo Schommer
59c3dd1ea2
BUGFIX Fixes wrong logic for session existence checks in ErrorPageSubsite and SubsitesVirtualPage (no current controller is available when called through "phpunit" executable)
2010-09-22 01:43:57 +00:00
Ingo Schommer
a178d7c4c3
BUGFIX Don't check for Controller::curr() in ErrorPageSubsite, this causes a user_error when none is available (e.g. when running tests through "phpunit" executable)
2010-09-21 21:10:29 +00:00
Sean Harvey
5039e2ebd3
ENHANCEMENT Subsite::Language field now falls back to the default set in i18n - this is useful for a good default when adding a new Subsite via SubsiteAdmin
2010-08-23 00:30:34 +00:00
Sean Harvey
abed456e16
MINOR Removed unncessary test as permission checks are done in separate test cases in SiteTreeSubsitesTest
2010-08-23 00:19:07 +00:00
Sean Harvey
c5ce9dc1aa
BUGFIX Fixed SiteTreeSubsites overriding SiteTree::getCMSActions() and causing pages to have publish, unpublish buttons etc even though the user is readonly
2010-08-23 00:07:05 +00:00
Julian Seidenberg
d77e9c9415
BUGFIX: fixed broken test in subsites module that relies on specific numeric IDs
2010-08-03 22:41:10 +00:00
Julian Seidenberg
1e58cca92c
MINOR: removed accidental debug::show left in last commit (again)
2010-07-26 06:49:33 +00:00
Julian Seidenberg
9afc8a452f
MINOR: removed accidental debug::show left in last commit
2010-07-26 06:48:15 +00:00
Julian Seidenberg
a7935bc3e3
BUGFIX: admin user can now access subsite zero (main site) without the LeftAndMain access check reverting them back to a previous subsite (includes test for this edge-case).
2010-07-26 03:56:03 +00:00
Ingo Schommer
55214b3e24
MINOR Adapted SubsitesVirtualPageTest to changed File API (see r107268)
2010-06-29 06:10:16 +00:00
Sean Harvey
b8213d368a
API CHANGE Re-added SiteTreeSubsites::isMainSite() method which was incorrectly removed in r100324
2010-06-28 21:40:36 +00:00
Will Rossiter
05a4bfdaca
MINOR: updated documentation paths to include lang
2010-06-25 22:06:49 +00:00
Will Rossiter
0301f41276
MINOR: updated documentation paths to include lang
2010-06-25 22:04:07 +00:00