3
0

210 Commits

Author SHA1 Message Date
Denis Arh
ea68306872 Add missing context for channel lookup 2019-10-31 16:58:33 +01:00
Denis Arh
10dd0226c1 Settings service cleanup
Remove intermediate settings service layer
2019-10-31 00:06:27 +01:00
Denis Arh
ba3d1967c5 Cleanup settings endpoint, expose setting struct on API 2019-10-30 20:23:54 +01:00
Denis Arh
1aebc456b0 Add improve settings for messaging 2019-10-30 18:00:40 +01:00
Denis Arh
4cd4077f2d Refactor messages repo, fix channels 2019-10-29 10:06:14 +01:00
Denis Arh
f422867469 Refactor flag & mention repos 2019-10-29 10:06:14 +01:00
Denis Arh
6cc7569834 Cleanup (partial) message repo utils 2019-10-29 10:06:14 +01:00
Denis Arh
93ceb60a42 Replace r.fetchSet with rh.FetchAll 2019-10-29 10:06:14 +01:00
Denis Arh
fffeb84abb Refactor channel-members repo 2019-10-29 10:06:14 +01:00
Denis Arh
f5baa1ce7a Remove old migration code 2019-10-29 10:06:14 +01:00
Denis Arh
780f4094a0 Update squirrel lib, move from gopkg.in to github.com 2019-10-29 10:06:14 +01:00
Denis Arh
608c4fe91d Refactor channel repo 2019-10-29 10:06:14 +01:00
Denis Arh
953cda26bb Fix record finder tests 2019-10-29 10:06:14 +01:00
Denis Arh
76e11a3e3a Refactor current-time helpers 2019-10-29 10:06:14 +01:00
Denis Arh
92eadbba99 Restructure and move system settings to types pkg
This change affects:
 - provision files for settings
 - database entries (added migration script)
 - how struct is used accross the system services
2019-10-28 19:03:32 +01:00
Denis Arh
609b70ea9f Refactor db-query-level access control 2019-10-16 19:28:48 +02:00
Tomaž Jerman
729eae9a6e Fix provision tests 2019-10-16 12:47:37 +02:00
Tomaž Jerman
737bd9f155 Improve tests 2019-10-16 12:47:37 +02:00
Tomaž Jerman
5a4985cbdc Tweak permission export flag's description 2019-10-16 12:47:37 +02:00
Tomaž Jerman
df8bf18360 Cleanup permission exporting 2019-10-16 12:47:37 +02:00
Tomaž Jerman
983390e85b Add messaging setting import/export 2019-10-16 12:47:37 +02:00
Tomaž Jerman
ed45f8e348 Add provisions for messaging & compose settings 2019-10-16 12:37:37 +02:00
Tomaž Jerman
8aee952aa9 Add settings service to messaging 2019-10-16 12:37:37 +02:00
Denis Arh
d23e421e20 Add minio store capabilities to messaging 2019-10-15 15:30:28 +02:00
Denis Arh
aa469e53e9 Add MinIO support 2019-10-15 13:22:57 +02:00
Denis Arh
e754a2fe0b Refactor & simplify internal (plain) storage
Default internal storage becomes "plain" storage
Open() fn now returns io.ReadSeeker instead of afero.File
2019-10-15 12:57:07 +02:00
Denis Arh
8ca797e2d2 Renam aux.go to default.go
disallowed path element "aux.go" on go get
2019-10-09 19:15:53 +02:00
Denis Arh
d130e7e641 Fix tools & specs (internal => pkg) 2019-10-01 18:21:09 +02:00
Denis Arh
f493f4fb6b Move internal/permissions to pkg/permissions 2019-10-01 17:53:20 +02:00
Denis Arh
ebfa4cbffd Move internal/payload to pkg/payload 2019-10-01 17:51:39 +02:00
Denis Arh
82bf6e3617 Move internal/store to pkg/store 2019-10-01 17:50:24 +02:00
Denis Arh
52901a9385 Move internal/http to pkg/http 2019-10-01 17:49:59 +02:00
Denis Arh
62aa794b84 Move internal/auth to pkg/auth 2019-10-01 17:47:43 +02:00
Denis Arh
f5f0096035 Remove internal/test pkg 2019-10-01 17:42:26 +02:00
Denis Arh
77ce40cf1a Move version, rand and organisation pkgs (internal=>pkg) 2019-10-01 17:42:26 +02:00
Denis Arh
6fbb270c05 Rename AdminRoleID to AdminsRoleID for consistency 2019-10-01 13:54:49 +02:00
Denis Arh
f9c3cd0065 Refactor & enabled log() fn in all services 2019-09-30 19:50:04 +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
1302f243f4 Add tests, basic messaging importer 2019-09-30 10:20:40 +02:00
Denis Arh
08e9d5af5b Permission testing 2019-09-10 03:46:59 +02:00
Denis Arh
cfbaeb4bb8 Refactored all relevant messaging integration tests 2019-09-10 01:59:45 +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
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
aa5fc27d85 Remove internal/ from messaging 2019-09-09 13:04:12 +02:00
Tomaž Jerman
55e9181360 Fix message flag filter 2019-09-09 08:57:45 +02:00