Commit Graph

107 Commits

Author SHA1 Message Date
Ingo Schommer
869e90d129 MINOR Fixed SiteTreeSubsitesTest->testPageTypesBlacklistInClassDropdown() to work with PHP 5.2, and not rely on the Reflection API (broken in 17dde8ff) 2011-11-15 14:15:28 +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
9ad409d5d4 BUGFIX: Removed virtual pages tab from subsites. (sminnee, merged from r100426) 2011-09-22 18:19:22 +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
fbe9eec50b MINOR Code formatting 2011-09-09 10:33:43 +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
17dde8ff58 FEATURE Blacklisting of page types by subsite through Subsite->PageTypeBlacklist (AIR-20) 2011-08-30 18:59:21 +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
Ingo Schommer
85a095702b MINOR Removed dependency on sapphire fixture file 2011-03-29 21:58:45 +13: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
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
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
Geoff Munn
cdc419a2f2 BUGFIX: hardcoded ID replaced with actual value 2010-05-06 03:27:44 +00:00
Geoff Munn
06bb7c7423 BUGFIX: tables and columns quoted properly 2010-04-29 22:58:10 +00:00
Tom Rix
b83b2b442a MINOR line coverage to 70% 2010-03-30 22:50:37 +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
a9ce309881 MINOR Fixed broken test 2010-03-16 23:22:42 +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
a43459515b BUGFIX Removed backticks from SubsiteTest 2010-03-09 01:10:39 +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
ac65b11483 MINOR fixed language (from r94920) (from r96343) 2010-03-01 22:33:28 +00:00
Tom Rix
30f9d15694 MINOR when a parent page is unpublished, unpublish all related virtual pages, includes test coverage (from r94777) (from r96340) 2010-03-01 22:32:42 +00:00
Tom Rix
12c9705f47 BUGFIX: Fix virtual page logic for subsite virtual pages too. (from r93916) (from r96338) 2010-03-01 22:32:24 +00:00
Tom Rix
d3e666c09a MINOR: Added test for link rewriting on SubsitesVirtualPages (from r89909) (from r96322) 2010-03-01 22:27:46 +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
99a788a0dc MINOR: Removed debug statement from test (from r96641) (from r96650) 2010-03-01 21:42:25 +00:00
Tom Rix
bd649d170d MINOR fixed language (from r94920) 2010-03-01 21:42:05 +00:00
Tom Rix
bdf07e05c0 MINOR when a parent page is unpublished, unpublish all related virtual pages, includes test coverage (from r94777) 2010-03-01 21:41:24 +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
f7abf23ac7 MINOR: Added test for link rewriting on SubsitesVirtualPages (from r89909) 2010-03-01 21:38:59 +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
3bde3f1f60 MINOR Fixed assertions in SubsiteTest (from r85449) 2010-03-01 03:00:40 +00:00
Tom Rix
3171075cd5 MINOR unit tests (from r83592) 2010-03-01 02:58:13 +00:00
Tom Rix
53d51e40ba 2010-03-01 02:56:19 +00:00
Tom Rix
c575a0c09c BUGFIX: Updated subsites tests for ModelAdmin version of SubsiteAdmin (from r81428) 2010-03-01 02:53:22 +00:00
Tom Rix
9a556a31f9 2010-03-01 02:48:45 +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
Geoff Munn
1b7408dfb1 API CHANGE: column names quoted properly 2009-11-02 01:59:15 +00:00
Ingo Schommer
9b1fae7901 ENHANCEMENT Added URLSegment test to SubsiteTest 2009-10-16 01:15:54 +00:00
Sam Minnee
ae27dc25ff MINOR: Fixed tests 2009-05-13 22:44:55 +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
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
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
c058679097 MINOR Fixed whitespace/tabbing in SubsiteTest.yml 2008-11-24 05:06:39 +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
63212411a0 Disabled a broken test pending further review 2008-03-19 04:26:00 +00:00
Sam Minnee
5aff60efb5 More testing and debugging 2007-08-21 01:38:20 +00:00
Sam Minnee
dd4045b2bb Added tests and fixed associated bugs in the subsite admin section 2007-08-20 22:37:43 +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