Commit graph

74 commits

Author SHA1 Message Date
Jesús Espino
c8ac701587 Merge remote-tracking branch 'origin/main' into auth 2020-12-04 16:04:28 +01:00
Jesús Espino
f491241c1a Preliminary auth implementation 2020-12-04 16:03:09 +01:00
Jesús Espino
99cefc5356 More work on auth 2020-12-04 11:28:35 +01:00
Chen-I Lim
850f60e1fb Add rootId to blocks. Requires archive export / re-import. 2020-12-03 14:09:48 -08:00
Jesús Espino
7382f9c55c Adding sessions code 2020-12-02 21:12:14 +01:00
Jesús Espino
dc5fb0cfc1 Merge branch 'main' into auth 2020-12-02 15:53:38 +01:00
Jesús Espino
cc065ef869 Adding another error handling to the migrations 2020-11-19 17:51:39 +01:00
Jesús Espino
ea81d04937 Adding migration files for users tables 2020-11-17 19:44:13 +01:00
Jesús Espino
11d336fef0 Merge remote-tracking branch 'origin/main' into auth 2020-11-17 15:44:04 +01:00
Jesús Espino
a1008fee1c Working on auth 2020-11-17 15:43:56 +01:00
Chen-I Lim
257a74954d Unit tests for store.getSubTree 2020-11-12 10:48:08 -08:00
Chen-I Lim
37fd30413b Duplicate board 2020-11-12 10:16:59 -08:00
Chen-I Lim
48e4cfd102 Minor: log.Printf 2020-11-09 12:53:25 -08:00
Jesús Espino
921de750dd
Merge pull request #23 from mgdelacroix/add-client
Add API client, integration tests structure and server lifecycle changes
2020-11-09 18:26:46 +01:00
Miguel de la Cruz
27ba0cc6c5 Remove unused router from the web.Server struct 2020-11-09 18:23:41 +01:00
Miguel de la Cruz
1111bd337a Add API client, integration tests structure and server lifecycle changes 2020-11-09 13:23:15 +01:00
Chen-I Lim
4a7bf165c4 cleanup 2020-11-06 10:20:03 -08:00
Chen-I Lim
0d0bc7a672 Incremental updates on websocket 2020-11-06 10:11:01 -08:00
Jesús Espino
35ebd44d24 More work on authentication 2020-11-06 16:46:35 +01:00
Jesús Espino
85c8a5a966 Merge branch 'main' into auth 2020-11-06 15:24:50 +01:00
Chen-I Lim
4ed2e02fef Make webhook calls async 2020-11-02 09:07:05 -08:00
Jesús Espino
0d177980ea Moving webhook service into the right place 2020-10-30 19:33:25 +01:00
Chen-I Lim
526125cba7 Rename WebhookClient 2020-10-29 13:42:43 -07:00
Chen-I Lim
923ac19769 webhook cleanup 2020-10-29 13:32:51 -07:00
Chen-I Lim
5e8789cb14 Basic webhook on block update 2020-10-29 13:12:48 -07:00
Jesús Espino
0568006a27 Auth WIP 2020-10-28 14:35:41 +01:00
Chen-I Lim
972b621d12 Notify changes to root blocks (empty parentID) 2020-10-26 10:54:37 -07:00
Chen-I Lim
c1fe8c3c0d Fix db migration error check 2020-10-22 08:41:47 -07:00
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