Commit Graph

2997 Commits

Author SHA1 Message Date
Matt Aitken 03f7156749 API endpoint for getting the latest runs 2023-07-25 19:15:15 +01:00
Matt Aitken ef4056abde Only allow showing the task details if it’s a private API key 2023-07-25 17:52:40 +01:00
Matt Aitken 3a6c25d42d API authentication updated to work correctly with public and private keys 2023-07-25 17:52:20 +01:00
Matt Aitken 6989fec9d0 New API keys (public or private) now have 20 random characters 2023-07-25 17:06:01 +01:00
Matt Aitken bba190e4e9 Use apiCors function for the event endpoint too 2023-07-25 16:36:19 +01:00
D-K-P 4dce703b20 Changed the create a job in code callout from Quick start to Create a Job 2023-07-25 16:17:57 +01:00
D-K-P ce1e911c90 Fixed the github link on the examples job table 2023-07-25 16:13:08 +01:00
D-K-P f84f4dcee6 Updated the blank jobs page instructions 2023-07-25 16:02:03 +01:00
D-K-P bfa3757ee0 Updated the help & feedback copy 2023-07-25 15:16:33 +01:00
Matt Aitken c448f53964 Run hook fixes 2023-07-24 17:12:16 +01:00
Matt Aitken 4bdc28d7fc apiCors has 5 min maxAge 2023-07-24 17:03:02 +01:00
Matt Aitken eb5195768b Moved the run query to runs/$runId, instead of /tasks 2023-07-24 13:28:33 +01:00
Matt Aitken e2781cb090 Don’t return the task details unless they’re asked for, fix so the child tasks aren’t returned if they’re not asked for 2023-07-24 13:12:19 +01:00
D-K-P 09f906f7a1 Updated the invitation code page copy 2023-07-24 10:18:11 +01:00
Matt Aitken 2888877463 Missed a cors response wrapper 2023-07-23 19:26:13 +01:00
Matt Aitken a6f79d77d1 Run hook 2023-07-23 19:18:19 +01:00
Matt Aitken 4ca841a1d5 Query to get environment from either the apiKey or the pkApiKey 2023-07-23 19:06:34 +01:00
Matt Aitken 4d2a8728be Getting events is allowed with allowPublicKey 2023-07-23 19:06:18 +01:00
Matt Aitken ae3afdfc7e Allow public key api requests, if the flag is passed 2023-07-23 19:05:30 +01:00
Matt Aitken 022021dc4b Allow CORS for the GET events endpoint 2023-07-23 18:27:23 +01:00
Matt Aitken 37e27510de Return some run info as well 2023-07-23 16:24:11 +01:00
Matt Aitken fe35e8ea39 Return the updatedAt time as well 2023-07-23 16:03:15 +01:00
Matt Aitken db49879584 API endpoint for getting event details 2023-07-23 16:02:02 +01:00
Matt Aitken df68305f28 Don’t get subtasks by default when using GET on API tasks 2023-07-23 15:41:13 +01:00
Matt Aitken 078b10ccea API endpoint for getting tasks changed to return more selective info. Use taskListToTree 2023-07-23 15:34:05 +01:00
Matt Aitken 1f8a36efb4 Changed task query from getting children to creating tree afterwards from all the tasks 2023-07-23 14:27:31 +01:00
James Ritchie 3008909f02 Moved the example jobs list to the left column and only shows when 1 job is visible 2023-07-20 18:37:01 +01:00
D-K-P 8af381729c Added example projects to the blank jobs page 2023-07-20 17:36:23 +01:00
D-K-P 8ca0aeb1bd Updated the side panel copy 2023-07-20 14:48:33 +01:00
D-K-P b6fd62eb54 Changed ‘Send us feedback’ to ‘Help & feedback’ 2023-07-20 12:17:34 +01:00
Eric Allam 17c7e9765e Merge pull request #197 from SSHari/patch-700
chore: 🤖 improve migrations for docker container startup
2023-07-20 10:31:22 +01:00
Eric Allam 0ae03477df Merge pull request #196 from SSHari/patch-702
feat: 🎸 filter organization > project > jobs to internal=false
2023-07-20 10:11:48 +01:00
SSHari 439ecf4a7f chore: 🤖 improve migrations for docker container startup 2023-07-19 21:34:16 -04:00
SSHari d32e6f9839 feat: 🎸 filter organization > project > jobs to internal=false 2023-07-19 19:05:37 -04:00
SSHari 0cda4621c7 feat: 🎸 add project count pill to breadcrumb project menu 2023-07-19 18:48:07 -04:00
Eric Allam 4bcd654e49 Merge pull request #185 from SSHari/patch-573
feat: 🎸 move get project jobs to lower level in app hierarchy
2023-07-19 22:22:37 +01:00
SSHari ca59b6b236 Fix requested changes 2023-07-19 12:24:31 -04:00
SSHari 04ce02bb5d feat: 🎸 update Docker image to use best practices 2023-07-18 16:10:13 -04:00
SSHari 62e3bb93c1 feat: 🎸 move get project jobs to lower level in app hierarchy 2023-07-18 12:10:45 -04:00
Eric Allam 1ea5082314 Use the typesafe env vars instead of process.env directly
🚀 Publish Trigger.dev Docker / ʦ TypeScript (push) Has been cancelled
🚀 Publish Trigger.dev Docker / publish (push) Has been cancelled
2023-07-18 15:43:27 +01:00
Eric Allam 267cbc751c Automatically re-write endpoint url from localhost to host.docker.internal when running in Docker Compose
🚀 Publish Trigger.dev Docker / ʦ TypeScript (push) Has been cancelled
🚀 Publish Trigger.dev Docker / publish (push) Has been cancelled
2023-07-18 14:20:52 +01:00
James Ritchie 5e522e1f3e Updated the yarn install to yarn dlx 2023-07-18 10:51:50 +01:00
Eric Allam fba8eec319 Don’t include application/json Content-Type when pinging with no body (fastify doesn’t like that) 2023-07-17 16:23:50 +01:00
Matt Aitken 86e8ccbbd6 If the run info is missing then don’t render that part of the breadcrumb
🚀 Publish Trigger.dev Docker / ʦ TypeScript (push) Has been cancelled
🚀 Publish Trigger.dev Docker / publish (push) Has been cancelled
2023-07-17 14:08:35 +01:00
Eric Allam 3fb41f68fb Merge pull request #180 from SSHari/patch-409
feat: 🎸 add live refreshing to Environments & API key page
2023-07-17 11:52:15 +01:00
Eric Allam f5c819a489 Merge pull request #177 from akhill10/feat/isRetry-on-context-run
feat: added isRetry in context.run
2023-07-17 11:48:33 +01:00
Eric Allam 5336317dbb Merge pull request #176 from akhill10/feat/client-define-job
feat: added defineJob method in TriggerClient
2023-07-17 11:40:44 +01:00
Akhil c417a7f9ab feat: added isRetry in jobRunExecution 2023-07-16 07:19:37 +00:00
SSHari 5288ca3840 feat: 🎸 add live refreshing to Environments & API key page 2023-07-15 18:24:33 -04:00
Akhil d6e43c40c9 feat: added defineJob method in TriggerClient 2023-07-15 15:55:53 +00:00