Commit Graph

531 Commits

Author SHA1 Message Date
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
Michael Muré
47b2aa4cc1 launchpad: minor cleaning 2018-12-17 13:05:05 +01:00
Michael Muré
d26b1d08c7 doc: same size for the webui screenshots 2018-12-17 12:55:30 +01:00
Michael Muré
24f568a5c6
Merge pull request #79 from Steap/feature/bridge-launchpad
WIP: Initial Launchpad bridge.
2018-12-17 12:51:52 +01:00
Cyril Roelandt
d6ddf0ef5c Initial Launchpad bridge.
This a just a preview. Not all features are expected to work.
2018-12-16 00:51:22 +01:00
Michael Muré
c92da552d8
Merge pull request #81 from rafasc/ra/fix-empty-ident-test-failure
tests: configure user ident in repos used by tests
2018-12-10 23:19:46 +01:00
Rafael Ascensão
8dcd3d21cd tests: configure user ident in repos used by tests
Some git operations require the user to have an identity configured and
will exit with failure if none is set (or if git can't guess it). As a
direct consequence of this, the test suite may fail depending on the
user local configuration.

The error itself is justified as regular users *should* configure their
identity themselves. However, when building in chrooted environments
it's unlikely the git identity will be set making the test suite fail
unnecessarily.

To prevent such unnecessary failures, let's make a dummy identity for
repos created and used by the test suite.
2018-12-10 22:14:27 +00:00
Michael Muré
63807382d3
Readme: add more explanation about the dev process 2018-12-10 00:25:46 +01:00
Michael Muré
a71d433f5e
Merge pull request #78 from Steap/improve-readme
README.md: Add developer-specific information.
2018-12-10 00:17:11 +01:00
Cyril Roelandt
c31e7fbab5 README.md: Add developer-specific information.
Cloning a Go project is a weird thing for developers unfamiliar with the
language.

This closes #77.
2018-12-08 22:42:16 +01:00
Michael Muré
2ac2c8812f doc: update webui screenshot 2018-12-05 19:57:37 +01:00
Michael Muré
85a68c825e gitignore: ignore jetbrains project files 2018-12-05 19:43:20 +01:00