aboutsummaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* graphql: properly namespace Bug to make space for other entities (#1254)Michael Muré2024-08-2839-4761/+4572
| | | | | | | Also: use gqlgen directives to help the type auto-binding Missing: - namespace mutations - adapt the webUI queries
* core: make label a common type, in a similar fashion as for status (#1252)Michael Muré2024-08-2525-1490/+612
| | | This will be useful for Board, and likely code review support later
* feat: update references to the git-bug organization (#1249)sudoforge2024-08-2444-124/+124
| | | | | | | | The repository was recently moved to the git-bug organization on github. This change refactors references to the repository to ensure that they use the updated owner URI. Closes: #1243 Change-Id: I799712354c6ba25cdd8b06286275850c52efe6ff
* chore: remove refs to deprecated io/ioutilguoguangwu2024-07-231-2/+2
| | | | | | | | Signed-off-by: guoguangwu <guoguangwug@gmail.com> chore: remove refs to deprecated io/ioutil Signed-off-by: guoguangwu <guoguangwug@gmail.com>
* chore: fix some struct names in commentsdeferdeter2024-04-164-4/+4
| | | | Signed-off-by: deferdeter <deferdeter@outlook.com>
* api/graphql: regenerate after gqlgen upgradeMichael Muré2023-08-1112-985/+2220
|
* cache: simplify cache building events handlingMichael Muré2022-12-272-5/+3
|
* cache: tie the last printf in an event to make the core print freeMichael Muré2022-12-271-1/+4
|
* cache: generic withSnapshot, some cleanupMichael Muré2022-12-221-1/+4
|
* cache: tie up the refactor up to compilingMichael Muré2022-12-217-20/+20
|
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-131-3/+3
|
* build(deps): bump github.com/99designs/gqlgen from 0.17.13 to 0.17.17dependabot[bot]2022-09-141-2/+4
| | | | | | | | | | | | | | | | Bumps [github.com/99designs/gqlgen](https://github.com/99designs/gqlgen) from 0.17.13 to 0.17.17. - [Release notes](https://github.com/99designs/gqlgen/releases) - [Changelog](https://github.com/99designs/gqlgen/blob/master/CHANGELOG.md) - [Commits](https://github.com/99designs/gqlgen/compare/v0.17.13...v0.17.17) --- updated-dependencies: - dependency-name: github.com/99designs/gqlgen dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* webui: add a flag to log handling errorsMichael Muré2022-08-233-2/+73
|
* bug: have a type for combined ids, fix ↵Michael Muré2022-08-2225-367/+302
| | | | https://github.com/MichaelMure/git-bug/issues/653
* move bug.Status in entities/common for reuseMichael Muré2022-08-206-12/+21
|
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-1828-20539/+20756
|
* build: go 1.18 minimumMichael Muré2022-07-311-1/+1
|
* entity/dag: proper base operation for simplified implementationMichael Muré2022-07-257-2812/+6008
| | | | | | | | - reduce boilerplace necessary to implement an operation - consolidate what an operation is in the core, which in turn pave the way for a generic cache layer mechanism - avoid the previously complex unmarshalling process - support operation metadata from the core - simplified testing
* refactor(809): eliminate need to defer CleanupTestRepos()Steve Moyer2022-06-162-4/+2
|
* graphql: fix two invalid mutex lock leading to data racesMichael Muré2022-06-052-6/+6
|
* update gqlgenMichael Muré2022-02-151-1296/+2931
|
* GraphQL: Implement AddCommentAndReopenBug mutationSascha2021-05-265-8/+463
|
* GraphQL: Add AddCommandAndCloseBug mutationSascha2021-05-205-34/+490
|
* Merge pull request #605 from ↵Michael Muré2021-04-231-1/+1
|\ | | | | | | | | GlancingMind/upstream-12-allow-users-to-inspect-their-current-identity-details WebUI: Add user profile
| * Use profile page for each identitySascha2021-04-131-4/+0
| | | | | | | | | | Authorcomponent links to the authors profile page. Replace pofile buglist with statistics
| * Add basic bug listingLena2021-04-131-1/+5
| |
* | make sure every text input is safe and validatedMichael Muré2021-04-171-6/+33
|/ | | | fix #630
* Merge remote-tracking branch 'origin/master' into dag-entityMichael Muré2021-03-295-0/+419
|\
| * Improve description of target-fieldSascha2021-03-201-1/+1
| |
| * GrapQL: Regenerate the GraphQL-ServerSascha2021-03-192-25/+364
| |
| * GraphQL: Add target to EditCommentInputSascha2021-03-192-1/+4
| |
| * Fix compilation errorsSascha2021-03-192-2/+5
| |
| * GraphQL: Add EditComment input/payload to gen_modelsSascha2021-03-191-0/+22
| |
| * GraphQL: Add EditComment mutation to schemaSascha2021-03-191-0/+22
| |
| * GraphQL: Add EditComment to mutation typeSascha2021-03-191-0/+2
| |
| * GraphQL: Resolve new EditComment mutationSascha2021-03-191-0/+28
| |
* | bug: migrate to the DAG entity structure!Michael Muré2021-02-142-19/+6
| |
* | deal with the previous changesMichael Muré2021-02-141-45/+4
|/
* repo: move bleve thereMichael Muré2020-12-081-1/+4
|
* repo: use go-git in more places, fix pushMichael Muré2020-10-042-2/+2
|
* repository: merge git.Hash in for one less /util packageMichael Muré2020-07-014-176/+175
|
* Reorganize the webUI and API codeMichael Muré2020-06-2746-0/+18528
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