Commit Graph
13983 Commits
Author SHA1 Message Date
Terry Sutton 0ffe63f062 add replication area to dashboard (#35946)
* First

* Update link

* Type issue
2025-05-30 13:31:37 -02:30
Ivan Vasilov 181f15752c chore: Move the files in ui-patterns under src folder (#36032)
* Move all components in ui-patterns into src folder. Add exports field for all files.

* Fix all apps to use the new ui-patterns.

* Fix the design-system build.

* Remove all unused rexports from ui-patterns index. Apps should use direct imports instead.

* Change the tailwind content property to include src folder of ui-patterns.

* Remove autoprefixer from the tailwind configs.

* Remove autoprefixer as a dependency.

* Fix the CVA conditions in FormLayout.
2025-05-30 12:46:22 +03:00
Stephen Morgan f202666790 fix: Sandbox email preview frame (#36010)
fix: sandbox email preview frame
2025-05-30 17:06:00 +12:00
Charis f58eead769 chore(docs): clean up environment variables (#36036)
Our environment variables are a bit of a mess, so cleaning them up:

- We have duplicate environment variables that resolve to the same thing
but just have different names, deduplicating all of these
- We have a .env.development (for publicly safe variables) and a
.env.example, we
really only need one
- Privately, we have a .env (for running scripts) and a .env.local (for
Next.js). Changing the dotenv source for scripts, so again we only need
one
2025-05-29 16:35:26 -04:00
Charis 33b9e1ed29 chore(docs): convert all scripts to esm (#35996)
Scripts currently use CJS, which is causing a bit of a mess when trying
to use shared utilities from the app. Converting everything to ESM so
there are fewer conflicts when adding new scripts going forward.
2025-05-29 15:44:55 -04:00
Charis aba0095bd7 feat(content api): add error endpoint (#35941)
* feat(content api): add error endpoint

Add an endpoint to return the details of a Supabase error, given the
error code and service.

Schema additions:

```graphql
type RootQueryType {
  "...previous root queries"

  """Get the details of an error code returned from a Supabase service"""
  error(code: String!, service: Service!): Error
}

"""An error returned by a Supabase service"""
type Error {
  """
  The unique code identifying the error. The code is stable, and can be used for string matching during error handling.
  """
  code: String!

  """The Supabase service that returns this error."""
  service: Service!

  """The HTTP status code returned with this error."""
  httpStatusCode: Int

  """
  A human-readable message describing the error. The message is not stable, and should not be used for string matching during error handling. Use the code instead.
  """
  message: String
}

enum Service {
  AUTH
  REALTIME
  STORAGE
}
```

* test(content api): add tests for top-level query `error`
2025-05-29 15:39:47 -04:00
CoppleandCharis a61a39ff15 docs: compliance (#36016)
* Compliance docs

* lint spelling

* fixes headings

* Update apps/docs/content/guides/database/hardening-data-api.mdx

* ci: Autofix updates from GitHub workflow

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-05-29 19:35:25 +02:00
Jordi Enric 21412b2e25 Add option to force sign out (#35991)
add option to force sign out
2025-05-29 19:09:16 +02:00
Monica Khoury bb8c3e591b Docs: fix broken link in security performance advisor features (#36031)
Docs: fix broken link in security performance advisor
2025-05-30 01:05:40 +08:00
Jordi Enric ba29cf187d Add copy schema to schema vizz (#34806)
* copy state

* add tooltip and better sql generation

* fix

* fix tooltip
2025-05-29 16:00:37 +00:00
Andrew Smith a2342c4207 docs(python): update realtime docs with async methods and notes (#36015)
* docs(python): update realtime docs with async methods and notes

* chore(docs): update with admonitions
2025-05-29 15:45:54 +00:00
hallidayo 943cf70934 fix: connect remix env name (#36020)
env name change
2025-05-29 15:29:57 +00:00
Kevin Grüneberg fb03d0414a chore: remove lw14 tickets (#36030) 2025-05-29 23:11:29 +08:00
Terry Sutton 62bc992baa Fix storage mime type not getting set on create (#36023) 2025-05-29 12:18:50 -02:30
Kevin Grüneberg 25cea567b5 docs: shared pooler egress (#36009) 2025-05-29 22:03:41 +08:00
Cemal Kılıç f6b316e1cf chore(docs): update required claims for access token (#36021)
docs: update required claims for access token
2025-05-29 15:35:15 +02:00
Alaister Young c0c3710bde fix(studio): bypass pg meta route on self-hosted for ai endpoints (#35812)
* fix(studio): bypass pg meta route on self-hosted for ai endpoints

* fix hosted

* wrong way round
2025-05-29 20:16:49 +08:00
Alaister Young 9b1f64fbfa fix: don't refetch settings on inactive projects (#36017) 2025-05-29 17:35:36 +08:00
Ivan Vasilov 9ee5779a30 chore: Update images for the trigger without superuser blogpost (#36004)
Update images for the trigger without superuser blogpost.
2025-05-29 09:43:49 +02:00
divit e394f0cf7e fix: select newer postgres version as default (#35961) 2025-05-29 10:20:15 +05:30
Charis bf45616ada chore(docs): refine sentry filter (#36002)
Right now we're filtering out third-party extensions by looking for
stack traces that don't touch 'app:///_next'. However, third-party stack
traces do include the Sentry code that sends the error, and that
originates in 'app:///_next'. We need to filter out any events that do
not have 'app:///_next' events beyond that one Sentry frame.
2025-05-28 17:55:40 -04:00
Charis 0e2183f5b1 feat(docs): add github link to troubleshooting articles (#36000) 2025-05-28 16:06:50 -04:00
Terry Sutton f908da2ccf Fix sorting in storage explorer (#35975)
* Fix sorting in storage explorer

* Fix check size
2025-05-28 16:07:11 -02:30
Charis 8aea2cd6c7 seo(docs): canonical links for reference pages (#35977)
To avoid content duplication warnings, direct all canonical links for
reference pages to the newest library version.
2025-05-28 10:51:32 -04:00
Stojan DimitrovskiandJordi Enric 1862fe405b feat: add last used timestamp in the last 24h to legacy api keys (#35809)
* feat: add last used timestamp in the last 24h to legacy api keys

* address comments by @jordienr

* fix prettier

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2025-05-28 11:58:39 +02:00
Alaister Young 367ffdd893 fix: get table schema on click (#35989) 2025-05-28 11:00:43 +02:00
Chris GwilliamsandCharis Lam 34022bd570 Docs: Add section on logical replication for setting up CDC from Supabase to a destination (#27087)
* add replication section with instructions for services

* address comments and neturalise tone

* formalised overview and simplified faq

* reviewdog silenced (mostly)

* move individual tools into tab group and reduce mention of subscriptions

* fix tab components

* correct postgres typos and others

* removed individual service pages and added section for monitoring slots

* update nav menu and add information for monitoring

* update monitoring docs

* added example queries for tracking replication and removed overview

* added spelling rules for Xmin and cleaned up CDC format

* edits & reorganization

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-05-28 11:28:48 +03:00
Terry Sutton 075bc01a35 Fix jwt infinitely loading (#35848) 2025-05-27 16:14:28 -02:30
Charis 75567e4075 chore(docs): remove unnecessary toml package (#35970)
We have two packages for handling toml, which is a bit unnecessary.
Settle on smol-toml as it is under more active maintenance.
2025-05-27 11:57:27 -04:00
github-actions[bot]andgithub-docs-sync-bot de300669ac [bot] sync troubleshooting guides to db (#35954)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-05-27 15:20:38 +00:00
felipe stival cade7f136f chore: add "Felipe Stival" on humans.txt (#35962) 2025-05-27 11:56:17 -03:00
CharisandTerry Sutton 37d92e81c3 refactor(docs): turn auth error codes table into data file (#35857)
* refactor(docs): turn auth error codes table into data file

Take the Markdown error codes table and turn it into a data file
instead. This makes it easy to parse and reuse in other places besides
Markdown documents.

* Update apps/docs/content/errorCodes/authErrorCodes.toml

Co-authored-by: Terry Sutton <saltcod@gmail.com>

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-05-27 14:10:40 +00:00
Charis bf3bada7fd test: run supabase locally during test (#35947)
Alter the docs test script so it spins up Supabase locally. Will allow
for end-to-end tests against the local DB.

Also small alteration to one of the test files to silence an annoying
(but intended) error.
2025-05-27 10:00:21 -04:00
9318404e61 Feat/api keys rollout prep (#35559)
* first pass

* init

* updated types

* fix up key reveal

* Update QuickKeyCopy.tsx

* remove quick key copy

* api key pill now only allows reveal and copy if you have perm

* Update LegacyAPIKeys.tsx

* fix up layouts

* fix copy

* Fix action menu dropdown position, few small nudges

* Remove unused files.

* Remove the hardcoded and rename the feature flag for basic API keys.

* add support for name and description, some smaller improvements

* Fix the trims for the description.

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2025-05-27 15:50:42 +02:00
Francesco Sansalvadore 4f2b09b61f neon page (#35759)
* switch from neon page init

* postgres platform section

* dx section visuals

* neon page graphics

* last touches

* disable crawl to page

* fixes

* polish

* copy change
2025-05-27 15:05:05 +02:00
Alaister Young 4ea088d93d chore: respect retry-after header for rate-limiting (#35957) 2025-05-27 19:37:05 +08:00
Pamela Chia f8b3bfc4d6 Feat/privacy policy update (#35923) 2025-05-27 18:42:35 +08:00
Jordi Enric 88066cec59 Add error boundary to AI Assistant (#35850)
* add error boundary

* fix typerr

* m

* use Alert

* update message
2025-05-27 12:20:29 +02:00
Jordi Enric 7eaaaae8f7 Add query ids to reports (#35836)
add query ids to reports
2025-05-27 10:02:44 +02:00
Jordi Enric d61d32f007 fix new replica click (#35808)
* add portal true

* fix new replica click
2025-05-27 10:02:36 +02:00
Charis adb851206b docs(troubleshooting): make docs on server-side admin clearer (#35815)
The "required properties" that need to be disabled are actually listed
in the code block, but it's not entirely clear from the way that it's
written that it's the case, leading to user confusion. Added a line to
make that explicit.

Fixes DOCS-233
2025-05-26 21:49:47 -02:30
Prashant Sridharan 4230c5a3dc Added some missing features from LW14 to the feature catalog (#35937) 2025-05-26 22:06:40 +01:00
Peter e8f4273499 fix default enable state for auth hooks to be true (#35942) 2025-05-26 15:23:29 -05:00
Stephen Morgan f67d32750d bugfix: slack integration (#35916)
* bugfix: whitelist allowed reason parameter for slack integration

* fix: formatting issue
2025-05-27 07:34:21 +12:00
Raminder SinghandIvan Vasilov b411ed3421 chore: rename sink to destination for the etl api (#35931)
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-05-26 21:30:10 +05:30
Copple fc09d1152a blog: open data standard (#35930)
* blog: open data standard

* final edits

* formatting

* updates image
2025-05-26 15:23:35 +00:00
Jordi Enric 2fa17afca3 Project Usage: fix types and component (#35934)
* fix types and component

* fix types
2025-05-26 16:38:26 +02:00
Jordi Enric 318280f2fe add copy table schema option to table dropdown (#35909)
* add table schema option

* change logic to fetch on render instead

* rm unnecessary check

* rm unused code

* readd check for tables
2025-05-26 16:13:35 +02:00
Ivan Vasilov 4add928dae chore: Update API types (#35879)
* Regenerate all types from develop branch.

* Fix all types in studio.

* Remove extra type.
2025-05-26 15:43:14 +02:00
Bo Lu 854f6d960d fix: broken link for HubSpot API key helper (#35791)
* fix: broken link for HubSpot API key helper

* format code
2025-05-26 13:53:02 +02:00