Commit Graph
26786 Commits
Author SHA1 Message Date
Ivan Vasilov 0e6dc8ffd9 fix: Users are unable to delete some saved queries (#20341)
The comparison was with with the wrong owner id.
2024-01-11 12:19:05 +01:00
Kevin Brolly 3fadccc175 Removed deprecation dates for Supavisor from docs and pushed users to GH (#20339) 2024-01-11 18:28:47 +08:00
Bobbie SoedirgoandCharis fe6ac153c3 docs: pgaudit.log_parameter is not supported (#20184)
* docs: pgaudit.log_parameter is not supported

* Update apps/docs/pages/guides/database/extensions/pgaudit.mdx

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

* Update apps/docs/pages/guides/database/extensions/pgaudit.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-11 18:10:04 +08:00
Hieu 70463530ba feat: support storage OAuth scopes (#20225) 2024-01-11 17:06:38 +07:00
Joshen Lim 83285301a1 Shift notice banner logic to context (#20337)
* Init shift notice banner logic to context

* Fix

* Remove console log
2024-01-11 20:41:23 +11:00
Joshen LimandAlaister Young d609d0d594 Support emptying bucket (#20335)
* Support emptying bucket

* Update apps/studio/components/ui/ConfirmationModal.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-11 16:59:51 +08:00
Joshen Lim b4023b6eb2 Chore/banner for ipv4 deprecation notice (#20334)
* Add LayoutWrapper component to DRY the layout height change when incident banner is toggled

* Add notice banner for pgbouncer and ipv4 deprecation
2024-01-11 16:20:38 +08:00
angelico 8f2ad8bd07 fix: check for major DB version as well (#20332) 2024-01-11 15:44:10 +08:00
Joshen LimandAlaister Young 199dd37ac8 Offer select closest region CTA in project creation (#20262)
* Offer select closest region CTA in project creation

* Update region select CTA to use cloudflare and support all regions

* Auto select region, remove CTA

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

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-11 15:23:34 +08:00
Joshen Lim 5251273fba Chore/notifications v2 design fixes (#20305)
* Fix icons in popover

* Show archive button on hover

* Update NotificationRow warning and critical icons

* Update icons

* Fix
2024-01-11 11:21:25 +08:00
karloandCharis f58597ae5c Update Query Performance docs (#20319)
* Update Query Performance docs

* Ran prettier for the failing check

* Update apps/docs/pages/guides/platform/performance.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-11 05:29:25 +08:00
Charis c25fbce9a2 fix missing www dep (#20304) 2024-01-10 17:28:51 +01:00
Jordi Enric 212e9416af Feature: allow users to copy the selected cell value (#20261)
* allow users to copy the selected cell value

* run prettier

* refactor to useRef
2024-01-10 15:00:29 +00:00
Charis 94a07fe724 remove or warn about getSession calls in docs (#20308) 2024-01-10 14:30:26 +00:00
Alabhya Jindal accaac81bb Update LICENSE (#20227) 2024-01-10 13:34:41 +01:00
Joshen Lim 444c616aa2 Include columns when fetching tables in database tables (#20306)
* Include columns when fetching tables in database tables

* Remove log
2024-01-10 12:19:22 +00:00
Thomas bd808b6fb4 chore: Improves add-on upgrade pages (#20263)[GEN-7453]
* Display customized billling-related text based on whether billing is done by Supabase or partner

* Add warning to PITR page about cancellation of scheduled subscription change

* Remove outdated code for project-based billing
2024-01-10 12:49:49 +01:00
Tom Ashley 64d0d332de fix: broken link for encryption key (#20303) 2024-01-10 11:35:35 +00:00
Charis 10da8f3f31 Revert "feat: display api urls and keys instead of placeholders in do… (#20302)
Revert "feat: display api urls and keys instead of placeholders in docs (#19672)"

This reverts commit 0e8ee2e890.
2024-01-10 05:45:44 -05:00
Francesco SansalvadoreandAlaister Young c9a17980bd Upgrade octokit (#20161)
upgrade octokit dependencies in www

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-01-10 11:27:21 +01:00
Thor 雷神 SchaeffandCharis 32771601ce feat(quickstarts): Laravel and Rails. (#20264)
* feat(quickstarts): Laravel and Rails.

* Apply suggestions from code review

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-10 07:48:05 +00:00
ef651aa9ba chore: Migrate ColumnsStore (#20032)
* Add react-query mutations for columns APIs.

* Use the new delete column mutation.

* Remove the column store and replace all its methods with mutations from react-query.

* Fix type errors.

* Move some the meta store methods to be pure functions in sidepanel.utils.

* Move the createColumn and updateColumn out of the metaStore.

* Some refactors and fixes

* Shift query invalidation when deleting column to mutation file instead of component file

* reorder some code for my sanity

* remove some @ts-ignores

* remove more @ts-ignores

* Update apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.utils.ts

* Fix ForeignKeyFormatter crashing client

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-10 15:20:18 +08:00
Joshen Lim 250bdcb43b Small CLS update (#20296) 2024-01-10 06:56:00 +00:00
6d121f1546 feat(dashboard): Add column-level privileges management (#13745)
* add privileges page

* fix

* fix: could have both global and column-specific privileges + is global per privilege

* Trigger Build

* load permissions data for current table only

* fix style for light theme

* add a guide to Privileges

* Update apps/docs/pages/guides/auth/column-level-security.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/auth/column-level-security.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update doc

* Update docs

* progress moving privileges to pg-meta

* split up column privileges and table privileges

* adds loading state to toggles

* Add feature flag, move from auth section to database section

* Cleanup

* Update meta store table lists, add header warnings, update docs

* Add alert if any columns have privilages

* Spelling

* fix api.d.ts

* fix link

* move to auth pages

* only show editable schemas

* limit roles

* auto select first table

* remove roles meta store

* inline toggling

* apply privileges all at once

* add preview and use new switch component

* fix spelling

* handle long column names

* warn users about losing changes when changing schemas/tables

* remove strange docs link

* fix feature preview after reload

* use shadcn select

* Update select.tsx

* Minor UX fixes

* Update toast

* Update feature preview image for cls

* update cls warnings

* update warnings

* fix toast message

* Add migration alert to preview page

* Add link to CLS from feature preview, and add empty state on CLS page if feature preview is not enabled

* Shift local storage keys hard code to lib/constants

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-10 17:39:03 +11:00
Austin Tran 8fbf22a9d3 fix: remove mfa factor is broken (#19734)
* chore: fixed issue when remove mfa factor is broken

* chore: use auth to remove mfa users

* chore: remove unuse code
2024-01-10 06:19:34 +00:00
Charis 88cd9076df fix: add missing www dependency (#20279) 2024-01-10 13:57:15 +11:00
Matej ČernýandCharis 4c96a00e3a docs: fix example github action in generating-types.mdx (#20292)
Fix example github action in generating-types.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-10 02:29:15 +00:00
Bo Lu 26a6d66329 docs: pg_stat_statements doc prettify and example bug fixing (#20291)
fix: pg_stat_statements doc prettify and example bug fixing
2024-01-10 12:51:22 +11:00
Charis accc27df66 fix error from missing env var in local (#20288) 2024-01-09 17:28:50 -05:00
CharisandJoshen Lim 0e8ee2e890 feat: display api urls and keys instead of placeholders in docs (#19672)
**feat:** adds a component to display API endpoints and anon keys in docs if user is authenticated
makes the getting started UX smoother so users don't have to jump back and forth between docs and trying to find their keys in dashboard

**out of scope:** it would be very cool to display these directly in the code blocks. I looked into it and it would require quite a bit of work forking and modifying code-hike, so out of scope for now

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-09 15:00:31 -05:00
Oliver Rice 333b8a3256 Remove original wrappers post from plantpg feed b/c it has multiple a… (#20112)
remove original wrappers post from plantpg feed b/c it has multiple authors (not allowed by planetpg)
2024-01-09 16:04:40 -03:30
Abishya d7a2048c6d fix: move SSO/SAML from Enterprise to Teams (#20273)
We are moving this feature- SSO/SAML from Enterprise to Teams as it is a Teams plan feature
2024-01-09 18:42:12 +01:00
Ivan Vasilov b6d8e770fa fix: Don't fetch columns when fetching tables by default (#20157)
* Only fetch the tables from the required schema in the MetaStore.

* Don't include the columns in the getTables API call unless a flag is passed.

* Use the new flag in the ForeignKeySelector.

* Columns should be included for the schema visualizer.

* Address comments.
2024-01-09 17:39:40 +01:00
Thomas b2e9a6e21f chore: Mention Fly.io explicitly on plan upgrade page (#20274)
chore: Mention Fly.io explicitly on plan upgrade page [GEN-7430]
2024-01-09 17:16:51 +01:00
Ramiro Nuñez DosioandFrancesco Sansalvadore dcde591c7d Blog post: Elixir Clustering using Postgres (#20236)
* Blog post: Elixir Clustering using Postgres

* Create author, add diagrams.

* Fix date.

* Add author and images.

* Add og and final updates.

* prettify blog post

* add space to blog post link

* prettify authors.json

* Add image with lightmode.

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-01-09 15:43:48 +00:00
Ivan Vasilov 3b00e33de7 fix: Use the profile id when checking if the snippet is by the current user (#20166)
Use the profile id when checking if the snippet is by the current user.
2024-01-09 10:43:50 -03:30
Chris GwilliamsandInian 855c7b5030 Update docs for Supavisor launch (#20234)
* update arch docs to mention supavisor

* update docs to mention supavisor where relevant (in place of pgbouncer)

* update supavisor conn string

* trigger checks

* prettier

---------

Co-authored-by: Inian <inian1234@gmail.com>
2024-01-09 22:02:13 +08:00
Jordi Enric 3ee9e8fb28 Chore/update tailwind 3.4.1 (#20268)
* upgrade tailwind

* add package-lock

* upgrade in ui and config packages
2024-01-09 14:50:13 +01:00
Joshen Lim 5a8864e411 Truncate org and project name in notifications v2 if too long (#20259) 2024-01-09 16:12:01 +08:00
Monica Khoury a5033d79ec Doc: fix cpu limit in edge functions debugging guide (#20258)
Fix: cpu limit in edge functions doc
2024-01-09 09:09:37 +01:00
Matthew Enderle 6b6053f641 Update auth-email.mdx (#20256)
Corrected syntax error.
2024-01-09 05:59:03 +00:00
Joel Lee d5c6381d90 feat: update password strength requirements (#20251)
Update passwords.mdx
2024-01-09 10:28:37 +08:00
Charlotte 4612e80c3d Update Login with Google docs: correct link to Expo installation docs (#20247)
Update auth-google.mdx correct expo installation documentation

Issue reference: https://github.com/supabase/supabase/issues/20228
2024-01-08 23:16:06 +00:00
Monica Khoury 25280f18d9 Docs: Improve edge functions debugging guide (#20107)
* Docs: Improve edge functions debugging guide

* Add: reviewers suggestions
2024-01-08 21:40:31 +01:00
Charis 3b781ab6bb update and streamline all the docs readmes (#20201) 2024-01-08 13:49:42 -05:00
Austin Tran f8eda80924 fix: prevent crashing when attempting to enable wrappers (#20237) 2024-01-08 11:38:52 -03:30
Jordi Enric 5efbad3b9c fix: hide audit logs filter unless it's Team Plan (#20187)
move audit log filters to success state
2024-01-08 10:46:12 +01:00
Kevin Grüneberg fb97af7e86 chore: remove stale file from studio dir (#20232) 2024-01-08 09:14:23 +00:00
1fb755bfc7 chore: use data/fetchers and API spec (#20196)
* chore: use data/fetchers and API spec

* Remove unused imports

---------

Co-authored-by: Thomas Eckl <31189692+ecktoteckto@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-08 14:39:32 +08:00
Kamil Ogórek bcc99b0cb5 ref: Use separate endpoint for retrieving single Vercel project (#19836)
ref: Use separate endpoint for retrieving single vercel project
2024-01-08 13:59:29 +08:00