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ço and Wen 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 Pfaff and dshukertjr
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
cyluss and Charis
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 雷神 Schaeff and Charis
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
Peter and dshukertjr
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 Ha and Charis
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 雷神 Schaeff and Bobbie 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
Andrew Smith
6ed84f2404
update sveltekit user management example ( #22688 )
2024-04-15 19:38:36 +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
6acb28ed56
doc: Add Realtime Authorization Demo ( #22500 )
...
Add the Realtime Authorization Demo
---------
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com >
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com >
2024-04-12 23:29:00 +01:00
Thor 雷神 Schaeff
cba6b50cb8
chore: ai example updates ( #22660 )
...
* chore: update ef ai example.
* chore: move to seed.sql file.
2024-04-12 15:07:32 +08:00
dependabot[bot]
e3df0fb5fd
chore(deps): bump tar from 6.2.0 to 6.2.1 in /examples/user-management/expo-push-notifications ( #22616 )
...
chore(deps): bump tar
Bumps [tar](https://github.com/isaacs/node-tar ) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 13:57:46 +10:00
Inian
66a51bf817
remove live slack clone demo ( #22644 )
...
Example doesn't work already. Got Thor's confirmation [here](https://supabase.slack.com/archives/CS7RWBQ8K/p1712822464678959?thread_ts=1712668278.893099&cid=CS7RWBQ8K )
2024-04-12 12:55:36 +10:00
Charis
5d8cef6040
fix: update all examples and snippets to use select for auth rls func… ( #22632 )
...
fix: update all examples and snippets to use select for auth rls functions
2024-04-11 12:56:11 -04:00
Thor 雷神 Schaeff
7d9d5b3b02
chore: AI in EF start. ( #22566 )
...
* chore: AI in EF start.
* chore: complete demo.
2024-04-11 13:05:17 +08:00
Joshua Kim and Charis
69ad842814
Slight changes in how llama_index is now organized. ( #22609 )
...
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-04-10 15:40:40 +00:00
5903b5d4a8
chore: prepare examples for cli bootstrap ( #22428 )
...
* chore: prep expo example.
* Modify Flutter user management example to use .env and initialize supabase
* chore: add .env support to swift-user-management
* chore: update supabase dependency for swift-user-management example
* chore: minor expo updates.
* chore: update auth nextjs example.
---------
Co-authored-by: dshukertjr <dshukertjr@gmail.com >
Co-authored-by: Guilherme Souza <grsouza@pm.me >
2024-04-05 17:26:36 +08:00
Han Qiao
5f11d81630
chore: create .env.example for bootstrap nextjs ( #22309 )
2024-03-28 21:17:16 +08:00
5215a993af
docs: remove unused user_id param ( #21939 )
...
* docs: remove unused user_id param
* mark fn STABLE not IMMUTABLE
* chore: update throughout.
---------
Co-authored-by: thorwebdev <thor@supabase.io >
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com >
2024-03-27 09:11:11 +00:00
280c26d23d
feat: add amazon bedrock vecs example. ( #21963 )
...
* feat: add amazon bedrock vecs example.
* feat: add Amazon Bedrock guides.
* feat: add blogpost.
* chore: add video.
* Apply suggestions from code review
Co-authored-by: Oliver Rice <github@oliverrice.com >
Co-authored-by: Greg Richardson <greg.nmr@gmail.com >
* chore: update example.
* chore: updates from review.
---------
Co-authored-by: Oliver Rice <github@oliverrice.com >
Co-authored-by: Greg Richardson <greg.nmr@gmail.com >
2024-03-26 18:13:18 +08:00
hallidayo and Charis
a7c6f3ec9a
fix: edge functions removed port 465 ( #22071 )
...
removed port 465
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-03-19 07:45:37 +00:00
Turiiya and Charis
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
Kirill So and Charis
aeb74c8947
SvelteKit docs and examples - remove throw ( #21637 )
...
SvelteKit docs and examples changes for throw
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-03-06 15:52:21 +00:00
14ca7b6ed9
docs: add sentry integration docs ( #21439 )
...
* docs: add sentry integration docs
* feat: add sentry edge functions monitoring guide.
* feat: add sentry functions example.
* fix: navbar.
* chore: nits.
* chore: add to functions example list.
* fix: formatting.
* chore: add nextjs example.
* fix: rename sentry guide
* remove configuration options
* Apply suggestions from code review
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com >
---------
Co-authored-by: thorwebdev <thor@supabase.io >
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com >
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com >
2024-03-06 14:50:03 +00:00
Thor 雷神 Schaeff and Charis
7ce6958030
feat: add rbac claim auth hook. ( #21263 )
...
* feat: add rbac claim auth hook.
* feat: get user role from jwt.
* chore: update full-schema.
* feat: add RBAC guide.
* feat: use plpgsql.
* Apply suggestions from code review
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* chore: make top level claim.
* chore: set search_paths.
* chore: accessing custom claims.
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-03-04 14:24:32 +00:00
냥냐챠
b10301bc3c
chore: update an edge function example ( #21539 )
...
chore: update `send-email-stmp` example
2024-02-27 10:49:26 +00:00
LV Nilesh and Charis
045dafcef7
Update Account.jsx ( #21136 )
...
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-02-09 20:08:24 +00:00
Charis
a4d4f68797
fix db connections for example edge functions ( #20889 )
2024-01-30 18:28:05 -05:00
Greg Richardson
d42536b23e
Docs: Update AI guides to reference pooler connection string ( #20846 )
...
docs(ai): update guides to reference pooler connection string
2024-01-29 13:44:23 -07:00
Tyler
b3e43567d8
blog: Add Flutter Figma clone blog article ( #20768 )
...
* Minor code example fix on Flutter example
* blog: add flutter figma clone blog article
* Run formatter
* update the images
2024-01-26 16:54:39 +01:00
Tyler
7b26792d3f
examples: Add Flutter Figma clone app to the realtime examples ( #20726 )
...
* examples: Add Flutter Figma clone app to the realtime examples
* change the folder name to flutter-figma-clone
2024-01-25 19:08:09 +09:00
RilDev
b8707817b6
fix: add bearer token to resumable-upload-uppy example ( #18789 )
2024-01-18 12:22:17 +00:00
Thor 雷神 Schaeff and Philipp Steinrötter
34a016b4c2
feat(blog): Add React Query post. ( #20254 )
...
* feat(blog): Add React Query post.
* feat(examples): Add React Query example.
* Apply suggestions from code review
Thank you 💚
Co-authored-by: Philipp Steinrötter <philipp@steinroetter.com >
* chore: update og image.
---------
Co-authored-by: Philipp Steinrötter <philipp@steinroetter.com >
2024-01-12 10:30:48 +00:00
Clarence and Alaister Young
432de2fc69
chore: clean up on empty className attributes ( #20203 )
...
clean up on empty className attrib
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-01-08 05:49:28 +00:00