Commit Graph
28444 Commits
Author SHA1 Message Date
Long HoangandCharis dbd19c8f61 chore: update http error codes (#27775)
* chore: update http error codes

* chore: add note about dashboard access

* chore: mention status code 402 explicitly to not leave ambiguity

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* fix: correct typo

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-03 23:17:11 +08:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
1d7995b978 Customerstory/maergo (#27216)
* Customer Story: Maergo

Update apps/www/_customers/maergo

* Customer story: Maergo

* Updated publication date

---------

Co-authored-by: Michael Ridley <mridley@Michaels-MacBook-Pro-2.local>
Co-authored-by: Michael Ridley <michael@supabase.io>
2024-07-03 13:49:00 +00:00
hallidayo c851438565 feat: docs ai warning removal (#23427) 2024-07-03 13:35:28 +00:00
Charis 161ba3da32 docs: document more ways to secure the data api (#27756)
Document ways to increase the security of Data API, including:

- Disabling it entirely
- Exposing a custom schema instead of the `public` schema

Also found a duplicated link in the nav for CLS, so removed it.
2024-07-03 12:32:16 +00:00
Francesco Sansalvadore efc5ee6ec4 global image component (#27410)
* global ui Image component

* migrate docs images to new global component

* use Image component in www mdx components

* update Image description

* remove redundant props

* better ZoomContent types

* remove ThemeImage

* remove ZommableImg component

* add use client to Image component
2024-07-03 13:02:13 +02:00
Thor 雷神 Schaeff 0dbb5e5225 docs: update deno deps to jsr. (#27766)
docs: update deno desp to jsr.
2024-07-03 18:06:55 +08:00
Alaister Young a1f0d03d8b chore: disable type checking on studio builds (#27769) 2024-07-03 15:23:42 +08:00
Charis 484393f666 fix: catch errors on setall in rscs (#27762) 2024-07-03 08:56:56 +02:00
Joshen Lim 54320ddb73 Chore/support showing all entities in database tables page (#27749)
* Support showing views in database tables page

* Support showing materialized views in database tables page

* Support showing foreign tables in database tables page

* Prevent deleting non table entities in database/tables, consistent with table editor

* Fix invalidation logic when deleting tables in database/tables
2024-07-03 14:40:45 +08:00
Etienne StalmansandCharis 361adf9f7c docs: add note about ssl modes (#27679)
* docs: add note about ssl modes

Postgres supports multiple SSL modes for clients. Each mode provides a
different level of protection. Add a note describing how to use the
strongest mode (`verify-full`) when SSL enforcement is enabled.

* docs: fix typo

* Update apps/docs/content/guides/platform/ssl-enforcement.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-03 08:35:38 +02:00
ce808954df docs: init Realtime authz docs (#22803)
* chore: init Realtime authz docs

* fix: some Vale fixes

* fix: run Prettier

* fix: Prettier

* fix: add note to contact us with placeholder link

* fix: swap rules for policies

* fix: lots of changes

* fix: update for latest Authz model

* fix: nits

* fix: more nits

* fix: nit

* edits

* fix: remove realtime.channel names and fix `in` filters

* fix: caps

* fix: moar

* fix: change h3 to h4

* fix: clarify interaction with postgres_changes

* fix: added simple steps to enable

* Update apps/docs/content/guides/realtime/authorization.mdx

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

* Update apps/docs/content/guides/realtime/authorization.mdx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* Update apps/docs/content/guides/realtime/authorization.mdx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* Update apps/docs/content/guides/realtime/authorization.mdx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* fix: add clarity to how it works

* fix: `features` to `extensions`

* fix: clarity

* fix: spelling

* fix: add detail about the test query.

* updates

* updates

* updates

* fix: update schema

* fix: prettier

* fix: rewrite section

* fix: create tables sql

* fix: shorten policy names

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
2024-07-02 14:46:29 -04:00
Steve Xu 9f1030c4b1 fix(docs): example storage debugging query (#27640)
* fix(docs): example storage debugging query

* fix(docs): format SQL code
2024-07-02 18:01:59 +00:00
Sebastián Poliak e56f7cdd4d [DOCS] Update README.es.md (#27637)
Update README.es.md

Add missing [x]
2024-07-02 16:31:09 +00:00
Filipe Cabaço c790146547 realtime: Bump Realtime image to 2.29.15 (#27750) 2024-07-02 21:58:35 +08:00
Jonathan Summers-Muir 97385256a9 fix: add overflow-hidden to Dialog component's <DialogSection /> (#27557) 2024-07-02 11:46:24 +00:00
hallidayoandTerry Sutton b7fbcd7ef8 feat: sql query spacebar search (#27663)
spacebar search enabled

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-07-02 09:04:53 -02:30
Joshen Lim 9123889139 Ignore 504 errors on sentry (#27745)
* Ignore 504 errors on sentry

* Ignore insertBefore errors

* Ignore r.default.setDefaultLevel is not a function

* Ignore copyToClipboard errors
2024-07-02 19:23:28 +08:00
Charis 53afaae9a5 fix: prevent overflow in mobile for inline code (#27739) 2024-07-02 13:04:19 +02:00
Jonathan Summers-Muir a3e532a482 [Design System] chore: <DropdownMenu /> modal prop set to false as default (#27369)
chore: `<DropdownMenu />` `modal` prop set to `false` as default
2024-07-02 18:42:53 +08:00
Joshen Lim 59c8b9449f Chore/fix storage upload folder logic (#27744)
* Don't replace backslash with underscore when uploading files

* Ignore .DS_Store files when uploading folders
2024-07-02 18:28:13 +08:00
Paul CioancaandJoshen Lim 90d9d6cb1e chore: only display compute addons if cloud provider supports them (#27599)
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-02 10:02:56 +00:00
Joshen Lim 4b367a53ea Fix changing provider doesnt change default region (#27615)
* Fix changing provider doesnt change default region

* Update package-lock
2024-07-02 15:15:17 +08:00
lollipopkit🏳️‍⚧️andHan Qiao da21986a5d doc: rootless docker (#27515)
* doc: rootless docker

* Update apps/docs/content/guides/self-hosting/docker.mdx

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-07-02 04:13:58 +00:00
Nil Gàllego 5336920c64 docs: Add crypto package for Apple sign-in functionality (#27664) 2024-07-02 03:46:03 +00:00
Joshen Lim d4116e9bfc Reinstate old org invite flow endpoints (#27681) 2024-07-02 10:54:05 +08:00
TylerandJan Tennert 42f76def90 docs: Kotlin docs misc updates (#27655)
* simplify installation instruction of supabase-kt

* add response parsing sample to edge functions code on Kotlin

* docs: update realtime kotlin sample code to launch flow in another coroutine

* Update apps/docs/spec/supabase_kt_v2.yml

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>

* Add note to invoke

---------

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>
2024-07-02 10:46:06 +09:00
Andrew Smith 8124dcae54 update sveltekit guides with the latest ssr setup (#27641)
* update sveltekit guides with the latest ssr setup

* update style formatting
2024-07-01 19:39:43 -04:00
Jitesh Yadav 0a1476024f Update joins-and-nesting.mdx (#27311)
I have changed the text description of the ON clause  section and added the code for kotlin and  GraphQL.
2024-07-01 23:32:08 +00:00
GaryAustin1 85de650034 Invalid SQL syntax in rls bypass section (#27738)
Unless there is some new SQL I'm not familiar the code shown:
`grant bypassrls on "table_name" to "role_name";`
Will not work and instead should be:
`alter role "role_name" with bypassrls;`
2024-07-01 17:54:54 -04:00
Erik Petersen 862f6075fb docs: fix Next.js create client docs to match fix in ssr auth docs (#27659)
* docs: fix nextjs create client docs to match fix in ssr auth docs

* Fix bug by also making the auth route public
2024-07-01 21:35:49 +00:00
Vojtech NovakandCharis 6f9b470da3 docs: document testing with higher-level tools (#26924)
* docs: document testing with higher-level tools

* Update apps/docs/content/guides/database/testing.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-01 19:25:57 +00:00
Richárd HrubyandCharis Lam 9697715825 update code snippet in nextjs server-side auth guide step 7 (#26281)
* update code snippet in nextjs server-side auth guide step 7

* format

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-07-01 19:23:11 +00:00
Erwin AIandCharis c53141de2a Just changing 'assword' to 'password'.. (auth-error-codes.mdx) (#27670)
Title says it all. Funny, but probs better to change it to 'password'

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-01 18:47:40 +00:00
TheOtherBrian1 d4719af05c Added warning about vacuum full (#27683) 2024-07-01 14:08:47 -04:00
github-actions[bot]andphamhieu a54aecd089 feat: update mgmt api docs (#27665)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-01 17:49:22 +00:00
Kevin Grüneberg 6cd8519cff chore: change invoice date format (#27672) 2024-07-01 21:05:55 +08:00
1127c4ba88 Project Level Permissions (#27347)
* fix: update Permission params

* fix: upgrade check permission hook to support project level role

* fix: usePermissionsLoaded

* fix: Permission params can be undefined

* Scaffold new access management UI

* Add validation

* Update roles view

* Add tooltip

* Add button to apply role to all projects

* Update UI to select projects first instead of roles

* Merge master update UI

* Midway trying to implementation project level perms API

* First pass implementating updating project level permissions

* Add client side validation for assigning/removing roles

* Midway implementing new invites

* Integrate most of the project level permissions functionality

* fix: filter out org-level permissions before checking

* Add relevant UI guards in org level pages for project role POV

* Minor refactors

* Small refactors

* More fixes

* Moar refactors

* More fixes

* More fixes

* Refactor update role logic and smack some test cases on it

* Fixes

* Fix type issue

* Fix type

* more fixes, refactors, adding checks...

* MORE fixes

* Add perms checking for replicas

* Add ButtonTooltip component and use them to prevent repetition of pointer events auto for buttons with tooltips

* Convert all buttons with tooltips to use ButtonTooltip

* refactor

* PRettier

* Small fix

* Remove commented out code in organization-invitation-accept-mutation

* fix: switch to use the platform oauth authorizations routes

* Add perms checking for org audit logs and org oauth apps

* PRettier

* Fix incorrect URL for oauth app flow

* Fix incorrect URL for oauth app flow

* Fix

* Add perms checking for warehouse related UI

* Update roles helper icon

* remove unused lib

* Update package lock... again

* Update package lock... again

* Smalllll update

* Update some checks

* Add gate for project level permissions

* Last fix

* update codegen

* Update warehouse endpoint routes

* Fix

---------

Co-authored-by: phamhieu <phamhieu1998@gmail.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-07-01 17:59:54 +08:00
Long Hoang 72794b5698 chore: update fair use references (#27668)
* chore: update fair use references

* fix: sync package lock
2024-07-01 06:41:44 +00:00
angelico d47de9d0b9 chore: have an update for when a post upgrade backup is in progress (#27591)
* chore: have an update for when a post upgrade backup is in progress

* chore: update wording

* fix: prettier
2024-07-01 14:29:46 +08:00
Kamil Ogórek 603461545c ref: Open GitHub and Vercel integrations links in new tabs (#27620) 2024-07-01 13:48:18 +08:00
Long HoangandCharis 05dfbec846 docs: add fair use to billing faq (#27580)
* docs: service restrictions

* fix: typo in fair use policy

* fix: correct some vale errors

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-30 23:07:15 +08:00
Guilherme Souza c72fa5d373 chore(docs): add params for swift methods (#27008) 2024-06-29 06:11:32 -03:00
Giuseppe Davide Tancaanddavide.tanca e2bc80ac8d fix(docs): broken references links (#27630)
Co-authored-by: davide.tanca <davide.tanca@ext.illimity.com>
2024-06-28 18:50:23 -04:00
Erik Petersen 9a18d013c2 Fix nextjs example in ssr docs (#27622)
* docs: fix NextJS middleware code in SSR docs

* Fix redirect loop that example would create

* Fix formatting
2024-06-28 18:39:15 -04:00
Wen Bo Xie 83ecfa5e76 fix: simplify rooms_users policies (#27629) 2024-06-28 18:04:02 -04:00
Monica Khoury 3957343713 Fix: project dropdown url for security advisor route (#27598) 2024-06-28 13:11:06 -02:30
Limane Gaya 122ad64a8f fix some typos (#27566) 2024-06-28 13:48:00 +00:00
Nick McIntoshandCharis 2658d7e8a5 Correct RLS description (#22530)
The RLS description appeared to have been copy-pasted from elsewhere, and did not reflect the RLS rule.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-28 13:38:05 +00:00
Craig Cannon bc807b9f4e Update humans.txt (#27545) 2024-06-28 13:36:45 +00:00