3
0
Commit Graph

54 Commits

Author SHA1 Message Date
Tomaž Jerman c3bf35eee1 Add some nil checks to typed values 2024-08-23 13:28:16 +02:00
Peter Grlica fd7b018456 Null values on datetime fields 2024-06-12 12:38:06 +02:00
Tomaž Jerman 772d03e911 Add type resolution to Session.ResumeState 2024-03-18 14:05:38 +01:00
Tomaž Jerman 74031ca69e Fix automation session search throwing pgql column type errors 2024-03-18 09:57:02 +01:00
Mumbi Francis 16edc28809 Fix permissions trace issue on hasWildcard resources 2024-02-08 16:50:11 +03:00
Tomaž Jerman 2637334460 Fix post opt. tests 2024-02-06 13:39:22 +01:00
Tomaž Jerman cb89c9b1a4 Remove excessive statechange logging 2024-02-06 13:39:22 +01:00
Tomaž Jerman 7bafd82dde Update StateChangeHandler for stacktrace changes 2024-02-06 13:39:22 +01:00
Tomaž Jerman 74a54da6f1 Improve workflow stacktrace logging to reduce pressure for iterators 2024-02-06 13:39:22 +01:00
Tomaž Jerman 52ac5698c8 Introduce .Clone to typed values for deep copy 2024-02-06 13:39:22 +01:00
Tomaž Jerman 405ab13643 Properly update wIndex on workflow changes 2024-01-10 11:11:15 +01:00
Tomaž Jerman dc54b55e55 Fix namespace export error when resources reference deleted resources 2023-11-03 11:28:10 +01:00
Tomaž Jerman 03806a20ab Set workflow & trigger ID when actionloggng create events 2023-06-13 09:49:04 +02:00
Tomaž Jerman 31f7e14c84 Make workflow/trigger actionlog consistent with other resources
Change the default severity to notice to show creates, updates,
deletes, and undeletes in the production ruleset.
2023-06-12 14:39:31 +02:00
Tomaž Jerman 2529cf337c Add stale data errors to most resources 2023-06-12 12:28:52 +02:00
Tomaž Jerman 37035984ae Fix known concurrent map access issues 2023-06-08 15:54:11 +02:00
Vivek Patel 7fcfb40d2e Fix issue with session list
It fixes issue of sorting and pagination for the status column due to Its stringify interpretation.
2023-05-30 16:03:05 +02:00
Tomaž Jerman 992510539e Add missing sessionID param to automation session search 2023-05-30 12:33:27 +02:00
Tomaž Jerman 88804b460e Change filter slices to be []string vs []uint64
This is to allow front-end to properly handle ID values.
This change was done to keep consistent with what we were doing
before. Alternative version would be to have a sepparate struct
on the rest package.
2023-05-24 12:26:01 +02:00
Tomaž Jerman 462619f2b9 Change logs to encode uint64 values as strings
This is due to us introducing the web console and the uints needing
to be string encoded (because of JavaScript).
2023-05-24 12:26:01 +02:00
Vivek Patel 6b14f78e8e Support error handler results
It adds error wrapper, error message, error step ID in result of error handler.
2023-05-17 18:10:21 +05:30
Tomaž Jerman 2196dd9ea4 Tweak envoy to better handle nested parent refs
* Don't overwrite parent refs if they are already set
* Allow page layout's pageID to be referenced as selfID
2023-04-07 12:39:27 +02:00
Tomaž Jerman b9e102313d Add access control and support for personal layouts 2023-04-07 12:39:26 +02:00
Tomaž Jerman 0a2a11d9fd Add page layout weight & reordering 2023-04-07 12:39:26 +02:00
Jože Fortun 23177e956a Make pageID in page-layout listNamespace not required 2023-04-07 12:39:26 +02:00
Tomaž Jerman bd59d58e98 Add base CRUD for page layout support 2023-04-07 12:39:26 +02:00
Tomaž Jerman b041e4fb32 Fix workflow importing and referencing
* Page blocks used invalid ref. formats & value setters.
* Some default values were skipped due to how yaml decoder works.
2023-04-02 11:11:19 +02:00
Tomaž Jerman ef94c90da1 General pkg/envoyx tweaks and fixes
* Fix invalid RBAC rule unmarshling where rules under resources
  incorrectly set resource references.
* Make reference assumptions not so aggressive where they will
  only apply when missing.
* Add missing skipIf evaluation checks.
2023-04-02 11:11:19 +02:00
Tomaž Jerman 2c42ec631e Support setting values within Envoy 2023-04-02 11:11:19 +02:00
Tomaž Jerman 22a70f61a8 Fix invalid matchup when importing resources
Matchups were not scoped which caused them to get matched
to any matched ident, regardles of scope.

This caused NS duplication to "move" original resources to the
cloned one instead of copying them.
2023-03-20 16:07:49 +01:00
Tomaž Jerman 030a440885 Port cli import/export commands to Envoy v2 2023-03-20 11:42:49 +01:00
Tomaž Jerman 6c40b33b5e Fix error formatting lint issue 2023-03-17 10:58:46 +01:00
Tomaž Jerman 525df34579 Touchups 2023-03-17 10:58:46 +01:00
Tomaž Jerman 2f015a26f6 Improve error handling & recovery 2023-03-17 10:58:46 +01:00
Tomaž Jerman a0e25b457f Cleanup record encoding logic, add tests 2023-03-17 10:58:46 +01:00
Tomaž Jerman eb63f41a44 Allow encoders/decoders to terminate for impossible scenarios 2023-03-17 10:58:46 +01:00
Tomaž Jerman 7af889c164 Add logic for resource translation import/export 2023-03-17 10:58:46 +01:00
Tomaž Jerman c42cf298de Tweak logic & add base RBAC import/export test 2023-03-17 10:58:46 +01:00
Tomaž Jerman cf30aeb75d Tweak logic & add base import/export test 2023-03-17 10:58:46 +01:00
Tomaž Jerman 0bfc2a7f87 Add resource skipping for store encoders 2023-03-17 10:58:46 +01:00
Tomaž Jerman f661206a79 Tweak envoy config structs
Have each node define it's own configs where the decoder may
define the wanted values and the global config populates missing
values in the Bake step.
2023-03-17 10:58:46 +01:00
Tomaž Jerman 2e9ba97dda Add missing bits from V1, slight touchup 2023-03-17 10:58:46 +01:00
Tomaž Jerman 25b880e049 POC importing record datasources 2023-03-17 10:58:46 +01:00
Tomaž Jerman 804d59722a Base envoy codegen 2023-03-17 10:58:46 +01:00
Tomaž Jerman 1e929210b4 Add codegen for resource value getter/setter
Getters and setters will be used by Envoy to update values.
Most of the getters/setters can be deducted from the model
definitions.
2023-03-17 09:27:34 +01:00
Tomaž Jerman d431b90a98 Make names required for resources 2023-01-26 15:22:59 +01:00
Vivek Patel 83f95ed5da Refactor data-privacy endpoints
Moved DataPrivacyRequest and DataPrivacyRequestComment under DataPrivacy route
2023-01-25 22:25:48 +05:30
kinyaelgrande ad46c275f9 Add support for viewing and undeleting soft-deleted records 2023-01-19 17:55:47 +03:00
Tomaž Jerman 3bb299ce72 Fix part of the broken tests 2022-12-09 11:18:18 +01:00
Denis Arh 207f01daf5 Refresh code templates and regenerate go files
Mostly minor changes related to go 1.19 comment formatting.
2022-11-27 10:57:03 +01:00