The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Rapid updates for the copy text
Paul Copplestoneac81a56f15b4
diff --git a/www/data/products/storage/dashboard-carousel.json b/www/data/products/storage/dashboard-carousel.jsonindex 68e8075b5b5..d5969539380 100644--- a/www/data/products/storage/dashboard-carousel.json+++ b/www/data/products/storage/dashboard-carousel.json@@ -1,32 +1,32 @@[{- "title": "File preview anything",+ "title": "File previews","label": "File previews","img_url": "/images/product/storage/dashboard-view/file-previews.jpg",- "text": "Easily view any type of media you have, with support for video and audio previews. "+ "text": "Preview any media type, including video and audio. "},{- "title": "Miller based column view",- "label": "Column view ",+ "title": "Column view",+ "label": "Column view","img_url": "/images/product/storage/dashboard-view/column-view.jpg",- "text": "Slick column navigation so you can quickly dig down into multiple folders."+ "text": "Slick Miller-column navigation for rapid folder exploration."},{- "title": "List view for detailed info",+ "title": "List view","label": "List view","img_url": "/images/product/storage/dashboard-view/list-view.jpg",- "text": "Traditional list view so you can easily view important info on your media."+ "text": "List View to find detailed File meta data at a glance."},{"title": "Multi select actions","label": "Multi select actions","img_url": "/images/product/storage/dashboard-view/multi-column-selection.jpg",- "text": "Multi import and multi export, with the abilily to select multiple files from multiple folders."+ "text": "Multi-import and multi-export. Select multiple files from multiple folders."},{- "title": "Path settings",- "label": "Path settings",+ "title": "Path navigator",+ "label": "Path navigator","img_url": "/images/product/storage/dashboard-view/path-setting.jpg",- "text": "If you know the exact path of your file, you can easily paste it in and navigate straight to it."+ "text": "If you know the exact path of your file, type it in and navigate directly."}]diff --git a/www/data/products/storage/permissions-examples.js b/www/data/products/storage/permissions-examples.jsindex a1e87a022ba..2aaa2f401d8 100644--- a/www/data/products/storage/permissions-examples.js+++ b/www/data/products/storage/permissions-examples.js@@ -2,9 +2,9 @@ export default [{lang: 'sql',title: 'Public access to a bucket',- code: `CREATE POLICY open_all_update-ON storage.objects-for all WITH CHECK (bucket_id='bucket1');+ code: `create policy "Public Access"+on storage.objects for all+with check ( bucket_id = 'avatars' );`,detail_title: 'Allow public CRUD access to a bucket',detail_text: "This will allow any user access to the bucket named 'bucket1'",@@ -15,9 +15,12 @@ for all WITH CHECK (bucket_id='bucket1');{lang: 'sql',title: 'Public access to a folder',- code: `CREATE POLICY crud_public_folder-ON storage.objects-for all USING (bucket_id='bucket1' and (storage.foldername(name))[1] = 'public');+ code: `create policy "Public access to a folder"+on storage.objects for all+using (+ bucket_id = 'bucket1'+ and (storage.foldername(name))[1] = 'public'+);`,detail_title: 'Allow public CRUD access to a folder in a bucket',detail_text:@@ -28,10 +31,13 @@ for all USING (bucket_id='bucket1' and (storage.foldername(name))[1] = 'public')},{lang: 'sql',- title: 'Authenticated access to a folder',- code: `CREATE POLICY authenticated_folder-ON storage.objects-for all USING (bucket_id='bucket1' and (storage.foldername(name))[1] = 'authenticated' and auth.role() = 'authenticated');`,+ title: 'Authenticated access to a bucket',+ code: `create policy "Logged in access"+on storage.objects+for all using (+ bucket_id = 'bucket1'+ and auth.role() = 'authenticated'+);`,detail_title: 'Allow any authenticated user access to a folder',detail_text:"This will allow any authenticated user access to the folder named 'authenticated' in the bucket 'bucket1'",@@ -41,10 +47,14 @@ for all USING (bucket_id='bucket1' and (storage.foldername(name))[1] = 'authenti},{lang: 'sql',- title: 'User access to a file',- code: `CREATE POLICY crud_uid_file-ON storage.objects-for all USING (bucket_id='bucket2' and name = 'folder/only_uid.jpg' and auth.uid() = 'd8c7bce9-cfeb-497b-bd61-e66ce2cbdaa2');`,+ title: 'Individual access to a file',+ code: `create policy "Individual access"+on storage.objects for all+using (+ bucket_id = 'bucket1'+ and name = 'folder/only_uid.jpg'+ and auth.uid() = 'd8c7bce9-cfeb-497b-bd61-e66ce2cbdaa2'+);`,detail_title: 'Allow a specific user access to a file',detail_text:"This will allow a specific user based on the user's UID access to a file named 'only_uid.jpg'",diff --git a/www/package-lock.json b/www/package-lock.jsonindex 183ee665322..db37f0e0af2 100644--- a/www/package-lock.json+++ b/www/package-lock.json@@ -4537,9 +4537,9 @@"integrity": "sha512-JUdjWpcxfJ9IPamy2f5JaRDCaqJOxDzOSKtbdx4rH9VivMd1vIzoPumsJa9LoMIi4Fx2BV2KZOxWhNkBjaYivQ=="},"electron-to-chromium": {- "version": "1.3.698",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.698.tgz",- "integrity": "sha512-VEXDzYblnlT+g8Q3gedwzgKOso1evkeJzV8lih7lV8mL8eAnGVnKyC3KsFT6S+R5PQO4ffdr1PI16/ElibY/kQ=="+ "version": "1.3.701",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.701.tgz",+ "integrity": "sha512-Zd9ofdIMYHYhG1gvnejQDvC/kqSeXQvtXF0yRURGxgwGqDZm9F9Fm3dYFnm5gyuA7xpXfBlzVLN1sz0FjxpKfw=="},"node-releases": {"version": "1.1.71",diff --git a/www/pages/storage/Storage.tsx b/www/pages/storage/Storage.tsxindex 4ac133e8c4b..3bc6e3abe6c 100644--- a/www/pages/storage/Storage.tsx+++ b/www/pages/storage/Storage.tsx@@ -57,8 +57,8 @@ function AuthPage() {</span>,]}subheader={[- 'An open source scalable object store, capable of holding any file and file size you like.',- 'With custom policies and permissions that are familair, easy to implement and unlimited scalable storage.',+ 'An open source scalable File store with unlimited scalability, for any file type.',+ 'With custom policies and permissions that are familiar and easy to implement.',]}image={[<img@@ -87,26 +87,27 @@ function AuthPage() {<Typography.Title level={4}>Write less code</Typography.Title><Typography.Text><p className="text-lg">- Use media in your project without needing to rely on external services or learn new- frameworks - integrates with supabase Auth and Database.+ Interoperable with all other Supabase services, including Auth and Postgres.</p>- <p>+ {/* <p>Familiar and easy to use permissions mean that your content is secure and accessibleonly to the right users- </p>+ </p> */}</Typography.Text></div><div className="col-span-3 col-start-5"><p className="mb-4"><IconBarChart /></p>- <Typography.Title level={4}>Lighting fast</Typography.Title>+ <Typography.Title level={4}>Lightning fast</Typography.Title><Typography.Text>- <p className="text-lg">API server is a thin layer built on Fasitfy.</p>- <p>+ <p className="text-lg">+ Thin API server layer that leverages Postgres' permissions and performance.+ </p>+ {/* <p>1.3x faster than XXX, your content can be delivered anywhere in the world at thespeed you expect.- </p>+ </p> */}</Typography.Text></div><div className="col-span-3 col-start-9">@@ -115,11 +116,8 @@ function AuthPage() {</p><Typography.Title level={4}>Dependable</Typography.Title><Typography.Text>- <p className="text-lg">- Enterprise level uptime with automatic backups of your content kept and maintained- all by Supabase.- </p>- <p>A durability rating of 99.999999999%.</p>+ <p className="text-lg">Enterprise-level uptime complete with automatic backups.</p>+ {/* <p>A durability rating of 99.999999999%.</p> */}</Typography.Text></div></div>@@ -128,13 +126,10 @@ function AuthPage() {<SectionContainer className="pt-16"><div className="mb-16 block"><Typography.Title>Sleek dashboard for managing your media</Typography.Title>- <p className="text-lg">- We provide a full storage explorer so any of your team can easily traverse content and- files.- </p>+ <p className="text-lg">A complete File Explorer so that any of your team can use.</p><p>- Simple drag and drop uploading, file moving and multiple file selection so it’s as easy- as working on your desktop.+ Drag and drop uploading, moving files, and multiple file selection. As easy as working+ on your desktop.</p></div><ImageCarousel@@ -168,13 +163,10 @@ function AuthPage() {// @ts-ignorecontent={ApiExamples}text={[+ <p>Built from the ground-up for interoperable authentication.</p>,<p>- An API built from the groud up for server and client side authentication that is fast- to implement.- </p>,- <p>- With powerful library clients coming soon that allow for asset optimasation and image- transformation+ Fast and easy to implement using our powerful library clients. Asset optimization and+ image transformation coming soon!</p>,]}footer={[@@ -183,7 +175,7 @@ function AuthPage() {<FeatureColumnicon={<IconWifi />}title="CDN integration"- text="Request any kind of media in any format and size you like."+ text="Served from the edge to reduce latency."/><Badge color="blue">Coming soon</Badge></div>@@ -191,7 +183,7 @@ function AuthPage() {<FeatureColumnicon={<IconShuffle />}title="Auto transformation & optimisation"- text="Request any kind of media in any format and size you like."+ text="Resize and compress your media before you serve it."/><Badge color="blue">Coming soon</Badge></div>@@ -217,15 +209,14 @@ function AuthPage() {<div className="col-span-12 lg:col-span-5 mb-8"><Typography.Title level={2}>Integrates natively <br />- with supabase Auth+ with Supabase Auth</Typography.Title><p className="text-lg">- No need to learn syntax for writing policies when you can use the same SQL you- use for your database permissions.+ Using Postgres Row Level Security to create File access rules.</p><p>- Use any combination of postgres function, helper functions and even your own- metadata to write any policy.+ Supabase Storage is built around Postgres so that you can use any combination of SQL, Postgres functions,+ and even your own metadata to write policies.</p><Buttonsize="small"