3
0

392 Commits

Author SHA1 Message Date
Denis Arh
9fd7adcaa2 Implements script security, add on-manual sec. check 2020-01-22 07:46:49 +01:00
Denis Arh
c26704b4cb Fix broken tests, typos 2020-01-21 10:52:56 +01:00
Denis Arh
90a2bde536 Fix imports on settings & users command 2020-01-18 07:06:54 +01:00
Denis Arh
c86f83b8ed Port legacy mail matching to event(bus) 2020-01-18 07:05:35 +01:00
Denis Arh
22496a3418 More precies matching for sink request event 2020-01-18 07:05:35 +01:00
Denis Arh
8cb2c4c03d Implement constraint checking for system events 2020-01-18 07:05:35 +01:00
Denis Arh
abf4d106bb Improve eventbus & constraints handling
Constraints are now preparsed into active structs
that can be used for matching
2020-01-18 07:05:35 +01:00
Denis Arh
ded83ff5db Improve onManual trigger for all resources 2020-01-18 07:05:35 +01:00
Denis Arh
1e096d1abc Unify trigger endpoint names 2020-01-18 07:05:35 +01:00
Denis Arh
1195534dcd Automation REST handler & filter cleanup 2020-01-18 07:05:35 +01:00
Denis Arh
4d6cb13f70 Add basic automation script exporting 2020-01-18 07:05:34 +01:00
Denis Arh
c0d1594eb3 Refactors corredor initialization, run-as logic & trigger execution 2020-01-18 07:05:34 +01:00
Denis Arh
5eac027541 Cleanup options, remove obsolete, rename jwt to auth 2020-01-18 07:05:34 +01:00
Denis Arh
63f03a2111 Refactor eventbus, scheduler, corredor for naming consistenct 2020-01-18 07:05:34 +01:00
Denis Arh
2955e70a6e Refactor system & compose services for (eventbus) dep. injection 2020-01-18 07:05:34 +01:00
Denis Arh
ebb9b70bfe Add REST API endpoints for manual automation script triggering 2020-01-18 07:05:34 +01:00
Denis Arh
487fd1501b Refactor event firing
Adds generated events for compose, system and messagign
New & refactored event firing support types
All event firing services refactored
2020-01-18 07:05:34 +01:00
Denis Arh
e7504dd35f Add FindByAny, Stringer for users 2020-01-18 07:05:34 +01:00
Denis Arh
7dbd14899f Remove old automation/corredor logic 2020-01-18 07:05:34 +01:00
Denis Arh
29902db2b1 Refactor & improve application initialization 2020-01-18 07:05:10 +01:00
Denis Arh
0caeab25c6 Fix env var order in settings autodiscovery
If set, LETSENCRYPT_HOST and VIRTUAL_HOST are more likely to be different then DOMAIN
2020-01-18 07:00:45 +01:00
Denis Arh
7ae7b6f445 When setting settings value, fallback to quoted string in case of json syntax error 2020-01-18 06:56:53 +01:00
Denis Arh
eabd98dce0 Run settings cli op in superuser context 2020-01-18 06:56:06 +01:00
Denis Arh
eaaef92d04 Fix & improve user cli cmd listing & filtering
Fix broken query and add ability to limit and filter list of users
2020-01-18 06:52:59 +01:00
Denis Arh
6f0a7efb96 Fix OIDC registration 2020-01-10 17:09:08 +01:00
Denis Arh
25793a9230 External auth: generate redirectUrl if not explicitly set 2019-12-12 09:16:55 +01:00
Denis Arh
660b731b97 Change product logo, colors in email 2019-12-04 19:19:13 +01:00
Denis Arh
995fd6352e Codegen on old spec-change 2019-12-04 19:18:48 +01:00
Tomaž Jerman
f763dc26fc Improve auth errors for invalid users 2019-12-03 16:48:58 +01:00
Denis Arh
ea7470acc4 Regenerate mocks 2019-11-19 18:18:11 +01:00
Denis Arh
bfe81deacc Add system metrics & stats
Add repo, svc & rest endpoint for user, role & app metrics:
total, deleted, suspended, archived, ... counters
2019-11-18 13:08:12 +01:00
Denis Arh
20ffec0b21 Fix db col name typo 2019-11-15 17:45:29 +01:00
Denis Arh
d86c8f24b6 Improve role, user and app management
Add support for undelete, unarchive/unsuspend
Add extra filters for deleted, archived and suspended roles, users and apps
2019-11-14 22:02:07 +01:00
Denis Arh
a47c2ce7ee User API now returns deleted/suspended user 2019-11-13 22:15:03 +01:00
Tomaž Jerman
68cdcc7227 Remove page normalizers
Unneeded.
2019-11-13 13:42:35 +01:00
Denis Arh
9efd7421eb Add Service Cloud application 2019-11-13 10:52:44 +01:00
Denis Arh
876f3a7ed0 Application sorting & filtering 2019-11-12 14:37:21 +01:00
Tomaž Jerman
a9785c921f Fix repo permission filtering 2019-11-08 20:06:14 +01:00
Tomaž Jerman
af5da175dc Fix user query lapsus 2019-11-08 15:34:47 +01:00
Denis Arh
5a72a239e4 Normalize sort columns in user rest controller
Client's get User props that are named a bit differently than
internal props & db columns (createdAt vs created_at)
2019-10-31 22:38:22 +01:00
Denis Arh
7a75c64211 Change crust/corteza OIDC provider label 2019-10-31 10:57:19 +01:00
Denis Arh
567260ffa5 Fix auth settings bug (mixed name & address fields) 2019-10-31 10:32:30 +01:00
Denis Arh
a54ac08b43 External provider logic fixed & cleaned-up 2019-10-31 09:53:02 +01:00
Denis Arh
10dd0226c1 Settings service cleanup
Remove intermediate settings service layer
2019-10-31 00:06:27 +01:00
Denis Arh
ba3d1967c5 Cleanup settings endpoint, expose setting struct on API 2019-10-30 20:23:54 +01:00
Denis Arh
93c10fbf24 Add privacy.mask.* settings 2019-10-30 17:59:48 +01:00
Denis Arh
05f0647804 Refactor (auth) settings, enable update w/o restart 2019-10-30 12:58:17 +01:00
Denis Arh
63bfb18259 Add ability to provision (partial) unexisting settings
We moved a couple of strings from code to provision files and
we need to handle existing systems accordingly
2019-10-29 12:56:26 +01:00
Denis Arh
98f43ad35f Fix column def. for reminders 2019-10-29 10:06:14 +01:00
Denis Arh
6cc7569834 Cleanup (partial) message repo utils 2019-10-29 10:06:14 +01:00