Commit Graph
14145 Commits
Author SHA1 Message Date
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
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
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 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
7c678b9db8 Update new project flow to add a warning before redirecting (#36349)
* Update new project flow to add a warning before redirecting

* Simplify the logic for picking an org.

* Small UI tweaks

* Readd the alert about a not found org.

* Link to all orgs if slug is undefined

* Nit

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-17 09:55:05 +02:00
Kevin Grüneberg 7e5850bc70 feat: prefill Stripe email + styling (#36457)
- Prefill email in Stripe form to set up Link faster or connect faster
- Overwrite a bit of styling so it looks less foreign
- Moved the Payment component from the NewOrgForm into it's own file and renamed it
2025-06-17 11:54:45 +08:00
Joshen Lim 9ded153928 Mitigate race condition when fetching folder contents storage (#36363)
* Mitigate race condition when fetching folder contents storage

* Fix
2025-06-17 10:37:07 +08:00
Terry Sutton 886fca7fa0 Add new submagic logo (#36413) 2025-06-16 21:21:26 -02:30
Ivan Vasilov 9ebaa85109 fix: Refactor the careers page to handle a rate-limit issue from Github. (#36443)
* Refactor the careers page to handle a rate-limit issue from Github.

* Remove extra console.logs.
2025-06-16 23:42:45 +02:00
Peter b399331479 fix: webhook delete dialog spacing and typo (#36445)
* Add space between words and fix typo

* pnpm format
2025-06-16 16:29:40 -05:00
Alexkane 4f85284178 Update setup-replication-external.mdx (#36412) 2025-06-16 16:32:10 +00:00
Chandrajeet MauryaandCharis Lam 985733f523 Update auth-apple.mdx (#36389)
* Update auth-apple.mdx

Add notes on to add all custom identifier for expo development build

* fix lint error

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-16 16:12:54 +00:00
Tomas Pozo f96922b218 docs: fix wrappers assets (images) (#36365)
* Load wrappers assets with external url

* Refactor assets url transformer as rehype plugin
2025-06-16 12:04:51 -04:00
Stojan DimitrovskiandIvan Vasilov 7c3f79578e feat: allow disabling and re-enabling of anon and service_role (#36395)
* feat: allow disabling and re-enabling of `anon` and `service_role`

* Cleanup the RQ hooks.

* Restructure the enable/disable alert in API keys.

* Minor cleanups.

* Minor fixes.

* Fix a type error.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-06-16 17:46:34 +02:00
Joshen Lim d6aa546f3e Fix incorrect logic for isHipaaProjectDisallowed (#36436)
* Fix incorrect logic for isHipaaProjectDisallowed

* Remove console log
2025-06-16 21:55:54 +08:00
Charis b95c759f25 fix(content api): restrict vercel edge function regions (#36405) 2025-06-16 09:19:38 -04:00
Joshen Lim 1153a214c1 Fix delete button in users management (#36435) 2025-06-16 18:00:35 +08:00
Jordi Enric ee5279e335 Project Homepage Charts: fix range and add product type (#36132)
fix range and add product type
2025-06-16 11:39:09 +02:00
Jordi Enric 06ce78a8b5 allow select and copy text, fix context menu (#36162) 2025-06-16 11:27:23 +02:00