Commit Graph
2249 Commits
Author SHA1 Message Date
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 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
Charis 50872f6d1b fix(docs): link (#28638) 2024-08-14 12:16:40 -04:00
Div Arora 629750ec5e chore: add docs on common logical restoration failures (#28615) 2024-08-14 11:18:01 -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
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
Peter cb56a69a00 fix: Replace deprecated serialize call in NextJS pages router docs (#28561)
* Replace deprecated Serialize call

* run prettier
2024-08-13 00:09:57 +00:00
TheOtherBrian1 382579b3f8 Update timeouts.mdx (#28568) 2024-08-12 23:51:37 +00:00
Kamil Ogórek 3aa92fbcbd Update sentry-monitoring.mdx (#28512) 2024-08-12 14:13:27 -04:00
Ziinc e80303f363 docs: update log drains for features list (#28370)
* docs: update log drains for features list

* docs: update wording
2024-08-13 01:50:30 +08:00
TheOtherBrian1 e2cce047a1 Remove statement_timeout from custom-postgres-config.mdx (#28488)
Update custom-postgres-config.mdx
2024-08-08 14:34:00 -04:00
Inian f6f2af0f85 update log drain docs (#28396)
* update log drain docs

* rename webhook to http endpoint

* add datadog
2024-08-08 09:48:17 +08:00
Joel Lee ff71b2c922 fix: change mfa faq layout to use accordions (#28447)
* fix: move to accordion

* fix: drop italics
2024-08-07 22:45:28 +04:00
Ziinc 33ed5a8eec docs: allowlist of api logs (#28446)
* docs: allowlist of api logs

* docs: remove x-custom-metadata

* docs: add note about header passthrough

* docs: add in user agent enriching docs
2024-08-07 20:40:09 +08:00
Charis b0313a262e fix(docs): update nextjs quickstart (#28404)
Update quick start to use new SSR API.
2024-08-06 14:15:38 -04:00
Ziinc 1386062489 docs: fix webhook signing admonision for log drains (#28372) 2024-08-06 10:58:28 +08:00
Kamil Ogórek 46822888f5 Update branching.mdx (#28391) 2024-08-05 20:26:02 +08:00
Ben 50f8b46b15 Update scaling.mdx (#28340) 2024-08-05 12:27:46 +02:00
Charis 8313397aa7 fix(docs): duplicate heading ids (#28328) 2024-08-02 13:59:01 -04: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
Carel de WaalandCharis 56ee2a61f5 Docs: Updated seed generation guide (#28273)
* Change Snaplet link to Github repo
   Updated guide to reflect Snaplet seed changes
   Mention tips for users that do not have an ORM setup
   Added Snaplet to accept.txt file
* Add npm to accept.txt
* Adding mdx formating suggestions from code review

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-08-01 09:36:09 +02: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
Charis 985ed13456 docs(quickstarts): add rls policy step (#28196)
Quick starts are missing the step to create an RLS policy, which can be
confusing if you choose to create the table from the Table Editor, and
subsequently can't select from it.
2024-07-31 14:58:37 +00:00
Ziinc fd7793cfce docs: Loki drain, Datadog gzip update (#28271)
* docs: loki drain documentation, Datadog gzip update

* docs: add Authorization header recommendation

* chore: CI checks

* docs: update to remove future tense
2024-07-31 11:16:33 +08:00
Evan Suhyeong Lee db713f43b1 fix(docs): delete unused type from example code (#28268) 2024-07-31 01:28:04 +00:00
Maysam Torabi 9e3ca8499d Fixing spelling error (#28220) 2024-07-31 01:17:08 +00:00
ViktorTrojan 1fb351f6a7 fix spelling issue from types/supabase to database.types (#28283) 2024-07-31 00:53:36 +00:00
Guilherme Souza f9751c2e13 chore: official supabase-py (#28209) 2024-07-29 08:00:48 -03:00
Wen Bo Xieandegor ce42139560 fix: update gist-960 with the correct tab name (#28217)
* fix: update gist-960 with the correct tab name

* Apply suggestions from code review

---------

Co-authored-by: egor <58992960+egor-romanov@users.noreply.github.com>
2024-07-27 23:23:40 +00:00
Charis 4204ff60c4 fix(docs): add light/dark versions of docker screenshots (#28216) 2024-07-27 13:20:04 +08:00
Heloi Neto 00832a7d7d fix SQL typo in query-optimization.mdx (#28170) 2024-07-26 19:58:51 +00:00
Thor 雷神 Schaeff a2b9f79791 docs: realtime broadcast typos. (#28182) 2024-07-26 15:53:07 +08:00
Han Qiao 8959a5656a fix(docs): add recommended docker settings for mac and windows (#28159)
* fix(docs): add recommended docker settings for mac and windows

* fix(docs): update analytics section in local dev guide

* Update getting-started.mdx

* chore: update screenshot for both light and dark modes
2024-07-26 10:18:25 +08:00
karloandCharis a86639e56b Added Flutter guides for Realtime (#28192)
* Added Flutter guides for Realtime

* Update apps/docs/content/guides/realtime/realtime-user-presence.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-26 01:41:01 +08:00
SalvatoreLa ba52e2affe Update generating-types.mdx (#28126)
Command "typescript" is deprecated, use "gen types --lang=typescript" instead.
2024-07-24 23:42:01 +00:00
Jayden W 6aea5cb558 docs: Fixed typescript/jest testing repo link (#28124) 2024-07-23 21:32:17 +00:00
Andrea Velásquez aad356a8fc docs: fix env configuration vars for Redwood (#28134)
docs: fix env configuration vars for redwood
2024-07-23 21:28:05 +00:00
Charis 5cd8384bca feat(docs), refactor(docs,studio): add regions list to docs (#28125)
* feat(docs), refactor(docs,studio): add regions list to docs

Adds list of supported AWS regions to docs.

Pulls the region information into `shared-data` package to provide common source of truth for dashboard and docs.

* style: format
2024-07-23 12:45:44 -04: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
ad-angelo d1ac838328 Docs : Missing part of code in Tutorial "Build a User Management App with Flutter" (#28070)
Fix : Add missing Avatar widget and logic to update the avatar_url to the Account page
2024-07-22 16:59:36 +00:00