Commit log

cf67c78 Refactor webui changes.

Click to expand commit body
Don't use contexts, just raw Apollo, since it's cached anyway.

Change "ReadonlyHidden" to "IfLoggedIn".

Luke Granger-Brown created

dfdb5e0 Verify that we have an identity only in read-write mode

Luke Granger-Brown created

43c78da Don't permit file uploads in read-only mode

Luke Granger-Brown created

4a28f25 Add support for read-only mode for web UI.

Click to expand commit body
Fixes #402.

Luke Granger-Brown created

2322810 Merge pull request #413 from MichaelMure/repo-more-tests

Click to expand commit body
repo: more tests

Michael Muré created

939bcd5 repo: more tests

Michael Muré created

1e3dd82 Merge pull request #411 from MichaelMure/repo-rework

Click to expand commit body
Repository rework

Michael Muré created

88ad7e6 repository: remove tie to Bug, improved and reusable testing

Click to expand commit body
- allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code.
- generalize the memory-only and persisted Lamport clocks behind a common interface
- rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily
- test previously untested components with those new tests

Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.

Michael Muré created

2dd0dbb Merge pull request #410 from MichaelMure/output-formatting-2

Click to expand commit body
Add formatting options to the 'show' and 'user ls' commands

Michael Muré created

c326007 fix cache not rebuilding properly

Michael Muré created

aab3a04 bug: harmonize how time are used, fix some issues in command special formats

Click to expand commit body
This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.

Michael Muré created

1d06244 cmds: cleanup and re-generate files

Michael Muré created

ebd1030 Fix bugs

Click to expand commit body
This fixes some bugs experienced when using the new formatting options:
- org-mode indents not working properly
- print statements missing contents

vince created

8eb004b Clean up code and fix suggestions

vince created

fc3f654 Add org-mode formatting option

Click to expand commit body
This adds an option to the formatting flag on the ls, show and user ls commands that allows the user to specify the format of the output in org-mode. This will be useful for emacs users to read it in the editor.

vince created

cd8352e Add output formatting support to the 'show' and 'user ls' commands

Click to expand commit body
This adds options to specify an output format for the commands in question. Supported formats are currently:
- 'plain': plaintext, stripped of all colors
- 'json': prints output as a json object

vince created

f790083 Merge pull request #403 from MichaelMure/ls-dump

Click to expand commit body
[ls] add support for different output formats

Vincent Tiu created

87eeba4 Print JSON as a well-formed object

Click to expand commit body
This prints all the bugs in a JSON array instead of one by one.

vince created

7aed987 Merge pull request #405 from MichaelMure/dependabot/go_modules/golang.org/x/text-0.3.3

Click to expand commit body
build(deps): bump golang.org/x/text from 0.3.2 to 0.3.3

Michael Muré created

36b45c7 Merge pull request #404 from tbm/typos

Click to expand commit body
doc: fix typos

Michael Muré created

c536b8e build(deps): bump golang.org/x/text from 0.3.2 to 0.3.3

Click to expand commit body
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>

dependabot-preview[bot] created

ff0ff86 doc: fix typos

Martin Michlmayr created

de5565b ls: Add support to ls dump bug information in specific formats

Click to expand commit body
This adds an optional flag to the ls command that allows users to specify the format they wish to dump the output as. Currently, supported parameters are 'default', 'plain' and 'json'.

vince created

6352d6a generate docs and completion concurrently for a faster "make"

Michael Muré created

78f39c4 CLI: enable Fish completion

Michael Muré created

6fd7934 update cobra

Michael Muré created

4f15c87 Merge pull request #401 from MichaelMure/dependabot/npm_and_yarn/webui/minimist-1.2.5

Click to expand commit body
build(deps): [security] bump minimist from 1.2.0 to 1.2.5 in /webui

Michael Muré created

882f689 build(deps): [security] bump minimist from 1.2.0 to 1.2.5 in /webui

Click to expand commit body
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.5. **This update includes security fixes.**
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.5)

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

dependabot-preview[bot] created

c9e4a35 webui: update some deps

Michael Muré created

bdab0d6 Merge pull request #398 from MichaelMure/dependabot/go_modules/github.com/go-errors/errors-1.1.1

Click to expand commit body
build(deps): bump github.com/go-errors/errors from 1.0.2 to 1.1.1

Michael Muré created

522503c build(deps): bump github.com/go-errors/errors from 1.0.2 to 1.1.1

Click to expand commit body
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>

dependabot-preview[bot] created

76189f0 Merge pull request #400 from MichaelMure/dependabot/go_modules/github.com/stretchr/testify-1.6.1

Click to expand commit body
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.1

Michael Muré created

9a00ffb bug: make sure to disable label color escape when not on a terminal

Michael Muré created

1f66bb6 build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.1

Click to expand commit body
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>

dependabot-preview[bot] created

5029cc1 Merge pull request #388 from bsdlcook/freebsd-port

Click to expand commit body
Include FreeBSD package section.

Michael Muré created

2926310 Fix intendation for FreeBSD package/port section.

Lewis Cook created

76b55c6 Add FreeBSD package/port section.

Lewis Cook created

966edfc Merge pull request #382 from westurner/patch-2

Click to expand commit body
DOC: README.md: is/are

Michael Muré created

f9452e3 Merge pull request #375 from MichaelMure/dependabot/go_modules/github.com/go-errors/errors-1.0.2

Click to expand commit body
build(deps): bump github.com/go-errors/errors from 1.0.1 to 1.0.2

Michael Muré created

e49b15d Merge branch 'patch-1'

Michael Muré created

25d633d DOC: commands/root.go: syntax

Wes Turner created

fb31f80 identity: actually test the mutator

Michael Muré created

fe6e3ef DOC: README.md: is/are

Wes Turner created

0434d92 Merge pull request #380 from ogirginc/master

Click to expand commit body
Update README.md

Michael Muré created

ce8802b Update README.md

Click to expand commit body
Display Homebrew option to install git-bug on macOS.

Ogulcan Girginc created

4242150 Merge pull request #378 from vojta001/master

Click to expand commit body
termui: fix a crash when trying to open a bug when there are none

Michael Muré created

8a81b9f termui: fix a crash when trying to open a bug when there are none

Click to expand commit body
Nothing prevented you from pressing Enter in bug listing even when there
were no open bugs. Doing so resulted in:

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/MichaelMure/git-bug/termui.(*bugTable).openBug(0xc00007aa80, 0xc000354000, 0xc00036c120, 0x2, 0x2)
        /build/source/termui/bug_table.go:440 +0x17f
github.com/awesome-gocui/gocui.(*Gui).execKeybinding(0xc000354000, 0xc00036c120, 0xc0003102a0, 0xc00007a001, 0xc000225b2c, 0xc000000180)
        /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:808 +0x65
github.com/awesome-gocui/gocui.(*Gui).execKeybindings(0xc000354000, 0xc00036c120, 0xc000225b38, 0x3, 0x4, 0x3)
        /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:787 +0xed
github.com/awesome-gocui/gocui.(*Gui).onKey(0xc000354000, 0xc000225b38, 0x2, 0x0)
        /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:745 +0x164
github.com/awesome-gocui/gocui.(*Gui).handleEvent(...)
        /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:506
github.com/awesome-gocui/gocui.(*Gui).MainLoop(0xc000354000, 0x0, 0x0)
        /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:466 +0x202
github.com/MichaelMure/git-bug/termui.initGui(0x0)
        /build/source/termui/termui.go:113 +0x12c
github.com/MichaelMure/git-bug/termui.Run(0xc000228000, 0xc000078b30, 0x0)
        /build/source/termui/termui.go:66 +0x185
github.com/MichaelMure/git-bug/commands.runTermUI(0x1211bc0, 0x12478e0, 0x0, 0x0, 0x0, 0x0)
        /build/source/commands/termui.go:18 +0xd5
github.com/spf13/cobra.(*Command).execute(0x1211bc0, 0x12478e0, 0x0, 0x0, 0x1211bc0, 0x12478e0)
        /build/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:840 +0x453
github.com/spf13/cobra.(*Command).ExecuteC(0x1210960, 0x0, 0x0, 0x0)
        /build/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:945 +0x317
github.com/spf13/cobra.(*Command).Execute(...)
        /build/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:885
github.com/MichaelMure/git-bug/commands.Execute()
        /build/source/commands/root.go:54 +0x2d
main.main()
        /build/source/git-bug.go:14 +0x20

Vojtěch Káně created

308810c build(deps): bump github.com/go-errors/errors from 1.0.1 to 1.0.2

Click to expand commit body
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>

dependabot-preview[bot] created

d3fc94a Merge pull request #371 from mindriot101/config-reads-includes

Click to expand commit body
Supports git config includes

Michael Muré created

e062d9a Supports git config includes

Click to expand commit body
I like to have "private" settings in a git include file, and store the
main .gitconfig under version control. I do not want any authentication
keys or tokens (even if encrypted) in version control, so I have by main
.gitconfig include another file which is local and not tracked.

The current implementation calls `git config --global --get-regexp
<keyPrefix>` and for some reason, this command does not follow git
include files.

The changes suggested in this PR add the `--includes` flag to the
command, which then reads any included files.

Simon Walker created