Commit Graph
14741 Commits
Author SHA1 Message Date
Saxon Fletcher 4ee87e8a0e Merge branch 'master' into feature/database-tests 2025-08-18 10:11:34 +10:00
Jordi Enric b1261751e8 fix tests (#37958) 2025-08-15 20:01:24 +02:00
Alaister YoungandJoshen Lim 915ba4bd30 feat: enable/disable dashboard features (#37921)
* feat: enable/disable dashboard features

* use the set directly

* move enabled features to common

* remove sneaky any

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-16 01:45:43 +08:00
Jordi Enric e187e212c1 FE-1813: Audit Logs Improvements (#37946)
* use logsdatepicker in audit logs, fix error hiding filters

* use logsdatepicker in acc audit logs

* move filters out of err

* add hideWarnings to logs date picker. make "today" button scroll to current month. change icon and add tooltip in timerange reset button so its not confused with a close button

* fix filters below loading state
2025-08-15 19:41:29 +02:00
kemal.earth 2cca945908 fix(www): alignment of edge functions page highlights (#37954)
fix: add footerPosition prop for edge functions highlights

footerPosition prop was missing thus breaking the page layout.
2025-08-15 16:51:42 +01:00
诸岳 e790c92059 fix(design-system): @import rules order should be correct (#37825) 2025-08-15 12:18:29 +00:00
Jordi EnricandJoshen Lim 99dcbfe3dc add etl logs (#37930)
* add etl logs

* fix missing desc

* rename to etl-replication-logs

* rename sidebar

* Add links to ETL logs

* Fix

* Smol

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-15 13:22:40 +02:00
Ivan VasilovandChris Chinchilla a63e91255c Update the docs for domains on google oAuth screens (#37942)
* Update the docs for google domains.

* Apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-15 08:44:18 +00:00
Drake CostaandJoshen Lim afd82d1ee0 [Replace yup] Refactor Sign In/Up forms to use shadcn and replace yup with zod (#37913)
* refactor sign-in forms, remove `yup-password`

* add missing disabled state to email field

* Fix zod validations for min length

* minor fix loading state sign up form, and use motion div for success state

* Remove unnecessary useState for isSubmitting

* Nit

* Nit

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-15 13:12:34 +07:00
Saxon Fletcher 0952d46d40 Fix so can change prod branch (#37937)
* fix so can change prod branch

* update to remove useEffect
2025-08-15 12:26:57 +07:00
Charis 41bfd35aba fix: write queries in ai assistant (#37938)
Some read-only errors from running SQL in the AI Assistant aren't being
properly detected, so the action item to review and confirm running the
SQL isn't showing up. Add test against another variant of read-only
error message that can show up.
2025-08-15 11:15:34 +07:00
Saxon FletcherandJoshen Lim f9a6af7a68 Table consistency (#37924)
* update project tables

* org team table

* Minor fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-15 13:16:55 +10:00
Drake Costa ca4b3bc624 Refactor Storage Create/Edit/Empty/Delete Modals to use Shadcn components (#37517)
* Refactor `StorageMenu` modals to replace deprecated patterns

* add test for `DeleteBucketModal` and update test setup

Note: Because this component uses `useParams`, it's necessary to have the dynamic route segment passed to `next-router-mock`'s `createDynamicRouteParser`. In order not to have to manually list all of these as the application grows, I added a glob utility that uses the `pages/` directory  to automatically generate an array of dynamic route paths in this case.

* add test for `EmptyBucketModal`

* add test for `EditBucketModal` and add `isNonNullable` utility function

* add test for `CreateBucketModal`

* implement requested changes

* implement visual fixes
2025-08-14 21:23:08 +02:00
Guilherme SouzaandChris Chinchilla b6b906cff4 docs: add flutter phone factor reference doc and example (#37828)
* docs: add flutter phone factor reference doc and example

* Update apps/docs/spec/supabase_dart_v2.yml

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update apps/docs/spec/supabase_js_v2.yml

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update apps/docs/spec/supabase_dart_v2.yml

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update apps/docs/spec/supabase_dart_v2.yml

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-14 15:03:01 -03:00
Ignacio Dobronich cfc99d7d4a chore: add BillingManagedBy constant (#37919)
chore/managed-by
2025-08-14 13:32:10 -03:00
Chris Chinchilla 7f50ee9dd2 docs: Improve the steps for NextJS quickstart (#37929)
* Improve the steps for NextJS quickstart

* Update apps/docs/content/guides/getting-started/quickstarts/nextjs.mdx
2025-08-14 15:43:06 +02:00
Jordi Enric 7b640dfab0 reduce stale time for permissions query (#37907) 2025-08-14 14:04:40 +02:00
Joshen Lim abf62572a4 Reinstate captureException in SessionTimeoutModal with lowered quota usage (#37925) 2025-08-14 15:41:28 +07:00
Joshen Lim 7a35ad3081 Bump temp API key expiry to an hour just for realtime inspector (#37896)
* Bump temp API key expiry to an hour just for realtime inspector

* Refresh temp api token whenever starting a refresh listen session in realtime inspector if current token in realtime config is a temp key
2025-08-14 15:24:30 +07:00
Joshen Lim 20f2471819 Chore/setup sentry for www (#37894)
* Set up Sentry for www

* Add Sentry captureEExceptions to API routes in www

* Prettier

* Fix TS

* Address feedback

* Clean

* Remove SENTRY_AUTH_TOKEN from turbo.json
2025-08-14 15:12:58 +07:00
Joshen Lim 1ab728e8e9 Remove captureException in SessionTimeoutModal (#37895) 2025-08-14 14:42:23 +07:00
shusank8 cec5c95381 Update websockets.mdx (#36603)
Comparing lower case
2025-08-14 07:07:36 +00:00
Joshen LimandCharis a3e585b4ae Chore/refactor database publications page (#37901)
* Refactor database publications page

* Use new page layout

* Update apps/studio/components/interfaces/Database/Publications/PublicationsList.tsx

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

* Address feedback

* Add tooltips

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-08-14 13:24:06 +07:00
Ivan Vasilov e194c045c6 Fix: Use the state.editable instead of the semi-global editable variable in Table state (#37918)
Use the state.editable instead of the semi-global editable variable.
2025-08-14 11:01:11 +07:00
Andrew Valleteau c3298d8ca7 docs: add admonition for retrieving branch project id (#37861) 2025-08-13 18:14:15 -03:00
Charis 9551315f6a fix: search sync + sentry errors issues (#37912)
* fix: search sync + sentry errors issues

Fixes two issues:
1. Search sync: The embedded content now includes denormalized examples,
   so the examples codegen needs to be run before embeddings are
   created. Otherwise, the GitHub Action will fail because it cannot
   find the examples to use for content inclusion.
2. Sentry errors on pages that fail to load: Sentry errors were being
   sent for genuine 404s because the check for FileNotFoundErrors was
   wrong. The error that is caught is wrapped in a new Error by
   Result.unwrap(), so it's the child of this error, error.cause, that
   is potentially a FileNotFoundError, not the error itself.

* fix: remove double processing of mdx
2025-08-13 16:50:30 -04:00
Christian Butcher f3013222ff Update LinterPageFooter.tsx (#37890)
Fix missing "after" in reset suggestion
2025-08-13 15:54:07 +00:00
Charis db38e8ca63 docs(postgres changes): add sql method for adding tables (#37877) 2025-08-13 11:37:24 -04:00
Charis e46ab9c1a2 refactor: reading markdown docs files (#37774)
* refactor: reading markdown docs files

Refactor how Markdown docs files are read:
- Reuses the same logic across search index generation & page generation
- Improves the indexed content for search:
  - Stops removing MDX components, which often contain useful
    information like Admonitions
  - Denormalizes Partials and CodeSamples for more complete content

This is a prerequisite step for implementing the "Copy docs as Markdown"
functionality.

Only touches regular guides for now, not federated ones.

* fix: tailwind build error (#37728)

We changed to default to ESM imports a while ago, which means local
builds are now breaking because the Tailwind uses a require. Changed to
CJS for Tailwind config file. (I have no idea how this has been working
on Vercel all this time.)

* style: prettier
2025-08-13 11:37:14 -04:00
Matt Rossman 3635bc1fec Add Matt Rossman to humans.txt (#37906) 2025-08-13 15:36:19 +00:00
CharisandJoshen Lim e8a19faa03 feat: drop file to import data in Table Editor (#37888)
* feat: drop file to import data

In the Table Editor for an empty table, make the entire grid area a
dropzone so that files can be dropped onto the grid area for importing.
Dropping a file opens the SpreadsheetImport side panel with the dropped
file already loaded.

* refactor: drag and drop file import

Refactor logic into hooks and utility functions

* refactor: file drop import

Small changes caught in code review

* Opt to pass file through valtio store instead of event listener

* refactor: telemetry properties + cleaning up hook deps

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-13 11:32:06 -04:00
Jordi Enric c03dcc1ead remove effect for logs redirection (#37898)
* rm effect

* diff approach, rm effect for unified logs

* simplify, only redirect to explorer, keep unifiedlog check

* clean up

* dynamic url in the sidebar based on unified logs feature preview

* fix deep link missing ref
2025-08-13 15:37:16 +02:00
Joshen Lim e75c4b2960 Swap useCheckPermissions with useAsyncCheckProjectPermissions part 3 (#37899)
* Swap useCheckPermissions with useAsyncCheckProjectPermissions part 3

* Fix loading state in edge function secrets
2025-08-13 19:07:35 +07:00
Ignacio Dobronich 61379cbe2a chore: add confirmation modal when enabling SMS MFA (#37879) 2025-08-13 09:06:07 -03:00
Jordi Enric 6c4d3e6c52 use dynamic max values in database reports (#37874)
fetch db max instead of hardcode
2025-08-13 13:40:28 +02:00
TheOtherBrian1andChris Chinchilla b36315e62c Update broadcast.mdx | add security definer to example (#33533)
* Update broadcast.mdx | add security definer to example

* Run prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-08-13 12:56:48 +02:00
Kevin Grüneberg d60b3e3b9e feat: cached egress rollout (#37827) 2025-08-13 17:36:48 +08:00
Thomas 90b2288122 feat(billing): add onboarding page for AWS Marketplace 2025-08-13 11:31:14 +02:00
Pamela Chia 42e2e88fba update fair use policy (#37889) 2025-08-13 17:28:32 +08:00
Joshen Lim 89140e7c08 Chore/support copy row in table editor (#37863)
* Support copy row in table editor

* Add copy action in Table Editor header
2025-08-13 09:51:04 +07:00
Saxon FletcherandJoshen Lim af9310f5b3 ui consistency issues (#37823)
* ui consistency issues

* storage policies

* copy

* Fix storage policies y gap

* Small fixes

* Add deprecated comments

* Use Card component for S3 settings

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-13 10:55:09 +10:00
Douglas J Hunley 5e6362e88b chore(doc): Update humans.txt (#37884)
Add myself, a human, to humans.txt
2025-08-12 20:14:49 +00:00
HEXXT 4ade836032 fixed missing async keyword (#37882) 2025-08-12 19:51:02 +00:00
Kevin Frost 6b4683946e Update sveltekit.mdx to remove VITE_ prefix from env vars. (#37808)
`VITE_` prefix is deprecated and caused errors in my setup, which is node 24.2.0 / vite 7.1.1.  Sample app works fine once I change the vars to just be `PUBLIC_*`

ChatGPT explains: https://chatgpt.com/share/68973c0f-3114-8009-9d5f-6dcdb3f823c3
2025-08-12 18:40:34 +00:00
GaryAustin1 f9e5e25a64 Fix security definer RLS example (#37800)
Seems like at some point surrounding the security definer function private.has_good_role() with a select (like all functions should have for RLS) was changed.   I can't find the PR doing it though.
2025-08-12 14:29:39 -04:00
Jordi Enric 22ca812f56 fix tabs crash (#37875) 2025-08-12 20:24:43 +02:00
Andrew Smith 61237605c1 docs(python): add get_claims method (#37549) 2025-08-12 18:15:15 +00:00
Andrew Smith 3e8152cff6 docs(flutter): update the verifyOtp to mention deprecated types (#36393) 2025-08-12 18:11:12 +00:00
TheOtherBrian1 b540bb2f96 Update upgrading.mdx | added pgjwt to deprecation list (#37846)
Update upgrading.mdx
2025-08-12 18:03:08 +00:00
Copple d0c94df957 chore: update cli reference doc (#37859) 2025-08-12 13:42:49 -04:00