Commit Graph
3910 Commits
Author SHA1 Message Date
Alaister Young 7e360731a3 fix: api types + remove old telemetry (#30096)
* fix: api types + remove old telemetry

* SendEventPH -> SendEvent

* address feedback
2024-10-25 20:47:31 +08:00
Jordi EnricandIvan Vasilov b6647d445c store selected logs to url (#29802)
* add selected logs to url

* Add mocks for nuqs package.

* fix layout issues n remove magic numbers for height

* fix chart height issue

* fix bug where logs not in first page wouldnt load correctly

* fix spacing between charts and header

* fix postgtres_logs issues, improve size in log detail

* fix borders

* fix default renderer

* fix detail width

* rm maxheight references

* fix tests

* fix typeerrs

* fix stories typerr

* improve colelctions empty state

* move state UP for logs and warehouse tables

* cleanup

* rm params

* rm params

* rm params

* fix log explorer selection

* fix tests types

* cleanup divs

* fix selected log delay

* use isEq for comparison in rows

* fix selection stuck open

* fix btnlink combo

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-10-25 12:40:14 +02:00
Joshen Lim b649eeb138 Fix foreign key mgt table editor open in new tab (#30095)
* Fix foreign key mgt table editor open in new tab

* Fix
2024-10-25 18:08:05 +08:00
Joshen Lim cb2c1381f1 Tiny bumps to cron (#30089) 2024-10-25 15:30:41 +08:00
Joshen Lim d1d029747f Ensure commands only show up if assistant is enabled (#30088) 2024-10-25 11:26:50 +08:00
Joshen Lim 0070265e6d Chore/assistant tweaks (#30074)
* Add cmd i to close the assistant

* Update command in side nav

* Add kill switch for sending assistant prompts

* Add basic telemetry around quick sql editor assistant

* Fix
2024-10-25 09:57:09 +08:00
Joshen Lim fa4ce4a949 Update disk size reduction validation (#30070)
* Update disk size reduction validation

* Fix

* Add docs

* Small fix
2024-10-25 09:36:27 +08:00
Terry SuttonandCharis Lam bb0306061d Chore/update to next 15 (#30075)
* Update Next.js docs for v15

* More awaiting

* remove async for pages router

* fix for dashboard connection guide

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-10-24 12:56:20 -02:30
Joshen Lim 3a3360bbd0 Fix all usage of button tooltip (#30076)
* Fix all usage of button tooltip

* PRETTY
2024-10-24 13:32:47 +00:00
Alaister YoungandJoshen Lim 5781937739 chore: aggressive prefetching (#29987)
* chore: aggressive prefetching

* use abort signals in prefetchers

* move encrypted columns to react-query

* prefetching for filter and sort applied

* prefetch remaining entity types

* prefetch tables in more places

* prefetch editor page on project panel

* add feature flag

* fix typescript

* nit

* Nit

* fix imports

* remove views check on encrypted schemas

* use fetchQuery instead of prefetchQuery

* fix useEncryptedColumnsQuery ts error

* filter by schema on encrypted columns

* don't use pg_get_tabledef for foreign tables

* Remove unnecesary import

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-24 20:59:35 +08:00
Jordi Enric 63919938be fix log drain permissions (#30071) 2024-10-24 11:28:06 +02:00
divit e1c8713221 fix: remove incorrect usage of restoring state for restarts (#29883) 2024-10-24 09:43:47 +05:30
Joshen Lim ceee53a8d1 Support opening tables in table editor via schema visualizer (#30052)
* Support opening tables in table editor via schema visualizer

* Shift wrappers in database menu

* Dont open new tab
2024-10-24 11:18:43 +08:00
Joshen Lim d8c1d1a2db Chore/minor fix scratch pad (#30055)
* Fix padding

* Only activate scratch pad if feature preview is enabled
2024-10-24 11:01:29 +08:00
Alaister Young b5a515aca6 fix: avatar url startsWith error (#30053) 2024-10-23 21:26:09 +08:00
Joshen Lim 361d429c9f Shift all uses of project-settings-query to project-settings-v2-query and deprecate project-settings-query (#30031)
* Add perms check in projects API query

* Start deprecating use of projects-api-query, move to projects-settings-v2-query

* PRETTY

* Shift all uses of project api query to project settings v2 query, and deprecate project api query

* Shift all uses of project-settings-query to project-settings-v2-query and deprecate project-settings-query

* Fix
2024-10-23 21:09:34 +08:00
Joshen LimandAlaister Young e6c249d9b5 Shift all uses of project api query to project settings v2 query, and deprecate project api query (#30029)
* Add perms check in projects API query

* Start deprecating use of projects-api-query, move to projects-settings-v2-query

* PRETTY

* Shift all uses of project api query to project settings v2 query, and deprecate project api query

* Fix

* Fix

* Small unrelated styling fix on join page

* Fix

* Update apps/studio/components/interfaces/Auth/Users/UserOverview.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-10-23 20:02:20 +08:00
Jordi Enric 18db40f3ff add loki log drain form (#29848)
* add loki log drain form

* update form to use headers

* add cursed icons

* regen api types

* add ff

* update api client & fix icons

* update api types
2024-10-23 13:50:33 +02:00
Joshen Lim f521109ce2 Chore/database functions v2 (#29969)
* Init AiAssistantPanel

* Temp

* Temp

* iterating on assistant ux

* More spiking

* Tweaking...

* Moar tweaking..

* Even more tweaking

* Tweek

* More tweaks

* Final tweaking...

* TWEAK

* Spelling

* Fix

* Assistant error handling and small bug fix in context for message

* Add feature flag

* Fix

* Address all feedback

* Minor
2024-10-23 16:43:38 +08:00
Joshen Lim cb5ae761f3 Chore/add perms check in projects api query (#30025)
* Add perms check in projects API query

* Start deprecating use of projects-api-query, move to projects-settings-v2-query

* PRETTY

* Address feedback

* Address feedback
2024-10-23 16:36:09 +08:00
Joshen Lim c9458d93cf Chore/fix broken links wrappers (#30046)
* Fix broken links wrappers

* Refactor
2024-10-23 15:42:06 +08:00
Alaister YoungandJoshen Lim 4d185109ab fix: allow developer role to update buckets (#30024)
* fix: allow developer role to update buckets

* Fix create bucket perms

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-23 11:17:18 +08:00
Kang Ming 09757fcac4 fix: allow sms rate limit update even if autoconfirm is enabled (#30039) 2024-10-22 18:33:26 +00:00
Terry Sutton b2cd52aac8 Chore/disk size helper (#29952)
* Add disk size note

* Capitalize

* Include db size
2024-10-22 19:18:55 +03:00
Terry Sutton ad7aa89e69 Fix wrappers link (#30032)
* Fix wrappers link

* Update links
2024-10-22 11:48:43 -02:30
Joshen Lim d47048dcd6 Update auth hooks to allow selection of fns that return void (#30022)
* Update auth hooks to allow selection of fns that return void

* Update for only send email hook
2024-10-22 20:49:20 +08:00
Terry Sutton b6de81485c new Integrations page (#29671)
* Start new integrations page

* Move cronjobs into integrations

* Rearrange

* Remove duplicate

* Move around menu items
2024-10-22 09:39:36 -02:30
Terry SuttonandJoshen Lim f9016e9128 Chore/auth logs timestamps (#30013)
* co/auth-logs-timestamps

* Opt to use TimestampInfo instead

* Revert test data

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-22 16:42:57 +08:00
Joshen Lim d586346e27 Chore/sentry fixes 211024 (#30003)
* Resolve https://supabase.sentry.io/issues/5808689343

* Fix SecurityStatus map key prop issue

* Fix FileExplorerHeader to use ButtonTooltip

* Fix https://supabase.sentry.io/issues/5998687405

* Fix https://supabase.sentry.io/issues/5414129652

* Fix https://supabase.sentry.io/issues/5414129652

* Fix map key issue in QueryPerformanceGrid

* Add whitelist error for sign up mutation

* Fix map key in DiskUsage

* Fix prop name in info-tooltip
2024-10-22 15:21:06 +08:00
Jordi EnricandTerry Sutton 2e159931e1 fix crash in settings page (#30018)
* fix

* fix possible crash on authorize page

* Fix formatting

* fix type err

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-10-21 19:51:24 -02:30
Terry Sutton 262c439345 Pass search term to entity query (#29986) 2024-10-21 10:22:02 -02:30
Jordi Enric 442bba9ed5 fix copy btn alignment, fix titles (#29980) 2024-10-21 12:44:42 +02:00
Kevin Grüneberg c4dfc4a454 chore: cleanup dead code paths for Stripe (#30001) 2024-10-21 18:22:08 +08:00
Thomas 9f9b083ba5 fix: item description and unit price of Billing Breakdown (#29996) 2024-10-20 12:29:53 +08:00
Ivan Vasilov 9dd7deb990 chore: Add a clean script to all packages/apps (#29926)
Add a clean command.
2024-10-18 16:25:13 +02:00
d7f92e4d48 chore: Update RateLimits.tsx (#28978)
* chore: Update RateLimits.tsx

Make it clearer

* fix: run prettier

* fix: apply suggestions from code review

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

---------

Co-authored-by: joel <lee.yi.jie.joel@gmail.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-10-18 13:10:01 +02:00
Alaister Young 5bfad6bf1c fix(self-hosted): GraphiQL invalided authentication credentials (#29972) 2024-10-18 16:18:18 +08:00
James GlennandIvan Vasilov 7ca8d1c873 docs: Sveltekit connect guide update (#28964)
docs: sveltekit connect guide update

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-10-17 14:47:58 +02:00
Terry Sutton 608c76a176 Chore/link to storage settings (#29806)
* Link to storage settings

* Update the global limit relationship to individual bucket limits

* Handle 413 status better
2024-10-17 14:17:28 +02:00
Alaister Youngandphamhieu 7e3af364e2 fix: storage permissions (#29937)
* fix: storage permissions

* write -> read

* whoops

* right one this time

* chore: update @supabase/shared-types

* check permissions for creating folders

* add additional permissions checks

* use buttontooltip

---------

Co-authored-by: phamhieu <phamhieu1998@gmail.com>
2024-10-17 18:43:26 +08:00
Ivan Vasilov 92955d5555 chore: Bump sentry to v8+ (#29896)
* Bump sentry to v8.

* Fix all obsolete APIs.

* Fix the sentry configs.

* Add pages for testing sentry.

* Add missing imports to sentry.config file.

* Add base path to the api path.

* Remove extra files.
2024-10-17 11:39:06 +02:00
divitandJoshen Lim 99c147a56c feat: support for restarting and resizing statuses (#29881)
* start using restarting and resizing statuses

* pretty 1

* Minor updates

* Small revert, to prevent conflicts

* PRETTY

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-17 11:52:22 +08:00
Joshen Lim ca80c2814b Add client side perms checking for disk config (#29936)
* Add client side perms checking for disk config

* PRETTY

* Fix
2024-10-17 11:35:01 +08:00
Joshen Lim ee1007dc24 Add telemetry page leave for www and docs (#29914)
* Add telemetry page leave for www and docs

* Feex
2024-10-16 18:37:59 +08:00
Joshen Lim 34f02f344b Revert "Revert "Update auth hooks to use new endpoint and add perms checking"" (#29894)
Revert "Revert "Update auth hooks to use new endpoint and add perms checking"…"

This reverts commit a2a94d1f74.
2024-10-16 09:13:07 +08:00
Ivan Vasilov f6cf84858e fix: Don't send the request twice when saving a policy from the Policy editor (#29899)
Don't send the request twice when saving a policy from the Policy editor.
2024-10-15 12:12:01 -02:30
Terry Sutton 50cd9ee5dc Chore/cron nudges (#29797)
* Remove beginning empty state

* Change modal to destructive

* Reorder dropdown menu

* Spacing
2024-10-15 09:44:25 -02:30
Joshen Lim cdb07346bc Update PH consent banner (#29891)
* Update PH consent banner

* Fix
2024-10-15 16:32:37 +08:00
Joshen Lim a2a94d1f74 Revert "Update auth hooks to use new endpoint and add perms checking" (#29893)
Revert "Update auth hooks to use new endpoint and add perms checking (#29870)"

This reverts commit a3e1fb2a0e.
2024-10-15 07:51:23 +00:00
Joshen Lim a3e1fb2a0e Update auth hooks to use new endpoint and add perms checking (#29870)
* Update auth hooks to use new endpoint and add perms checking

* Remove unnecessary import

* Update perms checking for edge functions secrets
2024-10-15 15:20:34 +08:00