Commit Graph

123 Commits

Author SHA1 Message Date
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
Lee Bradley
ad28757338 Remove Requirements::javascript() for Framework src JS
As jQuery is bundled in the frameworks vendor.js having
  these calls causes a duplicate of the jQuery library

This also means plugins link with the wrong library etc.
  Noticed with `jQuery.dialog()` from a Page edit screen
  going to an associated DataObject edit screen
2017-02-24 11:08:52 +00:00
Daniel Hensby
57bf2c15ce Merge pull request #91 from open-sausages/pulls/4.0/compat
BUG Fix issue with initial save
2017-01-26 09:07:54 +00:00
Damian Mooyman
2129f9f997
BUG Fix issue with initial save 2017-01-26 18:10:14 +13:00
Robbie Averill
518189e2ef SilverStripe 4 compatibility (#87)
* Update composer constraint and branch alias to support SS4 testing

* Add namespaces, update DataList quirk with getSourceList

* Add PSR-4 autoloader definition

* Move template to correct namespace location, update requirement paths

* FIX Visibility on allowed actions

* FIX Update chosen class names to match updates in framework

* Update Travis configuration for 4.x builds. Update docs for namespaced classes.

* Use "4" for the release instead of master.

* FIX Selected tag height. Move Readonly to own class.
2017-01-13 19:11:59 +00:00
Daniel Hensby
4ce0560d6e
Updating composer alias 2016-12-20 15:26:40 +00:00
Damian Mooyman
5f3f458398 BUG Resolve issue with numeric tags being saved
Removed is_numeric check in SaveInto function
2016-11-24 13:26:46 +13:00
Myles Derham
a75eab8801 Update TagFieldTest.php 2016-11-24 12:18:35 +13:00
Daniel Hensby
00c950eecf Merge pull request #83 from sanderha/fix-missing-can-create-methods-stringtagfield
added missing cancreate methods and property to StringTagField.
2016-08-22 10:56:00 +01:00
Sander Hagenaars
f6a56982c0 added missing cancreate methods and property to StringTagField. 2016-08-21 12:34:19 +02:00
Christopher Pitt
35773d4a56 Merge pull request #81 from robbieaverill/feature/apply-can-create-to-select2
Apply canCreate permissions to Select2 for tags
2016-08-08 14:31:09 +12:00
Robbie Averill
e3c42727e4 Apply canCreate permissions to Select2 for tags
* Resolves #80
2016-07-22 08:52:17 +12:00
Damian Mooyman
d3563cebbc Update changelog for 1.3.0 2016-05-19 11:53:13 +12:00
Damian Mooyman
d80d0a83c2 Merge pull request #75 from praxisnetau/readonly-modifications
API Addition of a readonly TagField for archived pages
2016-02-26 14:47:15 +13:00
Colin Tucker
d8b8c875bb Formatting fix 2016-02-25 13:18:56 +11:00
Colin Tucker
d3e636e647 Filters selected options and renders as readonly 2016-02-25 13:06:21 +11:00
Colin Tucker
47392c5dde Initial readonly field modifications 2016-02-25 12:32:29 +11:00
Myles Beardsmore
59078749bb Updated tests to work with new logic (numeric tags). 2016-02-11 08:44:20 +13:00
Damian Mooyman
ddb56be86f Alias master as 1.2.x-dev 2016-02-04 17:43:50 +13:00
Damian Mooyman
df34386bb1 Add changelog for 1.2.2 release 2016-02-04 17:42:28 +13:00
Myles Beardsmore
65f6d7531b converted tabs to spaces as per psr-2 2016-02-04 16:07:15 +13:00
Myles Beardsmore
76c10d8df2 Updated TagField to work with numeric tags 2016-02-04 12:08:34 +13:00
Myles Beardsmore
d7ca8caa83 Removed is_numeric check in SaveInto function 2016-01-27 15:49:36 +13:00
Daniel Hensby
f0b48d12c4 Merge pull request #68 from micschk/patch-1
Bugfix: show source tags if not lazyloading
2016-01-06 01:25:27 +03:00
Ingo Schommer
dbdbdd7cc2 Merge pull request #70 from dhensby/pulls/fix-hard-coded-tests
FIX Tests with hard coded IDs
2016-01-06 11:19:35 +13:00
Daniel Hensby
844b2ca7eb FIX Tests with hard coded IDs 2016-01-05 08:59:37 +00:00
Damian Mooyman
5f01c99307 Merge pull request #69 from helpfulrobot/update-license-year
Updated license year
2016-01-05 09:50:04 +13:00
helpfulrobot
6ae56d7483 Updated license year 2016-01-01 06:38:06 +13:00
Michael van Schaik
8412bad2fa Bugfix: show source tags if not lazyloading
Fixes #25: no source tags would be shown if not lazy loading (on new records/records without any pre-selected tags)
2015-12-30 14:08:18 +01:00
Damian Mooyman
05a1990f20 Merge pull request #67 from 3Dgoo/bugfix/string-tag-field-null-passed
Fixing setValue null value bug
2015-12-14 11:47:54 +13:00
3Dgoo
be0565c660 Fixing setValue null value bug
On occasions when a form is submitted `StringTagField` throws an error saying `ERROR [Warning]: array_filter() expects parameter 1 to be array, null given` at the end of the `setValue` function. 

I have added some code that checks if `$value` is `null`. If it is `null` it sets `$value` to an empty array to prevent the error from occurring.
2015-11-23 12:27:59 +10:30
Daniel Hensby
96c48ab136 Merge pull request #66 from helpfulrobot/add-standard-code-of-conduct
Added standard code of conduct
2015-11-21 10:27:39 +00:00
Daniel Hensby
6c31f5fe51 Merge pull request #64 from helpfulrobot/add-license-to-composer
Added license to composer.json
2015-11-21 10:27:26 +00:00
helpfulrobot
425f64bca9 Added standard code of conduct 2015-11-21 20:17:21 +13:00
helpfulrobot
1a95c57008 Added license to composer.json 2015-11-20 11:10:01 +13:00
Daniel Hensby
0ddb3ba79c Merge pull request #63 from helpfulrobot/add-standard-license
Added standard license
2015-11-19 21:39:33 +00:00
helpfulrobot
7421f02f7d Added standard license 2015-11-20 10:27:31 +13:00
Daniel Hensby
10b84002b3 Merge pull request #60 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-11-19 17:37:10 +00:00
Daniel Hensby
7ece1f4a43 Merge pull request #62 from helpfulrobot/add-standard-editor-config
Added standard editor config
2015-11-19 17:36:51 +00:00