Commit Graph

132 Commits

Author SHA1 Message Date
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
Ingo Schommer
8e7c260fd6 MINOR Added user manual 2010-01-19 00:08:48 +00:00
Andreas Piening
e11ca71be6 MINOR: Fixed subsite test that was assuming that subsite ID#s would start at 1 (false in some cases) 2010-01-14 06:29:12 +00:00
Andrew O'Neil
caf7aea0e9 BUGFIX: Fix subsites init method 2009-11-30 01:44:38 +00:00
Luke Hudson
9d683f7651 Updated language packs to fixed version 2009-11-12 02:53:54 +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
9b1fae7901 ENHANCEMENT Added URLSegment test to SubsiteTest 2009-10-16 01:15:54 +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
Ingo Schommer
221599c776 MINOR Updated master language tables 2009-09-10 04:10:56 +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
Saophalkun Ponlu
37f29d46a3 BUFIX: SubsiteTreeDropdownField's ajaxExpansion for tree item didn't work. Kudo to Hamish 2009-08-13 05:23:16 +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
10d1ac7c42 ENHANCEMENT Tidied up CSS and templates for CMSTopMenu template when using subsites 2009-07-14 06:14:35 +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
62f8470de4 MINOR Removed missing background that was called in cms/css/layout.css anyway - subsites doesn't use it 2009-06-08 05:03:51 +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
ae27dc25ff MINOR: Fixed tests 2009-05-13 22:44:55 +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
Saophalkun Ponlu
9413bee324 Restored 0.1 branch 2009-02-11 04:28:31 +00:00
Ingo Schommer
b5072a2e40 MINOR Updated translations 2009-01-13 22:05:26 +00:00
Ingo Schommer
abc932a114 MINOR Updated language master tables 2009-01-12 05:09:57 +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