Tit Petric
38debbb1b1
upd(rbac): user create returns valid user now
2018-12-05 13:27:55 +00:00
Tit Petric
f92d7a96f0
upd(rbac): update tests
2018-12-05 13:27:31 +00:00
Tit Petric
98e490ce88
add(rbac): permissions struct for services
2018-12-04 14:38:31 +01:00
Tit Petric
f2dfffbab2
update:
...
- codegen includes rbac since it's used everywhere,
- update permissions structure naming for title/subtitle
2018-12-04 14:38:31 +01:00
Tit Petric
858d2a7799
upd(rbac): refactor debugging flags to main test file
2018-11-29 19:12:37 +00:00
Tit Petric
187330938b
upd(rbac): change in operations response for roles
2018-11-29 19:11:14 +00:00
Tit Petric
1c9b1d2d7f
upd(internal):
...
- option to disable OIDC via config
- extend TokenEncoder with SetCookie
2018-11-26 16:58:19 +01:00
Denis Arh
f51f0f80a5
Unreads, channel (and message) activity capabilities extended
2018-11-15 16:46:33 +01:00
Denis Arh
277b7412d1
Add support for unread in threads
2018-11-15 16:46:33 +01:00
Denis Arh
0f1f545b90
Add thread participants to msg struct
2018-11-14 05:57:55 +01:00
Denis Arh
d74825b40e
Add security checks for channel, membership updating
2018-11-13 13:56:56 +01:00
Tit Petric
3e7898fbac
add(rbac):
...
- multi delete resources
- check access over multiple resources
- tests
2018-11-12 15:38:35 +01:00
Tit Petric
3ad72640bb
upd(internal):
...
- don't provide fault db connection setting
- prefix is optional, check if we have it
2018-11-09 16:15:51 +01:00
Denis Arh
0ee0951630
Add support for fetching pinned & bookmarked messages
2018-11-08 22:48:55 +01:00
Denis Arh
5b832bbea1
Implement mentions
...
Extends internal type and outgoing structs
2018-11-07 11:21:11 +01:00
Tit Petric
fdf24b3e2c
Refactor for new system service
...
- upd(all): indent spec.json files on all apps
- upd(auth): rename auth app to cmd
- upd(sam): move orgs, teams to system
- upd(system): extend spec.json for check
- upd(codegen): include system/
- upd(codegen): always generate spec files
- upd(sam): references from auth to system
2018-11-05 12:04:04 +01:00
Denis Arh
67c1a47b16
Message pin/reaction events are now sent standalone (w/o message obj)
2018-11-02 18:19:45 +01:00
Denis Arh
242408e83e
Refactor and polish flags (reactions, pins & bookmarks)
2018-11-02 10:07:32 +01:00
Denis Arh
71986df8d3
More options for msg search queries
2018-11-01 14:34:08 +01:00
Denis Arh
7ac8b9b5f7
Redone channel (un)deleting/(un)archiving
2018-10-31 08:36:09 +01:00
Denis Arh
e97cbcea51
Redo service mocking, add ch name & topic length validation
2018-10-30 09:31:47 +01:00
Denis Arh
f8c0ad36d1
Add FindThreads and expose it on websocket endpoint
2018-10-29 13:47:03 +01:00
Denis Arh
6a348f8e55
Pack can(Edit|Reply|Delete) flags with outgoing message
2018-10-28 10:14:28 +01:00
Tit Petric
f78a35b989
add(all): protect metrics with basic auth
2018-10-26 12:43:36 +02:00
Tit Petric
adeefdbeaa
fix(all):
...
- config fixes for singleton values (most)
- add monitor into internal/metrics
- clean up cmd folders to remove monitor
- implement versions on all apps
2018-10-26 11:20:15 +02:00
Denis Arh
44f0ca33e1
Cleanup record-view func signatures & types
2018-10-25 10:26:59 +02:00
Denis Arh
2ec5934d2e
User/channel activity echoing service
2018-10-24 17:17:31 +02:00
Denis Arh
62fa9c4704
Improve session connection handling (presence)
2018-10-24 16:02:52 +02:00
Denis Arh
573e8914ed
Broadcast number of user connections to ws + other ws improvements
2018-10-23 21:23:38 +02:00
Denis Arh
44f212e3ea
Fix websocket disconnection due to misconfiguration
2018-10-23 13:19:32 +02:00
Denis Arh
4f13e8304f
Implement message threads
2018-10-19 15:07:09 +02:00
Denis Arh
58d7506969
Channel creation & membership improvements
...
- channel creation service now handles membership payload
- channel creation service prevents non-unique membership constalations
- adding / removing members is disabled for groups (temp solution)
2018-10-18 10:23:26 +02:00
Denis Arh
ba7181e5ab
Unify join/part structs (json names) with others
2018-10-17 04:24:12 +02:00
Denis Arh
c5d70ef264
Simplified forced-subscription logic
2018-10-16 15:49:10 +02:00
Denis Arh
64aee5a25b
Improve rval for /check endpoint (now uses outgoing.User)
2018-10-14 09:44:11 +02:00
Denis Arh
602f77c2f1
Inject version & build-time info and show it on startup & on /version endpoint
2018-10-14 09:42:48 +02:00
Denis Arh
9f419c2d47
Add basic support for unread messages
2018-10-13 18:02:21 +02:00
Denis Arh
910b5589dd
Channel membership improved
2018-10-07 18:42:54 +02:00
Denis Arh
b07cbbbdd7
Cleanup, comments improved
2018-10-07 08:28:46 +02:00
Denis Arh
377ecf8f0f
Wrap (cast) message REST output to outgoing.Message(Set)
2018-10-07 07:31:27 +02:00
Denis Arh
b09d309f81
Fix broken build after dep update
2018-10-04 19:05:43 +02:00
Denis Arh
cbc83cb515
Add support for commands
2018-10-04 18:03:08 +02:00
Tit Petric
56c4da0778
add(rbac): operations definitions
2018-10-01 15:00:31 +02:00
Denis Arh
a60a673fd5
Update deps
2018-09-29 16:22:10 +02:00
Denis Arh
9d9c10044b
Improve attachment handling
...
- flexible meta data struct for uploaded files
- prevew generator (images only for now)
- using outgoing types for return data (to cover attachment url generation in one place)
2018-09-29 12:02:19 +02:00
Denis Arh
a7f54fb100
Handle missing files (previews)
2018-09-28 16:01:44 +02:00
Denis Arh
12d6557cfe
Remove _test suffix from package name
2018-09-28 15:45:18 +02:00
Denis Arh
9b0c425390
Check access to attachments
2018-09-27 18:24:33 +02:00
Denis Arh
5f7abc2187
Link services & event loop
2018-09-27 18:09:56 +02:00
Denis Arh
bf8f6f4213
Extracted payloads from websocket pkg to internal/payload
2018-09-27 15:37:11 +02:00