Commit Graph

103 Commits

Author SHA1 Message Date
Normann Lou 7ec537f976 FEATURE: add favicon for subsite.
MINOR: use the cmsThumbnail to present in favicon's upload field.
2009-10-22 07:09:23 +00:00
Normann Lou 47ab3e002a 2009-10-22 06:28:31 +00:00
Normann Lou a0082f7d85 FEATURE: UnsubscribeLink goto the lead to the right site in case that a subsite is set for that newsletter admin 2009-10-08 01:43:20 +00:00
Normann Lou ce6e162d1b FEATURE: make subsite changable in NewsletterAdmin
MINOR: make the interface more robust, minimise the change that Notice-level error message.
2009-10-07 03:31:06 +00:00
Normann Lou 80c3d7f138 FEATURE: add subsite Favicon so a subsite could have its own Favicon 2009-09-09 06:10:18 +00:00
Jeremy Warne 116f03b69b BUGFIX: Permission::checkMember() can take either an ID or an object, but in earlier versions of SS it only takes an ID. Changed these two calls to use IDs for consistency with other parts of the module. 2009-07-31 04:39:48 +00:00
Sam Minnee e82686b08b BUGFIX: Fix for subsites module to work in SS 2.2.x 2009-04-28 05:51:05 +00:00
Sam Minnee a87410ebb8 MINOR: Added long-format PHP header to class 2009-04-28 05:41:43 +00:00
Sam Minnee 198169e812 MINOR: Bugfixes to get tests working 2009-04-28 05:27:46 +00:00
Sam Minnee c991ba3536 Fix wording of labels in subsites module 2009-04-21 23:06:17 +00:00
Hamish Friedlander 6b8b07d2a9 BUGFIX: Adjust Group admin to only allow setting the Subsite of a Group to a Subsite the user has edit permissions on. 2009-04-07 02:54:10 +00:00
Hamish Friedlander a85c70b8b9 BUGFIX: Handle permissions cache clearing when changing Subsite ID 2009-04-07 02:52:59 +00:00
Hamish Friedlander 50a685bd6e BUGFIX: Disallow adding a member to a group if we don't have edit permissions on that group 2009-04-07 02:52:16 +00:00
Hamish Friedlander 1c647bdd0d BUGFIX: Fix ReadonlyTransform when viewing a shared file or directory without edit permissions. 2009-04-07 02:49:33 +00:00
Saophalkun Ponlu f14021ac62 MINOR: Added default subsite name for the main site (in subsite dropdownfield) for custom modules that extends LeftAndMain 2009-03-27 02:23:52 +00:00
Saophalkun Ponlu 533dab5350 MINOR: Added default subsite name for the main site (in subsite dropdownfield) for custom modules that extends LeftAndMain 2009-03-27 02:22:42 +00:00
Saophalkun Ponlu 3d01bce7d2 MINOR: Reverted 73688 2009-03-26 03:59:04 +00:00
Saophalkun Ponlu 306b8a8562 MINOR: subsite admin only see its own groups, not the grobal groups 2009-03-26 03:31:30 +00:00
Saophalkun Ponlu ca524e916b BUGFIX: File upload didn't get subsite id correctly
MINOR: allow user with SUBSITE_ASSETS_EDIT to access file upload tab
2009-03-26 01:49:33 +00:00
Sam Minnee 35645419f6 Fixed tests to be more compatible with 2.2.2, as well breaking less on Page.php customisations 2009-02-24 23:39:28 +00:00
Sam Minnee 17d213e6c9 Merged from trunk to branches/0.1 2009-02-24 22:48:49 +00:00
Sam Minnee 4ba1ce143a BUGFIX: Fixed bug where you couldn't edit templates that had no subdomain.
ENHANCEMENT: Mark global groups in the subsite list, rather than subsite groups.
ENHANCEMENT: When creating a subsite from a template, copy the groups as well as the pages, but leave the groups empty.
2009-02-24 22:09:15 +00:00
Sam Minnee 6537535da2 Removed redirection to the tab that this user has access to; it was causing an infinite loop with 2.3 2009-02-12 03:40:26 +00:00
Saophalkun Ponlu 9413bee324 Restored 0.1 branch 2009-02-11 04:28:31 +00:00
Sam Minnee 8825d45d67 Added 0.1 branch for subsites - 0.1 will have 2.2.2 support 2008-12-02 02:22:58 +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 45798b065c BUGFIX Checking for existence of GenericDataAdmin class which is required to include SubsiteAdmin (fails silently because the class is never picked up by CMSMenu::populate_defaults()) 2008-12-01 01:49:48 +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 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