Commit Graph

460 Commits

Author SHA1 Message Date
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
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
Michael Muré
7e66f7416b
Merge branch 'recording' 2018-12-04 23:53:00 +01:00
Michael Muré
3cb74c7ff0
update readme with new demo gif 2018-12-04 23:51:35 +01:00
Michael Muré
e171448902
bridge: simplify regex 2018-12-04 23:43:57 +01:00
Michael Muré
a133cdffaf
bridge: slightly better error message 2018-12-04 23:43:22 +01:00
Michael Muré
cdc80c9379
Add a gif file generated with ScreenToGif from the svg file 2018-12-04 23:35:55 +01:00
Michael Muré
23a9aa9575
update the termui screencast 2018-12-02 16:08:13 +01:00
Michael Muré
9c89cf5b96
termui: tighter column in the bug table 2018-12-01 17:09:13 +01:00
Michael Muré
ab970da4d5
termui: use the '↵' symbol to save screen space 2018-12-01 17:08:19 +01:00
Michael Muré
5e74489126
text: fix broken truncate with unicode and use the ellipsis character in LeftPadMaxLine 2018-12-01 15:17:16 +01:00
Michael Muré
5653ae98e0
interrupt: minor cleaning 2018-10-27 11:51:50 +02:00
Michael Muré
8be1078dd6
Merge pull request #71 from auyer/master
Cleaning lock files on Interruption
2018-10-27 11:46:10 +02:00
Rafael Passos
31cbddd35b Iverted order, moved print, and new tests 2018-10-25 18:07:02 -03:00
Rafael Passos
8f012e2cab RegisterCleaner now uses Variadic input + tests 2018-10-24 19:06:10 -03:00
Rafael Passos
85032d4cdc Inverted boolean check 2018-10-24 18:55:02 -03:00
Rafael Passos
f72b18496b moved cleaner function to util/interrupt 2018-10-24 18:36:39 -03:00
Rafael Passos
4f4af4584f changing t type where used 2018-10-24 18:27:43 -03:00
Michael Muré
3fa9673360
removed unnecessary empty string from print
Co-Authored-By: auyer <rafael@rcpassos.me>
2018-10-24 18:12:50 -03:00
Michael Muré
a405c33ed6
Renamed struct from t to Cleaner
Co-Authored-By: auyer <rafael@rcpassos.me>
2018-10-24 18:11:36 -03:00
Rafael Passos
c38f8f1c30 Registering lock clearing functions to Cleaner 2018-10-23 18:01:00 -03:00
Rafael Passos
addeb9a0a1 Created Cleaner package 2018-10-23 18:00:55 -03:00
Michael Muré
e79476a962
Merge pull request #70 from auyer/patch-1
[DOC] Updated usage examples in README.md
2018-10-23 00:27:10 +02:00