Commit Graph

123 Commits

Author SHA1 Message Date
Ingo Schommer
f789043c64 BUGFIX Re-added LeftAndMain menu entry in old API which was removed in r65101 in order to support 2.2. Installations 2008-11-30 21:18:16 +00:00
Ingo Schommer
d0aafae7c5 BUGFIX SiteTreeSubsites->canEdit() returns true if no subsites are defined (meaning it won't prevent editing, but the permission might still be denied by SiteTree->canEdit()) 2008-11-26 04:03:14 +00:00
Ingo Schommer
cf926b437b MINOR Improved readability in Subsite->hasMainSitePermission() 2008-11-26 03:43:12 +00:00
Ingo Schommer
6d25adedc0 ENHANCMENENT Added SiteTreeSubsites->can*() methods for true permission control on model-layer rather than generic controller checks (incl. unit tests)
MINOR documentation
2008-11-24 06:37:22 +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
Ingo Schommer
c058679097 MINOR Fixed whitespace/tabbing in SubsiteTest.yml 2008-11-24 05:06:39 +00:00
Ingo Schommer
b4aea98d98 ENHANCEMENT Automatically using subsites name in the group title instead of an asterisk (which doesn't really imply any meaning by itself without an index or tooltip) 2008-11-24 04:58:42 +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
643a3bd14e ENHANCEMENT Added subsites dropdown to groups in /admin/security to make relation between groups and subsites more obvious and not dependant on (non-editable) defaults set through SubsiteAdmin 2008-11-24 04:04:55 +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
Ingo Schommer
1474c51533 MINOR Styling of URL field in subsitesadmin 2008-11-24 03:19:11 +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
Ingo Schommer
b1ac00bcde BUGFIX Adjusted StatisticsAdmin to new CMS Menu generation (see #2872) 2008-11-02 22:23:01 +00:00
Ingo Schommer
468a76bb8c MINOR Updated master language tables 2008-11-02 20:11:59 +00:00
Ingo Schommer
56589dd426 MINOR Added language master table 2008-11-01 15:31:08 +00:00
Ingo Schommer
64c15d68dc MINOR Added note about genericdataadmin module dependency 2008-11-01 15:00:39 +00:00
Ingo Schommer
4641f88e6d MINOR Added or edited README files, added LICENSE and CHANGELOG files 2008-09-17 00:09:12 +00:00
Sam Minnee
93ee453b66 http://helpdesk.silverstripe.com/tickets/904 - Fixed oriwave-specific code in subsites module 2008-09-16 23:49:05 +00:00
Normann Lou
42f55daeef 2008-08-21 23:31:28 +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
62ec1d1a6f 2008-08-21 05:08:38 +00:00
Sam Minnee
3275d689b9 Made subsite query augmentation more robust - can handle a lack of a where clause
Made SubsiteTest clean up after itself
2008-08-13 04:33:01 +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
Normann Lou
339c86ba25 2008-07-14 07:38:54 +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
e70fa8f2e7 fix the bug when there is no subsite created yet, the assets admin is broken. 2008-04-28 06:41:22 +00:00
Normann Lou
1498427430 added Sitesite support, implemented storycard 33 2008-04-22 06:53:35 +00:00
Sam Minnee
63212411a0 Disabled a broken test pending further review 2008-03-19 04:26:00 +00:00
Sam Minnee
08207510c4 Removed spurious CustomContent has_one item 2008-02-27 04:59:22 +00:00
Sam Minnee
3962b70a52 Improved subsites layout 2008-02-27 01:15:57 +00:00
Sam Minnee
ea940fcd0d Exclude subsites without titles from site lists 2008-02-26 03:14:27 +00:00
Sam Minnee
72ea4dfa43 Upgraded subsites module to work with 2.2.2 2008-02-25 23:02:02 +00:00
Sam Minnee
a4a543cab8 Removed template population from 'create copy' function. This is done on display instead of copy now 2008-01-31 23:11:47 +00:00
Sam Minnee
750edb0634 test commit (testing the build system) 2008-01-22 04:44:07 +00:00
Sam Minnee
cd611f26dd test commit (testing the build system) 2008-01-22 04:39:29 +00:00
Sam Minnee
a26e96d9ca Added a docblock comment to alernateTreeTitle 2008-01-22 04:30:20 +00:00
Sam Minnee
9038b4c661 Added * to TreeTitle of folders that are public 2008-01-22 04:17:18 +00:00
Sam Minnee
f4a9690ec5 Added subsites restriction of asset folders 2008-01-22 01:27:41 +00:00
Sam Minnee
0b85efb117 Removed AdminName and AdminEmail fields from subsite creation 2007-12-10 02:32:24 +00:00
Sam Minnee
8b40cf3726 ->delete() is no longer susceptible to wrong-subsite bugs 2007-12-06 03:49:51 +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
1400ba00b0 Updated Group::canEdit() to only allow editing if you have CMS_ACCESS_SecurityAdmin access on the subsite that owns the group. This is useful for hiding 'global groups' from people that shouldn't edit them. 2007-11-27 04:46:27 +00:00
Sam Minnee
ea1bb7aada Exclude nameless subsites from dropdown 2007-11-27 04:44:06 +00:00
Sam Minnee
5c34b67a39 Enforce Name & Domain to be filled out when creating a subsite 2007-11-27 01:07:54 +00:00