Commit Graph
45 Commits
Author SHA1 Message Date
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
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
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
Arnold Rozon 056af94ed8 docs: Remove extra await from Swift sample (#27511)
Update with-swift.mdx

Removed extra await in `AppView` example
2024-06-25 20:41:55 +00:00
Guilherme Souza 5e8efeb415 docs: add quickstart for iOS and SwiftUI (#27535) 2024-06-25 14:24:32 -03:00
0xflotus e45c1b90d7 chore: fixed small error in features.mdx (#27508)
* chore: fixed small error in features.mdx

* Update features.mdx
2024-06-24 22:57:04 +00:00
Tyler Pfaffanddshukertjr 33c7e812c4 Fix errors being swallowed in account_page.dart and login_page.dart fixes #27104 (#27143)
* Refactor login_page with a _showSnackBar function

* Add an onError block to onAuthStateChange

Errors get swallowed without this error handler, I noticed it when I had requested too many magic link emails, there was no feedback in the ui, nor in the logs in the console.

* Fix SnackBars not being displayed and add a _showSnackBar function

* Fix code samples for login_page.dart and account_page.dart to reflect fixes in #27104

* Fix isError not being passed for an Unexpected Error in login_page

* Update flutter user management example to a more modern code

* Update the guide to match the new content

* run formatter

* got rid of excess code and minor format fix

---------

Co-authored-by: dshukertjr <dshukertjr@gmail.com>
2024-06-14 09:19:10 +00:00
Áom | Siriwat JandCharis 5d2920d028 [Fix #27119] Update PKCE example code on with-nextjs example (#27184)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-12 15:55:59 +00:00
Dhairya Shah 85d12f090e bug: fixed indentation issue in docs (#27112)
fixed indentation issue
2024-06-10 23:50:24 +00:00
Ivan VlatkovićandCharis 1b6a32458f [docs] SvelteKit tutorial - do not throw redirect (#26396)
do not throw redirect

`throw redirect` is not used in SvelteKit v4 it's just `throw`

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:38:03 +00:00
Jacint VargaandCharis 07bfcfbc3c docs: updated with-expo-react-native.mdx (#26705)
The `react-native-url-polyfill` is not needed in Expo anymore since SDK 50 (the latest SDK is 51).

You can read more about it here:  https://docs.expo.dev/versions/unversioned/sdk/url/

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:37:44 +00:00
Thor 雷神 Schaeff b0dd85d2a2 chore: update example dependencies. (#26381)
* chore: update example dependencies.

* chore: bump expo.
2024-05-17 13:39:31 +08:00
Peteranddshukertjr e167ecb804 Fix linting warnings in Flutter User Management Starter tutorial (#25090)
* Update User Management Starter Flutter to fix linting warnings

* bring Supabase instance up

---------

Co-authored-by: dshukertjr <dshukertjr@gmail.com>
2024-05-13 20:49:53 -05:00
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Charis 0d1f8b8627 fix: sveltekit examples pass headers through (#23448)
The `x-supabase-api-version` header was added to Supabase APIs, so it
needs to be passed through in SvelteKit examples.
2024-05-02 11:28:43 -04:00
HonzoraptorandCharis 40b9a1f335 Fixed type error in SvelteKit user management app tutorial (#23371)
The type RequestHandler was missing in one of the code boxes with TypeScript code.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-30 15:51:52 +00:00
Saugat DhimalandCharis 8d997ea3be fix: tabs actions path in with-nextjs.mdx (#23445)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-30 14:54:55 +00:00
Charis 170668431d fix: replace docs blockquotes with admonitions (#23160) 2024-04-22 15:45:19 -04:00
Charis 0c8f9942cf feat(understandability): add new server-side auth docs for sveltekit (#22574)
End-to-end guide for setting up Server-Side Auth with SvelteKit, covering:

- Protected routes
- Signin, signup, signout
- Protected data
2024-04-22 18:26:27 +00:00
Liam BirkinandCharis 7ac0f0fcc6 fix: broken links & typo in docs (#23118)
* Fix typos in testing-and-linting.mdx

- Changed an to and
- Fixed a 404 link due to missing forward slash

* Fix typo in vector-columns.mdx

- Fixed 404 link due to missing forward slash

* Fix typo in vector-columns.mdx

- Fixed 404 link due to missing forward slash

* found a few more 404 links

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-22 14:32:20 +00:00
8864e5633c docs: storage s3 protocol (#22647)
* docs: storage s3 protocol

* fix: edits

* docs(storage): added ownership,management,custom-roles docs

* chore: fix prettier

* docs: fix formatting & rephrase some bits

* fix: edits

* add error codes documentation

* update docs

* Adds blog post

* Adds embeds

* chore: update images

* parquet video

* Update thumb.png

* some doc updates

* Adds compat list

* guide: cyberduck

* doc updates

* ga page data

* blog updates

* update image

* Update 2024-04-18-s3-compatible-storage.mdx

* Update supabase-contributions.png

* blog update

* moves cyberduck to integrations

* updated multipart section blog

* Update 2024-04-18-s3-compatible-storage.mdx

* update blog

* fix link

* blog updates

* update blog

* docs update

* update announcement banners

* update

* update build stage

* update

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Francesco Sansalvadore <francescosansalvadore@mac.wind3.hub>
2024-04-18 14:57:16 +02:00
Bredillet Thomas 22290daa47 Fix link to nuxt composables (#22852)
Fix lin to nuxt composables
2024-04-18 08:48:46 +00:00
Inian 721d3a7f05 feat: update feature status (#22724)
* feat: update feature status

* fix vale errors

* Update features.mdx

* Update features.mdx

* Update features.mdx
2024-04-16 14:21:26 +08:00
hallidayo 16fda9b4aa fix: wording change (#22761)
wording change
2024-04-15 19:42:13 +00:00
Shounak GhoshandCharis 700e2f097e docs: fixed typescript bugs in code blocks (#22689)
Fixed typescript bugs in code blocks of with-sveltekit.mdx 

Now utilising the `satisfies` keyword instead of explicitly typing the exported functions.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-15 17:26:24 +00:00
Guilherme Souza c7217582ab chore: official supabase-swift (#22678)
* chore: remove community badge from supabase-swift

* chore: update realtime swift reference

* fix typo

* chore: update swift references

* chore: fix misspelling of behavior
2024-04-16 00:01:01 +10:00
Tyler ArbonandCharis 6f3bedeac5 Update with-sveltekit.mdx (#22635)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-12 03:04:11 +00:00
Charis 78c93f2d52 fix: change some docs links to make more sense (#22442) 2024-04-04 07:00:31 -04:00
Charis a1060c86de fix: better handling of getSession for sveltekit (#22381) 2024-04-03 07:18:46 -04:00
rogersm-uwosh acb64717ae Just changed the MyApp constructor to make it slightly more efficient (#22355)
Cleaned up MyApp's constructor to read as follows:

const MyApp({super.key});
2024-04-01 08:15:25 +00:00
Kenta Nakamori d62e4efb09 Update with-expo-react-native.mdx (#22193)
edit command
2024-03-25 04:09:57 +00:00
Andy TruongandCharis 3d629e9e72 (docs): fix return type error for futureBuilder (#22033)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-19 05:55:43 +00:00
Nicolas RobinsonandCharis c8fd53a58e docs: update sveltekit tutorial with new @supabase/ssr package (#22087)
* docs: update sveltekit tutorial with new @supabase/ssr package

Related to issue #21851: Sveltekit guide still uses the old packages

* fix comment

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-19 05:35:13 +00:00
Tyler 6b3420a5fd docs: Remove storage management section from the quick starts. (#21985)
remove storage management to keep the guide simple
2024-03-16 08:03:06 +09:00
TuriiyaandCharis 74a1d5fec1 docs: add missing import and type decl to sveltekit tutorial (#21634)
* docs: add missing import and type decl to sveltekit tutorial

* update +layout.server.ts in sveltekit code example

* update remaining

* chore: fix formatting

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-07 21:17:48 +00:00
Caleb L b5da46a209 docs: fix typo in nextjs tutorial (#21822)
fix typo
2024-03-06 22:26:06 +00:00
Michael Obubelebra AmachreeandCharis Lam 6e7e0426f3 Refactored quickstart guides for Next.js, React, and SvelteKit (#21517) (#21607)
* Refactored quickstart guides for Next.js, React, and SvelteKit (#21517)

* change suggested links

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-03-05 20:02:32 +00:00
Nick James 9a68e5a377 Update with-svelte.mdx (#21432)
### Account page fixed sign out function
2024-03-05 06:38:20 +00:00
Minh AuandCharis fb9e6aa9b1 Sync NextJs Quick Start and Web App Tutorials (#21718)
* rename 'web app tutorials' to 'web app demos'

* replace auth helper with server-side auth

* add more descriptive instructions

* fix small typos

* create a section on supabase utitlies

* update middleware section to include utilities

* update supabase auth ui to include the utilities

* add a login/signup form

* replace supabase auth ui section with a note

* update PCKE section to use /auth/confirm route instead of /auth/callback

* update Account Page section to use utilities and switch locations

* update Sign out section to use utilities

* update bonus section to include utilities

* minor fixes

* Apply suggestions from code review

* format

* format

* fix js examples

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 01:04:48 -05:00
hallidayoandChris Gwilliams e9763360a1 docs: nextjs missing createClient example code (#21532)
added createClient function example

Co-authored-by: Chris Gwilliams <517923+encima@users.noreply.github.com>
2024-03-05 00:49:38 -05:00
Charis cb7c67864b chore: linting rule tweaks and error fixes (#21678) 2024-03-04 23:32:46 -05:00
Sheldon FourieandCharis 3912e1ab46 Update profile now uses "avatarUrl" to correctly update avatar_url (#21555)
I noticed in the function to updateProfile the "avatar_url" was not using the passed in "avatarUrl" value.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-28 01:17:09 +00:00
Ari Israel a3126fa4cc docs: update Next.js Quickstart example env file name (#21351)
Update nextjs.mdx

The example env file created with `npx create-next-app -e with-supabase`  is called .env.example, not .env.example.local. This updates the getting started doc to reflect that.
2024-02-21 20:45:45 +00:00
Kristian HeitkampandCharis 6889153e48 fix the path for routing (#21415)
This will make the page load if not logged in and eliminate the following error message:
Error: NG04014: Invalid configuration of route '/': path cannot start with a slash

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-21 00:08:22 +00:00
Charis b0b8b6b6e3 refactor: finish moving mdx to content directory (#21321) 2024-02-16 13:43:02 -05:00