Ingo Schommer
022e3ee2ee
BUGFIX Added setup/teardown methods to CMSMainTest to fix test breakages when used alongside cmsworkflow module (which unsets the public batch action)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89864 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 19:57:47 +00:00
Sam Minnee
4b7a3e20fb
MINOR: Made security fixture set-up tigher in a test.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89457 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-19 05:26:03 +00:00
Ingo Schommer
966155a054
BUGFIX Made SecurityAdminTest more resilient against changes to localized strings, by inspecting the CSV line-by-line instead
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@86060 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-10 05:02:47 +00:00
Ingo Schommer
3648327b3c
BUGFIX More robust URL handling in CMSMainTest to avoid failing on custom /admin redirects
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85513 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-01 06:35:29 +00:00
Ingo Schommer
45772748d3
BUGFIX Implementing TestOnly interface in ModelAdminTest to avoid having it included automatically in CMSMenu and hence breaking other tests like LeftAndMainTest.
...
ENHANCEMENT Filtering out TestOnly classes in CMSMenu::get_cms_classes()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85281 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-26 21:10:58 +00:00
Ingo Schommer
cc65638ed9
BUGFIX Using standard SQL and SSDatetime::now() in SideReport_RecentlyEdited (see #4052 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83970 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-06 21:41:49 +00:00
Sean Harvey
60200f1aa3
MINOR Removed unsetting of GhostPage from CMSMainTest - these are deleted in r77383
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77389 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-20 07:09:54 +00:00
Sean Harvey
b34dcd40b0
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76918 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-15 00:13:11 +00:00
Ingo Schommer
cbddc66547
MINOR Fixed undefined variable in CMSMainTest
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76877 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 21:56:20 +00:00
Sean Harvey
b360ad9cd7
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76857 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 06:11:18 +00:00
Sean Harvey
182d1061a9
Merged from 2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76270 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 06:37:45 +00:00
Sean Harvey
4e4810bbb6
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75780 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-30 22:47:28 +00:00
Sean Harvey
c237366221
MINOR Make use of FunctionalTest with get() and post() methods instead of Director::test() for CMSMainTest
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75615 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-29 02:49:43 +00:00
Ingo Schommer
d1e0c9025e
BUGFIX Fixed CMSMainTest->testThatGetCMSFieldsWorksOnEveryPageType() - was comparing a string $class with instanceof() instead of comparing the actually created instance
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@74951 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-22 04:23:56 +00:00
Ingo Schommer
c66ebfaeb8
MINOR phpdoc documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73508 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-22 22:58:18 +00:00
Sean Harvey
3d4630a2c8
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71259 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 02:50:25 +00:00
Ingo Schommer
7b3068ac4f
MINOR Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-05 06:17:59 +00:00
Sam Minnee
f067bd1304
Adding double-quotes to table and field references
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@66417 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-23 22:58:18 +00:00
Sam Minnee
f317676341
Merged pre-2.3-oct08 into trunk
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@66355 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-21 01:11:49 +00:00
Ingo Schommer
2cdf57053f
FEATURE Added CMSMenu and CMSMenuItem and adjusted existing LeftAndMain subclasses to use new notation.See #2872 (thanks to hamish for the patch!)
...
API CHANGE Removed LeftAndMain::add_menu_item(), LeftAndMain::remove_menu_item(), LeftAndMain::replace_menu_item(), LeftAndMain::clear_menu()
MINOR Disabled LeftAndMainTest, now covered by CMSMenuTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65095 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-02 21:27:55 +00:00
Ingo Schommer
c6a8ad67fa
BUGFIX Fixed SecurityAdminTest to work with i18n enabled
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65028 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-01 13:55:47 +00:00
Ingo Schommer
fa2a2df551
BUGFIX Fixed CMSMainTest to check for translated entities to avoid failing tests with i18n enabled
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65024 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-01 13:42:19 +00:00
Ingo Schommer
b4d519d2cb
MINOR moved RestfulServerTest from cms to sapphire module, same as the actual RestfulServer class
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64442 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 17:37:44 +00:00
Ingo Schommer
c0a94a7c82
BUGFIX Unit tests for RestfulServer (see r64439)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64440 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 17:35:59 +00:00
Ingo Schommer
db25cf0d59
BUGFIX Unsetting $_SERVER globals in RestfulServerTest to avoid side-effects across unit tests
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64310 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-15 16:24:50 +00:00
Ingo Schommer
18843624bb
BUGFIX Added RestfulServerTest->testApiAccessBoolean()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64309 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-15 16:19:37 +00:00
Ingo Schommer
b9f9e74306
FEATURE Allowing for field-level permissions in DataObject::$api_access - respecting those permissions for reading and writing in RestfulServer ( #2918 )
...
BUGFIX Fixed RestfulServerTest->testAuthenticatedGET()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64307 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-15 15:47:13 +00:00
Sam Minnee
1034826574
API CHANGE: Added initial CMS tests to the system. These will execute tests on the data model provided by a user's project code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63827 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 03:38:32 +00:00
Hayden Smith
690cebdccd
Merged from branches/nzct-trunk. Use 'svn log -c <changeset> -g' for full commit message. Merge includes stability fixes and minor refactor of TableListField and ComplexTableField.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63807 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 02:00:39 +00:00
Sam Minnee
155269c389
Added tests for security group export
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63582 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 02:26:23 +00:00
Sam Minnee
9222af6829
Windmill test - whacked up timeout on CMS load for slow build slave
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61634 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 10:56:55 +00:00
Sam Minnee
10546a00b5
Fixed setup of windmill admin tests
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61631 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 10:51:36 +00:00
Sam Minnee
221e7b574f
Fixed glitch in test
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61628 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 08:23:47 +00:00
Sam Minnee
dfa227cbe5
Updated windmill tests to use python syntax, as this will scale better
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61626 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 08:18:54 +00:00
Ingo Schommer
d5b37fab3d
ENHANCEMENT Added default /admin/cms route to cms/_config.php to clear default namespace for other controllers
...
BUGFIX Fixed CMSMainTest to use /admin/crm as a standard URL rather than /admin (which could be overloaded by other admins for application-like interfaces without CMS components)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60635 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-13 07:54:34 +00:00
Sam Minnee
387b5edd21
Merged changes from branches/2.2.2-assets:
...
Static publishing
Ability to lock down comments to logged-in members only
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-12 02:59:27 +00:00
Ingo Schommer
109f207e16
(merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60338 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 03:13:53 +00:00
Ingo Schommer
e29feeecac
(merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60235 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 07:03:24 +00:00
Ingo Schommer
a894ad377d
MINOR Unified @package PHPdoc (added where missing, removed duplicates)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@56212 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 13:33:53 +00:00
Ingo Schommer
ea1b6cd66e
moved LeftAndMain test from sapphire to cms
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@52183 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 03:38:27 +00:00
Sam Minnee
dc173c6d5c
Updated windmill tests - sleeps and waits
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48424 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-22 05:13:04 +00:00
Sam Minnee
35adb02921
Added Windmill test for editing content
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48166 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-17 05:01:32 +00:00
Sam Minnee
99a0cb43b5
Fixed login test
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48042 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-16 00:42:29 +00:00
Sam Minnee
5f5b69b130
Added initial windmill test
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48035 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-15 22:30:55 +00:00