Commit Graph
917 Commits
Author SHA1 Message Date
Tomaž Jerman d95eec9973 Make resource translation sanitization looser
Reuse record value configuration to allow rich text from
content page blocks.
2022-03-14 15:26:54 +01:00
Vivek Patel 84f918a1d7 Add meta column to resource_activity_log table
Also adds resourceID filter in discovery resource routes
2022-03-07 19:26:47 +05:30
Tomaž Jerman 4fd0ddfaaf Prevent workflow worker from stopping in case of delayed steps 2022-03-02 10:05:20 +01:00
Denis Arh 3f7755cd0d Move stacktrace dump level for debug logger to "dpanic" 2022-02-26 11:53:42 +01:00
Tomaž Jerman 8e679bf97c Improve namespace export
* Add RBAC rules
* add resource translations
* slight refactor
2022-02-25 16:48:25 +01:00
Denis Arh c32687e061 Better handling of unresolved (type any) values 2022-02-25 16:13:39 +01:00
Denis Arh f76b94e749 Add extra panic-recovery for websocket write & ping fn 2022-02-22 14:57:46 +01:00
Denis Arh 7bde98697a Corteza discovery
- It provides mappings of corteza resources(Namespaces, Modules, Records, Users) along with values to corteza discovery indexer.
- It also save recordLogs for create, update, deletion of resources.
- Extend settings to hold discovery enabled/disabled flag
- Adds URL of compose resources for namespace and record and for module still pending, added todo with notes to code
2022-02-22 17:13:59 +05:30
Denis Arh a81f35d5a2 Nice api landing & 404 pages 2022-02-21 18:56:09 +01:00
Denis Arh 7fa5e43d08 Add HTTP_SERVER_ASSETS_PATH option
Fix description for AUTH_ASSETS_PATH
2022-02-21 13:45:11 +01:00
Vivek Patel ef904e0cd3 Extend set/omit expr function
It updates 1st parameter of set expr function from merger type to interface, so It will accept constant values, also extend set/omit usage for ComposeRecordValues.
2022-02-18 00:22:21 +05:30
Denis Arh a709f0f411 Refactor, cleanup logger initialisation 2022-02-17 17:21:01 +01:00
Denis Arh 22c47d6ba7 Add webconsole 2022-02-17 17:21:01 +01:00
Denis Arh 32c013f089 Fix broken __routes debug route 2022-02-17 17:21:00 +01:00
Denis Arh f5eaa7aedf Add HTTP file-server helper 2022-02-17 17:21:00 +01:00
Denis Arh e0bcaf8662 Add route with access to server-log buffer 2022-02-17 17:21:00 +01:00
Denis Arh 2082908f39 Improve HTTP server startup, add wrapping handler
HTTP server now initializes much earlier and mounts "waiting"
router with debugging, version and health check routes.

When server is fully activated it switches to "active"
router.

Shutdown stage is also handled with catch-all route.
2022-02-17 17:21:00 +01:00
Tomaž Jerman 330a332fdd Generate additional IDs for reports 2022-02-17 16:27:47 +01:00
Peter Grlica c8946e5e76 Fix BufferedReader, updated tests 2022-02-17 15:00:16 +01:00
Peter Grlica e822ad7c06 Fixed read request body, added read request body wf function, added more tests 2022-02-17 15:00:16 +01:00
Peter Grlica 78237d3b5b Optimized jsenv wf handler 2022-02-17 15:00:16 +01:00
Tomaž Jerman 9142c7b5a3 Add support for user export/import 2022-02-17 13:11:50 +01:00
Tomaž Jerman d841aad13b Fix improper user email lookup un envoy 2022-02-17 13:11:50 +01:00
Tomaž Jerman da1828642c Expand envoy.Resource defs for easier state access 2022-02-17 13:11:50 +01:00
Denis Arh 7fd719364e Fix options defaults (Defaults() fn must be called before fill()) 2022-02-16 20:34:37 +01:00
Tomaž Jerman 78cb155be3 Fix count expr function when typed values are used 2022-02-14 13:40:06 +01:00
Denis Arh d74239c735 Improve HTTP server startup, add wrapping handler
HTTP server now initializes much earlier and mounts "waiting"
router with debugging, version and health check routes.

When server is fully activated it switches to "active"
router.

Shutdown stage is also handled with catch-all route.
2022-02-13 18:52:59 +01:00
Denis Arh e833796aaa Fix actionlog's meta type enc/dec 2022-02-12 12:27:01 +01:00
Denis Arh 1949782ccd Remove unused CustomRowScanner & RowScanners features from store 2022-02-12 09:00:13 +01:00
Denis Arh 53dd7cc292 Validate token and resolve identity from token earlier in the chain. 2022-02-09 10:58:47 +01:00
Denis Arh d103d60a3d Refactor option definitions 2022-02-08 09:13:56 +01:00
Tomaž Jerman 849ac9410c Use custom token middleware to use JWT via query params 2022-02-07 09:21:31 +01:00
Tomaž Jerman 38a32ddeb3 Fix inconsistent NULL ordering with PGSQL <-> MySQL 2022-02-07 09:21:31 +01:00
Vivek Patel 760aec1c18 Update argument type of set expr function
It changes 3rd argument type os set expr function from TypedValue to interface, since GvalParser parses argument to native types before evaluating the expression.
2022-02-07 09:21:31 +01:00
Denis Arh a035e6106f Ported options codegen to cue 2022-01-29 12:18:00 +01:00
Denis Arh 0ea543b2a2 Migrate codegen for fed&automation, remove old def dir 2022-01-26 17:18:34 +01:00
Denis Arh 74d6eabf94 Various template & def fixes 2022-01-26 16:27:38 +01:00
Denis Arh 1284371bb3 Add cue tooling & codegen to makefile 2022-01-26 16:27:36 +01:00
Denis Arh 52209c476b Port all v3 codegen to cue-based codegen 2022-01-26 16:25:54 +01:00
Denis Arh a437913f85 Migrate codegen for envoy to CUE 2022-01-26 16:25:53 +01:00
Denis Arh 3568d0841e Migrate codegen for locale to CUE 2022-01-26 16:25:53 +01:00
Denis Arh c19ee84f5d Base CUE, def, schemas 2022-01-26 16:25:53 +01:00
Denis Arh 43de7ebba7 Add uncommited codegen changes 2022-01-26 15:41:13 +01:00
Denis Arh a4e5d2691a Fix invoker/runner mixup & move exec access-control check higher 2022-01-25 15:34:50 +01:00
Denis Arh 9fe21dd8ce Tweaked CORS settings 2022-01-22 21:47:51 +01:00
Denis Arh 6c7d89a921 Fix user-id claim parsing 2022-01-22 21:47:36 +01:00
Denis Arh 6c3bef0750 Refactor token-issuer (ex-jwt) to be more robust and configurable 2022-01-21 15:31:10 +01:00
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