Commit Graph
577 Commits
Author SHA1 Message Date
Jonathan Summers-Muir 645273cb45 Chore/update confirmation modal (#22328)
* Update confirmation modal

* update all props

* Update ExtensionCard.tsx

* clen up
2024-04-02 13:39:27 +08:00
Jonathan Summers-Muir ab39435862 chore: update Selects in create index form (#22326)
* chore: update Selects in create index form

* Update CreateIndexSidePanel.tsx

* style update

* Update CreateIndexSidePanel.tsx
2024-04-02 13:37:03 +08:00
280928a8e6 Feat/lints (#22003)
* Add lints, 2

* Add basic table

* Handle ignoring lints

* Add loading state

* Cleanup

* move utils

* Cleanup

* Shift lint to react query

* Merge master solve import lint issue

* Update lints UI

* Optional params

* Add entity and schema name

* Rename lints to linter, format results

* Wrap in markdown

* Adjust layout of some components

* Add CTAs to each lint

* fix ignored problems section

* Update type

* Add cta buttons for auth rls initialization issues

* Change metadata object

* Remove unneeded file.

* Add a component for CTA for a lint row.

* Make the lint query to be more type-safe.

* Various fixes to the lint table.

* Show the remediation link.

* Fix the button icons.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-01 20:37:48 +00:00
Bobbie Soedirgo 8888bb0023 feat: initial version of @supabase/pg-meta (#22307)
* feat: initial version of @supabase/pg-meta

Unlike supabase/postgres-meta, this will be a pure-JS SQL & Zod schema builder

* chore: typescript 5.4

* fix: typescript errors
2024-04-01 18:07:34 +08:00
Joshen Lim 2fe00724a9 Read replicas support enabling physical backups (#22330)
* Read replicas support enabling physical backups rather than forcing a PITR addon

* Update

* Update endpoint

* Add missing warning for compute size on read replicas

* Update text

* Address feedback
2024-04-01 16:08:36 +07:00
Pamela Chia 87b43acfba chore: update TIA (#22367) 2024-04-01 16:05:46 +07:00
Kevin Grüneberg e197f3f8be feat: breakdown for function egress (#22231) 2024-04-01 08:20:25 +00:00
Pamela Chia 39be400fef Feat/add upgrade survey flow (#22310)
* feat: add upgrade survey flow

* add codegen changes
2024-04-01 14:58:59 +07:00
95e9820c57 feat: Add notices for orgs over quota (#22044)
* Expand the org type with the new restriction fields.

* Add a badge to each org on the projects list if the org is over quota.

* Add a banner to each project belonging to an org which is over quota.

* Remove unneeded code.

* Add a restriction banner at the top of billing org tab.

* Correct the links to point to the correct page.

* Move the exceededLimits alert into the restriction component.

* Add an additional alert to the restriction component.

* chore: adjust copy on service restrictions

* Use gap instead of margin-right.

* Fix a bug in the ProjectList where the selectedOrg was used for all organizations.

* Small copy changes

* Small UI updates to restriction banner

* Hide links to documentation pages first

---------

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-04-01 13:46:49 +07:00
Stojan Dimitrovski a9e2843f3e feat: warn on using personal SMTP servers (#22329)
feat: warn on using personal SMPT servers
2024-03-29 14:31:52 +01:00
Kang Ming 67e1b1b00b Revert "chore: bump supabase-js" (#22325)
Revert "chore: bump supabase-js (#22312)"

This reverts commit 0ff546a539.
2024-03-29 04:45:11 +00:00
0ff546a539 chore: bump supabase-js (#22312)
* chore: bump supabase-js

* more gotrue renames

* chore: update types

* chore: prettier

* chore: typings

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>
2024-03-29 11:18:04 +07:00
Ivan Vasilov 689b7d1fe6 fix: Switch to white icon for vercel when in dark mode (#22316)
* Fix the vercel icons to follow the black/white color scheme.

* Remove unused CSS classes.
2024-03-28 15:21:57 +01:00
Francesco Sansalvadore 0e92e3c8c3 fix favicon (#22315)
fix favicons
2024-03-28 13:52:56 +01:00
Alaister Young bd3807c356 feat: reset preview branches (#22210) 2024-03-28 20:44:41 +11:00
Beng EuandAlaister Young eeabbca813 fix: tweak pooling optimization defaults to match backend (#22278)
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-03-28 09:36:04 +00:00
Alaister Young a2e880f675 chore(vercel-integration): add supabase jwt secret env var (#22207) 2024-03-28 20:13:15 +11:00
42773a3a3b chore: upgrade to next 14 (#22234)
* chore: upgrade to next 14

* upgrade related next deps

* sync deps

* fix lock

* package lock

* bump deps

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-03-28 19:23:55 +11:00
Kang MingandJoshen Lim 0a569e4790 feat: add anonymous sign-ins config (#21813)
* feat: add anonymous sign-ins config

* fix: update anonymous sign-ins toggle & policy editor

* Couple of UX changes

* fix: update user impersonation with is_anonymous claim

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-28 00:14:42 +07:00
Joshen Lim 05400d88ec Fix 'Fix with assistant' for RLS editor (#22283)
* Fix 'Fix with assistant' for RLS editor

* Code editor height will consider line wraps + support right click format query

* Fix content height and line count on mnount rls ediutor

* Update comment
2024-03-27 17:01:53 +07:00
Alaister Young 7d1911bb3d fix: incorrect pool size (#22285) 2024-03-27 08:45:43 +00:00
Jordi EnricandJoshen Lim 62475bd614 Preload RLS form with selected table. (#22263)
* check and load val from search

* Fix

* Add scroll area for table selection in RLS editor

* Further contextualize RLS templates on hover

* Fix RLS feature preview with the new UI

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-27 14:43:58 +07:00
b361544461 fix(studio): empty arrays become empty string in row editor (#16882)
* fix(studio): empty arrays become empty string in row editor

* test: update test case to match the new parseValue behavior

---------

Co-authored-by: Ryan Martin <rmrt1n@users.noreply.github.com>
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-27 11:22:50 +07:00
Terry Sutton 24627e1ed3 Swap check for using in insert commands (#22260)
* Swap check for using in insert commands

* Cleanup
2024-03-26 15:29:23 -02:30
Kevin Grüneberg 65a440806d chore: upgrade yup (#22252) 2024-03-26 23:14:59 +07:00
Kevin Grüneberg 55afcccd39 chore: bump markdown-table (#22249) 2024-03-26 23:13:17 +07:00
Jonathan Summers-MuirandFrancesco Sansalvadore f2b13fd326 Chore/favicon fix (#22226)
* chore: move favicon logic to package

* update application names

* Delete Favicons.tsx

* add more props

* add more props

* update

* cleamn

* clean up

* Update _app.tsx

* Update _app.tsx

* add missing favicons and size optimization

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-03-26 14:34:24 +01:00
Kevin Grüneberg 27f9f96ff7 chore: upgrade to node 20 (#22240) 2024-03-26 18:54:22 +07:00
Jordi EnricandJoshen Lim 2179c94095 ui fixes in Logs Templates (#22232)
* fix icon colors and layout in smaller windows

* lint

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-26 12:35:47 +01:00
Jordi Enric aa01f780ea feat: store sql editor charts (#21990)
* save chart config when the user changes it

* add optimistic update on change

* fix wrong snippet being updated when changing fast or internet slow

* fix ui state resetting between changes 2

* fix chart config not changing state when working on a new query that only exists locally
2024-03-26 16:37:25 +07:00
Florian Lefebvre e211bec61a feat: improve ToastLoader progress display (#22230)
Update ToastLoader.tsx
2024-03-26 19:59:31 +11:00
Joshen Lim 5e5586d0ad Remove the check for connection string in create schema mutation (#22229) 2024-03-26 15:42:35 +07:00
Alaister YoungandJoshen Lim 27a8b89526 fix: editing RLS policies (#22228)
* fix: editing RLS policies

* make useEffect conditional on isEditing

* Fix updating policy insert command with check statement

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-26 08:26:19 +00:00
Joshen Lim 8f950a111e Add validations for new RLS editor (#22227) 2024-03-26 12:22:55 +07:00
Joshen Lim 4327d58df5 Hybrid RLS Assistant (#21806)
* Midway checking on hybrid rls assistant

* Demo

* Midway

* Polish + hook up everything for policy creation

* Temp fix for open in sql editor

* Resolve conflicts

* Support updating policies with new hybrid ui

* Fix generateQuery for altering policies

* Update to support feature preview

* Fix spelling lint

* Addressing small bugs

* Fix

* Clean upo

* Add new MultiSelectV2 in ui-patterns, use in RLS editor

* More clean uo

* Fix RadioGroupLargeItem label cursor state when disabled

* Lint lowercase sql
2024-03-25 16:02:50 +07:00
Wen Bo XieandJoshen Lim 318ad83fd3 fix: prevent project in transaction mode from changing pooler mode (#22150)
* fix: prevent project in transaction mode from changing pooler mode

* Small update to UI

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-25 15:59:46 +07:00
Chris GwilliamsandBobbie Soedirgo 2b6c17acbd Hide supautils extension and remove from docs (#20820)
* hide supautils extension and remove from docs page

* newline

---------

Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>
2024-03-25 15:56:48 +07:00
Joshen Lim 8b43a2b564 Add trims to table and column names (#22170) 2024-03-22 14:47:45 +07:00
Joshen Lim 654170b31a Fix storage explorer deleting parent folder doesnt delete sub folders despite them being empty already (#22125)
* Fix storage explorer deleting parent folder doesnt delete sub folders despite them being empty already

* Add row id column options to stripe wrapper for tables which can be updated

* Remove commented out lines

* Remove rowid column changes
2024-03-22 10:30:49 +07:00
Joshen Lim 742e7df396 Fix CSV text import not supporting null values (#22146) 2024-03-22 10:25:07 +07:00
Joshen Lim 89f97fb958 fix stripe wrapper not providing row id column for tables that can be updated (#22127) 2024-03-22 10:16:03 +07:00
Joshen Lim 37f549c36e Fix applying table privileges changes to wrong table if there are multiple tables with same name in different schema (#22123) 2024-03-22 09:41:36 +07:00
Joshen Lim 180c052d4d Support updating column is unique when editing table in side panel (#22121) 2024-03-22 09:24:53 +07:00
Joshen Lim 8925d1f72e Add validation when creating enumerated types to ensure that name doesnt conflict with a native PG data type (#22120) 2024-03-21 16:02:37 +07:00
Joshen Lim e05fed45aa Storage delete bucket modal fix styling (#22109)
* Storage delete bucket modal fix styling

* Fix TextConfirmModal
2024-03-21 14:57:05 +07:00
Joshen Lim 8a8110a3a8 Fix toast handling extremely long messages (#22122) 2024-03-21 14:47:46 +07:00
Joshen Lim f3708451a6 Fix consistency for RLS in table editor (#22119)
fix consistency for RLS in table editor
2024-03-20 13:41:47 +07:00
cc9ed7174f feat: limit sign-in password length to 72 (#20571)
* feat: limit sign-in password length to 72

* limit password length on signup

* Update apps/studio/lib/schemas.ts

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

* Update apps/studio/components/interfaces/SignIn/SignInForm.tsx

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

* don't limit password length on sign in

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-19 16:45:25 +07:00
Jordi Enric fbe6d15b53 chore: rm feature flag in sql editor charts (#22093)
rm feature flag in sql editor charts
2024-03-19 09:36:12 +00:00
Jonathan Summers-Muir a4a4a7e26d Deprecate old Badge component (#22037)
* Update Badge.tsx

* refactor apps with new props

* Update APIKeys.tsx

* format

* remove old code
2024-03-19 10:33:12 +01:00