Commit Graph
29119 Commits
Author SHA1 Message Date
Alaister Young 40322b20b6 fix: error on invalid mime types (#29337)
* fix: error on invalid mime types

* allow server to check mime type instead of client

* swap ?? for ||

* fix upload icon import
2024-09-17 07:40:40 +00:00
Joshen Lim 71a184738c Chore/more disk mgt UI updates (#29333)
* Only show new disk billing UI for AWS provider projects

* Fix DiskSpaceBar autoscaling should be fixed at 90%

* Change all MiB to MB and GiB to GB

* Prettier
2024-09-17 15:22:18 +08:00
Terry SuttonandJoshen Lim 7f0a216c40 Chore/fix move folder 2 (#29326)
* Conditional schema for move query

* Small change

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-17 10:26:00 +08:00
Charis f6768edde7 fix(cmdk): empty state shows up when it shouldn't (#29272)
* fix(cmdk): empty state shows up when it shouldn't

Can't remember why on earth I put this in a useMemo instead of a
useEffect...

* fix(command menu): switch branch command not showing up
2024-09-17 10:08:37 +08:00
Charis 8191842276 fix(docs): code in wrong file for react auth quickstart example (#29324) 1.24.08 2024-09-16 11:36:49 -04:00
Alaister Young 4506ebaa8c fix: github auth loading state (#29322) 2024-09-16 23:31:20 +08:00
Kamil Ogórek 7dd11016a4 ref: Use local state to improve GitHub integration security (#29321) 2024-09-16 16:46:33 +02:00
Joshen Lim cc9dca8825 Fix styling on SSL switch (#29320) 2024-09-16 11:25:23 -02:30
Inian 2fa4d27a80 Update 2024-05-01-pgvector-0-7-0.mdx (#29102) 2024-09-16 12:49:22 +02:00
Joshen Lim d61a4ab1db Fix type error CSV import (#29314) 2024-09-16 17:25:35 +08:00
Joshen Lim a7c25d3186 Chore/disk mgt UI updates (#29313)
* Add note regarding final usable IOPS

* Ensure that its GiB and not GB for disk mgt ui

* Adjust language of IOPS and throughput fields, use GiB and not TiB

* PRettier

* Add note for max throughput based on compute size

* Prettier

* Small fix
2024-09-16 15:47:55 +08:00
Joshen LimandAlaister Young 706f28563f Improve table editor pagination input field (#29245)
* Improve table editor pagination input field

* sync input value with actual page value

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-09-16 15:19:08 +08:00
Long HoangandAlaister Young df978a171a feat: prefill org and project name for first org/project (#29281)
* feat: prefill first org name and first project name

* chore: move prefill logic to new page

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-09-16 15:13:40 +08:00
Joel Lee d9c43db51d fix: move Auth error codes to top level (#29254)
* fix: move error codes to top level

* fix: remove stray newlines

* fix: merge all error sections into central location

* fix: add section heading above table
2024-09-16 07:46:40 +03:00
Charis 5d2bdc9efb refactor(docs): move last pages over to app router (#29293)
The end of the Great Migration is here!!!

Moves the last pages over, deleting pages like the FAQ that we don't use
and that contain duplicated information anyway.

Dev secret auth page URL had to change as App Router doesn't like the
leading underscores in the path.

Also fixes the not-found recommendations to use the proper Next.js
not-found page so it will return a 404 as it should. (I was under the
erroneous impression that I couldn't get the pathname in not-found.tsx,
that is not true, so this works better.)
2024-09-13 13:28:15 -04:00
Terry SuttonandIvan Vasilov e81beac7ec Replace 3.5 with 4o (#29145)
* Replace 3.5 with 4o

* Update

* Fix tests

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-09-13 14:15:22 -02:30
Kamil Ogórek 5e801a27f1 docs: Add persistent branch mention (#29292) 2024-09-14 00:14:16 +08:00
Charis 489502ea20 fix(redirects): remove unnecessary redirect (#29264)
We actually have a page for this now on the docs site, so we can remove
it.
2024-09-13 10:04:57 -04:00
Charis 11e19ff29f refactor(docs): convert self-hosting to app router (#29268)
* chore(docs,refs): prebuild self-hosted ref data

Pregenerate self-hosted ref data files, in the style of the client lib,
Management API, and CLI references. Preparatory step for migrating the
self-hosted references to App Router.

* refactor(docs): convert self-hosting to app router

Convert self-hosting reference pages to App Router.

* fix(docs,sitemap)
2024-09-13 09:45:55 -04:00
Charis 66e363e29d fix: last-changed script to handle toml frontmatter (#29208)
toml frontmatter was introduced in the troubleshooting entries, script
needed to be adapted to handle it
2024-09-13 09:35:27 -04:00
Etienne Stalmans 9e6a1891fb chore: additional information for HIPAA regarding SRM (#29285)
Clarify which AI features should be disabled/opted-out for HIPAA orgs.
2024-09-13 12:58:33 +02:00
Monica KhouryandJoshen Lim 63f2c8916f Chore: Add links to documentation to the Auth Providers page (#29259)
* Chore: Add links to documentation to the  Auth Providers page

* Update position of documentation button in provider form

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-13 15:02:51 +08:00
Joshen Lim 0c619de140 Fix sharing favorite queries (#29276) 2024-09-13 14:50:04 +08:00
Joshen LimandJonathan Summers-Muir 07699ad76b Chore/disk attributes mangement (#29219)
* init

* moar

* moat

* moar

* add read replica bar

* moar

* Update DiskMangementPanelForm.tsx

* added temp state mang to test

* moar

* Prepare react queries + data from API for disk mgt

* moat

* moat

* moar

* Update DiskMangementReviewAndSubmitDialog.tsx

* badge updates

* Hook up actual endpoints for E2E testing, but commented out for now for local dev

* Hook up real data + clean up files and add tests

* Update APi types

* Hook up E2E and fix all validation logic

* Only show new disk mgt UI for orb billing

* Add note on RRs 25% more disk size

* Add state to handle free plan for disk mgt

* Update increase disk size CTA in reports/database

* Fix file spelling errors

* Address feedback

* Fix missing framer motion package in ui

* Address comments

* Address feedabck

* Minor fix

* Use new disk util endpoint

* Remove unused import

* Address feedback

* More addressing of feedback

* Update pricing details for IO2 - no included disk size

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-09-13 11:51:51 +08:00
Joshen Lim 35ab4e8ada Support up to 5 RRs for XL compute and above (#29250)
* Support up to 5 RRs for XL compute and above

* Fix hardcode

* Small style fix
2024-09-13 11:28:22 +08:00
Lakshan Perera 72b1145547 fix: update date on edge functions blog post (#29273) 2024-09-13 10:03:31 +10:00
Lakshan Perera 49ebbb12ba chore: add edge functions faster smaller blog post (#29215)
* chore: add draft edge functions faster smaller blog post

* fix image url

* added OG image
2024-09-12 22:17:45 +00:00
Charis ed73af27d4 feat: command to query a table (#28683) 2024-09-12 18:12:06 -04:00
Jordi Enric 18b83e6e61 fix log explorer styles (#29267)
* undo change

* undo change in collections sidebar
2024-09-12 18:07:21 -02:30
Terry Sutton e4c2643bc4 Chore/index crash (#29258)
filter items with null colums
2024-09-12 16:53:10 -02:30
Jordi Enric 3d9b509fb1 Logs layout fixes (#29249)
* fix layout shift on refresh, fix scroll issues in side panel and table

* fix height when theres no results
2024-09-12 20:58:51 +02:00
Charis fdfa985022 feat(docs): add db table for troubleshooting entries (#29256)
Add a DB table for troubleshooting entries. This will be used to support
persistent relationships between GitHub troubleshooting entries and docs
site troubleshooting entries.
2024-09-12 13:21:20 -04:00
Sarthak Gupta 681f95b21a docs: fix the redirectUrl for preview deployments in vercel (#29149)
* docs: use <team-or-account-slug> in redirectUrl of vercel
2024-09-12 15:49:40 +00:00
Charis 5e4e7d521b fix: cmdk force-mount (#29233)
We were hacking around force-mount behavior because it wasn't working in
a previous version of cmdk. cmdk version was bumped a few weeks ago
which fixes force-mount.
2024-09-12 10:03:43 -04:00
Kamil Ogórek 7ac5732f1e blog: Update Deploy button in Vercel Partnership blogpost (#29251) 2024-09-12 15:08:56 +02:00
Jordi EnricandCharis 2ab2f0e26b warehouse fixes (#29212)
* fix clicking on sidebar item opening it

* update filters after curl is used

* fix refresh not using latest date

* add fallback when result is empty

* fix not showing latest results when pressing refresh

* cleanup

* Update apps/studio/components/interfaces/DataWarehouse/WarehouseCollectionDetail.tsx

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

* simplify copy, comment out search temporarily

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-09-12 13:48:43 +02:00
Thomas 93053bbb07 fix: usage summary for stripe org [GEN-10963] (#29224)
fix: usage summary for log drains and third party users for stripe org
2024-09-12 13:48:22 +02:00
Ivan Vasilov a35f7d7484 chore: Bump various dependencies with vulnerabilities (#29226)
* Bump path-to-regexp to fix a vulnerability.

* Bump micromatch.

* Bump svelte.

* Bump webpack.
2024-09-12 11:05:24 +02:00
Long Hoang db35ef9f3c feat: show new org page on first login for subset of users (#29188)
* feat: show new org page on first login for subset of users

* chore: keep local storage key in constants
2024-09-12 16:21:01 +08:00
Tyler ea5e57f620 blog: Add keyboard visual to the LW12 hackathon article (#29237)
* Add keyboard visual to the LW12 hackathon article

* run formatter
2024-09-12 09:23:33 +03:00
Oliver RiceandCharis 5deecaa44c Add docs for pgmq (#29232)
* add docs for pgmq

* make prettier happy

* Update apps/docs/content/guides/database/extensions/pgmq.mdx

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

* create extension -> create schema

* pgmq is not relocatable

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-09-11 20:12:56 +00:00
Oliver Rice 88e2bc55d2 Add docs for pg_partman extension (#29206)
add pg_partman docs
2024-09-11 14:53:06 -05:00
Zafranudin ZafrinandCharis 91e65cce36 Update managing-config.mdx (#29225)
* Update managing-config.mdx

* Update apps/docs/content/guides/cli/managing-config.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-09-11 17:57:41 +00:00
Charis 33ede6f893 refactor(docs): convert management api reference to app router (#29146)
* chore(docs): preprocess management api specs

In preparation for App Router migration of Management API reference,
preprocess the Management API spec (both OpenAPI spec and common
sections), and write the processed data to file, in the style of the
other pregenerated reference data.

Details:

- Split reference section generation into separate functions for SDK, CLI, and API
- Add new function to generate API reference sections from OpenAPI spec
- Introduce mapEndpointsById function to create a map of API endpoints
- Update run function to execute all reference generation tasks in parallel
- Import necessary new dependencies and types

* refactor(docs): migrate management api reference to app router

* fix(docs): statically build management api reference page

* fix(docs): minor styling issues
2024-09-11 13:53:45 -04:00
Stojan DimitrovskiandJoel Lee 78deede996 feat: update email rate-limit notice to inform about template change restrictions (#29087)
* feat: update email rate-limit notice to inform about template change restrictions

* apply suggestion from @J0

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>

---------

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-09-11 19:26:34 +02:00
Terry SuttonandMohammed Yasin Mulla 3681003181 style: change margin value for the documentaion button in PolicyEdito… (#29229)
style: change margin value for the documentaion button in PolicyEditorModal

Co-authored-by: Mohammed Yasin Mulla <yasinspy1999@gmail.com>
2024-09-11 14:39:55 -02:30
cf04f86ab7 Add RLS policy template to "Enable users to view their own data only" (#28778)
* Add RLS policy template to "Enable users to view their own data only"

* fix: sql definition for policy

* Update apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/PolicyEditorModal.constants.ts

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-09-11 17:02:13 +00:00
Joshen Lim 548e32cb3c Project filter status, active will only show active projects, not all (#29223) 2024-09-11 20:43:05 +08:00
Joshen Lim 9e1d6f909d Chore/sql editor fixes (#29204)
* Add validation for same folder name

* Add validation in move query modal for folder name

* Add validation in move query modal for folder name min length 1

* Handle rename folder failed due to duplicate folder name

* Fix renaming folder to a name that already exists
2024-09-11 14:03:05 +08:00
Joshen LimandAlaister Young 193e1531e8 Fix weird wide resizeable panel if load table editor or sql editor from a fresh browser session (#29205)
* Fix weird wide resizeable panel if load table editor or sql editor from a fresh browser session

* Update apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-09-11 13:47:09 +08:00