Commit Graph

1340 Commits

Author SHA1 Message Date
Niklas Kiefer ea681df2d3 fix(bpmn-rules): adjust canAttach rule for boundary events after event based gateways 2018-10-16 10:53:57 +00:00
Maciej Barelkowski ba42e9edde feat(global-connect): use rules for connection starting
* remove `BpmnGlobalConnect` provider
* use `connection.start` rule to determine whether
  an element can start a connection

Closes #565
Closes #870

BREAKING CHANGE:

* `BpmnGlobalConnect` got removed. Add `connection.start`
  rule to specify whether connection should be allowed.
2018-10-11 09:28:30 +00:00
Nico Rehwaldt 026fe11ea7 chore(project): bump min-dash dependency
* fixes broken isDefined / isUndefined utils
2018-10-09 13:37:38 +00:00
Nico Rehwaldt 08ec264c81 chore(project): don't lint coverage folder
Ensure the linter does not pick up our coverage reports,
generated via COVERAGE=1 npm test
2018-10-04 16:37:28 +02:00
Nico Rehwaldt f99a0a9609 chore(project): add test coverage
* monitor coverage via codecov
* run coverage locally via COVERAGE=1 npm test
2018-10-04 07:37:01 +00:00
Niklas Kiefer 350a5ab75e feat(contextPad): Adjustments for IntermediateCatchEvents
adjust tooltip titles
i18n support
2018-10-02 09:09:19 +02:00
Niklas Kiefer 6b0a73145d feat(contextPad): improve tooltip titles for IntermediateCatchEvents 2018-10-01 12:38:19 +00:00
Nico Rehwaldt 4de42680ba chore(CONTRIBUTING): link conventional commits 2018-09-27 14:34:48 +02:00
Nico Rehwaldt a193bd0f43 chore(project): update BUG_REPORT fiddle links 2018-09-27 14:26:21 +02:00
Nico Rehwaldt 4c69f3db5e chore(CONTRIBUTING): drop issue and bug related hints
The hints are part of our BUG / FEATURE REQUEST templates now.
2018-09-27 13:57:19 +02:00
Nico Rehwaldt ba0c966f95 chore(project): split up ISSUE_TEMPLATE
* add bug template
* add feature request template
* update pull request template
2018-09-27 13:57:19 +02:00
Nico Rehwaldt 20b48815df chore(project): simplify pull request template 2018-09-27 12:25:06 +02:00
Nico Rehwaldt 2cddc9fbd0 chore(project): reformat issue template 2018-09-27 12:25:06 +02:00
Nico Rehwaldt 0346a2a4fa 2.5.2 2018-09-20 23:14:42 +02:00
Nico Rehwaldt f3f004dcfc chore(CHANGELOG): bump to v2.5.2 2018-09-20 23:10:01 +02:00
Nico Rehwaldt 21b5a07257 chore(project): bump bpmn-js version 2018-09-20 23:08:55 +02:00
Nico Rehwaldt e54a3a7692 test(draw): visually verify label rendering 2018-09-20 22:18:10 +02:00
Nico Rehwaldt 90faab981d fix(draw): correct embedded label padding 2018-09-20 21:57:23 +02:00
ruvor 31177b94e7 style(Viewer): fix a typo in the imported name 2018-09-03 09:24:10 +02:00
Nico Rehwaldt 63ded60497 2.5.1 2018-08-29 00:44:38 +02:00
Nico Rehwaldt cf6ab99eb2 chore(CHANGELOG): update to v2.5.1 2018-08-29 00:40:30 +02:00
Nico Rehwaldt 374c7d7f18 fix(rules): correct bpmn:Lane insert rule
Closes #855
2018-08-29 00:38:03 +02:00
Nico Rehwaldt acff17fbd7 2.5.0 2018-08-22 14:53:44 +02:00
Nico Rehwaldt 0193f69e52 chore(CHANGELOG): bump to v2.5.0 2018-08-22 14:48:31 +02:00
Nico Rehwaldt c2196967fc chore(project): bump diagram-js version
* Fixes sub-pixel coordinates being exposed by Dragging.
2018-08-22 14:48:20 +02:00
Nico Rehwaldt 6689af6f5b feat(snapping): snap message flows to bpmn:Event mid
This snaps source / target to the element mid, if
the element is a `bpmn:Event`.

There is usually no more than one snap point for
an event other than the center.

Closes #850
2018-08-22 14:43:16 +02:00
Nico Rehwaldt cdacc69a3d chore(modeling/BpmnLayouter): simplify manhattan layout logic 2018-08-22 14:43:16 +02:00
Nico Rehwaldt 905ee6f667 fix(rules): allow labels to be dropped everywhere
Closes #849
2018-08-22 14:41:59 +02:00
Nico Rehwaldt 8a6ab27b04 test(rules/Helper): accept actual elements 2018-08-22 14:41:59 +02:00
Nico Rehwaldt 96c3f0f3a7 chore(project): move CONTRIBUTING to .github folder 2018-07-25 11:40:04 +02:00
Nico Rehwaldt 4af6fb721c 2.4.1 2018-07-25 11:38:11 +02:00
Nico Rehwaldt 5cf5c5a7ac chore(CHANGELOG): bump to v2.4.1 2018-07-25 11:36:28 +02:00
Nico Rehwaldt fb95eae732 chore(CHANGELOG): update 2018-07-25 11:10:51 +02:00
Nico Rehwaldt 898a0fa9c8 fix(modeling/DropOnFlowBehavior): filter redundant connections
This prevents duplicate flows from being created, accidentially.

Closes #774
2018-07-25 11:10:51 +02:00
Nico Rehwaldt 249ea6a3ea fix(modeling): disallow inserting on incoming/outgoing connection
Closes #836
2018-07-25 11:10:51 +02:00
Nico Rehwaldt 6d9b04a5f1 chore(project): use karma-webpack for testing
* no need to transform test via browserify
* works 🍰
2018-07-16 13:00:55 +02:00
Nico Rehwaldt 311e5d7bc7 chore(tests): convert BpmnTreeWalker test to ES5 2018-07-16 13:00:55 +02:00
Nico Rehwaldt 46e7aea642 chore(CHANGELOG): update 2018-07-16 12:54:27 +02:00
Nico Rehwaldt 853885b37f chore(project): bump to diagram-js@2.5.1
Closes #833
2018-07-16 12:53:53 +02:00
Nico Rehwaldt 6df9008807 2.4.0 2018-07-13 10:37:18 +02:00
Nico Rehwaldt ceb88491b1 chore(CHANGELOG): update to v2.4.0 2018-07-13 10:32:09 +02:00
Philipp Fromme e637a8e57b feat(modeling/BpmnLayouter): layout Element -> Element loops
Closes #824
2018-07-13 10:29:00 +02:00
Philipp Fromme 220c0a73f3 feat(modeling/BpmnLayouter): handle boundary events
This adds proper connection layouting for sequence
flows leaving from boundary events.

If needed, such connections will be layoute with
an U-turn.

Closes #467
2018-07-13 10:16:11 +02:00
Nico Rehwaldt b3c05b6949 chore(CHANGELOG): update 2018-07-12 20:07:06 +02:00
Nico Rehwaldt 51a08116e6 chore(project): bump to diagram-js@2.5.0 2018-07-12 20:02:28 +02:00
Philipp Fromme 6d394e95da chore(project): use diagram-js@2.4.1 2018-07-12 09:25:37 +02:00
Nico Rehwaldt 4806938600 feat(modeling): create label at appropriate position
This re-introduces adaptive label positioning
on label creation as a feature.

It worked before but broke during the introduction
of optional labels.

Closes #825
2018-07-11 13:26:43 +02:00
Nico Rehwaldt 15596ef97c test(modeling): verify correct label adjustment 2018-07-11 13:10:18 +02:00
Nico Rehwaldt abbe54912f test(modeling): correct test cases
Ensure the test cases are not affected by accidential
automatic label adjumstment (TM).
2018-07-11 13:09:40 +02:00
Philipp Fromme 82a37e7253 chore(test): clean up test setup 2018-07-09 12:30:45 +02:00