Commit Graph
3910 Commits
Author SHA1 Message Date
Joshen LimandAlaister Young 7d6f183127 Show all projects which role applies to, and link project from hover card (#29502)
* Show all projects which role applies to, and link project from hover card

* Feex

* Update apps/studio/components/interfaces/Organization/TeamSettings/MemberRow.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-09-25 19:41:34 +08:00
Joshen Lim c3450e4f6b Fix wrong date in paused state (#29501) 2024-09-25 13:40:11 +08:00
Terry SuttonandJoshen Lim 6d78a98b63 Chore/replace url with regex (#29499)
* Replace zod .url with regex check

* Prevent adding dupe URLs in modal

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-25 13:03:33 +08:00
Joshen Lim 6af9ff6061 Chore/user management v2 panel (#29468)
* Midway implementing user management v2 panel

* Do up overview panel less provider information

* Midway provider info

* Wrap up provider information

* Add banned until banner

* Slight adjustment to search input

* Fix

* Fix provider icons in data grid

* Fix

* Moar fixes

* Add loading line

* Address some feedback

* Reorder some elements in the user overview panel

* Fix icons going over cell headers
2024-09-25 12:40:18 +08:00
Wen Bo Xie 83e9e61436 fix: add Storage download note for paused projects (#29488) 2024-09-24 16:37:16 -02:30
Terry Sutton 6015e53041 Chore/download types schemas (#29480)
Read which schemas to download types for
2024-09-24 14:34:44 -02:30
Joshen LimandTerry Sutton a8caeb3947 Update remove member modal (#29410)
* Update remove member modal

* Add same warning for leaving an org

* Update modal

* Update warning

* Grammar and spacing edits

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-09-24 22:31:02 +08:00
Ivan Vasilov dfdc688592 chore: Bump next, vite and dompurify to non-vulnerable versions (#29476)
* Bump dompurify to non-vulnerable version.

* Bump next package to non-vulnerable version.

* Bump vite to non-vulnerable version.

* Bump path-to-regexp.

* Bump rollup to a non-vulnerable version.

* Revert vite bump.
2024-09-24 16:09:59 +02:00
Joshen Lim d0cbb045d9 Add check for saveNodePositions (#29471)
* Add check for saveNodePositions

* Fix https://supabase.sentry.io/issues/5389802889/?project=5459134&query=is%3Aunresolved&referrer=issue-stream&sort=freq&statsPeriod=14d&stream_index=10

* Update whitelist for https://supabase.sentry.io/issues/5856752960/?project=5459134&query=is%3Aunresolved&referrer=issue-stream&sort=freq&statsPeriod=14d&stream_index=5

* Update whitelist for https://supabase.sentry.io/issues/5759316461/?project=5459134&query=is%3Aunresolved&referrer=issue-stream&sort=date&statsPeriod=7d&stream_index=21

* Update whitelist for https://supabase.sentry.io/issues/5588800911/?project=5459134&query=is%3Aunresolved&referrer=issue-stream&sort=date&statsPeriod=7d&stream_index=11
2024-09-24 20:19:04 +08:00
Joshen Lim d04cf805aa Add guard in LogEventChart (#29470) 2024-09-24 18:04:54 +08:00
Joshen Lim 1f0f7cb2e4 Fix project roles not showing which project (#29462)
* Fix project roles not showing which project

* Add some checks for RQ enabled for billing related queries
2024-09-24 10:57:30 +08:00
Terry Sutton b3fd925af1 POC for revised RLS page (#29401)
* POC for revised RLS page

* nudge colours

* Nudges

* Colour nudge
2024-09-23 15:40:34 -02:30
Alaister Young cbda650c66 fix: vercel integration create project flow (#29456)
* fix: vercel integration create project flow

* remove active healthy check
2024-09-23 23:43:41 +08:00
Alaister Young e06192f568 fix: is smtp validation enabled check (#29458) 2024-09-23 15:04:20 +00:00
Stojan Dimitrovski 8b965da9da fix: update email restriction warning (#29415) 2024-09-23 12:32:22 +02:00
Joshen Lim fd04e6dab0 Address some feedback around redirect urls (#29449)
* Address some feedback around redirect urls

* Remove unused code
2024-09-23 16:10:46 +08:00
divitandJoshen Lim 1a2a679a11 chore: max io2 disk size to 60 TB (#29448)
* chore: max io2 disk size to 60 TB

* chore: update docs about max disk size

* Update validation for disk type

* Update compute-add-ons.mdx

* Prettier

* chore: fix conditional for max disk size

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-23 13:39:35 +05:30
Joshen Lim 2ad56753c4 Autofocus table editor search input (#29446) 2024-09-23 16:01:27 +08:00
Kevin Grüneberg 48d4ae0323 chore: avoid querying usage endpoint unnecessarily (#29423)
For plans with usage-based billing enabled we don't need to check whether they exceeded their quotas. We can save us that network call.
2024-09-23 15:53:51 +08:00
Joshen Lim f5ac01ec2e Reinstate feat: allow removing multiple redirect urls (#29405) (#29417)
* Revert "Revert "feat: allow removing multiple redirect urls (#29405)" (#29416)"

This reverts commit cd4b057ef5.

* Fixes

* Tweak UI based on jonny's feedback

* Support multi add for redirect urls

* Validate to prevent adding existing url

* Small fix

* Add scroll area

* Fix focus styling for input fields in add new url modal
2024-09-23 13:09:38 +08:00
Joshen Lim 9e0e4f652b Support downloading storage objects in project paused state (#29339)
* Support downloading storage objects in project paused state

* Update

* Revert hardcode

* Feature flag storage object downlolad
2024-09-21 15:01:35 +08:00
Joshen LimandJonathan Summers-Muir cd4b057ef5 Revert "feat: allow removing multiple redirect urls (#29405)" (#29416)
This reverts commit 3e2f8cf51b.

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-09-20 21:55:43 +08:00
Stojan DimitrovskiandJoshen Lim 4647d50380 feat: add email restriction banner (#29393)
* feat: add email restriction banner

* Small fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-20 11:59:22 +02:00
Kang MingandJoshen Lim 3e2f8cf51b feat: allow removing multiple redirect urls (#29405)
* feat: allow removing multiple redirect urls

* fix: add checkboxes to redirect url rows

* fix: close modal on success & change bg color on hover

* fix: replace remove button with checkbox

* Some changes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-20 17:47:10 +08:00
Terry SuttonandJoshen Lim 7d5c62c518 Chore/update without where warning (#28458)
* Add warning when running update without where

* Account for quotes

* Split warnings to allow them to show independently

* Update

* Combine two modals into one

* Padding bump

* Fix padding

* Return if a query has issues

* Allow queries to run

* Small UI tweaks

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-20 17:33:47 +08:00
Joshen Lim a574e53b92 Fix error toast in email templates (#29398) 2024-09-20 00:21:22 +08:00
hallidayoandAlaister Young 97a38375f0 feat: auth users search (#20362)
* auth users search uid

* update new users UI

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-09-19 08:28:16 +00:00
Joshen Lim ff0a368fab Chore/notice banner for auth smtp changes (#29382)
* Notice banner for auth smtp changes

* Small style fix

* Update feedback
2024-09-19 16:19:18 +08:00
Kevin Grüneberg 13c83485a2 chore: hide compute usage section for Free Plan (#29385) 2024-09-19 15:31:03 +08:00
Joshen Lim 8a32f53b39 Remove dupe vi mock for matchMedia (#29380) 2024-09-19 14:24:51 +08:00
Joshen Lim 743bcb7e3c Ensure that backup is always available for download in restoring, restore failed or pause failed state (#29361) 2024-09-19 10:12:29 +08:00
Francesco Sansalvadore f9c8549609 fix matchMedia error (#29357) 2024-09-18 09:11:47 -02:30
Joshen LimandKevin Grüneberg bcb847bbbb Chore/update rr pricing for new disk mgt (#29278)
* Update pricing details in DeployNewReplicaPanel

* Update disk mgt review modal to consider RR pricing

* Update tests

* Hide utilization bar for read replicas in new disk mgt ui

* Add guard

* Update link to docs for deploy replica panel

* Address feedback

* Ensure IOPS and throughput prices are considered for replicas

* Prettier

* Attempt to fix tests

* Attempt to fix tests

* Fix calculateDiskSizePrice for replicas

* Fixes

* Prettier

* Add ternary

* Feeeex

* Various small updates from Kevin's feedback

* smol stuff

* fixes

* Update DiskManagementPanelSchema.ts

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-09-18 18:38:58 +08:00
Jordi Enric 6b66d68df1 prevent use of WITH, ILIKE or wildcards (*) in logs explorer (#29282)
* prevent with

* fix layout, add with clause err

* fix log explorer err message issues and test

* fix type error

* add check for ilike adn tests

* add wildcard check

* rm consolelog
2024-09-17 17:37:42 +02:00
Charis 4e93bf42e8 fix(ai): restrict edge function regions (#29330)
Missed some routes when restricting edge function regions in an earlier
PR. Any edge function that calls OpenAI needs to be called from an
OpenAI-supported region.
2024-09-17 10:35:34 -04:00
Terry Sutton 32b9cbf3c1 menu pref (#29297)
* Add a preference to prevent menu from expanding

* Use FormItemLayout

* Fix bottom padding

* Padding change

* Padding change back
2024-09-17 11:26:23 -02:30
Terry Sutton a6b2940dd7 Chore/unsaved changes auth template (#29296)
Trigger unsaved changes modal on auth templates
2024-09-17 10:40:47 -02:30
Francesco Sansalvadore 7a7ce1c7a9 chore: remote patterns (#29263)
* chore: move domains to removePatterns in www

* chore: move domains to removePatterns in studio

* chore: move domains to removePatterns in docs

* fix
2024-09-17 20:33:13 +08:00
Etienne Stalmans d171a02381 fix: stricter validation of returnTo path (#29288)
A returnTo path with /%09/place.website would cause the browser to
redirect to place.website instead of staying on the studio.
2024-09-17 10:10:40 +02:00
Alaister Young 40322b20b6 fix: error on invalid mime types (#29337)
* fix: error on invalid mime types

* allow server to check mime type instead of client

* swap ?? for ||

* fix upload icon import
2024-09-17 07:40:40 +00:00
Joshen Lim 71a184738c Chore/more disk mgt UI updates (#29333)
* Only show new disk billing UI for AWS provider projects

* Fix DiskSpaceBar autoscaling should be fixed at 90%

* Change all MiB to MB and GiB to GB

* Prettier
2024-09-17 15:22:18 +08:00
Terry SuttonandJoshen Lim 7f0a216c40 Chore/fix move folder 2 (#29326)
* Conditional schema for move query

* Small change

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-17 10:26:00 +08:00
Charis f6768edde7 fix(cmdk): empty state shows up when it shouldn't (#29272)
* fix(cmdk): empty state shows up when it shouldn't

Can't remember why on earth I put this in a useMemo instead of a
useEffect...

* fix(command menu): switch branch command not showing up
2024-09-17 10:08:37 +08:00
Alaister Young 4506ebaa8c fix: github auth loading state (#29322) 2024-09-16 23:31:20 +08:00
Kamil Ogórek 7dd11016a4 ref: Use local state to improve GitHub integration security (#29321) 2024-09-16 16:46:33 +02:00
Joshen Lim cc9dca8825 Fix styling on SSL switch (#29320) 2024-09-16 11:25:23 -02:30
Joshen Lim d61a4ab1db Fix type error CSV import (#29314) 2024-09-16 17:25:35 +08:00
Joshen Lim a7c25d3186 Chore/disk mgt UI updates (#29313)
* Add note regarding final usable IOPS

* Ensure that its GiB and not GB for disk mgt ui

* Adjust language of IOPS and throughput fields, use GiB and not TiB

* PRettier

* Add note for max throughput based on compute size

* Prettier

* Small fix
2024-09-16 15:47:55 +08:00
Joshen LimandAlaister Young 706f28563f Improve table editor pagination input field (#29245)
* Improve table editor pagination input field

* sync input value with actual page value

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-09-16 15:19:08 +08:00
Long HoangandAlaister Young df978a171a feat: prefill org and project name for first org/project (#29281)
* feat: prefill first org name and first project name

* chore: move prefill logic to new page

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-09-16 15:13:40 +08:00