Commit Graph

47 Commits

Author SHA1 Message Date
Ingo Schommer
069c5ada3c BUGFIX Removed ajaxified switch of subsite in the CMS, as it would need to deal with too much UI state like refreshing the "insert link" panel. Refresh the entire window instead. 2011-09-05 17:55:00 +02:00
Ingo Schommer
9433a097ac MINOR Using built-in escaping mechanisms in LeftAndMainSubsites, replaced hardcoded language string (AIR-46) 2011-09-05 15:11:23 +02:00
Michael Gall
f7a6b4be05 BUGFIX: augmentInit is deprecated. Use 'init' instead 2011-02-14 14:10:47 +11:00
Julian Seidenberg
1e58cca92c MINOR: removed accidental debug::show left in last commit (again) 2010-07-26 06:49:33 +00:00
Julian Seidenberg
9afc8a452f MINOR: removed accidental debug::show left in last commit 2010-07-26 06:48:15 +00:00
Julian Seidenberg
a7935bc3e3 BUGFIX: admin user can now access subsite zero (main site) without the LeftAndMain access check reverting them back to a previous subsite (includes test for this edge-case). 2010-07-26 03:56:03 +00:00
Tom Rix
8ee35be254 BUGFIX default to correct subsite 2010-04-06 03:15:44 +00:00
Luke Hudson
9a4d52f754 BUGFIX: Re-enable javascript onchange for subsites selector 2010-03-02 23:28:57 +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
f466594c24 BUGFIX: Don't show 'All Groups' in security area unless you have CMS_ACCESS_SecurityAdmin access on Subsite ID 0 (from r89119) (from r96309) 2010-03-01 22:14:37 +00:00
Tom Rix
3bec9d59f0 BUGFIX: Only switch to a subsite that you have access to if you actually have access to a subsite. (from r89042) (from r96306) 2010-03-01 22:13:41 +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
3cc3b7a63a BUGFIX: When opening the CMS, switch to a site that you actually have access to. (from r88968) (from r96302) 2010-03-01 22:09:24 +00:00
Tom Rix
e7417174f5 BUGFIX fixed crash scenario in LeftAndMainSubsites
MINOR changed wording on Subsite Virtual Pages. (from r88101) (from r96286)
2010-03-01 22:02:20 +00:00
Tom Rix
6a3e0c0817 MINOR If we're loading a page and it's not on the same subsite, switch to that subsite. (from r87898) (from r96284) 2010-03-01 22:02:08 +00:00
Tom Rix
d6faa5450d MINOR allow subsite groups to not be filtered at all via a cookie (from r87883) (from r96283) 2010-03-01 22:02:01 +00:00
Tom Rix
9e17ce98aa BUGFIX: Removed XSS holes (from r94821) 2010-03-01 21:41:49 +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
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
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
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
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
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
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
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
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
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
48e92f4e39 2010-03-01 03:01:50 +00:00
Tom Rix
6df861e2b5 MINOR: Updated docs to remove references to obsolete 'subdomains' (from r80857) 2010-03-01 02:49:35 +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
Sean Harvey
35078375f7 BUGFIX Fixed SQL queries that don't work when ANSI SQL is enabled
BUGFIX Fixed MySQL specific query in SubsiteAdmin and replaced with ORM operations instead to work independent of the database used
2009-07-14 01:41:51 +00:00
Michael Andrewartha
0531c868e1 BUGFIX call SubsiteID rather then ID so Subsites doesn't call a page with same ID incorrectly 2009-05-06 02:41:16 +00:00
Sam Minnee
b646a104f1 Merged from branches/0.1 2009-05-04 05:03:44 +00:00
Sam Minnee
afe75ea88e BUGFIX: Fixed failing test LeftAndMainTest::testLeftAndMainSubclasses(); SubsiteList had an error if the Subsite table was empty. 2009-03-04 06:33:38 +00:00
Sam Minnee
39861dbe2c BUGFIX: Removed redirection to the tab that this user has access to; it was causing an infinite loop with 2.3
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:39:29 +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
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
e17ecfbdee FEATURE Support for VirtualPage-style linkage between subsites with new SubsiteVirtualPage class
ENHANCEMENT Allowing to select a subsite explicitly through admin-URLs, e.g. /admin/show/22/?SubsiteID=2
2008-12-02 03:50:06 +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
72ea4dfa43 Upgraded subsites module to work with 2.2.2 2008-02-25 23:02:02 +00:00
Hayden Smith
3a72dc847c 2007-10-11 04:50:49 +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
5e9b67216f Initial alpha version of the subsites module 2007-08-16 06:38:29 +00:00