Commit Graph

171 Commits

Author SHA1 Message Date
Robbie Averill daf71e2fab FIX StringTagField now works with SS-2018-021/CVE-2019-5715 by serialising arrays before write 2019-02-19 11:20:13 +07:00
Robbie Averill 7b7dc3e58e Add missing react-addons-test-utils dependency 2019-02-12 18:46:48 +07:00
Robbie Averill 3b54f02f6a
Merge pull request #128 from svenV88/patch-1
Update faulty import of TagField component
2019-02-12 18:39:25 +07:00
Guy Marriott dd403bb96f
Merge pull request #133 from Kethatril/hotfix/fix-lazyloading-options
Replace lodash.debounce with a promise based debounce
2019-01-25 09:44:42 +13:00
Daniel Bonham cc1add13f3 Replace lodash.debounce with https://github.com/bjoerge/debounce-promise Fixes https://github.com/silverstripe/silverstripe-tagfield/issues/132 2019-01-24 15:16:38 +13:00
Guy Marriott d7762a1e72
Merge pull request #131 from thats4shaw/bugfix/add-assets-to-left-and-main
Add css and js to left and main
2018-12-19 21:56:35 +13:00
Guy Marriott 8a9241c522
FIX Make config namespace more specific 2018-12-19 21:55:03 +13:00
Hayden Shaw fd06a8da5f Add css and js to left and main
* Add yaml file
* Remove requirement calls from field constructors
2018-12-19 14:40:17 +13:00
Sven Westerlaken 20becd7430
Update faulty import of TagField component 2018-12-11 14:48:56 +01:00
Robbie Averill feff8b52f1
Merge pull request #124 from creative-commoners/pulls/2.2/ready-or-not-here-i-load
FIX Adding a debounce to fetching lazy loaded tags with tag field
2018-12-04 09:13:39 +00:00
Guy Marriott 836f5ff978
FIX Adding a debounce to fetching lazy loaded tags with tag field 2018-12-04 16:15:47 +13:00
Guy Marriott ada0ec2d13
Merge pull request #122 from creative-commoners/pulls/2.2/fix-tag-class-name
FIX TagField and StringTagField now work correctly on SilverStripe 4.3
2018-11-20 10:47:52 +13:00
Robbie Averill 8030ddf960 Add tests for schema generation, further switch to short array syntax 2018-11-16 11:29:49 +02:00
Robbie Averill 3de6d94328 DOCS Update StringTagField example code to explain the input source options 2018-11-15 23:15:30 +02:00
Robbie Averill 9daa667415 FIX StringTagField now populates available options from its input, and works with React TagField
Suggesting options from a list of tags that are already set as values makes no sense. The
example code in the documentation shows that you provide an input array of options, so
that should be what is used to suggest options when lazy loading.
2018-11-15 22:59:08 +02:00
Robbie Averill dbc519ef31 Move schema data into getSchemaDataDefaults() from Field() 2018-11-15 21:48:46 +02:00
Robbie Averill c766cbcd67 Remove legacy css, javascript and changelog files
Only client/dist is exposed, and this should be used for all Requirements calls
2018-11-15 21:36:55 +02:00
Robbie Averill 54b7d0ff72 Reference correct css and javascript bundles 2018-11-15 21:33:50 +02:00
Robbie Averill 204ef6df53 Update array syntax style, broken doc blocks and namespace imports 2018-11-15 21:33:38 +02:00
Robbie Averill 3ce41f60ec FIX Prevent FormField::Type() from adding "tag" class to TagField 2018-11-15 21:23:22 +02:00
Guy Marriott 02c646a0ee
Merge pull request #121 from creative-commoners/pulls/2.2/remove-json-methods
FIX Replace Convert JSON methods with json_* methods, deprecated from SilverStripe 4.4
2018-10-29 11:46:08 +13:00
Robbie Averill 1ad87eb374 FIX Replace Convert JSON methods with json_* methods, deprecated from SilverStripe 4.4 2018-10-28 21:42:26 +00:00
Robbie Averill 7f5b1ebced Require source and specify admin version in Travis config 2018-08-18 10:12:51 +12:00
Robbie Averill 2fd78f10a9 Add individual phpcs ruleset to Travis builds 2018-08-18 10:09:56 +12:00
Robbie Averill 956bd9d9a4
Bump recipe-cms to 4.3.x-dev and postgres to 2.1.x-dev 2018-08-18 00:19:48 +12:00
Robbie Averill 73eb3c1553 Bump minimum core version requirement to 4.3 2018-07-26 16:34:16 +12:00
Robbie Averill c18690be06
Merge pull request #113 from creative-commoners/pulls/master/reactify-tags
Update module to use react-select
2018-07-17 17:08:21 +12:00
Guy Marriott 2067a3b69f
Building distribution files 2018-07-17 17:03:26 +12:00
Guy Marriott 3830a74296
Updating yarn.lock 2018-07-17 16:55:37 +12:00
Guy Marriott 5aed71b8b3
Updating to use injector & removing storybook 2018-07-17 16:50:49 +12:00
Guy Marriott fac6a03aef
Revert modification of tests to keep B/C 2018-07-17 16:40:52 +12:00
Guy Marriott b60bdabe57
Simplifying included custom styling - a lot 2018-07-17 16:31:52 +12:00
Guy Marriott e67ed8de80
Adding NPM tests to travis 2018-07-17 16:20:00 +12:00
Guy Marriott cef407d53f
Adding tests & various feedback updates 2018-07-17 16:19:44 +12:00
Raissa North bf6664ebcf
Merge pull request #112 from creative-commoners/pulls/master/add-supported-module-badge
Add supported module badge to readme
2018-07-17 10:55:10 +12:00
Guy Marriott 70e83c0995
Travis fixes 2018-07-16 14:34:08 +12:00
Guy Marriott ff3c8eb2bb
Additional changes to convert tagfield to use react-select 2018-07-16 13:27:11 +12:00
Guy Marriott 77f10965d4
NEW Converting tagfield to use react components 2018-07-11 17:47:38 +12:00
Dylan Wagstaff 4795a304a9 Add supported module badge to readme 2018-06-15 17:50:06 +12:00
Robbie Averill 11f48e63cc Merge branch '2.1' 2018-06-11 11:50:57 +12:00
Robbie Averill 705c7fb525 Remove obsolete branch alias 2018-06-11 11:49:15 +12:00
Robbie Averill 778282d1fd Merge branch '2.0' 2018-05-25 15:20:01 +12:00
Robbie Averill 058bc8c3d5 Remove obsolete branch alias 2018-05-25 15:19:40 +12:00
Robbie Averill c836b7f914
Merge pull request #109 from jakxnz/master
Set "title field" at a meaningful point in TagField instantiation
2018-04-06 14:42:29 +12:00
Jackson 1e40d07a98 Set "title field" at a meaningful point in TagField instantiation
* Switch diet to dogfood
2018-04-06 14:18:14 +12:00
Jackson 7a286d432d Set "title field" at a meaningful point in TagField instantiation
* Added parameter to SilverStripe\TagFieldTagField::__construct()
* Modified SilverStripe\TagFieldTagField::getOptions() to use assigned title field
* Modified SilverStripe\TagFieldTagField::getValue() to use assigned title field
2018-04-06 13:47:49 +12:00
Nivanka Fonseka 7691fc27c6 Tag field to look similar to list field (#108)
* updated the CSS of the tag field to match with 

the dropdown fields / list fields

* resolve with of the field to the style attr of 

dropdown

* added style width

* removed the empty lines

* changed to the correct classname readonly tag field

* fixed the tag field signature

* removed the whitespace ending in line 352
2018-02-20 13:39:58 +00:00
Daniel Hensby 80d8cf6a04
Merge pull request #106 from SilverStripers/master
Fixed performReadonlyTransformation
2018-01-24 18:00:10 +00:00
priyashantha a5dd9682a1 tiny updates for coding standards 2018-01-24 12:16:15 +05:30
priyashantha 94fba0d260 fixed php lint issues 2018-01-23 11:06:09 +05:30