Commit Graph

365 Commits

Author SHA1 Message Date
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
Ingo Schommer
85a095702b MINOR Removed dependency on sapphire fixture file 2011-03-29 21:58:45 +13:00
Michael Gall
f7a6b4be05 BUGFIX: augmentInit is deprecated. Use 'init' instead 2011-02-14 14:10:47 +11:00
Ingo Schommer
dd96f5ca4a MINOR Migrated README from doc.ss.org 2011-02-12 12:46:02 +13: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
abed456e16 MINOR Removed unncessary test as permission checks are done in separate test cases in SiteTreeSubsitesTest 2010-08-23 00:19:07 +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
d77e9c9415 BUGFIX: fixed broken test in subsites module that relies on specific numeric IDs 2010-08-03 22:41:10 +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
Ingo Schommer
55214b3e24 MINOR Adapted SubsitesVirtualPageTest to changed File API (see r107268) 2010-06-29 06:10:16 +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
Will Rossiter
05a4bfdaca MINOR: updated documentation paths to include lang 2010-06-25 22:06:49 +00:00
Will Rossiter
0301f41276 MINOR: updated documentation paths to include lang 2010-06-25 22:04:07 +00:00
Geoff Munn
cdc419a2f2 BUGFIX: hardcoded ID replaced with actual value 2010-05-06 03:27:44 +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
8a7e532859 MINOR line coverage to 70% 2010-03-30 22:54:30 +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
Ingo Schommer
d36a6a3bde MINOR Removed unnecessary console.*() from subsites javascript files 2010-03-28 20:08:10 +00:00
Tom Rix
1b4c314304 2010-03-21 22:32:22 +00:00
Sean Harvey
a9ce309881 MINOR Fixed broken test 2010-03-16 23:22:42 +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
7e84789509 BUGFIX Fixed calls to SiteTree::get_by_url() which is deprecated, replacing with SiteTree::get_by_link() 2010-03-09 03:08:43 +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
a43459515b BUGFIX Removed backticks from SubsiteTest 2010-03-09 01:10:39 +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
3dd9b2a1e4 BUGFIX syntax errors 2010-03-01 22:43:04 +00:00
Tom Rix
fe0cf8be7d BUGFIX syntax errors 2010-03-01 22:41:44 +00:00
Tom Rix
e516128edc MINOR: Blocking unnecessary revisions 2010-03-01 22:35:36 +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