Commit Graph
5305 Commits
Author SHA1 Message Date
Thor 雷神 Schaeff 4f0a0b54a7 Edge Functions Llamafile example. (#28544)
* ef llamafile example.

* chore: add docs.

* chore: add blogpost.

* chore: spelling.

* chore: docs nit.

* chore: nits from review.

* chore: spelling  nits.

* Update apps/www/_blog/2024-08-21-mozilla-llamafile-in-supabase-edge-functions.mdx

* Update apps/www/_blog/2024-08-21-mozilla-llamafile-in-supabase-edge-functions.mdx
2024-08-21 20:35:58 +08:00
Kang Ming ccb4820cf7 fix: add resend example to send email hook (#28613) 2024-08-20 22:31:49 -04:00
Kang MingandStojan Dimitrovski 7fa23150ac fix: update google one-tap docs (#28723)
* fix: update google one-tap

* Update apps/docs/content/guides/auth/social-login/auth-google.mdx

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

* chore: update one-tap component to use addEventListener

---------

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2024-08-20 16:17:58 +00:00
Lakshan Perera 500c285818 docs: Update Edge Function docs to mention JSR imports (#28729) 2024-08-20 09:59:28 -05:00
Stojan Dimitrovski 185590c1cd fix: rename AWS Cognito to Amazon Cognito (#28765)
fix: rename AWS Cognito to Amazon Cognitog
2024-08-20 14:04:17 +02:00
Han Qiao c0bd1096ee chore: add bootstrap command to docs page (#28747)
* chore: add bootstrap command to docs page

* Update common-cli-sections.json
2024-08-20 01:04:54 +08:00
Chris Chandler 4f9149f3d9 Update humans.txt (#28736)
Added myself to the list
2024-08-19 16:28:17 +08:00
Ziinc 375aacf7e9 docs: move integration guide to log drains page (#28694) 2024-08-19 10:00:36 +08:00
Charis 33924f0e62 fix: remove frontmatter and repeated H1 from wrappers docs (#28704) 2024-08-16 17:41:17 +00:00
Andrew SmithandJoel Lee 4664587624 docs(python): add params for sign-in methods (#27639)
* add params for sign-in methods

* Add sign in with id token docs

* add more auth methods docs

* docs(python): remove credentials param name

* Update apps/docs/spec/supabase_py_v2.yml

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

* Update apps/docs/spec/supabase_py_v2.yml

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

---------

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-08-16 21:41:39 +08:00
Guilherme Souza f2ab50ea45 docs(python): add reference docs for python realtime (#28680)
* docs(python): add reference docs for python realtime

* python realtime guides

* remove $ref
2024-08-16 06:56:51 -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
Kang Ming d18bef8b9c docs: update postgres hooks security model (#28681)
* fix: update security model for postgres hooks

* chore: remove grants from postgres hook examples
2024-08-15 16:13:14 -04:00
Jan Tennert af002c7bfd Add Kotlin third party auth & phone mfa docs (#28677) 2024-08-15 18:40:03 +00:00
CharisandRodrigo Mansueli d53d7224df docs: compute upgrade downtime (#28676)
Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
2024-08-15 17:54:21 +00:00
dikshant rajput 0164efe2b8 Docs-fix: Missing closing parenthesis in auth-google.mdx (#27764)
Update auth-google.mdx

A small unnoticeable syntax issue
2024-08-15 17:20:11 +00:00
Guilherme Souza 19e1978e5b docs(python): remove wrong params from update method (#28663) 2024-08-15 13:08:36 -04:00
39cc19de5b whale 4 (#28664)
* d4 init

* fix navbar transparency

* fix close color

* update blog post og and thumb

* blog: initial blog post for day 4 (#28586)

* blog: initial blog post for day 4

* blog: update categories

* blog: spelling

* blog: update header

* update blog

* update blog

* update blog

* review suggestions

* blog post  og and thumb

* blog: more content on architecture changes

* blog: spell check

* docs: add edge function log drains guide

* docs: update admonition

* reorder sections

* blog: add link to edge function guide

---------

Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>

* Update apps/www/_blog/2024-08-15-log-drains.mdx

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

* Update apps/www/_blog/2024-08-15-log-drains.mdx

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

* Update apps/www/_blog/2024-08-15-log-drains.mdx

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

* Update apps/www/_blog/2024-08-15-log-drains.mdx

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

* Update apps/www/_blog/2024-08-15-log-drains.mdx

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

* Update apps/www/_blog/2024-08-15-log-drains.mdx

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

* add video

---------

Co-authored-by: Ziinc <Ziinc@users.noreply.github.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2024-08-15 15:18:18 +02: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
David Dikman 6a79a5f266 Corrected use of environment file with deno test and edge functions (#21302) 2024-08-15 08:46:58 +00:00
Ant WilsonandJoshen Lim 015da76e8d chore: adds github link for with-supabase (#21221)
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-15 16:34:45 +08:00
shinriyoandCharis 61085c79c2 Update with-svelte.mdx (#19347)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-08-15 08:10:56 +00: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
CoppleandFrancesco Sansalvadore 85a6c5f640 cleans up structure of the docs (#21484)
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-08-15 07:56:26 +00:00
Joe Bashour 9d48a9dda9 Update features.mdx (#27103)
Fix grammatical error in "S3 Compatibility"
2024-08-15 07:44:32 +00:00
Ant Wilson 9007f1499e chore: adds Swift to officially supported langs (#27773) 2024-08-15 15:29:28 +08:00
Maysam Torabi e8c3b92c2a missing code fix (#28223) 2024-08-15 07:26:08 +00:00
Tyler b4e2b156af docs: fix a mismatch between the sample code and sample response (#28466)
* docs: fix a mis-match between the sample code and sample response

* fix onAuthStateChange unsubscribe code

* Revert "fix onAuthStateChange unsubscribe code"

This reverts commit 8d438ae145.

* fix code sample for unsubscribing in Flutter
2024-08-15 14:40:33 +08:00
Felipe Peter 6e795f54ec Add usePathUrlStrategy to web setup instructions (#28120)
* Add `usePathUrlStrategy` to web setup instructions

Supabase redirects do not work with Flutter's default URL strategy.

* fix prettier issue
2024-08-15 05:48:02 +00:00
Charis 220915094c chore(docs): remove preview build shortcuts (#28641)
Now that production builds are fast, let's remove the preview build
shortcuts. (One of them didn't work anyway.) Having different preview
and production builds can lead to edge case bugs making it into master,
and we won't see much further build time improvement that's worth the
risk.
2024-08-14 17:08:01 -04:00
Charis e324539791 fix: tutorial description (#28644)
Description says "magic link" but not (all?) the tutorials use magic
links, so make it more general.
2024-08-14 17:01:25 -04:00
Charis 42c4fbe137 docs: add link to upgrade compute (#28643) 2024-08-14 17:00:55 -04:00
Guilherme Souza c73dd369ad docs(swift): remove usage of deprecated code from getting started guide (#28639)
docs(swift): remova usage of deprecated code from getting started guide
2024-08-14 14:13:47 -03:00
Guilherme Souza 860b8d8a8d docs(python): fix wrong type for on_conflict param (#28637) 2024-08-14 13:17:38 -03:00
Charis 50872f6d1b fix(docs): link (#28638) 2024-08-14 12:16:40 -04:00
Charis e67c219120 fix(docs): api crawler routes (#28614) 2024-08-14 12:16:02 -04:00
Div Arora 629750ec5e chore: add docs on common logical restoration failures (#28615) 2024-08-14 11:18:01 -04:00
Copple 97f59a9b87 chore: update cli reference doc (#28627) 2024-08-14 09:37:32 -04:00
Joel LeeandStojan Dimitrovski 82f66043c5 feat: add mfa (phone) docs (#28457)
* fix: remove totp relevant questions

* fix: split into two separate pages

* fix: remove non-generic parts

* fix: update docs

* fix: further extract non general sections

* fix: add enrollment flow

* fix: run prettier

* fix: more changese to adjust for vale

* fix: add separate image for phone flow

* fix: update headings

* fix: update link

* fix: edits up to phone auth

* fix: update to make vale happy

* fix: rephrase some sentences

* fix: update phone mfa, remove friendly name specification

* fix: apply suggestions

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

* fix: add section about SIM swapping attacks

* fix: update link for SIM swapping

---------

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2024-08-14 12:56:21 +00:00
27beb926c0 feat: add third-party auth docs (#28423)
* feat: add third-party auth docs

* add swift example for firebase

* add tpa example for auth0

* add tpa example for cognito

* Add Flutter code block

* Apply suggestions from code review

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

* wip

* rephrase a few things

* apply suggestion from @J0

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

---------

Co-authored-by: Guilherme Souza <grsouza@pm.me>
Co-authored-by: dshukertjr <dshukertjr@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-08-14 12:47:33 +02:00
Carel de Waal f2ebc72056 Docs: Temp change Snaplet docs url for LW (#28622)
Temp change Snaplet docs url for LW
2024-08-14 16:20:07 +08:00
Joel Lee 39afdb3baf fix: update auth hooks docs to cater for new folder structure (#28621)
* fix: minor change to url

* fix: append -hook suffic

* fix: run prettier

* fix: update docs

* fix: run prettier again
2024-08-14 08:02:35 +00:00
Ziinc a692a30932 docs: add pricing adjustment for log drains / auth features (#28375)
- Added Multi-Factor Auth - TOTP
- Added Multi-Factor Auth - Phone
- Added Third-Party MAUs
- Added Log Drains
- Changed PITR pricing to clarify per month pricing and retention 
- Added Log Drain to bandwidth tooltips/info
- Added Auth user data ownership
2024-08-14 15:02:36 +08:00
Charis fc164b5d07 Refactor/app router refs (#28095)
Migrates client SDK References to App Router. (Management and CLI API references aren't migrated yet, nor are self-hosting config references.)

Some notes:

Big changes to the way crawler pages are built and individual section URLs (e.g., javascript/select) are served. All of these used to be SSG-generated pages, but the number of heavy pages was just too much to handle -- slow as molasses and my laptop sounded like it was taking off, and CI sometimes refuses to build it all at all.

Tried various tricks with caching and pre-generating data but no dice.

So I changed to only building one copy of each SDK+version page, then serving the sub-URLs through a response rewrite. That's for the actual user-visible pages.

For the bot pages, each sub-URL needs to be its own page, but prebuilding it doesn't work, and rendering on demand from React components is too slow (looking for super-fast response here for SEO). Instead I changed to using an API route that serves very minimal, hand-crafted HTML. It looks ugly, but it's purely for the search bots.

You can test what bots see by running curl --user-agent "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" <URL_OF_PAGE>

Also added some smoke tests to run against prod for the crawler routes, since we don't keep an eye on those regularly, and Vercel config changes could surprise-break them. Tested the meta images on Open Graph and all seems to work fine.

With this approach, full production builds are really fast: ~5 minutes

Starts using the new type spec handling, which is better at finding params automatically, so I could remove some of the manually written ones from the spec files.
2024-08-13 16:12:59 -04:00
Shubh Porwal ea306b4e7f fix(docs): migration typo (#28588) 2024-08-13 17:51:39 +00:00
cc53d5006d whale 2 (#28591)
* whale d2

* video id

* cleanup meetups

* realtime: Blog for Realtime Broadcast and Presence Authz (#27691)

* realtime: Blog for Realtime Broadcast and Presence Authz

Blog post to be used for Realtime Broadcast and Presence authorization

---------

Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>

* add lw tags to blog post

* Adds edits

* prettier run

---------

Co-authored-by: Filipe Cabaço <filipe@supabase.io>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
2024-08-13 13:30:22 +00:00
Inian 61359ed68d add custom roles doc to the access security section (#28595)
of the database docs
2024-08-13 15:28:31 +03:00
Copple 9269a10371 chore: update cli reference doc (#28577) 2024-08-13 11:49:25 +08:00
TheOtherBrian1andBrian Brennglass ee35e989d9 added advanced filtering page to log docs (#28233)
* added advanced filtering page to log docs

* Update advanced-log-filtering.mdx

* Update advanced-log-filtering.mdx

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
2024-08-13 02:55:07 +00:00
a8f6b74dd3 docs: add http auth hook docs (#25880)
* feat: add http auth hook docs

* fix: add more notes

* fix: add send sms and send email stubs

* fix: add jsonschemas

* fix: add jsonschema for tab

* fix: restructure docs

* feat: add more http examples

* fix: add more examples

* feat: add sql hooks

* fix: patch vale errors

* fix: remove more uses of we

* fix: correct label

* fix: apply suggestions

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

* fix: move to shared config

* fix: update mfa and password examples

* fix: add line about jsonschema

* fix: remove HTTP examples for MFA Verification and Password Verification

* chore: update hook secret description

* chore: cleanup overview and add subtitle

* chore: reorganize examples into tabs

* chore: reorganize sections

* chore: format input / outputs into tables

* chore: move each hook into separate pages

* chore: cleanup content

* chore: fix more formatting

* chore: add hooks to sidenav

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
2024-08-12 18:29:27 -07:00