Commit Graph
13998 Commits
Author SHA1 Message Date
Kevin Grüneberg 6420f110d2 Merge branch 'master' into local-dev-perf 2025-05-30 18:25:35 +08:00
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 9730fbd507 Merge branch 'master' into local-dev-perf 2025-05-29 23:13:29 +08:00
Kevin Grüneberg fb03d0414a chore: remove lw14 tickets (#36030) 2025-05-29 23:11:29 +08:00
Kevin Grüneberg 3b7e7f6219 Update package.json 2025-05-29 22:50:48 +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 dd19d8daca type fixes 2025-05-29 22:45:17 +08:00
Kevin Grüneberg 7916861e0e www bundler + remove LW ticketing 2025-05-29 22:35:53 +08:00
Kevin Grüneberg 25cea567b5 docs: shared pooler egress (#36009) 2025-05-29 22:03:41 +08:00
Kevin Grüneberg b224a59fbf switch design-system to bundler resolution 2025-05-29 22:01:20 +08:00
Kevin Grüneberg 331f39316d jesus take the wheel 2025-05-29 21:55:42 +08:00
Kevin Grüneberg 939b91e09c incremental ts + docs types + docs module res 2025-05-29 21:44:55 +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
Kevin Grüneberg 5490c5c8df Update index.tsx 2025-05-29 21:11:47 +08:00
Kevin Grüneberg 82a5a8ac36 Update index.tsx 2025-05-29 21:09:00 +08:00
Kevin Grüneberg 1689b6149c fmt 2025-05-29 21:05:09 +08:00
Kevin Grüneberg 326ba585b3 Revert "css"
This reverts commit 1adec12980.
2025-05-29 20:42:59 +08:00
Kevin Grüneberg 1adec12980 css 2025-05-29 20:42:42 +08:00
Kevin Grüneberg 5241169072 scss -> css 2025-05-29 20:40:14 +08:00
Kevin Grüneberg e65e776090 refactor ui-patterns into src folder 2025-05-29 20:27:56 +08: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
Kevin Grüneberg 4481ca40f2 perf: speed up local dev 2025-05-29 19:40:30 +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