Commit Graph
1018 Commits
Author SHA1 Message Date
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
Joel Lee 7547c52e4f fix: revoke role on public for hooks (#27077)
* fix: revoke role on public for hooks

* fix: update SQL editor queries

* fix: update examples

* fix: update RBAC doc

* fix: update description to describe why we revoke public

* fix: correct use of we

* fix: run prettier

* fix: remove unintentionally added files
2024-06-07 22:03:12 +02:00
Thor 雷神 Schaeff dda1c05ebd docs: Debugging Edge Functions with Inspector (#27014)
* chore: update ai types.

* docs: start ef inspector docs.

* chore: break out into own page.

* chore: spelling.

* chore: chrome devtools only.
2024-06-06 17:21:36 +08:00
cylussandCharis bfa54a2ca1 docs: Fix incorrect RLS original word in examples (#26937)
Fix incorrect RLS original word

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 01:08:30 +00:00
Thor 雷神 SchaeffandCharis 1a571a2368 docs: edgy bedrock. (#26909)
* docs: edgy bedrock.

* fix: nav.

* Apply suggestions from code review

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-01 22:28:39 +08:00
Thor 雷神 Schaeff ec3eaed498 feat: amazon bedrock edge functions example. (#26698)
* feat: amazon bedrock edge functions example.

* chore: track aws sdk issue.

* chore: mock file system for config files.

* chore: fix migration.
2024-05-28 13:12:42 +08:00
Adam Chen Wei db923ba4b1 Update README.md (#25993)
https://www.polyscale.ai/future/
polyscale is no longer available. Maybe good to have another alternative to put in place. should remove for now to avoid confusion for the near future.
2024-05-27 19:36:49 +02: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
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
Simon HaandCharis 597c554e7a [WIP] 20771/fix auth get user for edge functions (#23155)
* docs: fix RPC sql example

* docs: fix auth.getUser() calls to use auth.getUser(jwt)

- add lines to get token before calling auth.getUser() as session is not
set after setting authHeader in client

* Apply suggestions from code review

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-30 20:34:58 +00:00
Thor 雷神 Schaeff 548db662ce 🤫: edgy sentry. (#23175)
feat: edgy sentry.
2024-04-24 14:47:05 +08:00
Thor 雷神 SchaeffandBobbie Soedirgo b9d6280511 chore: import edge runtime types. (#22722)
* chore: import edge runtime types.

* chore: remove versions.

---------

Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>
2024-04-16 07:32:00 +00:00
Bobbie Soedirgo 5c062fcdb7 chore: Supabase AI types in examples (#22751) 2024-04-16 16:53:15 +10:00