Commit Graph

197 Commits

Author SHA1 Message Date
hirenpatel
bf158022fa Added ReflectionClass dependency 2016-12-21 15:26:44 +13:00
hirenpatel
0ae237cfee Fixed namespacing + added PSR-4 info 2016-12-21 15:26:42 +13:00
hirenpatel
d5d43a7f6e Testing version workaround 2016-12-21 15:25:44 +13:00
Jayden Seric
5254b1865c Fixed name-spacing for SilverStripe v4 compatibility
Used [silverstripe-upgrader](https://github.com/silverstripe/silverstripe-upgrader) to fix name-spacing for SilverStripe v4. I then alphabetically sorted the use declarations for readability.

Fixes: https://github.com/silverstripe-australia/silverstripe-gridfieldextensions/issues/166.
2016-12-21 15:23:43 +13:00
Marcus Nyeholt
7674daf7f2 COMPOSER Updated readme and composer for v4 compat 2016-12-21 10:49:04 +11:00
Marcus
ba758e7cc9 Merge pull request #171 from digitall-it/master
Add italian translation
2016-11-17 13:38:47 +11:00
digitall-it
a27d60160d Add italian translation 2016-11-16 02:49:07 +01:00
Marcus
e8986f9817 Merge pull request #168 from SilbinaryWolf/fix-gridfieldadd
fix(GridFieldAddNewMultiClass): Fix bug where class doesn't exist.
2016-10-17 12:37:02 +11:00
Jake Bentvelzen
86f1778511 fix(GridFieldAddNewMultiClass): Fix bug where class doesn't exist. (ie. ClassInfo says the class exists, but PHP itself doesn't, since ClassInfo is based on parsed tokens) 2016-10-16 20:05:35 +11:00
Marcus Nyeholt
d72288125a FIX Swap DataList code to SS_List
And remove a reference to a DataList method to rely on the GridField method
instead
2016-10-12 17:24:20 +11:00
Marcus
50ffec51e4 Merge pull request #162 from fractaslabs/master
Feat: CMS Notice fired on successful GridField records reorder action
2016-08-26 09:38:23 +10:00
Milan Jelicanin
9703aaa5a7 Feat: CMS Notice fired on successful GridField records reorder action 2016-08-23 17:06:56 +02:00
Marcus
5b2b4760cf Merge pull request #161 from fractaslabs/master
Added extra protection in case onadd update has ui == undefined
2016-08-20 12:51:21 +10:00
Milan Jelicanin
0d13112e44 Added extra protection in case onadd update has ui == undefined
Fix for script errors while using GridFieldOrderableRows with module https://github.com/micschk/silverstripe-groupable-gridfield
2016-08-20 04:35:52 +02:00
Marcus
a4d15e4ca4 Merge pull request #160 from open-sausages/pulls/fix-sorting-unsaved
BUG Ensure that unsaved items can be sorted
2016-08-19 18:28:30 +10:00
Damian Mooyman
974c981721
BUG Ensure that unsaved items can be sorted
Fixes #159
2016-08-18 17:49:24 +12:00
Marcus
b93b32b3f9 Merge pull request #154 from dhensby/pulls/simple-reorder
Bug with reordering sortable grid when some sort IDs are duplicated
2016-08-04 17:19:43 +10:00
Daniel Hensby
1d2b20c87f
FIX Correct reorder of inconsistent sort values 2016-07-26 13:02:41 +01:00
Daniel Hensby
66c09cd60d
Proof of reorder bug 2016-07-21 16:47:44 +01:00
Daniel Hensby
423a0d006e
Updating travis builds 2016-07-21 13:21:08 +01:00
Daniel Hensby
52abae49ca
Test tidy up 2016-07-21 13:21:07 +01:00
Marcus
ef51d59b49 Merge pull request #153 from 3Dgoo/feature/sort-column-label
Sort column field label
2016-07-19 11:16:08 +10:00
Michael
d463ba25c1 Adding the ability to set the sort column title by setting $field_labels of a DataObject. 2016-07-18 08:49:37 +09:30
Marcus
1d4f24de36 Merge pull request #150 from SilbinaryWolf/fix-arraylistsort
fix(GridFieldOrderableRows/ArrayList): Fix ->sort on ArrayList
2016-06-22 12:01:29 +10:00
Jake Bentvelzen
cccc5241cd fix(GridFieldOrderableRows/ArrayList): Fix ->sort on ArrayList to not use quotes (to work around a bug in framework 3.1+) 2016-06-22 11:27:38 +10:00
Marcus Nyeholt
b04595c975 DOC Alias master to 1.4.x branch 2016-05-19 14:23:42 +10:00
Nathan
03d3bfb2c0 Updating the "travis" build reference. 2016-05-11 10:48:00 +10:00
Marcus
b09519980f Merge pull request #140 from SilbinaryWolf/feature-immediateupdateflag
feat(GridFieldOrderableRows): Re-order gridfield items without immediate reload
2016-04-20 13:34:47 +10:00
Marcus
ec455b8cf5 Merge pull request #144 from SilbinaryWolf/fix-doc-editablecallback
fix(Documentation): Updated to show third case of needing a custom title and a callback
2016-04-20 13:34:03 +10:00
Marcus
a911492a45 Merge pull request #143 from SilbinaryWolf/fix-lastedited
fix(GridFieldOrderableRows): Update LastEdited column on sort.
2016-04-20 13:33:07 +10:00
Jake Bentvelzen
3428a8b670 fix(Documentation): Updated to show third case of needing a custom title and a callback 2016-04-16 12:59:35 +10:00
Jake Bentvelzen
51b5e657d6 fix(GridFieldOrderableRows): Added additional SQL that updates the "LastEdited" column if working with a non-ManyManyList 2016-04-16 12:49:22 +10:00
Marcus
11ee7b0647 Merge pull request #141 from SilbinaryWolf/style-editableselect
style(EditableColumns/DropdownField): Styled the <select> tag to look like the other input fields.
2016-04-16 11:25:54 +10:00
Jake Bentvelzen
4d1e7742da fix(EditableColumns): Fixed <select> to have a #fff background-color 2016-04-16 11:15:55 +10:00
Marcus Nyeholt
3f2579a4f1 FIX HtmlEditorField in editable column
Rather than disable the field as per #128, use the full
FieldHolder method to bring the wrapping divs that appear to be necessary
in 3.2 and up. Still a couple of occassional issues, but much less flakey
2016-04-11 14:16:36 +10:00
Marcus
a75779084c Merge pull request #139 from SilbinaryWolf/feature-pastemultiple
feat(EditableColumns): Added the ability to paste a newline-seperated list of items into an inline TextField, which would automatically populate into multiple rows.
2016-04-11 12:57:13 +10:00
Jake Bentvelzen
8eb0e5f47d style(EditableColumns/DropdownField): Styled the <select> tag to look like the other input fields. 2016-04-10 19:45:57 +10:00
Jake Bentvelzen
1e3d51730f feat(GridFieldOrderableRows): Added the ability to change setting on GridFieldOrderableRows so that instead of updating the order immediately, it updates when you hit 'Save Draft' or 'Save and Publish'. 2016-04-10 18:48:21 +10:00
Jake Bentvelzen
4407dd4f1b feat(EditableColumns): Added the ability to paste a newline-seperated list of items into an inline TextField, which would automatically populate into multiple rows. 2016-04-10 02:32:28 +10:00
Marcus
84cf612582 Merge pull request #136 from jonom/fix-click-rows
FIX clickable editable rows
2016-03-31 13:36:57 +11:00
Jonathon Menz
126b1d543c FIX clickable editable rows
(fixes #135)
2016-03-30 13:53:39 -07:00
Marcus
223627fef9 Merge pull request #137 from SilbinaryWolf/fix-small-aesthetic-inline-btn
Added the margin-bottom: 12px; to inline button
2016-03-23 02:12:00 +11:00
Jake Bentvelzen
14be079320 Added the margin-bottom: 12px; that's usually applied the '.action' class. Unfortunately putting that class on the button breaks the inline functionality so I opted to just put identical styling into the extension itself. 2016-03-22 14:48:17 +11:00
Marcus
6adec31042 Merge pull request #133 from SilbinaryWolf/support-versioned-dataobjects
Added functionality so that GridFieldOrderableRows updates Versioned data objects as expected.
2016-03-09 15:12:10 +11:00
Jake Bentvelzen
04d3f368c2 Added functionality so that GridFieldOrderableRows updates *_versions table for Versioned data objects. 2016-03-08 15:42:57 +11:00
Marcus
7d1a48c5d7 Merge pull request #125 from SilbinaryWolf/support-hide-ancestor
Added support for 'hide_ancestor' config on GridFieldAddNewMultiClass
2016-02-02 11:28:09 +11:00
Marcus
8ea87d851d Merge pull request #126 from SilbinaryWolf/upgrade-gridfieldeditablecolumns
Updated GridFieldEditableColumns to have nicer defaults, so you can just add it in and it'll "just work" with your 'summary_fields' data.
2016-02-02 11:26:48 +11:00
Jake Bentvelzen
74343af4c6 Updated GridFieldEditableColumns to have nicer defaults, so you can just add it in and it'll "just work" with your 'summary_fields' data. 2016-01-25 15:10:35 +11:00
Jake Bentvelzen
dcae3c7d75 Added support for 'hide_ancestor' for GridFieldAddNewMultiClass so DataObjects can be hidden similar to how Pages can be hidden from the CMS. 2016-01-20 14:29:44 +11:00
Marcus
a40312e5ba Merge pull request #120 from spekulatius/adding-badges
Adding badges
2016-01-18 11:11:23 +11:00