Commit Graph

161 Commits

Author SHA1 Message Date
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
Nivanka Fonseka 6d7d6ff9e2 readonly field namespaces are corrected and updated the unit tests with cases covering performReadonlyTrasnformation 2018-01-19 13:07:55 +05:30
Robbie Averill f2186a5ce8 Merge pull request #100 from creative-commoners/pulls/2.0/ss4-updates
FIX Update module for latest SS4, vendorise
2017-10-18 14:38:58 +13:00
Robbie Averill e2aea4e0eb FIX Update module for latest SS4, vendorise
* Update Scrutinizer configuration
* Update Travis and code coverage build badges, update example code
2017-10-18 14:19:15 +13:00
Loz Calver 09db27ade8 Merge pull request #97 from icecaster/master
declaring allowed actions as private as per RequestHandler
2017-08-07 15:59:04 +01:00
tim 7fcf5333ae declaring allowed actions as private as per RequestHandler, fixes SS4beta2 compat issues 2017-08-07 18:54:55 +12:00
Daniel Hensby 663264ac83 Merge pull request #95 from robbieaverill/pulls/2.0/ss4-compat-fixes
FIX SS4 compatibility updates, PSR-4 in tests, table_name in stubs
2017-06-26 16:38:28 +01:00
Robbie Averill ee1d87ba50 FIX Include versioned in composer requirements 2017-06-22 17:36:24 +12:00
Robbie Averill 3b3db01efc FIX Remove PHP 5.5 from Travis build configuration, add 7.1 2017-06-22 17:21:24 +12:00
Robbie Averill cde9dc917a FIX SS4 compatibility updates, PSR-4 in tests, table_name in stubs 2017-06-22 17:15:17 +12:00
Daniel Hensby f741c0d2b0 Merge pull request #92 from oilee80/master
Remove `Requirements::javascript()` for Framework src JS
2017-03-10 09:49:03 +00:00