Commit graph

546 commits

Author SHA1 Message Date
Jesús Espino
72f4783e34 Some other code improvements from the golangci 2020-10-22 15:22:36 +02:00
Jesús Espino
607b8aa063 Some improvements based on golangci-lint checks, and adding more rules 2020-10-22 13:34:42 +02:00
Chen-I Lim
0b07f454bb WebSocket listener: Handle add/remove blockIds 2020-10-21 12:36:43 -07:00
Jesús Espino
d179c9f704 Reorganizing app layer and adding a test using mocks 2020-10-21 11:32:13 +02:00
Jesús Espino
fe39696e26 Adding mock store and pin the generators/tools to specific versions 2020-10-21 09:56:03 +02:00
Jesús Espino
6f82a8a095 Adding squirrel query builder 2020-10-20 20:00:46 +02:00
Chen-I Lim
2c594854a0 Change fields type in Postgres to JSON 2020-10-19 12:10:26 -07:00
Jesús Espino
982a8edfc5 Add scheduler tests 2020-10-19 15:30:15 +02:00
Jesús Espino
94bfa840e8 Add initial telemetry code, system_settings table and the task scheduler 2020-10-19 14:55:31 +02:00
Jesús Espino
7c94602c11 Using a more standard way to serve static files 2020-10-18 02:46:25 +02:00
Jesús Espino
53b051816c Passing an initial golangci-lint pass 2020-10-18 02:07:35 +02:00
Jesús Espino
868be73d5b Making the migrations embeded, and add an initial store test 2020-10-18 01:09:12 +02:00
Jesús Espino
c4a3fe9cba Fixing makefile and executing go mod tidy 2020-10-17 20:48:54 +02:00
Jesús Espino
61cdfecef9 Adding missed files 2020-10-16 22:27:16 +02:00
Jesús Espino
3c15957e3d Adding golang migrate to handle database migrations 2020-10-16 22:26:47 +02:00
Jesús Espino
4f0351a8ab Using FilesStore service from mattermost-server code directly 2020-10-16 20:16:52 +02:00
Jesús Espino
55e49bea51 Abstracting more the store concept 2020-10-16 19:20:43 +02:00
Jesús Espino
19ab85b329 Splitting the server in multiple packages 2020-10-16 19:12:53 +02:00
Jesús Espino
5fc5281967 Removing entirely global variables 2020-10-16 16:36:08 +02:00
Jesús Espino
0cdde971c0 Improving server code organization 2020-10-16 16:21:42 +02:00
Jesús Espino
dc4ad05122 Splitting webserver and api from main 2020-10-16 11:41:56 +02:00
Chen-I Lim
44084ea23b Update database delete 2020-10-15 19:21:44 -07:00
Chen-I Lim
15c4c98cd3 Refactor database to store Block fields 2020-10-15 14:56:15 -07:00
Chen-I Lim
73c6218222 Give SQLite milisecond precision 2020-10-15 12:10:04 -07:00
Chen-I Lim
3c9c5b6aea Refactor IBlock to use fields 2020-10-14 17:35:15 -07:00
Chen-I Lim
96b9d6a5d2 Add generic fields to IBlock 2020-10-14 13:44:35 -07:00
Chen-I Lim
94cc769d4b Merge from main 2020-10-14 12:51:37 -07:00
Chen-I Lim
ef8c9ceccd Merge branch 'main' into small-improvements 2020-10-14 12:51:25 -07:00
Jesús Espino
a2c90d3ac6 Merge branch 'main' into structure-to-use-react-router 2020-10-14 13:23:24 +02:00
Chen-I Lim
0b53e083dc Add mapstructure for dbconfig in config.go 2020-10-13 22:14:08 -07:00
Chen-I Lim
42d3d657c6 Allow sidebar without active board
Redirect to /board as default
2020-10-13 14:36:29 -07:00
Jesús Espino
82b5a52abe Adding missed fields 2020-10-13 20:16:44 +02:00
Chen-I Lim
316ad45020 Sidebar. WIP 2020-10-12 11:02:07 -07:00
Chen-I Lim
ae93fe22ce Add Go WebSocket method comments 2020-10-12 08:52:40 -07:00
Chen-I Lim
d4aaef305d Initialize websocket listeners 2020-10-09 10:44:12 -07:00
Chen-I Lim
93028db7b5 Fix botched merge. 2020-10-09 10:30:05 -07:00
chenilim
7d3f272f25
Merge branch 'main' into websockets 2020-10-09 10:27:04 -07:00
Jesús Espino
8396303932 Working on some structure to use react-router 2020-10-09 17:10:26 +02:00
Jesús Espino
17f7f844e8 Preparing websockets to move to another package 2020-10-09 11:51:12 +02:00
Jesús Espino
944851729d Handling not-handled error 2020-10-09 10:28:39 +02:00
Jesús Espino
d41c747a7a Simplifying config using viper 2020-10-09 10:27:20 +02:00
Jesús Espino
6e2d9dd02a Remove unnecesary blockFromMap 2020-10-09 10:09:49 +02:00
Jesús Espino
f5db60bf9c Preparatory work to move the store into a different service 2020-10-09 10:08:38 +02:00
Jesús Espino
516dfbbd45 Improvements around marshalling and status codes 2020-10-09 09:53:15 +02:00
Chen-I Lim
751114f61b Refactor server: moved utils to under the main pacakge 2020-10-08 11:47:59 -07:00
Chen-I Lim
b5b294a54c First commit! 2020-10-08 09:21:27 -07:00