aboutsummaryrefslogtreecommitdiffstats
path: root/commands/webui.go
Commit message (Collapse)AuthorAgeFilesLines
* commands: minor fixes for the webui open with queryMichael Muré2021-03-071-4/+5
| | | | | | - go fmt - add a shorthand - fix displayed webUI URL in the terminal
* webui: allow specifying the initial queryMiklos Vajna2021-03-071-0/+8
| | | | | | | | | | | | Example use-case: given a github URL in a source code comment or commit message, one can now run: git bug webui --query 'metadata:github-url:"https://github.com/author/myproject/issues/42"' on the commandline to look up the details of that issue on the web ui quickly, offline. Fixes <https://github.com/MichaelMure/git-bug/issues/592>.
* Add option to specify host addressSascha2021-02-281-2/+6
| | | | | | | | | | | | | | | | | | | '--host'-cmdline-option is added to the webui command. Previously, the WebUI couldn't be hosted inside of a container. As the WebUI-server only listend per default to localhost and there was no option to change the address, the server should listend to. This means, that the WebUI was only reachable from localhost. So only from inside of the container but never from outside. The '--host'-option allows to set the IP address or a hostname which the WebUI-server should listen to. E.g. by setting 0.0.0.0 or :: as address. Update documentation for new option. Update shell completion for new option. Compilation seems to add another go-gitlab version.
* repo: implement local/global/any config everywhereMichael Muré2020-09-291-1/+1
|
* commands: refactor to avoid globalsMichael Muré2020-06-281-47/+53
|
* Reorganize the webUI and API codeMichael Muré2020-06-271-156/+20
| | | | | | | | | | Included in the changes: - create a new /api root package to hold all API code, migrate /graphql in there - git API handlers all use the cache instead of the repo directly - git API handlers are now tested - git API handlers now require a "repo" mux parameter - lots of untangling of API/handlers/middleware - less code in commands/webui.go
* Use ErrNotAuthenticatedLuke Granger-Brown2020-06-271-5/+5
|
* Pull out context-stuff from identity into graphqlidentity packageLuke Granger-Brown2020-06-271-4/+9
|
* Change graphql Go handlers to pluck identity out of context instead.Luke Granger-Brown2020-06-271-6/+21
|
* Verify that we have an identity only in read-write modeLuke Granger-Brown2020-06-271-1/+9
|
* Don't permit file uploads in read-only modeLuke Granger-Brown2020-06-271-1/+3
|
* Add support for read-only mode for web UI.Luke Granger-Brown2020-06-271-4/+7
| | | | Fixes #402.
* upgrade to gqlgen master, waiting for a releaseMichael Muré2020-02-051-2/+2
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-1/+1
|
* bridge: use new repository configuration interfaceamine2019-11-011-1/+1
| | | | commands/webui: use new repository configuration interface
* commands: add flags/config to control the automatic opening in the default ↵Michael Muré2019-05-271-14/+41
| | | | browser
* commands: add a "." at the end of Short commands usageMichael Muré2019-03-011-1/+1
|
* commands: don't load the repo for commands that don't need itMichael Muré2018-10-171-3/+4
| | | | fix #67
* webui: serve the index.html file by default to deal with the SPA router ↵Michael Muré2018-09-211-1/+24
| | | | | | requirements fix #50
* webui: explain how to quitMichael Muré2018-09-191-0/+1
|
* graphql: update gqlgen to 0.5.1Michael Muré2018-09-141-1/+1
| | | | fix #6
* catch a lot of error not being checkedMichael Muré2018-09-131-2/+9
|
* reorganize package for a more idomatic goMichael Muré2018-09-111-3/+3
|
* ls: support expressing a query with flags as wellMichael Muré2018-09-101-0/+3
|
* cache: lock the repo with a pid file; automatic cleaningMichael Muré2018-08-211-6/+52
|
* cleanup go importsMichael Muré2018-08-131-4/+5
|
* implement media hosting in git for comments + API for the webuiMichael Muré2018-08-021-14/+2
|
* webui: add the http handlers for read/write git blob for media in commentsMichael Muré2018-08-021-0/+111
|
* webui: show graphql urlsMichael Muré2018-07-291-1/+3
|
* cleaningMichael Muré2018-07-291-2/+2
|
* relay connection working with gqlgenMichael Muré2018-07-291-8/+4
|
* bug: refactor to limit abstraction leak and to have a more reusable code for ↵Michael Muré2018-07-231-1/+1
| | | | the UIs
* webui: Add flag to specify which port to listen toQuentin Gliech2018-07-221-3/+9
|
* generate markdown documentationMichael Muré2018-07-201-1/+1
|
* graphql: Actually get the bugs from the repoQuentin Gliech2018-07-201-1/+1
|
* webui: add a primitive graphql handlerMichael Muré2018-07-191-1/+14
|
* rework all the commands to use cobra as a parserMichael Muré2018-07-191-7/+10
|
* add the infrastructure for an embedded web UI + commandMichael Muré2018-07-161-0/+37