Commit Graph

1065 Commits

Author SHA1 Message Date
c9s
62145d02f3 move dotenv loading to the root command 2021-02-06 15:03:07 +08:00
c9s
6147ec3246 add sqlite3 driver selection ui 2021-02-06 14:55:15 +08:00
c9s
855378e098 add driver field to the setup db route 2021-02-06 14:31:46 +08:00
c9s
26f9e5488d apply datatype.Time to order time fields 2021-02-06 14:30:00 +08:00
c9s
20e6e4c299 add MarshalJSON and UnmarshalJSON to datatype.Time 2021-02-06 14:25:38 +08:00
c9s
3abdb3dd7b convert time struct for sqlite driver 2021-02-06 12:32:21 +08:00
c9s
32117af4b0 service: remove the ignore keyword to make the sql compatible with sqlite3 2021-02-06 11:44:49 +08:00
c9s
0b657d59f9 make inBaseAsset as private method 2021-02-06 11:34:53 +08:00
c9s
dd9dbee903 refactor database configuration with env vars 2021-02-06 11:33:49 +08:00
c9s
51d399a49d upgrade rockhopper 2021-02-06 11:22:04 +08:00
c9s
99b56003eb clean up legacy db connection handling with the new database service 2021-02-06 11:22:04 +08:00
c9s
276b6c1e48 drop the legacy upgradeDB 2021-02-06 11:22:04 +08:00
c9s
ecf94cdeea .travis.yml: test make migrations 2021-02-06 11:22:04 +08:00
c9s
63a8c00a4c fix makefile 2021-02-06 11:22:04 +08:00
c9s
c7440a3ea4 compile and update migration package 2021-02-06 11:22:04 +08:00
c9s
32f74d8f6f move mysql migrations to migrations/mysql 2021-02-06 11:22:04 +08:00
c9s
786757a686 migrations/sqlite3: fix sqlite3 alter syntax 2021-02-06 11:22:04 +08:00
c9s
de51eb29e4 refactor db stuff with database service 2021-02-06 11:22:04 +08:00
c9s
94dc291580 .travis.yml: create bbgo mysql database 2021-02-06 11:22:04 +08:00
c9s
6d756d2409 .travis.yml: add mysql to travis 2021-02-06 11:22:04 +08:00
c9s
2691d06f5f add rockhopper config for mysql 2021-02-06 11:22:04 +08:00
c9s
256fce484c add default 0 to not null field 2021-02-06 11:22:04 +08:00
c9s
483f6270f4 .travis.yml: add install section 2021-02-06 11:22:04 +08:00
c9s
01ea0885dc scripts: use force flag to remove bbgo.sqlite3 2021-02-05 14:33:12 +08:00
c9s
ccb1708fd9 add script for testing sqlite3 migration 2021-02-05 14:20:07 +08:00
c9s
16b7944b92 add rockhopper config for sqlite3 2021-02-05 14:15:44 +08:00
c9s
007b679768 add sqlite3 migrations 2021-02-05 14:15:28 +08:00
c9s
8cb77075d0 .travis.yml: get rockhopper before we test 2021-02-05 13:26:41 +08:00
c9s
ea0c20cfe7 rename enableApiServer to enableWebServer 2021-02-05 13:04:52 +08:00
c9s
0803d6bae0 add BeforeRestart hook 2021-02-05 13:01:07 +08:00
c9s
ba9c8693af adjust column layout 2021-02-05 12:41:37 +08:00
c9s
65f3613dc1 fix order trade table layout 2021-02-05 09:48:40 +08:00
c9s
67d8a44532 fix dashboard paper margin and padding 2021-02-05 09:12:38 +08:00
c9s
10f8a7864f fix side bar layout 2021-02-05 09:09:59 +08:00
c9s
5f1fc804df pkger: update bundled static files 2021-02-04 20:59:07 +08:00
c9s
c968f3d778 improve token Visibility 2021-02-04 20:58:05 +08:00
c9s
b90cc2a8c9 Makefile: frce build bbgo-desktop 2021-02-04 20:36:34 +08:00
c9s
ce097f3747 pkger: update bundled static files 2021-02-04 20:35:42 +08:00
c9s
8b142c96ee Makefile: improve commit message for pkger 2021-02-04 20:34:51 +08:00
c9s
dbfc1caa53 if dotenv file does not exist, do not load it 2021-02-04 20:34:31 +08:00
c9s
bd895149ad if dotenv file does not exist, do not load it 2021-02-04 20:34:31 +08:00
c9s
39fa0ef810 load dotenv file 2021-02-04 20:34:31 +08:00
c9s
2365ccb5d8 improve Makefile targets 2021-02-04 20:34:31 +08:00
c9s
715c717dfd clearInterval 2021-02-04 20:34:31 +08:00
c9s
237c621182 support ping and redirect 2021-02-04 20:34:31 +08:00
c9s
621321f5db add basic desktop app 2021-02-04 20:34:31 +08:00
c9s
0cb2a3c452 split files to make routes smaller 2021-02-04 16:59:00 +08:00
c9s
5f84c847c1 move setupRestart 2021-02-04 16:54:24 +08:00
c9s
e1b4ff3450 move setup handlers to setup.go 2021-02-04 16:51:53 +08:00
c9s
c12161ff1c pull out listSessionSymbols 2021-02-04 16:49:47 +08:00