Commit Graph
28841 Commits
Author SHA1 Message Date
Jordi EnricandJoshen Lim 23f39ff919 add link to datadogdocs (#28599)
* add link to datadogdocs

* Minor fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-15 14:51:10 +08: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
Ivan VasilovandJoshen Lim 6a29cd2bec feat: Choose which schemas to share with OpenAI (#28594)
* Change the getEntityDefinitions query to accept list of schemas instead of being hardcoded to public schema.

* Add a schema combo box for selecting schemas.

* Use the combobox in the SQL editor to select which schemas should be sent to the AI when asking a question.

* Add configurable schemas to AiPolicyEditor.

* Remove unneeded hook.

* Fix the AI settings modal.

* Add keys to the entity definitions query.

* Fix the AI settings modal which is used by cmdk flow.

* Minor fixes.

* Address feedback

* Some fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-15 14:38:19 +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
Joshen Lim 4a187616ac Remove flag for plp, only check for subscription plan (#28635)
* Remove flag for plp, only check for subscription plan

* Minor fix
2024-08-15 12:32:00 +08:00
Bo Lu 0f9624dfca chore: upgrade Snowflake and Paddle wrapper fdw version (#28653) 2024-08-15 11:55:15 +10: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
Charis 343fde2773 fix: repeated responses in docs search (#28607)
Fixes a bug in docs search from duplicated code (I moved the
useEffect into a new component and forgot to delete the old one,
so it runs the on-entry query submit twice, resulting in a double
conversation in production.)

In dev, there is actually a _quadruple_ -_-" converstation, due to
useEffect running twice as designed, with no cleanup. Added a
cleanup function to reset after the first useEffect, so it only
runs once on dev as well.

This only happens when there is an existing query to send when you
hit the AI page, so to reproduce the current bug, type in the
command input _before_ selecting "Supabase AI". If you select
"Supabase AI" before entering your prompt, it won't occur, which is
how I guess this bug slipped past manual testing.
2024-08-14 12:15:08 -04:00
Div Arora 629750ec5e chore: add docs on common logical restoration failures (#28615) 2024-08-14 11:18:01 -04:00
Charis ec94638e9f feat: snippet commands (#28573)
Add commands to studio cmd k for searching and running snippets (doesn't actually run them directly cause that would take a lot of duplicated logic, just links to sql editor with them loaded)
2024-08-14 10:32:04 -04:00
Charis 182440c9ae chore: remove www redirects from codeownership (#28634)
As discussed on Slack, this unblocks docs PRs, which can be approved by
anyone on the Supabase team.
2024-08-14 10:11:08 -04:00
Copple 97f59a9b87 chore: update cli reference doc (#28627) 2024-08-14 09:37:32 -04:00
Kang Ming 5e8cdc7899 fix: remove email hook eg (#28632) 2024-08-14 09:18:56 -04:00
e5819415ef blog: lw12 day 3 (#28628)
* d3 init

* blog: add auth day blog post lw 12

* d3

* new post

* fix callouts

* small changes

* update title

* update Promo toast

* fix last build item

* rss

* add video in blog post

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2024-08-14 15:03:34 +02: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
Joshen Lim 865de328f4 Redirect launchweek to launch-week (#28630) 2024-08-14 14:45:42 +02:00
Jordi Enric 7832296332 fix sort bug in fk select (#28629)
fix sort bug
2024-08-14 13:24:13 +02: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
Copple e2e2fac40b chore: update self-hosted image versions (#28626) 2024-08-14 09:55:17 +00:00
Ivan VasilovandJoshen Lim b73317fc67 feat: Pricing for TPA (#28454)
* Don't set fixed height on the generateSecret button in hooks sheet.

* Block two of the TPA providers on free plan orgs.

* Fix some copy. Add more explanation about the pricing.

* Update copy

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-14 11:01:58 +02:00
Tyler d4eb4ed341 fix: Minor typo fix on the Snaplet blog post (#28624)
fix: minor typo
2024-08-14 17:25:10 +09: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
Joshen LimandAlaister Young 1fdba0ec58 Chore/composite foreign key fixes (#28585)
* Fix inability to update composite foreign key values in RowEditor

* Fix unable to view referencing record in table editor if FK column is also PK

* Update apps/studio/state/table-editor.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-08-14 16:19:53 +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
CoppleandFrancesco Sansalvadore 293b9531be Whale/snaplet (#28612)
* cats

* peter

* vale

* Adds bullets

* reordering

* re-reordering

* fix quote

* build stage item

* Adds a message for peter

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-08-14 09:40:21 +02: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
Div Arora 8ebcbdd158 chore: minor typo (#28616) 2024-08-14 11:08:08 +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
Terry Sutton d1b5c82ea8 Fix Dashboard button (#28610) 2024-08-13 21:25:58 +03:00
Shubh Porwal ea306b4e7f fix(docs): migration typo (#28588) 2024-08-13 17:51:39 +00:00
Wen Bo Xie 8e654445b0 fix: realtime authz blog post (#28603) 2024-08-13 15:04:21 +00:00
Charis 097e268130 clean: remove old command menu code (#28491) 2024-08-13 10:23:11 -04:00
Inian 1b4682ed4f Update CODEOWNERS (#28602) 2024-08-13 13:58:39 +00:00
Francesco Sansalvadore e657288e59 fix svgs (#28601) 2024-08-13 15:48:12 +02:00
Joshen Lim 8f35d30624 Refactor icons from ui to lucide part 1 (#28581)
* Refactor icons from ui to lucide

* Fix
2024-08-13 21:33:20 +08: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
Terry Sutton e9260ef6d8 Remove menu alert (#28598) 2024-08-13 10:47:38 -02:30
Inian 61359ed68d add custom roles doc to the access security section (#28595)
of the database docs
2024-08-13 15:28:31 +03:00
Tyler 76e208371c example: Update Flutter Figma clone app (#28593)
Add authorizations to Flutter figma clone
2024-08-13 21:14:16 +09:00
Joshen Lim 5869005d85 Fix limit in sql editor (#28582) 2024-08-13 14:55:01 +08:00
Joshen Lim 058698e6e8 Chore/auth policies page fixes (#28579)
* Use ButtonTooltip component for create policy CTAs

* Use ButtonTooltip component in PolicyRow

* Remove use of old tooltip component in PolicyRow

* Update Auth policies to allow read only to access edit policy UI but prevent saving from there

* Fix
2024-08-13 14:04:01 +08:00
Joshen Lim 60447a2f75 Style fixes for invite member button modal (#28548)
* Style fixes for invite member button modal

* Fix

* Use filter prop in Command component

* Fix

* Minor
2024-08-13 13:54:43 +08:00
Joshen Lim 534bcb9bd9 Estimate the estimated count in table editor (#28549) 2024-08-13 12:00:32 +08:00
Copple 9269a10371 chore: update cli reference doc (#28577) 2024-08-13 11:49:25 +08:00