3
0

3310 Commits

Author SHA1 Message Date
Denis Arh
5ba8fbb6f4 Disable options docs codegen 2022-02-01 17:55:46 +01:00
Denis Arh
a035e6106f Ported options codegen to cue 2022-01-29 12:18:00 +01:00
Katrin Yordanova
cb34bad61a Update links in CONTRIBUTING.md and README.md 2022-01-28 12:58:52 +02:00
Denis Arh
725f7e9e22 Merge branch '2022.3.x-feature-cuelang' into 2022.3.x 2022-01-26 17:20:22 +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
691481424a Make compose page removal more flexible
Support four delete strategies
 - abort: raise an error of page to be deleted contains subpages
 - force: delete the page regardles of any potential subpages
 - cascade: remove all subpages
 - rebase: remove page and move subpages one level lower (to the place
   where the parent page was)
2022-01-26 15:50:21 +01:00
Denis Arh
43de7ebba7 Add uncommited codegen changes 2022-01-26 15:41:13 +01:00
Denis Arh
b22a4f8ea7 Reuse user from session when issuing oa2 token
This way we keep user's roles in case the list was modified
by external-auth-provider role security
2022-01-25 16:59:37 +01:00
Denis Arh
07440a49df Update corteza-locale dep 2022-01-25 16:43:42 +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
e203300736 Fix logging workflow functions 2022-01-24 17:48:22 +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
f53463a32d Fix session lifetime on sigunp (was set to zero) 2022-01-22 21:02:03 +01:00
Denis Arh
8988bf4f9c Fix failing TestAuthExternalSAMLSuccess test 2022-01-22 16:32:51 +01:00
Denis Arh
ef0588f365 Fix federation node-pairing tests 2022-01-22 16:32:51 +01:00
Denis Arh
f9c8066e2d Implement token validation & identity decoding for websockets 2022-01-21 17:45:01 +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
8e3e3fdf76 Rework how tools (gin, gotest..) are installed, refactor watch command
Support newer version of gin, and add ability to use customize params, use different .env file
2022-01-21 15:30:58 +01:00
Denis Arh
b61fb170bf Add id_token in auth token request
ID token carries personal information about end-users that authenticate on an OpenID Connect flow.
2022-01-20 10:11:44 +01:00
Denis Arh
46675080fe Another set of after-update JWT fixes 2022-01-19 14:55:33 +01:00
Katrin Yordanova
3043fa8111 Update links in CONTRIBUTING.md 2022-01-18 21:50:19 +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
Tomaž Jerman
1a8d262032 Fix namespace import panic if no namespace provided 2022-01-18 21:50:18 +01:00
Katrin Yordanova
3c730369d9 Update corteza_dashboard asset 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
Peter Grlica
937ec1d584 Updated generated files 2022-01-18 21:50:18 +01:00
Denis Arh
60d0d4dd5f Fix attachment automation function label/desc 2022-01-18 21:50:18 +01:00
Denis Arh
29a135843f Minor fix of SAML tests, trim endlines in static files 2022-01-18 21:50:18 +01:00
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Denis Arh
2e0adf43b7 Updated locale and zap, lestrrat-go/jwx, esbuild, goja, gofakeit libs 2022-01-18 21:50:18 +01:00
Jože Fortun
0b7409d7bb Fix reminders websocket 2022-01-14 17:28:45 +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
6eda39f3ad Upgrade jwx goth, jwt deps 2022-01-11 10:53:49 +01:00
Denis Arh
590c4ae4dd Upgrade zap, atomic, grpc deps 2022-01-11 10:53:49 +01:00
Denis Arh
acd8ea0765 Upgrade pgsql, mysql, sqlite deps 2022-01-11 10:53:49 +01:00