Commit Graph

94 Commits

Author SHA1 Message Date
Mateusz Uzdowski
f0e93b1b3c BUGFIX: flush cache always after changing the subsite - otherwise a user who has access only to one of the subsites will not be able to get to the CMS at all. 2011-04-11 10:32:51 +12: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
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
Tom Rix
2792c1780a MINOR removing old cruft, improving formatting 2010-03-30 21:02:44 +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
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
Luke Hudson
9583918d78 BUGFIX: Rename Database to SS_Database, bug reintroduced post merge 2010-03-03 03:09:13 +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
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
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
5fec80e749 MINOR correct the inheritance of SUBSITE_ACCESS_ALL (from r88928) (from r96290) 2010-03-01 22:05:55 +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
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
6b5f6f902d MINOR CHANGE: columns quoted properly (from r88146) 2010-03-01 21:54:36 +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
d2da1fe03e MINOR i18n'd a whole bunch of the new permission codes (from r90493) 2010-03-01 21:40:26 +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
c961f0244a API CHANGE: Removed deprecated SUBSITE_ACCESS_ALL permission code. (from r89807) 2010-03-01 21:38:14 +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
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
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
30245d3dbc MINOR correct the inheritance of SUBSITE_ACCESS_ALL (from r88928) 2010-03-01 21:26:39 +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
aae828d408 BUGFIX: Tracking links across subsites is a special case (from r87260) 2010-03-01 03:15:07 +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
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
f9a95055cb MINOR added language dropdown to subsite (from r84567) 2010-03-01 03:00:14 +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
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