3
0

528 Commits

Author SHA1 Message Date
Denis Arh
6c021fb3f9 Fix makefile, dockerfile auth=>system 2018-11-06 10:13:08 +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
8bf8c0dcf6 fix(system): fix compile error after refactor 2018-11-05 13:46: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
d1fba3b3b1 add(codegen): docs codegen for all 2018-11-05 13:37:18 +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
Denis Arh
259e7bac4d Improve user preloading for messages 2018-10-26 10:38:05 +02:00
Denis Arh
828e0d819b Fix unread recording, remove dump leftovers 2018-10-26 10:37:53 +02:00
Denis Arh
a5872e1655 Add a bit of protection for messages fetch 2018-10-26 06:55:31 +02:00
Tit Petric
e36621f016 upd(all): parse uint64 from post arrays 2018-10-25 12:10:35 +02:00
Tit Petric
abc510a133 Merge branch 'master' of github.com:crusttech/crust 2018-10-25 11:52:20 +02:00
Tit Petric
068af15e40 add(crm): implement page reorder api, list pages by selfID 2018-10-25 11:52:11 +02:00
Denis Arh
807ddc924f Suppress user-preloading errors 2018-10-25 11:31:18 +02:00
Denis Arh
0b3ebc9996 Fix for message service - broadcast messages with loaded attachments 2018-10-25 11:09:25 +02:00
Tit Petric
31c38f683c upd(all): json []uint64 should also be encoded as str 2018-10-25 10:52:13 +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
8347a645cb Inc/dec reply counter on original message before sending payload back to clients 2018-10-23 12:58:57 +02:00
Denis Arh
98fb60cf59 Send proper payload back on message edit/delete 2018-10-22 15:12:26 +02:00
Denis Arh
91aa4d6e27 Prevent negative view counts 2018-10-22 15:11:52 +02:00
Denis Arh
6ea52301f4 Fix multipart codegen 2018-10-22 13:24:04 +02:00