Commit Graph
1855 Commits
Author SHA1 Message Date
Saxon FletcherandIvan Vasilov d6245f4c08 deploy edge function mutaton (#33371)
* deploy edge function mutaton

* update url

* use openapi-fetch POST in the deploy mutation.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-02-06 08:08:24 +00:00
Jonathan Summers-MuirandJoshen Lim dc9376106e Feat/header bar (#33353)
* Update AppBannerWrapper.tsx

* full width header layout

* layout fixing for sign in pages

* update

* Fix

* Add defaultSize prop to resizablePanel

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-06 15:46:39 +08:00
Jonathan Summers-Muir 3dd5bd8b25 Chore/mobile sheet app state (#33361)
* init

* Update app-state.ts

* Update ProjectLayout.tsx
2025-02-06 15:10:35 +08:00
Beng Eu c2547eec4f fix: hide pnpm update message, it's confusing since the pnpm version is locked; update to pnpm 9.15.4 (#33232) 2025-02-06 14:57:01 +08:00
Joshen Lim 898fd44eca Support resetting query performance report on read replica (#33346) 2025-02-06 14:26:48 +08:00
Alaister Young a6c8165abf chore(studio): cache favicon (#33372)
* chore(studio): cache favicon

* updates rules

* add to docs and www
2025-02-06 14:17:31 +08:00
Terry SuttonandCharis 4e12a1f5a2 Chore/autofix views (#33363)
* Autofix security status of views

* Update apps/studio/components/interfaces/TableGridEditor/ViewEntityAutofixSecurityModal.tsx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-02-05 18:21:39 +00:00
Pamela Chia ff25c9c24c chore: add tracking on side panel open (#33349) 2025-02-05 22:27:09 +08:00
4649bf911e feat: new api keys [hidden] (#33252)
* feat: add basic api keys ui

* init JWT secrets. rough

* Update JWTSecretKeysTable.tsx

* added some info hover cards.

• found this this is probably the wrong direction
• will create a new page for next iteration.

* init new version

* add illustrations

* Update JWTSecretKeysTablev2.tsx

* chore: delete API key now works

* some style changes

* added better tables

* Update JWTSecretKeysTablev2.tsx

* add public JWT dialog

* moar

* adding sub layout in

* starts adding in a ButtonGroup

* about to make into separate components

* added quick copy to project loading screen

* build state

* basic loading

* confirm dialog and loading states

* switched for better loading experience

* moved styles of Input to InputVariants

* issue with ref type

* loading,error and rest states

* new loading states

* alt l;ayout

* add group

* updated error states for permissions

* copy button behaviour for secret keys

* delete dialog

* Update QuickKeyCopy.tsx

* fix type errors

* Update JWTSecretKeysTablev2.tsx

* update menu to hide pages

* Update SettingsMenu.utils.tsx

* Update resource-query.ts

* remove old file

* moved JWT secrets to use valtio

* Update api-keys-query.ts

* fix typecheck

* rename files

* remove JWT stuff

* revert file

* remove more JWT stuff

* Update package.json

* Update pnpm-lock.yaml

* Update ProjectLayout.tsx

* Update PublishableAPIKeys.tsx

* Update api-keys-query.ts

* refactor api-keys-query

* Update SettingsMenu.utils.tsx

* Some clean up

* more clean up and refactor

* Update APIKeyRow.tsx

* Update LayoutHeader.tsx

* resolve comments

* Update CreateSecretAPIKeyModal.tsx

* Update APIKeyRow.tsx

* Add perms check for delete API keys

* Remove console log

* Delete ConnectDialog.tsx

* use project ref

---------

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-05 15:21:10 +01:00
Joshen Lim c4f93573f5 Dont clear search when clicking on search result SQL editor (#33351) 2025-02-05 21:59:34 +08:00
Joshen Lim d81832c549 Check for value before converting bytea to hex in ForeignKeyFormatter (#33355)
minor fix
2025-02-05 21:44:04 +08:00
Jonathan Summers-Muir 467b0de953 chore: move visible state for ongoing queries to global app state (#33354)
* chore: move visible state for ongoing queries to global app state

* removed old code

* Apply suggestions from code review
2025-02-05 20:18:13 +08:00
Jordi Enric f956627e8d logs filters overhaul (#33323)
* logs filters overhaul

* fix clear btn

* add tests

* add missing changes to tests
2025-02-05 12:17:30 +01:00
Joshen Lim 357936f9eb Only send required data for reset password, magic link and send OTP (#33352) 2025-02-05 18:59:59 +08:00
Alaister Young 199223065c chore(www): static assets cdn (#33344)
* chore(docs/www): static assets cdn

* use vercel.json

* Ivan is the best

* revert docs changes

* remove r2 env vars from design-system
2025-02-05 18:04:41 +08:00
Joshen Lim 7c9e450c0f Optimize auth users GH avatar img fetching (#33343)
* Optimize auth users GH avatar img fetching

* update

* Add try catch
2025-02-05 17:03:08 +08:00
Joshen Lim f64b747e24 Support bytea data type in table editor (#33312)
* Support bytea data type in table editor

* Fix rendering bytea in reference record peek

* More fixes
2025-02-05 16:49:21 +08:00
Joshen Lim ecb71a9495 Fix download CSV and copy as markdown for JSON data (#33342) 2025-02-05 16:38:55 +08:00
Alaister YoungandKevin Grüneberg b62a4af619 chore: static assets cdn (#33304)
* chore: static assets cdn

* fix build command for vercel

* try a different aws setup script

* use a specific aws cli version for r2 compat

* clean up local static files

* use more env vars

* Update upload-static-assets.sh

* Update turbo.json

* Update turbo.json

* moar

* Update upload-static-assets.sh

* Update upload-static-assets.sh

* hard disable

* Update upload-static-assets.sh

* Update next.config.js

* Update upload-static-assets.sh

* add supabase assets url to image src urls

* add site name to turbo.json env vars

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2025-02-05 05:50:36 +00:00
Bobbie Soedirgo 02f7e75b4d fix: use vault functions for creating/updating secrets (#33337) 2025-02-05 13:24:52 +08:00
Jordi Enric 216df9b1eb fix: rename "No issues" to Healthy (#33311)
rename no issues to healthy
2025-02-04 13:03:47 +01:00
Joshen Lim a7f872dd4e Set stale time for users infinite query on auth/users to infinite (#33308) 2025-02-04 19:53:35 +08:00
Alexandre VilleneuveandAlaister Young b122914b12 chore: convert logs.all endpoints to new fetchers (#33097)
* fix(logs): fix logs api request

* chore: convert logs.all endpoints to new fetchers

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-02-04 12:14:01 +01:00
Jonathan Summers-Muir 74d3a65747 Fix/secret api badge (#33301)
* fix FE-1366

fixes FE-1366

* Update DisplayApiSettings.tsx
2025-02-04 17:31:29 +08:00
Joshen Lim 63d3627d7f Use portal for reference record peek (#33294)
* Use portal for reference record peek

* Lint
2025-02-04 17:10:17 +08:00
Jordi Enric 59627c181f fix margin top for error (#33198)
* fix margin top for error

* fix spacing to align w header
2025-02-04 15:58:21 +08:00
Joshen LimandAlaister Young cc6c6bf096 Fix unnecessary requests in auth users (#33269)
* Fix unnecessary requests in auth users

* fix hasNextPage

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-02-04 15:45:13 +08:00
Saxon FletcherandJoshen Lim 8cc3139b22 fix success message in query block (#33250)
* fix success message in query block

* Small clean up to remove dupe empty results component

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-04 13:33:09 +10:00
Joshen LimandJonathan Summers-Muir a71bab0f1c Warn for certain symbols in database passwords (#33210)
* Prevent certain symbols in database passwords

* Update

* Update copy

* Address feedback

* Update copy

* Update apps/studio/components/interfaces/ProjectCreation/SpecialSymbolsCallout.tsx

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

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2025-02-04 11:05:55 +08:00
Joshen Lim 5024df75c0 Refactor auth users the way we retrieve providers (#33258)
* Refactor auth users the way we retrieve providers

* Fix

* Fix
2025-02-04 10:38:12 +08:00
Joshen Lim d704b5fcf0 Fix database tables not showing FKs on first panel open (#33256) 2025-02-04 10:19:12 +08:00
Terry Sutton c1098ebe4f Chore/esc cron names (#33219)
* Allow apostrophe char

* Encode cron job urls
2025-02-03 16:15:23 -03:30
Terry Sutton e3eab93fdd Fix scrolling results in sql editor (#33277) 2025-02-03 16:07:56 -03:30
Joshen Lim 0ff75441d2 Chore/fix cancel button in data api settings (#33215)
* Fix cancel button in Data API settings

* Remove incorrect comments
2025-02-03 23:58:19 +08:00
Joshen Lim fb9ff162b2 Shift updating of dbregion from useDefaultRegionQuery to onSuccess and onError (#33212)
* Shift updating of dbregion from useDefaultRegionQuery to onSuccess and onError

* Clean up

* revert

* Add retry false

* Revert useEffect changes

* Fix
2025-02-03 23:24:37 +08:00
Pamela ChiaandJoshen Lim b6cefe5c25 Feat/add studio events (#33148)
* add tracking for help, feedback, import data, and example clicked

* clarify www pricing plan and add run sql query event

* add pricing plan cta tracking

* Add one more event to Import data from CSV

* Consistent copy

* Clean up and refactors

* Some fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-03 20:08:30 +08:00
Kamil Ogórek 5f3594bb8f misc: Regenerate openapi spec (#33263)
* misc: Regenerate openapi spec

* ref: Use OrganizationRoleResponse and remove Version header
2025-02-03 11:47:12 +01:00
Joshen Lim 1ca992100a Add default array for cron http headers (#33255) 2025-02-03 15:55:59 +08:00
Joshen Lim 02d943e9d6 Add refresh button to reports (#33211)
* Add refresh to custom reports

* Add refresh button to API and storage reports

* Add refresh button to database report

* Clean up database report

* Clean up custom report
2025-02-03 11:59:28 +08:00
Joshen Lim 7dc467d843 Hide auth header from invoke command if enforce jwt is not true (#33209) 2025-02-03 11:36:04 +08:00
Joshen Lim 710e1c871a Fix custom report charts (#33199) 2025-01-31 16:10:41 +01:00
Ivan Vasilov 9d573abfc3 chore: Bump sentry to fix warnings (#33201)
Bump sentry.
2025-01-31 11:34:19 +00:00
Joshen Lim 956c2a9708 Show SSO badge if member is SSO (#33197) 2025-01-31 10:51:51 +08:00
Joshen Lim 39d56c1f67 Fix padding in organization delete panel (#33196) 2025-01-31 10:44:49 +08:00
Greg Richardson 1106bfea32 fix: ai prompt to discourage security_invoker=on for table creations (#33207) 2025-01-30 17:08:15 -07:00
Terry Sutton bc74c12b58 Chore/fix webhook params (#33155)
* Parse params with quotes

* Simplify function

* Fix headers as well
2025-01-30 11:24:14 -03:30
Ivan Vasilov 6f3c46f5da fix: Change the healthcheck route for docker Studio (#33180)
* Fix the healthcheck for the docker image for studio.

* Various fixes related to the self-hosted environment.
2025-01-30 00:31:52 +01:00
Ivan Vasilov 03515ee277 fix: Push the user to blank table editor when switching schemas (#33122)
* Push the user to blank table editor when switching schemas.

* Add missing import.
2025-01-29 14:46:45 +01:00
dependabot[bot] 0014d97f55 chore(deps): bump @sentry/nextjs from 8.34.0 to 8.49.0 (#33158)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 8.34.0 to 8.49.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/8.49.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.34.0...8.49.0)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 14:45:45 +01:00
ThomasandIvan Vasilov b60a4df059 fix: changed overflow-x from scroll to auto for Grid footer (#32916)
fix: Changed overflow-x from scroll to auto

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-29 09:52:35 +01:00