Charis and Joshen 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-Muir and Ivan 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 Sutton and Joshen 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 Hamirwasia and Charis
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̴ ع̲مِےـرۅ and Charis 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
divit and Jonathan 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
divit and github-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
divit and Charis
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 Arora and Kevin 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-Muir and Ivan 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 Vasilov and Alaister 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 Lim and Alaister 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
hallidayo and dshukertjr
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
Guilherme Souza
c7217582ab
chore: official supabase-swift ( #22678 )
...
* chore: remove community badge from supabase-swift
* chore: update realtime swift reference
* fix typo
* chore: update swift references
* chore: fix misspelling of behavior
2024-04-16 00:01:01 +10:00
Alaister Young and Joshen Lim
a9e6cb1bf1
feat: new wrappers ( #22289 )
...
* feat: new wrappers
* require minimum extension version for new wrappers
* better cta
* reinstall extension
* Update apps/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
* Update apps/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-04-15 20:07:59 +10:00
Ivan Vasilov and Joshen Lim
446661975d
fix: Fix the role impersonation in the realtime inspector ( #22725 )
...
* Fix the role impersonation in the realtime inspector.
* Update apps/studio/components/interfaces/Realtime/Inspector/useRealtimeMessages.ts
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-04-15 09:06:58 +00:00
Alaister Young
8519f2dcc4
Revert "Chore/allow disabling public schema" ( #22728 )
...
Revert "Chore/allow disabling public schema (#22603 )"
This reverts commit 4aaf17857a .
2024-04-15 08:13:38 +00:00
Ivan Vasilov
1ca7cc36ce
fix: Another lint update ( #22682 )
...
* Update the lint query with the latest from splinter.
* Fix a misspell.
2024-04-13 08:13:05 -02:30
Terry Sutton
4aaf17857a
Chore/allow disabling public schema ( #22603 )
...
* Remove public from permanent schemas
* Swap MultiSelectV2
* Loading state on schemas
* Show a warning when public is removed
* Type error
* Change wording
* Add alert if public schema disabled
* Move alert to own component
* Adjust message
* Add graphql to warning
* Fix repopulation issue
* Empty input state
* Move public schema warning
* Add alert file
* Remove prop
* cleanup
2024-04-12 08:56:15 -02:30
Jordi Enric and Joshen Lim
ca3ee86125
add anon users filter ( #22440 )
...
* add filter
* Fix type issue
* move anon users query to the api
* rm unused stuff
* type fix
* add featurefalg
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-04-12 12:26:45 +02:00
Jonathan Summers-Muir
8e82dbbbdf
use undefined rather than empty object ( #22664 )
2024-04-12 15:52:48 +08:00
Charis
5d8cef6040
fix: update all examples and snippets to use select for auth rls func… ( #22632 )
...
fix: update all examples and snippets to use select for auth rls functions
2024-04-11 12:56:11 -04:00