Commit Graph

76 Commits

Author SHA1 Message Date
Sascha
ea329aed69 Add option to specify host address
'--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.
2021-02-28 21:20:15 +01:00
Michael Muré
3957d4a027
Merge pull request #563 from MichaelMure/dependabot/go_modules/github.com/spf13/cobra-1.1.3
build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3
2021-02-27 21:34:12 +01:00
Michael Muré
365073d022 cmd: better powershell completion, thanks to cobra upgrade 2021-02-27 21:24:26 +01:00
dependabot-preview[bot]
94b40d97ac
build(deps): bump github.com/xanzy/go-gitlab from 0.40.1 to 0.44.0
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.40.1 to 0.44.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.40.1...v0.44.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-27 19:45:09 +00:00
dependabot-preview[bot]
b9f1bf6cdf
build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-27 19:45:04 +00:00
Michael Muré
22cc4cc043
Merge pull request #568 from vmiklos/search-metadata
Add ability to search by arbitrary metadata
2021-02-27 20:39:27 +01:00
Michael Muré
fab626a7a6 query: refactor to reuse the split function for both query and token 2021-02-27 20:31:10 +01:00
Cláudio
729520b80a Commit for #554 2021-02-15 00:03:58 -03:00
dependabot-preview[bot]
4739fbcbeb
build(deps): bump github.com/MichaelMure/go-term-text
Bumps [github.com/MichaelMure/go-term-text](https://github.com/MichaelMure/go-term-text) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/MichaelMure/go-term-text/releases)
- [Commits](https://github.com/MichaelMure/go-term-text/compare/v0.2.9...v0.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 04:37:44 +00:00
Michael Muré
1b4eeb0690
Merge pull request #524 from MichaelMure/dependabot/go_modules/golang.org/x/text-0.3.5
build(deps): bump golang.org/x/text from 0.3.4 to 0.3.5
2021-01-24 19:49:07 +01:00
dependabot-preview[bot]
e43bf277b7
build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-14 04:44:11 +00:00
dependabot-preview[bot]
68e4c51641
build(deps): bump golang.org/x/text from 0.3.4 to 0.3.5
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.4...v0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 04:40:41 +00:00
vince
e3737f216a
expose format version
this commit exposes the format version of the operation pack and identity to reduce the changes needed in vendored code when migrating. This also creates error variables that can be propagated and tested against for migrations.
2020-12-15 14:11:07 +01:00
dependabot-preview[bot]
f289f911ad
build(deps): bump github.com/blevesearch/bleve from 1.0.13 to 1.0.14
Bumps [github.com/blevesearch/bleve](https://github.com/blevesearch/bleve) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/blevesearch/bleve/releases)
- [Commits](https://github.com/blevesearch/bleve/compare/v1.0.13...v1.0.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-09 04:46:47 +00:00
Michael Muré
bf476f98d1
Merge pull request #510 from MichaelMure/repo-rework
Repo rework
2020-12-08 15:17:22 +01:00
Michael Muré
4ef2c11040
repo: finish RepoStorage move 2020-12-08 13:07:51 +01:00
Mark
ecf1215ac9
Add RepoStorage interface (for draft PR) 2020-12-05 21:41:09 +01:00
dependabot-preview[bot]
6576f3d808
build(deps): bump github.com/xanzy/go-gitlab from 0.39.0 to 0.40.1
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.39.0 to 0.40.1.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.39.0...v0.40.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-03 04:42:44 +00:00
Michael Muré
70168de69b
go.sum 2020-11-29 21:33:08 +01:00
dependabot-preview[bot]
048f3cfd69
build(deps): bump github.com/blevesearch/bleve from 1.0.12 to 1.0.13
Bumps [github.com/blevesearch/bleve](https://github.com/blevesearch/bleve) from 1.0.12 to 1.0.13.
- [Release notes](https://github.com/blevesearch/bleve/releases)
- [Commits](https://github.com/blevesearch/bleve/compare/v1.0.12...v1.0.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 04:40:40 +00:00
dependabot-preview[bot]
fdbddb276d
build(deps): bump github.com/blevesearch/bleve from 1.0.10 to 1.0.12
Bumps [github.com/blevesearch/bleve](https://github.com/blevesearch/bleve) from 1.0.10 to 1.0.12.
- [Release notes](https://github.com/blevesearch/bleve/releases)
- [Commits](https://github.com/blevesearch/bleve/compare/v1.0.10...v1.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 04:43:19 +00:00
Mike Goldin
0a827af60a
Create a search cache index when git-bug starts up if none exists 2020-11-17 08:09:51 -05:00
dependabot-preview[bot]
25b0c71948
build(deps): bump github.com/fatih/color from 1.9.0 to 1.10.0 (#494)
* build(deps): bump github.com/fatih/color from 1.9.0 to 1.10.0

Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.9.0...v1.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* tidy

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2020-11-02 15:15:59 +01:00
Michael Muré
64efbf7c08
Merge pull request #482 from MichaelMure/dependabot/go_modules/github.com/xanzy/go-gitlab-0.39.0
build(deps): bump github.com/xanzy/go-gitlab from 0.38.2 to 0.39.0
2020-10-29 20:50:08 +01:00
dependabot-preview[bot]
c4872e5b33
build(deps): bump golang.org/x/text from 0.3.3 to 0.3.4
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.3...v0.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 04:44:27 +00:00
dependabot-preview[bot]
d7a77b43f0
build(deps): bump github.com/xanzy/go-gitlab from 0.38.2 to 0.39.0
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.38.2 to 0.39.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.38.2...v0.39.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 04:44:09 +00:00
6543
86faedc966
Vendor: upgrade spf13/cobra to v1.1.1 (#479)
* build(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.1

* update doc (man & md)

* update bash|fish|zsh completion
2020-10-27 14:38:55 +01:00
Michael Muré
8a158d1f94
repository: fix edge case in git config read, affecting bridges 2020-10-25 23:35:36 +01:00
6543
4143c3d176
Vendor: updage xanzy/go-gitlab to v0.38.2 (#473)
* build(deps): bump github.com/xanzy/go-gitlab from 0.33.0 to 0.38.2
* migrate
* refactor
2020-10-25 01:05:34 +02:00
Michael Muré
064a96f808
repository: fix incorrect git dir on the git CLI implementation 2020-10-24 22:19:56 +02:00
6543
afdbd65efc
Vendor: updage go-git to v5.2.0 2020-10-22 21:43:23 +02:00
dependabot-preview[bot]
d75fa17f1f
build(deps): bump github.com/99designs/keyring from 1.1.5 to 1.1.6
Bumps [github.com/99designs/keyring](https://github.com/99designs/keyring) from 1.1.5 to 1.1.6.
- [Release notes](https://github.com/99designs/keyring/releases)
- [Commits](https://github.com/99designs/keyring/compare/v1.1.5...v1.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-30 04:44:05 +00:00
vince
fb9170e259 fix go sum rebase artifacts 2020-09-29 20:42:21 +02:00
Michael Muré
9c1087e18d repository: fix a todo in the gogit repo 2020-09-29 20:42:21 +02:00
Michael Muré
b127481364 repository: add access to the system keyring, with fallback on a file 2020-09-29 20:42:21 +02:00
Michael Muré
d171e11028 repository: partial impl of a go-git backed Repo 2020-09-29 20:42:20 +02:00
dependabot-preview[bot]
ad32cbd0a4
build(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-27 12:23:00 +00:00
vince
6efada43e7 Implement the LRU Cache 2020-08-20 14:06:18 +08:00
Michael Muré
3fcdd7ec80
update go-gitlab 2020-07-26 11:28:51 +02:00
Michael Muré
c0bf7c359f
update go-term-text 2020-07-20 15:45:16 +02:00
Michael Muré
536c290dfb
commands: open and close the backend in a single place, simplify commands 2020-06-28 19:09:32 +02:00
dependabot-preview[bot]
c536b8e85e
build(deps): bump golang.org/x/text from 0.3.2 to 0.3.3
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.2...v0.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 04:59:13 +00:00
Michael Muré
6fd7934f53
update cobra 2020-06-14 19:43:58 +02:00
dependabot-preview[bot]
522503c523
build(deps): bump github.com/go-errors/errors from 1.0.2 to 1.1.1
Bumps [github.com/go-errors/errors](https://github.com/go-errors/errors) from 1.0.2 to 1.1.1.
- [Release notes](https://github.com/go-errors/errors/releases)
- [Commits](https://github.com/go-errors/errors/compare/v1.0.2...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-14 16:12:07 +00:00
dependabot-preview[bot]
1f66bb6de8
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 04:58:41 +00:00
dependabot-preview[bot]
308810c827
build(deps): bump github.com/go-errors/errors from 1.0.1 to 1.0.2
Bumps [github.com/go-errors/errors](https://github.com/go-errors/errors) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/go-errors/errors/releases)
- [Commits](https://github.com/go-errors/errors/compare/v1.0.1...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-14 05:03:55 +00:00
dependabot-preview[bot]
53038648a5
build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 05:06:13 +00:00
dependabot-preview[bot]
3e4b1844e3
build(deps): bump github.com/xanzy/go-gitlab from 0.27.0 to 0.29.0
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.27.0 to 0.29.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.27.0...v0.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 16:14:39 +00:00
dependabot-preview[bot]
82e2f2dd6d
build(deps): bump github.com/mattn/go-runewidth from 0.0.8 to 0.0.9
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.8 to 0.0.9.
- [Release notes](https://github.com/mattn/go-runewidth/releases)
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.8...v0.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 05:09:36 +00:00
dependabot-preview[bot]
9dd7bb54b9
build(deps): bump github.com/MichaelMure/go-term-text
Bumps [github.com/MichaelMure/go-term-text](https://github.com/MichaelMure/go-term-text) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/MichaelMure/go-term-text/releases)
- [Commits](https://github.com/MichaelMure/go-term-text/compare/v0.2.7...v0.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 05:02:14 +00:00