Commit Graph
26771 Commits
Author SHA1 Message Date
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
ClarenceandAlaister Young 432de2fc69 chore: clean up on empty className attributes (#20203)
clean up on empty className attrib

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-08 05:49:28 +00:00
Gulfaraz RahmanandAlaister Young 7f1c6a04c2 fix(self-hosted): do not ignore additional config in create storage bucket request (#20213)
fix: do not ignore additional config in create storage bucket request

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-08 05:32:41 +00:00
Joshen Lim 34a2ccdae3 feat/notifications v2 (#19162)
* Midway implementation notifications v2

* Some updates to Tab component

* Midway implementation notifications v2 again

* implement infinite scrolling and loading for notification sv2

* Add button actions

* Implement archive notifications

* Add filter dropdown for notifications

* Update date format

* Small style fix

* Update

* Update API codegen

* Add empt state

* Add empty state for archived notifications

* Fix type

* Final changes to notifications v2

* Small style fix

* Small fix

* Only mark notifications that come into view as read

* Update package lock
2024-01-08 12:52:48 +08:00
Lakshan Perera 661d8c0668 chore: do not feature flag usage metrics for edge functions (#20226) 2024-01-08 11:33:54 +08:00
f38cc4b946 fix : README.ko update AI + vector/embeddings docs link, fix status, … (#20175)
fix : README.ko update AI + vector/embeddings docs link, fix status, add Badges

Co-authored-by: meengi <meengi@korpay.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-05 17:35:08 +00:00
Ramiro Nuñez Dosio 67f242ea9f Update link. (#20197) 2024-01-05 16:42:57 +01:00
Ramiro Nuñez DosioandFrancesco Sansalvadore 0f93d13e9a Beta Update December 2023 (#20188)
* Beta Update December 2023

* Images and more copy.

* Update date.

* Add more content.

* Fix Hackathon winner.

* pretty

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-01-05 13:49:38 +00:00
Kevin Grüneberg 3ed74babb9 chore: require spend cap to be disabled when scaling disk (#20189) 2024-01-05 12:59:08 +01:00
Kevin Grüneberg d97f83bb84 docs: remove legacy billing info (#20185) 2024-01-05 11:53:11 +01:00
Austin Tran 511ad5b675 fix: sort policies alphabetically (#20163) 2024-01-05 19:33:18 +11:00
Div Arora 811e1b658e chore: lower threshold for physical backups transition (#20120) 2024-01-05 16:00:34 +08:00
Joel Lee a40d06d1c6 docs: release auth hooks (#20162)
Update auth-hooks.mdx
2024-01-05 11:06:32 +08:00
Andrew Smith 49e1db809a Add correct twitter handle for LWX hackathon winner (#20174) 2024-01-05 14:22:21 +13:00
Terry SuttonandKamil Ogórek e83ab44d12 Chore/GitHub gist sentry (#20138)
* Filter out errors related to github gist parse errors

* Update apps/studio/sentry.client.config.ts

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

---------

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-01-04 19:05:37 -03:30
Cameron GreeneandCharis ddd2d8a6d2 docs: Add multi-column search to textSearch docs (#20067)
* Fix documentation for reading data as CSV

* add docs for multi-column text search

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-04 21:51:05 +00:00