Commit Graph
200 Commits
Author SHA1 Message Date
TheOtherBrian1 d8717224f9 Update custom-postgres-config.mdx | fixed links (#29690) 2024-10-08 18:24:25 -04:00
Enzo 2ca63953d6 Include "to authenticated" in example rls policies (#29761)
"To Authenticated"

Update custom-claims-and-role-based-access-control-rbac.mdx and added "to authenticated" in the rls policy which only allows logged in users to query instead of non logged in users as per "Specify roles in your policies" found here supabase.com/docs/guides/database/postgres/row-level-security#specify-roles-in-your-policies
2024-10-08 22:22:10 +00:00
TheOtherBrian1 4da7d9563f Update prisma.mdx | rewrite links (#29699) 2024-10-08 18:17:13 -04:00
Div Arora 7b943ace72 chore: add a note on tsdb flavour (#29667) 2024-10-04 06:23:08 +08:00
a0eff938ff New connection management docs (#29166)
* recreated connecting-to-postgres

* adding GUI quickstart section with DBeaver

* moved psql and pgadmin docs to GUI quickstart

* added Prisma installation docs. Moved postgres.js and Drizzle into own section

* added connection management docs

* moved supavisor troubleshooting guide into troubleshooting section. Probably should not merge without adding more guides

* updated IPv4 Add ons docs

* removed typo

* Update apps/docs/content/guides/platform/ipv4-address.mdx

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

* Update apps/docs/content/guides/platform/ipv4-address.mdx

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

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

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

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

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

* Update apps/docs/content/guides/database/connection-management.mdx

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

* Update apps/docs/content/guides/database/connection-management.mdx

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

* Update apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts

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

* removed repetition in connection-management | added photos

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/platform/ipv4-address.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/database/connection-management.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/platform/ipv4-address.mdx

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

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

Co-authored-by: Stas <sts@abc3.dev>

* updated proxy suggestions

* added redirects

* added images to connection-management guide

* added unique ids to titles in prisma-troubleshooting section

* added images to connection guide

* added new images to prisma guide

* reformatted admonition

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Stas <sts@abc3.dev>
2024-10-03 19:42:49 +00:00
Div Arora 642f13b951 chore: add docs on additional params being exposed for user control (#29548) 2024-10-03 02:42:39 +02:00
TheOtherBrian1 b06a9624db Update custom-postgres-config.mdx (#29068) 2024-09-30 13:57:19 -04:00
Francesco Sansalvadore 73bbbb798d update docs diagrams (#29394)
* update docs diagrams

* remove unused images
2024-09-19 15:51:45 +02:00
1c1b4c815d Add caution on Update Policy section for need to create Select Policy (#28678)
* Add caution on Update Policy section for need to create Select Policy

* Update apps/docs/content/guides/database/postgres/row-level-security.mdx

---------

Co-authored-by: bulut yerli <bulut@buluts-Mac-mini.local>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-09-18 13:49:08 +00:00
Oliver RiceandCharis 5deecaa44c Add docs for pgmq (#29232)
* add docs for pgmq

* make prettier happy

* Update apps/docs/content/guides/database/extensions/pgmq.mdx

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

* create extension -> create schema

* pgmq is not relocatable

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-09-11 20:12:56 +00:00
Oliver Rice 88e2bc55d2 Add docs for pg_partman extension (#29206)
add pg_partman docs
2024-09-11 14:53:06 -05:00
Myungwoo Song 238cb2ca39 docs: Update joins-and-nesting.mdx (#29125) 2024-09-06 13:40:36 +00:00
Thomas Vollstädt da883f7e6a doc: Fix reference to non-existant schema in SQL snippet of "Custom Claims & RBAC" (#28716)
Fix reference to non-existant schema in SQL snippet

The original example snipped references a schema `public.users` that does not exist by default. We could either add it here as well, or simply reference the `auth` schema for simplicity.
2024-09-03 19:35:38 +00:00
359699ac0c updated custom postgres configs docs (#28932)
* updated custom postgres configs docs

* moved custom configs to database docs. Added back all system level variables

* Apply suggestions from code review

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* Update apps/docs/content/guides/database/custom-postgres-config.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* updated language around user contexts

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2024-09-03 15:18:27 -04:00
Rodrigo Mansueli 73aae6172c chore: improve edge function example in pg_cron (#29067)
* chore: improve edge function example in pg_cron

* Update pg_cron.mdx
2024-09-03 18:41:42 +00:00
Alireza Zamani 2cdaa311da docs: add missed "to" (#28890) 2024-08-29 12:42:18 +00:00
Peter 95b3ed1789 docs: Fix Function level timeout SQL in timeout docs (#28886)
Fix Function level timeout SQL
2024-08-26 15:23:10 -05:00
Peter 1a193e5713 docs: Add tip to reload postgrest for timeout changes if using API calls (#28741)
Add tip for postgrest reload for timeout changes for client api calls
2024-08-26 09:12:26 -05:00
Guilherme Souza 9cf5f9168c docs: add missing python examples on guides (#28750) 2024-08-26 08:07:33 -03:00
0ac056dd5d Add resource links to RLS docs pages (#22465)
* add resource links to both RLS pages

* Merge master resolve conflicts

* Update apps/docs/content/guides/database/postgres/row-level-security.mdx

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

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-08-16 10:25:17 +07:00
4574951962 docs: warn about user_metadata used in RLS (#21561)
* docs: warn about `user_metadata` used in RLS

Adds a warning to the Row Level Security page that using `user_metadata` can be insecure.

* Update apps/docs/content/guides/auth/row-level-security.mdx

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

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-08-15 16:53:13 +08:00
Monica KhouryandJoshen Lim d0ef81f403 Docs: update Roles guide to add more info to changing password section (#18331)
* Docs: add more info to changing password section

* Merge master resolve conflicts

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-15 15:57:45 +08:00
Charis 50872f6d1b fix(docs): link (#28638) 2024-08-14 12:16:40 -04:00
TheOtherBrian1 382579b3f8 Update timeouts.mdx (#28568) 2024-08-12 23:51:37 +00:00
Bo LuandCharis Lam 4c6f93f253 docs: add Snowflake and Paddle foreign data wrappers (#28305)
* docs: add Snowflake and Paddle foreign data wrappers

* docs: add links to left nav menu

* add wasm fdw intro

* fix: inline code wrapping in table cells

* adjust wording

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-08-02 10:37:54 +10:00
CharisandBrian Brennglass a351b10861 adding timeouts to docs (#28197)
* adding timeouts to docs

* edits and rearrangement

* format

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
2024-07-31 18:25:40 -03:00
Heloi Neto 00832a7d7d fix SQL typo in query-optimization.mdx (#28170) 2024-07-26 19:58:51 +00:00
Jayden W 6aea5cb558 docs: Fixed typescript/jest testing repo link (#28124) 2024-07-23 21:32:17 +00:00
PeterandCharis 16856af11e docs: relocating schema guide for PostGIS (#28108)
* Add guide to relocate schema

* Cleanup text

* Update apps/docs/content/guides/database/extensions/postgis.mdx

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

* run prettier on PostGIS doc

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-22 17:18:22 -05:00
Chris Gwilliams 77529b234b Remove mention of safeupdate temporarily (#28013)
remove mention of safeupdate temporarily
2024-07-22 11:42:21 +01:00
mio256 8f616dfee3 docs: row-level-security.mdx, syntax error in create table user_id field (#28055)
Update row-level-security.mdx

syntax in create table user_id field
2024-07-19 20:12:27 +00:00
Wen Bo XieandKevin Grüneberg f1541878a9 fix: singularize and capitalize Supabase plans (#28052)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-07-18 04:49:00 +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
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
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
Bo Lu 11315e987a docs: add Wrappers API access security suggestion (#27514)
* docs: add wrappers security suggestion and example
2024-06-28 18:54:22 +10:00
Thor 雷神 SchaeffandFrancesco Sansalvadore 7e998139a9 [DO NOT MERGE] blog: postgis vector tiles (#27436)
* chore: update postgis docs dedicated schema.

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-06-26 15:57:49 +02:00
rogersm-uwoshandCharis 31adc2a8e9 Update connecting-to-postgres.mdx to mention clients (#27400)
It seems (I am not an expert by any means) that beyond the 3 strategies described here, you can also connect to Supabase using the clients -- but that doesn't get mentioned here. For those just learning Supabase, like me, I feel like this would make the documentation clearer.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-20 21:04:41 +00:00
Charis 87068b1967 fix(docs): clarify function revokes (#27256) 2024-06-13 19:56:11 +00:00
Tyler b4e3f47008 docs: Add Flutter / Dart sample codes into the guides. (#27106)
* docs: Adds Dart sample code into using custom schemas guide

* Add Flutter code to OAuth docs

* docs: Add sign out Flutter code to the OAuth guides

* Add Flutter code samples to the auth guides

* docs: Add Flutter code samples to storage docs

* docs: align all Flutter sample code to say Flutter instead of Dart

* docs: sort clean up Flutter and Dart labels

* docs: minor sample code fix

* run prettier
2024-06-11 14:05:52 +09:00
Joel Lee 7547c52e4f fix: revoke role on public for hooks (#27077)
* fix: revoke role on public for hooks

* fix: update SQL editor queries

* fix: update examples

* fix: update RBAC doc

* fix: update description to describe why we revoke public

* fix: correct use of we

* fix: run prettier

* fix: remove unintentionally added files
2024-06-07 22:03:12 +02:00
Peter 9fd79a410c docs: Update pgAdmin connection guide (#26955)
Update pgAdmin connection guide
2024-06-06 12:18:14 -05:00
Tyler 1cb2d90727 docs: Add JSON and pg_jsonschema videos to the docs (#26926)
docs: add json query video and pg_jsonschema video to the relevant docs page
2024-06-05 00:58:58 +09:00
f00fandCharis c4f90f68cc Update uuid-ossp.mdx (#26965)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:28:57 +00:00
Michael ChicheandCharis e9750aa07c Update custom-claims-and-role-based-access-control-rbac.mdx (#26948)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:22:00 +00:00
Jon Meyers d376fee166 Move embedded video to ToC (#26905)
move embedded video to toc
2024-05-31 14:55:06 +08:00
Felix GablerandThor 雷神 Schaeff 2a7bc47057 Update docs to maybe optimize RBAC functions performance (#22894)
docs: optimize RBAC functions performance

Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-05-30 08:07:07 +00:00
Inian 94c1973752 fix sql in pg_graphql example (#26880) 2024-05-30 15:47:52 +08:00