Commit Graph
31 Commits
Author SHA1 Message Date
Anton Evangelatov 62e352ef88 move APIInfoEnvVars, RepoFlags, APIFlags under RepoType 2022-03-03 16:45:11 +01:00
Anton Evangelatov f1f878a000 unexport repo types; use a global var for every repo type 2022-03-03 15:37:23 +01:00
Anton Evangelatov e3edab66e3 refactor RepoType 2022-03-03 15:37:23 +01:00
Anton Evangelatov adcb8f3b15 improve get api error messages 2021-08-16 14:33:08 +03:00
Raúl Kripalani 00fb675452 fix compilation error. 2021-07-29 16:18:43 +01:00
Raúl Kripalani 8433aae1af use fallback api infos last; init service with markets-path. 2021-07-29 16:10:04 +01:00
Raúl Kripalani d9c6a32b8e refactor miner info command. 2021-07-29 12:54:08 +01:00
Raúl Kripalani 22c0884f5f target markets API for markets commands. 2021-07-29 12:37:29 +01:00
Raúl Kripalani 4e19d8d562 support MARKETS_API_INFO env var; support markets-repo, markets-api-url flags. 2021-07-29 10:55:37 +01:00
Łukasz Magiera 7a23b411ae Merge apistruct with the api package 2021-03-25 15:10:08 +01:00
Łukasz Magiera 312c69f1da Merge pull request #5814 from vasco-santos/chore/add-available-options-for-perm-on-error
chore: add available options for perm on error
2021-03-25 13:56:17 +01:00
frrist 14a809d291 chore: export auth cli command 2021-03-23 16:25:49 -07:00
Vasco Santos 9120d6f82f chore: add available options for perm on error 2021-03-15 13:42:57 +01:00
Łukasz Magiera 58e49e3259 Move api client builders to a cliutil package 2021-03-05 21:08:41 +01:00
Steven Allen 5733c71c50 Lint everything
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.

There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
Frank a59ee872ff only show updated env 2020-07-21 16:11:01 +08:00
Frank 5dfb8c9474 add deprecation support 2020-07-10 20:18:09 +08:00
Łukasz Magiera 3b13397165 gofmt 2020-06-06 00:59:01 +02:00
Jakub Sztandera 29dbc26dbd Update cli
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-04 01:01:41 +02:00
Łukasz Magiera f7325a69c1 Extract auth utils to go-jsonrpc 2020-05-20 20:37:45 +02:00
Jeromy 607bcc401c very basic api documentation autogeneration 2020-05-18 17:20:54 -07:00
Łukasz Magiera ae69e0fef1 seal-worker: Task type flags 2020-03-25 22:15:10 +01:00
Łukasz Magiera 91c640197c cli: auth api-info 2020-03-25 21:42:24 +01:00
whyrusleeping 2322c42fd0 do the auth command the right way 2019-12-17 17:23:04 -08:00
Łukasz Magiera c49dc28a04 Move api struct to a seprate pkg 2019-12-09 18:22:11 +01:00
Łukasz Magiera e34e7d386d Fix off-by-one bug in auth new 2019-11-19 13:58:07 +01:00
Jakub Sztandera 68ff0d1095 Add comment
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 21:37:11 +01:00
Jakub Sztandera 1ae611b21d Add parameters for creating tokens
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 21:19:52 +01:00
Jakub Sztandera 1bf713cb0a Cleanup imports after rename
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 13:47:41 +09:00
whyrusleeping 697bed27a6 fix websocket closing 2019-10-04 10:06:05 -06:00
Łukasz Magiera 96859b0f54 Basic single node UI 2019-09-18 19:53:48 +02:00