3
0
Commit Graph

64 Commits

Author SHA1 Message Date
Denis Arh
c944402352 Implement constraint checking for messaging 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
5eac027541 Cleanup options, remove obsolete, rename jwt to auth 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
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
Tomaž Jerman
3c68b3b770 Simplify message delete permission check 2019-11-19 18:20:09 +01:00
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
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
fffeb84abb Refactor channel-members repo 2019-10-29 10:06:14 +01:00
Denis Arh
608c4fe91d Refactor channel repo 2019-10-29 10:06:14 +01:00
Denis Arh
609b70ea9f Refactor db-query-level access control 2019-10-16 19:28:48 +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
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
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
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
Tit Petric
a971142b73 upd(all): move repository and service to internal 2019-03-14 22:21:34 +01:00
Denis Arh
2296181cc1 Add fallback (allow) for channel creation 2019-03-12 19:15:19 +01:00
Denis Arh
a6f02008fe Fix permission check for message filtering and make it conditional 2019-03-12 18:10:11 +01:00
Denis Arh
e352f065c3 Add /permissions/effective endpoint, missing operations 2019-03-12 17:51:18 +01:00
Mitja Zivkovic
601599abae upd(messaging): message permission checks 2019-03-12 01:01:03 +01:00
Mitja Zivkovic
9f494a37f9 upd(messaging) channel permission checks 2019-03-12 01:01:03 +01:00
Mitja Zivkovic
ddc47af582 upd(messaging): remove unneeded check 2019-03-11 11:47:36 +01:00
Mitja Zivkovic
73c9debe2f upd(system) rename permission service to rules 2019-03-11 11:47:36 +01:00
Denis Arh
8d43907bd6 Basic (rest) structure for page & record/module attachments 2019-03-01 00:30:46 +01:00
Mitja Zivkovic
b6ac8f9305 upd(internal): permission check order 2019-02-28 19:48:38 +03:00
Mitja Zivkovic
91dd128598 rem(messaging) channel update check 2019-02-28 19:48:15 +03:00