Commit Graph
1031 Commits
Author SHA1 Message Date
Han Qiao 7d74d69697 chore: update readme for employees example (#30964)
* chore: update readme for employees example

* chore: update readme title

* chore: wrap code example in admonition

* chore: revamp schema diff guide
2024-12-06 18:23:07 +08:00
abdellah hariti 7cdbbdaf72 await createClient() promise in AuthButton.tsx (#30909) 2024-12-05 19:09:41 +00:00
Han Qiao 67e12df620 docs: improve database migrations guide (#30914) 2024-12-05 23:43:43 +08:00
Andrew Valleteau 5f0a8ef618 chore(docs): update nextjs slack clone (#30894)
* chore(docs): wip update nextjs slack

* chore: polish configtoml

* chore: add next.config.js

* chore: setup for valid nextjs deploy
2024-12-05 21:36:13 +08:00
Andrew Valleteau 9524eff4f8 chore(docs): update user management next docs (#30849)
* chore(docs): update user-management config toml
2024-12-04 13:16:10 +00:00
Han Qiao 7f099d0e4c chore: simplify config for realtime example (#30889) 2024-12-04 21:08:41 +08:00
Han Qiao 0c8a498913 chore: simplify config for enterprise patterns (#30887) 2024-12-04 18:05:26 +08:00
d265797541 chore: update nextjs-todo-list guide and config.toml (#30716)
* chore: update nextjs-todo-list guide and config.toml

* fix: use commented vercel urls

* Update examples/todo-list/nextjs-todo-list/supabase/config.toml

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

* Update examples/todo-list/nextjs-todo-list/supabase/config.toml

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

* chore(docs): remove local development guide

* chore(docs): document dotenv usage syntax

* chore: complete auth config example

* chore: update config comments

* chore: disable seeding via config

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Qiao Han <qiao@supabase.io>
2024-12-04 08:59:22 +00:00
Han Qiao b0abf4e580 chore: simplify config for edge functions (#30850)
* chore: simplify config for caching examples

* chore: simplify config for edge functions

* chore: upload example images to storage
2024-12-04 16:53:52 +08:00
Han Qiao 29e1b6c051 chore: simplify configs for the rest of ai examples (#30839)
* chore: simplify configs for the rest of ai examples

* chore: document how to update project config

* chore: link to config docs
2024-12-03 22:29:44 +08:00
Han Qiao 4348aa739c chore: simpler storage and ai config examples (#30781)
* chore: simpler storage config examples

* chore: simplify ai examples

* chore: simplify image search config
2024-12-02 19:19:35 +08:00
Brian CanzanellaandHan Qiao 08a45f4fa0 fix: invalid example toml file (#30718)
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-11-29 08:54:56 +00:00
Han Qiao 5ea41f3be4 chore: update storage examples config file (#30712)
* chore: update storage examples config file

* chore: initialise supabase config for resumable uploads
2024-11-28 20:27:25 +08:00
CharisandFrancesco Sansalvadore 2fb8b9f74c feat(docs): ai prompts section (#30342)
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-11-26 13:43:04 -05:00
Thor 雷神 Schaeff f7518c2896 chore: background tasks updates (#30454)
* chore: bacground task docs and example.

* chore: add video.
2024-11-13 16:57:25 +08:00
Gen Tamura fd9929be5a Update FetchDataSteps.tsx (#30360) 2024-11-07 15:08:32 +00:00
devin-ai-integration[bot] 04e918cd28 fix: Remove unnecessary tablespace keyword from sentry functions migration (#30217)
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2024-11-05 13:49:38 +08:00
Charis 652c4288e6 chore(docs): update examples for nextjs 15 breaking changes
cookies() is now asynchronous
2024-10-30 10:13:57 -04:00
2d4e046afb Adding a prompts folder (#29131)
* adds migration prompt

* Adds a prompt for coding style

* Update examples/prompts/code-format-sql.md

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

* Update examples/prompts/database-create-migration.md

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

---------

Co-authored-by: Tyler <dshukertjr@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-17 13:37:54 +02:00
Mayur 123dd5b426 docs: update Cloudflare worker itty router link example (#29904)
fix: 404 link for the cloudflare worker itty router
2024-10-17 13:00:13 +02:00
Vincent Fretin ce724e91bb Fix wrong style width value in solid tutorial (#29688)
* Fix wrong style width value in solid tutorial

* update the line also in the code

* sync with the doc
2024-10-04 14:26:40 +00:00
Lakshan Perera ef6353e84c Edge Function example on image manipulation (#29658)
* chore: add magick-wasm example functions

* chore: add image manipulation guide
2024-10-03 17:47:55 +08:00
Wen Bo Xie 18fe759e29 fix: update Realtime AuthZ README (#22816) 2024-09-30 18:57:02 +00:00
Tyler a916150022 example: Update web, iOS, and Android code to the latest Flutter version (#29582)
* example: Update web, iOS, and Android code to the latest Flutter version

* Update dev dependencies to the latest
2024-09-30 13:22:04 +08:00
Kamil Ogórek a0ce795bdf docs: Add OAuth App Authorization Flow example (#29508) 2024-09-28 01:12:09 +08:00
Francesco Sansalvadore b5eadc1455 change messaging (#29537)
* revert to mil

* update sitemap
2024-09-27 18:27:20 +02:00
Charis c2fe11850d feat: embed code samples from github (#29519)
Add the ability to embed code samples from GitHub into tutorials, so we can have a single source of truth for the source code.

Introduces the <$CodeSample /> syntax, which is a special syntax and not a real React component (see the directives/README.md for why on earth I did it this way -- in this specific case, CodeHike adjusts the MDX syntax tree before it gets compiled, and we need to adjust it ourselves before CodeHike sees it, so we need to get down to the level of manipulating the AST in order to make this work with CodeHike).

Adjusted one of the example tutorials to use this new feature as a test.
2024-09-26 15:54:57 -04:00
dependabot[bot] 1b442b318e chore(deps): bump next from 14.0.3 to 14.2.10 in /examples/caching/with-react-query-nextjs-14 (#29351)
chore(deps): bump next in /examples/caching/with-react-query-nextjs-14

Bumps [next](https://github.com/vercel/next.js) from 14.0.3 to 14.2.10.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.0.3...v14.2.10)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-20 16:33:19 +02:00
dependabot[bot] c5cd122400 chore(deps-dev): bump nuxt from 3.5.3 to 3.12.4 in /examples/user-management/nuxt3-user-management (#28401)
chore(deps-dev): bump nuxt

Bumps [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt) from 3.5.3 to 3.12.4.
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v3.12.4/packages/nuxt)

---
updated-dependencies:
- dependency-name: nuxt
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-20 16:32:40 +02:00
Andrew Valleteau 34ca82f18c chore: replace deno deprecated unstable flag with recommended (#29316)
See: https://docs.deno.com/runtime/reference/cli/unstable_flags/\#--unstable
Related: https://github.com/supabase/cli/issues/2682
2024-09-18 09:09:47 +02:00
Tyler 60b45b6d93 examples: Add localized auth hook email example (#29079) 2024-09-04 09:38:29 -03:00
Thor 雷神 Schaeff 2ae41b620e Add Auth Hook Resend Example. (#28805) 2024-08-23 21:31:35 +08:00
Francesco Sansalvadore c172b6a516 scale to bill (#28792)
* scale to billions

* update og image

* update og image
2024-08-21 16:00:17 +02:00
Thor 雷神 Schaeff 4f0a0b54a7 Edge Functions Llamafile example. (#28544)
* ef llamafile example.

* chore: add docs.

* chore: add blogpost.

* chore: spelling.

* chore: docs nit.

* chore: nits from review.

* chore: spelling  nits.

* Update apps/www/_blog/2024-08-21-mozilla-llamafile-in-supabase-edge-functions.mdx

* Update apps/www/_blog/2024-08-21-mozilla-llamafile-in-supabase-edge-functions.mdx
2024-08-21 20:35:58 +08:00
Tyler 76e208371c example: Update Flutter Figma clone app (#28593)
Add authorizations to Flutter figma clone
2024-08-13 21:14:16 +09:00
dependabot[bot] 9ef9e2e3be chore(deps-dev): bump @nuxt/devtools from 0.5.5 to 1.3.9 in /examples/user-management/nuxt3-user-management (#28400)
chore(deps-dev): bump @nuxt/devtools

Bumps [@nuxt/devtools](https://github.com/nuxt/devtools/tree/HEAD/packages/devtools) from 0.5.5 to 1.3.9.
- [Release notes](https://github.com/nuxt/devtools/releases)
- [Changelog](https://github.com/nuxt/devtools/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nuxt/devtools/commits/v1.3.9/packages/devtools)

---
updated-dependencies:
- dependency-name: "@nuxt/devtools"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 11:07:54 +02:00
Peter 476542f86d Update Supabase Bootstrap NextJS example to use new SSR methods (#28241)
* Update NextJS example to use new SSR methods

* Remove Debug message

* Double quote imports and set supabase package versions to latest

* missed a file
2024-08-02 18:15:35 -05:00
Jonathan Summers-MuirandFrancesco Sansalvadore 6d760a1a99 Feat/deep dark (#27026)
* chore: move to deeper dark

* tidy up boxes on www

* update deep-dark colors

* fix homepage product cards

* toned down pricing page a little

* update

* lots of color changes

* Update grid.scss

* Update EntityListItem.tsx

* Update EntityListItem.tsx

* fix partners page icon

* fix partners page colors

* update theme

* Update global.css

* combined dark theme so classic-dark does not break on other sites

* Update package-lock.json

* updated color tokens pipeline to support combined dark theme

* smol updates

* Update FeaturedThumb.tsx

* Update BlogFilters.tsx

* Update BlogListItem.tsx

* Update BlogListItem.tsx

* Update UserSettingsDropdown.tsx

* Update NavigationBar.tsx

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-07-30 21:34:28 +08:00
Thor 雷神 Schaeff 44b8986a5d chore: update poetry lock. (#27945) 2024-07-12 14:48:52 +08:00
Thor 雷神 Schaeff eff7ed3fe6 chore: downgrade for usage in sagemaker (#27944)
Update pyproject.toml
2024-07-12 11:41:21 +08:00
Wen Bo Xie b7d4d64fee fix: update Realtime AuthZ policies in docs/demo (#27863) 2024-07-08 18:23:03 -04:00
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
Jens Hauke 33a6bd439a Example react-user-management: Unsubscribe onAuthStateChange listener. (#27799)
Example react-user-management:
Unsubscribe the sb.auth.onAuthStateChange listener on component cleanup.
2024-07-04 16:24:24 +00: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
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
Wen Bo Xie 83ecfa5e76 fix: simplify rooms_users policies (#27629) 2024-06-28 18:04:02 -04:00
Filipe CabaçoandWen Bo Xie 7630e448dc fix: Change example to use the new Authz format (#27570)
Change example to use the new Authz format
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
2024-06-27 22:54:34 +01:00
Joel Lee 029a4f7cb7 feat: update package-lock to use ssr v0.4.0 (#27503) 2024-06-25 06:03:58 +02:00
Thor 雷神 Schaeff b427907a24 blog: Protomaps Supabase Storage Blog & Example (#27231)
* chore: add example.

* blog: host protomaps on supabase storage.

* chore: some cal blogpost nits.

* chore: add video to top.
2024-06-19 21:07:56 +08: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