3
0
Commit Graph

57 Commits

Author SHA1 Message Date
Tomaž Jerman
79f3c4ba46 Add provision for report migration 2022-09-30 10:07:47 +02:00
Denis Arh
4bb8270189 Fix DAL implementation with Envoy 2022-08-23 08:12:38 +02:00
Denis Arh
554ae45ddf Various DAL connection improvements & config reorg 2022-08-15 16:57:42 +02:00
Denis Arh
cbfb1d49bd Refactor model ident validation 2022-08-08 13:25:32 +02:00
Denis Arh
015d8ada6e Refactor module-model conversion
Remove redundant parts of config (eg partititoned flag),
refactored and cleand-up field-to-attribute conversion
2022-08-08 13:19:01 +02:00
Tomaž Jerman
9e1375e99a Refactor DAL capabilities into operations and properties 2022-08-02 12:57:22 +02:00
Denis Arh
23e97f96e4 Remove all pre-2022.9.x migrations 2022-07-04 13:09:41 +02:00
Vivek Patel
c1412615b9 Fix pagination issue in migration of rbac resource rules 2022-07-04 13:03:39 +02:00
Vivek Patel
46e8f4d283 Fix migration of rbac resource rules 2022-07-04 13:02:03 +02:00
Denis Arh
bdd9318f93 Refactor and improve DAL implementation and init
Changes:
 - Boot initialization follows standard impl
 - Improved DAL connection management (adding, reloading, removing)
 - Cleaner and more detailed logging
 - Primary store connection is now reused when added to DAL
2022-07-01 18:13:54 +02:00
Tomaž Jerman
11e82354fe Temporarily disable DAL for provisioning 2022-06-14 12:08:18 +02:00
Vivek Patel
86431fe82f Add rest endpoints for chart translations
It allows saving/updating yAxis label and metric label translations
2022-06-14 13:17:44 +05:30
Tomaž Jerman
a70087ace8 Refactor primary DAL connection to be preserved in DB 2022-05-30 15:43:03 +02:00
Denis Arh
773d64636f Refactored store codegen, replace squirrel with goqu 2022-04-23 16:34:04 +02:00
Tomaž Jerman
330a332fdd Generate additional IDs for reports 2022-02-17 16:27:47 +01:00
Denis Arh
e8bc614155 Make RBAC rule migration more robust 2021-11-03 12:02:28 +01:00
Denis Arh
179381ef08 Improve workflow & system tests, logging
A set of changes touching different parts of system
all related to initialization of system users and
groups
2021-10-03 17:53:41 +02:00
Tomaž Jerman
a122d75b8f Improve RBAC rule migration logic
* Add missing federation rule edgecases
* Properly construct resource paths using parent resources
2021-10-01 10:08:58 +02:00
Denis Arh
50e5d1a9f8 Remove res-tr table truncate, fix field & expr labels migration 2021-09-24 19:06:49 +02:00
Denis Arh
cf35691c56 Implement res. tr. for compose page & module 2021-09-22 11:26:14 +02:00
Denis Arh
04fa1d47d2 Resource translation migration 2021-09-22 11:26:14 +02:00
Denis Arh
f375070236 Role name consolidation 2021-08-18 19:58:27 +02:00
Denis Arh
2d78ae423c Remove PROVISION_SETTINGS_ and replace it with importing setting yaml 2021-08-06 15:09:20 +02:00
Denis Arh
fcec5d7ec7 Fix access to auth email templates (switch to service user) 2021-07-27 16:28:34 +02:00
Denis Arh
a05c8ce34f Add support for base, fed and automation partial provisioning 2021-07-22 07:33:02 +02:00
Denis Arh
ef28b1a4af Rename migration functions (6->9) 2021-07-22 07:32:57 +02:00
Denis Arh
895dd61007 Rename migration files (6->9) 2021-07-16 13:21:24 +02:00
Denis Arh
b459bd3558 Remove obsolete settings (ns switcher, one) 2021-07-16 13:19:08 +02:00
Denis Arh
dca5757fe7 Add system user to context for system CLI ops 2021-07-15 12:31:51 +02:00
Denis Arh
5962d19cd0 Fix external auth provider management 2021-07-14 21:38:52 +02:00
Denis Arh
20e05280b3 System wide RBAC changes 2021-07-08 11:42:18 +02:00
Denis Arh
b923953ca5 Removing superuser logic 2021-07-08 11:24:12 +02:00
Denis Arh
48e1d0e4aa Optimized boot levels order & logic 2021-07-08 11:23:18 +02:00
Denis Arh
46f86dbd21 Role migration 2021-07-08 11:22:11 +02:00
Denis Arh
6a6f74d4a6 Refactored resource/role logic 2021-07-08 11:22:11 +02:00
Denis Arh
28e1774cd2 Rework/cleanup log stacktrace level, add LOG_STACKTRACE_LEVEL to control it 2021-05-21 06:58:41 +02:00
Denis Arh
090f65335a Small improvements for PROVISION_SETTINGS_AUTH_EXTERNAL_ env var 2021-05-09 20:28:07 +02:00
Denis Arh
73995b2307 Minor improvement to app migration procedure 2021-04-29 07:46:07 +02:00
Denis Arh
dca7a7fde2 Remove RedirectURI provisioning for def. client
This caused too much confusion on simple setup.
For sites that need more secure setup, this can be filled-in at the
later point
2021-04-13 13:42:06 +02:00
Denis Arh
4c42222be4 Fix auth client provision
It uses configured default auth client handle for check
and create default client on provision
2021-04-11 13:03:16 +02:00
Denis Arh
6b0c32d956 Add redirect URI info when provisioning client 2021-04-03 21:52:17 +02:00
Denis Arh
34e835ed3c Unlist messaging app on upgrade 2021-03-29 07:45:34 +02:00
vicky
126034f0f6 - removed not used call of sval.String() from migrateEmailTemplates
- Added pointer as second argument of Unmarshal call in MarshalYAML
2021-03-28 09:25:55 +02:00
Peter Grlica
5a159838ba Added partial provisioning of rbac rules for auth clients 2021-03-26 13:11:17 +01:00
Denis Arh
5189f47727 Add back prog. role provisioning 2021-03-18 13:42:07 +01:00
Denis Arh
79ed77a379 Fixed typos across the codebase (can not, cannot) 2021-03-17 17:25:05 +01:00
Denis Arh
0cb01f9570 Cleanup provisioning
Remove programatic role provisioning and compl. rely on yaml files
2021-03-14 15:59:15 +01:00
Denis Arh
2405ebb187 Add support for partial config (provisioning) import 2021-03-12 08:14:53 +01:00
Denis Arh
53e0c2838f Migrate auth&general email templates from settings 2021-03-12 07:59:35 +01:00
Denis Arh
893a2af23d Disable messaging app 2021-03-09 07:59:32 +01:00