Commit Graph

359 Commits

Author SHA1 Message Date
Tom Rix
95a1539a21 BUGFIX: Removed XSS holes (from r94821) (from r96341) 2010-03-01 22:32:55 +00:00
Tom Rix
30f9d15694 MINOR when a parent page is unpublished, unpublish all related virtual pages, includes test coverage (from r94777) (from r96340) 2010-03-01 22:32:42 +00:00
Tom Rix
c691e7478c BUGFIX: Fixed bug switching between subsites in security area. (from r94564) (from r96339) 2010-03-01 22:32:33 +00:00
Tom Rix
12c9705f47 BUGFIX: Fix virtual page logic for subsite virtual pages too. (from r93916) (from r96338) 2010-03-01 22:32:24 +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
7881338c2f BUGFIX: Fixed name of subsite admin area - it is now 'Subsites', and will survive an i18ncollectortask execution. (from r92195) (from r96336) 2010-03-01 22:32:05 +00:00
Tom Rix
3ffbcc6d16 MINOR update formfield when the subsite is changed (from r91016) (from r96335) 2010-03-01 22:31:55 +00:00
Tom Rix
6fa146984b MINOR add a hidden field to attach the subsite ID, rather than relying on the session (from r91014) (from r96334) 2010-03-01 22:31:32 +00:00
Tom Rix
aa0c3404e5 MINOR fix failing tests (from r90509) (from r96333) 2010-03-01 22:31: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
ebe8851b30 MINOR shuffled permissions around, gave them help text and categorized them. (from r90371) (from r96330) 2010-03-01 22:30:20 +00:00
Tom Rix
355574267d MINOR updated naming of permissions (from r90328) (from r96329) 2010-03-01 22:29:40 +00:00
Tom Rix
ac61a5c9ed MINOR: Reformatted readme into markdown (from r90301) (from r96328) 2010-03-01 22:29:03 +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
a8a2835c51 BUGFIX: If you log into a subsite that you don't have access to on a section that you don't have access to, redirect to both the section and the subsite that you can access.
quote> BUGFIX: Fixed SiteConfig selection for subsites. (from r90019) (from r96326)
2010-03-01 22:28:44 +00:00
Tom Rix
5e5dbff1d4 BUGFIX: Fixed ajax fetching of SubsiteTreeDropdownField (from r90007) (from r96325) 2010-03-01 22:28:36 +00:00
Tom Rix
4bcde95db2 BUGFIX: Fixed migration script for installation of subsite module. (from r89930) (from r96323) 2010-03-01 22:28:17 +00:00
Tom Rix
d3e666c09a MINOR: Added test for link rewriting on SubsitesVirtualPages (from r89909) (from r96322) 2010-03-01 22:27:46 +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
e7add11e4e BUGFIX: Improved reliability of SubsiteTreeDropdownField (by getvar length shorter) (from r89840) (from r96318) 2010-03-01 22:21:55 +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
db8fe8fef3 API CHANGE: Removed deprecated SUBSITE_ACCESS_ALL permission code. (from r89807) (from r96315) 2010-03-01 22:18:25 +00:00
Tom Rix
a0e6bfab4c BUGFIX: Fixed a couple of bugs in the multiple-subsites-per-group function. (from r89803) (from r96314) 2010-03-01 22:17:59 +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
d399b49df4 MINOR if you remove the FileSubsites decorator, you wont see the dropdown in AssetAdmin, either. (from r89585) (from r96312) 2010-03-01 22:16:09 +00:00
Tom Rix
551aee7bac BUGFIX make the dropdown selector work(!!) (from r89576) (from r96311) 2010-03-01 22:15:54 +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
fa41a3280f BUGFIX: Set the SubsiteID on new groups correctly. (from r89103) (from r96308) 2010-03-01 22:14:17 +00:00
Tom Rix
477975b928 BUGFIX fix reverting to parent content (from r89097) (from r96307) 2010-03-01 22:13:46 +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
7ae038ace2 MINOR: Don't throw an error if no subsites are defined. (from r88951) (from r96295) 2010-03-01 22:06:26 +00:00
Tom Rix
ac1e6f0e5a BUGFIX: Re-order the has_one items in RelatedPageLink so that the correct one is used as the SiteTree.RelatedPages foreign key. (from r88946) (from r96294) 2010-03-01 22:06:21 +00:00
Tom Rix
60fa55d54f BUGFIX: Fixed ajax refresh of SubsitesTreeDropdownField (see http://mingle.silverstripe.com/projects/air_nz_cms_enhancements/cards/205) (from r88936) (from r96293) 2010-03-01 22:06:15 +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
b3d8eb4e0f MINOR always show the subsite dropdown, (from r88892) (from r96289) 2010-03-01 22:04:18 +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
414cdfc33c MINOR if you clear a custom metadata field, it will reset back to the parent. (from r88838) (from r96287) 2010-03-01 22:03:09 +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