Commit Graph

2159 Commits

Author SHA1 Message Date
Nico Rehwaldt f7a4a3db7b style: pacify eslint 2021-03-03 23:45:11 +01:00
Nico Rehwaldt a7522ac5b1 test(Viewer): verify saveXML.done on no definitions loaded 2021-03-03 22:37:43 +00:00
Nico Rehwaldt 3567565514 fix(BaseViewer): always emit saveXML.done
This ensures we emit saveXML.done on error, too.
2021-03-03 22:37:43 +00:00
Nico Rehwaldt 39f1cbe92c 8.2.1 2021-03-03 10:42:33 +01:00
Nico Rehwaldt d369410476 chore(CHANGELOG): update to v8.2.1 2021-03-03 10:39:34 +01:00
Nico Rehwaldt 3b288f1383 deps: update to diagram-js@7.2.1
Closes https://github.com/bpmn-io/bpmn-js/issues/1387
2021-03-03 09:36:41 +00:00
Nico Rehwaldt aa57e148e9
chore: delete PR template
Reusing template from default community files.
2021-03-03 09:42:58 +01:00
Max Tru 82eaded072 chore(project): add explicit link to code of conduct 2021-02-26 08:55:40 +00:00
Nico Rehwaldt f93186ba22 8.2.0 2021-01-28 15:24:56 +01:00
Nico Rehwaldt df49d5e14d chore(workflows/CI): skip PhantomJS on MacOS, too 2021-01-28 14:04:58 +00:00
Nico Rehwaldt 92e92ab4c3 chore(CHANGELOG): update to v8.2.0 2021-01-28 14:04:58 +00:00
Nico Rehwaldt 12495b7ac4 deps: bump to diagram-js@7.2.0
Closes https://github.com/bpmn-io/bpmn-js/issues/1380
2021-01-28 14:04:58 +00:00
Philipp Fromme 0da1938ea3 fix: skip PhantomJS and Firefox on Windows CI
* PhantomJS times out on test
* Firefox times out on test distro
2021-01-28 10:44:01 +00:00
Nico Rehwaldt 8a40658b21 chore: wire dependencies in GitHub action 2021-01-28 10:44:01 +00:00
Nico Rehwaldt 84c1d44a4d chore: update shebang of helper scripts 2021-01-28 10:44:01 +00:00
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