Robin Jarry
a40ca24ea3
API: Allow getting tickets from their scoped id
...
Add an api method to retrieve the ticket associated with a scoped ID for
a given tracker.
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-01 09:28:45 +01:00
Simon Ser
a1158c25ff
api/graph: rename Subscription to ActivitySubscription
...
The GraphQL "Subscription" type is special and used for defining
subscription operations. Pick a different name so that GraphQL
parsers don't get confused.
References: https://todo.sr.ht/~sircmpwn/sr.ht/302
2022-02-01 09:28:45 +01:00
Simon Ser
ae5188e50d
go generate
2022-02-01 09:28:45 +01:00
Drew DeVault
f591aeb463
API: Rig up tracker:delete legacy webhook
2022-02-01 09:28:45 +01:00
Drew DeVault
9258e45f3f
API: Add Tracker { defaultACL } stub
2022-02-01 09:28:45 +01:00
Drew DeVault
769c772c12
API: Add ImportInput type, not rigged up
2022-02-01 09:28:45 +01:00
Drew DeVault
7e2981c23b
API: (Partially) implement updateTicketStatus
2022-02-01 09:28:45 +01:00
Drew DeVault
67686fbd8c
API: Implement updateTicket
...
Narrowed the scope of this a bit by updating the schema to not allow
event-creating changes in this context.
2022-02-01 09:28:45 +01:00
Drew DeVault
781617e792
API: Add tracker ID to all ticket resolvers
...
Since the ticket ID is only unique within each tracker.
2022-02-01 09:28:45 +01:00
Drew DeVault
3a6e16f096
API: Rename ParticipantsByID loader
2022-02-01 09:28:44 +01:00
Drew DeVault
1179f21833
API: Implement mutation { updateLabel }
2022-02-01 09:28:44 +01:00
Drew DeVault
687489cc23
API: Rig up mutation { createLabel }
2022-02-01 09:28:44 +01:00
Drew DeVault
500482a53a
API: Rig up mutation { ticket{Uns,S}ubscribe }
2022-02-01 09:28:44 +01:00
Drew DeVault
ba39c40e35
API: Rig up ACL updates
2022-02-01 09:28:44 +01:00
Drew DeVault
bfcf410798
API: Rig up mutation { updateTracker }
2022-02-01 09:28:44 +01:00
Drew DeVault
bf2a43a44c
API: Rig up mutation { createTracker }
2022-02-01 09:28:44 +01:00
Drew DeVault
2ced219413
Initial writable API design
2022-02-01 09:28:44 +01:00
Drew DeVault
ffe1c9b652
Overhaul default access lists (API)
2021-09-24 08:21:04 +02:00
Drew DeVault
4d7cd02bd7
API: Cursor items are non-nullable
2021-05-17 07:31:00 -04:00
Drew DeVault
4dc65f6393
API: typo fix
2021-02-22 09:58:49 -05:00
Drew DeVault
1e9e268d25
API: lock down some transitive resovlers
2021-02-22 09:51:14 -05:00
Drew DeVault
837d887647
API: rig up tracker { acl }
2021-02-19 10:52:31 -05:00
Drew DeVault
56881ae3e4
API: basic ACL riggings
2021-02-16 14:17:52 -05:00
Drew DeVault
f518bf2904
API: ticket { title, description } => { subject, body }
2021-02-16 09:21:41 -05:00
Drew DeVault
b82659cd0b
API: expand tracker access controls
2021-02-15 11:54:11 -05:00
Drew DeVault
c20a802824
API: expand subscriptions in schema
2021-02-15 10:56:16 -05:00
Drew DeVault
e48413433d
API: Rig up subscriptions
2021-02-15 10:50:32 -05:00
Drew DeVault
51961a6b25
API: rig up labels
2021-02-15 10:08:01 -05:00
Drew DeVault
114a5665c1
API: rig up event relationships
2021-02-13 09:04:38 -05:00
Drew DeVault
d36399bc47
API: Add ticket { events }
2021-02-09 11:32:47 -05:00
Drew DeVault
057b65814d
API: implement participant loader
2021-02-08 10:44:52 -05:00
Drew DeVault
6ee0f67e53
Add Ticket model and wire up tracker { tickets }
2021-02-08 10:44:52 -05:00
Drew DeVault
6ddf2b4df2
API: flesh out remaining event types
...
Relationships will still have to be addressed in schema.resolvers.go in
a later patch, but I'm deferring this until we can flesh out the
appropriate types.
2021-02-08 10:44:51 -05:00
Drew DeVault
4e23385e1e
API: rig up status change events
2021-02-08 10:44:51 -05:00
Drew DeVault
bcd2302251
API: Initial riggings for events
2021-02-08 10:44:51 -05:00
Drew DeVault
3dac774c71
API: Implement query { trackerByOwner }
2021-02-08 10:44:51 -05:00
Drew DeVault
a66542c0dc
API: Implement query { me }
2021-02-08 10:44:51 -05:00
Drew DeVault
afdf491ee6
API: Implement query { trackers }
2021-02-08 10:44:51 -05:00
Drew DeVault
3ea53acc66
Rig up with core-go server riggings
2021-02-08 10:44:51 -05:00