Commit Graph
30658 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
Andrew Valleteau 44e84ceab3 chore(pg-meta): migrate policies (#33680) 2025-03-04 11:46:19 +00:00
Andrew Valleteau 852ca11a8e chore(pg-meta): migrate triggers (#33675) 2025-03-04 11:28:20 +00:00
Andrew Valleteau ffddcab9b8 chore(pg-meta): migrate types sql (#33649) 2025-03-04 12:11:55 +01:00
Andrew Valleteau 585669a06d chore(pg-meta): migrate version (#33648) 2025-03-04 11:40:59 +01:00
hallidayo 135e17597b www: storage example code change (#33054)
storage example code change
2025-03-04 10:02:03 +00:00
Andrew Valleteau 06ef94a858 chore(pg-meta): migrate indexes (#33645)
* chore(pg-meta): migrate indexes

* chore(pg-meta): fix vector to array conversion

* chore: use common naming
2025-03-04 09:42:18 +00:00
Andrew Valleteau 82e72090f2 chore(pg-meta): migrate column-privileges (#33643)
chore(pg-meta): migrate column-privilges
2025-03-04 09:17:19 +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
Andrew Valleteau a6424164e5 chore(pg-meta): migrate table-privileges tests (#33506)
* chore(pg-meta): port functions tests

* chore: add new test for CURRENT arg creation

* chore: revert query style change

* chore: restore PGFunction type inference

* wip: remove type cast int8 on arg_types

* Revert "wip: remove type cast int8 on arg_types"

This reverts commit 6878a93bfb.

* wip: make tests work with both clients

* chore: use pg and type parser

* chore: use only pg

* chore: migrate table-privileges tests
2025-03-04 08:54:58 +00:00
Francesco Sansalvadore d52b510291 fix link (#33967)
* fix link

* pnpm i
2025-03-04 09:52:08 +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
Clarence 1dc35dd9bb chore: updated Developers.md (#33933)
* chore: change Git url from http --> https

* chore: change nodejs url from http --> https
2025-03-03 15:52:38 +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 LimandIvan Vasilov ae9ff9f633 Fix package-lock (#33968)
* Fix package-lock

* Set the dompurify to 2.5.8.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-03-03 21:33:45 +08: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
Charis d0e1d7b06a chore: add preferred usage item for storage docs (#33597)
chore(docs lint): add preferred usage for storage connections
2025-02-27 22:15:37 +00:00
Sabu Siyad d30478cc22 doc: postgres/row-level-security: wrong link to auth (#33900) 2025-02-27 22:00:58 +00:00