Commit Graph
109 Commits
Author SHA1 Message Date
Kevin Grüneberg 0ba347ba00 fix: subscription/addons links (#18663) 2023-11-02 20:28:14 +01:00
Kevin Grüneberg 11914a55de chore: remove old billing code (#18610) 2023-11-01 10:52:52 +01:00
8057309e51 chore: upgrade next 13 + react 18 (#17839)
* update deps + image codemod (studio)

* update next links (studio)

* update deps

* update links (ui)

* remove next-transpile-modules

* move next-themes dependency

* chore: update ConfirmDialog

* chore: remove old ConfirmModal js file. migrated to TS

* dependency wrangling

* remove empty page

* update next links (www)

* First run bump react-data-grid-v7 beta 4

* fix package-lock.json

* more deps wrangling

* update recharts

* update sentry options

* fix some broken things in www

* studio fixes

* fix graphiql

* fix studio build

* fix menu hydration

* small build error

* update turbo

* fix www typescript errors

* docs image codemod

* links codemod docs

* fix docs typescript errors

* move useConsent to ui to prevent circular deps

* Fix links

* Fix homepage

* Fix links

* move studio/ to apps/

* Revert "move studio/ to apps/"

This reverts commit 1b0a985fcb.

* disable outputFileTracingRoot

* remove outputFileTracingRoot

* fix homepage product cards

* fix PrivacySettings links

* Fix links

* Fix the build for www.

* Minor fixes for JWTGenerator.

* Fix the docs and ui tests.

* Revert codehike back to 0.8.3

* remove ConfirmAlert()

* reenable babel because mobx hates me

* fix blog image and comparison page avatar

* Fix svg errors

* update image synthax

* Fix code hike

* Move the button in a div so that it doesn't inherit its parent height and make the button look weird.

* When components are defined in a component, they get recreated on each render. This makes them unstable in certain cases and causes infinite rerenders.

* Replace the next/head usage with next/script.

* Chore/upgrade next 13 fix table editor (#18431)

* fix table editor styling and fix row deletion logic

* Fix deleting selected rows from header, and fix checkboxes not clearing up

* Fix deleting all rows when filter applied, and fix deleting all rows

* Fix grid size styling issue

* Fix TS error

* Hydration errors

* studio org pages fixes

* fix more studio links

* audit logs fixes

* dropdown icon styling fixes

* fix some images in www

* upgrade to next 14

* try new sentry wrapper for api

* see if this is even invoked

* Revert "see if this is even invoked"

This reverts commit 86c3973ffa.

* Revert "try new sentry wrapper for api"

This reverts commit f67623ebad.

* Revert "upgrade to next 14"

This reverts commit a24dd6131e.

* chore: allow node version 19/20

* Try to fix the LogTable so that it renders with the newer "react-data-grid" version.

* Fix type errors in the log renderer code.

* Fix the replication screen.

* Add the CSS for the GraphiQL.

* Fix SQL editor results rendering

* Lint

* Fix SQL editor results height issue

* Fix auth RLS not invalidating RQ when toggling RLS

* Fix database tables new/edit column regressed

* Fix migrations page empty state if migrations schema not yet created

* Fix API side panel docs temp remove postgrest text for column description PK and FK

* Fix + improve timeout handling in SQL editor

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2023-10-31 05:51:46 +00:00
divit b65b5b6013 chore: allow updating pool size for supavisor (#18409) 2023-10-24 17:19:28 +08:00
Joshen LimandJonathan Summers-Muir 09f82460b2 Chore/update network restrictions (#18420)
* Default CIDR block value to 32 and add input validations

* Shift banned ips and rename title

* Update studio/components/interfaces/Settings/Database/BannedIPs.tsx

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-10-24 14:42:14 +08:00
Joshen Lim 317a177b5d Support temp enable db writes (#18249) 2023-10-17 09:45:43 +08:00
Ivan Vasilov 3d70a1cdca Revert "Chore/support temp enable db writes (#18171)" (#18229)
This reverts commit d200ed9414.
2023-10-16 10:55:43 +02:00
Joshen LimandIvan Vasilov d200ed9414 Chore/support temp enable db writes (#18171)
* Deprecate old project-read-only-query and add temp-disable-read-only-mode-mutation

* Scaffold enable writes UI

* Implement temp enable writes

* Bump @supabase/shared-types.

* Add scopes parameter to all queries and mutations.

* Refactor the publish app side panel to include scopes.

* Refactor the authorize page to show the app scopes.

* Remove a console.log.

* Address all feedback.

* Simplify the scope rendering.

* Simplify the scopes wording when creating an app.

* Make the modal a bit wider so that some of the text doesn't overflow.

* Add URL to docs for oauth apps scopes

* Remove unnecessary async await

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-16 13:52:42 +08:00
Terry SuttonandIvan Vasilov 522a921fda Chore/add settings panels to cmdk (#17784)
* Fix searchable item command, add settings panel ids

* Update

* Add support for hash urls to no-project-selected page (_).

* Fix some of the labels.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-02 13:09:34 -02:30
Kevin Grüneberg bc1c9090c2 fix: use prettier on studio too (#17787) 2023-09-28 20:31:07 +02:00
Monica Khoury 65afbccdef Feat: Add UI for displaying and unbanning IP addresses (#17782)
* Chore: Add UI for displaying and unbanning IP addresses

* Fix build errors

* Address minor code review feedback

* Add a description title for the form

* Fix ponctuation marks

* Removed comments
2023-09-28 20:40:40 +03:00
Ivan Vasilov 282b08ba60 Migrate CSS classes for lighter text (#17728)
Change all occurences of text-scale-900 to text-foreground-lighter.
2023-09-27 12:01:25 +08:00
Ivan Vasilov 6648acacea Migrate CSS classes for light text (#17725)
* Replace all occurences of text-scale-1100 to text-foreground-light.

* Replace all occurences of text-scale-1000 with text-foreground-light.

* Fix double uses of text-foreground-light.
2023-09-26 11:05:28 +02:00
Joshen Lim 7aee78a8b8 Replace all occurences of text-scale-1200 with text-foreground (#17723)
* Replace all occurences of text-scale-1200 with text-foreground

* Fix spelling
2023-09-26 15:53:03 +08:00
Terry Sutton 2c156f11b3 Swap ref for project id 2023-09-11 14:13:27 -02:30
Terry Sutton c87e0714f4 Pass project ref 2023-09-11 12:38:45 -02:30
phamhieu a96993a8b9 fix: update projects permission check to support resource.project_id 2023-09-07 09:20:01 +07:00
delgado3d 01055d0089 chore: supavisor enabled flag from api respnse 2023-09-04 14:34:25 +05:30
Joshen Lim 72a0431bb1 Clean up feature flags 2023-08-29 14:04:18 +08:00
Joshen Lim c8028d47b3 Merge pull request #16347 from supabase/chore/convert-requests-to-RQ-mutations
Chore: Convert all independent PATCH and DELETE requests to RQ mutations
2023-08-15 10:53:48 +08:00
Joshen Lim f420f04223 Merge pull request #16433 from supabase/chore/show-warning-in-pgbouncer-logs-if-supavisor-is-enabled
Show warning in pg bouncer logs if supa visor is enabled
2023-08-11 14:47:26 +08:00
Joshen Lim 894388f5e7 Show warning in pg bouncer logs if supa visor is enabled 2023-08-11 14:21:12 +08:00
delgado3d f74241c389 chore: network restrictions limitations for supavisor in studio 2023-08-11 10:52:37 +05:30
Joshen Lim 9a759d1071 Temp check supavisor_enabled from connectionString 2023-08-11 11:18:31 +08:00
Joshen Lim 91f8673630 remove console 2023-08-11 11:15:05 +08:00
Joshen Lim 38b1681d3a Hide fields in pg bouncer config if supavisor enabled 2023-08-11 11:14:43 +08:00
Joshen Lim 5f7bee3323 Change mutate to mutateAsync for account pref and pooling config 2023-08-10 16:50:04 +08:00
Joshen Lim 3534d8f81e Shift patch database pooling connection update to RQ mutation 2023-08-09 01:07:01 +08:00
Joshen Lim d03f7e260f Shift patch database password to RQ mutation 2023-08-09 00:31:37 +08:00
Joshen Lim 2e9411b295 Remove all usage of FC part 3 2023-08-07 14:23:30 +08:00
Ivan Vasilov 3459430bfa Use the supplied connection string from the backend. 2023-07-31 12:28:09 +02:00
Ivan Vasilov beb813b5b0 FIx a missing config value. 2023-07-31 12:03:49 +02:00
Ivan Vasilov 2a0d7b5ad4 Fix the integer input fields to support nullable values. 2023-07-31 11:50:37 +02:00
Div Arora 3dfa38854d feat: expose control over additional pooler parameters 2023-07-31 11:50:37 +02:00
Joshen Lim 720f0e9dad Merge pull request #15923 from supabase/chore/allow-project-subscription-pages-to-load-irregardless-of-project-details
Allow project subscription pages to load irregardless of project details
2023-07-24 18:09:09 +08:00
Joshen Lim e7b47ed780 Unblock most settings page and only block specific UI components that are dependent on project being active 2023-07-24 16:56:16 +08:00
Joshen Lim ff8cc2c6b4 Disable button when updating 2023-07-24 15:50:36 +08:00
Joshen Lim 843462063b Bring changes from master and resolve conflicts 2023-07-21 17:00:16 +08:00
Joshen Lim 72354f1a8a Update disk size update warning 2023-07-20 14:45:26 +08:00
Joshen Lim 022aa8b179 Revert disk size UI changes 2023-07-20 10:56:37 +08:00
Joshen Lim f9703e0fe3 Improve support form troubleshooting 2023-07-20 10:46:41 +08:00
Joshen Lim 3c4d04516e Bring changes from master and resolve conflicts 2023-07-18 16:21:23 +08:00
Joshen Lim 2c9b4915e9 Update 2023-07-18 13:24:34 +08:00
Joshen Lim 2ce0e71180 Bring in changes from master and resolve conflicts 2023-07-18 11:50:57 +08:00
Joshen Lim e3c10ec234 Add success state for SSL 2023-07-18 11:30:29 +08:00
Joshen Lim a9fc21be87 Merge branch 'chore/error-handling-refactor' into chore/all-requests-to-RQ 2023-07-17 17:34:38 +08:00
Joshen Lim 6ac1847dfd Fix 2023-07-17 17:30:25 +08:00
Joshen Lim 7ec5d04e18 Merge branch 'chore/error-handling-refactor' into chore/all-requests-to-RQ 2023-07-17 17:27:45 +08:00
Joshen Lim a07b762cab Refactor to change mutateAsync to mutate 2023-07-17 17:21:18 +08:00
Bobbie Soedirgo 05bcb55ed0 fix: pgbouncer update payload 2023-07-17 14:21:36 +08:00