Commit Graph
6093 Commits
Author SHA1 Message Date
Charis 6719b1c0e0 fix(docs): make command examples copyable (#29932)
Remove extraneous text and promp markers from command examples so they are more easily copyable.
2024-10-17 10:33:07 -04:00
Charis 182b7f1c4e fix(docs): local build without secrets (#29930)
Allow docs to build locally for contributors without secrets by guarding the partners DB query behind an IS_PLATFORM check.
2024-10-17 10:32:28 -04:00
Artur Zakirov 9effbb9899 Add Artur Zakirov to humans.txt (#29055) 2024-10-17 14:27:39 +02:00
Alexander Korotkov dc1282a9dd Reference Postgres by website title page in humans.txt (#25932) 2024-10-17 11:53:16 +00:00
Chris GwilliamsandIvan Vasilov 12692d52c5 Fix schema in docs for pg-cron enabling (#28288)
fix schema for pg-cron enabling

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-10-17 11:46:03 +00:00
Shersheial 7a2242a35c Chore: Close parenthesis in code example (#29457)
Close parenthesis in code example
2024-10-17 11:06:24 +00:00
Charis 1e9bbb2902 chore(docs): check in public env vars (#29931)
For easier set up for contributors, check in the _public_ env vars
2024-10-16 13:17:03 -04:00
Wen Bo Xie d11f603d80 fix: update project permission breaking changes (#29903)
* fix: update project permission breaking changes

* fix
2024-10-16 17:02:09 +00:00
github-actions[bot]andphamhieu b438f1001f feat: update mgmt api docs (#29869)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-16 15:56:26 +00:00
Kyle Malloy 6e4eaab51a astro middleware (#29729)
* astro middleware

* prettier
2024-10-16 15:48:28 +00:00
CrispyandCharis a8b99303c4 docs: add info on new api lb routing modes (#29919)
* docs: add info on new api lb routing modes

* Update apps/docs/content/guides/platform/read-replicas.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-16 21:35:34 +07:00
Joshen Lim ee1007dc24 Add telemetry page leave for www and docs (#29914)
* Add telemetry page leave for www and docs

* Feex
2024-10-16 18:37:59 +08:00
Wen Bo Xie fb2f7e2d43 fix: fully qualify table in send email auth hook (#29906) 2024-10-16 09:54:30 +02:00
Joshen Lim ed207751ad Update telemetry calls for docs to support PH (#29749)
* Update telemetry calls for docs to support PH

* Update telemetry calls for www to support PH

* Add ts ignore

* Remove use of useRouter for docs

* Add credentials include for www and docs for telemetry calls

* Update TELEMETRY_CONSENT in common for www and docs to reset telemetry opt in preference

* Update common telemetry to use new endpoint and payload, and trigger reset request when opting out of telemetry from ui patterns PrigacySettings

* Fix

* Fix

* Fix

* Fix build issue in docs

* Fix build issue in docs

* I hope this fixes the build issues

* once more...

* Fix

* Add credentials include

* Fix
2024-10-16 15:16:33 +08:00
Ivan Vasilov c506934a1b chore: Add Ivan to humans.txt (#29902)
Update humans.txt
2024-10-16 11:09:13 +08:00
Julien Goux b303834079 docs: remove create an organization recommendation in supabase integration (#29898) 2024-10-15 14:42:22 +02:00
sayil bec7841684 Update humans.txt (#29885) 2024-10-15 08:59:00 +00:00
Joel Lee b6f1e1bd78 fix: change to return jsonb (#29887) 2024-10-14 18:18:11 -04:00
t6t d7bfa10789 Docs // Typo fix // seeding-your-database.mdx (#29822)
Typo fix // Update seeding-your-database.mdx
2024-10-11 18:26:47 +00:00
Jan Tennert 51fa38988e docs: Update Kotlin OTP link verification docs (#29839)
Update OTP link verification section
2024-10-11 16:24:10 +00:00
Etienne Stalmans f357aa0859 chore: remove bruno from humans.txt (#29845) 2024-10-11 18:15:35 +02:00
Charis 1236406e88 fix(docs): ref scroll (#29819)
Fix various scrolling bugs with reference pages:

- Take out smooth scrolling as it tends to lead to buggy scrolling position
- Add overscroll-behavior: contain to the nav, otherwise overscrolling on the nav scrolls the main page, which causes the nav to jump around unexpectedly
- Put aria-current calculation in useEffect as otherwise it doesn't trigger properly on first load
2024-10-11 15:51:51 +00:00
Charis c8ed6e4cc1 feat(db, docs): prep to sync troubleshooting entries to github (#29824)
Add JSON schema validation for troubleshooting entries, and add columns for storing GitHub discussion metadata.

Also some minor UI tweaks for troubleshooting display.
2024-10-11 11:02:00 -04:00
Tyler Fontaine f92d99b3c9 update GUC links to official postgres docs (#29801)
* update GUC links to official postgres docs

* fix copy/paste errors
2024-10-10 10:52:42 -05:00
Charis d7db8412a5 chore(feedback): reroute notion feedback to teams (#29400)
With the new docs IA and some recent team restructuring, the docs
section-to-Notion team mapping needs to be updated.

Do not merge before the new IA is merged.
2024-10-09 12:47:40 -04:00
Charis 41d924b074 feat: new docs ia (#29364)
New Docs IA, mainly splitting up the miscellaneous bucket that is Platform into multiple sections
2024-10-09 12:38:34 -04:00
Oliver RiceandCharis bfa1af247f Document how to restore a project backup locally (#29674)
* document how to restore a project backup locally

* fix spelling error

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* show where to get image version

* prettier

* resolve feedback on back restore doc

* document purpose of local restore. note storage objects download

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-09 13:32:12 +00:00
Artur Zakirov be6bf76ffa Fix a typo in utils/supabase/server.js (#29781)
It seems that `utils/supabase/server.js` is not a valid JS code.
Specifically it has non-null assertion operator. Remove the operator to
make the code valid.
2024-10-09 12:05:00 +02:00
Joshen Lim 336d623910 Chore/refactor telemetry calls for dashboard to support PH (#29747)
* Refactor telemetry event into RQ hook, and update to support PH

* Refactor telemetry identify into RQ hook, and update to support PH

* Refactor telemetry page into RQ hook, and update to support PH

* Clean up and deprecate lib/telemetry

* Pretty

* Add ts-ignore in docs for telemetry calls temporarily

* Add credentials include for send event, page and identify mutation hooks

* Add consent check for event and page telemetry, allow RQ mutations for those to fail silently without a toast
2024-10-09 14:32:30 +08:00
TheOtherBrian1 d8717224f9 Update custom-postgres-config.mdx | fixed links (#29690) 2024-10-08 18:24:25 -04:00
Enzo 2ca63953d6 Include "to authenticated" in example rls policies (#29761)
"To Authenticated"

Update custom-claims-and-role-based-access-control-rbac.mdx and added "to authenticated" in the rls policy which only allows logged in users to query instead of non logged in users as per "Specify roles in your policies" found here supabase.com/docs/guides/database/postgres/row-level-security#specify-roles-in-your-policies
2024-10-08 22:22:10 +00:00
TheOtherBrian1 4da7d9563f Update prisma.mdx | rewrite links (#29699) 2024-10-08 18:17:13 -04:00
Wen Bo Xie a7a75416fd fix: update Developer project permissions (#29758) 2024-10-08 17:41:45 -04:00
Axole Maranjana 5becfc1b4c Update auth-google.mdx: update the userInfo object (#29705)
Update auth-google.mdx
2024-10-08 21:00:13 +00:00
github-actions[bot]andphamhieu 55bdda2401 feat: update mgmt api docs (#29708)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-08 20:58:24 +00:00
Joel Lee 6c42d303d0 feat: add section about multi-tenant sso (#29514)
* feat: add section about multi-tenant sso

* fix: expand AD to active directory
2024-10-08 15:02:09 +02:00
Andrew Valleteau 4bad8499ae feat: introduce _supabase database add supavisor to self-hosted (#29596)
* chore: move _analytics to a distinct database

Following: https://github.com/supabase/cli/pull/2707

BREAKING CHANGES:
When migrating from an older version you will need to manually create the new internal _supabase
database and analytics schema the same way the  and  do.
Via:

* feat: add supavisor to the self-hosted stack

* chore(docs): add docs about supavisor

* chore: fix reviewdog warning

* chore: fix typo

* chore: apply pr comments
2024-10-08 13:49:09 +02:00
Kevin Grüneberg a77a4c5b35 chore: kaizen changes for disk size billing (#29720) 2024-10-07 21:02:24 +08:00
Andrew ValleteauandHan Qiao 1c9af2eeed chore(docs): add custom seed paths documentation (#29512)
* chore: document new seeding behaviour

* chore: fix prettier in code examples

* chore: apply suggestions from code review

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-10-07 14:52:32 +02:00
Guilherme Souza 00150f68b7 chore(docs): add example for swift and python on realtime RLS (#29684)
* chore(docs): add example for swift and python on realtime RLS

* add await
2024-10-04 10:31:50 -04:00
Vincent Fretin ce724e91bb Fix wrong style width value in solid tutorial (#29688)
* Fix wrong style width value in solid tutorial

* update the line also in the code

* sync with the doc
2024-10-04 14:26:40 +00:00
Div Arora 7b943ace72 chore: add a note on tsdb flavour (#29667) 2024-10-04 06:23:08 +08:00
a0eff938ff New connection management docs (#29166)
* recreated connecting-to-postgres

* adding GUI quickstart section with DBeaver

* moved psql and pgadmin docs to GUI quickstart

* added Prisma installation docs. Moved postgres.js and Drizzle into own section

* added connection management docs

* moved supavisor troubleshooting guide into troubleshooting section. Probably should not merge without adding more guides

* updated IPv4 Add ons docs

* removed typo

* Update apps/docs/content/guides/platform/ipv4-address.mdx

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

* Update apps/docs/content/guides/platform/ipv4-address.mdx

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

* Update apps/docs/content/guides/database/supavisor.mdx

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

* Update apps/docs/content/guides/database/prisma.mdx

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

* Update apps/docs/content/guides/database/connection-management.mdx

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

* Update apps/docs/content/guides/database/connection-management.mdx

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

* Update apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts

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

* removed repetition in connection-management | added photos

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/platform/ipv4-address.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/database/connection-management.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/platform/ipv4-address.mdx

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

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

Co-authored-by: Stas <sts@abc3.dev>

* updated proxy suggestions

* added redirects

* added images to connection-management guide

* added unique ids to titles in prisma-troubleshooting section

* added images to connection guide

* added new images to prisma guide

* reformatted admonition

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Stas <sts@abc3.dev>
2024-10-03 19:42:49 +00:00
Charis 358a82123c enh(docs): default to full file for CodeSamples (#29670)
If no lines are specified, default to inserting the full source file.
2024-10-03 14:48:07 -04:00
Lakshan Perera ef6353e84c Edge Function example on image manipulation (#29658)
* chore: add magick-wasm example functions

* chore: add image manipulation guide
2024-10-03 17:47:55 +08:00
Div Arora 642f13b951 chore: add docs on additional params being exposed for user control (#29548) 2024-10-03 02:42:39 +02:00
Charis a29dc5de4b feat(docs): main troubleshooting page (#29120)
* feat(docs): main troubleshooting page

* feat(docs): global troubleshooting page layout

* feat(docs): global troubleshooting page filter logic

* enhance(docs): troubleshooting page ui & filters

Improve UX and accessibility of global troubleshooting search page.

- Implement TroubleshootingFilterStateProvider for managing filter state
- Add TroubleshootingFilterEmptyState component
- Improve TroubleshootingFilter UI with applied filters display
- Update TroubleshootingPreview component with better layout and accessibility
- Add TroubleshootingEntryAssociatedErrors component for displaying related errors
- Refactor Troubleshooting utils and schemas
- Update troubleshooting content template

* feat(docs): individual troubleshooting pages

Add individual pages for detailed information on troubleshooting
entries. Small fixes to UI for troubleshooting displays.

- Wrap GlobalTroubleshootingPage with SidebarSkeleton
- Add TroubleshootingErrorListDetailed component for detailed error display
- Implement TroubleshootingBackLink component for navigation
- Update TroubleshootingPreview to use Next.js Link and include parent page
- Refactor Footer component to accept className prop
- Add hideFooter option to SidebarSkeleton
- Minor updates to TopNavBar and other utility functions

* fix: minor styling issues

* tweak(troubleshooting docs): use breadcrumbs

* tweak(troubleshooting docs): use sidebar for filter

* enhance(troubleshooting docs): navigation, keywords

Better navigation for individual troubleshooting entries, using a
version of the sidebar + keywords handling via search params for good
linking behavior

Details:

- Add TroubleshootingSidebar to TroubleshootingPage
- Implement query state management for keywords using nuqs
- Improve accessibility and styling of troubleshooting components
- Update empty state handling and related keywords display
- Upgrade nuqs package to version 1.19.1

* fix(docs): wrap useSearchParams in Suspense

* seo(docs): add canonical link to troubleshooting

* enhance(docs,troubleshooting): auto-reveal errors

On troubleshooting search pages, if the searched term matches a hidden
error, auto-reveal it when searching. When the search term is cleared,
hide programmatically-opened errors while preserving user-opened ones.

* enhance(docs,troubleshooting): search bar

Add search bar to individual troubleshooting pages

* fix(docs): breadcrumb links

Fix breadcrumb linking so it uses next/link instead of reloading entire
app on navigation.

* fix(docs): typo

* enh(docs): new troubleshooting design

* enh(docs): use new multi-select

* enh(docs): troubleshooting responsive styles

* Update apps/docs/content/troubleshooting/monitor-supavisor-postgres-connections.mdx
2024-10-02 17:10:12 +00:00
Michael Sumner 78e10c8989 Update with-react.mdx (#29546)
Fix syntax error
2024-10-02 15:34:58 +00:00
Paul Cioanca 7d46547e11 chore: update database upgrade docs to outline newly eligible for upgrade extension versions (#29648) 2024-10-02 18:34:20 +03:00
github-actions[bot]andphamhieu 0a2886fa61 feat: update mgmt api docs (#29581)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-02 15:33:46 +00:00