Commit Graph

81 Commits

Author SHA1 Message Date
Sam Minnee
3993cf6fe4 BUGFIX: Improved support for subsites trunk with 2.2.2
ENHANCEMENT: Got 'Is Default Site' checkbox actually working; if used the main site option is removed from the sites list when editing content.
API CHANGE: Added $subsite->absoluteBaseURL(), as a subsite-specific equivaent of Director::absoluteBaseURL()
2008-12-04 21:36:06 +00:00
Ingo Schommer
83fb26cc3e BUGFIX More solid checks in Subsite permission methods to deal with non-existing members 2008-12-03 22:31:54 +00:00
Ingo Schommer
fd8c93be2d BUGFIX Changed from implying "(all)" in group cmsfields for "limit subsite access" - if membership in a group with Group->SubsiteID = 0 implies "access all subsites", there is no distinction between explicit limitation and access to all subsites. Introduced a SUBSITE_ACCESS_ALL permission instead 2008-12-01 02:43:57 +00:00
Ingo Schommer
32b1542a4b ENHANCEMENT Allowing to simulate subsite access through URL parameter ?SubsiteID=<ID> (doesn't set session, so only works for current page) 2008-11-30 22:31:08 +00:00
Ingo Schommer
2d4a999bfc BUGFIX Fixed Subsite->hasMainSitePermission() to use Member->ID in checkPermission() in order to support 2.2 2008-11-30 22:10:55 +00:00
Ingo Schommer
c004c15e35 BUGFIX Adjusted Subsite::changeSubsite() to support FALSE as a argument 2008-11-30 21:31:49 +00:00
Ingo Schommer
cf926b437b MINOR Improved readability in Subsite->hasMainSitePermission() 2008-11-26 03:43:12 +00:00
Ingo Schommer
d175e494a5 API CHANGE Removed $permissionCodes parameter from Subsite->getSubsitesForMember() - was never used, and defaulted to ADMIN, which makes any permission control harder than it needs to be. The permission codes should be handled transparently by the Subsite class, not injected into calls as additional check.
MINOR Cleaned up Subsite->changeSubsite()
MINOR Reformatted queries in Subsite class
2008-11-24 06:35:51 +00:00
Sam Minnee
1121a127da Fixed Subsite::hasMainSitePermission() 2008-11-24 04:58:23 +00:00
Sam Minnee
16e85da6af Reversed r66496 2008-11-24 04:56:47 +00:00
Sam Minnee
cd8211a385 Fixed Subsite::hasMainSitePermission() 2008-11-24 04:47:37 +00:00
Ingo Schommer
92569b6b42 ENHANCEMENT Making caching in Subsite::currentSubsite() optional by additional $cache flag 2008-11-24 03:23:58 +00:00
Ingo Schommer
5987f151d4 MINOR Documentation for subsites module
BUGFIX Added Subsite::allowed_domains() which selects base_domain() if no custom domains are specified. This avoids having an empty dropdown in the URL domain selection dropdown in SubsitesAdmin
2008-11-24 03:22:01 +00:00
Sam Minnee
b530838b4c BUGFIX: Get subsites working with 2.3
BUGFIX: Allow creation of sites and templates withou a starting template
FEATURE: Allow Theme dropdown in subsite admin to choose the theme from available themes
2008-11-19 23:25:43 +00:00
Sam Minnee
46edecfca2 Made GroupSubsites respect disable_subsite_filter, and added an accessor method for 3rd parties to use this functionality. 2008-08-21 05:50:38 +00:00
Normann Lou
2003499859 BUGFIX: subsites admin broken by calling $this->updateCMSFields in getCMSFields() functioin of Subsite class, instead, we should call $this->extend('updateCMSFields', $fields); 2008-07-14 23:48:37 +00:00
Sam Minnee
94a754baf0 Added Subsite::set_allowed_themes() to specify the content of the sub-site theme dropdown
Added Theme dropdown in subsite details
2008-06-24 02:31:26 +00:00
Sam Minnee
0d3cdcf7b4 BUGFIX: Fixed retarded syntax error 2008-06-24 01:49:34 +00:00
Sam Minnee
54acfa51c1 Fixed domain dropdown generation 2008-06-24 01:39:13 +00:00
Normann Lou
4957e69a03 Added CurrentSubsite in at ControllerSubsites decorator 2008-06-19 00:46:51 +00:00
Normann Lou
1498427430 added Sitesite support, implemented storycard 33 2008-04-22 06:53:35 +00:00
Sam Minnee
ea940fcd0d Exclude subsites without titles from site lists 2008-02-26 03:14:27 +00:00
Sam Minnee
f58f87991e Allow www.(subsite).(domian) to connect to the appropriate subsite 2007-12-03 23:11:45 +00:00
Sam Minnee
ea1bb7aada Exclude nameless subsites from dropdown 2007-11-27 04:44:06 +00:00
Sam Minnee
edb82dd8a3 Added Subsite::get_from_all_subsites 2007-09-05 04:47:05 +00:00
Sam Minnee
1b824bf7ba Added Group subsite behaviour and associated changes to the security model 2007-08-31 00:29:25 +00:00
Sam Minnee
538cfeda6a Added Subsite::duplicate()
Added duplication 'create copy' button to subsites and templates
Templates shown with a * in the search results list
Ability to create new templates as well as new subsites
2007-08-28 22:29:44 +00:00
Sam Minnee
fa54508d5e Added providePermissions for SUBSITE_EDIT
Updated domain field editing
2007-08-27 05:07:27 +00:00
Sam Minnee
dd4045b2bb Added tests and fixed associated bugs in the subsite admin section 2007-08-20 22:37:43 +00:00
Sam Minnee
13aa9894b8 Test commit 2007-08-18 11:38:11 +00:00
Sam Minnee
5e9b67216f Initial alpha version of the subsites module 2007-08-16 06:38:29 +00:00