Commit Graph

915 Commits

Author SHA1 Message Date
Kevin Burnett d85daf4766
Merge pull request #120 from sartography/bugfix/allow-datetime-strftime
fix for datetime.strftime
2022-10-07 21:38:59 +00:00
burnettk c37d123d09 you only to check one assignment cuz it has a unique constraint now. w/ mike 2022-10-07 17:12:59 -04:00
burnettk 5f708fe41d one has_permission test passes. w/ mike 2022-10-07 17:10:22 -04:00
burnettk f65e342add refactor authn and authz methods to remove circular import 2022-10-07 16:51:14 -04:00
burnettk 7577b5619e rename grant to permit and work on test. w/ mike 2022-10-07 16:40:22 -04:00
burnettk 9bcd5a73a2 refactor get_user_info_from_id_token into authn service. w/ mike 2022-10-07 16:25:37 -04:00
burnettk 37441b8bef add crud perms, allow getting principal from user, start actual permissions test 2022-10-07 16:14:14 -04:00
Elizabeth Esswein 1a3fde9401 fix for datetime.strftime 2022-10-07 15:20:38 -04:00
burnettk 9c5943baf6 add permission assignment 2022-10-07 15:19:26 -04:00
burnettk 27d78bb7c5 add permission target 2022-10-07 15:14:07 -04:00
Kevin Burnett 8efdf42318
Merge pull request #119 from sartography/feature/dynamic-select-fields
dynamic select fields
2022-10-07 17:37:31 +00:00
burnettk ac16fc8be1 more checking 2022-10-06 19:10:11 -04:00
burnettk d1c1e6069c raise if task data does not have expected var 2022-10-06 19:00:29 -04:00
burnettk 005ea36781 lint 2022-10-06 18:54:19 -04:00
burnettk 177642d826 isinstance 2022-10-06 18:53:08 -04:00
burnettk 72663a4800 move function and mark as private 2022-10-06 18:51:51 -04:00
burnettk 611632388d rename function to make sense 2022-10-06 18:50:09 -04:00
burnettk 138799941d fully working 2022-10-06 18:44:18 -04:00
burnettk c33e152b6f getting closer 2022-10-06 18:19:25 -04:00
burnettk 22c67c7dd4 lint 2022-10-06 18:10:58 -04:00
burnettk 04918e0f41 jam in task data 2022-10-06 18:00:12 -04:00
burnettk 94e335f2f5 hardcode part of solution for now 2022-10-06 17:29:19 -04:00
burnettk 57d239d34c replace test model with something closer to what we want 2022-10-06 17:19:48 -04:00
burnettk 93e6adbc23 work in progress 2022-10-06 17:16:26 -04:00
burnettk d3e8ac7b9f ignore a deprecation warning 2022-10-06 16:21:40 -04:00
github-actions[bot] 35453ac022
Merge pull request #116 from sartography/dependabot/pip/safety-2.3.1
Bump safety from 2.2.1 to 2.3.1
2022-10-06 03:30:56 +00:00
dependabot[bot] 7d2770c21d
Bump safety from 2.2.1 to 2.3.1
Bumps [safety](https://github.com/pyupio/safety) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/pyupio/safety/releases)
- [Changelog](https://github.com/pyupio/safety/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pyupio/safety/compare/2.2.1...2.3.1)

---
updated-dependencies:
- dependency-name: safety
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 03:18:57 +00:00
github-actions[bot] ded3591ae3
Merge pull request #110 from sartography/dependabot/pip/flask-2.2.2
Bump flask from 2.1.3 to 2.2.2
2022-10-06 03:14:55 +00:00
dependabot[bot] 9111a80d31
Bump flask from 2.1.3 to 2.2.2
Bumps [flask](https://github.com/pallets/flask) from 2.1.3 to 2.2.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.1.3...2.2.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 02:58:25 +00:00
Kevin Burnett 02b85f34cd
Merge pull request #115 from sartography/feature/restricted-script-engine
change script engine to use RestrictedPython
2022-10-06 02:54:11 +00:00
burnettk 11f4fd3933 run poet pre to fix lint, and avoid updating flask and Flask-SQLAlchemy to squelch warnings 2022-10-05 20:50:33 -04:00
Elizabeth Esswein 510eec3f6a change script engine to use RestrictedPython 2022-10-05 19:35:59 -04:00
burnettk b588de47c9 Revert "garbage related to trimming down process instance logging"
This reverts commit 4361a5f8ec.
2022-10-05 12:07:51 -04:00
burnettk 4361a5f8ec garbage related to trimming down process instance logging 2022-10-05 12:07:08 -04:00
Kevin Burnett 11f137f8b0
Merge pull request #113 from sartography/update_imports
Update SpiffWorkflow imports
2022-10-04 21:27:56 +00:00
burnettk c186da2451 merge main, reorder imports 2022-10-04 17:27:31 -04:00
burnettk ac87a6384c Merge remote-tracking branch 'origin/main' into update_imports 2022-10-04 17:26:05 -04:00
burnettk f44bc1f71c get off branch that is gone 2022-10-04 16:37:42 -04:00
burnettk 3b86b3cc1a configure staging to set git config 2022-10-04 16:07:51 -04:00
Kevin Burnett c7bafc8ac3
Merge pull request #112 from sartography/feature/auto-commit-on-save
auto git commit on save
2022-10-04 19:43:36 +00:00
burnettk b8abd5a7bc lint 2022-10-04 15:43:18 -04:00
Jon Herron 9fc48f6e94 Revert poetry changes 2022-10-04 15:21:52 -04:00
burnettk 427960698d make git commit on save configurable 2022-10-04 15:07:48 -04:00
burnettk 8c5e11ca68 auto git commit on save 2022-10-04 14:42:31 -04:00
Jon Herron a363650fd3 Point flask-bpmn to local dir, update import 2022-10-03 21:56:45 -04:00
Jon Herron 0de2676f9a Reworking imports after empty __init__.py 2022-10-03 21:52:19 -04:00
Jon Herron 9153637e15 Point backend to local SpiffWorkflow 2022-10-03 20:20:30 -04:00
burnettk 563bdd7f3b lint 2022-10-03 20:06:23 -04:00
burnettk 9abc356a69 remove null-ls temp file 2022-10-03 20:04:47 -04:00
burnettk 7c3488fd6c event logging fixes, one in spiff and one in backend 2022-10-03 18:25:43 -04:00