Commit Graph
32112 Commits
Author SHA1 Message Date
Ivan Vasilov 5f5930d4e0 The query name should be generated and used to generate an id. 2025-08-06 13:04:03 +02:00
Ivan Vasilov f4384a5d83 Change the createSqlSnippetSkeletonV2 to generate its own id instead of a param. 2025-08-06 12:58:32 +02:00
Ivan Vasilov cd663a883b Minor fixes. 2025-08-06 12:29:09 +02:00
Ivan Vasilov eabe59d729 Move generateDeterministicUuid into a separate file. 2025-08-05 18:27:21 +02:00
Ivan Vasilov 7ccfdc1bf8 Change generateDeterministicUuid to be browser-compatible. 2025-08-05 18:22:56 +02:00
Ivan Vasilov fcd97979e5 When generating snippet ids, take their folder into the hash. 2025-08-05 18:16:49 +02:00
Ivan Vasilov e7c6b7ea25 Fix the writing of the sql file. Fix tests. 2025-08-04 22:19:10 +02:00
Ivan Vasilov 797674f9b9 Make the Studio work with the local snippets. 2025-08-04 17:10:25 +02:00
Ivan Vasilov d8da362cac Remove the favorite button in self-hosted version. 2025-08-04 16:59:44 +02:00
Ivan Vasilov dcae4d02fc Update the API routes to support local files as snippets. 2025-08-04 16:58:36 +02:00
Ivan Vasilov 993152d0ee Minor fixes not related to the local snippets. 2025-08-04 16:58:06 +02:00
Han Qiao 5e3518ffd6 docs: use the correct command for generating signing key (#37623) 2025-08-01 22:00:52 +08:00
Charis f681599a17 docs: remove deprecated screenshots (#37622) 2025-08-01 09:55:14 -04:00
Joshen Lim 62e0f38ee4 Add more menu button cron (#37618)
* Add more menu button cron

* Shift edit column to last column instead

* Flip the alignment
2025-08-01 19:35:53 +08:00
Joshen Lim e557ec66c8 Chore/fix cron job create (#37617)
* Fix cron job create

* Fix
2025-08-01 10:57:48 +00:00
Saxon FletcherandJoshen Lim efaf4d5183 Chore/new sql (#37579)
* just redirect to new on sql empty

* clean up

* update template and quickstarts link

* Nit clean up

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-01 17:03:34 +08:00
Joshen Lim 58d6b4b912 Invalidate project upgrade eligibility query when disabling database extension (#37589)
* Invalidate project upgrade eligibility query when disabling database extension

* Add link to extension upgrade warning, link to extensions page with filter

* Swap a for Link
2025-08-01 10:53:06 +02:00
Ivan Vasilov eb95e36e50 fix: The mail confirm setting should be negated (#37615)
* The mail confirm setting should be negated.

* Fix the comments.
2025-08-01 10:22:13 +02:00
Joshen Lim 9a8bd0fae4 Chore/convert cron jobs to data grid (#37601)
* Use DataGrid for cron jobs interface instead of cards

* Deprecate CronJobCard and database-cron-jobs-run-query.ts

* Add tooltip for editing unnamed job

* Implement infinite scrolling to cron jobs + server side searching

* Deprecate database-cron-jobs-query, and add a singular database-cron-job-query

* Add hover card for cron job table cell command
2025-08-01 15:20:31 +08:00
Pamela Chia 9bdde50f1f chore: remove Terms of Service banner (#37582) 2025-08-01 13:23:14 +08:00
TheOtherBrian1 a38da5620f Update row-level-security.mdx | correct example (#37361) 2025-07-31 23:19:00 -04:00
Joshen Lim 4f985a2be5 Add trim to zod validation for project name in create project form (#37590) 2025-08-01 11:08:50 +08:00
Nicholas Barrow 768f7819c7 fix: add demo for custom metadata (#37570) 2025-07-31 20:13:27 +00:00
Charis 0c0be801ae chore(docs): add logflare logging (#37310) 2025-07-31 15:10:37 -04:00
Plaetorius afd8874ee3 Fix broken link to Broadcast using the REST API (#37319) 2025-07-31 18:57:57 +00:00
Plaetorius d80e09474a Fix variable name in self-send messages (#37382)
Fix name: FROM "channelC" (never declared) to "myChannel", the name of the channel in the example
2025-07-31 18:55:06 +00:00
Plaetorius 843b9a2e3c Fix plural (#37323) 2025-07-31 17:22:04 +00:00
AnikG 1669a1803b feat: add npx example for windows (#37596) 2025-07-31 15:29:33 +00:00
Charis b3d2dc6fa3 docs(magic links): correct configuration page link (#37564) 2025-07-31 08:53:43 -04:00
Katerina Skroumpelou f6585d18d3 chore: update storage js docs (#37515) 2025-07-31 12:43:34 +00:00
Chris Chinchilla 445a129c77 docs: Update React auth quickstart (#37530)
Update with recent framework changes
2025-07-31 14:00:19 +02:00
Ivan VasilovandClaude 9fda63d9ba fix: Move confirm email setting from email provider to basic auth settings (#37573)
* Move confirm email setting from email provider to basic auth settings

- Remove MAILER_AUTOCONFIRM from email provider form validation
- Add confirm email setting to BasicAuthSettingsForm with proper form validation
- Maintain existing functionality while improving UX by grouping related settings

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update BasicAuthSettingsForm.tsx

* Fix the default value of email confirm.

* Remove unnecessary comment.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-31 09:50:09 +02:00
Joshen Lim 333e11f5f0 Fix wrapper create for those without foreign schema support (#37581) 2025-07-31 15:45:02 +08:00
Joshen LimandIvan Vasilov 2fad79f825 Fix cron panel if unable to parse command (#37562)
* Fix cron panel if unable to parse command

* Nit

* Address feedback

* Add a testcase for parsing cronjob when it ends with ;.

* Revert useEffect

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-07-31 15:17:42 +08:00
David LorenzandJoshen Lim b2c28e8fae Update [name].ts to forward project from [ref] to analytics endpoint (#37363)
* Update [name].ts to forward project from [ref] to analytics endpoint

Fixes https://github.com/supabase/supabase/issues/37218

* Removed unused `project_tier`

* Add fixes for unified logs for self hosted

* Remove console log

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-31 13:05:57 +08:00
Wen Bo Xie cb8e6008fa fix: add organization_slug to OAuth app (#37546) 2025-07-31 02:00:08 +00:00
LennyandJoshen Lim fbef43fbbc fix: use storage endpoint in S3 settings (#37469)
* fix: use storage endpoint in S3 settings

* Update retrieval of endpoint for analytics bucket related components

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-30 10:05:14 -04:00
e7aef7fc9c fix(studio): empty team drop downs (#37537)
* fix: empty team drop downs

This fixes dropdowns returning empty on team invites when a user is signed in as a developer. For now it adds conditionals to show the option is not available for that role, but perhaps we can handle a little more gracefully.

* fix: change from inline to tooltips on dropdowns

This updates the members table dropdown to use the tooltip as opposed to inline message for disabled items.

* Tiny clean up

* Biiiit more nit

---------

Co-authored-by: kemal <kemaldotearth@kemaldotearth.local>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-30 11:43:17 +01:00
Ivan VasilovandJoshen Lim b3c6992e56 feat: Make the protected schemas dynamic, namespace schemas are now protected (#37290)
* Add hooks for async protected schemas.

* Migrate the ProtectedSchemaWarning to support the new implementation.

* sq

* Migrate all uses of protected schemas to the new approach.

* Delete extra file.

* Refactor the import foreign schema dialog to forbid protected and exposed schemas.

* Add the type to the protected schema.

* Revert ImportForeignSchemaDialog, it'll be addressed in another PR.

* Update apps/studio/hooks/useProtectedSchemas.ts

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

* Fix a bad commit.

* Minor fixes.

* Fix the FDW delete mutation to handle names with numbers.

* Simplify the logic to skip a fetch.

* Minor fixes.

* Make the useIcebergFdwSchemasQuery work for all iceberg FDWs.

* Fix the tab schemas to always show in the Table Editor.

* Apply suggestion from @joshenlim

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

* Fix a minor typo.

* Refactor ProtectedSchemaWarning to use Admonition, and standardise input field for target schema iceberg

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-30 11:38:50 +02:00
Monica Khoury 0a985a5643 Docs: add link to supabase db dump in PITR guide (#37541) 2025-07-29 16:54:42 +01:00
Monica Khoury 87fceafaeb Docs: clarifying PITR behavior when disabled (#37539) 2025-07-29 17:32:14 +02:00
Jordi Enric c386daf3a0 add max cpu usage chart (#37532)
add max cpu usage
2025-07-29 16:20:05 +02:00
Jordi Enric 4534e0b293 fix filter position (#37535)
fix
2025-07-29 16:19:50 +02:00
Joshen Lim 6d0011449b Fix Authorization layout alignment (#37538) 2025-07-29 22:14:45 +08:00
Joshen Lim 1cccc8e106 Adjust layout of UserImpersonationSelector (#37533)
* Adjust layout of UserImpersonationSelector

* Small patch
2025-07-29 20:55:49 +08:00
Andrew SmithandIvan Vasilov 51d22de62e docs(ui-library): fix oauth example code to use exchangeCodeForSession (#36311)
* docs(ui-library): fix oauth example code to use exchangeCodeForSession

* Build the registry item for social auth tanstack.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-07-29 12:52:22 +02:00
Ivan VasilovandJoshen Lim 375866e700 Add a warning if no policies on realtime.messages when turning on private mode (#37512)
* Add a warning if no policies on realtime.messages when turning on private mode.

* Minor copy fixes.

* Update warning copy

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-29 12:23:38 +02:00
Joshen LimandIvan Vasilov f7009952f9 Fix tabs valtio store initial render (#37505)
* Fix tabs valtio store initial render

* Address feedback

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-07-29 18:16:11 +08:00
Ivan VasilovandClaude 6b5abce83b feat: Display OAuth client secret last used time (#37510)
Add display of last_used_at timestamp for OAuth client secrets in Studio.
Shows relative time (e.g., "Last used 2 hours ago") when available,
or "Never used" for unused secrets.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-29 17:53:01 +08:00
Joshen Lim 1d85aa632b Consolidate oauth apps perms descriptions, and make project perms clearer (#37525) 2025-07-29 17:27:07 +08:00