Commit Graph

25 Commits

Author SHA1 Message Date
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