Michael Muré
|
1bf268cebc
|
merge package operations into bug, they are tightly coupled anyway
|
2018-09-29 00:51:54 +02:00 |
|
Michael Muré
|
8af6f7d98f
|
graphql: manually fix the generated code, gix the graphql handler
|
2018-09-29 00:48:38 +02:00 |
|
Michael Muré
|
5d7c3a76af
|
bug: add the optional field AvatarUrl to Person
|
2018-09-25 17:55:20 +02:00 |
|
Michael Muré
|
82eaceffc1
|
repo: split the Repo interface to avoid abstraction leak in RepoCache
|
2018-09-21 18:53:37 +02:00 |
|
Michael Muré
|
6f5d433e33
|
docs & cleaning
|
2018-09-16 13:50:53 +02:00 |
|
Michael Muré
|
b478cd1bcb
|
graphql: update gqlgen to 0.5.1
fix #6
|
2018-09-14 12:41:59 +02:00 |
|
Michael Muré
|
f569e6aacc
|
operations: return a more convenient array of result for label changes
|
2018-09-13 12:20:28 +02:00 |
|
Michael Muré
|
60fcfcdcb0
|
bug: change the OperationPack serialization format for Json
See https://github.com/MichaelMure/git-bug/issues/5 for the details of this choice
|
2018-09-12 16:57:46 +02:00 |
|
Michael Muré
|
3605887345
|
reorganize package for a more idomatic go
|
2018-09-11 22:14:46 +02:00 |
|
Michael Muré
|
7b05983c19
|
graphql: AllBugs now accept a query
|
2018-09-11 19:46:38 +02:00 |
|
Michael Muré
|
09e097e1bf
|
cache: combine sorting and filtering into a query with its micro-DSL
|
2018-09-09 20:22:27 +02:00 |
|
Michael Muré
|
0728c0050d
|
cache: provide a generic bug sorting function
|
2018-09-02 16:36:48 +02:00 |
|
Michael Muré
|
919f98efdb
|
cache: provide sorted (id, creation, edit) list of bugs
|
2018-09-02 15:46:43 +02:00 |
|
Michael Muré
|
90a45b4c09
|
cache: rename RootCache into MultiRepoCache
Underline the fact that it's fine to use RepoCache alone
|
2018-09-02 15:45:14 +02:00 |
|
Michael Muré
|
7397c94d99
|
make CLI commands use the cache to lock the repo properly
|
2018-08-31 17:22:10 +02:00 |
|
Michael Muré
|
fba56eda83
|
better naming for the graphql-s root resolver
|
2018-08-27 12:15:41 +02:00 |
|
Michael Muré
|
0514edad1a
|
cache: maintain, write and load from disk bug excerpts
|
2018-08-23 21:24:57 +02:00 |
|
Michael Muré
|
e7648996c8
|
bug: add a new BugExerpt that hold a subset of a bug state for efficient sorting and retrieval
|
2018-08-23 19:19:16 +02:00 |
|
Michael Muré
|
6d7dc465d8
|
cache: lock the repo with a pid file; automatic cleaning
|
2018-08-21 19:13:08 +02:00 |
|
Michael Muré
|
a474093774
|
bug: add "was" on SetTitleOperation to store what the title was
|
2018-08-15 22:01:45 +02:00 |
|
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é
|
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é
|
d8f89726fe
|
implement media hosting in git for comments + API for the webui
|
2018-08-02 23:37:49 +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é
|
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é
|
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é
|
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é
|
932743ac06
|
follow go naming convention
|
2018-07-27 01:58:38 +02:00 |
|
Michael Muré
|
074156634b
|
add a cache to support the graphql API and the future interactive CLI UI
|
2018-07-25 21:27:50 +02:00 |
|
Michael Muré
|
17e2ec8f56
|
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs
|
2018-07-23 00:04:46 +02:00 |
|
Quentin Gliech
|
50fd2943ac
|
graphql: add allBugs to root query
|
2018-07-22 01:12:44 +02:00 |
|
Quentin Gliech
|
3dd41e5da1
|
Add title field to bugs in graphql schema
|
2018-07-22 00:17:22 +02:00 |
|
Quentin Gliech
|
1dd5118eeb
|
graphql: Actually get the bugs from the repo
|
2018-07-20 14:32:23 +02:00 |
|
Michael Muré
|
d7313068fb
|
small cleaning
|
2018-07-19 17:58:45 +02:00 |
|
Michael Muré
|
f42cf79443
|
start of a graphql schema+types
|
2018-07-19 15:27:55 +02:00 |
|
Michael Muré
|
a2a50f3de0
|
webui: add a primitive graphql handler
|
2018-07-19 14:15:50 +02:00 |
|