3
0
Commit Graph

1417 Commits

Author SHA1 Message Date
Denis Arh
fee5c2be8f Change scopes for ext. auth, use "user:email" for github 2019-09-30 14:44:45 +02:00
Denis Arh
d34d8bf9f3 Refactored auth settings
Auth settings update/reload reimplemented to remove the need
for restart after initial run and settings autodiscovery
2019-09-30 14:25:54 +02:00
Denis Arh
a2bd3d31f8 Cast IDs from uint64 to string 2019-09-30 13:16:10 +02:00
Denis Arh
c0b238fee1 Merge branch 'feature-imp-exp' 2019-09-30 12:57:40 +02:00
Denis Arh
8302bdbff4 Move ref. resolve at the very end of page imp. 2019-09-30 11:39:51 +02:00
Denis Arh
262d01f7af Improve trigger condition imp/exp handling 2019-09-30 10:45:02 +02:00
Denis Arh
04ee38d9e3 Make sure test role handle is valid 2019-09-30 10:20:40 +02:00
Denis Arh
6d6cfe17f7 Fix module importer error msg & test 2019-09-30 10:20:40 +02:00
Denis Arh
c7fc68794e Refresh CRM provision configuration 2019-09-30 10:20:40 +02:00
Denis Arh
f273124791 Add missing provision permission rule 2019-09-30 10:20:40 +02:00
Denis Arh
126673e4fc Fix a. script import issues 2019-09-30 10:20:40 +02:00
Denis Arh
4df77a9c0a Fix module import issues, improve error handling/reporting 2019-09-30 10:20:40 +02:00
Denis Arh
0ec9156e29 Remove drop table from old system db migrations 2019-09-30 10:20:40 +02:00
Denis Arh
0c7fd610ff Improv provisioning order on monolith 2019-09-30 10:20:40 +02:00
Denis Arh
618f18f620 Change how system provision state is detected
We can not check for roles as they are pre-inserted in the (db) migration
files - we count perm. rules for admins & everyone
2019-09-30 10:20:40 +02:00
Denis Arh
ebf771f45f Add dev-branch-build step for drone-ci, more compact config 2019-09-30 10:20:40 +02:00
Denis Arh
d92f16902b Fix tests (adopt new a.script constraints, change provisioning) 2019-09-30 10:20:40 +02:00
Denis Arh
c240bb6a20 Refactored configuration provisioning 2019-09-30 10:20:40 +02:00
Denis Arh
792c2aa62d Remove namespace & permission provisioning from old migration files 2019-09-30 10:20:40 +02:00
Denis Arh
b892dbfd38 Add support for exp/imp calendar module refs 2019-09-30 10:20:40 +02:00
Denis Arh
5601a09550 Improve compose importer
Add tests, comments
Roles are no longer dynamicly synced from system service
but hard coded. This is a temp solution
2019-09-30 10:20:40 +02:00
Denis Arh
1302f243f4 Add tests, basic messaging importer 2019-09-30 10:20:40 +02:00
Denis Arh
d8a8e311f0 Update role importer, add tests 2019-09-30 10:20:39 +02:00
Denis Arh
9c37d6d4e2 Automation script exp/imp, tweaking compose exporters 2019-09-30 10:20:39 +02:00
Denis Arh
1f4e0bb06a Minor modifications to export logic to keep exports small 2019-09-30 10:20:39 +02:00
Denis Arh
54f2a3dab3 Permission exporting 2019-09-30 10:20:39 +02:00
Denis Arh
5278ae217f Prefix user grpc service & messages, add role finder 2019-09-30 10:20:39 +02:00
Denis Arh
c3682ca05c Add importer tests 2019-09-30 10:20:39 +02:00
Denis Arh
748caac786 Export chart report module ref 2019-09-30 10:20:39 +02:00
Denis Arh
823dffdd1b Improve compose resource importing 2019-09-30 10:20:39 +02:00
Denis Arh
8ad87c8824 Move to typed props for ns, fields, charts... 2019-09-30 10:20:39 +02:00
Denis Arh
55da25788f CLI export tool for compose 2019-09-30 10:20:39 +02:00
Denis Arh
6535034d87 Add full support for handle on module/chart/page 2019-09-30 10:20:39 +02:00
Denis Arh
40ab1e22ea Make structs for page block & chart config 2019-09-30 10:20:39 +02:00
Denis Arh
71a78d53a5 Add support for handle, fix tests 2019-09-30 10:20:39 +02:00
Denis Arh
62bc97dbe9 Permissions importer, store & ref logic 2019-09-30 10:20:39 +02:00
Denis Arh
9d5dea7551 Add handle pkg 2019-09-30 10:20:39 +02:00
Denis Arh
838fa8302a Add import/export commands 2019-09-30 10:20:39 +02:00
Denis Arh
9f91a3ae0e Importer for base compose & system elements 2019-09-30 10:20:39 +02:00
Denis Arh
ba9e3bea7e Fix permission rule merge logic
On first merge, new rules were not mark as dirty
2019-09-30 10:20:39 +02:00
Denis Arh
9765fb54a6 Add intg. test for record exporting, more strict param checking 2019-09-30 10:20:15 +02:00
Denis Arh
28f8d23e52 Support for notification mail attachments 2019-09-29 14:20:02 +02:00
Denis Arh
067852b17f Add notification test stub 2019-09-29 14:20:02 +02:00
Denis Arh
c626b82af3 Remove With(ctx) pattern from notifications service 2019-09-29 14:20:02 +02:00
Denis Arh
c244e9becd Refresh makefile help 2019-09-23 19:57:14 +02:00
Denis Arh
7a7646d950 Fix MakeJWT() fn, add list of user's roles 2019-09-23 19:44:19 +02:00
Denis Arh
84be729d97 Fix integration test after perm mutex bugfix 2019-09-23 19:44:19 +02:00
Denis Arh
861afe23ee Add priv/req/vis/multi field flags to protobuf def 2019-09-23 19:44:19 +02:00
Tomaž Jerman
b449e20830 Merge branch 'deferred-scripts' 2019-09-20 12:28:08 +02:00
Tomaž Jerman
fe5e776601 Discard deferred script's result 2019-09-20 12:27:38 +02:00