Commit Graph
3869 Commits
Author SHA1 Message Date
Kevin Grüneberg 0ba347ba00 fix: subscription/addons links (#18663) 2023-11-02 20:28:14 +01:00
Terry Sutton 66f8f7400a Fix copy cell content in sql editor (#18677) 2023-11-02 16:40:21 -02:30
Alaister Young 9def73b269 fix: enums in other schemas (#18653) 2023-11-02 11:41:28 +00:00
Ivan Vasilov bdd849cd7e fix: Fix a render error in the foreign key selector (#18628)
The table in SelectorGrid wasn't migrated to the new column format of react-select-grid.
2023-11-01 12:31:30 +00:00
Stojan Dimitrovski 27f6781250 feat: restructure auth settings (#18496) 2023-11-01 11:27:40 +01:00
Kevin Grüneberg 11914a55de chore: remove old billing code (#18610) 2023-11-01 10:52:52 +01:00
Joshen Lim 5b7923d1d8 Update branch management UI (#18583)
* Wrap up scaffolding for updated branch management UI

* Update dynamic PR target

* Update API spec, fix next 13 issues with new branch UIs

* Fix pull requiests and all branches tabs
2023-11-01 07:26:08 +00:00
7f1de2f9fb feat: add content_sid variable (#18164)
* feat: add content_sid variable

* feat: update docs

* fix: update description and image

* Apply suggestions from code review

* fix: run prettier

* Update sid labels

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-31 17:10:51 +08:00
Joshen Lim 067a4dd4c2 chore/fix-table-editor-no-rows-state (#18604)
* Add comments

* Fix
2023-10-31 06:40:50 +00: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
Paul Cioanca dd72b01c7f chore: remove unnecessary keyword from upgrade dialog (#18499) 2023-10-30 18:42:51 +11:00
Jon Meyers dffa80e32c Chore: Update all instances of NextJS with Next.js (#18521)
Update all instances of NextJS with Next.js
2023-10-30 17:38:51 +11:00
Eskinder AberaandAlaister Young c7e634613e studio: fixed dropping enum types (#18526)
* studio: fixed dropping enum types

* fix prettier

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2023-10-30 17:32:25 +11:00
Pamela Chia 0831a22fe4 fix: update wording to compute size (#18572) 2023-10-30 16:44:07 +11:00
Pamela Chia e801102ce2 fix: add details to dpa description (#18571) 2023-10-30 16:38:33 +11:00
Terry Sutton f87e5d515c Fix/index links (#18538)
Fix links
2023-10-28 07:11:51 +00:00
Pamela Chia 27fe0f48f4 fix: allow hipaa request for all plans (#18516)
* fix: allow hipaa request for all plans
2023-10-27 15:14:44 +11:00
f16a311a4c chore: upgrade upgrade duration estimations, detection of legacy auth roles and dependent objects which might be dropped, light mode and timezone fixes (#18411)
* chore: upgrade duration estimations, detection of legacy auth roles and dependent objects which might be dropped, light mode and timezone fixes

* chore: docs + extra UX

* chore: revert accidental merge

* Use the new Alert component in ProjectUpgradeAlert.

* Migrate an alert in InfrastructureInfo to the new alert component.

* chore: apply suggestions from code review

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

* Fix the restart server button so that it's aligned to the dropdown button.

* Fix the icon colors on upgrading panel.

* Migrate all alerts to the new shadcn one.

* chore: change wording related to rollbacking upgrades


---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-26 13:58:35 +03:00
Ivan Vasilov d0a51a42da Make the button red when running a destructive query (#18493)
Make the button red when running a destructive query.
2023-10-26 11:56:19 +02:00
Kamil Ogórek 63571ea0ed ref: Use label instead of name for GitHub branches (#18471) 2023-10-26 10:48:11 +02:00
Div AroraandAlaister Young 9f49f570fa chore: add a note about DNS records and domain names (#18481)
* chore: add a note about DNS records and domain names

* prettier

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2023-10-26 12:56:13 +11:00
b1eafd3957 docs: Revamp storage docs (#18259)
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Fabrizio <fabri.feno@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
2023-10-24 23:46:55 +08:00
Joshen Lim 237fdb8db0 Chore/update branch selection UI (#18402)
* Set up branch selection UI in EnableBranchingModal to be text input

* Scaffold new CreateBranchModal

* Refactor Enable Branching Modal to use RHF and implement async validation

* midway updating create branch modal

* Update create branch modal with branch checking through text input

* Deprecate create branch side panel

* Remove unused import

* Small improvement to validation

* Remove console log
2023-10-24 18:29:42 +08:00
Kevin Grüneberg c4b20e114a feat: partner billing (#18386) 2023-10-24 11:33:53 +02: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
Greg Richardson 43875eacf4 Fix: Hide function doc link for triggers (#18344)
fix: hide function doc link for triggers
2023-10-23 21:35:07 -02:30
Joshen Lim 7e2cd927c3 Chore/api side panel fixes (#18369)
* Open documentation in new tab under Unable to find what you're looking for section

* Small fixes to address feedback
2023-10-23 13:25:14 +08:00
Joshen Lim a0416f22d8 SQL editor open last viewed snippet (#18350) 2023-10-23 13:17:59 +08:00
Pamela Chia ae4a8e092b feat: add documents tab in org settings (#18307) 2023-10-23 02:48:58 +11:00
Ivan Vasilov 2f3e628774 Fix the projects dropdown in the Org Audit Logs (#18312)
In the filter dropdown in Org Audit Logs, show projects from the currently viewed org.
2023-10-20 13:21:48 +08:00
Joshen Lim e670d4d04f Reinstate rate limit fields for token refresh and verify (#18328)
* reinstate rate limit fields for token refresh and verify

* Update max limit for rate limits
2023-10-20 10:37:22 +08:00
Kevin GrünebergandJoshen Lim ebebd56cd6 fix: edit/add column on db page (#18335)
* fix: edit/add column on db page

* Update tables.tsx

* Use useTable RQ hook in ColumnList to ensure that columns get updated after SidePanelEditor saves

* Lint import statements

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-19 22:44:19 +08:00
Ivan VasilovandJoshen Lim c18f021707 fix: When inserting a row, default value on optional fields was not working (#18319)
* When inserting a row, omit all null values so that they can be defaulted by the DB.

* Add test cases for generateRowObjectFromFields

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-19 14:52:29 +02:00
Kevin Grüneberg 9a8647a9ca feat: partner billing plan upgrades (#18311) 2023-10-19 11:47:28 +02:00
Joshen LimandAlaister Young 651138a88e Chore/improved error surfacing in sql editor (#18327)
* Improved error surfacing for SQL editor

* Remove unnecessary style

* Improve logic

* Update studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx

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

* Add guard

* Update studio/components/interfaces/SQLEditor/SQLEditor.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2023-10-19 15:12:14 +08:00
Alaister Young 79a886e6b7 chore: toast sync errors in side panel linker (#18167)
* fix: sync env vars in side panel linker

* organize imports

* toast env_sync_error

* remove id

* rename envSyncError

* update api.d.ts
2023-10-19 15:02:40 +11:00
e16a1b4850 updated the let to const (#18185)
Co-authored-by: shishiro <dheervathshishiro@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-10-18 17:03:48 -02:30
Joel Leeandjoel@joellee.org 911d0a4d47 feat: add LinkedIn OIDCProvider (#18225)
* feat: initial commit for linkedin

* fix: update docs

* chore: add italics on linkedin

* feat: add scopes image

* Apply suggestions from code review

* chore: run prettier

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
2023-10-18 21:02:02 +08:00
Joshen Lim 8be40f1fdb Chore/separate auth rate limits into its own page (#18265)
* Create new auth rate limits page

* Hook up RQ

* Remove rate limit fields from phone provider and SMTP settings

* Update default value and descriptions for token and verification rate limits

* Add ID to each form limit rate section

* Improve rate limit descriptions

* Hide token refresh and verify rate limits
2023-10-18 19:26:41 +08:00
Joshen Lim dd7a681dd7 Chore/standardize UI in database pages (#18300)
* Update database/tables to use SchemaSelector and add warning for protected schema

* Update database/triggers to use SchemaSelector and add warning for protected schema

* Update database/functions to use SchemaSelector and add warning for protected schema

* Update database/schemas to use SchemaSelector

* Small tweak to database/extensions page

* Update database/types to use SchemaSelector

* Add protected schemas warning for enumerated type and prevent edit/delete of types from protected schema

* Small style fix
2023-10-18 19:03:50 +08:00
Joshen Lim dc9f296a75 Escape single quote when commenting on enum type (#18289) 2023-10-18 18:31:24 +08:00
Kevin Grüneberg 6ef8195e8b feat: rework database health report disk space (#18023) 2023-10-18 10:51:27 +02:00
Joshen Lim cc6d188852 Chore/fix wrappers UI (#18293)
* Fix schema listbox in WrapperTableEditor crashing if schemas has not loaded

* Fix client side crashing when editing existing wrappers
2023-10-18 15:36:05 +08:00
Alaister YoungandJoshen Lim dec916bbb1 chore: better github installation flow (#18066)
* chore: better github installation flow

* Update studio/components/interfaces/Integrations/ProjectLinker.tsx

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

* Update studio/components/interfaces/Integrations/ProjectLinker.tsx

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

* remove organizationIntegrationId state

* open Install Github Integration in current window

* enabledBranching -> enableBranching

* adds loading state for ProjectLinker

* add new project connection opens linker

* filter connections by projectRef

* truncate github repo name

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-17 17:59:19 +11:00
Ivan VasilovandJoshen Lim dbccdf8beb Add support for scopes oAuth apps (#17976)
* 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 docs url to oauth scopes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-17 13:07:02 +08:00
Ziinc c4320bd0ae fix: api reports styling (#17739)
* fix: tweak padding of ReportWidget append

* feat: add link to logs explorer for routes tables, add collapsible toggle

* chore: formatting

* chore: remove table padding

* chore: fix padding around report item actions

* chore: formatting
2023-10-17 12:29:41 +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
Greg Richardson 90ae844a0b feat(hooks): update default edge function url (#18186) 2023-10-16 16:41:37 +08:00