3172 Commits

Author SHA1 Message Date
mike cullerton
963880ed9a Better wording 2022-06-03 15:06:53 -04:00
mike cullerton
d5c5fe075d We were running the config twice 2022-06-03 10:07:35 -04:00
mike cullerton
686af32b22 Added test for lane permissions 2022-06-03 10:05:06 -04:00
mike cullerton
7ece754d03 *** WIP ***
Tests for lane permissions
2022-06-02 16:49:21 -04:00
mike cullerton
30d6c3ac36 Make sure we are in a lane 2022-06-02 15:56:45 -04:00
mike cullerton
2ac2163db3 Ran into a situation where spiff_task was None 2022-06-02 14:26:15 -04:00
mike cullerton
906e02f81a Set the LOCKED state for StartEvent
We use this in lanes
2022-06-02 14:25:28 -04:00
mike cullerton
2063ee42d8 Allow impersonations when checking user_is_admin 2022-06-02 14:24:05 -04:00
mike cullerton
fd633f6b52 master_workflow_results should be a dictionary 2022-06-01 13:36:56 -04:00
mike cullerton
e729c1e3d2 Raise an error if we don't have a logged in user 2022-06-01 13:36:20 -04:00
mike cullerton
2039631bd0 *** WIP ***
New script get_current_user
Replaces the current_user value that was removed from task data

Will also include information about the impersonating admin account if current_user is really an impersonation (view as)
2022-05-31 16:56:39 -04:00
mike cullerton
6911ab7aae Fixes for failing tests after removing current_user from task data 2022-05-31 16:53:15 -04:00
mike cullerton
f74afc3e18 Remove current_user from task data 2022-05-31 16:51:03 -04:00
mike cullerton
1d8fc77cf3 Add impersonator to current_user, if we have one 2022-05-31 15:01:34 -04:00
mike cullerton
2f6b84e29c add get_impersonator method to user_service 2022-05-31 15:00:58 -04:00
mike cullerton
8d504c7550 add impersonator attribute to UserModelSchema 2022-05-31 15:00:27 -04:00
Dan Funk
cfa1431164
Merge pull request #549 from sartography/dependabot/pip/deploy/pyjwt-2.4.0
Bump pyjwt from 1.7.1 to 2.4.0 in /deploy
2022-05-26 11:52:41 -04:00
Dan Funk
87d3d2f6bd
Merge pull request #548 from sartography/dependabot/pip/pyjwt-2.4.0
Bump pyjwt from 2.3.0 to 2.4.0
2022-05-26 11:52:30 -04:00
Dan Funk
d517f003e0
Merge pull request #546 from sartography/chore/create-template-option-745
Chore/create template option #745
2022-05-25 16:26:52 -04:00
Dan Funk
4aa753bef1
Merge pull request #545 from sartography/file-refactor-cleanup-743
File refactor cleanup #743
2022-05-25 16:25:03 -04:00
Dan Funk
fe99872263
Merge pull request #544 from sartography/admin-page-changes-742
Admin page changes #742
2022-05-25 16:24:02 -04:00
Dan Funk
a500b89309
Merge pull request #539 from sartography/chore/get-instance-script-729
Chore/get instance script #729
2022-05-25 16:18:02 -04:00
dependabot[bot]
d7ec3eb670
Bump pyjwt from 1.7.1 to 2.4.0 in /deploy
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 1.7.1 to 2.4.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/1.7.1...2.4.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25 04:59:20 +00:00
dependabot[bot]
f411f0d118
Bump pyjwt from 2.3.0 to 2.4.0
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.3.0...2.4.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25 03:34:55 +00:00
mike cullerton
a97c21c8ed remove unused line 2022-05-23 14:27:25 -04:00
mike cullerton
e2feb2495d Added some spacing 2022-05-23 14:26:04 -04:00
mike cullerton
e92be44b6c Assert that we have the correct file name, depending on whether we pass the optional file_name parameter
Modify the bpmn file to accept the optional file_name
2022-05-23 14:22:14 -04:00
mike cullerton
03384789d4 Modify complete_template script to accept optional file_name argument.
If present, we use file_name to name the generated file.
Otherwise, we use template_file_name to name the generated file
2022-05-23 14:20:52 -04:00
mike cullerton
4c24fde952 Code cleanup after file refactor 2022-05-20 10:47:14 -04:00
mike cullerton
5da6a9aa12 database cleanup after file refactor 2022-05-20 10:42:04 -04:00
mike cullerton
801da35b1c Open up create/edit/delete access on Study and File models
Add column_searchable, column_filters to TaskLogView, similar to EmailView
2022-05-19 15:54:37 -04:00
Dan
e4627c472a rollback database transactions when we encounter an error resetting a workflow, or processing a waiting workflow. 2022-05-19 10:23:48 -04:00
mike cullerton
b66bfb8a9b Merge branch 'dev' into chore/get-instance-script-729 2022-05-17 10:02:19 -04:00
mike cullerton
26abac3352 Update the test and README 2022-05-17 10:00:16 -04:00
mike cullerton
1b4821d2b9 Use a new INSTANCE_NAME variable for this, instead of SERVER_NAME 2022-05-17 09:59:33 -04:00
Dan
45d5654da4 Do not automatically archive old files when a file of the same type is added. 2022-05-17 09:39:38 -04:00
Dan
62d2229379 don't delete the status messages, that would be senseless. 2022-05-16 16:42:02 -04:00
Dan
ec61615686 run our github actions for more things than just feature branches.
Don't try to decode a string object.
2022-05-16 15:41:44 -04:00
Dan
b94487ee9e Moving from master to main. 2022-05-16 13:30:39 -04:00
Dan Funk
a267cff26b
Merge pull request #543 from sartography/admin-page-changes-736
Admin page changes #736
2022-05-16 13:05:28 -04:00
Dan Funk
353da693a0
Merge pull request #542 from sartography/chore/revisit-admin-warnings-733
Chore/revisit admin warnings #733
2022-05-16 13:03:00 -04:00
Dan
a44a278854 We were providing spurious/inaccurate warnings before because we were passing in the wrong arguments to the function. 2022-05-16 12:58:40 -04:00
Dan Funk
8e39a8ea7b
Merge pull request #541 from sartography/chore/workflow-state-script-738
Chore/workflow state script #738
2022-05-16 12:10:08 -04:00
Dan Funk
e95d4aa979
Merge pull request #540 from sartography/bug/reset-workflow-issue-734
Restart workflow clear data issue #734
2022-05-16 12:08:55 -04:00
mike cullerton
b127705216 Add views for Email and TaskLog
Exclude data column from the file table
Clean up imports
2022-05-12 12:17:22 -04:00
mike cullerton
4297c78a4e This is tested in test_get_study_updates_workflow_state 2022-05-12 10:11:25 -04:00
mike cullerton
d053dd8652 Clean up imports
Turn tests back on
2022-05-12 10:09:17 -04:00
mike cullerton
b10fdac32c Create run_master_spec method in BaseTest 2022-05-12 10:06:57 -04:00
mike cullerton
cb2bab33b0 Restore admin warnings 2022-05-11 16:57:39 -04:00
mike cullerton
aa31007284 Added meaningful task names 2022-05-11 15:08:26 -04:00