Commit Graph
8250 Commits
Author SHA1 Message Date
Div Arora bc2d1ee374 chore: add note on RR restart behaviour (#28902) 2024-09-21 13:36:43 +08:00
Charis 762c52b2f1 fix(docs): error handling in revalidate api (#29402) 2024-09-20 12:14:54 -04:00
Charis f8f37cf038 fix(command menu): minor styling issues with scrollbar (#29403) 2024-09-20 10:13:57 -04:00
Charis dfda9da26d feat(docs): add revalidation api route (#29378)
Add a route for manually revalidating cache contents by tag.

The route is protected by authentication to prevent abuse. Automated
actions in CI should be set up with a basic API key, which has a rate
limit of 6 hours between changes. Overriding is possible with an
override key, which should be used as an escape hatch.

Usage:
- API key provided in header `Authorization: Bearer <KEY>`
- Body has shape `{ tags: string[] }`
2024-09-19 14:28:07 -04:00
Charis 5eb5fde1cc fix(seo): docs robots tag in previews (#29395)
Docs preview sites are getting indexed in Google. Last time we "fixed"
this problem, we corrected the "X-Robots" header, but we forgot to
change the robots meta tag in the HTML, so we didn't actually solve the
problem. -_-
2024-09-19 14:32:20 +00:00
Francesco Sansalvadore 73bbbb798d update docs diagrams (#29394)
* update docs diagrams

* remove unused images
2024-09-19 15:51:45 +02:00
Samuel SengandAlaister Young a30e0ea4bf docs: Add Query nested foreign tables throught a join table example for supabase-js (#29387)
* docs: Add Query nested foreign tables throught a join table example for supabase-js

* Update apps/docs/spec/examples/examples.yml

* Update apps/docs/spec/supabase_js_v2.yml

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-09-19 07:50:28 +00:00
1c1b4c815d Add caution on Update Policy section for need to create Select Policy (#28678)
* Add caution on Update Policy section for need to create Select Policy

* Update apps/docs/content/guides/database/postgres/row-level-security.mdx

---------

Co-authored-by: bulut yerli <bulut@buluts-Mac-mini.local>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-09-18 13:49:08 +00:00
Han Qiao e818ace2fb chore: add migration fetch section to cli docs (#29356) 2024-09-18 21:48:13 +08:00
Joel Lee c3b21326f7 fix: update http to https and pathname to include ** (#29360) 2024-09-18 15:44:25 +02:00
Inian 3be6a4187b Update humans.txt (#29358) 2024-09-18 20:32:52 +08:00
Andrew Valleteau 1b27b561a2 chore: document atomic function.enabled config flag (#29355)
Related: https://github.com/supabase/cli/pull/2688
2024-09-18 12:23:39 +02:00
Andrew Valleteau 34ca82f18c chore: replace deno deprecated unstable flag with recommended (#29316)
See: https://docs.deno.com/runtime/reference/cli/unstable_flags/\#--unstable
Related: https://github.com/supabase/cli/issues/2682
2024-09-18 09:09:47 +02:00
Joel Lee 10ba4999cd fix: specify which auth0 package to import for tpa (#29342)
* fix: specify which auth0 package to import for tpa

* fix: run prettier

* fix: update import
2024-09-17 21:01:43 +03:00
Charis 4da23b2992 fix(docs): prevent error on /docs/reference path (#29345) 2024-09-17 10:59:08 -04:00
Francesco Sansalvadore 7a7ce1c7a9 chore: remote patterns (#29263)
* chore: move domains to removePatterns in www

* chore: move domains to removePatterns in studio

* chore: move domains to removePatterns in docs

* fix
2024-09-17 20:33:13 +08:00
Monica Khoury 38d45bd6f1 Update README.md (#29338) 2024-09-17 10:46:12 +02:00
Charis 8191842276 fix(docs): code in wrong file for react auth quickstart example (#29324) 2024-09-16 11:36:49 -04: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
Kamil Ogórek 5e801a27f1 docs: Add persistent branch mention (#29292) 2024-09-14 00:14:16 +08: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
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
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
hamzah syed e9efd32f03 removed type CookieOptions (#29207) 2024-09-10 20:31:16 +00:00
Chris Caruso ac68b267cc Carusocv/docs/anon nextjs bug (#29182)
* Adding callout for dynamic rendering next.js for anon auth
2024-09-10 08:28:44 -05:00
Stojan Dimitrovski 7a35da6068 fix: ask users to use supabase.help instead when setting up SAML (#29133) 2024-09-10 12:35:02 +02:00
Joel Lee 3ef6a64794 fix: update rate limits in docs to 2 (#29047)
* fix: update rate limits in docs to 2

* fix: run prettier

* fix: update going into prod
2024-09-10 11:28:54 +03:00
Copple 7bdd327eb6 chore: update cli reference doc (#28905)
* chore: update cli reference doc

* chore: update cli reference doc
2024-09-10 15:50:06 +08:00
yuki 1507a9864f Update phone-login.mdx (#28856)
clarify `phone_change` type usage in phone number update with `verifyOTP`
2024-09-09 16:12:04 +00:00
github-actions[bot]andphamhieu 5de6a7080e feat: update mgmt api docs (#29165)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-09-09 16:04:23 +00:00
Andrew Smith 6bdb4f537e docs(python): add error codes to the reference docs (#29162)
* docs(python): add error codes to the reference docs

* docs(python): remove javascript related documentation
2024-09-09 16:02:19 +00:00
Rodrigo Mansueli 8ffd054905 chore: update docs for express payload limit (#29144)
* chore: update docs for express payload limit

* prettier
2024-09-06 16:16:27 -03:00
Myungwoo Song 238cb2ca39 docs: Update joins-and-nesting.mdx (#29125) 2024-09-06 13:40:36 +00:00
Charis 84a8fa7ac3 refactor(docs): migrate cli reference to app router (#29117) 2024-09-06 09:22:25 -04:00
Dag-Inge Aas b0b5c478c2 fix: Use tenant instead of tenant_id in config.toml (#29053)
According to the (actual configuration)[https://github.com/supabase/cli/pull/2595/files#diff-a3d824da3c42420cd5cbb0a4a2c0e7b5bfddd819652788a0596d195dc6e31fa5R277] the correct way to configure auth0 is to use `tenant` instead of `tenant_id`.

Fixes https://github.com/supabase/cli/issues/2654
2024-09-06 13:20:23 +00:00
Charis 99e3ec5c29 feature: docs troubleshooting section (#29119)
Start implementing the new troubleshooting entries organization.

Adds:
- A template for structured troubleshooting entries
- Validation for the template
2024-09-06 08:49:00 -04:00
Charis 90ee3a7ec1 fix(docs): remove typing from javascript example (#29112) 2024-09-05 11:10:50 -04:00
Charis 534a248485 fix: restrict ai edge function regions (#29085)
AI edge functions error if Vercel runs them in a region that is not
supported by OpenAI. To prevent this, restrict the Edge Function regions
to the OpenAI-supported regions.
2024-09-05 10:47:09 -04:00
Dmytro Dobrovolskyi 9b91ed175e Fix typo in docs (#29097)
Fix typo in middleware.ts filenaming
2024-09-05 14:12:36 +00:00
Francesco Sansalvadore 02cbf3ddf9 chore: remove announcements (#29104)
remove lw12 announcements
2024-09-05 11:12:05 +02:00
Charis 33be4b8061 fix(docs): email template instructions for pkce (#29089) 2024-09-04 14:21:21 -04:00
Chris GwilliamsandCharis Lam 1bdf45bf4f Set noindex for preview builds of docs site (#28761)
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-09-04 11:40:25 -04:00
Charis c757fcab20 fix,feat(sitemap): add all pages + priority (#29083)
Pages were missing from the sitemap after the reorganization. Added them
back in.

Also added an optional priority that can be specified by including
`sitemapPriority` in content metadata. Used on the deprecated Auth
Helpers pages to see if we can tweak the relative SEO ranking for them.
2024-09-04 11:16:51 -04:00
Joel Lee 99a40cb02a fix: add email not authorized error code to table (#29044)
* fix: update error codes table

* fix: remove accidentally added file
2024-09-04 22:53:02 +08:00