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
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
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
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
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
Michael Gall
f7a6b4be05
BUGFIX: augmentInit is deprecated. Use 'init' instead
2011-02-14 14:10:47 +11: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
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
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
Sean Harvey
b8213d368a
API CHANGE Re-added SiteTreeSubsites::isMainSite() method which was incorrectly removed in r100324
2010-06-28 21:40:36 +00:00
Geoff Munn
09b1b06bd2
BUGFIX: columns quoted properly
2010-05-06 03:27:02 +00:00
Geoff Munn
06bb7c7423
BUGFIX: tables and columns quoted properly
2010-04-29 22:58:10 +00:00
Saophalkun Ponlu
40170aac62
MINOR: stamp the current date in host-map.php to help in debugging
...
MINOR: documentation - a link to a documentation on how to use subsite with static publisher
2010-04-29 06:59:33 +00:00
Sean Harvey
c3b20fd3bd
BUGFIX #5315 FileSubsites::augmentSQL() should not apply ordering when doing COUNT() selects, as this breaks some databases like SQL Server
2010-04-12 04:04:15 +00:00
Tom Rix
8ee35be254
BUGFIX default to correct subsite
2010-04-06 03:15:44 +00:00
Tom Rix
b83b2b442a
MINOR line coverage to 70%
2010-03-30 22:50:37 +00:00
Tom Rix
2792c1780a
MINOR removing old cruft, improving formatting
2010-03-30 21:02:44 +00:00
Tom Rix
92976e8eff
MINOR get the files & error page tests on subsites passing
2010-03-30 20:43:34 +00:00
Tom Rix
1b4c314304
2010-03-21 22:32:22 +00:00
Sean Harvey
47d35fcca1
BUGFIX FileSubsites::augmentSQL() sometimes tries to add an ORDER BY clause when running DELETE queries... obviously this makes no sense, and some databases will choke
2010-03-11 22:11:14 +00:00
Sean Harvey
69033011af
BUGFIX SiteTreeSubsites::alternateSiteConfig() now returns false if there's no SubsiteID set on SiteTree
2010-03-11 21:51:06 +00:00
Sean Harvey
5984e62e45
BUGFIX Workarounds for GroupSubsites::augmentSQL() so that it doesn't fail on databases other than MySQL like SQL Server
2010-03-09 02:34:09 +00:00
Sean Harvey
dce64a567f
BUGFIX Fixed Subsite::hasMainSitePermission() SQL query, removed use of USING() and rely on standard INNER JOIN ON syntax that works on all databases
2010-03-09 01:42:56 +00:00