Commit Graph

245 Commits

Author SHA1 Message Date
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
Sean Harvey
bdd3069098 BUGFIX Fixed missing double quote in Subsite SQL query 2010-03-09 01:22:16 +00:00
Sean Harvey
92dd4b0c02 BUGFIX Removed backticks from FileSubsites 2010-03-09 01:12:49 +00:00
Sean Harvey
ddaf3e72c0 BUGFIX Removed non-ANSI SQL support in subsites as there's already a branch (0.2) for 2.3 compatibility 2010-03-09 01:09:25 +00:00
Tom Rix
966776df5a BUGFIX correct classname 2010-03-04 22:52:16 +00:00
Luke Hudson
9583918d78 BUGFIX: Rename Database to SS_Database, bug reintroduced post merge 2010-03-03 03:09:13 +00:00
Luke Hudson
9a4d52f754 BUGFIX: Re-enable javascript onchange for subsites selector 2010-03-02 23:28:57 +00:00
Tom Rix
fa21df693f MINOR pass tests 2010-03-02 01:15:11 +00:00
Tom Rix
fe0cf8be7d BUGFIX syntax errors 2010-03-01 22:41:44 +00:00
Tom Rix
f5bbbf979e BUGFIX: Don't let SubsitesVirtualPages link to subclasses of virtual page (from r100004) 2010-03-01 22:35:35 +00:00
Tom Rix
2eddac12f0 BUGFIX display bug (from r98950) 2010-03-01 22:35:27 +00:00
Tom Rix
02951b5d05 MINOR don't run subsite filter on delete queries (from r98235) 2010-03-01 22:35:21 +00:00
Tom Rix
ca45089f54 2010-03-01 22:34:19 +00:00
Tom Rix
bd24b7aec7 BUGFIX: Ensure that DataObject::get_one() cache knows which subsite you're on (from r93096) (from r96337) 2010-03-01 22:32:15 +00:00
Tom Rix
2eb808720a BUGFIX removed invalid path, would break form actions (from r90459) (from r96331) 2010-03-01 22:30:56 +00:00
Tom Rix
ce3581c51d BUGFIX: If the site config for a subsite is missing, create it. (from r90262) (from r96327) 2010-03-01 22:28:50 +00:00
Tom Rix
61649efe3e MINOR changed the method to get a page's siteconfig, it is now subsite aware. (from r89870) (from r96321) 2010-03-01 22:27:21 +00:00
Tom Rix
c5dbb89137 ENHANCEMENT: Exclude bidirection links from the 'in addition' list on the related pages tab. (from r89844) (from r96320) 2010-03-01 22:27:10 +00:00
Tom Rix
ce3688ff89 BUGFIX: Improved linking behavior of links and reverse links. (from r89843) (from r96319) 2010-03-01 22:26:56 +00:00
Tom Rix
5ed8e71160 BUGFIX: Fixed edit/view/delete permissions of related links for non-ADMINs (from r89838) (from r96317) 2010-03-01 22:21:48 +00:00
Tom Rix
a2cdac98d4 BUGFIX: Fixed link labelling and behaviour in Related page tab (from r89837) (from r96316) 2010-03-01 22:19:08 +00:00
Tom Rix
e3c51b2a89 ENHANCEMENT: Groups can now be associated to multiple subsites. (from r89791) (from r96313) 2010-03-01 22:17:51 +00:00
Tom Rix
6fb9a4e710 ENHANCEMENT: Relabelled global group on Group subsites tab to 'All sites' (from r89145) (from r96310) 2010-03-01 22:15:09 +00:00
Tom Rix
f466594c24 BUGFIX: Don't show 'All Groups' in security area unless you have CMS_ACCESS_SecurityAdmin access on Subsite ID 0 (from r89119) (from r96309) 2010-03-01 22:14:37 +00:00
Tom Rix
3bec9d59f0 BUGFIX: Only switch to a subsite that you have access to if you actually have access to a subsite. (from r89042) (from r96306) 2010-03-01 22:13:41 +00:00
Tom Rix
a85521fcb1 ENHANCMENT improved reporting around broken links/files (from r88993) (from r96305) 2010-03-01 22:13:35 +00:00
Tom Rix
c91684d6d1 API CHANGE: Added includeMainSite argument to Subsite::accessible_sites() and replaced all usage of hasMainSitePermission with this method. (from r88971) (from r96304) 2010-03-01 22:12:58 +00:00
Tom Rix
2346d2915a BUGFIX: Correct RelatedPageLink permissions so that they appear properly in ComplexTableFields. (from r88969) (from r96303) 2010-03-01 22:09:55 +00:00
Tom Rix
3cc3b7a63a BUGFIX: When opening the CMS, switch to a site that you actually have access to. (from r88968) (from r96302) 2010-03-01 22:09:24 +00:00
Tom Rix
c61d9aa94e MINOR: Fixed no-available-sites edge case (from r88959) (from r96301) 2010-03-01 22:09:17 +00:00
Tom Rix
3a59828fed API CHANGE: Removed deprecated Subsite::getSubsitesForMember(). Use Subsite::acessible_sites() instead.
BUGFIX: Improved hasMainSitePermission() to be less generous about handing over ADMIN rights between subsites. (from r88955) (from r96299)
2010-03-01 22:08:37 +00:00
Tom Rix
b823bd286e BUGFIX: Limit the related page dropdown to linking to subsites that you have CMS access to. (from r88953) (from r96297) 2010-03-01 22:08:32 +00:00
Tom Rix
05c07fc824 BUGFIX: Only show the subsites that you can actually access in the subsite tab of the group. (from r88952) (from r96296) 2010-03-01 22:07:41 +00:00
Tom Rix
5fec80e749 MINOR correct the inheritance of SUBSITE_ACCESS_ALL (from r88928) (from r96290) 2010-03-01 22:05:55 +00:00
Tom Rix
dcf683ab33 MINOR added a permission to manage who can edit the subsite a group is associated with (from r88849) (from r96288) 2010-03-01 22:03:55 +00:00
Tom Rix
e7417174f5 BUGFIX fixed crash scenario in LeftAndMainSubsites
MINOR changed wording on Subsite Virtual Pages. (from r88101) (from r96286)
2010-03-01 22:02:20 +00:00
Tom Rix
6a3e0c0817 MINOR If we're loading a page and it's not on the same subsite, switch to that subsite. (from r87898) (from r96284) 2010-03-01 22:02:08 +00:00
Tom Rix
d6faa5450d MINOR allow subsite groups to not be filtered at all via a cookie (from r87883) (from r96283) 2010-03-01 22:02:01 +00:00
Tom Rix
ef85d4bd8d BUGFIX: Tracking links across subsites is a special case (from r87260) (from r96280) 2010-03-01 21:59:08 +00:00
Tom Rix
9536ae6f01 BUGFIX: Fix subsites permissions not paying attention to roles (from r87163) (from r96278) 2010-03-01 21:57:05 +00:00
Tom Rix
cf765abed8 BUGFIX: #140 - Fix subsite dropdown reseting (from r87161) (from r96277) 2010-03-01 21:57:00 +00:00
Tom Rix
298534fea1 REFACTORING: Update SubsiteReportWrapper to use SSReportWrapper base class. (from r96273) 2010-03-01 21:56:49 +00:00
Tom Rix
f511ceb0e4 BUGFIX: Fixed behaviour of the subsite filter field added to reports. (from r95963) 2010-03-01 21:56:37 +00:00