Commit Graph
13221 Commits
Author SHA1 Message Date
Etienne StalmansandCharis bebdca63b0 feat: add links to product security (#34000)
* feat: add links to product security

* chore: add link for product-security

* fix: spelling

* fix: spelling

* Update apps/docs/content/guides/security/product-security.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-03-05 08:16:09 +00:00
Saxon FletcherandJonathan Summers-Muir 83bcb1e891 Updating authentication rate limits and session pages (#33957)
* init PrePostTab component

* init

* support auto fixing rounded of inputs/select/textarea

* remove form item layout prepost

* Update FormLayout.tsx

* Update FormLayout.tsx

* Update FormLayout.tsx

* form layout and advanced

* Update advanced.tsx

* protection and hooks

* rate limits and sessions

* remove default value

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2025-03-05 09:42:13 +10:00
Saxon FletcherandJonathan Summers-Muir 5bd430ca38 Updating authentication mfa and url pages (#33956)
* init PrePostTab component

* init

* support auto fixing rounded of inputs/select/textarea

* remove form item layout prepost

* Update FormLayout.tsx

* Update FormLayout.tsx

* Update FormLayout.tsx

* form layout and advanced

* Update advanced.tsx

* protection and hooks

* mfa and url

* remove onchange

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2025-03-05 09:42:02 +10:00
Stephen Morgan 470db8a0f4 Added hsts preload directive to vercel config (#33980) 2025-03-05 08:56:59 +13:00
🤖Esteban Dalel R f454f5d892 Fix broken line (#34002)
Line was split in two unnecessarily.
2025-03-04 18:30:10 +00:00
Francesco SansalvadoreandPrashant Sridharan 6a58d93c0c Resend customer story (#33746)
* resend customer story

* founded location

---------

Co-authored-by: Prashant Sridharan <914007+CoolAssPuppy@users.noreply.github.com>
2025-03-04 15:48:50 +01:00
Alaister Young 3273b5de50 fix(studio): whitelist duplicate name error on project creation (#33983) 2025-03-04 21:45:32 +08:00
Francesco SansalvadoreandPrashant Sridharan dc40ef27e3 meshy customer story (#33876)
Co-authored-by: Prashant Sridharan <914007+CoolAssPuppy@users.noreply.github.com>
2025-03-04 12:48:23 +00:00
Francesco Sansalvadore 86a9ca2619 customer story asap work (#33873)
* asap.work customer story

* add author
2025-03-04 12:22:13 +00:00
hallidayo 135e17597b www: storage example code change (#33054)
storage example code change
2025-03-04 10:02:03 +00:00
Etienne StalmansandCharis Lam 0eaf282070 feat: SOC 2 docs page (#33965)
* feat: add SOC 2 page to docs

* feat: more linking

* fix: make linters happy

* fix: prettier

* chore: make security page available

* typo: sp

* publish security

* chore: publish new security section

* change mobile menu to show Security on Security section

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-03-04 10:03:50 +01:00
Kevin Grüneberg 880264b8bd docs: example API URL should point to localhost (#33986)
Staging API is not accessible from localhost
2025-03-04 16:41:28 +08:00
ad506fe9c9 Updated link to management API documentation (#33982)
* Updated link to management API documentation

* add permanent redirect

---------

Co-authored-by: Greg Papas <gregpapas@Gregs-MacBook-Pro.local>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
2025-03-04 08:28:18 +00:00
Joshen Lim 548afeb2e0 Hide pool mode field in connection pooling (#33962)
* Hide pool mode field in connection pooling

* Add comment
2025-03-04 08:28:53 +08:00
Saxon FletcherandJonathan Summers-Muir 419252c102 Updating authentication email pages (#33958)
* init PrePostTab component

* init

* support auto fixing rounded of inputs/select/textarea

* remove form item layout prepost

* Update FormLayout.tsx

* Update FormLayout.tsx

* Update FormLayout.tsx

* form layout and advanced

* Update advanced.tsx

* protection and hooks

* auth emails

* preview styles

* fix

* parse

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2025-03-04 10:22:45 +10:00
Saxon FletcherandJonathan Summers-Muir 326d2cbdcb Update authentication advanced page (#33955)
* init PrePostTab component

* init

* support auto fixing rounded of inputs/select/textarea

* remove form item layout prepost

* Update FormLayout.tsx

* Update FormLayout.tsx

* Update FormLayout.tsx

* form layout and advanced

* Update advanced.tsx

* protection and hooks

* fix

* parse

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2025-03-04 09:58:25 +10:00
Tyler 02fe57e8b9 docs: Update MCP docs for connecting to Cursor (#33952)
* docs: Update MCP docs for connecting to Cursor

* minor fix
2025-03-04 07:05:49 +09:00
Charis c5c5bc231f feat: support typedoc 0.27 (#33905)
Type docs pulled from JS client libraries were expected to be in version 0.22, which unfortunately is a bit old and incompatible with TypeScript 5. Therefore any JS lib that upgrades their toolchian to TS 5 will inadvertently break their type specs in docs.

This PR updates docs to also support 0.27 (the latest stable version, compatible with TS 5), in addition to the old version. Parallel support is required since many libs are still on the old version.

The main changes are:
- The comment shape has changed in typedoc.
- kindString has been deprecated in favor the kind numbers.
- indexSignatures are now plural (an array).
2025-03-03 17:17:38 +00:00
3e1cd0aac4 Laravel documentation addition to explain schema needs to be created (#33973)
* Add a note that schema needs to exist on Supabase before running
migrate. Otherwise one will receivie a following error

$ php artisan migrate

   INFO  Preparing database.

  Creating migration table ........................................................................................................... 599.73ms FAIL

   Illuminate\Database\QueryException

  SQLSTATE[3F000]: Invalid schema name: 7 ERROR:  no schema has been selected to create in at character 14 (Connection: pgsql, SQL: create table "migrations" ("id" serial not null
primary key, "migration" varchar(255) not null, "batch" integer not null))

  at vendor/laravel/framework/src/Illuminate/Database/Connection.php:823
    819▕                     $this->getName(), $query, $this->prepareBindings($bindings), $e
    820▕                 );
    821▕             }
    822▕
  ➜ 823▕             throw new QueryException(
    824▕                 $this->getName(), $query, $this->prepareBindings($bindings), $e
    825▕             );
    826▕         }
    827▕     }

      +41 vendor frames

  42  artisan:16
      Illuminate\Foundation\Application::handleCommand()

* Apply suggestions from code review

---------

Co-authored-by: Vladimir Vuksan <vuksan-github@vuksan.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-03-03 16:15:44 +00:00
Andrew ValleteauandCharis Lam ac54d858a1 chore(docs): setup docs for overrideTypes (#33705)
* chore(docs): setup docs for overrideTypes

* fix: add overrideTypes to docs section

* chore: regen specs

* chore: update snapshot

* chore: regenerate all specs

* revert realtime spec changes

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-03-03 15:35:39 +01:00
Joshen Lim 1655a17e70 Add support for configuring realtime settings (#33875)
* Add support for configuring realtime settings

* Refactor

* Fix TS

* Fix TS

* Smol update

* Hide new UI for local selfhosted

* Add feature flag

* Fix reset logic

* Fix

* minor refactor

* Fix package.json

* Simplify
2025-03-03 20:08:15 +08:00
Chris Gwilliams d55f6fb780 Update metrics documentation (#33893)
* add genera deployment instructions for both grafana and prometheus

* add supabase-grafana to spellchecks
2025-03-03 14:03:29 +02:00
Ivan Vasilov eca4cc15a2 chore: Bump vulnerable deps (#33915)
* Consolidate different versions of postcss. Remove @mertasan/tailwindcss-variables from ui package.

* Bump vitest in pg-meta to remove a vulnerable version of vite.

* Bump dompurify.

* Bump all octokit deps to solve 2 vulns.

* Fix warnings about destructuring json imports.

* Remove a console.log in docs.

* Fix the changelog page to use an ESM import.

* Stabilize the generate-sitemap script output.

* Try another fix for the changelog.
2025-03-03 12:18:14 +01:00
Saxon FletcherandJoshen Lim 73644db62d Link to auth provider (#33951)
* link to provider

* Simplify implementation

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-03-03 17:03:10 +08:00
3d766bc1c1 [FE-1426] feat(studio): clerk fdw (#33803)
* feat(studio): clerk fdw

* prettier

* docs: add Clerk FDW docs

* Smol update

---------

Co-authored-by: Bo Lu <lv.patrick@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-03-03 15:50:09 +08:00
Joshen Lim 3478fb600d Bump configcat refresh rate (#33954) 2025-03-03 14:45:06 +08:00
Pidanou Eang 484805c878 docs: edit self-host guide (#32695)
- Added information to make the studio work outside of localhost. This information is only given inside .env.example
2025-03-01 00:47:09 +00:00
Eric Kharitonashvili 00dfbdca0a Fix Wasm Edge Function Docs (#33910)
* fixed docs bug: when importing wasm, you need to include the js and use this. Otherwise, there will be wasm instantiate errors

* Update wasm.mdx

Got rid of filename on top of markdown

* Update index.ts

got rid of filename comment at the top
2025-02-28 10:43:58 -05:00
Joshen Lim 342c9c4112 Fix connection pooling feature flag (#33914)
* Fix connection pooling feature flag

* Fix type issues with lint-query after updating API typs

* Apply same fix for connection_string to ConnectTabContent

* Update useMemo dependency arrays in ConnectionPooling

* Remove allowPgBouncerSelection enabled check on react queries - feels unnecessary and adds some complexity to the loading state of the forms

* Remove conosle log
2025-02-28 17:50:16 +08:00
Jonathan Summers-Muir 3106713359 fix: handle position (#33913)
Update ProjectLayout.tsx
2025-02-28 17:02:06 +08:00
Joshen Lim 0a4166a587 Support for Dedicated Pooler in Connection Pooling Part 2 (#33829)
* Init

* Initial set up for hooking up supavisor and pgbouncer

* Hook up pgbouncer status check after swapping pooler type

* Add check for nano compute for switching to pg bouncer

* Add check for ipv4 addon

* Remove expect error tag

* Update copy in IPv4SidePanel

* Add badge to select options for pooler types

* Hook up pgbouncer config for connect UI

* Refactor pooling-configuration react queries to supavisor-configuration

* Update Ipv4 compatability UI indicators in Connect UI when on pgbouncer

* Remove statement mode

* Resolve undefined problem with react hook form

* Fix

* Update UI texts from PgBouncer to Dedicated Pooler

* Feature flag changes

* Add pooler settings link in Connect UI

* Smol update

* Update session pooler description for pgbouncer
2025-02-28 16:26:47 +08:00
Saxon FletcherandJoshen Lim 5508d2cd9d Test edge functions (#33728)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* update edge functions layout

* remove params

* single function layout

* invocation cleanup

* remove vars

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* test edge function

* sheet flag

* remove prop

* fix merge errors

* fix merge errors

* update sheet

* rmeove import

* fix ts

* Some clean ups

* Fix

* Make test response area resizeable

* Final clean up

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-28 16:07:30 +08:00
Joshen Lim cb32aa9579 Use TimestampInfo for scheduled backups (#33892)
* Use TimestampInfo for scheduled backups

* Fix

* Update TimestampInfo

* Fix

* Fix
2025-02-28 15:55:30 +08:00
Kevin Grüneberg c28fe37fe1 chore: increase stale time for project addons / org subscription (#33911)
Occasionally results in a 429 in API - there are plans to fix this on the API level, but it's not a quick change, so hoping to reduce the likeliness of 429 with a higher stale time. Subscriptions and project addons rarely change and if they are changed, it's invalidated on the client anyway.
2025-02-28 12:00:07 +08:00
Joshen Lim a458977e2d Support for Dedicated Pooler in Connection Pooling (#33817)
* Init

* Initial set up for hooking up supavisor and pgbouncer

* Hook up pgbouncer status check after swapping pooler type

* Add check for nano compute for switching to pg bouncer

* Add check for ipv4 addon

* Remove expect error tag

* Add badge to select options for pooler types

* Remove statement mode

* Resolve undefined problem with react hook form

* Fix

* Update UI texts from PgBouncer to Dedicated Pooler

* Feex

* FEEX

* Fix

* Small update to UI

* Smol update
2025-02-28 11:14:42 +08:00
Pamela Chia 1675a1f06f chore: clarify bursting and recommend compute (#33823) 2025-02-28 11:11:20 +08:00
Laurence IslaandTerry Sutton 1c32d55fab docs: add more filtering examples to the API docs (#33899)
- Add logical operators "not" and "or"
- All Javascript examples are now present for Bash

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-02-27 18:21:12 -05:00
Charis 66d1f40fba fix: troubleshooting sync (#33908)
Relative links don't make sense in GitHub discussions so they need to be converted to absolute links for syncing.
2025-02-27 17:22:13 -05:00
Sabu Siyad d30478cc22 doc: postgres/row-level-security: wrong link to auth (#33900) 2025-02-27 22:00:58 +00:00
Charis 135a545dea docs: update troubleshooting for invalid claim (#33884)
invalid cliam: missing sub seems to (also?) be returned as a 403, not a 401. Discovered this when I was testing something else, so updating the troubleshooting guide for it.
2025-02-27 15:43:07 -05:00
Francesco Sansalvadore ad9e2d916d pgrouting graph thumb (#33894) 2025-02-27 19:48:05 +01:00
Saxon FletcherandJoshen Lim 593625c574 Edge functions empty state (#33802)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* update edge functions layout

* remove params

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* create edge functon

* use component

* flag

* fix merge errors

* fix imports

* fix merge issues

* fix import

* fix flag

* remove unused

* simple empty

* empty state improvements

* move templates

* re-add flag

* use templates

* flag

* copy functions

* feature flag it

* Fix issues and clean up

* Smol fix

* Add comment

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-28 01:15:59 +08:00
Terry Sutton a3fee4e76a Chore/update lints (#33749)
Update lints
2025-02-27 13:28:06 +00:00
Saxon FletcherandJoshen Lim 1cefb95a73 Create edge function (#33726)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* update edge functions layout

* remove params

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* create edge functon

* use component

* flag

* fix merge errors

* fix imports

* fix merge issues

* fix import

* fix flag

* remove unused

* move templates

* re-add flag

* Small refactors

* Smol refactors

* Refactor

* add rename and delete via context

* create function fixes

* moved function name

* Smol update

* Small fix for selected state in edge functions side menu when on /new

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-27 20:04:46 +08:00
Kamil Ogórek bcaf5d4f19 feat: Show updated_at time for edge secrets (#33716) 2025-02-27 19:55:21 +08:00
Saxon FletcherandJoshen Lim 904d8e4482 Improve single edge function layout (#33725)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* update edge functions layout

* remove params

* single function layout

* invocation cleanup

* remove vars

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* fix merge errors

* fix merge errors

* rmeove import

* Address comments

* Remove unnecessary prop

* Remove settings/functions and add redirects in next config

* fix empty

* Fix key prop issue and fix selected state in layout for single edge function

* Clean up edge function details

* Use zodResolver

* Refactor file name

* Remove unnecessary fragment

* Small refactors

* Refactor deleting edge function to use ConfirmationModal

* edge details fixes

* Small adjustment to paddings

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-27 17:02:05 +08:00
Stephen Morgan 71a108ef92 Second phase of HSTS header settings (#33857)
apply second phase of hsts header settings
2025-02-27 19:27:40 +13:00
Terry Sutton 1a8cbacfc6 Chore/theme change (#33879)
Update AIEditor theme to Supabase theme
2025-02-27 11:32:38 +08:00
Saxon FletcherandKevin Grüneberg 7c04aadfa9 Feat/plan upgrade improvements (#33804)
* upgrade dialog changes

* plan upgrade modal

* update dialog improvements

* factor in customer balance

* copy

* add PH a/b test

* fix ts

* smol stuff

* fixes

* group compute fees

* smol edits

* Update SubscriptionPlanUpdateDialog.tsx

* Update SubscriptionPlanUpdateDialog.tsx

* partner billing

* downgrade

* margin

* show pricing info + filter out long tweets

* fix tooltip

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2025-02-27 13:31:27 +10:00
Terry Sutton 20f5474457 Chore/move dot (#33882)
Nudge lint dot
2025-02-27 09:48:01 +08:00