Commit Graph

455 Commits

Author SHA1 Message Date
Sean Harvey
cac77703ed BUG Fixing FileSubsites failing when deleting ImageTracking 2012-11-07 14:25:32 +13:00
Sean Harvey
3d59f10331 Merge pull request #63 from mateusz/top-level
BUG Switch the subsite on GET parameter only.
2012-11-04 17:31:37 -08:00
Mateusz Uzdowski
20ae380350 BUG Flip the conditional to restore the original intention.
The original intention was to skip if ImageTracking was found, but it
got broken on c9d3a1f8.
2012-11-02 15:32:31 +13:00
Mateusz Uzdowski
2488489e22 BUG Switch the subsite on GET parameter only.
This fixes the bug where creating the top level pages is broken whenever
subsites module is installed. This is because the SubsiteID is
explicitly specified on AddForm POST submission, which incorrectly
triggers a redirect from LeftAndMainSubsites::init and the form action
never has a chance to execute.

Also do not look at POST when checking for the current subsite ID.
2012-10-26 11:53:40 +13:00
Sean Harvey
d4faeac98f Merge branch 'master' of git://github.com/halkyon/silverstripe-subsites into halkyon-master 2012-10-12 15:09:38 +13:00
Sean Harvey
89c6382101 Remove adminSearchFields which is never used and causes a test failure 2012-10-12 12:54:18 +13:00
Sean Harvey
5e1906c9f4 BUG Fixing use of FormResponse, use X-Status header instead 2012-10-12 12:06:09 +13:00
Sean Harvey
488ea71c45 Removing unncessary end PHP tags from subsites code 2012-10-12 11:08:24 +13:00
Sean Harvey
6747ba65bb Fixing LeftAndMainSubsites using deprecated Director::redirect() 2012-10-12 11:06:23 +13:00
Sean Harvey
19a904d1d2 LeftAndMainSubsites failover if map() returns an array instead of an SS_Map 2012-10-12 11:05:00 +13:00
Sean Harvey
070eaf54ae Fixing deprecated call to Director::redirect() 2012-10-11 15:16:38 +13:00
Sean Harvey
d4df26db72 BUG Fixing correct URL location to pages 2012-10-10 13:49:08 +13:00
Kirk Mayo
e7c5dd5d93 BUG: Fixing creating subsites from templates trac/7318 2012-07-18 12:21:35 +12:00
Kirk Mayo
c345f6fcc5 BUG: Coding convention fixes
BUG: more coding convention fixing
2012-07-16 11:44:54 +12:00
UndefinedOffset
ef4d539a12 BUG: Merged patch from kmayo how ever re-added some of the removed fields since they really should appear on the Main Content tab instead of the Metadata tab.
Fixed a few missed strict errors

Applied patch from kmayo to fix issues with SubsiteAdminTest.php

Fixed issue causing the url segments of subsites created from a template to add -2 to the end

Fixed undefined method TotalItems() on datalist for the SubsiteTest

Fixed failure on SubsiteTest because DataObject::get_one() now returns boolean false instead of null when no result is found

Fixed failure on SubsitesVirtualPageTest caused by Versioned::get_one_by_stage() returning null instead of false

Fixed failure caused by the contact-us page existing on subsite 2

Merged another patch from kmayo

Force main site to be on, for some reason it gets hidden in some cases i.e. refreshing the cms while editing a page
2012-07-16 11:21:54 +12:00
UndefinedOffset
598b0253f5 BUG: Coding convention updates 2012-07-16 11:21:30 +12:00
Ed
c9d3a1f854 BUG: More SS 3.0 modifications
Fixes for SS 3.0 beta 3

Fixed compatibility issues with ss3.0 rc1

fixed potential issue caused by the from array format changing in 3.0

Fixed strict standards warnings

Fixed strict notice "Only variables should be passed by reference"

Fixed strict notice "Only variables should be passed by reference"

Fixed strict notice caused by SubsiteAdmin not declaring all of the properties for getCMSFields()

Made Subsite::accessible_sites() static

Fixed issue caused when trying to add a domain before saving for the first time

Fixed undefined property ParentID
2012-07-16 11:21:24 +12:00
Ed
a2b612570b MINOR: Replaced deprecated extraStatics() with static variables 2012-07-16 11:18:44 +12:00
Ed
0cec9a6f33 BUGFIX: Fixed issue caused by HTMLEditorField selecting the column FieldName
BUGFIX: Fixed issue caused by ManyManyList remove all removing the File table from the FROM statement when removing all records from SiteTree_ImageTracking for a given page
2012-07-16 11:18:44 +12:00
Ed
2ef72b374c BUG: Modifying the module to work with SS 3.0
Replaced deprecated DataObjectDecorator with DataExtension

Fixed hard crashes in the cms

Updated to support new LeftAndMain template structure

Made the subsites model admin functional

Moved the LeftAndMain_Menu template up a directory so it overrides the core

Fixed some errors caused by changes to the framework

Re-organized the code folder

Fixed permission issue causing to default to first subsite regardless if it is the default or not

Fixed crashes on the subsite virtual page when creating/editing

Removed toDropdownMap() calls replacing with map()

Fixed the URLSegment field on subsites

Fixed error when detecting subsite for a domain

Improved styles on the subsite dropdown

Updated LeftAndMain_Subsites.js to work with jQuery entwine

Started porting the SubsitesTreeDropdownField.js to use jQuery entwine and work with the new TreeDropdownField.js

Fixed issue causing crash when viewing a page who is linked to by a subsite virtual page

Removed unused methods on SubsitesTreeDropdownField.js

Re-added classes that were moved

Fixed hard crash after saving caused by the many_many definition on SiteTreeSubsites

Replaced deprecated DataObjectSet creation with ArrayList

Compatibility fixes with SS 3.0 beta 2

Fixed crash in cms caused by no parameter being passed to the SubsiteReportWrapper constructor

Proper fix for report wrapper

Removed table list field in favor of a basic grid field

Fixed updateCMSFields() for file subsites

Migrated translations to yml

Fixed issue causing the current page to not get cleared when changing subsites in the cms

Fixed virtual page icon

Fixed language files issue
2012-07-16 11:18:38 +12:00
Ingo Schommer
a6bb5a3fb7 BUGFIX Update SubsiteID in session and clear currently viewed record when changing subsite via a GET parameter, which is more common now through 069c5ada3 (fixes AIR-130) 2012-02-03 09:31:29 +01:00
Mateusz Uzdowski
5f337db553 BUGFIX: make sure non-admins can access the main site via group role 2011-10-05 17:58:24 +13:00
Sam Minnee
fe25268274 BUGFIX: Removed unnecessary SiteTreeSubsites event handlers, since SiteTree is now sufficiently subsite aware. This provided a significant performance increase. (by sminnee, merged from r103169) 2011-09-22 18:19:58 +02:00
Sam Minnee
0760673568 BUGFIX: Limit the top-right subsites dropdown to the content, files, and security sections. (by sminnee, merged from r102044) 2011-09-22 18:19:53 +02:00
Sam Minnee
674f4bee27 BUGFIX: Added caching to Subsite::accessible_sites() (by sminnee, merged from r100872) 2011-09-22 18:19:47 +02:00
Sam Minnee
28f63853e1 BUGFIX: Show virtual pages in virtual page tree select field (so that you can select their children), but ignore any attempts to set the tree select field to a virtual page when saving. (by sminnee, merged from r100638) 2011-09-22 18:19:40 +02:00
Sam Minnee
9ad409d5d4 BUGFIX: Removed virtual pages tab from subsites. (sminnee, merged from r100426) 2011-09-22 18:19:22 +02:00
Ingo Schommer
da8a313881 BUGFIX Include main site in SubsiteReportWrapper drop down selection 2011-09-12 14:01:13 +02:00
Ingo Schommer
552a6e784d BUGFIX Consistently resetting Subsite::$disable_subsite_filter to its original state 2011-09-12 12:18:56 +02:00
Ingo Schommer
1d1811b308 BUGFIX Don't show subsites drop down in ReportAdmin, as filtering works differently here (AIR-49) 2011-09-09 14:12:59 +02:00
Ingo Schommer
ac2704b968 MINOR Documentation and formatting in Subsite->domain() 2011-09-09 12:40:09 +02:00
Ingo Schommer
2b506b02b1 ENHANCEMENT Allowing strict subdomain checks on 'www.example.com' vs. 'example.com' via Subsite::$strict_domain_matching (AIR-54) 2011-09-09 12:40:05 +02:00
Ingo Schommer
32d51ed986 MINOR Clearer testing and documentation around wildcard usage for domain matching 2011-09-09 10:50:52 +02:00
Ingo Schommer
47c545f658 API CHANGE Removed unused nextWriteDoesntCustomise flag on SiteTreeSubsites, removed references to non-existent CustomContent field in SiteTreeSubsites->onBeforeWrite() (field was removed with 08207510c in 2008) (AIR-52) 2011-09-07 21:55:13 +02:00
Ingo Schommer
bb486548d6 MINOR Removed SiteTreeSubsites->onAfterWrite(), same behaviour already implemented in SiteTree (copying content from VirtualPage records, including its subclass SubsitesVirtualPage) (AIR-52) 2011-09-05 18:11:51 +02:00
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
1697126957 MINOR Testing and documenting "super-admin" behaviour on "ADMIN" permission in Subsite::accessible_sites() and Subsite::hasMainSitePermission() 2011-09-05 17:54:57 +02:00
Ingo Schommer
01435e0de5 MINOR Ensuring valid return values in Subsite::accessible_sites() (AIR-48) 2011-09-05 17:20:24 +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
Ingo Schommer
17dde8ff58 FEATURE Blacklisting of page types by subsite through Subsite->PageTypeBlacklist (AIR-20) 2011-08-30 18:59:21 +02:00
Ingo Schommer
33a9b90953 BUGFIX Calling parent on Subsite::onAfterWrite() (AIR-16) 2011-08-30 14:43:53 +02:00
Ingo Schommer
c6969439a1 MINOR Check for existence of related page in RelatedPageLink->RelatedPageAdminLink() (AIR-74) 2011-08-30 08:41:13 +02:00
Ingo Schommer
72e1e5b1b2 BUGFIX Overload validateURLSegment() in SubsitesVirtualPage to allow for same URLSegments as linked pages, as long as they only exist in a different subsite (only change the URLSegment if it already exists in the same subsite). (AIR-4) 2011-08-22 17:52:21 +02:00
Mateusz Uzdowski
fb998aec87 BUGFIX: Change the default setting to include the main site. Users able to AccessAllSites should be able to access
the main site as well.
2011-04-11 12:59:42 +12:00
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
Michael Gall
f7a6b4be05 BUGFIX: augmentInit is deprecated. Use 'init' instead 2011-02-14 14:10:47 +11:00
Sean Harvey
7b6b35328c BUGFIX SubsitesTreeDropdownField::getsubtree() failed because it was removed from TreeDropdownField in r88482 2010-09-29 04:02:15 +00:00
Ingo Schommer
59c3dd1ea2 BUGFIX Fixes wrong logic for session existence checks in ErrorPageSubsite and SubsitesVirtualPage (no current controller is available when called through "phpunit" executable) 2010-09-22 01:43:57 +00:00
Ingo Schommer
a178d7c4c3 BUGFIX Don't check for Controller::curr() in ErrorPageSubsite, this causes a user_error when none is available (e.g. when running tests through "phpunit" executable) 2010-09-21 21:10:29 +00: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
Sean Harvey
c5ce9dc1aa BUGFIX Fixed SiteTreeSubsites overriding SiteTree::getCMSActions() and causing pages to have publish, unpublish buttons etc even though the user is readonly 2010-08-23 00:07:05 +00: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
Sean Harvey
b8213d368a API CHANGE Re-added SiteTreeSubsites::isMainSite() method which was incorrectly removed in r100324 2010-06-28 21:40:36 +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
Sean Harvey
c3b20fd3bd BUGFIX #5315 FileSubsites::augmentSQL() should not apply ordering when doing COUNT() selects, as this breaks some databases like SQL Server 2010-04-12 04:04:15 +00:00
Tom Rix
8ee35be254 BUGFIX default to correct subsite 2010-04-06 03:15:44 +00:00
Tom Rix
b83b2b442a MINOR line coverage to 70% 2010-03-30 22:50:37 +00:00
Tom Rix
2792c1780a MINOR removing old cruft, improving formatting 2010-03-30 21:02:44 +00:00
Tom Rix
92976e8eff MINOR get the files & error page tests on subsites passing 2010-03-30 20:43:34 +00:00
Tom Rix
1b4c314304 2010-03-21 22:32:22 +00:00
Sean Harvey
47d35fcca1 BUGFIX FileSubsites::augmentSQL() sometimes tries to add an ORDER BY clause when running DELETE queries... obviously this makes no sense, and some databases will choke 2010-03-11 22:11:14 +00:00
Sean Harvey
69033011af BUGFIX SiteTreeSubsites::alternateSiteConfig() now returns false if there's no SubsiteID set on SiteTree 2010-03-11 21:51:06 +00:00
Sean Harvey
5984e62e45 BUGFIX Workarounds for GroupSubsites::augmentSQL() so that it doesn't fail on databases other than MySQL like SQL Server 2010-03-09 02:34:09 +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
92dd4b0c02 BUGFIX Removed backticks from FileSubsites 2010-03-09 01:12:49 +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
Tom Rix
966776df5a BUGFIX correct classname 2010-03-04 22:52:16 +00:00
Luke Hudson
9583918d78 BUGFIX: Rename Database to SS_Database, bug reintroduced post merge 2010-03-03 03:09:13 +00:00
Luke Hudson
9a4d52f754 BUGFIX: Re-enable javascript onchange for subsites selector 2010-03-02 23:28:57 +00:00
Tom Rix
fa21df693f MINOR pass tests 2010-03-02 01:15:11 +00:00
Tom Rix
fe0cf8be7d BUGFIX syntax errors 2010-03-01 22:41:44 +00:00
Tom Rix
f5bbbf979e BUGFIX: Don't let SubsitesVirtualPages link to subclasses of virtual page (from r100004) 2010-03-01 22:35:35 +00:00
Tom Rix
2eddac12f0 BUGFIX display bug (from r98950) 2010-03-01 22:35:27 +00:00
Tom Rix
02951b5d05 MINOR don't run subsite filter on delete queries (from r98235) 2010-03-01 22:35:21 +00:00
Tom Rix
ca45089f54 2010-03-01 22:34:19 +00:00
Tom Rix
bd24b7aec7 BUGFIX: Ensure that DataObject::get_one() cache knows which subsite you're on (from r93096) (from r96337) 2010-03-01 22:32:15 +00:00
Tom Rix
2eb808720a BUGFIX removed invalid path, would break form actions (from r90459) (from r96331) 2010-03-01 22:30:56 +00:00
Tom Rix
ce3581c51d BUGFIX: If the site config for a subsite is missing, create it. (from r90262) (from r96327) 2010-03-01 22:28:50 +00:00
Tom Rix
61649efe3e MINOR changed the method to get a page's siteconfig, it is now subsite aware. (from r89870) (from r96321) 2010-03-01 22:27:21 +00:00
Tom Rix
c5dbb89137 ENHANCEMENT: Exclude bidirection links from the 'in addition' list on the related pages tab. (from r89844) (from r96320) 2010-03-01 22:27:10 +00:00
Tom Rix
ce3688ff89 BUGFIX: Improved linking behavior of links and reverse links. (from r89843) (from r96319) 2010-03-01 22:26:56 +00:00
Tom Rix
5ed8e71160 BUGFIX: Fixed edit/view/delete permissions of related links for non-ADMINs (from r89838) (from r96317) 2010-03-01 22:21:48 +00:00
Tom Rix
a2cdac98d4 BUGFIX: Fixed link labelling and behaviour in Related page tab (from r89837) (from r96316) 2010-03-01 22:19:08 +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
6fb9a4e710 ENHANCEMENT: Relabelled global group on Group subsites tab to 'All sites' (from r89145) (from r96310) 2010-03-01 22:15:09 +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
a85521fcb1 ENHANCMENT improved reporting around broken links/files (from r88993) (from r96305) 2010-03-01 22:13:35 +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
2346d2915a BUGFIX: Correct RelatedPageLink permissions so that they appear properly in ComplexTableFields. (from r88969) (from r96303) 2010-03-01 22:09:55 +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
c61d9aa94e MINOR: Fixed no-available-sites edge case (from r88959) (from r96301) 2010-03-01 22:09:17 +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
b823bd286e BUGFIX: Limit the related page dropdown to linking to subsites that you have CMS access to. (from r88953) (from r96297) 2010-03-01 22:08:32 +00:00
Tom Rix
05c07fc824 BUGFIX: Only show the subsites that you can actually access in the subsite tab of the group. (from r88952) (from r96296) 2010-03-01 22:07:41 +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
dcf683ab33 MINOR added a permission to manage who can edit the subsite a group is associated with (from r88849) (from r96288) 2010-03-01 22:03:55 +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
ef85d4bd8d BUGFIX: Tracking links across subsites is a special case (from r87260) (from r96280) 2010-03-01 21:59:08 +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
298534fea1 REFACTORING: Update SubsiteReportWrapper to use SSReportWrapper base class. (from r96273) 2010-03-01 21:56:49 +00:00
Tom Rix
f511ceb0e4 BUGFIX: Fixed behaviour of the subsite filter field added to reports. (from r95963) 2010-03-01 21:56:37 +00:00
Tom Rix
5dc4a86f30 2010-03-01 21:56:32 +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
ba1db5ae24 BUGFIX fixed a situation which would trigger a crash (from r88573) 2010-03-01 21:55:40 +00:00
Tom Rix
f12eee0679 MINOR FIX: column names escaped properly (from r88162) 2010-03-01 21:55:31 +00:00
Tom Rix
6b5f6f902d MINOR CHANGE: columns quoted properly (from r88146) 2010-03-01 21:54:36 +00:00
Tom Rix
93afe6e6ff MINOR Custom meta tags on SubsiteVirtualPages no longer get overwritten. (from r87329) 2010-03-01 21:49:50 +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
9e17ce98aa BUGFIX: Removed XSS holes (from r94821) 2010-03-01 21:41:49 +00:00
Tom Rix
6d7cf28c11 BUGFIX: Fixed response text bug in subsite creation. (from r94563) 2010-03-01 21:41:11 +00:00
Tom Rix
4d90cfeeb3 BUGFIX: Fix virtual page logic for subsite virtual pages too. (from r93916) 2010-03-01 21:41:06 +00:00
Tom Rix
29dda5abdf BUGFIX: Ensure that DataObject::get_one() cache knows which subsite you're on (from r93096) 2010-03-01 21:41:01 +00:00
Tom Rix
e91ba528b6 BUGFIX: Fixed name of subsite admin area - it is now 'Subsites', and will survive an i18ncollectortask execution. (from r92195) 2010-03-01 21:40:55 +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
3bdaa1404c MINOR fix failing tests (from r90509) 2010-03-01 21:40:36 +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
45efdc80c0 MINOR subsite admin saving fix (from r90471) 2010-03-01 21:40:21 +00:00
Tom Rix
2f019ea6ab BUGFIX removed invalid path, would break form actions (from r90459) 2010-03-01 21:40:14 +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
6f8193a172 BUGFIX: If the site config for a subsite is missing, create it. (from r90262) 2010-03-01 21:39:23 +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
034064ca65 BUGFIX: Fixed migration script for installation of subsite module. (from r89930) 2010-03-01 21:39:04 +00:00
Tom Rix
9b6f901435 MINOR changed the method to get a page's siteconfig, it is now subsite aware. (from r89870) 2010-03-01 21:38:50 +00:00
Tom Rix
451bf37da9 ENHANCEMENT: Exclude bidirection links from the 'in addition' list on the related pages tab. (from r89844) 2010-03-01 21:38:44 +00:00
Tom Rix
61d67accf7 BUGFIX: Improved linking behavior of links and reverse links. (from r89843) 2010-03-01 21:38:38 +00:00
Tom Rix
0ba7ee6b17 BUGFIX: Improved reliability of SubsiteTreeDropdownField (by getvar length shorter) (from r89840) 2010-03-01 21:38:32 +00:00
Tom Rix
2d940ae53e BUGFIX: Fixed edit/view/delete permissions of related links for non-ADMINs (from r89838) 2010-03-01 21:38:26 +00:00
Tom Rix
17a75b3a1f BUGFIX: Fixed link labelling and behaviour in Related page tab (from r89837) 2010-03-01 21:38:19 +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
b99c2c62c4 BUGFIX: Fixed a couple of bugs in the multiple-subsites-per-group function. (from r89803) 2010-03-01 21:38:04 +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
f8ca454de7 BUGFIX make the dropdown selector work(!!) (from r89576) 2010-03-01 21:34:27 +00:00
Tom Rix
9391485eef ENHANCEMENT: Relabelled global group on Group subsites tab to 'All sites' (from r89145) 2010-03-01 21:34:21 +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
90b2068bcd BUGFIX: Set the SubsiteID on new groups correctly. (from r89103) 2010-03-01 21:33:52 +00:00
Tom Rix
caddec36bc BUGFIX fix reverting to parent content (from r89097) 2010-03-01 21:33:46 +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
4f268110b1 ENHANCMENT improved reporting around broken links/files (from r88993) 2010-03-01 21:33:12 +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
2b97d272f2 BUGFIX: Correct RelatedPageLink permissions so that they appear properly in ComplexTableFields. (from r88969) 2010-03-01 21:28:10 +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
866e55d574 MINOR: Fixed no-available-sites edge case (from r88959) 2010-03-01 21:27:47 +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
6f5dda5caa BUGFIX: Limit the related page dropdown to linking to subsites that you have CMS access to. (from r88953) 2010-03-01 21:27:04 +00:00
Tom Rix
cc11a1fa37 BUGFIX: Only show the subsites that you can actually access in the subsite tab of the group. (from r88952) 2010-03-01 21:26:59 +00:00
Tom Rix
0ab9ffef9e MINOR: Don't throw an error if no subsites are defined. (from r88951) 2010-03-01 21:26:53 +00:00
Tom Rix
5779701814 BUGFIX: Re-order the has_one items in RelatedPageLink so that the correct one is used as the SiteTree.RelatedPages foreign key. (from r88946) 2010-03-01 21:26:49 +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
d4dbeb17f5 MINOR always show the subsite dropdown, (from r88892) 2010-03-01 21:26:35 +00:00
Tom Rix
3dc406dcf0 MINOR added a permission to manage who can edit the subsite a group is associated with (from r88849) 2010-03-01 21:26:30 +00:00
Tom Rix
ea21e6ff35 MINOR if you clear a custom metadata field, it will reset back to the parent. (from r88838) 2010-03-01 21:26:20 +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
a8a6767976 MINOR added en_GB to list of common locales (from r88073) 2010-03-01 21:26:07 +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
8bd17b9d08 BUGFIX restore the state of the subsite filter, rather than just blinding reenabling it (from r87496) 2010-03-01 03:16:38 +00:00
Tom Rix
0b77a0fade MINOR: Don't show 'show' link, as the popup doesn't provide any useful
details (from r87318)
2010-03-01 03:15:19 +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
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
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
f7dba96157 MERGE subsite treedropdown fix from trunk (from r86329) 2010-03-01 03:05:13 +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
8378f60285 MINOR Check for existing subsites in dropdown generation of FileSubsites->updateCMSFields() (from r85443) 2010-03-01 03:00:34 +00:00
Tom Rix
b696fb8e03 FEATURE: Allow overriding of metadata of subsites virtual pages (from r85204) 2010-03-01 03:00:29 +00:00
Tom Rix
f9a95055cb MINOR added language dropdown to subsite (from r84567) 2010-03-01 03:00:14 +00:00
Tom Rix
761493f64e 2010-03-01 02:59:04 +00:00
Tom Rix
ae2c8c094f BUGFIX: Fix SubsiteVirtualPages not updating content. (from r84995) 2010-03-01 02:58:38 +00:00
Tom Rix
c81319e23b Merged r84433 (from r84787) 2010-03-01 02:58:31 +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
8d04bd6d90 BUGFIX gnarly recursion error when adding a subsite (from r82410) 2010-03-01 02:56:07 +00:00
Tom Rix
40ff605fbf BUGFIX allow Subsite Virtual Pages to share a URL Segment (from r82346) 2010-03-01 02:56:01 +00:00
Tom Rix
c945bc6054 ENHANCEMENT Files uploaded while under a subsite now inherit their SubsiteID from their parent
BUGFIX FileSUbsite::augmentSQL() had a very buggy ID-specific detection implementation (it didn't look for single or double quotes) (from r81778)
2010-03-01 02:54:29 +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