Denis Arh
1387f56f35
Fix bug when creating new group chan
2018-12-02 07:39:53 +01:00
Tit Petric
6a3fd9bc3b
upd(codegen): follow golang standard pkg layout
2018-11-25 11:41:46 +01:00
Tit Petric
338b340998
upd(sam,system): moved system tables away from sam
2018-11-24 20:41:36 +00:00
Tit Petric
297ffda5ad
add(all): migrations for tests, statik update
2018-11-24 19:50:07 +00:00
Tit Petric
7aff95096e
upd(sam): drop old events tables, unused
2018-11-24 18:57:37 +00:00
Tit Petric
5a747d746f
del(sam): remove unused proto file
2018-11-24 18:56:31 +00:00
Tit Petric
491efca67b
del(codegen): remove all go:generate macros
2018-11-21 15:54:13 +01:00
Tit Petric
9feda8823b
upd(sam): rename generated perms files, move codegen
2018-11-21 15:01:12 +01:00
Denis Arh
e5ff3ae7b3
Improve type-set generator, apply to system, sam
2018-11-21 07:02:57 +01:00
Denis Arh
8c488b83b0
Count unread messages on mark-as-unread
2018-11-19 08:52:32 +01:00
Denis Arh
eabd0b2314
Tweak security rules for channel fetching
2018-11-15 17:14:17 +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
01dee6f85c
Fix sec check for channel join/part
2018-11-13 16:05:26 +01:00
Denis Arh
d74825b40e
Add security checks for channel, membership updating
2018-11-13 13:56:56 +01:00
Denis Arh
c5f49b347e
Fix channel changing system messages
2018-11-13 11:03:43 +01:00
Tit Petric
9494271380
add(crm): chart mock api and statik codegen
2018-11-12 15:40:18 +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
Denis Arh
db5f7623e5
Message flag repo struct renamed (from reaction to messageFlag)
2018-11-07 11:21:11 +01:00
Denis Arh
8dd11b6b0e
Send back changed message
2018-11-06 10:07:20 +01:00
Tit Petric
170c0a13ee
upd(sam): spec.js naming convention update
2018-11-05 16:14:31 +01:00
Tit Petric
3963aa9653
fix(sam): spec for attachments
2018-11-05 15:09:54 +01:00
Tit Petric
72e34f77d7
add(system): user, teams and orgs apis, refactor auth
2018-11-05 13:38:25 +01:00
Tit Petric
ae9e60b967
upd(all): codegen docs update
2018-11-05 13:37:49 +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
52cd5d33da
Move messages search rest endpoint under /search/messages, add controller, fix searching by query
2018-11-01 11:49:17 +01:00
Denis Arh
c0c0a88aeb
Allow nameless (groups) channels
2018-10-31 13:07:30 +01:00
Denis Arh
2fb769ab57
Fix *%!s(MISSING)* when channel is created
2018-10-31 10:12:24 +01:00
Denis Arh
af204260c4
Add missing repo call for unarchiving
2018-10-31 09:37:09 +01:00
Denis Arh
7ac8b9b5f7
Redone channel (un)deleting/(un)archiving
2018-10-31 08:36:09 +01:00
Denis Arh
a14980bb5e
Disable message lenght validation
2018-10-30 12:21:45 +01:00
Denis Arh
77011522bc
Flip order of chan-deleted and msg-about-chan-deleted events
...
This will force clients to unsubscribe from deleted channels and ignore the chan-delete message.
2018-10-30 11:52:47 +01:00
Denis Arh
cc1e914987
Improved system messages on channel rename/join/part...
2018-10-30 09:54:17 +01:00
Denis Arh
deddcb1c5d
Message length validation
2018-10-30 09:48:39 +01:00
Denis Arh
e97cbcea51
Redo service mocking, add ch name & topic length validation
2018-10-30 09:31:47 +01:00
Tit Petric
07c5c866f5
upd(sam): codegen for permissions booleans
2018-10-29 14:22:33 +01:00
Denis Arh
f8c0ad36d1
Add FindThreads and expose it on websocket endpoint
2018-10-29 13:47:03 +01:00
Denis Arh
8c2d91122d
Fix tests, add new mock for auth/svc/users
2018-10-29 13:47:03 +01:00
Denis Arh
5006a14935
FindMessages now only selects messages from channles we have access to
2018-10-29 13:47:03 +01:00
Tit Petric
9a8bef927d
upd(tests): skip migrations in short mode, add t.Skip to crm
2018-10-29 10:56:18 +01:00
Denis Arh
ca7075dd38
Remove dup event sending on thread reply
2018-10-28 10:42:23 +01:00
Denis Arh
6a348f8e55
Pack can(Edit|Reply|Delete) flags with outgoing message
2018-10-28 10:14:28 +01:00
Tit Petric
8a2e07b2b4
fix(sam): nil pointer dereference race
2018-10-26 14:01:16 +02: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