372 Commits

Author SHA1 Message Date
1ce4a4c04d Merge pull request #157 from dokuwiki-translate/lang_update_779_1521933108
Translation update (ru)
2018-03-25 11:45:28 +02:00
cac75adf45 translation update 2018-03-25 00:15:31 +01:00
88a9c34926 Version upped 2018-01-22 2018-01-22 23:50:39 +01:00
3214b5d515 chore: version upped of testing framework/dependencies 2018-01-22 15:49:58 +01:00
141bca6ed1 Merge branch 'release/2018-01-04' 2018-01-04 2018-01-04 18:04:46 +01:00
6b91c481d6 Version upped 2018-01-04 18:03:27 +01:00
57ec53a8ed doc: add js-docs to appease eslint 2018-01-04 17:59:27 +01:00
b594735c7a fix: toolbar works again after adding row or column
Not sure why, but after inserting a new row or column a new textarea is
generated and used. We need to adjust for that.
2018-01-04 17:54:13 +01:00
6ecdab9899 fix: moving rows should work more correctly now
Handsontable always applies the "move" operation to the supplied data
array, hence we always denied the move operation for handsontable and
instead update it with a moved data array.

I'm not sure why the `target += 1` was introduced, but it caused wrong
behavior which was fixed by removing it.
2018-01-04 17:54:03 +01:00
72f9aa9c53 docs: Add missing jsdoc strings 2017-11-08 14:04:46 +01:00
ccb4a34de8 Merge tag '2017-11-08' into develop
Moving rows/cols doesn't break things anymore
2017-11-08 13:36:14 +01:00
c5a1a65d44 Merge branch 'release/2017-11-08' 2017-11-08 2017-11-08 13:35:39 +01:00
c9dcec5579 chore: Version upped 2017-11-08 13:35:24 +01:00
78094a60be Merge branch 'bugfix/movingBreaksThings' into develop 2017-11-08 13:34:41 +01:00
a9aeadc56e fix: context-menu out of sync after move
Moving a row, changes the object the `meta` variable points to. However
the context-menu got its own reference to the initial object when it
was initialized. Hence after a move, these two were out of sync. By
providing getters to the context menu, it should always have access to
the object the current meta variable is referencing.
2017-11-08 13:30:25 +01:00
b075fc9d0f fix: ensure this.data references same object as data
In the beginning handsontable_config.data is set to the object in the
data variable. However if that data variable is assigned a new object,
then these two are out of sync.

This results in errors, for example the deletion of a row would than no
longer remove that row from the data variable (only from
handsontable_config.data, which is a different object).

APL-60
2017-11-08 13:28:13 +01:00
b44b050ac1 Merge pull request #146 from LarsGit223/master
Replaced references to '$ACT' with '$event->data'.

For future reference see splitbrain/dokuwiki#2117 and splitbrain/dokuwiki#2115
2017-09-08 10:10:47 +02:00
52a8b35102 Replaced references to '$ACT' with '$event->data'. 2017-09-07 19:50:24 +02:00
30db86565f fix: correctly add rows to meta
This fixes a bug, that caused the meta data of the rows following an
inserted row to shift 1 row down.
2017-09-07 17:41:02 +02:00
60b32ad590 chore: Version upped 2017-09-07 2017-09-07 16:12:31 +02:00
bf2fb03f81 Merge pull request #144 from cosmocode/handsontableUpdate
Update of handsontable
2017-09-07 16:12:03 +02:00
b5dcf5e068 chore: Update README.handsontable with new branch 2017-09-07 15:54:27 +02:00
a5a80dcf81 feat: update hot to 0.34.1 and use our custom version
This is now using the hot-builder with our adjusted hot-version at
https://github.com/cosmocode/handsontable/commits/dokuwiki2017 with the
commit 8c7e09f37ab5bd9de6a4dff082026abd8a794ccf

It still [in/ex]cludes the following plugins:

  AutoColumnSize [included]
  AutoRowSize [included]
  Autofill [included]
  ColumnSorting [excluded]
  Comments [excluded]
  ContextMenu [included]
  CopyPaste [included]
  CustomBorders [excluded]
  DragToScroll [included]
  ManualColumnFreeze [included]
   └── Included dependency: ManualColumnMove
  ManualColumnMove [included]
  ManualColumnResize [included]
  ManualRowMove [included]
  ManualRowResize [included]
  MergeCells [included]
  MultipleSelectionHandles [included]
  ObserveChanges [excluded]
  PersistentState [excluded]
  Search [included]
  TouchScroll [excluded]
  UndoRedo [excluded]

At this opportunity we also raised the micro-version to 0.34.1
2017-09-07 15:44:21 +02:00
a203522644 refactor: move upstream's handsontable.less to lib
This file is practically the unchanged generated version and hence
better placed into the lib directory. Our changes and adjust will
continue to be made in the less directory.
2017-09-06 14:14:23 +02:00
ca633f2dea fix: don't double count when creating new rows
This becomes relevant when pasting content which is much larger than the
table.
2017-09-06 13:41:07 +02:00
45c1120798 Merge pull request #145 from cosmocode/eslint
added eslint
2017-09-05 13:51:04 +02:00
1f16c9cb14 chore: test eslint with travis ci 2017-09-05 13:45:51 +02:00
92083d79aa style: add valid jsdoc for parameters 2017-09-05 13:44:46 +02:00
ad47c8546b style: make global variables explicit 2017-09-05 11:35:41 +02:00
23291d09c4 style: eslint fixes
This is mostly indentation and double->single quotes. It includes
turning qunit env on for qunit test-files and disabling no-magic-numbers
for a test-file that is all about moving a row from position one to
position two and back again.
2017-09-04 20:21:47 +02:00
e45581aec7 chore: remove jshint in favor of eslint 2017-09-04 20:01:48 +02:00
81e70ab617 chore: be more specific in supported browserslist
We include explicitly the last two versions of the major browsers and
the 'above 1%'-rule to catch remaining important browsers. This removes
older versions of barely used browsers like Blackberry Browser 7
2017-09-04 19:55:36 +02:00
547b081799 chore: add more rules to eslint
These rules should catch both stylistic issues and possible errors.
2017-09-04 19:53:46 +02:00
6cd569c2cb chore: better use .js eslint config for comments 2017-09-04 19:51:07 +02:00
6657fb97c2 added eslint
we have to decide if that's better than jshint or if we need both.
2017-08-28 16:38:44 +02:00
0bb41a8ac6 update deleted.files
some files have been renamed/moved to different places
2017-08-28 15:41:10 +02:00
e07451101e fix: we do not provide a css map 2017-08-15 19:12:12 +02:00
72a7d08b9c fix: keep the linkwizard in foreground
Some of the column/row-headers have z-indizes up to 103. The linkwizard
should be above those elements. Since it is appended to the end of the
page, it is enough if the z-index is equal to the previous one.
2017-08-15 17:41:15 +02:00
00a0cef2f0 fix: make user unable to delete all rows/cols
This should fix #109
2017-08-15 12:47:54 +02:00
c849da1805 fix: make link-wizard and toolbar usable again
This reimplements the change from
6855000355

The goal is to keep the edit-session of a cell open while using the
toolbar.
2017-08-10 18:44:33 +02:00
258b57eec6 fix: moves are disabled with a different mechanism 2017-08-10 17:10:50 +02:00
44ed7a88cb refactor: remove unneeded code
One can no longer select individual rows/cols that are part of a merge.
Thus one cannot delete rows/cols that are part of a merge but only all
rows connected to the merge.
2017-08-10 17:00:43 +02:00
02a580b596 feat(contextmenu): add classes to show icons 2017-08-10 16:10:52 +02:00
a9099946e5 style: fix whitespace in css 2017-08-10 16:08:10 +02:00
86f10097e1 fix(contextmenu): adjust spacing around icons 2017-08-10 16:06:49 +02:00
1d94014e1a feat: Extend table when pasting larger data
Please note that it is important to use `undefined` as the second
argument in the alter() function instead of `null`. See
handsontable/handsontable#4458 for the bug tracking ticket at upstream
2017-08-10 15:17:45 +02:00
7892d12ace fix: remove unneeded code
What was the purpose of this in the first place?
2017-08-10 15:04:26 +02:00
659cf7180a feat: extend table to the right with fill action 2017-08-09 19:28:13 +02:00
747e3c9cd5 feat(editor): implement moving merged cells
Now we recalculate the merged Cells from the meta array after every move
and update the settings with these new values, even if potentially
nothing changed.

While this may cause an (insignificant) performance hit, it is much
simpler code than any alternative of figuring out if merges were affected
and how they changed by a move.
2017-08-04 17:21:45 +02:00
48284a4c9a Prevent moving rows/cols into merges
It is an undocumented feature of the beforeColMove Callback, that
returning false prevents the move.

ToDo
----
* Maybe we want to show a message informing the user that moving
cols/rows into merges is not allowed
2017-08-04 15:56:18 +02:00