Michael Muré
b27958758f
cache: simplify cache building events handling
2022-12-27 19:39:09 +01:00
Michael Muré
13a7a59917
cache: tie the last printf in an event to make the core print free
2022-12-27 11:19:45 +01:00
Michael Muré
d65e8837aa
cache: generic withSnapshot, some cleanup
2022-12-22 00:48:00 +01:00
Michael Muré
9b98fc0648
cache: tie up the refactor up to compiling
2022-12-21 21:54:36 +01:00
Michael Muré
3c6ebc2bfd
core: bubble up the comment ID when created, or edited the first comment
2022-11-13 12:31:38 +01:00
dependabot[bot]
678cb0e12d
build(deps): bump github.com/99designs/gqlgen from 0.17.13 to 0.17.17
...
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>
2022-09-14 11:43:29 +02:00
Michael Muré
8d11e620a3
webui: add a flag to log handling errors
2022-08-23 15:09:31 +02:00
Michael Muré
45b04351d8
bug: have a type for combined ids, fix https://github.com/MichaelMure/git-bug/issues/653
2022-08-22 13:25:26 +02:00
Michael Muré
8818d091e8
move bug.Status in entities/common for reuse
2022-08-20 10:52:11 +02:00
Michael Muré
5511c230b6
move {bug,identity} to /entities, move input to /commands
2022-08-18 23:44:06 +02:00
Michael Muré
56966fec55
build: go 1.18 minimum
2022-07-31 14:47:07 +02:00
Michael Muré
3d454d9dc8
entity/dag: proper base operation for simplified implementation
...
- 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
2022-07-25 13:27:17 +02:00
Steve Moyer
1d4667c825
refactor(809): eliminate need to defer CleanupTestRepos()
2022-06-16 09:02:52 -04:00
Michael Muré
fe231231c6
graphql: fix two invalid mutex lock leading to data races
2022-06-05 13:23:02 +02:00
Michael Muré
9ed515fd54
update gqlgen
2022-02-15 19:57:26 +01:00
Sascha
27b5285b8c
GraphQL: Implement AddCommentAndReopenBug mutation
2021-05-26 12:52:07 +02:00
Sascha
4043f5da09
GraphQL: Add AddCommandAndCloseBug mutation
2021-05-20 17:03:19 +02:00
Michael Muré
a8f3b55986
Merge pull request #605 from GlancingMind/upstream-12-allow-users-to-inspect-their-current-identity-details
...
WebUI: Add user profile
2021-04-23 00:16:57 +02:00
Michael Muré
51a2c85954
make sure every text input is safe and validated
...
fix #630
2021-04-17 17:40:11 +02:00
Sascha
41e8502301
Use profile page for each identity
...
Authorcomponent links to the authors profile page.
Replace pofile buglist with statistics
2021-04-13 19:07:57 +02:00
Lena
cf1e13b683
Add basic bug listing
2021-04-13 19:07:57 +02:00
Michael Muré
aa0449a3ea
Merge remote-tracking branch 'origin/master' into dag-entity
2021-03-29 11:02:08 +02:00
Sascha
4a2e04df61
Improve description of target-field
2021-03-20 11:14:27 +01:00
Sascha
2a1c77236c
GrapQL: Regenerate the GraphQL-Server
2021-03-19 17:49:44 +01:00
Sascha
cc7788ad44
GraphQL: Add target to EditCommentInput
2021-03-19 17:49:41 +01:00
Sascha
c6d15bd52b
Fix compilation errors
2021-03-19 17:49:40 +01:00
Sascha
50cd1a9c17
GraphQL: Add EditComment input/payload to gen_models
2021-03-19 17:49:38 +01:00
Sascha
4960448ac7
GraphQL: Add EditComment mutation to schema
2021-03-19 17:49:36 +01:00
Sascha
19a68deabb
GraphQL: Add EditComment to mutation type
2021-03-19 17:49:34 +01:00
Sascha
79cc9884b3
GraphQL: Resolve new EditComment mutation
2021-03-19 17:49:31 +01:00
Michael Muré
3f6ef50883
bug: migrate to the DAG entity structure!
2021-02-14 12:19:50 +01:00
Michael Muré
ab57d74a31
deal with the previous changes
2021-02-14 12:17:47 +01:00
Michael Muré
c884d557bf
repo: move bleve there
2020-12-08 14:42:13 +01:00
Michael Muré
1a0c86a12d
repo: use go-git in more places, fix push
2020-10-04 19:56:16 +02:00
Michael Muré
3cf31fc404
repository: merge git.Hash in for one less /util package
2020-07-01 19:39:02 +02:00
Michael Muré
2ab6381a94
Reorganize the webUI and API code
...
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
2020-06-27 23:03:05 +02:00