3
0

870 Commits

Author SHA1 Message Date
Denis Arh
665a15093c Fix how errors are reported/masked 2022-01-21 15:31:09 +01:00
Denis Arh
46675080fe Another set of after-update JWT fixes 2022-01-19 14:55:33 +01:00
Tomaž Jerman
4b113af9cc Allow content-type header to specify the charset 2022-01-18 21:50:19 +01:00
Tomaž Jerman
2c873d269f Add integration tests for namespace import/export 2022-01-18 21:50:19 +01:00
Tomaž Jerman
99a5597547 Fix edgecase where ref value would become nil and panic the system 2022-01-18 21:50:18 +01:00
Tomaž Jerman
9086bf34f4 Improve resource identification
* Stop relying on names (eg. module name),
* use slices as underlying structure to avoid potential hashmap
  order related accidents.
2022-01-18 21:50:18 +01:00
Tomaž Jerman
a47c1112e1 Allow non handle identifiers for related resources 2022-01-18 21:50:18 +01:00
Vivek Patel
f893e8834a Add expr function for sorting an array
It allows ascending/descending sorting along with sorting of native and non-native types
2022-01-18 21:50:18 +01:00
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Denis Arh
3ffa0ef8be Fixing codebase after JWT lib switch 2022-01-11 15:35:05 +01:00
Denis Arh
72999ca692 Replacing dgrijalva/jwt-go with lestrrat-go/jwx 2022-01-11 10:56:17 +01:00
Denis Arh
60020f8510 Upgrade go-chi&co 2022-01-11 10:53:49 +01:00
Denis Arh
771a60abd7 Post dep-upgrade fixes 2022-01-11 10:53:49 +01:00
Denis Arh
2ab2c17a51 Upgrade deps 2022-01-11 10:53:48 +01:00
Peter Grlica
86deaea911 Added find expr function, support for find, has of Vars 2021-12-23 14:43:37 +01:00
Vivek Patel
23a24469ed Refactor minion store
- Extends env variable `MINIO_BUCKET` for more flexibility over bucket name
- Introduces env variable for `MINIO_PATH_PREFIX` for flexibility over bucket paths
- Decouples minio client from New method
- Provides methods for generating bucket name, object name with path using bucket related env variables
- Adds tests
- Fixes issue#295
2021-12-22 21:12:07 +05:30
Tomaž Jerman
d700d76c39 Allow format QL nodes to properly format their arguents 2021-12-21 10:06:06 +01:00
Tomaž Jerman
907cb25ceb Add support for multipart/form-data request parsing 2021-12-21 09:11:51 +01:00
Denis Arh
92c0c3feb7 Add support for additional argument when invoking Corredor script 2021-12-17 12:59:24 +01:00
Denis Arh
922243605d Refactored and cleanedup workflow exection 2021-12-17 12:53:06 +01:00
Vivek Patel
0564fe7190 Add support for role permission cloning
It clones all RBAC rules from one role to another, but also removes all existing rules from role.
2021-12-10 00:54:59 +05:30
Tomaž Jerman
047b647af6 Prevent envoy from panicking for automation blocks with no references 2021-12-09 16:41:16 +01:00
Tomaž Jerman
59ef8da1ac Fix panicking report filter marshaling when invalid 2021-12-09 15:55:53 +01:00
Tomaž Jerman
08ef5ab104 Add missing entry to the expr type registry 2021-12-09 15:09:24 +01:00
Peter Grlica
3473a26793 Added int caster to gval functions 2021-12-08 10:21:50 +01:00
Peter Grlica
d5001341ad Added unix strftime support to gval functions 2021-12-08 10:21:50 +01:00
Peter Grlica
96a1c1de96 Added unit test 2021-12-06 13:19:53 +01:00
Peter Grlica
e433f3303a Added json postfilter, HttpRequest custom type 2021-12-06 13:19:52 +01:00
Tomaž Jerman
96556f545b Add support for CLI record import 2021-12-02 17:44:47 +01:00
Denis Arh
f2bec9b390 Force codegen to skip processing on error 2021-12-02 10:48:59 +01:00
Denis Arh
f53c23311e Refactor role security, support it for ext. auth flow 2021-11-23 15:09:04 +01:00
Tomaž Jerman
c5b730b524 Make the passwordSecurity .env variable caution clearer 2021-11-22 13:48:21 +01:00
Tomaž Jerman
420b5ee195 Implement support for base password constraints 2021-11-22 13:36:32 +01:00
Tomaž Jerman
14450dc45f Add support for setting oauth token TTL 2021-11-17 12:57:12 +01:00
Tomaž Jerman
597484914d Properly handle ID-like report filter responses 2021-11-15 10:16:17 +01:00
Denis Arh
5aafe5319b Improve how JWT is generated from the CLI 2021-11-10 14:18:17 +01:00
Denis Arh
a385fe1c18 Fix unstable RBAC check 2021-11-09 15:12:31 +01:00
Tomaž Jerman
5afc715f9a Fix improper page block ref validation for yaml encode 2021-11-08 16:34:53 +01:00
Tomaž Jerman
032566d902 Fix compose page YAML marshal for unconfigured page blocks 2021-11-05 08:57:05 +01:00
Denis Arh
e8bc614155 Make RBAC rule migration more robust 2021-11-03 12:02:28 +01:00
Denis Arh
614d2b3015 Initial support for plugins 2021-11-02 18:45:08 +01:00
Peter Grlica
351a9b6c1c Added base64 encoder to expressions 2021-11-02 18:40:51 +01:00
Peter Grlica
2a8a3bfdb4 Added WaitFor to queue eventbus consumer 2021-11-02 18:40:51 +01:00
Denis Arh
402006bebb Support recording and searching actionlogs 2021-10-28 09:43:26 +02:00
Denis Arh
556ffc5ec4 Fixes res. translation enc/dec (accents, html) 2021-10-21 20:49:33 +02:00
Denis Arh
4cd54a58f8 Remove fallback to base language in case of missing translation 2021-10-21 16:10:15 +02:00
Denis Arh
0b69d1a2e3 Support SMTP server config via setting with dynamic reload 2021-10-21 11:45:23 +02:00
Peter Grlica
6142371a87 Added Bytes type, fixed locale regen 2021-10-19 08:56:31 +02:00
Peter Grlica
94d1e89ac3 Refactored messagebus out of service layer 2021-10-19 08:56:31 +02:00
Denis Arh
59ffe768a8 Fix create and update with unique constraints
When creating or updating resource that did not match unique constraint
filters, check wrongly reported not-unique error when matching (and
valid) resource was found in the store.

This fix adds explicit check if resource to be stored does not match
constraint filters and skips the rest of the constraint checking
procedure.
2021-10-13 17:35:32 +02:00