3
0

1341 Commits

Author SHA1 Message Date
Denis Arh
afc97cfbb4 Add simple integ. tests & stubs for system 2019-09-10 19:41:16 +02:00
Denis Arh
9cedb5f71b Simplify message test setup 2019-09-10 19:40:56 +02:00
Denis Arh
0f500dfdbb Add basic intg. tests to compose & system 2019-09-10 05:00:55 +02:00
Denis Arh
08e9d5af5b Permission testing 2019-09-10 03:46:59 +02:00
Denis Arh
4e5288cce4 Add permission intg. tests 2019-09-10 02:55:09 +02:00
Denis Arh
778feb3967 Remove Debug() leftovers 2019-09-10 02:12:45 +02:00
Denis Arh
2988cdb071 Add placeholders for missing messaging int. tests 2019-09-10 02:06:06 +02:00
Denis Arh
cfbaeb4bb8 Refactored all relevant messaging integration tests 2019-09-10 01:59:45 +02:00
Denis Arh
c1226e1f7a Improve tests, simplify helpers 2019-09-09 20:00:24 +02:00
Denis Arh
a32874ded6 Add integration tests for messages 2019-09-09 19:16:35 +02:00
Denis Arh
bda0563c9e Updated (integration tests) Drone-CI yml 2019-09-09 13:04:56 +02:00
Denis Arh
ae3d74992e Added integration tests for channels 2019-09-09 13:04:12 +02:00
Denis Arh
d04cbbb058 Add testify's require package 2019-09-09 13:04:12 +02:00
Denis Arh
09af44a9ed Fix access-control on member removal 2019-09-09 13:04:12 +02:00
Denis Arh
42be30587f Fix add member (owner => member) 2019-09-09 13:04:12 +02:00
Denis Arh
fd0c6a3dea Extra channel type-check on creation 2019-09-09 13:04:12 +02:00
Denis Arh
15c003fe3c Refactor channel service, extract find-by-id code 2019-09-09 13:04:12 +02:00
Denis Arh
904b38c3e3 Message attachment check fixed
Replace allow-by-default with same condition we have for sending messages to channel
2019-09-09 13:04:12 +02:00
Denis Arh
b2d678f758 Add permissions.TestService
Allows usage of permissons service w/o persistant backend
2019-09-09 13:04:12 +02:00
Denis Arh
18191b28aa Makefile improvements
Make watcher more robust by appending || exit 0
Revert back to GOTEST variable to allow use of other go-test utilities, like
  rakyll/gotest
2019-09-09 13:04:12 +02:00
Denis Arh
437127448a Extend store to accept other afero.Fs structs
This enables us to write better tests, without
poluting the FS
2019-09-09 13:04:12 +02:00
Denis Arh
73e0180600 Remove internal/ from compose 2019-09-09 13:04:12 +02:00
Denis Arh
7d21d68bba Remove internal/ from system 2019-09-09 13:04:12 +02:00
Denis Arh
aa5fc27d85 Remove internal/ from messaging 2019-09-09 13:04:12 +02:00
Denis Arh
e1de2fbc41 Add basic integeration test infrastrcuture, apitest package 2019-09-09 13:04:11 +02:00
Denis Arh
6957d2842d Add integration test "manifesto" 2019-09-09 13:04:11 +02:00
Tomaž Jerman
55e9181360 Fix message flag filter 2019-09-09 08:57:45 +02:00
Denis Arh
b4142b35fa Update protobuf, regen proto code 2019-09-06 09:16:48 +02:00
Denis Arh
289380b614 Regenerated code 2019-09-05 19:55:19 +02:00
Denis Arh
f43fe718ce Merge branch 'mail-automation' 2019-09-05 19:38:12 +02:00
Denis Arh
872f80ae46 Add missing operator on header matcher test 2019-09-05 19:37:55 +02:00
Denis Arh
d27e18fce7 Remove obsolete makefile task 2019-09-05 19:18:31 +02:00
Denis Arh
ca38697b5b Simplify automation permissions 2019-09-05 09:34:27 +02:00
Denis Arh
a2dc8e96fe Load script runner's roles 2019-09-04 23:09:15 +02:00
Denis Arh
7be6ee738e Fix mail conditions, polishing 2019-09-04 21:35:11 +02:00
Denis Arh
14acd129d0 Signature for /sink requests 2019-09-03 20:23:10 +02:00
Denis Arh
8c2953a7fc Improve mail header matching, add runner watcher 2019-09-03 18:29:25 +02:00
Denis Arh
cc13c0e27d Add initial sink endpoint & service impl. 2019-09-03 14:59:12 +02:00
Denis Arh
6b5ef8aaae Basic system autuomation, mail processing 2019-09-03 09:09:44 +02:00
Denis Arh
78660c47ec Fix minor typos in compose 2019-09-02 08:29:28 +02:00
Denis Arh
0792f04262 Mail GW automation basics
- automation service for runner, script, trigger
 - mailproc service for email parsing
 - MailMessage type & protobuf
2019-09-01 15:33:16 +02:00
Denis Arh
0a3e2ea7e5 Add standard error responses on attachment ctrls 2019-08-30 14:40:49 +02:00
Denis Arh
0ab59c791b Reorganize & move ctrls under route groups 2019-08-30 14:40:49 +02:00
Tomaž Jerman
ff54adac97 Merge branch 'record-import' 2019-08-29 18:54:03 +02:00
Tomaž Jerman
0cb542cb9e Make import fail reason a string 2019-08-29 18:48:45 +02:00
Tomaž Jerman
530731736b Add tests 2019-08-29 18:48:45 +02:00
Tomaž Jerman
986c69a812 Provide entry count 2019-08-29 17:48:42 +02:00
Tomaž Jerman
a8b5e3b063 Add record importing from json & csv 2019-08-29 17:48:42 +02:00
Tomaž Jerman
bdda1685c6 Add library for better mimetype detection 2019-08-29 17:48:42 +02:00
Tomaž Jerman
d0647f0f89 Define record import routes 2019-08-29 17:48:42 +02:00