Commit Graph

82 Commits

Author SHA1 Message Date
Michael Muré
17cbe457d2
graphql: fix typo 2019-06-23 21:29:04 +02:00
Michael Muré
9f4da4ce4f
cache: consistently use "ref" to fetch a repository 2019-06-23 21:28:01 +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
Michael Muré
c7abac388a repo: refactor how test repo are created/cleaned 2019-05-27 21:14:55 +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
af8216cf35
Update grpahql tests 2019-05-22 20:22:36 +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é
5733178aba
graphql: fix test indentation 2019-04-05 01:15:52 +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é
475b7b4c49
a round of cleanup 2019-03-01 22:52:53 +01:00
Michael Muré
e100ee9f10
github: fix 3 edge-case failures 2019-03-01 22:48:50 +01:00
Michael Muré
ffe35fece1
identity: complete the graphql api 2019-03-01 22:40:27 +01:00
Michael Muré
cd7ed7ff9e
identity: add more test for serialisation and push/pull/merge + fixes 2019-03-01 22:40:24 +01:00
Michael Muré
14b240af8f
identity: more cleaning and fixes after a code review 2019-03-01 22:40:22 +01:00
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