Commit Graph

244 Commits

Author SHA1 Message Date
Tom Rix
9e423fda4d MINOR force a specific set of subsite IDs to be queried on (from r95849) 2010-03-01 21:56:24 +00:00
Tom Rix
ba1db5ae24 BUGFIX fixed a situation which would trigger a crash (from r88573) 2010-03-01 21:55:40 +00:00
Tom Rix
f12eee0679 MINOR FIX: column names escaped properly (from r88162) 2010-03-01 21:55:31 +00:00
Tom Rix
6b5f6f902d MINOR CHANGE: columns quoted properly (from r88146) 2010-03-01 21:54:36 +00:00
Tom Rix
93afe6e6ff MINOR Custom meta tags on SubsiteVirtualPages no longer get overwritten. (from r87329) 2010-03-01 21:49:50 +00:00
Tom Rix
625ab4e235 MINOR make the 'default site' checkbox on a subsite actually work. If no subsite was found matching the requested domain, before returning 0 (the 'main' site), it will check for a 'default' site. (from r87086) 2010-03-01 21:49:22 +00:00
Tom Rix
2fc9bef6e2 BUGFIX reset subsite filter to false (from r94886) 2010-03-01 21:41:59 +00:00
Tom Rix
9e17ce98aa BUGFIX: Removed XSS holes (from r94821) 2010-03-01 21:41:49 +00:00
Tom Rix
6d7cf28c11 BUGFIX: Fixed response text bug in subsite creation. (from r94563) 2010-03-01 21:41:11 +00:00
Tom Rix
4d90cfeeb3 BUGFIX: Fix virtual page logic for subsite virtual pages too. (from r93916) 2010-03-01 21:41:06 +00:00
Tom Rix
29dda5abdf BUGFIX: Ensure that DataObject::get_one() cache knows which subsite you're on (from r93096) 2010-03-01 21:41:01 +00:00
Tom Rix
e91ba528b6 BUGFIX: Fixed name of subsite admin area - it is now 'Subsites', and will survive an i18ncollectortask execution. (from r92195) 2010-03-01 21:40:55 +00:00
Tom Rix
0c16ad9e44 MINOR add a hidden field to attach the subsite ID, rather than relying on the session (from r91014) 2010-03-01 21:40:43 +00:00
Tom Rix
3bdaa1404c MINOR fix failing tests (from r90509) 2010-03-01 21:40:36 +00:00
Tom Rix
d2da1fe03e MINOR i18n'd a whole bunch of the new permission codes (from r90493) 2010-03-01 21:40:26 +00:00
Tom Rix
45efdc80c0 MINOR subsite admin saving fix (from r90471) 2010-03-01 21:40:21 +00:00
Tom Rix
2f019ea6ab BUGFIX removed invalid path, would break form actions (from r90459) 2010-03-01 21:40:14 +00:00
Tom Rix
d677415860 MINOR shuffled permissions around, gave them help text and categorized them. (from r90371) 2010-03-01 21:39:48 +00:00
Tom Rix
05d2e51dfa MINOR updated naming of permissions (from r90328) 2010-03-01 21:39:43 +00:00
Tom Rix
6f8193a172 BUGFIX: If the site config for a subsite is missing, create it. (from r90262) 2010-03-01 21:39:23 +00:00
Tom Rix
8049ead131 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)
2010-03-01 21:39:19 +00:00
Tom Rix
034064ca65 BUGFIX: Fixed migration script for installation of subsite module. (from r89930) 2010-03-01 21:39:04 +00:00
Tom Rix
9b6f901435 MINOR changed the method to get a page's siteconfig, it is now subsite aware. (from r89870) 2010-03-01 21:38:50 +00:00
Tom Rix
451bf37da9 ENHANCEMENT: Exclude bidirection links from the 'in addition' list on the related pages tab. (from r89844) 2010-03-01 21:38:44 +00:00
Tom Rix
61d67accf7 BUGFIX: Improved linking behavior of links and reverse links. (from r89843) 2010-03-01 21:38:38 +00:00
Tom Rix
0ba7ee6b17 BUGFIX: Improved reliability of SubsiteTreeDropdownField (by getvar length shorter) (from r89840) 2010-03-01 21:38:32 +00:00
Tom Rix
2d940ae53e BUGFIX: Fixed edit/view/delete permissions of related links for non-ADMINs (from r89838) 2010-03-01 21:38:26 +00:00
Tom Rix
17a75b3a1f BUGFIX: Fixed link labelling and behaviour in Related page tab (from r89837) 2010-03-01 21:38:19 +00:00
Tom Rix
c961f0244a API CHANGE: Removed deprecated SUBSITE_ACCESS_ALL permission code. (from r89807) 2010-03-01 21:38:14 +00:00
Tom Rix
b99c2c62c4 BUGFIX: Fixed a couple of bugs in the multiple-subsites-per-group function. (from r89803) 2010-03-01 21:38:04 +00:00
Tom Rix
60cc9f9650 ENHANCEMENT: Groups can now be associated to multiple subsites. (from r89791) 2010-03-01 21:37:56 +00:00
Tom Rix
a617402f69 MINOR if you remove the FileSubsites decorator, you wont see the dropdown in AssetAdmin, either. (from r89585) 2010-03-01 21:34:33 +00:00
Tom Rix
f8ca454de7 BUGFIX make the dropdown selector work(!!) (from r89576) 2010-03-01 21:34:27 +00:00
Tom Rix
9391485eef ENHANCEMENT: Relabelled global group on Group subsites tab to 'All sites' (from r89145) 2010-03-01 21:34:21 +00:00
Tom Rix
fb7a5aa72d BUGFIX: Don't show 'All Groups' in security area unless you have CMS_ACCESS_SecurityAdmin access on Subsite ID 0 (from r89119) 2010-03-01 21:34:15 +00:00
Tom Rix
90b2068bcd BUGFIX: Set the SubsiteID on new groups correctly. (from r89103) 2010-03-01 21:33:52 +00:00
Tom Rix
caddec36bc BUGFIX fix reverting to parent content (from r89097) 2010-03-01 21:33:46 +00:00
Tom Rix
191717acae BUGFIX: Only switch to a subsite that you have access to if you actually have access to a subsite. (from r89042) 2010-03-01 21:33:38 +00:00
Tom Rix
4f268110b1 ENHANCMENT improved reporting around broken links/files (from r88993) 2010-03-01 21:33:12 +00:00
Tom Rix
7d46edfd0e API CHANGE: Added includeMainSite argument to Subsite::accessible_sites() and replaced all usage of hasMainSitePermission with this method. (from r88971) 2010-03-01 21:32:37 +00:00
Tom Rix
2b97d272f2 BUGFIX: Correct RelatedPageLink permissions so that they appear properly in ComplexTableFields. (from r88969) 2010-03-01 21:28:10 +00:00
Tom Rix
c0844e0dd9 BUGFIX: When opening the CMS, switch to a site that you actually have access to. (from r88968) 2010-03-01 21:27:52 +00:00
Tom Rix
866e55d574 MINOR: Fixed no-available-sites edge case (from r88959) 2010-03-01 21:27:47 +00:00
Tom Rix
8cc324df40 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)
2010-03-01 21:27:41 +00:00
Tom Rix
6f5dda5caa BUGFIX: Limit the related page dropdown to linking to subsites that you have CMS access to. (from r88953) 2010-03-01 21:27:04 +00:00
Tom Rix
cc11a1fa37 BUGFIX: Only show the subsites that you can actually access in the subsite tab of the group. (from r88952) 2010-03-01 21:26:59 +00:00
Tom Rix
0ab9ffef9e MINOR: Don't throw an error if no subsites are defined. (from r88951) 2010-03-01 21:26:53 +00:00
Tom Rix
5779701814 BUGFIX: Re-order the has_one items in RelatedPageLink so that the correct one is used as the SiteTree.RelatedPages foreign key. (from r88946) 2010-03-01 21:26:49 +00:00
Tom Rix
30245d3dbc MINOR correct the inheritance of SUBSITE_ACCESS_ALL (from r88928) 2010-03-01 21:26:39 +00:00
Tom Rix
d4dbeb17f5 MINOR always show the subsite dropdown, (from r88892) 2010-03-01 21:26:35 +00:00
Tom Rix
3dc406dcf0 MINOR added a permission to manage who can edit the subsite a group is associated with (from r88849) 2010-03-01 21:26:30 +00:00
Tom Rix
ea21e6ff35 MINOR if you clear a custom metadata field, it will reset back to the parent. (from r88838) 2010-03-01 21:26:20 +00:00
Tom Rix
22b407168c BUGFIX fixed crash scenario in LeftAndMainSubsites
MINOR changed wording on Subsite Virtual Pages. (from r88101)
2010-03-01 21:26:13 +00:00
Tom Rix
a8a6767976 MINOR added en_GB to list of common locales (from r88073) 2010-03-01 21:26:07 +00:00
Tom Rix
44b13c8611 MINOR If we're loading a page and it's not on the same subsite, switch to that subsite. (from r87898) 2010-03-01 21:25:58 +00:00
Tom Rix
2aebf835ee MINOR allow subsite groups to not be filtered at all via a cookie (from r87883) 2010-03-01 21:16:58 +00:00
Tom Rix
8bd17b9d08 BUGFIX restore the state of the subsite filter, rather than just blinding reenabling it (from r87496) 2010-03-01 03:16:38 +00:00
Tom Rix
0b77a0fade MINOR: Don't show 'show' link, as the popup doesn't provide any useful
details (from r87318)
2010-03-01 03:15:19 +00:00
Tom Rix
aae828d408 BUGFIX: Tracking links across subsites is a special case (from r87260) 2010-03-01 03:15:07 +00:00
Tom Rix
34245d49f2 BUGFIX: Show please update related pages message, regardless of the owner of the related relationship (from r87257) 2010-03-01 03:11:48 +00:00
Tom Rix
5aae99f3d2 BUGFIX: Fix subsites permissions not paying attention to roles (from r87163) 2010-03-01 03:10:43 +00:00
Tom Rix
e192ef9f0c BUGFIX: #140 - Fix subsite dropdown reseting (from r87161) 2010-03-01 03:06:07 +00:00
Tom Rix
f7dba96157 MERGE subsite treedropdown fix from trunk (from r86329) 2010-03-01 03:05:13 +00:00
Tom Rix
867ac9eaff MINOR: Wording on permissions (from r85642) 2010-03-01 03:01:57 +00:00
Tom Rix
48e92f4e39 2010-03-01 03:01:50 +00:00
Tom Rix
8378f60285 MINOR Check for existing subsites in dropdown generation of FileSubsites->updateCMSFields() (from r85443) 2010-03-01 03:00:34 +00:00
Tom Rix
b696fb8e03 FEATURE: Allow overriding of metadata of subsites virtual pages (from r85204) 2010-03-01 03:00:29 +00:00
Tom Rix
f9a95055cb MINOR added language dropdown to subsite (from r84567) 2010-03-01 03:00:14 +00:00
Tom Rix
761493f64e 2010-03-01 02:59:04 +00:00
Tom Rix
ae2c8c094f BUGFIX: Fix SubsiteVirtualPages not updating content. (from r84995) 2010-03-01 02:58:38 +00:00
Tom Rix
c81319e23b Merged r84433 (from r84787) 2010-03-01 02:58:31 +00:00
Tom Rix
3171075cd5 MINOR unit tests (from r83592) 2010-03-01 02:58:13 +00:00
Tom Rix
6d1b3901df ENHANCEMENT: Be more specific about when the permission cache is flushed, so that the CMS can be more efficient. (from r83435) 2010-03-01 02:56:58 +00:00
Tom Rix
8d04bd6d90 BUGFIX gnarly recursion error when adding a subsite (from r82410) 2010-03-01 02:56:07 +00:00
Tom Rix
40ff605fbf BUGFIX allow Subsite Virtual Pages to share a URL Segment (from r82346) 2010-03-01 02:56:01 +00:00
Tom Rix
c945bc6054 ENHANCEMENT Files uploaded while under a subsite now inherit their SubsiteID from their parent
BUGFIX FileSUbsite::augmentSQL() had a very buggy ID-specific detection implementation (it didn't look for single or double quotes) (from r81778)
2010-03-01 02:54:29 +00:00
Tom Rix
f7054e00b0 MINOR now writes the default site to the hostmap (from r81679) 2010-03-01 02:53:51 +00:00
Tom Rix
b1ccc1220e ENHANCEMENT: Removed unnecessary subsite caching for better static publishing operation. (from r81674) 2010-03-01 02:53:45 +00:00
Tom Rix
8b264184ec ENHANCEMENT: Removed unnecessary subsite caching for better static publishing operation. (from r81673) 2010-03-01 02:53:40 +00:00
Tom Rix
cfb0d238e5 ENHANCEMENT: Removed unnecessary subsite caching for better static publishing operation. (from r81672) 2010-03-01 02:53:34 +00:00
Tom Rix
c17784761a ENHANCEMENT: Removed unnecessary subsite caching for better static publishing operation. (from r81666) 2010-03-01 02:53:28 +00:00
Tom Rix
e83287fd2d BUGFIX: Set absolute domain of 'main site' properly. (from r80951) 2010-03-01 02:53:15 +00:00
Tom Rix
503ec12dd8 BUGFIX: Removed obsolete cache argument from currentSubsiteID() (from r80862) 2010-03-01 02:53:07 +00:00
Tom Rix
68dfd71c5e ENHANCEMENT: Updated subsite admin to use ModelAdmin, to be more in line with other parts of SilverStripe. (from r80861) 2010-03-01 02:53:00 +00:00
Tom Rix
78c8d364b2 MINOR: Added docblock for Subsite::createInitialRecords() (from r80860) 2010-03-01 02:51:19 +00:00
Tom Rix
835208b50f MINOR: Removed obsolete Subsite::$use_domain option (from r80859) 2010-03-01 02:51:12 +00:00
Tom Rix
1473c18535 MINOR: Removed obsolete Subsite::$use_domain option (from r80858) 2010-03-01 02:49:42 +00:00
Tom Rix
6df861e2b5 MINOR: Updated docs to remove references to obsolete 'subdomains' (from r80857) 2010-03-01 02:49:35 +00:00
Tom Rix
9a556a31f9 2010-03-01 02:48:45 +00:00
Geoff Munn
4635b8d3de BUG FIX: Default sort columns now quoted properly 2010-02-04 19:45:14 +00:00
Normann Lou
15cdb7261a BUGFIX: TreeDropdownField::gettree() not exist, we should call TreeDropdownField::tree() wherever it is invoked, the bug is addressed by open ticket #4970 2010-02-01 23:41:39 +00:00
Ingo Schommer
5d5c26cc16 MINOR Return NULL from LeftAndMainSubsites->getCMSTreeTitle() if not in a subsite to allow the CMS to fall back to default values 2010-01-26 20:45:05 +00:00
Andrew O'Neil
caf7aea0e9 BUGFIX: Fix subsites init method 2009-11-30 01:44:38 +00:00
Geoff Munn
f11efe1362 API CHANGE: column names quoted properly 2009-11-02 03:00:18 +00:00
Geoff Munn
1b7408dfb1 API CHANGE: column names quoted properly 2009-11-02 01:59:15 +00:00
Geoff Munn
beffd4e526 BUGFIX: queries changed to use $q as a placeholder for backticks or doublequotes 2009-10-29 01:40:46 +00:00
Geoff Munn
a3beb2cf05 BUGFIX: column names now double quoted 2009-10-27 01:44:19 +00:00
Sam Minnee
3fd2cea285 BUGFIX: Updated module to support 2.4 API changes 2009-10-26 22:04:50 +00:00
Ingo Schommer
f6706c16ed BUGFIX Don't set SubsiteID from DataObject::context_obj() if its NULL in SiteTreeSubsites->augmentSQL() 2009-10-16 01:10:52 +00:00
Saophalkun Ponlu
79bedca43b BUGFIX: session error when ErrorPage is viewed in the front 2009-10-06 02:53:32 +00:00