Commit Graph

61 Commits

Author SHA1 Message Date
Michael Muré
844616baf8
identity: more progress and fixes 2019-03-01 22:40:21 +01:00
Michael Muré
bdbe9e7e82
identity: more progress and fixes 2019-03-01 22:35:37 +01:00
Michael Muré
feab9412df
WIP identity in git 2019-03-01 22:35:36 +01:00
Michael Muré
94b28b68e5
termui: display an explicit placeholder for empty messages 2018-12-23 21:46:47 +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é
a37a53203d
fix build 2018-10-07 19:03:41 +02:00
Michael Muré
7cb7994cda
github: also pull users email 2018-10-07 18:27:23 +02:00
Michael Muré
03202fed49
graphql: add missing operation 2018-10-07 17:41:47 +02:00
Michael Muré
3402230a55
bug: use a value embedding for OpBase 2018-10-01 11:37:17 +02:00
Michael Muré
7f86898ef9
bug: use deditated type for all TimelineItem 2018-09-30 17:15:54 +02:00
Michael Muré
037f5bf50b
timeline: various minor improvements 2018-09-30 11:03:42 +02:00
Michael Muré
36ebbe0cf4
graphql: expose the new Timeline 2018-09-29 20:59:25 +02:00
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