Commit Graph
31676 Commits
Author SHA1 Message Date
Joshen Lim 7aa111b863 Chore/misc fixes 200625 (#36545)
* Fix database functions editor not resetting maximized state when panel is closed

* Small update to copy in compute costs confirmation modal
2025-06-23 13:47:35 +08:00
Joshen Lim 17632f7520 Attempt to fix chrome bookmark image (#36544) 2025-06-23 11:43:44 +08:00
Joshen Lim 3a23ebda6c Fix edge functions headers span (#36525) 2025-06-23 11:31:04 +08:00
Joshen Lim 327cab053a Clean up tabs interface feature flags (#36441)
* Clean up tabs interface feature flags

* Update SQL e2e test
2025-06-23 11:16:24 +08:00
Stojan DimitrovskiandIvan Vasilov 4945ba1861 feat: add asymmetric JWT UI (#36519)
* original files from previous PR

* get rid of router in jwt-secrets to make it show up

* rename jwt-secrets page to jwt-signing-keys

* add jwt-signing-keys query

* add legacy jwt signing keys query

* wire-up JwtSecretKeysTable with queries

* add jwt signing keys page to settings menu

* deduplicate labels, descriptions, etc

* add create, update jwt-signing-key mutations

* update types

* remove unused components, to be refactored later

* make everything into a mostly working state

* legacy migration added

* put jwt keys page like api keys

* fully migrate legacy jwt secret page

* fix prettier

* fix typecheck ts-expect-error

* rm unneeded file

* Fix compile errors.

* Rename the files and move them to the same folder.

* Merge the two constant files.

* Fix the imports.

* Fix a bug in the API keys page when opening it in a new tab.

* Change the page to be at /signing-keys

* Fix some minor types.

* Break apart some of the components in the signing keys UI.

* Use a feature banner for the initial action.

* Make a create key dialog and move functionality there.

* Fix some cosmetic issues.

* Minor cosmetic fixes.

* Remove extra keys in RQ cache.

* Add a missing link

* Add a banner when the feature flag is false.

* Minor type fix.

* more tiny type fix

* fix error on create standby key

* add alert to prevent revoking legacy jwt secret without disabling legacy api keys first

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-06-23 09:36:07 +12:00
Lakshan Perera 7960046c96 fix: attempt to stringify request body before parsing (#36586) 2025-06-22 16:11:09 +08:00
Charis ab3ed82c60 fix(changelog): prevent horizontal scroll on mobile (#36559) 2025-06-20 17:37:12 +00:00
Ignacio Dobronich 692f0b2d94 fix: update Change Plan modal caption and fix broken Compute Confirmation link (#36539)
* Pro Plan heading caption

* Fixed Comput costs docs link

* Revert to premium support

* Email support

* Fixed typing error in PaymentMethodSelection
2025-06-20 13:25:24 -03:00
Terry Sutton bd95e9a1b9 Chore/link to usage (#36404)
* Add link to usage page

* Add usage button
2025-06-20 13:12:47 -02:30
Oliver Rice 7f39249b6d SLA Revamp with product-specific definitions (#36495)
* feat: comprehensive SLA restructure with product-specific definitions

* prettier fixes

* feat: comprehensive SLA restructure with product-specific definitions

* feat: add database extension version requirement to Postgres SLA exclusions
2025-06-20 08:33:14 -05:00
Etienne StalmansandJoshen Lim aeaf831648 feat: add UI to show MFA enforcement on org (#36439)
Disables organization selection if the org requires MFA but the user
does not have MFA enabled.
Add badges / hints to show that user has access to an Organization but
access is disabled because of MFA access requirement

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-20 14:51:11 +02:00
Francesco Sansalvadore dd69049efa update db charts (#36534) 2025-06-20 11:46:11 +02:00
Saxon Fletcher fd2a12ad38 Header icons refine (#36549)
header refine
2025-06-20 16:39:03 +08:00
Jonathan Summers-MuirandJoshen Lim 4ae82572f2 fix: reverts local storage (#36551)
* Update useLocalStorage.ts

* Fix incomplete revert of useLocalStorage

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-20 16:09:43 +08:00
Joshen LimandJonathan Summers-Muir f223b455d6 Unified Logs (Part 1) (#36298)
* init new unified page

* moar logs

* init

* add infinite and live logs example

* Update useLogsPreview.tsx

* add more sources

* wrapped auth logs with edge logs

* add role and user id

* move unified logs

* init

* move demo pages. create a new directory to work in

* extracted beta unified logs into own components

* add example base page and components

* add new files to use actual logging query

* more organization

* change import

* adds new logs page. adds new query

* add data table to UI pacakges

* revert

* table styles

* text size

* add timestamp, table, icons for log types, status code styling

* add host

* add log count to edge functions

* starts to add dynamic filtering

* spiking trace UI

* Update status-code.ts

* add new linik

* now using POST

* fix chart data for default 1 hour view

* update API to accept POST requests

* new filters

* Update level.ts

* fixed up chart to work on level filter. split up the logic into new files

* prep for log type

* prepped query for WHERE

* fix: issue with white space in url param column parsing

* level param now being removed correctly.

* fix issue with chart showing wrong buckets for different time ranges

* remove old query

* refactor the queries into function for each source

* total count fixed

* lots of layout

* start fixing log counts

* comment out min and max for a while

* added trace logging prototype in

* random trace logs added for demo

* added logs and ui to view logs if any

* add Auth user

* fix the live logs issue

* some left over code

* Midway

* First pass refactor + clean up + reorganize files

* Fix TS issues

* Remove unused files

* Clean up

* Final clean up

* more clean up

* More clean up

* Remove unused packages

* Fix

* Lint

* Add feature flag for unified logs

* Refactor

* Remove trace UI

* Snake case log types

* more clean up

* More clean up

* Fix ts

* more clean up

* fixes

* add flag check and redirect if flag is false

* Update middleware.ts

* Nit lint

* Fix

* Last refactors

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2025-06-20 12:46:17 +08:00
Charis 7cc64d3bd1 docs(edge functions): document that sentry needs to be manually flushed before main function returns (#36537)
docs(edge functions): document that sentry needs to be manually flushed before
main function returns

Resolves #36489
2025-06-19 14:14:29 -04:00
Charis 5cc2617b5f fix(docs): add more descriptive error message (#36536) 2025-06-19 14:54:43 +00:00
Tristan Smith 380a55e9bf docs: clarify that migrations must be applied manually after starting local DB (#36511)
docs: clarify manual migration step after starting local database (fix supabase#35078)
2025-06-19 13:53:53 +00:00
Francesco Sansalvadore b1ad7649f3 db report (#36516)
* release new charts to Teams and Enterprise plans

* remove negation
2025-06-19 13:01:41 +02:00
Kevin Grüneberg 058b25d7c3 chore: show org error message for longer (#36526) 2025-06-19 03:34:52 +00:00
Ivan VasilovandWen Bo Xie dfbe1573b9 feat: Pass the auth_id and token params to the email confirmation URL (#36327)
* Pass the auth_id and token params when the user is signed up.

* Try to fix the vercel build.

* Move the code in function to avoid SSR errors.

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
2025-06-18 18:44:38 +02:00
Han Qiao f95c5e6c31 docs: bump branching product stage to beta (#36508) 2025-06-18 22:11:23 +08:00
Han Qiao 8ccc03d6a8 docs: clarify backup restore for paused project (#36502) 2025-06-18 22:11:05 +08:00
Han Qiao 45485b294c docs: clarify local dev dependency on docker (#36501) 2025-06-18 22:10:33 +08:00
Francesco Sansalvadore 7d054f6631 update careers (#36509)
update careers page content
2025-06-18 15:43:58 +02:00
Charis 68cb1a1870 feat(content api): add management api references to semantic search (#36289)
* docs: add cursor rule for embedding generation process

Add documentation for cursor IDE about how docs embeddings are generated,
including the workflow for creating and uploading semantic search content.

* feat: improve API reference metadata upload with descriptive content

- Add preembeddings script to run codegen before embedding generation
- Enhance OpenApiReferenceSource to generate more descriptive content including
  parameters, responses, path information, and better structured documentation

* feat: add Management API references to searchDocs GraphQL query

- Add ManagementApiReference GraphQL type and model for API endpoint search results
- Integrate Management API references into global search results
- Update test snapshots and add comprehensive test coverage for Management API search

* style: format
2025-06-18 09:12:03 -04:00
Charis 97d80a7166 feat(clippy): add source links to chat responses (#36343)
This change:
- Updates the clippy prompt to encourage it to list its sources
- Parses and extracts source links from AI responses to display them as clickable links in the UI
- Adds tests for the source parsing functionality
2025-06-18 09:00:58 -04:00
Francesco Sansalvadore 265ca68786 update db report (#36328)
* release charts to Teams and Enterprise

* update db charts

* clean up chart types and add disk_fs_used_system

* show update data for Disk Size chart

* remove feature flag release

* update PostgREST connections tooltip

* show percentage in tooltip only if value is not percentage itself

* show percentage in tooltip only if value is not percentage itself

* insert disk_fs_used_system

* update db disk size chart

* reorder admin connection
2025-06-18 13:05:31 +02:00
Joshen Lim 669a96bed8 Chore/deprecate lib common fetch (#36503)
* Deprecate use of getWithTimeout, refactor BuildingState and RestoringState to use RQ

* Refactor profile-create-mutation to use data/fetchers, and edge-function-status-query to use fetch

* Shift post from lib/common/fetch, refactor bucket-object-download-mutation

* Address feedback

* Minor fix

* Smol fix
2025-06-18 18:14:16 +08:00
Cemal Kılıç aa1d904f4d feat: list allowed symbols for password security (#36470)
* feat: list allowed symbols for password security

* fix: formatting
2025-06-18 11:57:50 +02:00
Jordi Enric ef20349e7e API Logs improvements FDBK-29499 (#36479)
add search, improve event message
2025-06-18 11:12:17 +02:00
Etienne Stalmans b914d10870 docs: self-hosted and HIPAA (#36485) 2025-06-18 09:38:18 +02:00
Kevin Grüneberg dff6074d30 feat: support pending changes for plan upgrades (#36430)
This PR implements the new flow to confirm subscription upgrades using Orb pending changes. This is backwards compatible and based on a flag exposed by the backend (`subscriptionPreview.pending_subscription_flow`).

Just like the organization creation, the entire flow is slightly different - instead of creating a payment method separately, the payment method is added inline while doing the upgrade and then attached to the customer. If payment fails, the upgrade will not go through. If payment requires additional action, the user needs to confirm the payment before allowing the upgrade.

For testing the new flow locally, toggle the flag in `flags.ts` on the backend.

Changes include
- No longer rely on the `changeType` from the plans endpoint as this is regularly out-of-sync and displays wrong up/downgrade info due to race conditions
- `readOnly` mode for Stripe elements if anything is loading/submitting
- Reduced prop drilling for some components
- Hide payment method and address selection on downgrade
2025-06-18 15:11:33 +08:00
Alaister YoungandKevin Grüneberg 7d9bdb3abc chore: add planId (#36500)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2025-06-18 06:28:43 +00:00
Kevin Grüneberg 4d4036e649 chore: update code owners or pricing (#36499)
Allow billing team to approve/make changes
2025-06-18 14:22:08 +08:00
James ParrottandKevin Grüneberg 77db22e7c0 Bump node:20-slim to :22-slim in Supabase Studio Dockerfile (#36482)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2025-06-18 11:28:46 +08:00
Charis a2e8882d96 docs(mcp): recommend read-only, project-scoped mode by default (#36496) 2025-06-17 22:49:03 +00:00
Cemal Kılıç e014d5b0c7 fix: update the create ticket link on api keys page (#36494) 2025-06-18 00:16:44 +02:00
Stojan DimitrovskiandCharis Lam 518d3c278f docs: new api keys (#36331)
* docs: new api keys

* edits

* final touches

* fix suggestions from code review

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-17 20:20:32 +02:00
Copple 985304e5ed chore: update cli reference doc (#36454) 2025-06-17 13:58:20 -04:00
Charis 0c04c17bdf fix(docs): sentry errors do not get sent from vercel edge (#36377)
Sentry errors captured on routes run on Edge are not getting properly
sent. This is apparently a known issue where Vercel closes the process
before Sentry can flush, so the exceptions need to be manually flushed:

https://github.com/getsentry/sentry-javascript/issues/9626
2025-06-17 12:49:09 -04:00
Etienne Stalmans c1791759d5 chore: document new MFA enforcement on organization option (#35564)
* chore: document new MFA enforcement on organization option

* chore: multi-factor

* review suggestions and navigation item

* note that feature is opt-in atm

* chore: note about PATs

* fix: spelling

* fix: links
2025-06-17 16:28:23 +02:00
Joshen Lim 8b4d781ab8 Fix leave team button visibility (#36480)
* Fix leave team button visibility

* Add button type
2025-06-17 21:10:02 +08:00
Ronan Lehane 7acdc5dd8b Update humans.txt (#36476)
Added Ronan Lehane to humans.txt
2025-06-17 11:45:12 +00:00
Joshen Lim bb7e7696e8 Fix loading in confirmation modal (#36477) 2025-06-17 09:10:33 -02:30
Ivan Vasilov aeb8587544 chore: Bump brace-expansion to fix a vulnerability (#36472)
* Bump both versions of brace-expansion.

* Bump es-abstract to lower the deps list.
2025-06-17 13:32:46 +02:00
Joshen Lim 21e93fc649 Fix organization card link (#36473) 2025-06-17 18:25:29 +08:00
Joshen Lim 1bb9a9459c Add type param update log drain mutation (#36468) 2025-06-17 17:36:36 +08:00
Ivan Vasilov b6262aa5ce fix: Remove gibberish from pricing page (#36471)
Remove extra word from responsive rows.
2025-06-17 09:19:38 +00:00
Ivan Vasilov 7322007083 chore: Bump nodejs to v22 (#34730)
* Bump the @types/node to 22.

* Bump the version in nvmrc.

* Bump the node version in package.json.
2025-06-17 11:08:46 +02:00