Commit Graph

17 Commits

Author SHA1 Message Date
jasquat affc4bec13
wait for the containers to be up with docker compose w/ burnettk 2024-06-06 15:22:14 -04:00
Tim Consolazio 949c716316
Bug/perm check cache (#1184)
* Update PermissionService.tsx

Semi-naive cache to prevent redundant perm calls.

* Permission Cache (and reading/updating/wiping)

Simple cache Map to avoid making piles of redundant permission checks.

* Update PermissionCacheService.ts

Coderabbit comment.

* Update PermissionCacheService.ts

A little more elegant.

* Update PermissionCacheService.ts

Rolled validation back in.

* Update PermissionCacheService.ts

A little more elegant.

* Update permissionsService to be a little more robust, and test spec

* Update to always run callback

Now creates a response from the cache to feed the callback.

Still seeing the cypress error though (and remember you have to adjust the PermssionsServiceCache tests).

* Permission cache enhancements

PermissionCache now stores all returned permission for a path (without duplicates). Incoming permission requests now find and (if found) return the PermissionVerbResults they were looking for (based on the verbs in the PermissionsToCheck) from the overall collection for a given path.

* Update PermissionCacheService.ts

* Adjust Cache Tests

* fix lint

* Update PermissionService.tsx

Lint error ugh.

* kills consoles, add aider ignore

---------

Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-20 08:14:42 -07:00
jasquat 1167187557
Data obj show use params (#1160)
* wip spiff lib upgrade

* unit and script tests are now passing w/ burnettk

* tests and pre-commit are passing

* fallback to params if a matching task cannot tbe found when trying to view the contents of a data object from the web ui

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-03-04 12:33:24 -08:00
jbirddog bb3a685138
Dev containers now work with "run as me" (#1129) 2024-02-29 05:27:06 -05:00
jbirddog 52f986ffe2
Dev Container Tweaks (#1117) 2024-02-28 09:49:45 -05:00
burnettk c063a4f84c use a slightly safer time in migration script. w/ jlantz 2023-08-29 12:22:43 -04:00
jbirddog 7c3f47bf59 Editor compose (#279) 2023-05-25 15:15:58 -04:00
jbirddog 6874e626c8 Remove and ignore UNKNOWN.egg-info (#272) 2023-05-23 11:47:13 -04:00
jbirddog 1dd445de68 spiff-element-units integration (#214) 2023-04-17 14:49:38 -04:00
jasquat f00b2e9f7d added script to build frontend so it can add version info to the index.html file w/ burnettk 2023-04-11 15:48:34 -04:00
jasquat 73c2ebbdf9 attempt to get git docker labels into version json file w/ burnettk 2023-04-07 15:32:28 -04:00
jbirddog 20cec0f2a2 Type ahead widget (#205) 2023-04-05 14:27:20 -04:00
jbirddog 5089b3d8e4 Trip safe asserts in tests, various process instance queue improvements (#199) 2023-03-31 10:59:09 -04:00
jasquat 5de2cf1312 ignore dccache files w/ burnettk 2023-03-28 17:14:58 -04:00
burnettk 5b73c4ddb0 gotta fix usage of is_model 2022-11-24 16:28:10 -05:00
Dan d740518e75 Mostly a name change from BpmnProcessIdLookup to SpecReferenceCache. I landed on this unfortunate name because:
1. It's not just processes, it contains the list of all DMN Decisions as well.
2. It is closely linked to the SpecReference object that can be generated by looking through all the Spec files to find the processes and decisions they contain.
3. It is a cache of information, the file system is the source of truth.  Seems likely we will cache more things in the future -- so setting things up this way made sense.
2022-11-14 15:23:37 -05:00
burnettk 2988c3815b ignore pyrightconfig.json 2022-11-10 14:33:07 -05:00