8e81aaa0f4
style: adjust code style to latest configuration
2024-10-16 17:17:28 +02:00
88a484e41e
fix: don't create illegal waypoint
property
...
Closes https://github.com/bpmn-io/bpmn-js/issues/1544
2021-12-03 19:45:37 +00:00
5d30d576dc
test: ensure that connectionDi exists
2021-09-03 15:14:00 +02:00
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
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
33156e43be
chore(project): fix linting errors
2019-08-19 14:27:33 +00:00
9be61259bd
chore(project): drop 'use strict'
...
We use ES modules, so 'use strict' is not necessary anymore.
2018-04-03 18:09:53 +02:00
d3449ca87c
chore(project): es6ify source code
...
* use ES6 import / export
* UTILS: export individual utilities
* TESTS: localize TestHelper includes
BREAKING CHANGE:
* all utilities export independent functions
* library sources got ported to ES6. You must now use
a ES module bundler such as Browserify + babelify or
Webpack to consume this library (or parts of it).
2018-04-03 16:32:14 +02:00
245d1d6a96
chore(project): upgrade lodash to min-dash
2018-03-22 11:59:39 +01:00
37a06a378d
chore(tests): use absolute lib requires
2018-01-24 11:41:21 +01:00
0ba239bbce
chore(project): switch to eslint
...
Use eslint instead of jshint for linting.
* better linting results
* test files linted, too
* consistent code style checks
Closes #568
2016-06-07 09:55:32 +02:00
1bceaaa229
chore(modeling): move BpmnLabelSupport to behavior
...
* Make sure the label support is part of our
behavior definitions.
* Adjust test cases accordingly.
2016-03-08 14:12:52 +01:00
e00197d67a
chore(tests): migrate to (.not).exist matcher
...
Migrate parts of our test suite that rely on legacy
`.to.be.(un)defined` matchers to Chai's `.to(.not).exist`.
Closes #423
Closes #422
2015-12-03 13:08:56 +01:00
e78e4c94a3
test(matchers): add custom .bounds matcher
...
Closes #349
2015-09-02 14:36:39 +02:00
c3e4ad3e40
test(project): replace jasmine with mocha
...
Closes #204
2015-07-15 17:42:37 +02:00
b233ab957c
feat(snapping): add bpmn-specific move snapping
...
This commit adds message flow + collaboration specific snapping by
subclassing the diagram-js provided default Snapping implementation.
* Add collaboration snapping
* Rename lib/util/{Name}.js -> lib/util/{Name}Util.js
Closes #255
2015-04-29 15:04:54 +02:00
e6885eaebc
test(project): replace brfs with stringify
...
This _could_ fix the various bundle building issues we are seeing on
travis-ci and locally.
Closes #234
2015-03-31 14:22:53 +02:00
3996408404
chore(project): migrate to modularized lodash@3
...
* use specialized lodash utilities
* consistently apply 'use strict'
Related to #185
2015-02-02 14:46:21 +01:00
85e512c97d
feat(modeler): add bendpoints
...
It is now possible to add bendpoints to flows or drag bendpoints to
update their position / trigger reconnects.
Upon bendpoint move a rule is checked to figure out whether or not a
bendpoint operation is allowed or not.
Closes #123
Closes #138
Closes #139
Closes #165
2015-01-20 17:19:56 +01:00
6041717c6c
feat(modeling): implement create via palette/context-pad
...
Related to #137
2014-12-07 13:08:50 +01:00
e387768ef1
fix(modeling): use correct parent for bpmn:TextAnnotation
2014-12-02 08:36:15 +01:00
2707fc8858
chore(test): fix brfs include encoding
2014-11-21 09:22:51 +01:00
51918b3493
feat(drop): basic implementation
...
This commit adds a basic implementation for model drop
* using rules to check whether the drop is allowed
* updating the model after drop
See #127
2014-11-21 09:21:41 +01:00
3a377a3871
chore(core/ElementRegistry): pull API changes
...
Related to #153
2014-11-17 17:36:22 +01:00
c58532aeac
chore(import): reorganize import related functionality
...
This commit puts all import related stuff into the import module.
The core module remains as an entry point to require the basic modules
needed by bpmn-js. At the time this is { import, draw }.
2014-10-30 12:06:43 +01:00
4428be4227
fix(draw): render labels as one-liner per default
...
This is a temporary fix for #113
2014-09-15 14:41:26 +02:00
fb86037cdd
fix(modeling): properly update sourceRef/targetRef for associations
...
Related to #90
2014-08-05 17:57:19 +02:00
911e991bc8
chore(tests): instantiate modeler only when neccessary
...
This commit replaces the test helper #bootstrapBpmnJS with either
This ensures we can have different Modeler/Viewer specific bootstrap
code being called based on whether we test modeling or viewing only
features.
2014-08-05 08:17:22 +02:00
b1663db035
fix(modeling): correct initial label positioning
2014-08-04 09:34:45 +02:00
11f166a7f9
fix(modeling): update di bounds during shape.create
2014-08-04 09:34:44 +02:00
826d798f19
chore(tests): remove unused node test folders
...
This commit cleans up reminders of the node-js test suite removal
by removing the test/node folder.
The test structure has been aligned by moving all tests from
* test/spec/browser to test/spec
* test/spec/integration to test/integration
2014-08-01 07:20:15 +02:00