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
Geoff Munn
4635b8d3de
BUG FIX: Default sort columns now quoted properly
2010-02-04 19:45:14 +00:00
Normann Lou
15cdb7261a
BUGFIX: TreeDropdownField::gettree() not exist, we should call TreeDropdownField::tree() wherever it is invoked, the bug is addressed by open ticket #4970
2010-02-01 23:41:39 +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
Geoff Munn
1b7408dfb1
API CHANGE: column names quoted properly
2009-11-02 01:59:15 +00:00
Geoff Munn
beffd4e526
BUGFIX: queries changed to use $q as a placeholder for backticks or doublequotes
2009-10-29 01:40:46 +00:00
Geoff Munn
a3beb2cf05
BUGFIX: column names now double quoted
2009-10-27 01:44:19 +00:00
Sam Minnee
3fd2cea285
BUGFIX: Updated module to support 2.4 API changes
2009-10-26 22:04:50 +00:00
Ingo Schommer
f6706c16ed
BUGFIX Don't set SubsiteID from DataObject::context_obj() if its NULL in SiteTreeSubsites->augmentSQL()
2009-10-16 01:10:52 +00:00
Saophalkun Ponlu
79bedca43b
BUGFIX: session error when ErrorPage is viewed in the front
2009-10-06 02:53:32 +00:00
Saophalkun Ponlu
52bd509219
2009-10-05 21:01:01 +00:00
Saophalkun Ponlu
0b3b4b555c
BUGFIX: A page type with requireDefaultRecords(), for instance ErrorPage, was created everytime on the main site when dev/build-ing (with subdomain in the url) and there's no that page type in the subsite's sitetree.
2009-10-05 01:55:55 +00:00
Sean Harvey
df81f2a037
BUGFIX Fixed broken query if deleting a single File record - order by is not necessary and breaks MSSQL
2009-09-08 04:05:40 +00:00
Geoff Munn
9e9cf9a4c2
BUGFIX: orderby clause not necessary for simple count queries, and will break MSSQL
2009-08-11 21:09:31 +00:00
Saophalkun Ponlu
5406ab5b60
BUGFIX: Fixed SubsitesVirtualPage operation for the main site, and fixed selection of currently selected value.
2009-07-30 02:11:02 +00:00
Sean Harvey
65dfa20031
ENHANCEMENT Added isMainSite() to SiteTree decorator for subsites so it can be checked if we're currently viewing the main site or a sub-site
2009-07-14 06:42:31 +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
Sean Harvey
2b70ef13ea
BUGFIX Removed orderby in GroupSubsites decorator that applies the same SubsiteID in the order by clause
2009-07-13 23:17:22 +00:00
Sean Harvey
11fc7dab8b
MINOR Whitespace fixes
2009-07-13 23:11:23 +00:00
Sean Harvey
acbfe35f4d
BUGFIX Fixed SQL queries with backticks that don't need them, and fixed queries on decorators that require double quote escaping
2009-07-13 23:10:00 +00:00
Sean Harvey
6e1499822f
BUGFIX Made GroupSubsites, FileSubsites and SiteTreeSubsites work properly if DataObjectDecorator::load_extra_statics() is defined
2009-06-22 12:03:04 +00:00
Sam Minnee
2916b29287
BUGFIX: Make AbsoluteLink() return a correct URL even after Director::setBaseURL() has been called.
2009-06-18 04:53:14 +00:00
Sean Harvey
d48fed9488
MINOR Changed deprecated extraDBFields() on Subsite decorators to extraStatics()
2009-05-20 05:36:14 +00:00
Sam Minnee
cd1433529b
BUGFIX: Fixed SiteTreeSubsites::canEdit() so that it doesn't mess with other modules so much.
2009-05-15 03:12:43 +00:00
Sam Minnee
7d3d498cb9
BUGFIX: Simplify permissions, getting rid of the EDIT_PERMISSIONS and SUBSITE_ASSETS_EDIT permissions, and moving the responsibility for making the folder view readonly to the Folder::getCMSFields() and AssetAdmin::getEditForm()
2009-05-13 05:25:21 +00:00
Sam Minnee
0170bcae79
BUGFIX: Made subsite-specific access control less zealous
2009-05-06 05:46:12 +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
1dcd84e098
MINOR: Fixed test execution for SubsitesVirtualPage
2009-05-04 05:04:08 +00:00
Sam Minnee
b646a104f1
Merged from branches/0.1
2009-05-04 05:03:44 +00:00
Sam Minnee
6037ec56e5
BUGFIX: Fixed subsite query rewriting with trunk query syntax
2009-03-09 09:24:35 +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
3acc4aae80
BUGFIX: Removed project-specific code.
...
BUGFIX: Don't throw an error if you try to create a template without a subdomain
2009-02-24 22:36:09 +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
e2220c0b07
BUGFIX: Don't throw an error if the themes directory is missing
2009-02-17 01:08:57 +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
3315786c66
BUGFIX Fixed field addition bug in SubsitesVirtualPage
2008-12-03 22:33:01 +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
d373b09908
ENHANCEMENT Showing actual subsite base URL in CMS fields
2008-12-02 04:06:58 +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
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
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
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