Commit Graph

31374 Commits

Author SHA1 Message Date
Charis
ac04e0ddfc test(content api): add prod smoke tests for searchDocs (#35528) 2025-05-20 11:43:14 -04:00
Alaister Young
25903cbe4d fix: edge function auto refetching (#35769) 2025-05-20 19:18:06 +08:00
Terry Sutton
63139b9dd0 Pass params to signup page (#35764)
* Pass params to signup page

* Cleanup

* simplify

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-05-20 08:41:29 -02:30
Jordi Enric
cb79c2a28c fix logs datepickers state not refreshing on page load (#35755) 2025-05-20 12:37:32 +02:00
Prashant Sridharan
d2ccbd1f10 Created a new blog post about the data API (#35762)
* Created a new blog post about the data API

* ci: Autofix updates from GitHub workflow

* fix: add author

---------

Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2025-05-20 09:25:15 +01:00
Julien Goux
b7057fa9d8 fix: move triggers requests to query route (#35667) 2025-05-20 15:41:43 +08:00
Copple
a57e30f863 chore: update self-hosted image versions (#35489)
* chore: update image versions for docker/docker-compose.yml

* chore: update image versions for docker/docker-compose.yml

* Update docker-compose.yml

* Update docker-compose.yml

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2025-05-20 13:57:15 +08:00
Copple
5bc5af2b47 chore: update cli reference doc (#35765) 2025-05-20 11:55:16 +08:00
Han Qiao
b09440bd47 fix: move table create update delete to query route (#35662)
* fix: move table create update delete to query route

* chore: implement query to fetch a single table

* fix: retrieve table after update

* chore: assign type to update table payload

* chore: use updated table columns for edit

* chore: make executeSql castable with generic (#35685)

* Chore/refactor derivate more types from queries (#35687)

* chore: make executeSql castable with generic

* chore: derivate types from performed queries

- It allows to decouple more the frontend logic and the pg-meta/sql-query logic allowing to reduce the number of cast
and get closer types between what we do fetch and what we expect in our components

* fix: remove existing check

* chore: handle null comment and check

* fix: format check name as identifier

---------

Co-authored-by: avallete <andrew.valleteau@supabase.io>
Co-authored-by: Andrew Valleteau <avallete@users.noreply.github.com>
2025-05-20 10:34:59 +08:00
Tyler
87ce4bb886 docs: Make the broadcast from database functions security definer (#35760)
Make the broadcast from database functions security definer
2025-05-20 00:46:00 +09:00
Joshen Lim
bae178ace8 Fix Table Editor non-existing table state (#35710)
* Fix tabs non existent table stuck state

* Fix

* Fix

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2025-05-19 14:25:40 +00:00
Kevin Grüneberg
a55ad3a434 fix: allow PITR removal with active read replicas (#35698)
Can be merged after https://github.com/supabase/infrastructure/pull/23073
2025-05-19 16:19:02 +08:00
Joshen Lim
3487831a48 Fix unnecessary GET content request when writing a new SQL query (#35709)
* Fix unnecessary GET content request when writing a new SQL query

* Gracefully handle landing on a snippet id that doesnt exist
2025-05-18 22:26:06 +08:00
Joshen Lim
009005c759 Minor fix database trigger header (#35666) 2025-05-18 15:28:33 +08:00
Pierre Vieira
df9f581eee Fix: update extension name for Google login in auth-google.mdx (#35704) 2025-05-16 19:56:42 +00:00
Stojan Dimitrovski
554290b44c docs: mention processLock when using react native (#35076) 2025-05-16 20:00:30 +02:00
Terry Sutton
0f91196154 Add a notice for the planned middleware outage (#35723)
* Add a notice for the planned middleware outage

* Msg update
2025-05-16 17:55:04 +00:00
Jordi Enric
950b23e1c8 chore: exclude common fetchers (#35713)
* exclude common fetchers

* comment
2025-05-16 10:29:59 +00:00
Ivan Vasilov
b94ca1d53b fix: Minor fixes for the Cron integration (#35674)
* Fix the CronJob type because its name is optional.

* The Job previous runs page should be identified by job id, not job name because it can be undefined. Fix the tabs to show the job name by using additional query param.

* Add a tooltip explaining that cron jobs without names can't be edited.

* The parser for cron jobs should handle URLS with query params or hashes.

* Remove the .only description from the tests.

* Show Unknown for cron jobs which have "" as name.

* Fix a crash when a cron job has "1 second" (singular) as schedule.

* Calculate the next run properly when the schedule is "1 second".

* Show a simplified confirm modal when deleting a cron job without a name.
2025-05-16 11:49:29 +02:00
Joshen Lim
0a53b2a2e6 Upgrade ConfigCat to V2 for Dashboard (#35712)
* Upgrade ConfigCat to V2

* Update pnpm lock
2025-05-16 17:40:40 +08:00
Joshen Lim
5c99584001 Chore/project wildcard route sort last visited org (#35680)
* Project wildcard route, sort last visited org first

* Add search and filter status

* Smol fix
2025-05-16 15:42:02 +08:00
angelico
0880e0e1d0 chore: allow pausing for AWS_NEW projects regardless of pricing tier (#35493)
* chore: gitignore .pnpm-store/*

* chore: allow pausing for aws new projects

* fix: incorrect logic

* chore: clean up logic

* Small refactor

* chore: update conditions for useIsOrioleDbInAwsRevamped

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-05-16 14:16:53 +08:00
Pierre Vieira
8e43416557 Update auth-google.mdx to reflect the new Auth object (#35681) 2025-05-15 15:41:41 +00:00
Ofir Levitan
2f475ae9f9 remove dart invoke example that's not relevant (#35672)
removed example
2025-05-15 15:09:04 +00:00
Terry Sutton
cbafd4d48f Split index advisor hook into installed and enabled instead of just a… (#35589)
* Split index advisor hook into installed and enabled instead of just available

* TS error

* Some nits

* Revert

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-05-15 09:42:03 -02:30
Andrew Valleteau
45a239f1d5 fix: change the message for transient errors (#35691) 2025-05-15 09:03:59 -02:30
Etienne Stalmans
914876070d fix: edgeFunctions test should not follow redirects (#35690)
Return the edge function response without following any redirects.
2025-05-15 12:50:16 +02:00
Joshen Lim
2e88716266 Chore/add unit tests to lib 150525 (#35689)
* Add more unit tests to lib

* Add tests for eszip-parser

* Add tests for integration-utils

* Update role-impersonation test

* lint
2025-05-15 18:24:57 +08:00
Jordi Enric
9e72050658 Add regex guard for edge functions test endpoint (#35688)
* Add regex guard for edge functions test endpoint

* Remove conosle log

* add tests

* empty

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-05-15 08:57:06 +00:00
Han Qiao
dc2f1270db fix: move column delete and update to query route (#35497)
* fix: move column create request to query route

* chore: replace table id with fully qualified name

* chore: consolidate default column value tests

* chore: consolidate array column tests

* chore: test setting default value to null

* fix: move column delete and update to query route

* chore: remove unused code
2025-05-15 11:42:29 +08:00
Alaister Young
22db2c323e chore: refactor tabs store (#35551)
* chore: refactor tabs store

* remove tabs from local storage when disabling preview
2025-05-15 11:42:18 +08:00
Charis
aa9070c908 fix(project switcher page): stuck in loading state (#35675)
# Before

On project switcher pages (those with underscore URLs), the project list
is forever stuck in the loading state because it wants to filter by
selected organization, but there is no selected organization.

# After

Not stuck in loading state. Shows all projects sorted by organization.
2025-05-14 21:22:24 +02:00
Charis
e4d76be290 chore(docs): allow partners fetch to be revalidated by tag (#35676)
## Before

Partners fetch is showing stale data from a few months ago

## After

Partners fetch can be revalidated by tag. The revalidation will be
triggered by a DB function when the partners table is changed.
2025-05-14 14:13:11 -04:00
Alaister Young
6c83f97478 fix: local api route fixes (#35642)
* fix: local api route fixes

* fix build

* fix tests

* address feedback

* remove unused debug
2025-05-14 15:26:50 +00:00
Joshen Lim
bc4ca2e275 Remove unnecessary includeSystemSchemas, stay consistent with hosted (#35670)
* Remove unnecessary includeSystemSchemas, stay consistent with hosted

* Fix space

* Add error hanlding for function_name in trigger sheet

* Refactor
2025-05-14 22:35:23 +08:00
Gajendra Singh Rathore
29bc60602a Update auth-apple.mdx (#35657)
Config name correction based on "AppleLoginConfig"
2025-05-14 12:52:42 +00:00
Clarence Bakosi
1b6e18f89f docs: fixed typo in inner side menu (#35664) 2025-05-14 12:47:54 +00:00
Clarence Bakosi
6ac4ff49c7 docs: fixed typo in button mdx component (#35260) 2025-05-14 12:36:21 +00:00
Monica Khoury
afbc8bb3c2 fix: clarify restore project disk sizing behavior (#35607)
* fix: clarify restore project disk sizing behavior

* add disk can only be expanded
2025-05-14 15:30:50 +03:00
Charis
01a1f86d7d fix(docs feedback): route security feedback to security team (#35658)
## Before

Feedback on security pages is being routed to general docs feedback.

## After

Feedback on security pages is routed to security team.
2025-05-14 08:15:52 -04:00
Copple
19099541e5 blog: small improvements to Event Triggers (#35668) 2025-05-14 11:05:40 +00:00
Terry Sutton
f1e85051e5 Always pass the prefix (#35652)
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-05-14 18:13:33 +08:00
Joshen Lim
227bb54853 Improve auth policies RLS warnings granularity (#35579) 2025-05-14 18:02:07 +08:00
Joshen Lim
9139418ef0 Chore/cleanup feature flags 130524 (#35648)
* Clean up reportsV2 feature flag

* Clean up edgeFunctionCreate feature flag

* Clean up creditTopUp feature flag

* Clean up allowOrioleDb feature flag
2025-05-14 16:56:27 +08:00
Joshen Lim
24fe0ab2ee Tiny width fix (#35663)
* Tiny width fix

* Tiny fixes
2025-05-14 16:18:18 +08:00
Han Qiao
80791c01b5 fix: move column create request to query route (#35532)
* fix: move column create request to query route

* chore: replace table id with fully qualified name

* chore: consolidate default column value tests

* chore: consolidate array column tests

* chore: test setting default value to null

* chore: remove unused code

---------

Co-authored-by: Andrew Valleteau <avallete@users.noreply.github.com>
2025-05-14 13:23:31 +08:00
Han Qiao
5601bb3e9c fix: move publication create and update to query route (#35633)
* fix: move publication create and update to query route

* fix: update mutation should use query route
2025-05-14 12:54:58 +08:00
hallidayo
9e5c2eba87 feat: cmd+k missing auth sections (#35588)
missing auth cmdk routes

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-05-13 11:56:10 -02:30
Clarence
3c80f2edbd docs: fixed typo in inner side menu (#35634) 2025-05-13 14:13:06 +00:00
Andrew Smith
6806ff5755 fix(docs): update callback url to use token_hash instead of token (#35643) 2025-05-13 14:07:49 +00:00