Commit Graph

492 Commits

Author SHA1 Message Date
Michael Muré
59ea2e018e add a "version" command with various outputs, including the git hash and tag 2019-02-20 21:56:33 +01:00
Michael Muré
09692456c7
man: update the date in the generated doc 2019-02-16 17:34:04 +01:00
Michael Muré
bb0066344a
Merge pull request #92 from opencollective/opencollective
Open Collective integration in Readme
2019-01-21 13:03:41 +01:00
François Hodierne
090cd808a3 chore(opencollective): use tiers 2019-01-21 11:17:06 +01:00
Michael Muré
6bfbf36cd9
Merge pull request #86 from ProgramFan/master
Implement CJK support in termui
2019-01-09 19:47:42 +01:00
Michael Muré
44643efedc
Merge pull request #91 from seeduvax/cmdShowFields
commands: show: change for a single valued --field flag
2019-01-08 16:32:55 +01:00
Yang Zhang
8ea5c6b41d Fix handling of long words 2019-01-08 09:55:32 +08:00
Michael Muré
43d0fe5cae
commands: show: change for a single valued --field flag 2019-01-07 23:08:48 +01:00
Michael Muré
433c4fc46a
upgrade webui dependency 2019-01-07 22:51:55 +01:00
Sebastien Devaux
5850116c0d Simplified show commadn error handling.
Exit on first unknown field found in query.
2019-01-07 18:56:29 +01:00
Yang Zhang
2feb4ec21b Fix bad names in text.go 2019-01-07 21:30:46 +08:00
Michael Muré
bbf385b0c3
Merge pull request #90 from seeduvax/issue87
Issue #87: use same id format function in snapshot.go than in bug.go
2019-01-06 21:01:11 +01:00
Sebastien Devaux
68cbde492d Fixed golangci check error about new error from format string 2019-01-04 15:38:47 +01:00
Sebastien Devaux
afbda3cc23 git hook script exmaple to prefill commit message from selected issue 2019-01-04 15:29:24 +01:00
Sebastien Devaux
1787f959ff Adding fields switch to show command to select fields to display. 2019-01-04 15:15:42 +01:00
Sebastien Devaux
76386720fe Issue #87: use same id format function in snapshot.go than in bug.go 2019-01-04 12:27:03 +01:00
Yang Zhang
309e6892c3 Remove redundant init in text package 2019-01-02 23:32:56 +08:00
Yang Zhang
5cf7b19dcc Make runewidth treat ambiguous rune as short and fix ui display 2019-01-01 21:52:05 +08:00
Yang Zhang
e29188e6ff Revert the changes on zsh_completion/git-bug 2018-12-31 13:45:53 +08:00
Yang Zhang
d4fd895579 Add tests for critical internal functions in text.go 2018-12-31 13:16:53 +08:00
Yang Zhang
7c1df91d53 Refactor text.go to improve clearity 2018-12-31 11:00:05 +08:00
Yang Zhang
99bc0c140a Fix megacheck warnings 2018-12-31 09:02:35 +08:00
Yang Zhang
a0ae5fc534 Fix incorrect wrap of mixed wide and ascii chars 2018-12-31 08:53:11 +08:00
Yang Zhang
f22f9b7083 Implement a new wrap algorithm and pass all text tests 2018-12-31 01:57:10 +08:00
Yang Zhang
467ab5b68e Fix tests in left_padded 2018-12-30 08:38:31 +08:00
Yang Zhang
c0ce41540e Add back removed text functions 2018-12-30 08:38:31 +08:00
Yang Zhang
5241916535 Use ASCII ellipsis to workaround inaccurate width of unicode ellipsis 2018-12-30 08:38:31 +08:00
Yang Zhang
d823bc5728 Revert to MichaelMure's fork of gocui 2018-12-30 08:38:31 +08:00
Michael Muré
171acad619
Merge pull request #84 from Steap/allow-empty-comment-message
Allow empty messages in comments.
2018-12-27 21:53:48 +01:00
Michael Muré
3f694195f8
misc: fix non determinist zsh comp generation
upstream PR: https://github.com/spf13/cobra/pull/801
2018-12-27 21:27:56 +01:00
Cyril Roelandt
11e04748b9 Allow empty messages in comments.
Some bug trackers, like Launchpad, allow messages to be empty (when adding a
file to the bug, for instance).
2018-12-26 23:23:07 +01:00
Yang Zhang
d31891504d Implement almost full CJK support.
Display of CJK contents are supported. Adding CJK tags are problematic.
2018-12-26 23:05:58 +08:00
Yang Zhang
3fa2d15fb8 Implement displaying CJK contents 2018-12-26 22:55:16 +08:00
Michael Muré
32b3e263fc
text: fix handling of wide characters 2018-12-25 21:17:11 +01:00
Michael Muré
ebcf3a7587
termui: use a forked gocui to fix large character handling 2018-12-25 20:49:54 +01:00
Michael Muré
60d44f750e
Merge pull request #83 from Steap/improve-termui-paging
Improve termui paging
2018-12-25 20:12:20 +01:00
Michael Muré
96f514168f
repo: minor cleaning 2018-12-25 16:35:37 +01:00
Michael Muré
8a6a8055d7
add a check for the minimal go version (1.8) 2018-12-23 23:03:19 +01:00
Michael Muré
45b82de0be
travis: build on all go and nodejs version supported 2018-12-23 23:02:25 +01:00
Michael Muré
94b28b68e5
termui: display an explicit placeholder for empty messages 2018-12-23 21:46:47 +01:00
Michael Muré
fb87d44888
termui: don't reset the cursor when paginating with left/right
See https://github.com/MichaelMure/git-bug/pull/83 for the rationale
2018-12-23 21:16:27 +01:00
Michael Muré
7454b9505a
text: more chinese related fixes 2018-12-23 20:47:18 +01:00
Michael Muré
261aa61711
text: fix a wrapping bug leading to line longer than they should 2018-12-23 20:13:14 +01:00
Michael Muré
f9fc85ac82
text: hopefuly fix the handling of chinese 2018-12-23 19:00:51 +01:00
Michael Muré
0d5bd6b18a
graphql: now that it's possible, split the schema for clarity 2018-12-23 17:55:41 +01:00
Michael Muré
1410a1af75
upgrade gqlgen to v0.7.1 2018-12-23 17:11:37 +01:00
Michael Muré
8fc15a032f
webui: upgrade npm dependencies to fix https://nvd.nist.gov/vuln/detail/CVE-2018-16469 2018-12-23 13:57:40 +01:00
Michael Muré
5a465c0d8a
update generated doc with the new date 2018-12-22 03:08:02 +01:00
Cyril Roelandt
87098cee7b Termui: Better position the cursor when changing page.
After moving to the previous page, users probably want to have their cursor on
the last entry of the page. When moving to the next page, they probably want it
to be on the first entry.
2018-12-22 01:39:38 +01:00
Cyril Roelandt
1174265e59 Termui: switch to the previous/next page when going up/down.
Rather than using 'h' or 'l' to load the previous or next page, allow users to
do this automatically when going up or down the list with 'k' or 'j'. This is
the default behaviour in mutt, for instance.
2018-12-22 00:06:40 +01:00