3
0

379 Commits

Author SHA1 Message Date
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
Denis Arh
780f4094a0 Update squirrel lib, move from gopkg.in to github.com 2019-10-29 10:06:14 +01:00
Denis Arh
76e11a3e3a Refactor current-time helpers 2019-10-29 10:06:14 +01:00
Denis Arh
64b28bfde8 Refactor role & user repo, cleanup 2019-10-29 10:06:14 +01:00
Denis Arh
9717e48f84 Refactor application repo 2019-10-29 10:06:14 +01:00
Denis Arh
c9daa375c2 Refactor user repo 2019-10-29 10:06:14 +01:00
Denis Arh
ce1acec909 Refactor reminder repo 2019-10-29 10:06:14 +01:00
Tomaž Jerman
d395f6da19 Fix typo 2019-10-29 10:03:57 +01:00
Denis Arh
9f090f355a Add support for subscriptions 2019-10-28 21:07:43 +01:00
Denis Arh
92eadbba99 Restructure and move system settings to types pkg
This change affects:
 - provision files for settings
 - database entries (added migration script)
 - how struct is used accross the system services
2019-10-28 19:03:32 +01:00
Denis Arh
51db7cbb36 Fix provision test
We do not insert any perm. rules for Everyone so we should not
check for their existence in the isProvisioned() fn
2019-10-28 19:03:32 +01:00
Denis Arh
b9b1646633 Fix user listing
Problem with nil check in whereMasked (user repo)
2019-10-25 15:19:36 +02:00
Tomaž Jerman
d37c172563 Improve system email settings 2019-10-23 18:28:16 +02:00
Tomaž Jerman
1f7006d4ba Replace static email content with settings content 2019-10-18 10:38:59 +02:00