Commit Graph
5263 Commits
Author SHA1 Message Date
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
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
github-actions[bot]andphamhieu 2519d3cc33 feat: update mgmt api docs (#28541)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-08-12 18:17:18 +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
TylerandCharis 2fda5c8392 docs: Add error codes reference docs for Flutter (#28567)
* display error codes for Flutter library

* Create error code file for Flutter error codes reference docs

* Update apps/docs/docs/ref/dart/auth-error-codes.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-08-12 17:40:18 +00:00
Joel LeeandStojan Dimitrovski 339050bc32 feat: update JavaScript client library spec for MFA (Phone) (#28376)
* feat: update client lib docs

* fix: update js v2 yml

* fix: update spec

* fix: remove superfluous sections

* fix: update responses and field names

* fix: update challenge response with type field

* fix: update apps/docs/spec/supabase_js_v2.yml

* fix: Update apps/docs/spec/supabase_js_v2.yml spelling

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

---------

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2024-08-12 19:35:58 +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
Bo Lu 2af2a132e6 docs: change wrappers docs dir for new docs pages (#28472) 2024-08-09 00:43:05 +10:00
Francesco Sansalvadore 7847e0ba49 Docs sidenav depth (#28414)
* decrease sidenav z-index on desktop

* reset sidenav z-index on desktop

* fix docs sidenav z-index
2024-08-08 08:49:57 +02: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
Tyler eb9f0240cb docs: Remove error codes section from Flutter, Swift, and Python reference docs. (#28334)
* exclude dart, python, and swift from error codes menu

* Update the error code doc to be client lib agnostic

* run formatter

* Add a filter to filter out section items

* Update apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx

* docs: move error codes table in a separate component

* Add auth error codes section for kotlin
2024-08-06 11:41:10 +09:00
github-actions[bot]andphamhieu 14f22a48a0 feat: update mgmt api docs (#28378)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-08-05 20:12:01 +00: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 76d1d1e870 fix(docs): hydration error on js references (#28345)
Our syntax highlighter doesn't recognize HTML (tried to install it but it's not
on the lsit of supported languages) and this somehow causes the server and
client to make different highlighting decisions, with the server attempting to
highlight the code block and the client not.

Removing the html language specifier removes the hydration error (and since the
client never properly highlighted it anyway, we don't lose much in terms of
syntax highlighting.)
2024-08-05 12:26:35 +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
Charis ada71a1958 fix(docs): search button on not-found page (#28326)
I missed a place when swapping the old command menu out for the new one.
2024-08-01 13:57:52 -04: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 e3e8cd943c feat: replace docs command menu with v2 (#28048)
Replace docs command menu with Command Menu V2 from ui-patterns/CommandMenu.

This introduces the prepackaged folder for the shared Command Menu, which contains commands that are shared across the sites (for example, docs search, theme switcher).

Commands that are only applicable to a single site are now defined within that site's own app folder (put them wherever makes sense for your app folder organization, as long as you use the hooks within a global CommandProvider it will work...)

Tested navigating around, using search and AI on laptop and mobile.
2024-07-31 14:20:30 -04:00
Jonathan Summers-MuirandFrancesco Sansalvadore 1f1f8a5fa4 Feat/whale init (#28243)
* duplicate page

* whale init

* table background

* prepare

* sync undocumented remote schema from master

* revert remote schema sync

* add lw12 tickets migration file

* ticket init

* set up lw12 ticket layout

* finish ticket layout and customization form

* lw12 ticket og

* ticket styling

* code highlight border

* launch week migrations

* local dev progress

* keep local gh config

* comment section

* comment section

* comment out username.tsx

* remove lw/ticekts temp

* update copy

* fix migration view

* redirect to try

* use misc

* lw12 og

* share

* share correct

* env var

* username page

* update example env

* push new db schema

* trigger deploy

* update ticket og

* ticket themes

* bypass browser

* change env var name

* fix

* fix

* process env

* create client server side

* lw announcements

* promoToast

* animated bg

* update ticket og bg

* minor details

* secret ticket

* social share text

* social share textgst

* flow text

* update og

* update og handler

* Update index.ts

* use functions.invoke and use generic supabase URL

* Update index.ts

* Update handler.tsx

* Update package-lock.json

* Update handler.tsx

* add next api route

* moved to vercel edge function

* set revalidate

* Update route.tsx

* Delete lw-ticket-og.tsx

* Update route.tsx

* Update [username].tsx

* Update [username].tsx

* add more fetches

* Update turbo.json

* ticket themes updated

* copy and layout updated

* Update index.tsx

* Update Ticket.tsx

* Update TicketingFlow.tsx

* update countdown

* updated bg

* small updates

* moat

* Update [username].tsx

* Update 20240723155310_add_lw12_ticketing_schema.sql

* optimistic ticket stuff og generation

* Update index.tsx

* updated layout

* update themes in og

* Update constants.ts

* attr renamed

* Update TicketingFlow.tsx

* Update TicketActions.tsx

* grammar

* moar updates

* Update TicketActions.tsx

* Update TicketActions2.tsx

* Update TicketActions.tsx

* Update Hero.tsx

* Update TicketingFlow.tsx

* remove console logs

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-08-01 01:59:01 +08: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
github-actions[bot]andphamhieu a12d6b08d2 feat: update mgmt api docs (#28242)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-31 01:32:20 +00: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
Jonathan Summers-MuirandFrancesco Sansalvadore 6d760a1a99 Feat/deep dark (#27026)
* chore: move to deeper dark

* tidy up boxes on www

* update deep-dark colors

* fix homepage product cards

* toned down pricing page a little

* update

* lots of color changes

* Update grid.scss

* Update EntityListItem.tsx

* Update EntityListItem.tsx

* fix partners page icon

* fix partners page colors

* update theme

* Update global.css

* combined dark theme so classic-dark does not break on other sites

* Update package-lock.json

* updated color tokens pipeline to support combined dark theme

* smol updates

* Update FeaturedThumb.tsx

* Update BlogFilters.tsx

* Update BlogListItem.tsx

* Update BlogListItem.tsx

* Update UserSettingsDropdown.tsx

* Update NavigationBar.tsx

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-07-30 21:34:28 +08:00
jenny kibiriandJenny kibiri b4adc8d6ba chore: add jenniekibiri to humans.txt (#28187)
Co-authored-by: Jenny kibiri <jennykibiri@Jennys-MacBook-Pro.local>
2024-07-30 12:00:14 +02:00
Copple a389866b5d chore: update cli reference doc (#28245)
* chore: update cli reference doc

* chore: update cli reference doc
2024-07-30 07:03:59 +00:00
Guilherme Souza f9751c2e13 chore: official supabase-py (#28209) 2024-07-29 08:00:48 -03:00
Aleksi ImmonenandAleksi Immonen d097cb365d adding Aleksi Immonen to humans.txt (#28247)
Co-authored-by: Aleksi Immonen <aleksiimmonen@Aleksis-MacBook-Pro.local>
2024-07-29 10:39:48 +00: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
Charis 837e314088 feat(docs): add visual contributing guide (#28214)
Add a contributing guide to docs, which links to resources for contributors
and includes examples of usable components when writing docs content.
2024-07-26 15:54:20 -04:00