Commit Graph

312 Commits

Author SHA1 Message Date
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
Daniel Hensby
e36a97bef5 Merge pull request #61 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2015-11-19 17:36:45 +00:00
Daniel Hensby
186aa2d305 Merge pull request #65 from helpfulrobot/add-standard-git-attributes
Added standard git attributes
2015-11-19 10:41:46 +00:00
helpfulrobot
5b707b6d65 Added standard git attributes 2015-11-19 19:13:48 +13:00
helpfulrobot
d4c17df674 Added standard Travis config 2015-11-19 14:20:52 +13:00
helpfulrobot
abe2767af9 Added standard editor config 2015-11-19 13:26:56 +13:00
helpfulrobot
48a07375a0 Converted to PSR-2 2015-11-18 17:05:38 +13:00
Christopher Pitt
d70a61ae98 Merge pull request #59 from helpfulrobot/add-standard-scrutinizer-config
Added standard Scrutinizer config
2015-11-18 15:57:09 +13:00
helpfulrobot
e95efc90d0 Added standard Scrutinizer config 2015-11-18 15:32:40 +13:00
Christopher Pitt
b5cf2a8d27 Update changelog.md 2015-11-04 14:30:26 +13:00
Christopher Pitt
d46e325aa7 Merge pull request #58 from tractorcow/pulls/fix-dupe-records
BUG Fix duplicate tag creation
2015-11-04 14:25:35 +13:00
Damian Mooyman
2077c9df20 BUG Fix duplicate tag creation
BUG Fix isMultiple not being initialised
BUG Fix tag rendering as a 100px wide container
2015-11-04 14:19:25 +13:00