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 Lim and Alaister 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 Young and Kevin 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
Charis
ccc32dbde1
fix: linting issues ( #27577 )
2024-07-03 11:53:37 -04:00
Long Hoang and Charis
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
hallidayo
c851438565
feat: docs ai warning removal ( #23427 )
2024-07-03 13:35:28 +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 Stalmans and Charis
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
Sebastián Poliak
e56f7cdd4d
[DOCS] Update README.es.md ( #27637 )
...
Update README.es.md
Add missing [x]
2024-07-02 16:31:09 +00:00
Filipe Cabaço
c790146547
realtime: Bump Realtime image to 2.29.15 ( #27750 )
2024-07-02 21:58:35 +08:00
Jonathan Summers-Muir
97385256a9
fix: add overflow-hidden to Dialog component's <DialogSection /> ( #27557 )
2024-07-02 11:46:24 +00:00
hallidayo and Terry 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
Jonathan Summers-Muir
a3e532a482
[Design System] chore: <DropdownMenu /> modal prop set to false as default ( #27369 )
...
chore: `<DropdownMenu />` `modal` prop set to `false` as default
2024-07-02 18:42:53 +08: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 Cioanca and Joshen 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🏳️⚧️ and Han 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
Tyler and Jan 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 Novak and Charis
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 Hruby and Charis 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 AI and Charis
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
TheOtherBrian1
d4719af05c
Added warning about vacuum full ( #27683 )
2024-07-01 14:08:47 -04:00
github-actions[bot] and phamhieu
a54aecd089
feat: update mgmt api docs ( #27665 )
...
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com >
2024-07-01 17:49:22 +00:00
Kevin Grüneberg
6cd8519cff
chore: change invoice date format ( #27672 )
2024-07-01 21:05:55 +08:00
1127c4ba88
Project Level Permissions ( #27347 )
...
* fix: update Permission params
* fix: upgrade check permission hook to support project level role
* fix: usePermissionsLoaded
* fix: Permission params can be undefined
* Scaffold new access management UI
* Add validation
* Update roles view
* Add tooltip
* Add button to apply role to all projects
* Update UI to select projects first instead of roles
* Merge master update UI
* Midway trying to implementation project level perms API
* First pass implementating updating project level permissions
* Add client side validation for assigning/removing roles
* Midway implementing new invites
* Integrate most of the project level permissions functionality
* fix: filter out org-level permissions before checking
* Add relevant UI guards in org level pages for project role POV
* Minor refactors
* Small refactors
* More fixes
* Moar refactors
* More fixes
* More fixes
* Refactor update role logic and smack some test cases on it
* Fixes
* Fix type issue
* Fix type
* more fixes, refactors, adding checks...
* MORE fixes
* Add perms checking for replicas
* Add ButtonTooltip component and use them to prevent repetition of pointer events auto for buttons with tooltips
* Convert all buttons with tooltips to use ButtonTooltip
* refactor
* PRettier
* Small fix
* Remove commented out code in organization-invitation-accept-mutation
* fix: switch to use the platform oauth authorizations routes
* Add perms checking for org audit logs and org oauth apps
* PRettier
* Fix incorrect URL for oauth app flow
* Fix incorrect URL for oauth app flow
* Fix
* Add perms checking for warehouse related UI
* Update roles helper icon
* remove unused lib
* Update package lock... again
* Update package lock... again
* Smalllll update
* Update some checks
* Add gate for project level permissions
* Last fix
* update codegen
* Update warehouse endpoint routes
* Fix
---------
Co-authored-by: phamhieu <phamhieu1998@gmail.com >
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2024-07-01 17:59:54 +08:00
Long Hoang
72794b5698
chore: update fair use references ( #27668 )
...
* chore: update fair use references
* fix: sync package lock
2024-07-01 06:41:44 +00:00