3
0

Commit Graph

  • dd2f377a48 upd(sam): update monitor, add new fields, restructure Tit Petric 2018-08-03 19:16:12 +02:00
  • 0dd0b44d96 add(sam): basic memory/goroutine monitor Tit Petric 2018-08-03 17:59:00 +02:00
  • c79693a47a upd(build.sh): enable partial build with param Tit Petric 2018-08-03 17:58:36 +02:00
  • 61bc2f96e2 upd(vendor): dep update Tit Petric 2018-08-03 17:20:06 +02:00
  • b8e1cd83cc upd(style): go-critic fixes Tit Petric 2018-08-03 17:17:16 +02:00
  • 01d8ba54a4 Make repository code consistant (use r.db()) Denis Arh 2018-08-03 16:48:26 +02:00
  • 8abe6b227f Simplify selects Denis Arh 2018-08-03 16:47:58 +02:00
  • 136a837e18 Improve service & repo layer, add support for direct messages Denis Arh 2018-08-03 00:04:22 +02:00
  • 43b416e369 Update titpetric/factory Denis Arh 2018-08-02 22:25:27 +02:00
  • 8a2423673b Fix repository tests & transaction handling Denis Arh 2018-07-30 11:48:25 +02:00
  • a6e86066f4 Fix repository tests Denis Arh 2018-07-30 08:00:12 +02:00
  • 49bfdc26f8 add(vendor): gomock Tit Petric 2018-07-29 21:36:32 +00:00
  • af6ba60e6d Mock generator with repository mocks Denis Arh 2018-07-29 23:33:33 +02:00
  • baae430adc Refactor repository, add support for transactions Denis Arh 2018-07-29 23:31:23 +02:00
  • 463afa77d0 upd(websocket): clean up main loop, expect encoded payloads Tit Petric 2018-07-30 00:38:06 +02:00
  • 0b8b11555a rename to fit structure Tit Petric 2018-07-30 00:15:09 +02:00
  • 9bfa4a0554 upd(all): update vendored code Tit Petric 2018-07-29 23:22:36 +02:00
  • 5a347dddb5 Types structs reduced & simplified Denis Arh 2018-07-29 16:37:41 +02:00
  • a5df66e5e1 Setting channel topic & renaming Denis Arh 2018-07-29 02:05:32 +02:00
  • 99eac17751 Add created/updated fields for new & updated messages Denis Arh 2018-07-29 01:19:42 +02:00
  • 66d7cd7193 Add connected/disconnected messages Denis Arh 2018-07-29 01:06:36 +02:00
  • 34bf58d5b1 Simplify outgoing message encoding with json.Marshaler Denis Arh 2018-07-29 00:17:46 +02:00
  • ab8aaf619b Add simplistic cli chat helper Denis Arh 2018-07-28 17:50:02 +02:00
  • 926005d2cc Rework channel-related commants, sending messages Denis Arh 2018-07-28 17:49:41 +02:00
  • 4e215e64d3 Improve websocket request handling (value of a concret request instead of ptr to payload) Denis Arh 2018-07-28 14:32:15 +02:00
  • 99d38e5068 Fix vet issues Denis Arh 2018-07-28 12:20:55 +02:00
  • 1b06a0ffdb Implement JWT expiration Denis Arh 2018-07-28 12:16:33 +02:00
  • c02fec809f Redo auth flags Denis Arh 2018-07-28 12:01:33 +02:00
  • 99401065a7 Add channel to delete message Denis Arh 2018-07-28 11:20:44 +02:00
  • d4e6731b1e Simplified and reduced repository code Denis Arh 2018-07-28 10:04:07 +02:00
  • e5a183734e Makefile cleanup Denis Arh 2018-07-28 09:33:12 +02:00
  • 3768cddbe7 Update titpetric/factor Denis Arh 2018-07-28 09:03:50 +02:00
  • 7ec0879169 Add support for removing/adding channel memmbers Denis Arh 2018-07-28 08:58:45 +02:00
  • f51033e814 Add channel members/join/part/invite endpoints Denis Arh 2018-07-27 00:16:52 +02:00
  • 3d6f2165bd Stabilize SAM repositroy. Denis Arh 2018-07-26 23:59:29 +02:00
  • 52dbc4c0c3 Fix naming (Id -> ID), add names to interface arguments Denis Arh 2018-07-26 20:29:09 +02:00
  • d886a98740 Implements JWT authorization along with some refactoring Denis Arh 2018-07-26 20:12:14 +02:00
  • faeec5e21d upd(websocket): implement more websocket apis, structs Tit Petric 2018-07-26 00:06:52 +02:00
  • 13ec17494e fix(sam): rename mesage to message (typo fix) Tit Petric 2018-07-26 00:06:15 +02:00
  • 76d93e3a76 upd(sam/websocket): general cleanup re: dispatch, prepare byte send to not re-encode msgs Tit Petric 2018-07-25 19:28:56 +02:00
  • ddbe9ce952 upd(sam): larger refactor of field names, websocket pkg layout Tit Petric 2018-07-25 18:07:56 +02:00
  • d0ea82b683 Add WebSocket basic comm Denis Arh 2018-07-25 13:20:02 +02:00
  • a7a5d0011f add(make): include gocritic checks with make critic Tit Petric 2018-07-23 17:42:07 +02:00
  • 6e30992a67 upd(vendor): factory database context, resputil logger Tit Petric 2018-07-23 17:22:10 +02:00
  • 6aaac36b51 upd(rbac): more tests, go fmt Tit Petric 2018-07-23 15:53:57 +02:00
  • b1f8587ebb add(all): import Apache-2.0 LICENSE Tit Petric 2018-07-23 14:59:42 +02:00
  • 0333a0bf17 add(makefile): scoped test.rbac target Tit Petric 2018-07-23 14:26:34 +02:00
  • 51b36d7bc7 upd(rbac): test nested roles, get role info Tit Petric 2018-07-23 14:26:07 +02:00
  • 978557994f upd(rbac): update debug level to string Tit Petric 2018-07-23 14:10:27 +02:00
  • 9273639a69 upd(rbac): import users apis, tests Tit Petric 2018-07-23 14:09:58 +02:00
  • bf67bac351 upd(rbac): update api call response types Tit Petric 2018-07-23 14:08:39 +02:00
  • f77fb432a6 upd(rbac): full sessions impl and tests Tit Petric 2018-07-23 14:00:35 +02:00
  • 4d018e16cd upd(rbac): refactor debug level to info/debug Tit Petric 2018-07-23 13:59:56 +02:00
  • 01ac832e80 Do not cache build steps for now, do not ignore types folder Denis Arh 2018-07-22 08:58:39 +02:00
  • bc4205bff5 Stabilised messages endpoints, connected with message service Denis Arh 2018-07-20 12:48:54 +02:00
  • 826c5ab7f9 import full test suite Tit Petric 2018-07-20 18:08:10 +02:00
  • 3ad1363277 upd(rbac): send body, update users api, tests Tit Petric 2018-07-20 12:56:35 +02:00
  • 00444d168b add(make): make test with gotest -v -cover Tit Petric 2018-07-20 12:55:51 +02:00
  • 44be095b3f fix(codegen): merge parameters from api parent and call Tit Petric 2018-07-20 11:05:58 +02:00
  • 6a3e38bc2b Update generated code with new version of spec tool Denis Arh 2018-07-20 10:50:40 +02:00
  • 78c9d9ae76 Add toolset clean task Denis Arh 2018-07-20 10:49:55 +02:00
  • c11a1a74d1 Prevent codegen from doing empty type() when no struct is defined Denis Arh 2018-07-19 22:32:54 +02:00
  • 031cc24a73 REST API endpoints cleanup Denis Arh 2018-07-19 22:16:51 +02:00
  • 0954e5c53d upd(codegen): spec update for nested message apis Tit Petric 2018-07-19 21:00:25 +02:00
  • bb9fdf3107 upd(sam router): handlers ctor update Tit Petric 2018-07-19 20:26:54 +02:00
  • efecfd31b8 Merge branch 'master' of https://github.com/crusttech/crust Tit Petric 2018-07-19 20:24:50 +02:00
  • b6481141dd del(all): remove codegen route debug code Tit Petric 2018-07-19 20:22:11 +02:00
  • 8ae57475e0 del(codegen): remove route debug Tit Petric 2018-07-19 20:21:53 +02:00
  • 5ad2b6af51 upd(sam): print route debug in main Tit Petric 2018-07-19 20:21:36 +02:00
  • 73c27f6bdd upd(sam main): pass flags in main, add ws routes Tit Petric 2018-07-19 20:21:18 +02:00
  • 4d67bd66b0 upd(flags): configure from main fn not flags.go Tit Petric 2018-07-19 20:20:43 +02:00
  • 60b7f712b6 import some websocket groundwork Tit Petric 2018-07-19 20:19:57 +02:00
  • a7957fa804 add(vendor): import gorilla/websocket Tit Petric 2018-07-19 20:19:20 +02:00
  • ff79246202 Fix codegen template for rest controllers, remove obsolete code Denis Arh 2018-07-19 19:09:07 +02:00
  • 18d7f4c3bf SAM messaging, basics Denis Arh 2018-07-19 18:50:48 +02:00
  • 922cd6af35 Fix govet warning 'composite literal uses unkeyed fields' Denis Arh 2018-07-19 18:50:08 +02:00
  • 3c0e208e06 del(websocket): move ws out of rest Tit Petric 2018-07-19 16:44:42 +02:00
  • 2222c53158 upd(generator): add docs from spec files Tit Petric 2018-07-19 16:39:09 +02:00
  • a583363724 update vendor Tit Petric 2018-07-17 20:57:48 +02:00
  • 80f9e9b9bc upd(all): use factory.Database.MustGet over .Get Tit Petric 2018-07-17 18:23:02 +02:00
  • 8753c18e0b Merge branch 'master' of https://github.com/crusttech/crust Tit Petric 2018-07-17 18:14:40 +02:00
  • b393bdbfdf upd(crm): update api spec, implement apis Tit Petric 2018-07-17 18:14:15 +02:00
  • 1b7d50b52d upd(codegen): run documentation gen too Tit Petric 2018-07-17 18:11:03 +02:00
  • f450bdaba6 upd(main): keep go-spew sticky in vendor Tit Petric 2018-07-17 18:10:38 +02:00
  • a1cccd23d3 upd(vendor): update factory db with MustGet() Tit Petric 2018-07-17 18:09:13 +02:00
  • 2a44f1ba1e Remove panic() Denis Arh 2018-07-17 16:32:48 +02:00
  • 65a458eab2 README.md updated Denis Arh 2018-07-17 15:29:14 +02:00
  • 70a5042db5 SAM types, handlers, services, repositories implemented Denis Arh 2018-07-17 15:24:35 +02:00
  • 152f089148 Fix tools (macos compat.) Denis Arh 2018-07-17 15:24:03 +02:00
  • 501ba88efc gofmt Tit Petric 2018-07-17 13:09:31 +02:00
  • 27e69eb7b8 upd(rbac): groundwork for users APIs Tit Petric 2018-07-17 13:09:18 +02:00
  • b84d61ff18 add timeouts for RBAC requests Tit Petric 2018-07-17 12:36:21 +02:00
  • 235574bf42 upd(all): pass context from http request to service bridge Tit Petric 2018-07-17 12:23:57 +02:00
  • ea03b5a1ec upd(vendor): update database profiler Tit Petric 2018-07-17 12:05:16 +02:00
  • e9a3d51cfa add(rbac): initial rbac import Tit Petric 2018-07-17 11:32:11 +02:00
  • 2b9903701a upd(main): restructure flags Tit Petric 2018-07-17 11:32:00 +02:00
  • 04154f97f7 add(vendor): import namsral/flag Tit Petric 2018-07-17 11:31:28 +02:00
  • 5a49d7f64f Merge branch 'master' of https://github.com/crusttech/crust Tit Petric 2018-07-17 11:10:55 +02:00
  • 5c6d05b9ff update(all): use namsral/flag in main Tit Petric 2018-07-17 11:09:06 +02:00
  • 9c05a271f7 Service & repository implementation for CRM field & module Denis Arh 2018-07-17 11:06:40 +02:00