3
0

403 Commits

Author SHA1 Message Date
Denis Arh
752997614f Support setting settings values explicitly as strings (--as-string) 2020-02-18 10:39:34 +01:00
Denis Arh
f59910254b Stricter user-by-email/handle/username lookups
Email, handle & username are not unique fields in the db as we need to
allow re-creation of a deleted user with the same email/handle/username
2020-02-18 09:11:57 +01:00
Denis Arh
b0ef8cd2cb Add guards for everyone-role changes 2020-02-18 09:11:48 +01:00
Denis Arh
75f449af04 Fix api specs for organisations
Param group was get instead of path -- that introduced problems in
client api codegen
2020-02-12 13:41:53 +01:00
Denis Arh
db14c2a03e Full sink implementation with proper event & req/resp handling 2020-01-31 00:30:38 +01:00
Denis Arh
5360ed1baa Cover Identifiable scenario for User.FindByAny() 2020-01-31 00:28:05 +01:00
Denis Arh
5b1c0e0548 Add withStack for all ErrInvalidID errors in system 2020-01-31 00:26:36 +01:00
Denis Arh
3548742b85 Flip checking logic for url signature check 2020-01-28 10:13:17 +01:00
Denis Arh
fa9f6cb4bd Initialize sink service w/ default eventbus service 2020-01-28 10:07:02 +01:00
Denis Arh
b89b1d1056 Bundle code serving 2020-01-22 18:07:49 +01:00
Denis Arh
b9cd860bf2 Improve script filtering 2020-01-22 17:39:14 +01:00
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