PR to start introducing Linter V2!
Primary improvements from this linter:
Better parsing of MDX (fewer false positives)
More flexibility
And suggested autofixes! (see auto-generated PR comment below for how that works)
Turning this on for only a small portion of the repo at first to avoid an avalanche of alerts, will slowly expand from there.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
postgis uses `"gis"` schema, thus running the command as it is in the docs leads to an error
`type "geography" does not exist`
prefixing using the schema `gis.geometry` fixes the issue
* docs(auth): update PKCE flow and Next.js example for password-based auth
Update the password-based authentication documentation to improve consistency and clarity:
- Add email redirect information to PKCE flow, mirroring the Implicit flow section
- Align the Next.js example in app/auth/confirm/route.ts with the official Supabase documentation for server-side auth in Next.js
- Update email template to include 'next' parameter for better redirect handling
- Improve error handling and redirect logic in the Next.js example
These changes aim to provide a more comprehensive and consistent guide for implementing password-based authentication, especially for Next.js applications using the PKCE flow.
Ref: https://supabase.com/docs/guides/auth/server-side/nextjs
* fix(docs): format email confirmation link and update sign-up function example
* chore: clarify read-only role database permissions
Access control docs list the dashboard and API permissions for the
read-only role. These are distinct from the database permissions, which
are fully read-only.
* fix: spelling
* Move advisory things to Advisors page, move schema visualizer to top of database section
* Tiny clean up
* Tiny clean up
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
The example for checking additional API keys has a security flaw and bad code.
It checked current_role for anon to do security, but because it is a security definer function the role will never be anon.
Added to check for the role claim in the jwt.
Also the table used for keys is UUID and the type from the header is text for the key. Cast it to UUID.
* Updated compute and disk documentation to better reflect the state of compute and disk customization in the updated dashboard
* Update apps/docs/content/guides/platform/compute-and-disk.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* update disk docs
* update docs
* Removed burst from documentation and added table to better outline differences between io2 and gp3 disk types
* Deleted compute and disk simple
* added more consistency to naming conventions, polished some design elements, removed redundant text
* Added limits section. Moved connection info from first table to the limits section table
* updated disk names, moved limits to the bottom of the file
* resolved merge conflict
---------
Co-authored-by: Greg Papas <gregpapas@macbook-pro.mynetworksettings.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Inian <inian1234@gmail.com>