Commit Graph
5006 Commits
Author SHA1 Message Date
Jacint VargaandCharis 07bfcfbc3c docs: updated with-expo-react-native.mdx (#26705)
The `react-native-url-polyfill` is not needed in Expo anymore since SDK 50 (the latest SDK is 51).

You can read more about it here:  https://docs.expo.dev/versions/unversioned/sdk/url/

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:37:44 +00: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
ryuandCharis e259e4f2f6 docs: improve routing examples with Hono (#26933)
* docs: fix routing examples with Hono

* Update apps/docs/content/guides/functions/routing.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:26:51 +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
eecff51ecf docs: Added missing dashboard generated types alternative (#26961)
* Add section on generating types from Supabase dashboard

* Added whitespace

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

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:20:44 +00:00
Liam BirkinandCharis 7527f3a71d docs: Fix broken link (#26972)
fix broken link

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-03 23:33:28 +00:00
O-AdityaandCharis Lam 1775dd17de Fix #26802: Implement client-side only JWT secret generation (#26831)
* Fix #26802: Implement client-side only JWT secret generation

* generate random string with getRandomValues

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-06-03 14:56:55 +00:00
Jordi Enric 4e394de864 add link to configuration docs, simplify text. (#23437) 2024-06-03 16:54:11 +02:00
Thor 雷神 SchaeffandCharis 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
Imran GardeziandCharis d2bd47a32a Adds documentation for edge-functions quickstart set up with Intellij IDEA (#26911)
* Adds documentation for edge-functions quickstart set up with intellij idea

* update copy

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-31 17:00:55 +00:00
Charis 4c9c96a159 fix(sveltekit ssr docs): createBrowserClient use (#26872)
In the abbreviated SvelteKit SSR instructions, `createBrowserClient` is
used in hybrid code that runs on both the server and client, with
changes in the configuration depending on where it's run. That's just
confusing, because the name implies it should not run on the server.

Change it to match the full SvelteKit SSR tutorial, which selectively
runs `createBrowserClient` or `createServerClient` depending on the
current environment.
2024-05-31 11:43:29 -04:00
Bobbie Soedirgo ea9cfb921a docs(js): add example for deleting a record and returning it (#26855)
* docs(js): add example for deleting a record and returning it

* docs(js): clarify response object

Make it more obvious that `status` and `statusText` comes from the whole
response object, not from `data` or `error`
2024-05-31 16:53:44 +08:00
Bobbie Soedirgo b90ddcef21 docs(js): add example on setting timeout (#26825) 2024-05-31 16:53:34 +08:00
Kang Ming ac7922b84c docs: update auth docs (#26878)
* docs: fix broken links

* docs: update auth docs
2024-05-31 16:07:43 +08:00
Lakshan Perera 15bd61ab25 fix: links and formatting in Edge Functions status codes guide (#26907)
fix: links in Edge Functions status codes doc
2024-05-31 09:33:46 +02:00
Jon Meyers d376fee166 Move embedded video to ToC (#26905)
move embedded video to toc
2024-05-31 14:55:06 +08:00
Wen Bo Xie 282db663ec docs: add physical to backup type table (#26876) 2024-05-30 18:58:26 -07:00
Hieu d855bfb3f8 feat: automate mgmt api spec update (#26655)
* fix: correct mgmt api naming

* feat: new command to generate mgmt api sections

* feat: sort section items

* chore: tidy up

* fix: add generate sections to the default command

* feat: add gha to auto update mgmt api docs

* chore: tidy up

* fix: operationId logic to support self-hosting references

* chore: update latest mgmt api specs

* chore: update latest mgmt api specs
2024-05-31 08:53:19 +07: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
Kevin Grüneberg 6fedc2a7bf chore: more clear read replica costs (#26883) 2024-05-30 19:43:38 +08:00
angelicoandDiv Arora f697169c7f chore: updates to Read Replica documentation (#26813)
* chore: docs on selectively restarting a Read Replica

* chore: updates to read replica docs

* fix: failing GHAs

* chore: add read replica related fields to logConstants

* chore: add docs on read replica logging

* chore: prettier

* fix: spelling errors

* Update apps/docs/content/guides/platform/read-replicas.mdx

Co-authored-by: Div Arora <darora@users.noreply.github.com>

* Update apps/docs/content/guides/platform/read-replicas.mdx

Co-authored-by: Div Arora <darora@users.noreply.github.com>

* chore: elaborate on how `Init failed` can happen

* chore: elaborate on replication lag

* fix: the the

* chore: prettier

---------

Co-authored-by: Div Arora <darora@users.noreply.github.com>
2024-05-30 18:47:55 +08:00
Francesco Sansalvadore 7f42a81dce Chore/custom html elements cleanup (#26836)
* clean up CustomHTMLElements duplication

* save file

* docs --passWithNoTests

* update CustomHTMLElements.utils.test file to tsx
2024-05-30 10:45:57 +02: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
Tyler 3deeeb4988 docs: Add response and params to the storage reference docs for Flutter (#26815)
* docs: Add response and params to the storage reference docs for Flutter

* update storage response language to dart

* revert the sample response type to json
2024-05-30 03:26:08 +09:00
Chris Caruso 7d8e2a49eb Update humans.txt (#26862)
Updating humans.txt new line for Chris Caruso
2024-05-29 12:13:50 -05:00
dependabot[bot]andAlaister Young 1d633cdf0f chore(deps-dev): bump ejs from 3.1.9 to 3.1.10 (#23634)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-05-29 06:18:27 +00:00
Wen Bo Xie a34895ac96 docs: add database backup type clarification (#26811) 2024-05-28 14:47:21 -07:00
Hugo Bock fc0edd93ff doc: fix typo (#26805) 2024-05-28 16:09:22 +02:00
Copple c44acfdde0 chore: update cli reference doc (#26832) 2024-05-28 15:52:47 +02:00
Copple 80e95c8fcc chore: update cli reference doc (#23432) 2024-05-28 11:32:38 +08:00
Jon Meyers 068d822568 Add indexing video embed to database docs page (#26745)
add indexing video embed
2024-05-24 17:23:36 +02:00
Jonathan Summers-Muir ec760d4e97 add Admonition to Design System (#26710)
* add Admonition to Design System

* added notices about FormLabel

* Update label.mdx
2024-05-24 09:21:41 +00:00
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 SansalvadoreandJonathan Summers-Muir 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
Charis 9c03be41e4 enhance(ref docs): add params and returns for realtime and storage (#26687) 2024-05-23 13:09:17 -04:00
Guilherme Souza bd96a70ef0 chore(docs): add google sign-in guide for Swift (#26674) 2024-05-23 11:14:57 -03:00
b8243e06d8 Feat/design system site (#26586)
* init site

* add nav menu

* add props table component

* init all the examples

• also includes moving a bunch of ./ui files to ./ui-patterns

* update package

• might need to remove some of these

* Update rehype-component.ts

* move nav

* more changes

* add new source information to contentlayer

* fix copy buttons

* add text-confirm. start new concept of "fragments"

* move base path. add homepage. add theme selection

* added colors

* add form-item-layout

* temporary fix code blocks in light mode. they currently don't switch theme to theme

* start adding code themes

* Update dark.json

* update code block themes

* fix animations

* add cdmk search

* export registry of icons in ./icons package

* add comments

* add icon copy stuff

* Update icons.tsx

* more docs

* more docs. cleaned up colors and icons docs

* Update theming.mdx

* add more docs

* update

* add package

* Update tailwind.config.js

* update content

* Update drawer-demo.tsx

* Update aspect-ratio-demo.tsx

* add new blocks

* Update source-panel.tsx

* Update source-panel.tsx

* Update source-panel.tsx

* add new source block

* Update source-panel.tsx

* Update _app.tsx

* Update page.tsx

* Delete layout-old.tsx

* remove old themes

* remove old ui registry

* comment out nav items

* Update package-lock.json

* Update AssistantChatForm.tsx

* move back

* move again

* update

* Update index.tsx

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* update package

* udpate prettier

* fix tag issues

* Update package-lock.json

* update to contentlayer2

* update package-lock.json

* fix type errors

* ignore spelling

* Update avoid-typos.yml

* Update avoid-typos.yml

* Update package-lock.json

* Use ui type definitions.

* move tsconfig base stuff. fix content layer issue

* Update package-lock.json

* Update package-lock.json

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-05-23 17:39:56 +08:00
TheOtherBrian1andCharis a5785afba6 Add note about security definer views (#26571)
* Add note about security definer views

* expand acronym

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

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-23 03:38:42 +00:00
Charis 3c196e3bf5 enhance(refs): add params and return examples for database and auth (#26676)
enhance(refs): add params and return types

Add params and return types for database and auth functions in
supabase-js library.
2024-05-22 19:55:00 -04:00
Charis 2caf5ba564 enhance(docs): reorg google auth guide (web) (#25969)
* enhance(docs): reorg google auth guide (web)

* revert: sign in capitalization
2024-05-22 18:38:23 +00:00
Greg RichardsonandCharis 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
Olivier 6bf236cce2 Update hybrid-search.mdx fix column name on documents table, fixes #26364 (#26365)
* Update hybrid-search.mdx fix column name on documents table

The function uses `doc_vector` but table is setup with `embedding` so changed it to `doc_vector`

* Update col description in hybrid-search.mdx

* Update hybrid-search.mdx

back to `embedding` as col name
2024-05-22 18:36:28 +00:00
Thibault CHAUSSONandCharis f5324af575 📝 Update pg_cron documentation with examples for calling function (#26186)
📝  Update pg_cron documentation with examples for calling database functions and stored procedures

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 02:08:52 +00:00
Andreas EliaandCharis 4a2a68bab3 Fix "Options" component border radius transition and padding (#26332)
fix options border radius transition and padding

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 02:06:04 +00:00
Nicholas MoschopoulosandCharis cc845f07b9 Update custom-domains.mdx (#26582)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 00:38:34 +00:00
H0onnnandCharis 3a8369d899 Docs Add Supabase project initialization step (#26594)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 00:33:50 +00:00
Tyler FontaineandAlaister Young c97ddaafe3 Update index_advisor.mdx (#26511)
* Update index_advisor.mdx

Fix universal dashboard link to query-performance

* escape underscores

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-05-22 00:04:37 +00:00
grumpy-minerandCharis 5da928a0a1 Update auth.mdx - update fetching the user code example (#26614)
Update auth.mdx

Add constant authHeader in code example of Fetching the user

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-21 23:33:44 +00:00
hallidayoandCharis e606e1e5ca docs: metadata changes (#26626)
metadata changes

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-21 23:29:06 +00:00