3
0

253 Commits

Author SHA1 Message Date
Denis Arh
5a8df3f246 Mask sensitive settings values
Closes #14
2019-08-25 12:44:31 +02:00
Denis Arh
c671de3df7 Adopt new protobuf structure, automation code cleanup 2019-08-24 17:49:48 +02:00
Denis Arh
5bfafd4adc Support run-as for automation scripts
Add grpc-server capabilities for system service (make jwt, find user by id)
Add jwt generation (via grpc) to compose for run-as automation-scripts
Add SuperUser for system-level tasks and operations that are ran in the background w/o initiator
and require permision checking
2019-08-23 13:49:36 +02:00
Tomaž Jerman
5f35988dd7 Fix paging offset 2019-08-22 13:52:19 +02:00
Tit Petric
f472ac05d1 fixes after database profiler/logger refactor 2019-08-06 20:27:56 +00:00
Denis Arh
72672f6202 Add more logging + support for PROVISION_SETTINGS_AUTH_EXTERNAL_* 2019-07-18 14:47:42 +02:00
Denis Arh
2586919c6b Ability to provision OIDC w/o full redir-url verification 2019-07-18 14:47:01 +02:00
Denis Arh
0e1575f90f Add ability to provision OIDC providers from ENV
PROVISION_OIDC_PROVIDER="name provider-url"
2019-07-17 13:41:24 +02:00
Denis Arh
12c7ae682d Add missing auto-discovery setting 2019-07-15 15:28:15 +02:00
Denis Arh
14f1fe4b58 Refactor & merge external auth settings 2019-07-15 14:57:25 +02:00
Denis Arh
de26f15c8e Refactor auth settings auto-discovery to new file 2019-07-15 11:57:14 +02:00
Denis Arh
d92fd8a2e2 Better frontend url discovery 2019-07-15 11:33:52 +02:00
Denis Arh
3602132a13 Extend settings management CLI command
Add --prefix flag to remove multiple values
2019-07-15 11:33:23 +02:00
Denis Arh
5f7bd696cf Properly cast provider name to label 2019-07-15 07:51:38 +02:00
Denis Arh
09aeaac5d7 Refactor app bootstraping, improve ext provider autodiscovery 2019-07-14 13:58:27 +02:00
Denis Arh
ab4b74620f Improve settings auto-discovery, make it provisionable 2019-07-14 11:24:43 +02:00
Denis Arh
00bad0cfce More robust external auth flow 2019-07-13 17:39:00 +02:00
Denis Arh
669a2435e4 Do not test auto-promotion path 2019-07-11 22:33:32 +02:00
Denis Arh
dd66f0398b Fix nasty little bug with user-autopromotion 2019-07-09 17:59:11 +02:00
Denis Arh
879dfd6709 Fix typo in column name 2019-07-08 19:27:46 +02:00
Denis Arh
60ad32e440 Add support for error (panic) reporting through Sentry 2019-07-03 16:35:06 +02:00
Denis Arh
4973638e2a Simplify code for existing-user check in signup 2019-07-03 14:37:07 +02:00
Denis Arh
751f93894a Fix user counter 2019-07-03 14:36:45 +02:00
Denis Arh
6dc85c849d Improve role membership management through REST API 2019-07-02 18:48:42 +02:00
Denis Arh
0d299e0f32 Add ability to change password of another user 2019-06-26 19:15:01 +02:00
Denis Arh
70cac41579 Enhance user filtering
New response structure
Use query-builder
Refactor user service & repo
2019-06-26 17:45:26 +02:00
Denis Arh
4433ef2c37 Add success message to system REST endpoints (delete, suspend...) 2019-06-26 13:32:07 +02:00
Denis Arh
8309e6e710 Fix multival (string) requst param parsing (for POST) 2019-06-21 14:23:12 +02:00
Denis Arh
b7f78cdf91 Fix multival (string) request param parsing 2019-06-20 11:04:30 +02:00
Denis Arh
05429d1192 Link directly to .../pages when auto-adding CRM app 2019-06-20 09:58:00 +02:00
Denis Arh
2e9e48f873 Add settings exporting capabilities 2019-06-19 19:50:46 +02:00
Denis Arh
10f124a008 Fix auto-promotion of the first user 2019-06-19 19:20:03 +02:00
Denis Arh
1960fd7a51 Add default app creation on setup 2019-06-19 18:26:52 +02:00
Denis Arh
6020381de1 Extract autosetup code for compose and system 2019-06-19 17:53:20 +02:00
Denis Arh
ba1118eb4f Update documentation 2019-05-29 22:42:42 +02:00
Denis Arh
328bdeda07 Update mocks & tests 2019-05-28 20:53:35 +02:00
Denis Arh
c23e04440c Add goth init to api server pre-run flow 2019-05-28 20:50:33 +02:00
Denis Arh
bc64abca3f Add auto-enable to OIDC auto-discovery command
Auth auto-discovery command can now be called with --enable
switch to enable discovered provider AND entire external
auth
2019-05-28 20:50:05 +02:00
Denis Arh
e338b0e2c1 Improve handling of settings from CLI
- settings list: aligned values
 - support importing settings from STDIN or file
 - support removal of multiple settings at the same time
2019-05-28 20:47:49 +02:00
Denis Arh
22724b11cf Better error/exit handling in CLI 2019-05-28 19:55:43 +02:00
Denis Arh
8e98ba4cb0 Auto-promote user on sign-up to admin if there are no valid users 2019-05-28 19:35:38 +02:00
Denis Arh
5c750fb7cf Fix handler/request codegens
Missing return caused malformed response output:
{"error":{"message":"invalid username/password combination"}}{"response":false}

Remove param logging when params.Fill() returns an error
2019-05-28 10:51:56 +02:00
Denis Arh
22476933f4 Improve cli env setup & running 2019-05-26 08:41:20 +02:00
Denis Arh
36b32fa2fe Move logger package from internal to pkg 2019-05-24 13:30:48 +02:00
Denis Arh
908e232ac4 More flexible "system", move to Corteza
- more control over starting procedure, cli commands...
 - fix package paths
 - remove separated system-cli entrypoint
 - renaming symbols, comments, strings from Crust to Corteza
2019-05-24 12:40:12 +02:00
Tit Petric
4c166d92c6 Update codegen for cleanup/less verbosity 2019-05-22 16:37:53 +02:00
Denis Arh
d798821793 Rename external provider to crust Unify 2019-05-20 10:16:38 +02:00
Tit Petric
68dc98ad92 add(all): test files for type-set
Signed-off-by: Tit Petric <black@scene-si.org>
2019-05-19 15:58:39 +02:00
Denis Arh
f1443a076f Remove obsolete errors (pt2) 2019-05-16 14:55:28 +02:00
Denis Arh
94d459eb7d Rename handlers/request receivers 2019-05-16 00:52:50 +02:00