Commit Graph

32 Commits

Author SHA1 Message Date
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
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
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
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
0170bcae79 BUGFIX: Made subsite-specific access control less zealous 2009-05-06 05:46:12 +00:00
Sam Minnee
6037ec56e5 BUGFIX: Fixed subsite query rewriting with trunk query syntax 2009-03-09 09:24:35 +00:00
Ingo Schommer
d373b09908 ENHANCEMENT Showing actual subsite base URL in CMS fields 2008-12-02 04:06: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
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
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
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
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
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
Sam Minnee
08207510c4 Removed spurious CustomContent has_one item 2008-02-27 04:59:22 +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
8b40cf3726 ->delete() is no longer susceptible to wrong-subsite bugs 2007-12-06 03:49:51 +00:00
Sam Minnee
956e2402df Fixed bug with deleting in CMS 2007-11-06 03:06:02 +00:00
Sam Minnee
b38ae7a66f Used updates in r41285 to have appropriately generated links from the CMS to the subsites 2007-09-05 06:42:57 +00:00
Sam Minnee
edb82dd8a3 Added Subsite::get_from_all_subsites 2007-09-05 04:47:05 +00:00
Sam Minnee
70ef6b0898 Fixed subsite page selection when URL exists on SubsiteID = 0 2007-08-29 06:03:57 +00:00
Sam Minnee
538cfeda6a Added Subsite::duplicate()
Added duplication 'create copy' button to subsites and templates
Templates shown with a * in the search results list
Ability to create new templates as well as new subsites
2007-08-28 22:29:44 +00:00
Sam Minnee
55eed874f3 Added tests for SubsiteAdmin search 2007-08-17 05:50:23 +00:00
Sam Minnee
5e9b67216f Initial alpha version of the subsites module 2007-08-16 06:38:29 +00:00