3
0

184 Commits

Author SHA1 Message Date
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
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
Denis Arh
498502ed74 Remove debug lines from tests 2019-08-29 14:29:24 +02:00
Tit Petric
c94a8a5c5b add tests for beforemessageid parameter in messageRpo.Find 2019-08-29 14:12:17 +02:00
Denis Arh
9f58f8e83e Migrate storage path to options.StorageOpt struct 2019-08-14 17:09:43 +02:00
Denis Arh
aabff3df6e Add sentry wrapper, improve recover() logic 2019-08-14 17:07:56 +02:00
Denis Arh
c1e3231d00 Add support for membership policy, featured channels 2019-08-08 11:43:51 +02:00
Tit Petric
f472ac05d1 fixes after database profiler/logger refactor 2019-08-06 20:27:56 +00:00
Denis Arh
8a5ca66fce Clear all threads when marking channel as read 2019-07-19 23:13:15 +02:00
Denis Arh
f86d3eb4d7 Remove uneeded sorting conditions 2019-07-19 23:04:12 +02:00
Denis Arh
ba3b59acd3 Unread refactoring, moving logic to backend 2019-07-19 22:03:39 +02:00
Denis Arh
b006cb8784 Additional ws session check before writing
Avoiding reported "invalid memory address or nil pointer dereference"
2019-07-16 09:01:01 +02:00
Denis Arh
09aeaac5d7 Refactor app bootstraping, improve ext provider autodiscovery 2019-07-14 13:58:27 +02:00
Denis Arh
ab4b74620f Improve settings auto-discovery, make it provisionable 2019-07-14 11:24:43 +02:00
Denis Arh
60ad32e440 Add support for error (panic) reporting through Sentry 2019-07-03 16:35:06 +02:00
Denis Arh
ae85cb8158 Adjust message sorting when doing after/before & from/to filtering
cortezaproject/corteza-webapp-messaging#35
2019-07-02 17:10:34 +02:00
Denis Arh
70cac41579 Enhance user filtering
New response structure
Use query-builder
Refactor user service & repo
2019-06-26 17:45:26 +02:00
Denis Arh
118d8292ba Improve unread support for frontend (precounts etc...) 2019-06-26 10:46:07 +02:00
Denis Arh
3744bc9636 Minor unread fixes (do not serve count=0, proper filtering when counting) 2019-06-26 09:04:10 +02:00
Denis Arh
49f55fd327 Do not include deleted channels in the list 2019-06-25 13:00:36 +02:00
Denis Arh
bb447ee795 Chan & thread unread fixes 2019-06-25 08:45:22 +02:00
Denis Arh
95758fb689 Do not send channel event on membership flag is set/removed 2019-06-21 14:53:54 +02:00
Denis Arh
8309e6e710 Fix multival (string) requst param parsing (for POST) 2019-06-21 14:23:12 +02:00
Denis Arh
b7f78cdf91 Fix multival (string) request param parsing 2019-06-20 11:04:30 +02:00
Denis Arh
ac98a62593 Add default channel creation on setup 2019-06-19 17:53:20 +02:00
Denis Arh
6456a5b78a Extract autosetup 2019-06-19 17:53:20 +02:00