Commit Graph

410 Commits

Author SHA1 Message Date
Dan Funk 9ee6d378f9
Merge pull request #20 from sartography/dependabot/github_actions/crazy-max/ghaction-github-labeler-4.1.0
Bump crazy-max/ghaction-github-labeler from 4.0.0 to 4.1.0
2023-04-04 14:44:21 -04:00
Dan c807dbcb2c Fix bug with Data Object Interceptor picking up too much.
don't look for the color picker right now.
clean up the css
2023-04-04 14:40:59 -04:00
Dan 82260144f9 Merge branch 'feature/inherited-data-objects' into main 2023-03-06 10:43:59 -05:00
Dan 0f72530323 remove ununsed code, and alter correlation properties such that the id and name are always set to the same thing. 2023-03-06 10:43:39 -05:00
Dan Funk c4843c17b8
Merge pull request #26 from sartography/feature/inherited-data-objects
Feature/inherited data objects
2023-03-03 14:30:00 -05:00
Dan 9e2a8f3848 minor tweak for adding data objects to lanes/participants. 2023-03-03 14:25:06 -05:00
Elizabeth Esswein ada919e59d add a few tests on data object visibility 2023-03-03 13:06:58 -05:00
Elizabeth Esswein 627e771d4f allow subprocesses to inherit data objects 2023-03-02 22:45:08 -05:00
Dan 887f318f79 Minor cleanup of display in bpmn-js 2023-03-02 16:05:15 -05:00
Dan a547888ef1 run_pyl 2023-02-23 14:17:22 -05:00
Dan 53378437d0 BPMN.io -- Just show the message names not the ids - to assure we are only exposing the names.
SpiffWorkflow -
    - start_messages function should return message names, not ids.
    - don't catch external thrown messages within the same workflow process
    - add an expected value to the Correlation Property Model so we can use this well defined class as an external communication tool (rather than building an arbitrary dictionary)
    - Added a "get_awaiting_correlations" to an event, so we can get a list of the correlation properties related to the workflows currently defined correlation values.
    - workflows.waiting_events() function now returns the above awaiting correlations as the value on returned message events
 Backend
    - Dropping MessageModel and MessageCorrelationProperties - at least for now.  We don't need them to send / receive messages though we may eventually want to track the messages and correlations defined across the system - these things (which are ever changing) should not be directly connected to the Messages which may be in flux - and the cross relationships between the tables could cause unexpected and unceissary errors.  Commented out the caching logic so we can turn this back on later.
    - Slight improvement to API Errors
    - MessageInstances are no longer in a many-to-many relationship with Correlations - Each message instance has a unique set of message correlations specific to the instance.
    - Message Instances have users, and can be linked through a "counterpart_id" so you can see what send is connected to what recieve.
    - Message Correlations are connected to  recieving message instances.  It is not to a process instance, and not to a message model.  They now include the expected value and retrieval expression required to validate an incoming message.
    - A process instance is not connected to message correlations.
    - Message Instances are not always tied to a process instance (for example, a Send Message from an API)
    - API calls to create a message use the same logic as all other message catching code.
    - Make use of the new waiting_events() method to check for any new recieve messages in the workflow (much easier than
    churning through all of the tasks)
    - One giant mother of a migration.
2023-02-23 13:53:03 -05:00
Dan f1f008e3e3 fixing a bug in the bpmn editor that was attempting to create the wrong element. 2023-02-13 12:27:45 -05:00
dependabot[bot] 1178d2fb7c
Bump dependabot/fetch-metadata from 1.3.4 to 1.3.6
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.4 to 1.3.6.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.4...v1.3.6)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 04:13:07 +00:00
Dan 9252af8138 Adding tests for the user service , and closing a few logic errors. Adding support for a single wild card for matching all users. 2022-12-19 10:05:19 -05:00
Dan aca23dc56e Fixes several bugs in the editor related to Data Objects:
1) Correctly position the label on new data objects
2) When a Data Object is removed, remove all its references as well.
3) Avoid duplicate names showing up in the Data Objects list.
4) Allow non-words in data object names.
2022-11-24 14:59:09 -05:00
Dan 05660e95a1 Per bug list we went over today, fixing a deep irritation with data object renaming, hopefully this feels better. 2022-11-17 14:58:28 -05:00
Dan e92f48da7c minor fixes to the Bpmn-js-subworkflow spec. 2022-11-16 16:31:47 -05:00
Dan af88025a96 Merge remote-tracking branch 'origin/main' into feature/call_activity_selection 2022-11-16 15:38:16 -05:00
Dan f3bd1e5628 Minor tweak to bpmn-js-spiffworkflow 2022-11-16 15:37:14 -05:00
Dan 9207ef45a1 Minor tweak, in the hopes of getting a text box to update correctly. 2022-11-16 15:36:12 -05:00
Dan 084f46464c Fixing a bug in the Call Activity's handing of an update. 2022-11-14 12:23:22 -05:00
Dan c90359945c Return the event bus when calling a search. 2022-11-14 11:22:06 -05:00
Dan 4f23f860f8 add a search button to the call activity to allow finding a process id through some sort of admin interface. 2022-11-11 11:02:29 -05:00
burnettk 09fa713bb0 kill a few consoles 2022-11-09 12:09:23 -05:00
Dan 24c2cc3606 don't flake out when no dmn options are returned. 2022-11-09 11:39:57 -05:00
Dan Funk 96dcd1a249
Merge pull request #23 from sartography/feature/more_launch_buttons_and_dropdowns
Feature/more launch buttons and dropdowns
2022-11-07 14:33:23 -05:00
Dan f6eb4123d0 disable test for disabled button. 2022-11-07 13:12:49 -05:00
Dan 84593aee1e remove launch button for call activities. 2022-11-07 12:53:57 -05:00
Dan b285696872 fixing a bug in SpiffScript Group 2022-11-02 14:08:44 -04:00
Dan e12e27ed5f fixing a bug in SpiffScript Group 2022-11-02 12:40:47 -04:00
Dan 7b4ca1919b Merge branch 'main' into feature/more_launch_buttons_and_dropdowns 2022-11-01 21:24:22 -04:00
Dan 38b23ae4e4 No reason to force _files on there, when this could work for any set of options. 2022-11-01 20:35:29 -04:00
Dan 1e75ff7b53 Standardize all Event Names, and document in README.
Fix the SpiffExtensions so they work consistently with both nested Extension Properties, and as single extensions depending on the namespace.
Add a Spiff Extension Text Area.
Everything that is within the body of tag can be referenced with ".value" -- there was a lot of pointless inconsistency in the moddle json file.
2022-11-01 20:24:28 -04:00
Dan aeeaf1596e DMN selection should be from a dropdown, not by hand entering a process id. 2022-11-01 14:41:21 -04:00
Dan ecb175d727 Add Launch Editor buttons for Json files. (fires 'file.editor.launch', with a fileName) 2022-11-01 10:35:07 -04:00
Dan 999ea7e4c0 better peer dependencies. 2022-10-31 17:12:32 -04:00
jasquat ff9a4fd28f
Merge pull request #22 from sartography/bug/pre_post_script_launch_button
Pre/Post Script Launch
2022-10-31 17:01:22 -04:00
jasquat 1fd817a8f7 no need to pass element back from the calling launch script event w/ burnettk danfunk 2022-10-31 16:50:25 -04:00
Dan 6467e967b8 Adding a Launch Button for Call Activity
Json files are now a selection list, not a text field -- see app.json for usage.
New SpiffExtensionSelect can be used to add select boxes anywhere you want.
2022-10-31 16:20:05 -04:00
Dan fbcda3f672 Specify Peer Dependencies -- as it is likely that embedding this
library will occur within projects that use other bpmn-js components.
2022-10-31 11:41:48 -04:00
Dan 3d77111f92 Hooks, and an example for setting up a Markdown editor for markdown content. 2022-10-29 15:10:17 -04:00
Dan 2cdae0ca6e Display User Instructions for Manual Tasks and End Events as well. 2022-10-29 13:56:37 -04:00
Dan 08c03a4dd4 Removing the dist directory. 2022-10-29 12:27:44 -04:00
Dan 3f2abb73ab fixes a minor bug that prevented the editor from opening if no script was yet entered in the Script Task. 2022-10-29 12:25:44 -04:00
Dan c78afceb37 Allow pre-script and post-script's "Launch Editor" button to work correctly.
use commandStack to update Moddle Properties.
Providing a working example of using a code editor with this library, so it's clear how the integration would work.
Rename titles of various components -- don't call sections "SpiffWorkflow", but maybe we find a way to more gently call out these extensions later on.
2022-10-29 10:36:25 -04:00
burnettk 4ed985f4a2 kill console 2022-10-28 13:51:03 -04:00
Dan fdbad7565c Forgot a test. 2022-10-25 11:25:01 -04:00
Dan a185cce56a * For Correlation Properties, should use messagePath and not formalExpression for the name.
* When all data input and outputs are removed, the ioSpecification should be removed as well
* If an ioSpecification is present, then there shoud be a at least one dataInputset and at least one dataoutputset.
2022-10-24 16:13:11 -04:00
Dan Funk 9c0da02406
Merge pull request #21 from sartography/bug/data_objects
Bug/data objects
2022-10-19 16:12:30 -04:00
Dan 6fe36aeb0e Minor fixes. 2022-10-19 16:12:04 -04:00