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
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