mike cullerton
a3b3df1bbb
Use flask send_file to return DMN file
2021-09-07 12:09:30 -04:00
mike cullerton
93e8015ddd
Read the spreadsheet data sent from the front end. This allows pandas to see it as a file type object.
...
Fixed bug where column_count wouldn't get set if there isn't an Annotation column
2021-09-03 10:37:06 -04:00
mike cullerton
e2b70da6b7
Not returning json. Returning stream of XML
2021-09-03 10:33:12 -04:00
mike cullerton
8677d0368b
Grab the file data from the request, not as a parameter
2021-09-03 10:32:32 -04:00
mike cullerton
1545226e06
We no longer save the DMN file, so we don't need the workflow_spec_id
...
(We will open the DMN in the editor. It will be saved there.)
2021-09-02 09:58:22 -04:00
mike cullerton
26a625c5db
Test for new service
2021-09-02 09:57:01 -04:00
mike cullerton
d9fa94b64f
Added spreadsheet for testing
2021-09-02 09:56:40 -04:00
mike cullerton
f2741921cb
Added task to select a spreadsheet
2021-09-02 09:56:22 -04:00
mike cullerton
5f3968b582
Changed script to work with a file_id
...
This will all be deprecated, and we won't run this from a script
2021-09-02 09:55:31 -04:00
mike cullerton
b5082b8fd3
Call FileService
2021-09-02 09:53:17 -04:00
mike cullerton
4fa68bd4c0
Move business logic to FileService
2021-09-02 09:52:58 -04:00
mike cullerton
f49128adf4
Rename test file
2021-09-01 10:44:53 -04:00
mike cullerton
3020c76d5c
Rename test BPMN file
2021-09-01 10:41:21 -04:00
mike cullerton
0c31b091ee
Merge branch 'dev' into dmn-from-spreadsheet-395
2021-09-01 09:38:03 -04:00
Dan Funk
c8066ab8ff
Merge pull request #363 from sartography/new-file-delete-363
...
New file delete #363
2021-08-27 10:40:38 -04:00
Dan
083abd1b58
Just being consistent in the names as we named it delete_task_data in the class, but not elsewhere, and since I'm here, using the name I prefer.
2021-08-26 14:22:12 -04:00
mike cullerton
cd3d17862a
Add task_spec_name to a bunch of tests
2021-08-26 10:43:28 -04:00
mike cullerton
5f0db3f2fb
Test and BPMN file for new script
2021-08-26 10:42:30 -04:00
mike cullerton
da914be3fa
Add task_spec to data_store
2021-08-26 10:41:09 -04:00
mike cullerton
506157d58a
Add task_spec_name to FileService.add_workflow_file, and script that calls it.
2021-08-26 10:40:47 -04:00
mike cullerton
4c41011299
Add task_spec_name to `add_file` API call
2021-08-26 10:37:05 -04:00
mike cullerton
3d7dadc319
Model changes and revision file for task_spec column to file and data_store models
2021-08-26 10:36:10 -04:00
mike cullerton
ea08643bcd
Script to delete files and task_events associated with a task
2021-08-26 10:34:21 -04:00
Mike Cullerton
961925e03e
Merge pull request #361 from sartography/430-email-enhancements
...
#430 email enhancements
2021-08-25 15:02:14 -04:00
Mike Cullerton
fcbbeb4735
Merge pull request #360 from sartography/423-LibraryAppearingInDashboard
...
Fixes #423
2021-08-25 15:01:18 -04:00
Dan
4b9c5bd3e8
Fixing a stupid mistake.
2021-08-24 12:10:59 -04:00
Dan
0f67cbf576
Bumping SpiffWorkflow with updates to support DMN v1.3
2021-08-20 13:50:10 -04:00
Dan
0bd1c282a3
Merge branch 'dev' of github.com:sartography/cr-connect-workflow into dev
2021-08-20 13:46:08 -04:00
mike cullerton
e8f8ba67cf
Added test for email attachments
...
Moved cc test to the main test_email_script test, and added bcc and reply_to
Added load_example_data to test_email_script_multiple.
2021-08-19 17:40:37 -04:00
mike cullerton
a9452d6533
Modified the test workflow form to add the new bcc, reply_to, and attachments arguments
2021-08-19 17:37:10 -04:00
mike cullerton
32c72c5a40
Modified email script and email_service to accommodate new bcc, reply_to, and attachments arguments
...
Modified the email script description to add the new arguments
Cleaned up some import statements
2021-08-19 17:34:55 -04:00
mike cullerton
ef9fd9514d
This caused a key error if we had a repeating field that was unused
2021-08-19 17:32:24 -04:00
Kelly McDonald
76f8f5984e
Fixes #413
...
Fixes #423 where a library was showing up in a study workflow
Alex said this used to work, but I don't see where I ever edited the code that needed a filter.
2021-08-19 10:47:13 -04:00
Mike Cullerton
5692f7d377
Merge pull request #359 from sartography/413-LibraryCleanup
...
413 library cleanup
2021-08-18 13:39:37 -04:00
Dan
afaecfa21c
Catching an error when variables conflict with repeating section variables.
2021-08-18 13:38:34 -04:00
Mike Cullerton
feb72af32e
Update workflow.py
...
Just completing a comment so I understood
2021-08-18 13:27:28 -04:00
Kelly McDonald
f3f42eea2b
Fixes #413
...
Add test for cleanup
2021-08-18 08:33:44 -04:00
Kelly McDonald
b4ecb0f97a
Add backref cascade and make changes to the spot where we delete so it loads objects into memory and then uses the SQLAlchemy plumbing to make sure that the db object gets cleaned up.
2021-08-18 08:25:17 -04:00
Mike Cullerton
b09f5c53ff
Merge pull request #358 from sartography/chore/timestamp_wrong
...
Fixes #383 - Timestamp on files is UTC?
2021-08-17 13:54:23 -04:00
Leashys
032aad9bc4
Fixes #383 - Timestamp on files is UTC?
...
also this includes the shield test thing for the boolean_type property whoopsie
2021-08-17 13:04:24 -04:00
Dan Funk
9ca3fd4e12
Merge pull request #356 from sartography/bug/missing_pi_name_246
...
Bug/missing pi name 246
2021-08-17 11:28:38 -04:00
Dan
7a8eeab820
Merge branch 'dev' into bug/missing_pi_name_246
2021-08-17 11:16:03 -04:00
Dan
6ce560cc2d
Made a stupid mistake in a hot fix, causing the builds to fail.
2021-08-17 10:14:49 -04:00
Dan Funk
c831ee7e4a
Merge pull request #357 from sartography/426-remove-hsr-number
...
remove hsr number #426
2021-08-17 09:58:56 -04:00
Dan
78f79a67b7
removing exectue flag.
2021-08-17 09:52:02 -04:00
Dan
4e0e162fd6
Removing the execution flag Nile keeps adding to files.
2021-08-17 09:50:57 -04:00
Dan
77de2a8f47
Merge branch 'dev' into bug/missing_pi_name_246
2021-08-17 09:47:09 -04:00
Dan
0a2597ae36
Just a quick hot fix so that when can still report errors back to the UI even when the task_data can't be serialized, which can happen when functions are defined.
2021-08-17 09:43:08 -04:00
nilez
07ffcd7c76
Dependencies In Testing are behind this avoids that issue. https://sonarcloud.io/project/issues?id=sartography_cr-connect-workflow&pullRequest=356&resolved=false&types=BUG
2021-08-16 23:46:39 -04:00
mike cullerton
2a2fd710c4
Merge branch 'dev' into dmn-from-spreadsheet-395
2021-08-16 14:22:02 -04:00