Commit Graph

2194 Commits

Author SHA1 Message Date
Maciej Barelkowski 71416249d5 WIP 2021-10-15 16:59:34 +02:00
Maciej Barelkowski 973ac6e35a Merge branch 'master' into develop 2021-10-15 14:39:21 +02:00
Maciej Barelkowski 7f47ff7d48 8.8.1 2021-10-15 14:12:17 +02:00
Maciej Barelkowski 22c97edaa9 chore(CHANGELOG): update to v8.8.1 2021-10-15 14:04:46 +02:00
github-actions 6f421a4063 Merge master to develop 2021-10-15 11:07:21 +00:00
Maciej Barelkowski 1253326768 fix(copy-paste): do not create new id if unnecessary
Related to https://github.com/camunda/camunda-modeler/issues/1410
2021-10-15 13:07:00 +02:00
github-actions 6f88c01956 Merge master to develop 2021-10-15 08:38:22 +00:00
Nico Rehwaldt b4bd6557b1 chore: unbuild circular dependency
Inline `ResizeUtil` into behavior to prevent circular depdendency.

It is not being used outside the behavior anyway and uses behavior
internals (lane dimensions).
2021-10-15 10:38:06 +02:00
github-actions e5c8e5ac81 Merge master to develop 2021-10-15 08:37:58 +00:00
Nico Rehwaldt df60006c74 chore: do not swallow test-distro output 2021-10-15 10:37:42 +02:00
Nico Rehwaldt 3dfc1dd07e chore: do not swallow distro bundle output 2021-10-15 10:37:42 +02:00
Maciej Barelkowski 56e2ee6142 fix: regenerate package-lock.json entry for diagram-js 2021-10-15 09:08:23 +02:00
github-actions 43d18e514c Merge master to develop 2021-10-13 18:27:39 +00:00
Nico Rehwaldt 1fe352e1fe 8.8.0 2021-10-13 20:26:14 +02:00
Nico Rehwaldt 1bbe6fbcdc Merge branch 'master' into develop 2021-10-13 20:13:18 +02:00
Nico Rehwaldt fec4bfb30e ci: execute stage scripts without `bash`
Not needed with proper (fixed) shebang statements.
2021-10-13 20:10:58 +02:00
Nico Rehwaldt fd40070f51 ci: run scripts with strict error handling 2021-10-13 20:10:58 +02:00
Nico Rehwaldt 6b5ca77362 ci: add SKIP_COMMIT logic to update-demo script
Make it testable locally.
2021-10-13 20:10:58 +02:00
Nico Rehwaldt b879989bf2 ci: use BPMN_IO_TOKEN for authentication 2021-10-13 20:10:58 +02:00
Nico Rehwaldt 72c0eff1b1 ci: extract + fix await-published logic 2021-10-13 20:10:58 +02:00
Nico Rehwaldt c51f91b342 chore(CHANGELOG): update to v8.8.0 2021-10-13 20:09:48 +02:00
Nico Rehwaldt c706698230 deps: update to diagram-js@7.5.0
Closes https://github.com/bpmn-io/bpmn-js/issues/1493
2021-10-13 20:06:35 +02:00
Martin Stamm 832faf178c chore(test): add data-association test case 2021-10-08 10:16:03 +02:00
Martin Stamm 29a6636ac7 feat(import): support importing multiple diagrams at once
closes #1474
2021-10-08 10:16:03 +02:00
Martin Stamm f3d4b4b976 deps: update diagram-js to v7.4.1 2021-10-08 10:16:03 +02:00
github-actions b84f968c16 Merge master to develop 2021-10-05 07:27:53 +00:00
Maciej Barelkowski c63d0984f4 fix(path-map): disallow nested tokens 2021-10-05 09:27:34 +02:00
Nico Rehwaldt 922daee76f chore: update configuration link 2021-09-17 11:55:50 +02:00
Nico Rehwaldt d9a365ee23 ci: execute stage scripts without `bash`
Not needed with proper (fixed) shebang statements.
2021-09-16 13:12:36 +02:00
Nico Rehwaldt b6e864ba5a ci: run scripts with strict error handling 2021-09-16 13:12:36 +02:00
Nico Rehwaldt 7c8e6a3bc2 ci: add SKIP_COMMIT logic to update-demo script
Make it testable locally.
2021-09-16 13:12:36 +02:00
Nico Rehwaldt 05266d997b ci: use BPMN_IO_TOKEN for authentication 2021-09-16 13:12:36 +02:00
Nico Rehwaldt 723fe1e4ac ci: extract + fix await-published logic 2021-09-16 13:12:36 +02:00
Nico Rehwaldt fea7eebb15 chore(CHANGELOG): update 2021-09-03 15:14:00 +02:00
Nico Rehwaldt bb9dc16cac chore(modeling): consistently create DI with attrs
This fixes the existing DI creation methods in `BpmnFactory` and
simplifies the related `ElementFactory` code that relied on it.

In the past args got ignored and passing attrs to the created DI
was not possible, now it is.

BREAKING CHANGE:

With this change the following `BpmnFactory` API methods got reworked to
take (businessObject, attrs) as an input:

  * `BpmnFactory#createDiEdge`
  * `BpmnFactory#createDiShape`
  * `BpmnFactory#createDiPlane`
2021-09-03 15:14:00 +02:00
Martin Stamm c4206a4d31 fix(replace): create new di on replace 2021-09-03 15:14:00 +02:00
Nico Rehwaldt 7243aa4acc chore: consistently use new `getDi` utility 2021-09-03 15:14:00 +02:00
Nico Rehwaldt f6d84696a9 test: verify label wiring
* import
* label updating (creation)
* label paste
2021-09-03 15:14:00 +02:00
Nico Rehwaldt f458c6833f test: increase timeout
Complex copy and paste test may otherwise timeout on GitHub actions.
2021-09-03 15:14:00 +02:00
Martin Stamm 5d30d576dc test: ensure that connectionDi exists 2021-09-03 15:14:00 +02:00
Martin Stamm 597c417dce chore: throw error when accessing DI from business object
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
Martin Stamm 0c40cbe9f3 chore(CHANGELOG): document breaking changes 2021-09-03 15:14:00 +02:00
Martin Stamm 5589439774 feat: make elementFactory._getDefaultSize public
This has the benefit of using the public API method across our 
code base.
2021-09-03 15:14:00 +02:00
Martin Stamm ca8488b2c9 test: adjust to use `getDi` utility function
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
Martin Stamm 769bcbeeff chore: adjust features to new DI structure
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
Martin Stamm 2b11d871cd feat: decouple DI from businessObject
In the diagram `di` is now accessed via the diagram element, not the
business object. This has the benefit that elements in multiple diagrams
can easily be represented.

Related to https://github.com/bpmn-io/bpmn-js/issues/1472

BREAKING CHANGE:

* Instead of referencing the `di` from the business object, reference it
  from the diagram element representing it.
2021-09-03 15:14:00 +02:00
Martin Stamm d19c4b0027 fix(import): pass context during collaboration import 2021-08-30 09:41:34 +00:00
Nico Rehwaldt 03352e8665 8.7.3 2021-08-27 16:44:30 +02:00
Nico Rehwaldt 82a34922d1 chore(CHANGELOG): update to v8.7.3 2021-08-27 16:39:11 +02:00
Joel Knott 8d90d4dc63 chore: use ES6 exports
Modified the file to use 'export default' instead of 'module.exports'
so that I don't get errors stating that there is no default export.
2021-08-25 08:41:34 +02:00