Commit Graph

195 Commits

Author SHA1 Message Date
Ingo Schommer
48a939f589 Removed tests for AjaxUniqueTextField, no longer in master 2013-12-20 00:43:22 +01:00
Ingo Schommer
cb1775a1c5 Fixed static visibility 2013-12-20 00:22:38 +01:00
Ingo Schommer
7be2968a92 Reflexive relationship for File
3.1 latest complains otherwise
2013-10-24 15:02:15 +02:00
Ingo Schommer
1b1499a3f8 Added 'required' and 'validated' fields 2013-09-18 13:01:56 +02:00
Ingo Schommer
2bd2d5f844 More comprehensive UploadField test cases 2013-05-29 17:26:17 +02:00
Ingo Schommer
2ddb78e6f4 Disabled TestTagFieldPage and TestTag classes
Due to changed class parsing in 3.1, the class_exists() checks
are no longer recognized, leading to errors when the class
is only condtionally autoloaded (or the tagfield isn't present)
2013-05-29 17:26:17 +02:00
Ingo Schommer
81177f6802 Fixed declarations on TestTagFieldPage 2013-04-06 14:41:30 +02:00
Ingo Schommer
f324c12e70 TreeDropdownField with has_one and search 2013-04-06 13:44:24 +02:00
Ingo Schommer
4c062448b8 Conditionally adding tag field tests 2013-04-06 13:44:13 +02:00
Ingo Schommer
7f6c958914 3.1 compat changes 2013-04-02 18:49:57 +02:00
Ingo Schommer
e15366359e 3.1 compat 2013-03-26 13:53:37 +01:00
Ingo Schommer
708b5a2ad8 Remove cmsworkflow tests, no longer supported in 3.x 2013-03-19 09:53:21 +01:00
Ingo Schommer
907f4dd73a Fixed extraStatics usage 2013-03-19 09:44:39 +01:00
Ingo Schommer
b928d641ee Test dynamic summary_fields 2013-03-07 15:32:26 +01:00
Ingo Schommer
52e8bc13a7 NEW Test FieldGroup 2013-01-16 10:30:00 +01:00
Ingo Schommer
432cc44a30 Added many-many (plus extrafields) example 2013-01-15 00:44:45 +01:00
Ingo Schommer
247ebff56c Added UploadField example with canUpload=false 2013-01-11 00:40:35 +01:00
Ingo Schommer
a0c74c5d47 Populate default data in form fields for more accurate testing.
Also adjusted to new tooltip format in 3.1 (optional)
2012-12-13 14:59:32 +01:00
Ingo Schommer
65d930d829 Added setDescription() to all fields to test help text support
This support has been added in master, for 3.0 most elements
will simply show the "title" attribute
2012-11-30 12:08:46 +01:00
Ingo Schommer
2cf6e3c242 Added tests for HTML editing and image upload in ModelAdmin 2012-11-27 12:15:09 +01:00
Ingo Schommer
ae618798b3 Removed support for TableListField test cases 2012-11-27 12:10:58 +01:00
Ingo Schommer
848d487051 API Removed BigFamilyPage, use FTPageMakerTask instead 2012-08-29 09:44:45 +02:00
Ingo Schommer
a7b2db1e85 NEW Hide test pages from menu, group in common parent 2012-08-29 09:44:26 +02:00
Normann Lou
34f0da3d44 BUGFIX: add missing page controller class from BigFamilyPage 2012-06-30 01:06:18 +12:00
Normann Lou
a2e3738f66 ENHANCEMENT: use UplocadField constructor combine with give the field allowedExtensions as array('jpg', 'git', 'png') to replace the SimpleImageField constructor 2012-06-30 00:47:50 +12:00
Normann Lou
0a4f22a08f ENHANCEMENT: use FieldList constructor to replace FieldSet constructor for SilverStripe 3
ENHANCEMENT: use FormActioin constructor to replace ImageFormAction constructor for SilverStripe 3
2012-06-30 00:27:32 +12:00
Ingo Schommer
2ca8ff1c7d BUGFIX Publishing test pages regardless of permissions, e.g. when executed in cli 2012-06-15 11:56:24 +02:00
Normann Lou
728bcfe470 MINOR: add a test case which create a page with 100 sub-pages so as to develop features that need to based on a page with lots of children such as limit showing number of children to 20 while adding a "show all" node as the 21st node. 2012-04-24 17:32:52 +12:00
Ingo Schommer
ca327d218e MINOR Reverted usage of $param in getCMSFields() 2012-04-13 15:59:19 +02:00
Ingo Schommer
beba8d3153 MINOR Using new late static binding create() logic 2012-04-12 11:56:32 +02:00
Sean Harvey
a50f9fbcac MINOR E_STRICT fixes 2012-04-12 15:04:39 +12:00
Ingo Schommer
95a1c51ca6 ENHANCEMENT Demo'ing model validation through Company->validate() 2012-03-14 17:20:25 +01:00
Ingo Schommer
4645195dd4 MINOR Relying on field scaffolding in Company (now that FormScaffolder uses GridField) 2012-03-14 17:20:03 +01:00
Ingo Schommer
31f8f35626 BUGFIX Fixed duplicate relationship name which confused GridField 2012-03-14 17:19:28 +01:00
Normann Lou
b6401c2386 MINOR: Not GridField need to show for an new Company object before it's saved to DB. 2012-03-13 17:34:37 +13:00
Ingo Schommer
a360865b47 ENHANCEMENT Added LegacyTableFieldTestPage 2012-03-12 17:23:29 +01:00
Sam Minnee
b67f99adbe BUGFIX: Make frameworktest rely on built-in gridfield configs 2012-03-09 18:24:18 +13:00
Ingo Schommer
d37bd9d306 MINOR Using renamed GridFieldDeleteAction and GridFieldEditAction 2012-03-08 16:34:14 +01:00
Ingo Schommer
e313964668 MINOR Removed obsolete getCMSFields() arguments 2012-03-08 11:09:19 +01:00
Ingo Schommer
fbf955f602 ENHANCEMENt Added tree-based fields 2012-03-08 10:36:12 +01:00
Ingo Schommer
e815c5bf09 MINOR Fixed FormField->Name() usage 2012-03-02 01:03:02 +01:00
Ingo Schommer
04cf3c6d7b MINOR Moved SifrPage into its own "folder sandbox" 2012-02-29 16:10:15 +01:00
Ingo Schommer
1a40899d89 MINOR Using DataExtension instead of decorator for 3.0 compat 2012-02-29 16:09:06 +01:00
Ingo Schommer
dd9f2a255d ENHANCEMENT Added has_many/many_many test cases for GridField 2012-02-29 16:06:46 +01:00
Ingo Schommer
e34b857b78 MINOR Isolated page making as task 2012-02-29 15:49:37 +01:00
Ingo Schommer
4506eba6cb ENHANCEMENT Creating some default members 2012-02-29 15:26:08 +01:00
Ingo Schommer
a1bc8bfc13 ENHANCEMENT Using more complete domain model from old GridfieldTest module in sample ModelAdmin, removing old model files. 2012-02-29 15:26:00 +01:00
Ingo Schommer
a673bdaa90 ENHANCEMENT Migrated Stig's GridfieldTest module into here 2012-02-29 15:10:34 +01:00
Ingo Schommer
e8433ba258 ENHANCEMENT Added readonly/disabled fields 2012-02-29 14:39:11 +01:00
Ingo Schommer
42ffea6317 BUGFIX Updated existing test fields to work with 3.0 2012-02-29 14:35:49 +01:00
Ingo Schommer
796851cad0 MINOR File restructuring, grouping module-specific files and excluding them by default in order to make the module useful for testing basic core components 2012-02-29 14:27:14 +01:00
Sean Harvey
045117db1f MINOR Removed deprecated field usage in BasicFieldsTestPage 2011-03-17 13:59:26 +13:00
Ingo Schommer
aad5f035ab MINOR Added RecaptchaTestPage 2010-10-08 03:06:37 +00:00
Ingo Schommer
414ba50e04 ENHANCEMENT Added test page for TagField 2010-09-25 01:09:22 +00:00
Ingo Schommer
ffc2f85b9d ENHANCEMENT Added disabled date/time fields to "basic fields test page" 2010-07-12 07:12:47 +00:00
Ingo Schommer
02e3bcabb4 ENHANCEMENT Using 2.4 date APIs 2010-07-10 02:30:23 +00:00
Sean Harvey
028a258910 MINOR Fixed broken test 2010-05-11 03:39:12 +00:00
Sean Harvey
f4c2e7760c MINOR Fixed broken test 2010-05-11 03:38:37 +00:00
Sean Harvey
7ab8dc822b BUGFIX Changed protected to public for MultiForm changes 2010-05-11 03:36:45 +00:00
Sean Harvey
543e22be0b BUGFIX Changed protected statics to public to conincide with API change in MultiForm 2010-05-11 03:31:18 +00:00
Sean Harvey
c69c3c212b MINOR Supress warnings 2010-05-10 23:47:58 +00:00
Ingo Schommer
b0a5768bb0 FEATURE Added dev/regress admin UI 2010-05-03 20:43:40 +00:00
Sean Harvey
1fc905bd01 MINOR Re-enabled CurrencyField which works 2010-04-12 05:27:50 +00:00
Saophalkun Ponlu
f47cbab479 MINOR: change a decoratign method name to work with the new change made in SiteConfig 2010-03-21 21:31:39 +00:00
Sean Harvey
d71a319bac MINOR Removed unused field 2010-03-15 05:58:17 +00:00
Michael Andrewartha
4af8796673 added organisation for multiformtest 2010-03-10 20:27:59 +00:00
Michael Andrewartha
76bcf565f3 added page2 and page3 multiform tests 2010-03-10 20:20:44 +00:00
Saophalkun Ponlu
99d4892e25 MINOR: added successful multiform submission message 2010-03-04 02:36:29 +00:00
Saophalkun Ponlu
26559b06f5 MINOR: added unit test for CMSWorkflowSiteConfigDecorator 2010-03-04 02:12:28 +00:00
Saophalkun Ponlu
d53ce512bd MINOR: allows custom config file path
BUGFIX: replaced reading whole text file logic from using filesize() to feof(). there are time filesize() returns a wrong value
BUGFIX: set a new config var didn't work properly
2010-03-04 02:10:36 +00:00
Saophalkun Ponlu
a0fb3d463f FEATURE: added a page type for testing multi step form 2010-03-03 22:24:02 +00:00
Saophalkun Ponlu
b90c61558a FEATURE: added the ability to switch between two-step and three-step workflow 2010-02-19 03:36:29 +00:00
Saophalkun Ponlu
33511a8b5c FEATURE: added a literal in the cms to show the sifr sample image
MINOR: tells sifr to use the new font
2010-02-18 21:34:24 +00:00
Saophalkun Ponlu
db625dbf2f MINOR: subsequent commit to the last revision 2010-02-18 21:15:36 +00:00
Normann Lou
1c4e11274a MINOR: change FTPageHolder::$allowed_children from string to array so as not to break SiteTree::allowedChildren() call 2010-02-01 22:58:21 +00:00
Sam Minnee
288dd47257 BUGFIX: Don't make CMSSubTreeAdmin require the blog module 2010-02-01 21:34:17 +00:00
Normann Lou
8600386ae5 MINOR: add TestFileUploadPage and FileUploadRole to test a simple file upload field and a simple image upload field can be saved in case of Assets folder and / or Assets/Uploads folder missing. related with open ticket #4942(http://open.silverstripe.org/ticket/4942). 2010-01-28 07:26:00 +00:00
Sean Harvey
ba454f7f18 MINOR Reinstated date and time fields 2010-01-27 01:40:18 +00:00
Sam Minnee
de6d375b6c BUGFIX: Fixed test modeladmin 2010-01-26 09:02:35 +00:00
Sam Minnee
ac78bf05a9 ENHANCEMENT: Text WYSIWYG editors in ModelAdmin 2010-01-26 09:02:25 +00:00
Sean Harvey
0e33550a18 MINOR Disabled certain fields that stopped the page from being saved 2010-01-26 04:35:45 +00:00
Sean Harvey
45bea26300 MINOR Removed fields that don't belong in the core any longer for frameworktest 2010-01-26 03:40:12 +00:00
Sam Minnee
5d64c572e9 Added test email function to frameworktests 2009-08-25 05:49:13 +00:00
Sam Minnee
1df4995f00 Added test button for ImageFormAction 2009-08-24 06:59:08 +00:00
Sean Harvey
9998db2e9e Fixed relation for categories 2009-05-15 04:05:09 +00:00
Sean Harvey
6b8102894b Fixed broken model admin 2009-05-15 01:43:04 +00:00
Sean Harvey
e4acc1bef3 Removed debug line 2009-05-04 04:11:05 +00:00
Sam Minnee
660fd19a49 Added more relation editing fields to frameworktest 2009-01-30 05:01:28 +00:00
Sam Minnee
08c22fbbf2 Added test demonstrating how to make a CMS section that exposes only a sub-tree 2008-11-13 21:39:53 +00:00
Sam Minnee
8393f9ac99 Add some more tests 2008-11-13 21:32:37 +00:00
Sam Minnee
4c9945d0fa BUGFIX: Reduced reliance of specific data in the system 2008-10-08 04:00:59 +00:00
Simon Welsh
57a6790f6e Tidied up tabs 2008-10-06 06:50:10 +00:00
Sam Minnee
ebca093fd7 Aded initial test modeladmin 2008-10-02 22:48:55 +00:00
Sam Minnee
32730154e1 Updated frameworktest to allow for testing of DateField_Disabled, and to allow for testing both inside and outside the CMS 2008-10-02 22:38:34 +00:00
Simon Welsh
236711fe4d Added more fields. Needs to be tidied. 2008-10-02 22:05:45 +00:00