Eric Allam
9351c05126
Initial @trigger.dev/stripe integration, with support for triggers and tasks ( #231 )
...
* Initial Stripe integration, with support for triggers and tasks
* Adding stripe integration to the catalog
2023-07-27 22:09:07 +01:00
Matt Aitken
af722e54d8
Made the integration items capable of fitting more text
2023-07-27 19:59:20 +01:00
Matt Aitken
1eb89844f4
Added a description to the Supabase Management integration so the differences are obvious
2023-07-27 19:57:03 +01:00
Matt Aitken
d3608be1a0
Improved the environments help text – it now references server API keys
2023-07-26 22:00:16 +01:00
Matt Aitken
4c79129242
authenticateApiRequest() now returns an object with the apiKey, type and environment
2023-07-26 21:54:20 +01:00
Matt Aitken
17e6d42989
Removed unused const in RunPresenter
2023-07-26 20:49:09 +01:00
Matt Aitken
0a3bbc1caf
Merge remote-tracking branch 'origin/main' into react-hooks
...
# Conflicts:
# apps/webapp/app/presenters/RunPresenter.server.ts
# examples/nextjs-example/src/app/api/trigger/route.ts
# examples/nextjs-example/tsconfig.json
2023-07-26 20:47:07 +01:00
Matt Aitken
89e1331e49
Better error handling for the job runs endpoint
2023-07-26 18:57:11 +01:00
Matt Aitken
d934a53e6d
Better error handling for the runs endpoint
2023-07-26 18:57:02 +01:00
Matt Aitken
6c96b331dd
Event API endpoint safe parsing and better error handling/responses
2023-07-26 18:03:32 +01:00
Eric Allam
767e09ee18
New integration: @trigger.dev/supabase ( #203 )
...
* WIP supabase integration
* supabase oauth working
* Supabase database triggers
* Specify postgres:14
* Limit refreshOAuthToken jobs to 10 attempts
* Better displaying types and removing onChange for now
* WIP on the supabase db client
* Finishing the supabase-js integration
* Adding changeset
* Added supabase to the integration catalogs, and added an optional icon to Integrations
* Reworking how we handle types for the triggers (wip)
* Update fully over to the new way to define supabase triggers
* Go back to using the type for the event name
* Add back in the icon to the JobListPresenter since it was moved from the ProjectPresenter
* Remove unused import
2023-07-26 18:01:27 +01:00
Matt Aitken
b2f3ade7c7
Renamed Secret API keys to Server API keys
2023-07-26 17:55:34 +01:00
Matt Aitken
475dddfbe4
Added private API keys to the environment page, with some explanatory text
2023-07-26 16:41:17 +01:00
Matt Aitken
188e4f2740
Added an outline styled for badges
2023-07-26 16:40:51 +01:00
Matt Aitken
4dc2b3184b
Fix for missing pkApiKey in seedCloud script
2023-07-26 16:23:40 +01:00
Matt Aitken
139d541d86
Return the pkApiKey and sort the environments correctly (dev, preview, staging, prod)
2023-07-26 15:32:35 +01:00
Matt Aitken
08901f2e8a
Merge remote-tracking branch 'origin/main' into react-hooks
2023-07-26 14:07:09 +01:00
Matt Aitken
51b365226d
In the Job list, show the latest run across all environments
🚀 Publish Trigger.dev Docker / ʦ TypeScript (push) Has been cancelled
🚀 Publish Trigger.dev Docker / publish (push) Has been cancelled
2023-07-26 13:37:48 +01:00
Matt Aitken
0b89ee7eb5
ProjectsMenu truncates long titles and the badge is right-aligned
2023-07-26 13:37:18 +01:00
Matt Aitken
5991a767f7
TriggerClient method for getRuns with a jobSlug. This will only work with the private API key
2023-07-25 20:00:19 +01:00
Matt Aitken
643eba263e
Default to returning 20 tasks and set max to 50
2023-07-25 19:59:42 +01:00
Matt Aitken
4db8a3992b
We don’t need the environmentId
2023-07-25 19:26:34 +01:00
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