Commit Graph

42 Commits

Author SHA1 Message Date
Michael Muré
1402295382
graphql: don't use the gqlgen command to generate to avoid pulling urfave/cli 2019-07-09 13:22:59 +02:00
Michael Muré
bc03a89aa7 fix tests 2019-06-16 21:40:45 +02:00
Michael Muré
b2f8572c44 graphql: change mutations to respect the Relay specification
https://facebook.github.io/relay/graphql/mutations.htm

This specification also allow to expose a mutationId for fire and forget,
as well as the created operation.
2019-06-16 21:29:49 +02:00
Quentin Gliech
1c2ee10ce7
graphql: Implement Authored whenever possible
webui: Use a fragment for Authored nodes
2019-05-22 21:46:43 +02:00
Amine Hilaly
24c3e1f8df
Regen graphql with gqlgen 0.9.0 2019-05-22 20:22:35 +02:00
ludovicm67
9adf6de4b5
graphql: expose label color 2019-05-22 20:22:35 +02:00
Amine Hilaly
8bab279114 Update graphql package to support gqlgen 0.9.0 2019-05-15 16:57:30 +02:00
ludovicm67
14461060b7
graphql: expose valid labels 2019-04-10 22:36:34 +02:00
Amine Hilaly
6e8496f4c1 Support gqlgen v0.8.3 2019-04-09 17:43:17 +02:00
Michael Muré
e027d5ee65
graphql: make Bug's actors and participants a connection 2019-04-05 01:13:17 +02:00
Amine Hilaly
2a5fbc4dc9 Expose actors and participants in snapshot and bug excerpt
Append operations authors to each list on Apply() call

Expose actors and participants in graphql

Add actor/participant query filter and documentation
2019-04-04 00:37:57 +02:00
Michael Muré
15c258cdc4
graphql: expose allIdentities, identities and userIdentity in the repo 2019-04-01 14:03:13 +02:00
Michael Muré
ffe35fece1
identity: complete the graphql api 2019-03-01 22:40:27 +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é
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é
b478cd1bcb
graphql: update gqlgen to 0.5.1
fix #6
2018-09-14 12:41:59 +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é
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é
a474093774
bug: add "was" on SetTitleOperation to store what the title was 2018-08-15 22:01:45 +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é
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é
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