Commit Graph

2144 Commits

Author SHA1 Message Date
Nico Rehwaldt f5e0c00cb7 chore: improve cross OS CI pipeline
* Upload coverage from a single source only
* Run all browser tests on Linux only
2021-01-28 10:44:01 +00:00
Nico Rehwaldt c4bb57799b chore: drop Travis coverage reporting
Now reported via GitHub CI action
2021-01-28 10:44:01 +00:00
Nico Rehwaldt ac6b8a6197 chore: create basic GitHub action CI 2021-01-28 10:44:01 +00:00
Philipp Fromme 67381bd8e0 Merge branch 'master' into develop 2021-01-28 11:15:57 +01:00
Nico Rehwaldt 6c02ecde34 fix(modeling): if we fix hover, we gotta fix out, too
This ensures our FixHoverBehavior (that ensures we drop onto /
connect to participants, not lanes) does fix the hover element
during *.out, too.

Otherwise there is no way for other behaviors to correctly
remove hover indicators.

Closes https://github.com/bpmn-io/bpmn-js/issues/1413
2021-01-28 11:11:27 +01:00
Nico Rehwaldt c96d61249f deps: bump eslint-plugin-bpmn-io 2021-01-28 11:11:20 +01:00
dependabot[bot] 80350017bc chore: bump socket.io from 2.3.0 to 2.4.1
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 10:16:33 +01:00
Nico Rehwaldt c44ba74b73 8.1.0 2021-01-15 13:08:06 +01:00
Nico Rehwaldt 52ec6a0d5d chore(CHANGELOG): update to v8.1.0 2021-01-15 13:04:09 +01:00
Nico Rehwaldt c87167c8c6 test: do not double add test-container class
This prevents the .test-container selector to appear twice in our test
markup:

```html
<div class="test-container passed" id="camunda-properties simple should
open stuff">
  <div class="title-row">
    <a href="#camunda-properties%20simple%20should%20open%20stuff">
<h3 class="test-titel">camunda-properties simple should open
stuff</h3>
    </a>
    <div class="test-result" style="float: right;">passed</div>
  </div>
  <div class="test-content-container test-container">
    <!-- test content -->
  </div>
</div>
```

With this commit we only add the .test-content-container marker in cases
where `mocha-test-container-support` is not present upon running
`bootstrapBpmnJS`.
2021-01-15 09:28:03 +00:00
Nico Rehwaldt 6563e49261 8.0.1 2021-01-08 16:15:17 +01:00
Nico Rehwaldt d39762206b chore(CHANGELOG): update to v8.0.1 2021-01-08 16:10:57 +01:00
Niklas Kiefer 9b0f82dd47 fix(palette): activate globalConnect tool instead of toggling
This prevents unwanted move events when triggered from the palette action.

Closes #1402
2021-01-07 13:58:54 +00:00
Nico Rehwaldt 00294e2994 test: increase spec timeout 2021-01-06 12:57:36 +00:00
Nico Rehwaldt af30817edb chore: make ChromeHeadless the default test browser during development 2021-01-06 12:57:36 +00:00
Nico Rehwaldt c2de0b26e1 chore: add ChromeHeadless to CI 2021-01-06 12:57:36 +00:00
Nico Rehwaldt 8e863dad3d Merge branch 'master' into develop 2021-01-06 11:48:44 +01:00
Maximilian Trumpf 2e9f617911 fix(replace-menu): only allow cancel boundary events on transactions
related to camunda/camunda-modeler#2026
2021-01-05 07:27:08 +00:00
Nico Rehwaldt 88d0f92975 docs(CONTRIBUTING): correct + grammar ⬆️
* rephrase *ing to present tense
* add a missing section
* other minor style fixes
2020-12-21 22:43:43 +01:00
Nico Rehwaldt 0d2e36c304 docs: move single run to CONTRIBUTING guide
Also featured directly on the front-page (README).
2020-12-21 22:43:43 +01:00
Nico Rehwaldt 589b0e2bf9 docs(README): rewrite building section
Now focussing on <build and run>.
2020-12-21 22:43:43 +01:00
Nico Rehwaldt 44301d1830 chore: add <npm start> script
This script is the one stop utility that allows users to open a modeler
or viewer instance, directly within your browser.

Works via a custom launcher that openes the {KARMA_BASE}/debug.html
page in your default web browser.

Closes https://github.com/bpmn-io/bpmn-js/issues/1396
2020-12-21 22:43:43 +01:00
Nico Rehwaldt 3426e93b6a chore: update translations 2020-12-21 22:43:43 +01:00
Nico Rehwaldt 5051420323 test(i18n): correctly disable during translation collection 2020-12-21 22:43:43 +01:00
Nico Rehwaldt fa0d4957f3 chore: simplify translation collection
Use same global variable <COLLECT_TRANSLATIONS> in node and
within the specs.
2020-12-21 22:43:43 +01:00
Nico Rehwaldt a276b8f9ad chore(release): simplify auto-generated commits 2020-12-18 00:27:33 +01:00
Nico Rehwaldt 12999fbe3b deps: bump diagram-js-direct-editing dependency 2020-12-17 22:09:31 +01:00
Nico Rehwaldt c5c8a5f9a6 8.0.0 2020-12-17 20:27:02 +01:00
Nico Rehwaldt 042547df5a deps: bump to diagram-js@7.0.0 2020-12-17 20:22:24 +01:00
Nico Rehwaldt 0f005f7408 8.0.0-beta.0 2020-12-17 18:57:32 +01:00
Nico Rehwaldt 595b384717 chore(CHANGELOG): update to v8.0.0 2020-12-17 15:46:55 +00:00
Nico Rehwaldt 2cb18c92cc deps: bump to diagram-js@7
Closes https://github.com/bpmn-io/bpmn-js/issues/1383
2020-12-17 15:46:55 +00:00
Alexis Zeghers 6e5f19d97e chore(SETUP): add step to run modeler in browser 2020-12-17 13:47:23 +01:00
Nico Rehwaldt ffb8ac3ea2 test: mock canvas event with a button
There do not exist mouse events without one. :o)
2020-12-16 16:39:23 +01:00
Nico Rehwaldt 99137929c9 docs(README): use ES6 consistently in code snippets 2020-12-15 23:25:43 +01:00
Alexis Zeghers 5eff166135 feat(replace): add multiplicity marker to replace menu for participants
Closes #533
2020-12-11 06:59:20 +00:00
Nico Rehwaldt 0c227dc80a deps: patch bump dependencies
npm audit fix
2020-12-10 13:18:47 +01:00
Nico Rehwaldt 13ac49f380 deps: pin to puppeteer@1
Otherwise we'll not be able to test with ChromeHeadless.

Ref: https://github.com/karma-runner/karma-chrome-launcher/issues/170
2020-12-10 13:14:32 +01:00
Maciej Barelkowski f5566dbd27
chore: use dependabot for security updates only 2020-12-09 11:26:06 +01:00
Maciej Barelkowski 06a5ea76a9
chore: remove dependabot config
Removed in favor of security updates only.
2020-12-09 11:17:36 +01:00
Maciej Barelkowski 23566170f3
chore: remove allow field in dependabot config 2020-12-09 10:56:58 +01:00
Maciej Barelkowski 7479b6d1fd
chore: update dependabot time 2020-12-09 10:55:39 +01:00
Maciej Barelkowski 246aad0d64
chore: add dependabot config 2020-12-09 10:52:05 +01:00
Niklas Kiefer 8faee2bde9 feat(replace-menu): update label of collapsed pool
* Indicate the action in a clearer, more standard-compliant way --> replaces an expanded pool with an empty "black box" + removing its content.
* We will not update the action identifier (`replace-with-collapsed-pool`) to avoid breaking changes.
* Make it possible to retrieve label via function

Related to camunda/camunda-modeler#2022
2020-12-07 10:33:27 +00:00
Niklas Kiefer 75b48a37b5 7.5.0 2020-12-03 14:21:18 +01:00
Alexis Zeghers ded34696e9 chore(CHANGELOG): update to v7.5.0 2020-12-03 14:13:19 +01:00
Alexis Zeghers 91528b91d2 deps: bump bpmn-moddle 2020-12-03 14:01:39 +01:00
Alexis Zeghers 1ccba5c5e6 feat(replace): add switch between DataStore and DataObject in replace menu
Closes #1372
2020-12-03 11:01:38 +00:00
Nico Rehwaldt d252ba2b9b deps: bump dependency versions 2020-12-02 20:28:33 +00:00
Nico Rehwaldt 3cecc95ecf fix: make hasOwnProperty check safe 2020-12-02 20:28:33 +00:00