Commit Graph

249 Commits

Author SHA1 Message Date
Sabina Talipova
8b9a80ecbb ENH Extracting logic for canX from Company and Employee into DataObject Extension 2022-09-13 14:20:53 +12:00
Guy Sartorelli
dbf6dfe066
Merge pull request #120 from creative-commoners/pulls/4/review-behat-tests
ENH Add permissions for Content Editor
2022-09-07 11:05:04 +12:00
Sabina Talipova
69fcc2f1bf ENH Add permissions for Content Editor 2022-09-07 10:55:06 +12:00
Guy Sartorelli
cd4c310e1f
ENH Stop using deprecated Versioned methods (#121) 2022-08-30 13:18:41 +12:00
Sabina Talipova
f098a695db NEW Test class for GridField with limited number of items in the list 2022-08-09 14:35:41 +12:00
Steve Boyd
d0deef8719 FIX Only add extension if elemental module exists 2022-07-05 21:08:37 +12:00
Steve Boyd
dd6d3b7a70 FIX Remove types for PHP 7.3 support 2022-07-05 17:50:17 +12:00
Guy Sartorelli
ae3003f276 NEW Add new page for testing elemental blocks on a page. 2022-05-27 12:24:46 +12:00
Guy Sartorelli
5594c50133
Merge pull request #105 from creative-commoners/pulls/4/behat-tests-elemental-area
MNT Behat-test fixtures for elemental area
2022-05-11 09:38:22 +12:00
Sabina Talipova
94420d7373 New classes for testing ElementalArea in DataObject 2022-05-09 16:34:22 +12:00
Steve Boyd
6f5b32da26 ENH PHP 8.1 compatibility 2022-04-13 10:31:07 +12:00
Steve Boyd
250935238d DEP Use guzzle 7.3 2022-03-08 17:10:14 +13:00
Aaron Carlino
c754116963 Add new regenerate_on_build 2021-05-27 15:25:38 +12:00
Aaron Carlino
c455fa08c2 Ensure absolute path for watermark 2021-05-13 11:00:50 +12:00
Aaron Carlino
f932f5e110 Add counts to file task, update readme 2021-05-10 13:19:27 +12:00
Aaron Carlino
9988c9af88 NEW: More complete block content, unique images with watermarks 2021-05-03 13:36:06 +12:00
Steve Boyd
3c83a61988 FIX GraphQL4 config, add table names to pages 2021-02-25 23:51:25 +13:00
Steve Boyd
47cb51360d FIX Extend Page instead of SiteTree so that this works with GraphQL3 2021-02-25 14:44:26 +13:00
Steve Boyd
297997df73 NEW Add MultiTabPage behat fixture 2021-02-10 13:56:21 +13:00
Ingo Schommer
efbc66d941 NEW Generate blocks 2020-11-03 18:06:45 +13:00
Serge Latyntcev
b529dc6353 Amend TestRegistry* classes declaration 2020-10-12 12:30:07 +13:00
Maxime Rainville
4d2d3628e0 BUG Update Company validate method to reflect best practices. 2020-09-17 15:13:47 +12:00
Maxime Rainville
967a140cde BUG Move the glu before the array when calling implode 2020-07-21 15:10:00 +12:00
Maxime Rainville
04918fa862 Improve the file maker default and make the protected attribute configuration flags like they are menat to be 2020-06-17 15:14:41 +12:00
Steve Boyd
5f4cfaedc0 Create a scenario where files end up in the wrong asset store 2020-03-03 14:01:22 +13:00
Ingo Schommer
120c3155df
Merge pull request #62 from open-sausages/pulls/4/file-maker-thumbs
NEW Generate thumbs in FTFileMakerTask
2019-06-21 10:51:04 +12:00
Garion Herman
ffad8c6e39 Update UploadField namespace reference 2019-05-07 12:00:07 +12:00
Ingo Schommer
14b6eeffd6 NEW Generate thumbs in FTFileMakerTask 2019-04-11 13:06:32 +12:00
Maxime Rainville
4886c996b9
Merge pull request #58 from creative-commoners/pulls/0/registry-defaults
NEW Adding a default registry page
2019-01-23 19:55:09 +13:00
Robbie Averill
eb89c30b08
FIX Typo in completion message
Co-Authored-By: ScopeyNZ <guy@scopey.co.nz>
2019-01-23 16:16:04 +13:00
Guy Marriott
2f672ae2ca
NEW Adding a default registry page 2019-01-18 13:56:58 +13:00
Guy Marriott
6dd60fdd3b
Merge pull request #56 from open-sausages/pulls/0/graphql-scaffolding
MINOR Scaffold some DataObject for testing graphql
2018-12-17 16:22:42 +13:00
Ingo Schommer
9e65247cd1 Test addExtraClass() 2018-12-11 16:05:58 +13:00
Maxime Rainville
8bd432bef3
Undo debug statement. 2018-12-05 12:12:29 +13:00
Maxime Rainville
c89dd1f5e1 MINOR Scaffold some DataObject for testing graphql 2018-11-26 15:01:22 +13:00
Maxime Rainville
98d9ec95f2 MINOR Make the Employee search form ridiculously convoluted. 2018-10-18 16:16:54 +13:00
Maxime Rainville
987fb56d5a Use ResourceMonitorLoader to fetch image url. 2018-10-18 14:11:38 +13:00
Ingo Schommer
41d323b683 Less conflicting TestPage table name
See https://github.com/silverstripe/cwp-recipe-kitchen-sink/pull/14#issuecomment-423417352
2018-09-24 11:23:42 +12:00
Luke Edwards
9909f97f81 Add a tab with 2 gridfields, one after the other 2018-04-04 14:35:25 +12:00
Aaron Carlino
59feb76a49 formatting 2017-11-30 10:37:10 +13:00
Aaron Carlino
e4f9bb4cc3 new gitignore 2017-11-29 11:46:19 +13:00
Aaron Carlino
fbd30fac98 Add new page type creator task, Faker dependency 2017-11-29 11:45:42 +13:00
Christopher Joe
4c940e789c BUG Fix table_name config for test pages 2017-11-27 20:24:08 +13:00
Christopher Joe
dcc60a12e7 BUG Fix compatibility with latest version 2017-11-06 16:56:59 +13:00
Christopher Joe
4e28b5bfbc Fix react test section and build tools 2017-08-17 14:24:21 +12:00
Ingo Schommer
46891b2dea Ownership on GridFieldTestPage 2017-07-06 14:29:05 +12:00
Ingo Schommer
d2711a82bb Add ownership model for files 2017-07-06 14:20:29 +12:00
Ingo Schommer
c272a25cb2 Versioned Company, fixed UploadField NS 2017-07-06 08:19:08 +12:00
Ingo Schommer
29c5c29c95 Reduced default page count a bit
15k is a good high-use case, but a bit much for a standard CMS installation
2017-07-05 09:58:48 +12:00
Damian Mooyman
02e932f3e5
Remove object class 2017-05-18 17:23:32 +12:00
Ingo Schommer
260ad323ac Improved page generation (customise depths)
Similar to FTFileMakerTask, this allows for creation of trees of arbitrary depths.
Which is useful to test long page lists, deep trees, or large amount of “broad vs deep” nestings.
Yes, it has no unit tests - I’m fine with that :)
2017-05-18 13:20:53 +12:00
Ingo Schommer
e526c9692c Removed legacy fields
See https://github.com/silverstripe/silverstripe-framework/pull/6883
2017-05-08 20:25:15 +12:00
Ingo Schommer
0e893b503b Support for new DatetimeField
See https://github.com/silverstripe/silverstripe-framework/issues/6140
2017-04-26 10:32:09 +12:00
Ingo Schommer
8cb15a45de Align date minimums with db defaults
Avoid validation errors by default
2017-04-26 10:32:02 +12:00
Ingo Schommer
902151603c Removed unused DMYDate 2017-04-26 10:31:22 +12:00
Ingo Schommer
097e136525 Use HTML5 date (with min-date case) 2017-04-03 12:01:47 +12:00
Ingo Schommer
df5681371d Added TimeField with setHTML5(true) 2017-03-31 14:12:56 +13:00
Ingo Schommer
1363efe1e1 Removed AssetField, only use new UploadField
AssetField and the old UploadField have been removed from core.
2017-03-30 09:32:57 +13:00
Ingo Schommer
f465d5c3ff Updated setShowCalendar() use 2017-02-16 11:27:12 +13:00
Ingo Schommer
1df00831f4 Use new SeparatedDateField 2017-02-16 09:08:28 +13:00
Ingo Schommer
c55b641604 Scale/float testing 2017-02-16 08:23:09 +13:00
Ingo Schommer
7fcf623639 Fix dev/build with Member::actAs()
Fixes #28
2017-01-16 11:11:40 +13:00
Ingo Schommer
db7c537666 Use PageController without underscore 2017-01-15 21:19:56 +13:00
Ingo Schommer
550f9856d6 Tests for new AssetAdmin UploadField 2017-01-11 23:38:27 +13:00
Ingo Schommer
5a33b6ccbd Merge pull request #27 from open-sausages/pulls/4.0/cleanup-4
Update deprecated API
2017-01-11 22:45:36 +13:00
Damian Mooyman
813e75a880 Update deprecated API
Code cleanup
2017-01-11 10:47:17 +13:00
Ingo Schommer
0620392dc4 FTFileMakerTask 2017-01-06 19:48:50 +13:00
Ingo Schommer
a97830ad1c Moved tasks into subfolder 2017-01-06 08:31:40 +13:00
Ingo Schommer
0618abe1ab Added new HTMLReadonlyField implementation 2016-10-20 22:06:02 +13:00
Ingo Schommer
89922b58e9 Don't set OptionSetField to multiple vals
It's a radiobutton based field, so multiple values don't make sense here
2016-10-20 08:51:27 +13:00
Ingo Schommer
a0099fb03f Populate readonly/disabled manymany 2016-10-20 08:37:06 +13:00
Ingo Schommer
8a024fd39c Use actual manymany for CheckboxSetField
It's not really designed to work with a has_one or database column (you'd use OptionsetField for that).
Also removed the "Field" suffix from "MultipleListboxField" (inconsistent with other column names)
2016-10-18 23:15:37 +13:00
Ingo Schommer
3eb6295f76 More consistent field loading, using loadDataFrom() in react test admin 2016-10-18 22:07:07 +13:00
Ingo Schommer
7137b456cf Consolidated fields 2016-10-18 16:38:41 +13:00
Ingo Schommer
8a2f501805 Sort items (no additions) 2016-10-18 16:32:13 +13:00
Ingo Schommer
ccbbd91822 Set values on readonly/disabled fields
These field variations are not corresponding to properties on the underlying DataObject,
hence need to be set manually. At the moment, Form->loadDataFrom() is never called during schema generation,
so the setValue() calls are required for all fields - which is a bug in the LeftAndMain->schema() implementation.
2016-10-14 07:47:57 +13:00
Ingo Schommer
fbae8eef90 Fixed casing in HTMLEditorField default data 2016-10-14 07:46:13 +13:00
Ingo Schommer
c86232f198 Present HTML formatted text in HTMLEditorField test 2016-10-14 07:46:00 +13:00
Christopher Joe
9c75f0a4e1 Rebased with webpack 2016-09-29 13:39:07 +13:00
Christopher Joe
a4e7440c62 Added TestReactFormBuilder admin section, this utilises BasicFieldsTestPage fields currently. 2016-09-28 11:42:20 +13:00
Ingo Schommer
e143204ae6 Regression on field labels
Auto-conversion was a bit too overzealous, and I failed at reviewing the diff properly.
2016-09-14 16:34:31 +12:00
Ingo Schommer
d735641bc0 Fixed namespace regression 2016-09-10 22:14:11 +12:00
Ingo Schommer
7720748b34 Compat with SS4 namespaces
See https://github.com/silverstripe/silverstripe-framework/issues/5637
2016-09-07 17:10:55 +12:00
Ingo Schommer
c3f64d7ddc Extend correct ModelAdmin class 2016-09-07 09:10:34 +12:00
Christopher Joe
f3024221ed Fix CMS Namespace changes 2016-08-16 16:38:31 +12:00
Damian Mooyman
26b8dcd39f Make employe fields untabbed to test flat forms 2016-08-03 14:12:53 +12:00
Damian Mooyman
0e84d74b24
Add description and right title 2016-07-21 13:43:44 +12:00
Damian Mooyman
647d1f36f6 Alias namespaced table 2016-07-20 10:35:01 +12:00
Damian Mooyman
ef723bb265 Update for security namespace 2016-07-20 10:34:52 +12:00
Ingo Schommer
8f315e7962 Namespaced model to get more 4.x test coverage 2016-07-01 14:37:50 +12:00
Ingo Schommer
d66b64d1fa Wrapper div for LiteralField 2016-06-17 14:17:36 +12:00
Ingo Schommer
049277d71f LiteralField with HTML 2016-06-16 14:14:18 +12:00
Ingo Schommer
aaa56c176e More realistic SelectionGroup config 2016-06-16 14:14:13 +12:00
Ingo Schommer
e98f22f400 Removed TimeWithDropdown, no longer supported in core 2016-06-16 13:35:41 +12:00
Ingo Schommer
d7d2afe250 Added more fields (AssetField, LiteralField, ConfirmedPasswordField) 2016-06-16 13:31:34 +12:00
Ingo Schommer
a499292bb4 Added more field variations (LabelField, CompositeField, SelectionGroup) 2016-06-16 13:11:29 +12:00
Ingo Schommer
112bdeea92 4.x compat 2016-04-19 09:27:29 +12:00
helpfulrobot
a18cb30402 Converted to PSR-2 2015-12-18 09:20:49 +13:00
Ingo Schommer
f68cfda091 Fixed favourite page dropdown placement
See https://github.com/silverstripe/silverstripe-cms/issues/387
2014-03-16 16:00:35 +13:00
Sean Harvey
884b5305ed Merge pull request #9 from mandrew/frameworktest-fixes
BUG: fixes for 3.1 version
2014-02-18 10:14:03 +13:00