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
Michael Muré
d8f89726fe
implement media hosting in git for comments + API for the webui
2018-08-02 23:37:49 +02:00
Michael Muré
ed8f7eca9a
webui: add the http handlers for read/write git blob for media in comments
2018-08-02 22:33:45 +02:00
Michael Muré
9488467c75
termui: show the last edit in a dedicated column
2018-08-02 16:48:07 +02:00
Michael Muré
ae1ed6c11f
termui: implement addComment and setTitle
2018-08-02 16:35:13 +02:00
Michael Muré
e6a64b4985
cache: some refactoring
2018-08-02 14:56:50 +02:00
Michael Muré
e5a6a71b78
graphql: implement the missing mutations
2018-08-01 21:57:12 +02:00
Michael Muré
15f2824219
graphql: simplify the requests with helpers
2018-08-01 19:24:19 +02:00
Michael Muré
5830dd8841
replace strings.Builder with a bytes.Buffer to support go 1.9
2018-08-01 13:11:52 +02:00
Michael Muré
c875d40e63
termui: add a view to display a bug
2018-08-01 02:17:06 +02:00
Michael Muré
2f88c28c59
termui: fix a pagination off by one
2018-07-31 22:30:50 +02:00
Michael Muré
6b012b1e48
termui: add a reusable error popup, use it for badly formated bug creation
2018-07-31 22:19:11 +02:00
Michael Muré
20bd25f332
vendor deps
2018-07-31 16:50:53 +02:00
Michael Muré
87669e0f18
termui: use the editor to create a new bug
2018-07-31 16:44:23 +02:00
Michael Muré
eb39c5c29b
cli: rework new and comment command to better use the editor
...
a nice templace is now provided with explanations
new: title and message can now be provided from the editor. Title will
be the first non-empty line
2018-07-31 16:44:23 +02:00
Quentin Gliech
8a4e373e7b
webui: Use the new schema
2018-07-31 00:18:55 +02:00
Michael Muré
091ac03f1f
termui: PgUp & PgDown to pagine the bug list as well
2018-07-30 18:59:34 +02:00
Michael Muré
12b0fecd9b
vendor gocui on the master branch because of no release in a while
2018-07-30 18:22:52 +02:00
Michael Muré
bb9168f98a
vendor gocui
2018-07-30 18:11:53 +02:00
Michael Muré
29bb7364c8
termui: interactive and responsible list of bugs
2018-07-30 18:09:44 +02:00
Michael Muré
c0dbe70ee0
wip terminal ui
2018-07-30 17:00:10 +02:00
Michael Muré
e14f1b4264
graphql: move the mutations to a root Mutation type
2018-07-30 01:36:41 +02:00
Michael Muré
3cb0469a22
graphql: implement a first mutation
2018-07-30 01:08:45 +02:00
Michael Muré
79b3d18918
graphql: use an interface instead of an union for the operations for easier query
2018-07-30 00:20:04 +02:00
Michael Muré
5b70e3452a
graphql: fix knot in the graphql/gqlgen usage
2018-07-29 23:48:52 +02:00
Michael Muré
64354c7ce3
webui: show graphql urls
2018-07-29 21:05:48 +02:00
Michael Muré
f0f927645b
graphql: document hack
2018-07-29 20:58:43 +02:00
Michael Muré
c58aa18a2d
graphql: lazy loading for the bug relay connection
2018-07-29 20:58:22 +02:00
Michael Muré
08f03ecf3c
graphql: fix marshaling of label
2018-07-29 20:56:03 +02:00
Michael Muré
c351cfd30d
graphql: directly return a connection, cleaning
2018-07-29 19:37:32 +02:00
Michael Muré
8fa0b258ac
cleaning
2018-07-29 18:58:42 +02:00
Michael Muré
6363518c85
relay connection working with gqlgen
2018-07-29 18:51:56 +02:00