aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/graphql_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize the webUI and API codeMichael Muré2020-06-271-215/+0
| | | | | | | | | | Included in the changes: - create a new /api root package to hold all API code, migrate /graphql in there - git API handlers all use the cache instead of the repo directly - git API handlers are now tested - git API handlers now require a "repo" mux parameter - lots of untangling of API/handlers/middleware - less code in commands/webui.go
* Change graphql Go handlers to pluck identity out of context instead.Luke Granger-Brown2020-06-271-2/+1
|
* Add support for read-only mode for web UI.Luke Granger-Brown2020-06-271-1/+2
| | | | Fixes #402.
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-261-1/+1
| | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* graphql: merge defaultRepository and repository for simplified webUI codeMichael Muré2020-02-111-2/+2
|
* upgrade to gqlgen master, waiting for a releaseMichael Muré2020-02-051-3/+1
|
* migrate to go modulesMichael Muré2020-02-051-1/+1
|
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-271-14/+4
|
* Update grpahql testsAmine Hilaly2019-05-221-4/+25
|
* graphql: fix test indentationMichael Muré2019-04-051-17/+18
|
* graphql: make Bug's actors and participants a connectionMichael Muré2019-04-051-22/+53
|
* Expose actors and participants in snapshot and bug excerptAmine Hilaly2019-04-041-9/+21
| | | | | | | | Append operations authors to each list on Apply() call Expose actors and participants in graphql Add actor/participant query filter and documentation
* identity: add more test for serialisation and push/pull/merge + fixesMichael Muré2019-03-011-1/+15
|
* WIP identity in gitMichael Muré2019-03-011-0/+148