Commit Graph
239 Commits
Author SHA1 Message Date
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
Joshen Lim 6eb02d0d6d Clean up auth log out testing (#18588)
* Remove logrocket

* Update package-lock
2023-10-31 09:53:32 +08:00
Greg Richardson e207378f2d Fix: search edge function URL (#18416)
fix: search edge function url
2023-10-24 10:51:14 -06:00
Ivan Vasilov a7f88c8611 chore: Run prettier on studio/data/api folder (#18261)
* Remove studio/data to not be ignored when running prettier.

* Run prettier format on the whole repo.

* Run prettier format after each codegen.
2023-10-17 10:50:48 +02: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
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
dependabot[bot]andIvan Vasilov 71412180d5 chore(deps): bump postcss from 8.4.24 to 8.4.31 (#17915)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.24 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.24...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-04 08:43:06 +00:00
1281a9b9ce turbo type-check command and GHA (#11658)
* turbo type-check command and GHA

* Update quality.yml

* Update package.json

* Update packages/common/package.json

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>

* Run prettier.

* Updating package-lock.

* Fix all prettier errors.

* Add type-check command to studio. Remove the one from common package since it depends on ui package and cannot be built at the moment.

* Rename all commands to typecheck (without -) because it's easier to type.

* Add cache and concurrency to the typecheck github job.

* Rename the quality workflow to typecheck.yml.

---------

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-04 17:12:05 +11:00
dependabot[bot] fc0771ec79 Bump graphql from 16.6.0 to 16.8.1 (#17627)
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 09:58:16 +02:00
Joshen Lim e52c39a912 Merge pull request #16767 from supabase/chore/add-branch-dropdown-in-nav-v1
Add branch dropdown in nav v1
2023-09-21 14:48:40 +08:00
Joshen Lim fd1878a614 Update 2023-09-21 14:36:25 +08:00
Greg Richardson 7d8d5b9146 Merge pull request #17570 from supabase/fix/sql-ai-repair-broken-json
AI SQL Editor: Auto repair broken JSON returned from OpenAI model
2023-09-20 12:11:17 -06:00
Joshen Lim 23e6cd7935 Debug tool for internal staff 2023-09-20 16:10:00 +08:00
Greg Richardson 1d5d73a18b fix(sql-editor): repair broken json returned from openai model 2023-09-19 14:08:15 -06:00
Kevin Grüneberg ae0c1c9d0b chore: use new aws-sdk lib 2023-09-14 00:12:38 +02:00
Kevin Grüneberg dd626768fd build: improve build times 2023-09-13 23:39:06 +02:00
Joshen Lim 86e51ddb2f UI fixes 2023-09-08 14:41:06 +08:00
Ivan Vasilov 2d422ce9f4 Bump shared-types. 2023-09-05 17:11:01 +02:00
Terry Sutton 120e01ff25 Bump shared types 2023-08-31 14:50:10 -02:30
dependabot[bot] e093de5bb2 Bump semver from 6.3.0 to 6.3.1
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 10:42:47 +00:00
Greg Richardson f76e814be0 Merge branch 'master' into feat/ai-sql-editor 2023-07-31 16:53:29 -05:00
Kamil Ogórek 287823be4c feat: Add Schema Visualizer to Supabase Studio 2023-07-26 09:48:41 +02:00
Greg Richardson 82d1055eb5 Merge branch 'master' into feat/ai-sql-editor 2023-07-19 14:01:35 -06:00
Greg Richardson e2e425c6e4 feat(sql-editor): ai sql error handling 2023-07-14 11:57:03 -06:00
Greg Richardson 871eac8ec1 feat(sql-editor): sql ai api 2023-07-14 10:42:30 -06:00
Alaister Young 4579c3e04b feat: OpenAPI codegen 2023-07-13 12:29:15 +08:00
Greg Richardson e7b9b0e077 feat(sql-editor): framer motion 2023-07-07 15:34:36 -06:00
Greg Richardson d9634d0dfe feat(sql-editor): inline widget poc 2023-06-30 13:59:29 -06:00
Terry Sutton 40d3e0b346 Merge branch 'master' into chore/upgrade-to-node-18 2023-06-06 15:05:10 -02:30
Jonathan Summers-Muir 074248eaa6 feat: start adding sticky header 2023-05-31 18:00:54 +01:00
Terry Sutton af01b02267 Merge branch 'master' into chore/upgrade-to-node-18 2023-05-30 14:49:02 -02:30
Long Hoang 8f11fd570c Bump shared-types version for linked button type 2023-05-29 16:31:10 +08:00
Alaister Young 3523cb0f3f bump vercel 2023-05-29 14:53:07 +10:00
Alaister Young 0ecf4b65f1 fixes studio and www builds 2023-05-29 14:42:50 +10:00
Alaister Young e522368842 uses syncpack to auto sync dependencies 2023-05-29 14:20:44 +10:00
Alaister Young d1a8aaac3f manual dependency version changes 2023-05-29 14:16:07 +10:00
Alaister Young 5a67c2b376 fix: storage bucket settings in self-hosted 2023-05-10 15:17:03 +10:00
Francesco Sansalvadore 82951ed7ff chore: remove browser-session-tabs 2023-05-09 08:56:03 +02:00
phamhieu 5ab4f79a31 feat: send browser session on telemetry call 2023-05-08 09:47:00 +07:00
Alaister Young 281b02b703 chore: add eslint-config-next 2023-04-17 16:40:33 +10:00
Div Arora dbd22eaf13 Merge pull request #13586 from supabase/dependabot/npm_and_yarn/xml2js-and-aws-sdk-0.5.0
chore(deps): bump xml2js and aws-sdk
2023-04-12 15:54:42 +08:00
Alaister Young 7331865890 Merge pull request #13445 from supabase/feat/check-constraints
feat: check constraints
2023-04-12 17:00:12 +10:00
Alaister Young c1dd6d91b7 Merge branch 'master' into feat/check-constraints 2023-04-11 19:51:53 +10:00
Alaister Young e10cf3ebfd adds updating of check constraints 2023-04-11 19:29:30 +10:00
Greg Richardson 28b92ffbf6 feat(cmdk): generate titles for sql ai code snippets 2023-04-10 16:12:09 -06:00
dependabot[bot] 5418a6e04e chore(deps): bump xml2js and aws-sdk
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) to 0.5.0 and updates ancestor dependency [aws-sdk](https://github.com/aws/aws-sdk-js). These dependencies need to be updated together.


Updates `xml2js` from 0.4.19 to 0.5.0
- [Release notes](https://github.com/Leonidas-from-XIV/node-xml2js/releases)
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/compare/0.4.19...0.5.0)

Updates `aws-sdk` from 2.1349.0 to 2.1354.0
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1349.0...v2.1354.0)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: aws-sdk
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 19:46:31 +00:00
Terry Sutton 117c8e6d7c Merge branch 'master' into feat/cmdk-dashboard 2023-04-06 10:29:18 -02:30
Alaister Young 0e63778668 feat: materialized views 2023-04-05 15:10:01 +10:00
Alaister Young 18c309032f Merge branch 'master' into feat/table-definitions 2023-04-04 14:47:23 +10:00