Commit Graph

2018 Commits

Author SHA1 Message Date
Michael Muré
76bdac7d11
Merge pull request #682 from GlancingMind/webui-comment-and-reopen-bug
WebUI: Support comment-and-reopen a bug in one step
2021-05-27 11:08:53 +02:00
Michael Muré
2e9c83a083
Merge pull request #681 from GlancingMind/webui-fix-alignment-of-comment-counter-for-high-number
Fix margin and alignment of comment counter for high comment count
2021-05-27 11:05:10 +02:00
dependabot[bot]
a6fc0ab481
Bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.12 to 0.0.13.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.12...v0.0.13)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 04:19:21 +00:00
dependabot[bot]
b7019620d6
Bump dns-packet from 1.3.1 to 1.3.4 in /webui
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 01:32:26 +00:00
Sascha
e867663bf0 Rename default component filename to index.tsx
This reduces duplicate filepath components and with it the overall
import filepath length.
2021-05-26 12:52:55 +02:00
Sascha
dcf4a49840 Use spinner-icon instead of loading-text 2021-05-26 12:52:07 +02:00
Sascha
6f6831e18d WebUI: Add comment-and-reopen of a bug in one step 2021-05-26 12:52:07 +02:00
Sascha
27b5285b8c GraphQL: Implement AddCommentAndReopenBug mutation 2021-05-26 12:52:07 +02:00
Michael Muré
bfad28d7fe
Merge pull request #680 from GlancingMind/webui-comment-and-close-bug
WebUI: Support comment-and-close of a bug in one step
2021-05-25 21:02:25 +02:00
Michael Muré
970c1cf1ab
Update webui/src/pages/bug/CommentForm.tsx 2021-05-25 21:02:20 +02:00
Sascha
63680c6d4c Fix alignment of comment counter for high number 2021-05-25 17:42:47 +02:00
Michael Muré
24a78c86f4
Merge pull request #678 from MichaelMure/dependabot/go_modules/github.com/fatih/color-1.12.0
Bump github.com/fatih/color from 1.11.0 to 1.12.0
2021-05-25 17:08:57 +02:00
Michael Muré
5f649320e5
Merge pull request #679 from MichaelMure/dependabot/go_modules/github.com/go-git/go-git/v5-5.4.1
Bump github.com/go-git/go-git/v5 from 5.4.0 to 5.4.1
2021-05-25 17:07:11 +02:00
Sascha
098bcd0c1f WebUI: Add comment-and-close of a bug in one step
When a user has some text entered in the comment field, the close bug
button will change to "Close bug with comment". This way the user does
not have to comment and close a bug in two separate steps.
2021-05-25 14:14:57 +02:00
dependabot[bot]
dda4ec4db4
Bump github.com/go-git/go-git/v5 from 5.4.0 to 5.4.1
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.4.0...v5.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 04:24:48 +00:00
dependabot[bot]
713cbf25f5
Bump github.com/fatih/color from 1.11.0 to 1.12.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.11.0...v1.12.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 04:23:39 +00:00
Michael Muré
3d4385483e
Merge pull request #674 from MichaelMure/dependabot/go_modules/github.com/xanzy/go-gitlab-0.50.0
Bump github.com/xanzy/go-gitlab from 0.48.0 to 0.50.0
2021-05-24 10:14:28 +02:00
dependabot[bot]
322f0639c2
Bump github.com/xanzy/go-gitlab from 0.48.0 to 0.50.0
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.48.0 to 0.50.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.48.0...v0.50.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 10:07:56 +02:00
Michael Muré
fa126a744a
Merge pull request #677 from MichaelMure/dependabot/go_modules/github.com/go-git/go-git/v5-5.4.0
Bump github.com/go-git/go-git/v5 from 5.3.0 to 5.4.0
2021-05-24 10:06:00 +02:00
dependabot[bot]
90b22a6dd1
Bump github.com/go-git/go-git/v5 from 5.3.0 to 5.4.0
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.3.0...v5.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 09:56:33 +02:00
Michael Muré
9ded45fe65
Merge pull request #658 from GlancingMind/fix-webui-quoted-filter-parameters
WebUI: Fix quoted filter strings
2021-05-24 09:47:55 +02:00
Michael Muré
0cee27665b
Merge pull request #673 from MichaelMure/dependabot/go_modules/github.com/fatih/color-1.11.0
Bump github.com/fatih/color from 1.10.0 to 1.11.0
2021-05-24 09:45:29 +02:00
Michael Muré
cda3037c7c
Merge pull request #665 from GlancingMind/Implement-CommentAndCloseMutation
GraphQL: Implement AddCommentAndCloseBug mutation
2021-05-24 09:43:37 +02:00
Sascha
7446a20db8 Do not greedy match quotes 2021-05-20 17:07:47 +02:00
Sascha
77d36247b3 Update escape quote test 2021-05-20 17:07:46 +02:00
Sascha
817732948d Add test cases
Key:Value parsing test for quoated colon. E.g. label:"foo:bar"
Key:Value:Value parsing test. E.g. metadata🔑"https://www.example.com/"
2021-05-20 17:07:46 +02:00
Sascha
712c4073a7 Fix quoted filter string with bug counter
The parse function dropped user given quotes. This resulted into a wrong query
to the backend, which lead to an error. This error prevented the webui from
displaying the proper bug count.
2021-05-20 17:07:46 +02:00
Sascha
4043f5da09 GraphQL: Add AddCommandAndCloseBug mutation 2021-05-20 17:03:19 +02:00
dependabot[bot]
7985c7df27
Bump github.com/fatih/color from 1.10.0 to 1.11.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.10.0...v1.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-14 04:11:51 +00:00
Michael Muré
13d9632fb8
Merge pull request #671 from MichaelMure/close-on-error
commands: proper backend close on RunE error
2021-05-10 11:14:26 +02:00
Michael Muré
52b7ec5959
Merge pull request #672 from MichaelMure/dependabot/npm_and_yarn/webui/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9 in /webui
2021-05-10 11:13:54 +02:00
dependabot[bot]
d09d45e1e8
Bump hosted-git-info from 2.8.8 to 2.8.9 in /webui
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 15:15:19 +00:00
Michael Muré
fdf25c5136
Merge pull request #667 from MichaelMure/dependabot/npm_and_yarn/webui/ua-parser-js-0.7.28
Bump ua-parser-js from 0.7.21 to 0.7.28 in /webui
2021-05-09 11:35:43 +02:00
Michael Muré
ff9a3aab0b
Merge pull request #668 from MichaelMure/dependabot/npm_and_yarn/webui/url-parse-1.5.1
Bump url-parse from 1.4.7 to 1.5.1 in /webui
2021-05-09 11:35:14 +02:00
Michael Muré
500fa76fc5
Merge pull request #669 from MichaelMure/dependabot/npm_and_yarn/webui/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21 in /webui
2021-05-09 11:34:54 +02:00
Michael Muré
271dc1334c
commands: proper backend close on RunE error 2021-05-09 11:33:20 +02:00
Michael Muré
a75b27c4c6
Merge pull request #666 from GlancingMind/fix-themeswitcher-icon-color
WebUI: Fix theme switcher icon color in release
2021-05-09 11:15:52 +02:00
Sascha
1939949fcd
CLI: Add non-interactive option to interactive commands (#651)
* Add option to skip the AvatarURL input request

Using an empty string for the avatar cli flag e.g. `git-bug user create
-a ""` will still result in a prompt. As the avatar URL is an optional
option, it should be possible to skip asking for it entirely.
Otherwise automated user creation via a script must make use of pipe hacks.

* Add global --non-interactive cmdline option

* Replace --skipAvatar for --non-interactive option

* Cmd BugAdd: respect non-interactive option

* Cmd bridge configure: respect non-interactive opt

* Cmd CommentAdd: respect non-interactive option

* Cmd CommentEdit: respect non-interactive option

* Cmd TermUI: respect non-interactive option

* Cmd TitleEdit: respect non-interactive option

* Remove global non-interactive option

* Cmd UserCreate: Use local non-interactive option

* Cmd BugAdd: Use local non-interactive option

* Cmd BridgeConfigure: Use local non-interactive option

* Cmd CommentAdd: Use local non-interactive option

* Cmd CommentEdit: Use local non-interactive option

* Cmd TermUI: Drop non-interactive option

It should be obviouse that the termui is an interactive command.

* Cmd TitleEdit: Use local non-interactive option

* Update docs

* Bridge GitHub: respect non-interactive option

* Bridge GitLab: respect non-interactive option

* Bridge Jira: respect non-interactive and token opt

* Fix failing compilation

* Bridge launchpad: respect non-interactive option

* bridge: isNonInteractive --> interactive

Co-authored-by: Michael Muré <batolettre@gmail.com>
2021-05-09 11:14:45 +02:00
dependabot[bot]
e1dd32e4dd
Bump lodash from 4.17.20 to 4.17.21 in /webui
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 12:49:42 +00:00
dependabot[bot]
8740c0e3eb
Bump url-parse from 1.4.7 to 1.5.1 in /webui
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 21:14:52 +00:00
dependabot[bot]
d892201aeb
Bump ua-parser-js from 0.7.21 to 0.7.28 in /webui
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.21 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.21...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 19:56:43 +00:00
Sascha
d9646a8674 Fix theme switcher icon color in release 2021-05-06 16:33:28 +02:00
Michael Muré
bdb832639d
Merge pull request #663 from MichaelMure/dependabot/go_modules/github.com/go-git/go-billy/v5-5.3.1
Bump github.com/go-git/go-billy/v5 from 5.2.0 to 5.3.1
2021-05-03 11:42:05 +02:00
dependabot[bot]
59912ec696
Bump github.com/go-git/go-billy/v5 from 5.2.0 to 5.3.1
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy) from 5.2.0 to 5.3.1.
- [Release notes](https://github.com/go-git/go-billy/releases)
- [Commits](https://github.com/go-git/go-billy/compare/v5.2.0...v5.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 04:34:25 +00:00
Michael Muré
fc2b9e54ed
Merge pull request #661 from GlancingMind/fix-660
Show placeholder for empty comment(preview)
2021-05-02 12:07:19 +02:00
Michael Muré
dc875530a4
Merge pull request #659 from GlancingMind/make-webui-comment-input-resizable
Make comment input vertically resizable
2021-05-02 12:06:29 +02:00
Sascha
15132a1533 Show placeholder for empty comment(preview) 2021-05-01 18:43:49 +02:00
Sascha
e74f624c92 Make comment input vertically resizable 2021-05-01 16:13:06 +02:00
Sascha
87df46bd75
Fix #656 (#657)
Very long words wont any longer overflow over the parent container boundary.
Instead a scrollbar will be shown.
2021-04-29 21:35:17 +02:00
Hariharan
bc96f316ff
CLI - allow user create without prompt (#650)
* CLI - allow user create without prompt. Fixes #577

* Update commands/user_create.go email message

Co-authored-by: Michael Muré <batolettre@gmail.com>

* Update docs

Co-authored-by: Michael Muré <batolettre@gmail.com>
2021-04-25 16:46:36 +02:00