3
0

282 Commits

Author SHA1 Message Date
Tit Petric
f1337bc487 upd(rbac): add resource grants and checkaccess 2018-08-16 18:49:18 +02:00
Tit Petric
44e3bf1dc7 del(crm): unused error.go 2018-08-15 22:10:15 +02:00
Tit Petric
af3a677ffb upd(sam tests): use namsral flag 2018-08-15 20:38:32 +02:00
Tit Petric
c4abac4877 upd(rbac): rename common test code to convention 2018-08-15 20:37:52 +02:00
Tit Petric
3be95b53e2 add(crm): import tests 2018-08-15 20:31:58 +02:00
Tit Petric
4a40060fbe upd(crm): test friendly refactoring, gofmt 2018-08-15 20:31:38 +02:00
Tit Petric
e7d28b005b upd(crm): update db schema 2018-08-15 20:30:56 +02:00
Tit Petric
ca4f10f3e5 upd(crm spec): composite jsontext fields on module 2018-08-15 20:30:34 +02:00
Tit Petric
a2f6982387 add(makefile): coloring of coverage with grep 2018-08-15 20:29:56 +02:00
Tit Petric
9959ce8fba fix(sam): go vet fix for ptr receiver 2018-08-15 18:15:12 +02:00
Tit Petric
1a8b9dc6ba add(crm): implement content service/repository 2018-08-15 18:08:39 +02:00
Tit Petric
4f64d77b6a upd(crm): type spec update 2018-08-15 18:08:39 +02:00
Tit Petric
d2f0ab908b upd(codegen): re-add minimal type generation 2018-08-15 18:08:39 +02:00
Tit Petric
60264dfcab upd(codegen): delete sam symlink 2018-08-15 18:08:39 +02:00
Tit Petric
92484d6ba4 upd(codegen): xargs fix, debug codegen to stderr 2018-08-15 18:08:39 +02:00
Tit Petric
69e1333722 upd(crm): update sql for module content 2018-08-15 18:08:28 +02:00
Tit Petric
3ba1eb9a22 upd(crm): refactor crm service layer 2018-08-15 16:29:06 +02:00
Tit Petric
0489373ca8 fix(sam): keep canonical sigctx 2018-08-15 14:04:29 +02:00
Denis Arh
d50eefba9f Fix (missing comma 2018-08-08 12:58:43 +02:00
Denis Arh
d12acbf756 Update deps 2018-08-08 12:57:35 +02:00
Denis Arh
a140eea1ba Fix broken messages & logic for del/undel/arch/unarch 2018-08-07 21:50:59 +02:00
Denis Arh
79ca22b9a8 Use id instead of cid in JSON fields for incomming messages 2018-08-07 21:31:44 +02:00
Denis Arh
72ac78bca7 Output @<userid> in channel change-log messages 2018-08-07 21:31:18 +02:00
Denis Arh
636d2c05c7 Support for channel add through WS 2018-08-07 21:11:42 +02:00
Denis Arh
f61b706559 Implements lst of users + active state 2018-08-07 19:35:14 +02:00
Denis Arh
94aed69d37 Move EventQueueItem under types package 2018-08-05 23:35:55 +02:00
Denis Arh
80f1c78eed Rename WS session files 2018-08-05 23:32:55 +02:00
Denis Arh
3009d20fcc Codegen/spec cleanup (remove struct) 2018-08-05 23:31:03 +02:00
Denis Arh
cd85f1b608 Add support for user creation 2018-08-05 23:23:47 +02:00
Denis Arh
baae815899 Implement event loop 2018-08-05 22:14:45 +02:00
Denis Arh
045063dd03 Remove cli chat client 2018-08-05 22:14:45 +02:00
Denis Arh
8889716189 Add capability to terminate SAM server with CTRL+C 2018-08-05 22:14:45 +02:00
Denis Arh
ce1284f1b3 Cleanup JSON field names for all types 2018-08-05 22:14:45 +02:00
Tit Petric
8256270ed7 add(sam):, pprof, goroutine num in expvar 2018-08-03 20:48:46 +02:00
Tit Petric
dd2f377a48 upd(sam): update monitor, add new fields, restructure 2018-08-03 19:16:12 +02:00
Tit Petric
0dd0b44d96 add(sam): basic memory/goroutine monitor 2018-08-03 17:59:00 +02:00
Tit Petric
c79693a47a upd(build.sh): enable partial build with param 2018-08-03 17:58:36 +02:00
Tit Petric
61bc2f96e2 upd(vendor): dep update 2018-08-03 17:20:06 +02:00
Tit Petric
b8e1cd83cc upd(style): go-critic fixes 2018-08-03 17:17:16 +02:00
Denis Arh
01d8ba54a4 Make repository code consistant (use r.db()) 2018-08-03 16:48:26 +02:00
Denis Arh
8abe6b227f Simplify selects 2018-08-03 16:47:58 +02:00
Denis Arh
136a837e18 Improve service & repo layer, add support for direct messages 2018-08-03 00:04:22 +02:00
Denis Arh
43b416e369 Update titpetric/factory 2018-08-02 22:25:27 +02:00
Denis Arh
8a2423673b Fix repository tests & transaction handling 2018-07-30 11:48:25 +02:00
Denis Arh
a6e86066f4 Fix repository tests 2018-07-30 08:00:12 +02:00
Tit Petric
49bfdc26f8 add(vendor): gomock 2018-07-30 06:56:03 +02:00
Denis Arh
af6ba60e6d Mock generator with repository mocks 2018-07-30 06:56:03 +02:00
Denis Arh
baae430adc Refactor repository, add support for transactions 2018-07-30 06:56:03 +02:00
Tit Petric
463afa77d0 upd(websocket): clean up main loop, expect encoded payloads 2018-07-30 00:38:06 +02:00
Tit Petric
0b8b11555a rename to fit structure 2018-07-30 00:15:09 +02:00