Commit Graph

215 Commits

Author SHA1 Message Date
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
Robbie Averill
b4f0a0476e
DOCS Fix Scrutinizer badge URL 2018-11-15 20:37:14 +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
4da004f3e2
Merge pull request #117 from littlegiant/fix-lazy-tags
Fix lazy tags
2018-09-17 23:25:59 +02:00
Damian Mooyman
77bad9b943
Use getShouldLazyLoad() accesser 2018-09-18 09:12:44 +12:00
Damian Mooyman
ce8ba85182
Revert default argument change 2018-09-17 18:24:03 +12:00
Damian Mooyman
690f0cc793
BUG Fix for $source left null
BUG Fix missing imports
Semver compatible setSource()
2018-09-17 18:18:40 +12:00
Simon Gow
024e648e5a Added getSource() function to populate source inline with the api.
Source isn't populated to the parent because it's transformed directly
to an array. Instead we're lazy loading the source when it's requested.
2018-09-13 11:18:55 +12:00
Simon Gow
fa754f3fd3
TagField lazy load shouldnt render Options
TagField should only render options if the lazy load value isn't set. Options from here come from subsequent POSTs, and rendering the options for every request significantly slows down both the form generation and render.
2018-09-07 17:28:05 +12:00
Simon Gow
3797049a31
Resolve Performance issues with TagField
TagField hydrates the entire result set because a parent class calls `toArray()` on the $source. 
This fix changes the source to an empty array, so no such manipulation can be made.
2018-09-06 18:16:06 +12:00
Robbie Averill
eb2c41b865 Merge branch '2.2' 2018-08-18 10:20:06 +12: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
42fcd36ca8 Merge branch '2.2' 2018-07-26 16:34:52 +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