Commit Graph

794 Commits

Author SHA1 Message Date
Charis
f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04: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
Chase Granberry
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
Guilherme Souza
5e8efeb415 docs: add quickstart for iOS and SwiftUI (#27535) 2024-06-25 14:24:32 -03:00
Charis
ac192a5024 refactor(docs): migrate home page to app router (#27221) 2024-06-24 18:47:53 -04:00
Lakshan Perera
cf0ed10e1f fix: update edge function logging & troubleshooting guides (#27265) 2024-06-14 11:50:31 +02:00
Lakshan Perera
a3d1f87a09 chore: change Edge Function guide's sidebar titles (#27218) 2024-06-12 17:04:06 +00:00
karlo
1469f543ae Added Debugging Section for Realtime (#27165) 2024-06-12 05:01:28 +08:00
Kang Ming
f205b95e22 docs: update auth ui (#27158) 2024-06-11 01:41:35 +08:00
karlo
64fa8721b6 chore: Add Operational Error Codes for Realtime (#27110) 2024-06-09 09:21:15 +08:00
Thor 雷神 Schaeff
dda1c05ebd docs: Debugging Edge Functions with Inspector (#27014)
* chore: update ai types.

* docs: start ef inspector docs.

* chore: break out into own page.

* chore: spelling.

* chore: chrome devtools only.
2024-06-06 17:21:36 +08:00
Thor 雷神 Schaeff
1a571a2368 docs: edgy bedrock. (#26909)
* docs: edgy bedrock.

* fix: nav.

* Apply suggestions from code review

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-01 22:28:39 +08:00
Lakshan Perera
a133a111d2 Some updates to Edge Functions guides (#26877)
* chore: link to Sentry guide from Debugging section

* chore: Change Edge Function Quickstart to Get started

This section isn't much of a quickstart. Updated the first guide title
to "Create an Edge Function"

* chore: moved Edge Functions limits to a separate page

* chore: added a page on HTTP Status codes Edge Functions can return
2024-05-30 16:56:32 -02:30
Francesco Sansalvadore
511e7c728c docs: fix broken links (#26711)
* fix rest api docs nav links

* remove unused data-apis page
2024-05-24 11:09:11 +02:00
Francesco Sansalvadore
9c4eb2c2eb docs icons inconsistencies (#26715)
* fix docs inconsistent icons

* remove redundant and old icons

* revert links change

* fix prev link

* Apply suggestions from code review

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-05-24 07:04:22 +00:00
Greg Richardson
3f1df65bba SQL to REST translator (#25978)
* feat: sql-to-rest poc

* feat: sql-to-supabase-js poc

* chore: upgrade to libpg-query@15

* feat: sql-to-rest docs tool

* docs(sql-to-rest): add introduction

* docs: wording improvements

* fix: theme

* chore: tailwind placeholder

* feat(sql-to-rest): limit, offset, and range

* feat(sql-to-rest): sort by

* fix(sql-to-rest): ui theme

* feat(sql-to-rest): casts

* feat(sql-to-rest): dynamic faqs in ui

* feat(sql-to-rest): improve ui responsiveness

* feat(sql-to-rest): more advanced faqs in ui

* feat(sql-to-rest): http and curl syntax highlighting

* feat(sql-to-rest): baseUrl in http/curl rendering

* docs(sql-to-rest): clarification on curl flags

* feat(sql-to-rest): more faqs

* refactor(sql-to-rest): split faqs into own file

* refactor(sql-to-rest): move formatters to sql-to-rest package

* docs(sql-to-rest): move page to new tools section

* feat(sql-to-rest): joins and resource embeddings

* chore(sql-to-rest): rename 'convert' to 'translate'

* feat(sql-to-rest): add faqs

* feat(sql-to-rest): ui improvements

* feat(sql-to-rest): faq title adjustment

* feat(sql-to-rest): link to client lib docs

* feat(sql-to-rest): assumptions

* feat(sql-to-rest): friendly 'not supported yet' errors

* feat(sql-to-rest): json columns

* feat(sql-to-rest): remove curl -G flag if unused

* feat(sql-to-rest): better error handling

* chore: revert accidental rls ai work

* fix: build errors

* fix(sql-to-rest): theme

* feat(sql-to-rest): change base url

* feat(sql-to-rest): basic aggregate poc

* feat(sql-to-rest): group by

* feat(sql-to-rest): more group by checks

* feat(sql-to-rest): count(*) special case

* fix(sql-to-rest): tests

* feat(sql-to-rest): faq on 'and' operator

* fix(sql-to-rest): error messages

* fix(sql-to-rest): multiple filters on same column

* refactor(sql-to-rest): error hints

* feat(sql-to-rest): match and imatch

* feat(sql-to-rest): in operator

* feat(sql-to-rest): parsing error hints

* feat(sql-to-rest): default language to curl

* feat(sql-to-rest): format on cmd+s

* feat(sql-to-rest): format initial value

* fix(sql-to-rest): turn off tab query group

* feat(sql-to-rest): improve wording in error messages

* feat(sql-to-rest): animated code blocks

* feat(sql-to-rest): more error hints

* fix(sql-to-rest): strip primary relation prefix from columns

* feat(sql-to-rest): json column in order by clause

* feat(sql-to-rest): validate all referenced relations exist in from clause

* refactor(sql-to-rest): split core sql-to-rest lib into separate repo

* feat(sql-to-rest): upgrade to v0.1.1

* feat(sql-to-rest): upgrade to v0.1.2

* feat(sql-to-rest): upgrade to v0.1.4

* chore: upgrade libpg-query

* feat: update 'create a pr' link

* fix: app builds

* fix: prettier

* fix: typecheck

* fix: studio tests

* chore: remove console.log

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

* docs(sql-to-rest): remove broken link to client libraries

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 12:37:01 -06:00
karlo
fc99675c4d chore: Update Realtime Nav constants (#25967) 2024-05-09 11:44:19 -07:00
Charis
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Charis
12c5eb44b2 fix(docs): rename database linter (#23274) 2024-04-25 17:20:58 +00:00
Oliver Rice
fe2e8704f7 Remove TCE Blog & Mark pgsodium as not recommended in docs (#22217)
* remove TCE blog

* update pgsodium docs that its pending deprecation

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

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

---------

Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2024-04-24 19:10:25 +00:00
Charis
3f69fdf5c0 fix: docs build (#23227) 2024-04-24 11:46:36 -04:00
Joseph Schultz
fa8167b26c chore: Update C# docs to reflect new Nuget Package names and Changelog (#23148)
* Refresh of c# client docs to reflect Supabase@v1.0.0 and new Nuget Package Names

* Clarify maintainers and contributors

* Separate C# v0 and v1 references

* Format

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-23 21:07:29 +00:00
Charis
7e8c07227b fix: cleanup orphan pages (#23200) 2024-04-23 16:16:57 -04:00
Charis
0c8f9942cf feat(understandability): add new server-side auth docs for sveltekit (#22574)
End-to-end guide for setting up Server-Side Auth with SvelteKit, covering:

- Protected routes
- Signin, signup, signout
- Protected data
2024-04-22 18:26:27 +00:00
Wen Bo Xie
d56f340190 fix: redirect column level security guide to the new home (#22930)
* fix: redirect column level security guide to the new home

* fix: docs nav menu wrong link

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-04-19 22:37:24 +00:00
Rodrigo Mansueli
134a13f835 feat: storage egress guide (#22807)
* feat: storage egress guide

* typo + prettier

* Update bandwidth.mdx

* Update bandwidth.mdx

* Update bandwidth.mdx

* Update apps/docs/content/guides/storage/serving/bandwidth.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-19 11:39:07 +00:00
Fabrizio
8864e5633c docs: storage s3 protocol (#22647)
* docs: storage s3 protocol

* fix: edits

* docs(storage): added ownership,management,custom-roles docs

* chore: fix prettier

* docs: fix formatting & rephrase some bits

* fix: edits

* add error codes documentation

* update docs

* Adds blog post

* Adds embeds

* chore: update images

* parquet video

* Update thumb.png

* some doc updates

* Adds compat list

* guide: cyberduck

* doc updates

* ga page data

* blog updates

* update image

* Update 2024-04-18-s3-compatible-storage.mdx

* Update supabase-contributions.png

* blog update

* moves cyberduck to integrations

* updated multipart section blog

* Update 2024-04-18-s3-compatible-storage.mdx

* update blog

* fix link

* blog updates

* update blog

* docs update

* update announcement banners

* update

* update build stage

* update

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Francesco Sansalvadore <francescosansalvadore@mac.wind3.hub>
2024-04-18 14:57:16 +02:00
Jonathan Summers-Muir
c59141f83c chore: Reorder database links (#22835)
* chore: move column priv

* update docs

* Minor fixes for column privileges. Add an explanation alert.

* Add a right icon to productMenuItem component.

* Rename the database replication into publications.

* Change the order for the database menu.

* Fix various links to db publications.

* Remove duplicate entry.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-18 09:38:24 -02:30
Inian
05b1bd97d1 add day2 docs (#22787)
* wip

* inference

* inference

* inference

* Update ai-models.mdx

---------

Co-authored-by: Lakshan Perera <lakshan@laktek.com>
2024-04-16 13:47:21 +00:00
Thor 雷神 Schaeff
2a4c525cd2 docs: ai in ef docs guide (#22788)
* wip: add semantic search example

* chore: complete ef ai guide.

* chore: update ai docs.

---------

Co-authored-by: Lakshan Perera <lakshan@laktek.com>
2024-04-16 21:36:19 +08:00
Guilherme Souza
c7217582ab chore: official supabase-swift (#22678)
* chore: remove community badge from supabase-swift

* chore: update realtime swift reference

* fix typo

* chore: update swift references

* chore: fix misspelling of behavior
2024-04-16 00:01:01 +10:00
Oliver Rice
a29c16e7d0 Federate wrappers docs for Auth0, Cognito, Redis, MSSSQL (#22515) 2024-04-05 09:38:54 -05:00
Charis
1d52dfacde feat: federated docs for linter (#22472)
* feat: federated docs for linter

* style: clean up

* fix: toc and link rewrite

* fix: remove console logs
2024-04-04 13:35:31 -04:00
Charis
e5b647878d fix: match docs nav icons between sidebar and mobile header (#22383)
* fix: match docs nav icons between sidebar and mobile header

* fix: pass classname to all home menu icons
2024-04-03 16:13:11 +00:00
Kang Ming
9e4b7e4991 docs: anonymous sign-ins (#21801)
* docs: add guide for anonymous sign-ins

* docs: add signInAnonymously to reference docs

* docs: update tsdocs to include signInAnonymously

* docs: update RLS policies page

* fix: make reference generator more resilient

* docs: update nodes to use auth-js naming

* docs: update tsdocs

* docs: update signInAnonymously method

* docs: add abuse prevention & cleanup to anonymous users guide

* docs: update rate limit table

* docs: update automatic cleanup section

* docs: update access control & abuse prevention

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

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

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

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

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

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

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

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

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>

* docs: update access control

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>

* docs: update anonymous users guide

* docs: update anonymous user guide

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2024-03-27 18:01:07 +07:00
Chris Gwilliams
67e1c3380d Add docs page on high swap usage (#20027)
add docs on high swap usage
2024-03-26 07:36:35 -04:00
Thor 雷神 Schaeff
280c26d23d feat: add amazon bedrock vecs example. (#21963)
* feat: add amazon bedrock vecs example.

* feat: add Amazon Bedrock guides.

* feat: add blogpost.

* chore: add video.

* Apply suggestions from code review

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* chore: update example.

* chore: updates from review.

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2024-03-26 18:13:18 +08:00
Charis
fa8c9f360b fix: docs sidebar collapse and highlight (#22108)
* fix: make sidebar collapse work when hash is selected

* fix: persist sidebar highlight when hash is selected

* chore: cleanup

* fix: fix enterprise sso case
2024-03-25 10:31:00 -04:00
Wen Bo Xie
2b442bc612 docs: remove Realtime client-side throttling (#18436) 2024-03-25 07:50:46 -04:00
Greg Richardson
d551209e46 Docs: semantic search (#22116)
* docs: semantic search

* docs(ai): add search links in overview

* docs: wording improvements

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

* docs: more wording improvements

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-20 17:54:28 +00:00
Jonathan Summers-Muir
a4a4a7e26d Deprecate old Badge component (#22037)
* Update Badge.tsx

* refactor apps with new props

* Update APIKeys.tsx

* format

* remove old code
2024-03-19 10:33:12 +01:00
Thor 雷神 Schaeff
990148ebe0 feat(docs): serverless drivers. (#21994)
* feat(docs): serverless drivers.

* Apply suggestions from code review

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-03-15 12:30:50 +00:00
Greg Richardson
c8d8e089b5 Docs: Hybrid search (#21955)
* docs: hybrid search

* fix: missing single quote in curl example

* fix: indent using spaces

* fix: link to reference docs

* fix: text spacing and line breaks

* docs: cap match_count to 30

Co-authored-by: Oliver Rice <github@oliverrice.com>

* docs: change 'in order to' to 'to'

* fix: change katex markup to double dollar sign

* docs: remove reference to reciprocal rank

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

* docs: remove note on what search means in postgres

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-13 12:14:22 -06:00
Charis
3124f3dad7 feat: add docs feedback widget (#21131)
Add a docs feedback widget to allow upvoting and downvoting pages.

Votes (completely anonymized, barely more than a counter) go to a database in the main supabase-com project. If the user has accepted telemetry, the votes also go to Logflare with a bit more info. Post-vote, logged-in users can leave a comment, which goes to the `platform/feedback/send` endpoint. There is a warning in the feedback modal that the feedback is not anonymous.
2024-03-11 20:28:25 -04:00
Jonathan Summers-Muir
07a6c5ab4e Chore/move cmdk (#21936)
* init

* fix build issues

* move deps over

* Update CommandMenuWrapper.tsx

* build fixes

* Update sitemap_www.xml

* reset

* Update sitemap_www.xml

* Update tsconfig.json

* Update package.json

* Update package.json

* Update package-lock.json

* Update package.json
2024-03-11 18:31:23 +08:00
Charis
14ca7b6ed9 docs: add sentry integration docs (#21439)
* docs: add sentry integration docs

* feat: add sentry edge functions monitoring guide.

* feat: add sentry functions example.

* fix: navbar.

* chore: nits.

* chore: add to functions example list.

* fix: formatting.

* chore: add nextjs example.

* fix: rename sentry guide

* remove configuration options

* Apply suggestions from code review

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

---------

Co-authored-by: thorwebdev <thor@supabase.io>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-03-06 14:50:03 +00:00
Rodrigo Mansueli
cb4ee4c6a0 feat: add edge functions headers page (#21784)
* feat: add edge functions headers page

* Update functions-headers.mdx
2024-03-05 14:44:43 -03:00
Minh Au
fb9e6aa9b1 Sync NextJs Quick Start and Web App Tutorials (#21718)
* rename 'web app tutorials' to 'web app demos'

* replace auth helper with server-side auth

* add more descriptive instructions

* fix small typos

* create a section on supabase utitlies

* update middleware section to include utilities

* update supabase auth ui to include the utilities

* add a login/signup form

* replace supabase auth ui section with a note

* update PCKE section to use /auth/confirm route instead of /auth/callback

* update Account Page section to use utilities and switch locations

* update Sign out section to use utilities

* update bonus section to include utilities

* minor fixes

* Apply suggestions from code review

* format

* format

* fix js examples

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 01:04:48 -05:00
Madhav Bansal
70c118df90 Guide to Setting Up TextLocal as Your Phone Login Provider (#21499)
* Add TextLocal SMS Login to NavigationMenu.constants.ts and create guide for Phone Auth with TextLocal

* Fix typo in Textlocal SMS Login

* Update Textlocal integration and documentation for DLT compliance.

* Addressed comments

* Update Textlocal SMS Login name

* Update Textlocal SMS Login name to 'Textlocal SMS Login (Community Supported)'

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 01:11:57 +00:00
Thor 雷神 Schaeff
7ce6958030 feat: add rbac claim auth hook. (#21263)
* feat: add rbac claim auth hook.

* feat: get user role from jwt.

* chore: update full-schema.

* feat: add RBAC guide.

* feat: use plpgsql.

* Apply suggestions from code review

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

* chore: make top level claim.

* chore: set search_paths.

* chore: accessing custom claims.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-04 14:24:32 +00:00