Commit Graph

1877 Commits

Author SHA1 Message Date
Michael Muré
bc1fb34c24
graphql: fix two bugs in the connection code
1) totalCount was incorrect when not in the first page
2) pageInfo.Has{Previous,Next}Page was incorrect when using before or after
2018-08-15 14:53:50 +02:00
Michael Muré
5c568a362b
gqlgen: add a small program to go:generate the code 2018-08-14 14:48:41 +02:00
Michael Muré
ef0d8fa108
graphql: expose startCursor and endCursor as well for a connection 2018-08-14 14:20:35 +02:00
Michael Muré
43f808a0e2
webui: don't pack the huge .map file for production 2018-08-14 02:06:41 +02:00
Michael Muré
5edcb6c8bd
webui: revamp the bug list 2018-08-14 02:06:02 +02:00
Michael Muré
4c850b5989
cleanup go imports 2018-08-13 18:39:19 +02:00
Michael Muré
df144e727a
fix some linting trouble 2018-08-13 15:28:47 +02:00
Michael Muré
f2f779c5a8
Update README.md 2018-08-13 02:19:34 +02:00
Michael Muré
3fe65c0a55
Update README.md 2018-08-12 21:53:36 +02:00
Michael Muré
c1a08111b6
build: someday travis will stop complaining 2018-08-12 21:35:41 +02:00
Michael Muré
bb6fad3058
prepare a first version 2018-08-12 21:26:01 +02:00
Michael Muré
83185a8cb3
test: make bug_actions_test race resistant 2018-08-12 21:09:46 +02:00
Michael Muré
e2f4b027c9
termui: implement push/pull 2018-08-12 21:09:30 +02:00
Michael Muré
721ed3248e
termui: fix scroll bug 2018-08-12 02:45:35 +02:00
Michael Muré
53a3d5e113
termui: add and remove labels 2018-08-12 02:42:03 +02:00
Michael Muré
f51cc4a33f
termui: implement left/right navigation in show bug 2018-08-11 23:36:03 +02:00
Michael Muré
b96819a8e8
termui: properly handle color sequence code even inside a word 2018-08-11 22:27:45 +02:00
Michael Muré
f7ef5cdb3a
termui: fix the instructions being written on in show bug 2018-08-09 16:48:23 +02:00
Michael Muré
a0d509bcdd
termui: display status and label changes in show bug 2018-08-09 15:28:32 +02:00
Michael Muré
34eea1f43c
termui: reset the scroll between show bug window 2018-08-09 14:55:34 +02:00
Michael Muré
de76b6fa15
termui: better padding for show bug 2018-08-09 14:55:18 +02:00
Michael Muré
5675299c8d
termui: commit the bug when quiting the show bug window 2018-08-09 14:45:02 +02:00
Michael Muré
b6087d7e35
termui: colors show bug 2018-08-09 14:36:23 +02:00
Michael Muré
0da2bea132
TextWrap: add a version with a left padding 2018-08-09 14:35:55 +02:00
Michael Muré
ca31258cd2
TextWrap: support text with color escape sequence 2018-08-09 14:06:55 +02:00
Michael Muré
bf0a855f0c
termui: implement scrolling with pageUp / pageDown 2018-08-09 02:46:26 +02:00
Michael Muré
204ca0a9e6
termui: implement scrolling by selecting block in show bug 2018-08-09 01:35:31 +02:00
Michael Muré
8baa220f59
readme: add the go report card badge 2018-08-09 00:07:57 +02:00
Michael Muré
f1fa169c28
termui: selectable bloc 2018-08-08 22:22:35 +02:00
Michael Muré
716b859f25
termui: colors in the bug table 2018-08-08 22:21:02 +02:00
Michael Muré
ad9e35e302
termui: add the previous title in the template when editing 2018-08-08 21:25:06 +02:00
Michael Muré
1017f8c6cb
termui: fix an out of bound panic 2018-08-08 21:24:02 +02:00
Michael Muré
929d709364
bash completion: thanks to @tst2005, make the completion works for "git bug <command>" 2018-08-08 20:31:31 +02:00
Michael Muré
b8e9e581b1
webui: fix graphql queries 2018-08-08 19:05:34 +02:00
Michael Muré
ca4c829ed0
readme: cleanup 2018-08-08 18:51:11 +02:00
Michael Muré
28670ff8de
doc: complete the model doc now that the code is more stable 2018-08-07 14:57:12 +02:00
Michael Muré
435be2b693
bug: add a Lamport logical clock to be able to sort bugs by creation time and edit time without having to rely on a timestamp 2018-08-06 20:31:20 +02:00
Michael Muré
593891b8e0
travis: run the cross compile only when deploying
note: travis is dumb here and we have to rewrite the same condition twice.
simply deploy/script would run all the time
2018-08-06 16:17:44 +02:00
Michael Muré
d2f5e6b927
webui: pack the files only on demand 2018-08-06 16:17:11 +02:00
Michael Muré
84131cb553
manpages: update names following the change of section 2018-08-06 16:09:53 +02:00
Michael Muré
3edec36e0a
make git-bug go gettable without having to commit the builded webUI 2018-08-06 14:18:55 +02:00
Michael Muré
7d57ec6189
clarify the git internal storage feature 2018-08-06 14:09:33 +02:00
Michael Muré
26e7ce44db
upgrade the readme 2018-08-06 03:26:42 +02:00
Michael Muré
b2f20c9a61
util: add a Lamport clock implementation as well as a persistable one 2018-08-05 15:27:46 +02:00
Michael Muré
90fb85e067
bug: store the referenced media in their own git tree under /media, as per the doc I wrote myself 2018-08-05 15:26:36 +02:00
Michael Muré
597b0ea0d2
travis: now I remember why i removed codegov
--> it fails on go 1.9:

"cannot use test profile flag with multiple packages"

It would require a script of some sort to compile all package coverage in the same report

--> report are innacurate

test in test/ are not accounted for the coverage
2018-08-04 12:39:12 +02:00
Michael Muré
90ccc94a0e
travis: configure cross-compile + deploy on github + codecov 2018-08-04 02:40:08 +02:00
Michael Muré
ba16fc10b4
termui: more work on the show bug window 2018-08-03 17:29:53 +02:00
Michael Muré
5c86164f22
util: add a text wrapping function 2018-08-03 17:29:11 +02:00
Michael Muré
d88d59e9c5
fix test 2018-08-02 23:45:40 +02:00