Commit Graph
16330 Commits
Author SHA1 Message Date
Wen Bo Xie b7d4d64fee fix: update Realtime AuthZ policies in docs/demo (#27863) 2024-07-08 18:23:03 -04:00
Trevor Dobbertin 9956f195f5 move code snippet above tip that references it (#27581)
* move code snippet above tip that references it

* change wording
2024-07-08 19:16:33 +00:00
github-actions[bot]andphamhieu 8aef4a08bf feat: update mgmt api docs (#27851)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-08 19:13:11 +00:00
Andrew Smith b79a138055 fix(docs): update ssr guides and examples for nextjs and svelte (#27834)
[Summary by Charis]
Update SSR guides and examples for Next.js and Svelte:
- New `@supabase/ssr@0.4.0` API
- Misc. Svelte fixes
2024-07-08 15:06:59 -04:00
Charis b50c657e51 chore(docs): add link (#27829) 2024-07-08 13:12:48 -04:00
Charis 9fb97becb9 fix: revalidate fetches every day (#27828)
The Vercel Data Cache caches data across deployments, and we want to
check for updates in federated content, so let's revalidate the data
once a day.

It may be more efficient to revalidate on-demand, since we don't change
most of these sources once a day, but that requires setting up an API
endpoint (and figuring out how to authenticate it), so this is
quick-and-easy for now.
2024-07-08 13:12:19 -04:00
Pamela ChiaandAlaister Young 8e2ecaaee5 chore: suggest sso at invite members (#27854)
* chore: suggest sso at invite members

* fix: change dialog to info box

* fix: add upgrade button for free n pro plan

* Update apps/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-07-08 14:19:55 +00:00
Jonathan Summers-Muir 9a8e0b2b63 Truncate project names in popover (#27743)
Update [slug].tsx
2024-07-08 13:00:15 +01:00
Jonathan Summers-MuirandAlaister Young e957966c3b [Design system] Update changelog.mdx (#27609)
* [Design system] Update changelog.mdx

* Update changelog.mdx

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-07-08 13:00:06 +01:00
heocoi 66e6e0dca0 Update Inbucket repository URL (#27845) 2024-07-08 03:50:08 +00:00
Jordi Enric 3cad1a5bf2 Move warehouse access tokens to its own page under settings (#27822)
* move warehouse access tokens to its own page under settings

* add desc

* rm unnecessary imports

* grmmar
2024-07-06 10:18:06 +02:00
548a3d03d3 fix: Update ssl-enforcement.mdx (#27827)
* Update ssl-enforcement.mdx

* Update apps/docs/content/guides/platform/ssl-enforcement.mdx

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

* update ssl enforcement to GA

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
2024-07-05 22:00:56 +00:00
Charis 2f6328ea3c fix: erroring table of contents (#27826)
Table of Contents errored in some cases because I forgot to check for
the case where the value can be null.
2024-07-05 16:42:52 +00:00
Etienne Stalmans 0c34787f9e docs: update shared responsibility diagrams (#27813)
* docs: update shared responsibility diagrams

Update existing diagram to use new renderings by the design team.
Introduces dark and light versions

* docs: change from img to Image for shared responsibility diagram

* docs: fix typo
2024-07-05 16:53:37 +02:00
Chandana Anumula dadd2aa8c1 Update okta.mdx (#27798) 2024-07-05 17:15:07 +05:30
Chandana Anumula 8a1c5b40a7 Update gsuite.mdx (#27797) 2024-07-05 17:14:53 +05:30
Chandana Anumula 2239e39e6e Update azure.mdx (#27796) 2024-07-05 17:08:38 +05:30
Joshen Lim 5aa9c06f7b Support filtering projects by status, only either paused or active (#27818) 2024-07-05 19:05:44 +08:00
Etienne Stalmans 56b88ef1a5 docs: update HIPAA shared responsibility (#27805)
* docs: update HIPAA shared responsibility

Highlight some additional restrictions on HIPAA enabled orgs

* docs: fix typo

* docs: clarify usage of branching
2024-07-05 08:51:15 +02:00
Monica KhouryandCharis b744553af6 Docs: Add CLI Command for Configuring statement_timeout in Postgres (#27778)
* Docs: add the cli command for configuring statement timeout in postgres

* Update apps/docs/content/guides/platform/custom-postgres-config.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-04 21:40:28 +00:00
Richard Kavanagh 9dd25cd377 Update auth-hooks.mdx (#27785)
minor typos
2024-07-04 16:55:51 +00:00
Meet VyasandCharis 1781431e37 docs: correct responses for file upload methods corrected (#27795)
* docs: responses for file upload methods corrected

* fix: json formatting

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-04 16:41:16 +00:00
Tristan Rhodes 5029e333fd Fixed spelling typo (#27804) 2024-07-04 16:34:31 +00:00
Charis 282bd2c73f enhance: move not-found data fetch to client side (#27781)
Fetching recommendations on the server takes too long before the first
load, so it's faster to load the basic not-found page and generate the
recommendations on the client side.
2024-07-04 15:23:19 +00:00
Monica Khoury cb9eff3c0c Fix: convertArgumentTypes parsing bug (#27800)
* Fix: convertArgumentTypes parsing bug

* Fix typecheck error
2024-07-04 12:13:12 -02:30
Thor 雷神 SchaeffandTyler adc0319cc9 blog: realtime maps. (#27792)
* blog: realtime maps.

* chore: nits.

* Update apps/www/_blog/2024-07-04-postgres-realtime-location-sharing-with-maplibre.mdx

Co-authored-by: Tyler <dshukertjr@gmail.com>

---------

Co-authored-by: Tyler <dshukertjr@gmail.com>
2024-07-04 21:19:31 +08:00
Jordi Enric 6608f8765b Add labels and grid to sql editor charts (#27787)
* add opts to see labels and grid for better screenshots

* fix format in x axis

* add missing props to default chart config

* fix typeerr

* rm copypasta cleanup tailwind classes and divs
2024-07-04 14:46:32 +02:00
ac96a6ae11 Realtime Inspector adjustments (#27751)
* Realtime Inspector adjustments

* Leave just insert and select

* add new realtime authz docs link (#27755)

* fix: remove using from insert policies

* Add prop to differentiate db from realtime

* Update toast

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
2024-07-04 09:45:18 -02:30
Francesco Sansalvadore 0d657df42e feat: docs global top nav (#26917)
Docs global top nav
2024-07-04 11:51:13 +02:00
Monica KhouryandTerry Sutton 4c6f0dd8b6 Fix: escape single quotes in queries to prevent syntax errors (#27417)
* Fix: escape single quotes in queries to prevent syntax errors

* Update apps/studio/data/database/retrieve-index-advisor-result-query.ts

* Update apps/studio/data/database/retrieve-index-advisor-result-query.ts

* Cleanup

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-07-04 12:43:40 +03:00
Francesco Sansalvadore 87b68b9fb9 fix rss (#27794)
* fix rss

* fix typo
2024-07-04 10:38:01 +02:00
Bobbie Soedirgo 6955ccb0c8 fix(studio): reenable pg_prewarm and pgstattuple (#27669)
We've since reenabled it on the platform: https://github.com/supabase/postgres/pull/893/files
2024-07-04 15:58:33 +08:00
Alaister Young 89fdea4e2d chore: fix mispellings (#27793) 2024-07-04 09:37:18 +02:00
Joshen LimandAlaister Young e0ae4942f4 Optimize table editor count (#27612)
* Optimize table editor count

* Add additional logic on when to enforce exact count

* Update apps/studio/data/table-rows/table-rows-count-query.ts

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* Reset enforceExactCount whenever a filter is applied

* Update showing exact row count warning logic

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-07-04 15:27:01 +08:00
Alaister YoungandKevin Grüneberg 70da0f1d1d chore: cleanup packages (#27770)
* chore: cleanup packages

- Avoid circular imports
- Export API-types as types
- pg-format without depending on Node internal Buffer (not browser-compatible)
- Avoid importing from barrel files in ui dir

* chore: avoid barrel file imports in studio (#27771)

* chore: avoid barrel file imports

- Removes some unused imports
- Avoids barrel file import for faster builds + less memory

* add eslint rule

* type fixes

* delete layouts barrel

* delete components/grid barrel file

* delete components/grid/utils barrel file

* delete components/grid/components/common barrel file

* delete components/grid/components/editor barrel file

* delete components/grid/components/formatter barrel file

* delete components/grid/components/grid barrel file

* delete components/grid/components/header/filter barrel file

* remote components/grid/store barrel file

* remove components/interfaces/Auth/Policies barrel file

* delete components/interfaces/Settings/Logs barrel file

* delete components/ui/CodeEditor barrel file

* delete components/ui/Forms barrel file

* delete components/ui/Shimmers barrel file

* delete data/analytics barrel file

* delete hooks barrel file

* cleanup lib/common/fetch barrel file

* final * barral files cleanup

* global react-data-grid styles

* remove console.log

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* fix build

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-07-04 14:48:10 +08:00
Etienne Stalmans 31130fed4c docs: update shared responsibility model (#27746)
* docs: update shared responsiblity model

Adds a basic matrix of shared responsibility.
Outlines a few more security responsibilities held by the customer.
Links to the Supabase production readiness checklist.

* fix-typo: americanize spelling

* typo: run prettier over new content

* fix typo

* switch to graphic for shared responsibility model

* rerun prettier
2024-07-04 08:28:59 +02:00
Joshen Lim 211ed6d02f Remove broken link in changelog (#27788) 2024-07-04 11:25:07 +08:00
Ziinc 200481b7a0 docs: log drains documentation (#26370)
* docs: log drains documentation

* docs: pricing update for log drains

* docs: more datadog forwarding behaviour

* docs: move log drains to separate page

* docs: fix naming of provider

* dosc: us spelling

* Revert "docs: pricing update for log drains"

This reverts commit cb5f6ceb5f.

* docs: update links in admonition

* docs: tweak wording

* docs: fix typo

* docs: remove pricing page link

* docs: add elastic filebeat docs

* docs: add generic webhook drain
2024-07-04 09:56:51 +08:00
hallidayo 78ce111a21 feat: flutter dashboard example (#27758)
flutter dashboard example
2024-07-03 16:32:59 -02:30
Francesco Sansalvadore 5d177e6946 fix double tabs in oss page (#27777) 2024-07-03 16:31:35 -02:30
Charis 4b9817cba9 chore: remove data cache from not-found docs page (#27780) 2024-07-03 12:10:01 -04:00
Long HoangandCharis dbd19c8f61 chore: update http error codes (#27775)
* chore: update http error codes

* chore: add note about dashboard access

* chore: mention status code 402 explicitly to not leave ambiguity

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* fix: correct typo

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-03 23:17:11 +08:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
1d7995b978 Customerstory/maergo (#27216)
* Customer Story: Maergo

Update apps/www/_customers/maergo

* Customer story: Maergo

* Updated publication date

---------

Co-authored-by: Michael Ridley <mridley@Michaels-MacBook-Pro-2.local>
Co-authored-by: Michael Ridley <michael@supabase.io>
2024-07-03 13:49:00 +00:00
Charis 161ba3da32 docs: document more ways to secure the data api (#27756)
Document ways to increase the security of Data API, including:

- Disabling it entirely
- Exposing a custom schema instead of the `public` schema

Also found a duplicated link in the nav for CLS, so removed it.
2024-07-03 12:32:16 +00:00
Francesco Sansalvadore efc5ee6ec4 global image component (#27410)
* global ui Image component

* migrate docs images to new global component

* use Image component in www mdx components

* update Image description

* remove redundant props

* better ZoomContent types

* remove ThemeImage

* remove ZommableImg component

* add use client to Image component
2024-07-03 13:02:13 +02:00
Thor 雷神 Schaeff 0dbb5e5225 docs: update deno deps to jsr. (#27766)
docs: update deno desp to jsr.
2024-07-03 18:06:55 +08:00
Alaister Young a1f0d03d8b chore: disable type checking on studio builds (#27769) 2024-07-03 15:23:42 +08:00
Charis 484393f666 fix: catch errors on setall in rscs (#27762) 2024-07-03 08:56:56 +02:00
Joshen Lim 54320ddb73 Chore/support showing all entities in database tables page (#27749)
* Support showing views in database tables page

* Support showing materialized views in database tables page

* Support showing foreign tables in database tables page

* Prevent deleting non table entities in database/tables, consistent with table editor

* Fix invalidation logic when deleting tables in database/tables
2024-07-03 14:40:45 +08:00