Commit Graph
28596 Commits
Author SHA1 Message Date
mio256 8f616dfee3 docs: row-level-security.mdx, syntax error in create table user_id field (#28055)
Update row-level-security.mdx

syntax in create table user_id field
2024-07-19 20:12:27 +00:00
Kamil Ogórek 057b2f1705 fix: Bail on audit logs permissions (#28096) 2024-07-19 19:15:52 +00:00
hallidayo 0eec3f1de6 docs: resend edge functions key (#28074)
added warning for keys management
2024-07-19 17:17:55 +00:00
Kang Ming dd702704df docs: relocate auth0 migration guide (#28081) 2024-07-19 12:58:51 -04:00
Kevin Grüneberg b9c8b1c741 perf: skip docs typecheck during next build (#28089) 2024-07-19 12:56:27 -04:00
Joshen LimandJordi Enric 91c63be9c9 Surface error from fillTimeseries to the UI (#28086)
* Surface error from fillTimeseries to the UI

* rm consolelog

---------

Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com>
2024-07-20 00:47:23 +08:00
Joshen Lim 9081324666 Chore/fix oauth app api auth (#28093)
* Fix oauth app api auth

* Fix style

* Update codegen

* Fix

* Fix
2024-07-19 20:20:47 +08:00
Jonathan Summers-MuirandIvan Vasilov f912536db8 [Design system] Feat/sonner (#27382)
* fix toast examples

* add sonner stuff

* new sonner examples added

* updated

* add upload POC

* add

* Update sonner-upload.tsx

* move statusicons

* Minor fix.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-07-19 12:38:42 +02:00
Kevin Grüneberg 14e29dc0a0 chore: remove mermaid, use static SVG (#28083) 2024-07-19 18:36:00 +08:00
Kevin Grüneberg 3601bb52f5 chore: use type imports / avoid unnecessary API type export (#28088) 2024-07-19 18:35:23 +08:00
Joshen Lim cb4b0fe6d8 Add set search path for query performance query (#28084)
* Add set search path for query performance query

* more
2024-07-19 18:07:27 +08:00
Joshen Lim 5ce6650481 Set up opt in by slug for PLP (#28080) 2024-07-19 17:38:14 +08:00
Francesco Sansalvadore 1baf027fb1 chore: update pricing page / compute wording (#28017) 2024-07-19 15:39:11 +08:00
Tyler 7891f9a569 docs: Update Realtime guide to use supabase instead of client for variable names for Supabase client. (#28056)
docs: Update  to Supabase CLI 1.163.2

Usage:
  supabase [command]

Quick Start:
  bootstrap            Bootstrap a Supabase project from a starter template

Local Development:
  db                   Manage Postgres databases
  gen                  Run code generation tools
  init                 Initialize a local project
  inspect              Tools to inspect your Supabase project
  link                 Link to a Supabase project
  login                Authenticate using an access token
  logout               Log out and delete access tokens locally
  migration            Manage database migration scripts
  start                Start containers for Supabase local development
  status               Show status of local Supabase containers
  stop                 Stop all local Supabase containers
  test                 Run tests on local Supabase containers
  unlink               Unlink a Supabase project

Management APIs:
  branches             Manage Supabase preview branches
  domains              Manage custom domain names for Supabase projects
  encryption           Manage encryption keys of Supabase projects
  functions            Manage Supabase Edge functions
  network-bans         Manage network bans
  network-restrictions Manage network restrictions
  orgs                 Manage Supabase organizations
  postgres-config      Manage Postgres database config
  projects             Manage Supabase projects
  secrets              Manage Supabase secrets
  services             Show versions of all Supabase services
  snippets             Manage Supabase SQL snippets
  ssl-enforcement      Manage SSL enforcement configuration
  sso                  Manage Single Sign-On (SSO) authentication for projects
  storage              Manage Supabase Storage objects
  vanity-subdomains    Manage vanity subdomains for Supabase projects

Additional Commands:
  completion           Generate the autocompletion script for the specified shell
  help                 Help about any command

Flags:
      --create-ticket                     create a support ticket for any CLI error
      --debug                             output debug logs to stderr
      --dns-resolver [ native | https ]   lookup domain names using the specified resolver (default native)
      --experimental                      enable experimental features
  -h, --help                              help for supabase
  -v, --version                           version for supabase
      --workdir string                    path to a Supabase project directory

Use "supabase [command] --help" for more information about a command. for realtime guides
2024-07-19 14:34:13 +09:00
Jonathan Summers-MuirandJoshen Lim a4b4167a5b fix: temporary remove default sorting (#28072)
* Update table-rows-query.ts

* Add comment

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-19 11:20:58 +08:00
64e5ba8777 chore: tus optimisations (#28034)
* chore: tus optimisations

* Update apps/studio/localStores/storageExplorer/StorageExplorerStore.tsx

* fix prettier

* remaining time

* fix prettier + change styling

* styling

* remove console.log

* fixed timing

* fix upload progress

* add abort uploads function

* amended chunk-size

* add cancel button

* fix infinity label

* scope aborts to a toast

* abort when cancelled

* fix divide by zero error

* Small style

* eat abort error

---------

Co-authored-by: fenos <fabri.feno@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-19 11:05:58 +08:00
Kang Ming efec5dd114 fix: use gotrue_id instead of email (#28071) 2024-07-19 02:35:41 +08:00
Etienne Stalmans 22d66f4999 chore: update docs and templates with search_path (#28066)
Advisor warns about missing search_path on the handle_new_user function,
which we supply in docs and SQL starter templates.
We have updated this in some docs but haven't pulled it through to everything
2024-07-18 17:54:15 +02:00
Joshen Lim 2f0bffb569 Fix access control docs (#28060) 2024-07-18 23:07:14 +08:00
Alaister Young 9ea50f6cee fix: new id in content query (#28064) 2024-07-18 10:38:48 +00:00
Kevin GrünebergandThomas Eckl 9d4d1369aa chore: adjust billing for edge function count (#28019)
Co-authored-by: Thomas Eckl <31189692+ecktoteckto@users.noreply.github.com>
2024-07-18 17:12:49 +08:00
Francesco Sansalvadore 62d8c76603 Fix/docs nav widescreen (#28061)
* fix docs nav widescreen spacing

* fix getting started overlap
2024-07-18 10:12:52 +02:00
Joel LeeandJoshen Lim 530ab69901 feat: add SAML External URL field (#27628)
* feat: add SAML External URL field

* fix: update

* feat: update package-lock.json to mirror master

* fix: patch validation

* fix:  update to default to '' instead of false

* fix: add description

* fix: re-run prettier

* Update UI

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-18 09:15:50 +02:00
Long Hoang 38b3f977ee docs: remove admonition on postgrest bug that has been fixed (#28059) 2024-07-18 14:24:11 +08:00
Charis abb4cbb982 fix(storage): change replaced character to U+202F (#28046)
The character that was breaking screenshots was the Narrow No-Break Space (U+202F), which is apparently not the same thing as the No-Break Space (U+00A0). (TIL there are 17 different Unicode space separators.)

Tested on local by uploading a screenshot taken with default 12-hour timestamp (which was the broken case before).
2024-07-18 14:05:28 +08:00
Joshen Lim d99c9ea13c Improvement to database extensions UI (#28037)
* Improvement to database extensions UI

* Prettier
2024-07-18 13:58:55 +08:00
Wen Bo XieandKevin Grüneberg f1541878a9 fix: singularize and capitalize Supabase plans (#28052)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-07-18 04:49:00 +00:00
Joshen Lim 3f01c0a6b2 Fix getAllItemsAlongFolder break (#28047) 2024-07-18 11:27:50 +08:00
Charis 7c20407302 refactor(docs): type spec parsing + testing setup (#27931)
This produces more complete type information (unions, following type alias refererences that aren't successfully dereferenced at an earlier stage, etc.), in a format that is much easier to query from UI components. Also adds a snapshot test for easier future iteration.

I had a lot of trouble configuring Jest for the snapshot tests (something to do with imports and compile targets), and there are zero other tests in this directory right now, so I just tore out the test setup and replaced it with Vitest. Much faster!
2024-07-17 10:48:26 -04:00
Zach HawtofandKang Ming fd668dd1a9 feat: Update to Slack OIDC (#27115)
* feat: Update to Slack OIDC

Update documentation to support the changes to Slack OIDC made here: https://github.com/supabase/auth/pull/1591/files

* chore: update apps/docs/content/guides/auth/social-login/auth-slack.mdx

* chore: fix prettier

---------

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
2024-07-17 14:27:52 +00:00
Div Arora d3c6e2fd10 chore: flesh out MFA recommendations (#27789) 2024-07-17 21:58:00 +08:00
Wen Bo XieandJoshen Lim 986ab126c9 feat: add project-level permissions docs (#27887)
* fix: update project-level permissions docs

* update read-only role callout

* Add section to differentiate org and project level roles

* Address comments

* Add section to chat about invite limitation for project scoped role

* Prettier

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-17 17:53:46 +08:00
Kevin Grüneberg e7ddc3d43c docs: clarify free plan billing (#28010) 2024-07-17 17:15:37 +08:00
Alaister YoungandJoshen Lim 3f0cd49a06 chore: new wrappers 16/07/24 (#28014)
* add paddle wrapper

* add snowflake wrapper

* Small style fixes

* fix editing and deleting wasm wrappers

* use alert for minimum version not met

* update wording

* Minor style fix

* small fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-17 07:10:07 +00:00
Alaister YoungandJoshen Lim b897d51a53 feat: use TUS for file uploads in dashboard (#28030)
* feat: use TUS for file uploads in dashboard

* handle upload progress

* add fallback for mime types

* lowercase extensions

* add note about mime

* Handle file size 0 and make check for nbsp replacement

* Fix NaN in progress

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-17 13:27:00 +08:00
Alaister Young 939de55a21 fix: Slack OIDC enabled badge (#28029)
fix: slack oidc enabled badge
2024-07-17 12:28:08 +08:00
Joshen Lim 17e0c5dbcf Improve snippet organization in SQL Editor (#27881)
* Init changes for sql fodlers

* Added upsert logic in sql-editor-v2 valtio, hooked up with templates and quickstarts

* Do up logic for creating new snippets by typing in /new or by clicking new query button

* Do up logic for updating and deleting snippets

* Do up logic for favourites and shared snippets

* Do up logic for favourites and shared snippets

* Fix

* Fix saving indicator, add empty states for favorites and shared snippets

* Implement sorting

* Some minor QOL improvements

* Minor fix on empty state for private snippets

* Add delete folder mutation

* Implement create and update folder

* Fix reinstate with AI renaming for new snippets under folder

* Support controlled multi select behaviour in private snippets

* Undo changes to tree-view-multi-select

* Support bulk deletes

* Support moving queries + rendering queries in folders

* Support deleting folders and creating a new folder when moving a query

* Fix bug where renaming query removes content

* Add initial loading state in sql editor nav + handle fallback if cannot retrieve content by id

* Fix some spelling

* Fix TS issue in sql folders mutation keys

* Fix toggling favorite

* Lint

* Revert fallback behaviour in ]id] for now

* Fix favorites and shared snippets not showing

* Fix moving currently opened snippet leads to loading

* Support bulk moving

* Improve multi select logic a little

* Nit lint

* Reinstate AI retitling for untitled snippets when running query

* Remove hardcode in useAFlag

* Support creating new snippet in a folder directly

* Fix sharing snippets that are within a folder

* Fix sharing snippets within a folder

* Fix favorite

* Add loading state when fetching folder contents

* Fix favoriting snippets in folders
2024-07-17 12:23:19 +08:00
Michael RidleyandMichael Ridley f086a09fc6 Chore: Added myself (Michael) to humans.txt (#28021)
Co-authored-by: Michael Ridley <michael@supabase.io>
2024-07-16 14:28:36 -04:00
CharisandFrancesco Sansalvadore 1b89fa0b5c feat: command menu v2 ui components (#27761)
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-07-16 14:14:03 -04:00
3cffcd0f86 chore: update cli reference doc (#27868)
* chore: update cli reference doc

* fix: update generated docs and seed section

* fix: setup docs page redirect for cli

---------

Co-authored-by: Qiao Han <qiao@supabase.io>
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-07-17 01:18:25 +08:00
Thor 雷神 Schaeff 851d4b72ff blog: announce JSR. (#27916)
* blog: announce JSR.

* chore: update dates.

* chore: add deno blog link.

* chore: supabaseify.
2024-07-16 21:33:15 +08:00
Inian adea8226ba remove duplicate instructions (#28005)
we don't need to show how to login to github.
we can point to links instead of showing how to navigate to that page - users are going to click on the links anyway.
2024-07-16 20:25:23 +08:00
Kevin Grüneberg a350daeee2 fix: instance specs (#28009) 2024-07-16 15:31:19 +08:00
Joshen Lim 3c53af470d Add flag to check for enterprise plan in invite member modal (#28006)
* Add flag to check for enterprise plan in invite member modal

* Small style fix

* Fix loading state for deleting member modal

* Fix

* Invite member modal to only show projects under the selected organization

* Fix
2024-07-16 15:23:15 +08:00
Martin WilliamandAlaister Young 8cabaec7bb feat: add orientation to studio trigger page ui (#28002)
* feat: add orientation to studio trigger page ui

* increase colSpan for empty state

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-07-16 14:19:11 +08:00
Thomas 4d27aa7035 Display up-to-date customer balance [GEN-10135] (#27999) 2024-07-16 12:10:50 +08:00
Carel de Waal 19222ce31a Add Carel to humans.txt (#27992) 2024-07-16 04:08:13 +00:00
Tyler f6f9df667d docs: Update JS code sample for Realtime authz channel (#27977)
* docs: Add Dart code sample to the realtime authorization guide

* run formatter

* docs: Convert code samples into Javascript
2024-07-16 02:01:13 +00:00
Tyler a0b9b22a3d docs: Add Dart code sample to the realtime authorization guide (#27976)
* docs: Add Dart code sample to the realtime authorization guide

* run formatter
2024-07-16 10:42:40 +09:00
Andrew Smith 93ccfa2584 update password docs to use confirm endpoint and email template change (#27975)
* update password docs to use confirm endpoint and email template change

* fix formatting
2024-07-16 01:15:36 +00:00