Commit Graph
2745 Commits
Author SHA1 Message Date
Joshen Lim b48b6e201b Rename vector to pgvector on client side (#23286) 2024-04-26 13:00:30 +07:00
Joshen Lim c304ce537f Add db inspect docs link (#23268)
* Add db inspect docs link

* Update
2024-04-26 12:52:44 +07:00
Ivan Vasilov 09c397f331 fix: Parse the function args properly when editing a DB function (#22877)
* Fix the header when editing a function.

* Parse the arguments properly.
2024-04-25 14:25:48 +02:00
Kang Ming 9963c81a26 Km/update copy (#23264)
* chore: update copy on signup and reset password links

* fix: add config for updating otp length
2024-04-25 17:48:55 +08:00
CharisandJoshen Lim 8455b48ed8 enhance(sql editor): set result column width roughly based on contents (#23235)
* enhance(sql editor): set result column width roughly based on contents

* Small fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-04-25 13:40:56 +07:00
Joshen Lim ae046a12f8 Update CTA for manual disk size increase beyond limit (#23255)
* Update CTA for manual disk size increase beyond limit

* Remove unused imports

* Add error handler for sql editor

* Fix clicking supabase icon button in project not closing the nav bar when entering into another project from the home page

* Update copy
2024-04-25 13:21:46 +07:00
Terry Sutton 9cb5ad3083 Truncate table names (#23240) 2024-04-24 21:00:33 -02:30
Joshen Lim ba000e8ae3 Rename gotrue to auth (#23230) 2024-04-24 22:24:03 +07:00
Joshen LimandIvan Vasilov cd72524f7b Update extensions search behaviour (#23215)
* Update extensions search behaviour

* Minor type simplification.

* Fix leftover type issue.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-24 20:35:56 +07:00
CharisandJoshen Lim 7d15462d5d fix(ux): allow creating fk on new column after changing name (#23204)
* fix(ux): allow creating fk on new column after changing name

Old behavior: If you create a new column, create an FK on that column,
then change the name of the column before saving, FK creation will fail.
This is because the name of the FK source column does not update to
match the changed name.

New behavior: When you change the name of the new column, the FK source
column changes to match, so the FK is created correctly.

* small fix

* Temp hide column privileges warning in column editor for new columns

* Smol fix

* Fix imports

* fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-04-24 09:23:34 -04:00
Terry Sutton c2e9dfd6e2 Cleanup initial values when the form submits (#23182)
* Cleanup initial values when the form submits

* Cleanup

* Use visible prop instead
2024-04-24 09:54:13 -02:30
Jonathan Summers-MuirandIvan Vasilov c73af5ec8f move to shared types (#23210)
* move to shared types

* Rename the package to api-types.

* Fix a forgotten dependency.

* Add more forgotten deps.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-24 11:03:17 +02:00
Joshen Lim fea6d7f541 Fix query performance role query search (#23212) 2024-04-24 15:17:23 +07:00
Terry SuttonandJoshen Lim 78e99d5666 Use combo box (#23193)
* Use combo box

* small fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-04-24 14:48:38 +07:00
Han Qiao 329a2d8539 fix: include realtime admin in supabase roles (#23208) 2024-04-24 11:46:20 +07:00
Joshen Lim 44b3853cbf Reinstate link button for foreign keys in table editor side panel (#23186)
* Reinstate link button for foreign keys in table editor side panel

* Skip assigning name when creating foreign key
2024-04-24 10:29:32 +07:00
Akash HamirwasiaandCharis e6b4fa8461 fix: custom domain issues in the generated docs (#22759)
* fix: show custom domain when active in API docs

* fix: remove `auth/v1/callback` from custom domain in new API docs

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-23 20:49:37 +00:00
Alaister Young 62d63a5269 fix: various fly visual bugs (#23184)
* fix: various fly visual bugs

* address feedback
2024-04-23 14:48:01 +00:00
A̴m̴r̴ ع̲مِےـرۅandCharis Lam 3c6b083787 chore: Add missing whitespaces (#23171)
* Update DeleteFunction.tsx

* Update DeleteFunction.tsx

* format

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-04-23 10:06:13 -04:00
Alaister Young 64135f312e chore: only query repos with github auth (#22777) 2024-04-23 19:16:36 +10:00
Joshen Lim 4b9f9dfe15 Add create policy CTA under each table in auth policies page (#23140)
* Add create policy CTA under each table in auth policies page

* Remove log
2024-04-23 12:10:20 +07:00
Alaister Young 2bb742a38f fix: require function definition (#23151) 2024-04-23 00:02:07 +10:00
Ivan Vasilov 5cf8f30e23 chore: Remove obsolete flags (#22915)
* Remove showS3Connection flag.

* Remove showAnonUserFilter flag.

* Remove   enableVercelConnectionsConfig flag.

* Remove indexAdvisor flag.

* Remove queryPerformanceV2 flag.

* Remove unused files.

* Remove unneeded packages.

* Remove the v2 suffix from the query performance folder.
2024-04-22 09:38:41 +02:00
divitandJonathan Summers-Muir 6856c838cb fix: plan update badge text color (#22906)
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-04-22 05:46:30 +00:00
divitandgithub-tidy-bot acf5164653 fix: open connection string docs link in new tab (#22895)
* fix: open connection string docs link in new tab

* ci: Autofix updates from GitHub workflow

---------

Co-authored-by: github-tidy-bot <github-tidy-bot@supabase.com>
2024-04-19 12:43:12 -04:00
divitandCharis 94f17c6d0e fix: missing closing quotes in connection string (#22897)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-19 14:30:17 +00:00
Terry Sutton 72d5f656b5 Chore/add vite to connect UI (#22606)
* Split cra and vite

* Add files

* Visibility

* update names

* Rename again
2024-04-19 11:22:43 -02:30
Jordi Enric ff8a306a76 Feat: query performance - add btn to hide bottom section (#22902)
* add btn to hide bottom section

* fix onResetReportClick not being optional for old UI
2024-04-19 14:09:58 +02:00
Ivan Vasilov 1edaf9ed0c fix: Add another lint rule for accessing user metadata in RLS (#22904)
* Remove selectedRow which was row index but the info was already available through selectedLint.

* Update the lint query with the new code.

* Merge a render function into its calling component.

* Remove duplicated logic for entity name and icon.

* Fix minor mapping logic.

* Unite the loading flags in the security advisor.
2024-04-19 13:40:15 +02:00
Jordi Enric c679d1cfc8 fix orderby being rewritten in most freq query (#22905) 2024-04-19 13:23:24 +02:00
41a1737a9a feat: long otp expiry lint (#22891)
* feat: long otp expiry lint

* refetch auth query on re-run lints

* Remove duplicate lint rule

* clean up

* Update apps/studio/pages/project/[ref]/database/security-advisor.tsx

Co-authored-by: Inian <inian1234@gmail.com>

* add auth otp short length lint

* Only check phone OTP for linting if the phone provider is enabled.

---------

Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-19 09:44:33 +00:00
Thomas 124205b27f Show correct subscription plan features for AWS billed org [GEN-8844] (#22824) 2024-04-19 09:49:39 +02:00
Kang Ming 04b787afc2 fix: add warning notice for long otp expiry time (#22890) 2024-04-19 12:47:41 +07:00
Terry Sutton 8916d8022b Chore/linter v3 (#22842)
* Add links to docs, new categories and update lint script

* Split linter into security and performance

* Move not found to own component

* Move type

* Split linter into two pages, DRY components

* Cleanup
2024-04-18 14:23:11 -02:30
Div AroraandKevin Grüneberg 1c2c2f99dc chore: add a note on interaction between IPv4 addon and RRs (#22848)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-04-18 21:20:57 +08:00
Jonathan Summers-MuirandIvan Vasilov c59141f83c chore: Reorder database links (#22835)
* chore: move column priv

* update docs

* Minor fixes for column privileges. Add an explanation alert.

* Add a right icon to productMenuItem component.

* Rename the database replication into publications.

* Change the order for the database menu.

* Fix various links to db publications.

* Remove duplicate entry.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-18 09:38:24 -02:30
Terry Sutton 6b1a44524c Chore/linter v2 (#22790)
* Start mocking in v2 elements

* wip

* Cleanup header

* Get side panel working

* Style side panel

* Cleanup

* Add new lint

* Start filters

* Add lint filters

* Nudge loading state

* Fix empty state

* Cleanup

* Cleanup

* Font nudges

* Visual nudges

* Fix filters

* Fix shimmer

* Cleanup
2024-04-17 12:42:54 -02:30
Kang Ming 9c6b33bbf9 fix: update rate limit descriptions (#22828)
* fix: update rate limit descriptions

* fix: add link to access control guide
2024-04-17 12:10:35 +00:00
Ivan VasilovandAlaister Young 2dad02de62 feat: Use URL query params in Auth Policies page (#22786)
* Make the useUrlState typesafe.

* Remove the dependency on the valtio state for the Ai Policy Panel.

* Remove the valtio state and use the URL query state for keeping selected schema and filter string.

* Update GridHeaderActions component to include schema parameter in policy search URL

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-04-17 12:05:01 +02:00
Bobbie Soedirgo 1d58f2a11b chore: use @supabase/pg-meta for role queries (#22821)
* chore: use @supabase/pg-meta for role queries

* chore: prettier

* fix: typo
2024-04-17 16:19:49 +07:00
Bobbie Soedirgo fcbbe4c902 fix(studio): allow configuring roles' bypassrls & replication params (#22782) 2024-04-16 22:06:04 +07:00
Joshen LimandAlaister Young 05eac4af51 Chore/switch index advisor installation to db extension (#22773)
* Switch installing index advisor to via db extension rather than direct sql

* Add CTA if index advisor is not available

* Update language

* Update copy

* Fix checking index advisor ext

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-04-16 21:27:11 +07:00
Kang Ming d214f86e44 fix: show last_sign_in_at for anonymous users (#22785) 2024-04-16 09:22:07 -02:30
Joshen Lim 136773d133 Fix account deletion category (#22779) 2024-04-16 12:36:20 +03:00
Joshen Lim 920c285818 Update category (#22778) 2024-04-16 08:52:02 +00:00
Joshen Lim f1101a87ab Fix category (#22776)
Fix
2024-04-16 08:23:30 +00:00
Joshen Lim 1c6e2af4f2 Fix category (#22774) 2024-04-16 10:29:57 +03:00
9cc6163512 Feat: Add account deletion button to Preferences (#22486)
* Feat: Add account deletion button to Preferences

* Second design iteration

* Refactor, fix language

* Refactor to remove deprecated component

* more refactors

* Update button CAT

* Update apps/studio/components/interfaces/Account/Preferences/AccountDeletion.tsx

Co-authored-by: Inian <inian1234@gmail.com>

* Validate 0 org for account deletion request

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
2024-04-16 13:43:28 +07:00
hallidayoanddshukertjr 6105e610a8 feat: connect flutter example (#22693)
* connect flutter example

* connect flutter changes

* run formatter

---------

Co-authored-by: dshukertjr <dshukertjr@gmail.com>
2024-04-16 04:33:46 +00:00
Thomas 3c4114b008 Hide billing info for partner-billed org based on org/subscription level data (#22569) 2024-04-15 19:36:51 +02:00