Denis Arh
bc64abca3f
Add auto-enable to OIDC auto-discovery command
...
Auth auto-discovery command can now be called with --enable
switch to enable discovered provider AND entire external
auth
2019-05-28 20:50:05 +02:00
Denis Arh
e338b0e2c1
Improve handling of settings from CLI
...
- settings list: aligned values
- support importing settings from STDIN or file
- support removal of multiple settings at the same time
2019-05-28 20:47:49 +02:00
Denis Arh
22724b11cf
Better error/exit handling in CLI
2019-05-28 19:55:43 +02:00
Denis Arh
8e98ba4cb0
Auto-promote user on sign-up to admin if there are no valid users
2019-05-28 19:35:38 +02:00
Denis Arh
9ac42647b9
Fix realize watch paths
2019-05-28 19:34:39 +02:00
Denis Arh
bf5ecad7b6
Update README.md, product intro text
2019-05-28 18:59:09 +02:00
Denis Arh
4d06b3e942
Improve logging info when connecting to the database
2019-05-28 18:56:37 +02:00
Denis Arh
1f8c2930c3
Fix integration tests
2019-05-28 12:51:46 +02:00
Denis Arh
6c6728a642
Fix .drone.yml image tag
2019-05-28 11:17:43 +02:00
Denis Arh
5c750fb7cf
Fix handler/request codegens
...
Missing return caused malformed response output:
{"error":{"message":"invalid username/password combination"}}{"response":false}
Remove param logging when params.Fill() returns an error
2019-05-28 10:51:56 +02:00
Denis Arh
22476933f4
Improve cli env setup & running
2019-05-26 08:41:20 +02:00
Denis Arh
36b32fa2fe
Move logger package from internal to pkg
2019-05-24 13:30:48 +02:00
Denis Arh
53308a2d33
Fix, update & refresh build, test & CI tools
2019-05-24 12:47:37 +02:00
Denis Arh
b732894109
Fix codegen and its outputs
2019-05-24 12:46:30 +02:00
Denis Arh
5a9bce44e8
Cleanup internal, vendors, cleanup cmd/*
...
Introduces /pkg for non-intenral packages
2019-05-24 12:44:56 +02:00
Denis Arh
b66ed81136
More flexible "compose", move to Corteza
...
- more control over starting procedure, cli commands...
- fix package paths
- renaming symbols, comments, strings from Crust to Corteza
2019-05-24 12:42:35 +02:00
Denis Arh
243052402d
More flexible "messaging", move to Corteza
...
- more control over starting procedure, cli commands...
- fix package paths
- renaming symbols, comments, strings from Crust to Corteza
2019-05-24 12:42:04 +02:00
Denis Arh
908e232ac4
More flexible "system", move to Corteza
...
- more control over starting procedure, cli commands...
- fix package paths
- remove separated system-cli entrypoint
- renaming symbols, comments, strings from Crust to Corteza
2019-05-24 12:40:12 +02:00
Tit Petric
4c166d92c6
Update codegen for cleanup/less verbosity
2019-05-22 16:37:53 +02:00
Denis Arh
0611e4b9c3
Add missing namespaceID when updating page
2019-05-21 19:08:03 +02:00
Denis Arh
d3678cc564
Remove required flag from slug param (compose namespaces)
2019-05-20 20:34:28 +02:00
Denis Arh
d9c6d68319
Flag messaging message as sensitive data (not to be loged)
2019-05-20 19:22:41 +02:00
Denis Arh
8b79c26a87
Fix attachment access-control
2019-05-20 19:17:21 +02:00
Denis Arh
4a629c0ea9
Add 'canGrant' flag on chart, module, namespace, page & trigger
...
Currently, all these flags point to service-level operation 'grant' on 'compose' resource.
2019-05-20 18:24:39 +02:00
Denis Arh
3b81f88957
Add AC check for page reorder
2019-05-20 18:15:45 +02:00
Denis Arh
0bf5d5d24f
Fix comments on permissions Check() function
2019-05-20 15:37:16 +02:00
Denis Arh
68387f6bd2
Fix bug in AccessControl check when user does not have any roles
2019-05-20 14:14:53 +02:00
Denis Arh
d798821793
Rename external provider to crust Unify
2019-05-20 10:16:38 +02:00
Denis Arh
d3e9362c12
Add missing service context in attachment & record controllers
2019-05-20 07:20:33 +02:00
Tit Petric
68dc98ad92
add(all): test files for type-set
...
Signed-off-by: Tit Petric <black@scene-si.org>
2019-05-19 15:58:39 +02:00
Tit Petric
4a6798ea3f
upd(internal/http): perform internal test for http client
...
Signed-off-by: Tit Petric <black@scene-si.org>
2019-05-19 14:41:15 +02:00
Tit Petric
ccc50012ce
upd(all): produce an accurate code coverage ( #120 )
...
Signed-off-by: Tit Petric <black@scene-si.org>
2019-05-19 14:31:36 +02:00
Tit Petric
537a8d2060
upd(messaging): remove external tests for webhooks
...
Signed-off-by: Tit Petric <black@scene-si.org>
2019-05-19 12:49:09 +02:00
Tit Petric
fa6543b38f
upd(messaging): remove dependencies on system
2019-05-19 12:05:54 +02:00
Denis Arh
f1443a076f
Remove obsolete errors (pt2)
2019-05-16 14:55:28 +02:00
Denis Arh
b0b466e23f
Remove obsolete errors
2019-05-16 12:37:05 +02:00
Denis Arh
0baf38fdb5
Protect record values on non-updatable fields
2019-05-16 11:31:41 +02:00
Denis Arh
55a0e613a6
Prevent module field name & type changes
2019-05-16 11:00:21 +02:00
Denis Arh
83e95a870c
Improve compose module create/update, round created/updated-at values
2019-05-16 01:51:11 +02:00
Denis Arh
94d459eb7d
Rename handlers/request receivers
2019-05-16 00:52:50 +02:00
Denis Arh
8abccd62b1
Updated requests & handlers after codegen tmpl change
2019-05-16 00:44:17 +02:00
Denis Arh
1c1643fbe7
Add support for auditable params
...
With Auditable() func on request structs we can now be more selective
about params we want to log:
- sensitive data (with sensitive flag on params)
- filesize & name on uploads
2019-05-16 00:43:54 +02:00
Denis Arh
7468f0a855
Refactor permission whitelist to maintain stable sort order
2019-05-15 21:16:13 +02:00
Denis Arh
a3aeae64d3
Make "enabled" field for namespace not required
2019-05-15 17:52:12 +02:00
Denis Arh
e0121d3a53
Same API endpoint for permission signature over three services
2019-05-15 11:16:34 +02:00
Denis Arh
669820cdde
Add permission.Whitelist Flatten() func
...
It generates json-rest friendly structure
2019-05-15 11:14:21 +02:00
Denis Arh
cc89435b9d
Improve permission rules flush procedure
2019-05-15 11:13:38 +02:00
Denis Arh
3931e151ac
Implement basic record/value-module/field access control
2019-05-14 17:09:39 +02:00
Denis Arh
c15eb72b06
Cleanup testing procedures
...
- remove "unit" build flag
- make sure tests without build flag (integration, external) run
without deps
- move unit-tests step in front of "docker image build" drone pipeline
2019-05-14 14:51:57 +02:00
Denis Arh
e50d016a38
Run drone docker image build steps in parallel
2019-05-14 14:22:33 +02:00