Commit Graph
11260 Commits
Author SHA1 Message Date
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
Etienne StalmansandCharis 361adf9f7c docs: add note about ssl modes (#27679)
* docs: add note about ssl modes

Postgres supports multiple SSL modes for clients. Each mode provides a
different level of protection. Add a note describing how to use the
strongest mode (`verify-full`) when SSL enforcement is enabled.

* docs: fix typo

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

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-03 08:35:38 +02:00
ce808954df docs: init Realtime authz docs (#22803)
* chore: init Realtime authz docs

* fix: some Vale fixes

* fix: run Prettier

* fix: Prettier

* fix: add note to contact us with placeholder link

* fix: swap rules for policies

* fix: lots of changes

* fix: update for latest Authz model

* fix: nits

* fix: more nits

* fix: nit

* edits

* fix: remove realtime.channel names and fix `in` filters

* fix: caps

* fix: moar

* fix: change h3 to h4

* fix: clarify interaction with postgres_changes

* fix: added simple steps to enable

* Update apps/docs/content/guides/realtime/authorization.mdx

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

* Update apps/docs/content/guides/realtime/authorization.mdx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* Update apps/docs/content/guides/realtime/authorization.mdx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* Update apps/docs/content/guides/realtime/authorization.mdx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* fix: add clarity to how it works

* fix: `features` to `extensions`

* fix: clarity

* fix: spelling

* fix: add detail about the test query.

* updates

* updates

* updates

* fix: update schema

* fix: prettier

* fix: rewrite section

* fix: create tables sql

* fix: shorten policy names

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
2024-07-02 14:46:29 -04:00
Steve Xu 9f1030c4b1 fix(docs): example storage debugging query (#27640)
* fix(docs): example storage debugging query

* fix(docs): format SQL code
2024-07-02 18:01:59 +00:00
hallidayoandTerry Sutton b7fbcd7ef8 feat: sql query spacebar search (#27663)
spacebar search enabled

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-07-02 09:04:53 -02:30
Joshen Lim 9123889139 Ignore 504 errors on sentry (#27745)
* Ignore 504 errors on sentry

* Ignore insertBefore errors

* Ignore r.default.setDefaultLevel is not a function

* Ignore copyToClipboard errors
2024-07-02 19:23:28 +08:00
Charis 53afaae9a5 fix: prevent overflow in mobile for inline code (#27739) 2024-07-02 13:04:19 +02:00
Joshen Lim 59c8b9449f Chore/fix storage upload folder logic (#27744)
* Don't replace backslash with underscore when uploading files

* Ignore .DS_Store files when uploading folders
2024-07-02 18:28:13 +08:00
Paul CioancaandJoshen Lim 90d9d6cb1e chore: only display compute addons if cloud provider supports them (#27599)
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-02 10:02:56 +00:00
Joshen Lim 4b367a53ea Fix changing provider doesnt change default region (#27615)
* Fix changing provider doesnt change default region

* Update package-lock
2024-07-02 15:15:17 +08:00
lollipopkit🏳️‍⚧️andHan Qiao da21986a5d doc: rootless docker (#27515)
* doc: rootless docker

* Update apps/docs/content/guides/self-hosting/docker.mdx

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-07-02 04:13:58 +00:00
Nil Gàllego 5336920c64 docs: Add crypto package for Apple sign-in functionality (#27664) 2024-07-02 03:46:03 +00:00
Joshen Lim d4116e9bfc Reinstate old org invite flow endpoints (#27681) 2024-07-02 10:54:05 +08:00
TylerandJan Tennert 42f76def90 docs: Kotlin docs misc updates (#27655)
* simplify installation instruction of supabase-kt

* add response parsing sample to edge functions code on Kotlin

* docs: update realtime kotlin sample code to launch flow in another coroutine

* Update apps/docs/spec/supabase_kt_v2.yml

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>

* Add note to invoke

---------

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>
2024-07-02 10:46:06 +09:00
Andrew Smith 8124dcae54 update sveltekit guides with the latest ssr setup (#27641)
* update sveltekit guides with the latest ssr setup

* update style formatting
2024-07-01 19:39:43 -04:00
Jitesh Yadav 0a1476024f Update joins-and-nesting.mdx (#27311)
I have changed the text description of the ON clause  section and added the code for kotlin and  GraphQL.
2024-07-01 23:32:08 +00:00
GaryAustin1 85de650034 Invalid SQL syntax in rls bypass section (#27738)
Unless there is some new SQL I'm not familiar the code shown:
`grant bypassrls on "table_name" to "role_name";`
Will not work and instead should be:
`alter role "role_name" with bypassrls;`
2024-07-01 17:54:54 -04:00
Erik Petersen 862f6075fb docs: fix Next.js create client docs to match fix in ssr auth docs (#27659)
* docs: fix nextjs create client docs to match fix in ssr auth docs

* Fix bug by also making the auth route public
2024-07-01 21:35:49 +00:00
Vojtech NovakandCharis 6f9b470da3 docs: document testing with higher-level tools (#26924)
* docs: document testing with higher-level tools

* Update apps/docs/content/guides/database/testing.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-01 19:25:57 +00:00
Richárd HrubyandCharis Lam 9697715825 update code snippet in nextjs server-side auth guide step 7 (#26281)
* update code snippet in nextjs server-side auth guide step 7

* format

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-07-01 19:23:11 +00:00
Erwin AIandCharis c53141de2a Just changing 'assword' to 'password'.. (auth-error-codes.mdx) (#27670)
Title says it all. Funny, but probs better to change it to 'password'

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-01 18:47:40 +00:00