3
0

418 Commits

Author SHA1 Message Date
Denis Arh
4ab0b61daa Fix another service loading order issue 2020-03-11 11:55:49 +01:00
Denis Arh
76c15ca84f Add list of roles to internal auth rsp 2020-03-05 11:16:09 +01:00
Denis Arh
86fcfff237 Cleanup auth response, add list of roles 2020-03-04 21:40:53 +01:00
Denis Arh
bed6317d71 Swap service startup order 2020-03-03 18:32:54 +01:00
Denis Arh
743eb8d509 Bug: use proper condition when unmasking email 2020-02-28 17:31:23 +01:00
Denis Arh
9405fb84c3 Improve handle checking & generation 2020-02-28 16:59:32 +01:00
Denis Arh
bb2597b712 Load current settings before cli user ops 2020-02-27 13:46:42 +01:00
Denis Arh
ca78df21f0 User email & name privacy 2020-02-26 20:25:31 +01:00
Denis Arh
83a7707ac0 Remove permissions related to legacy automation 2020-02-26 20:24:44 +01:00
Denis Arh
cc4c3d115e Fix user list output 2020-02-26 14:01:33 +01:00
Denis Arh
efb82f721d Remove obsolete automation files & references to it 2020-02-26 08:32:17 +01:00
Denis Arh
d2fcb352ec Cleanup & refactor protobuf codegen 2020-02-26 08:20:59 +01:00
Denis Arh
991af03db7 More robust event args decoding 2020-02-25 06:53:54 +01:00
Denis Arh
9e14b50bce Add ability to create events with imutable args 2020-02-25 06:47:41 +01:00
Denis Arh
7ce5a13bca Refactor and improve record value sanitization & validation 2020-02-22 06:53:01 +01:00
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