Thor 雷神 Schaeff
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
Jon Meyers
a750896a34
Docs: remove outdated section from Slack Clone example ( #18600 )
...
remove outdated section from Slack Clone example
2023-11-01 00:26:37 +00:00
Thomas Eckl
1d2dc39cc4
fix: prevent error during local startup
...
Bump of supabase-js brought warning concerning not provided session storage option.
Therefore switched to SupabaseClient creation via auth-helpers-nextjs which means switching from localStrage to cookieStorage.
2023-07-03 00:10:11 +02:00
Greg Richardson
26be8af745
chore: change dashboard links to new url
2023-06-22 09:32:18 -06:00
Alaister Young
fc22963f16
Merge pull request #11334 from btoo/nextjs-slack-clone-fixes
...
fix several issues with nextjs-slack-clone:
2023-04-20 12:40:53 +10:00
Alaister Young
480d5cefef
fix: use existing channel variables
2023-04-20 12:29:27 +10:00
dependabot[bot]
c1d3cf6998
chore(deps): bump postcss and tailwindcss
...
Bumps [postcss](https://github.com/postcss/postcss ) to 8.4.5 and updates ancestor dependency [tailwindcss](https://github.com/tailwindlabs/tailwindcss ). These dependencies need to be updated together.
Updates `postcss` from 6.0.23 to 8.4.5
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/6.0.23...8.4.5 )
Updates `tailwindcss` from 1.9.6 to 3.3.1
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v1.9.6...v3.3.1 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
- dependency-name: tailwindcss
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-12 07:55:53 +00:00
btoo
137032684c
fix several issues with nextjs-slack-clone:
...
- fix session restoration in nextjs-slack-clone (setUser needs to be called from not only onAuthStateChange but also getSession)
- fix message listener unmounting (supabase.removeChannel expects a RealtimeChannel, not a string)
- fix fetchMessages order (ascending option must be provided within an options object)
2022-12-29 01:49:53 -05:00
Andrew Smith
fe917faf46
Update examples with latest supabase-js
...
Update schema file to work with latest supabase-js
2022-10-26 21:45:37 +00:00
thorwebdev
d4ee3473c8
chore: update examples supabase-js v2
2022-10-19 23:18:59 +08:00
dannykng
9370244537
Revert "chore: remove examples"
...
This reverts commit 05b96de142 .
2022-09-16 10:13:18 -07:00
Isaiah Hamilton
05b96de142
chore: remove examples
2022-09-08 22:55:22 -04:00
Chris Bautista
e8d1dd33a6
fix: vercel deploy button for slack clone
2022-07-28 11:15:13 -07:00
Jonathan Summers-Muir
5a38bd3d51
chore: update app.supabase.io links to app.supabase.com
2022-05-30 14:52:54 +08:00
Wen Bo Xie
ceeb5e0038
chore: version bump supabase-js to 1.35.3 in nextjs slack clone
2022-05-19 22:25:01 -07:00
Amin
c3fa66de18
update more slack clone links
2022-05-19 10:53:29 +07:00
Copple
e053fe7dc4
updates the deploy buttons
2022-04-27 17:28:35 +02:00
Copple
1b1bce93da
organises the examples by function
2022-04-27 15:20:41 +02:00
Paul Copplestone
ede962481f
chore: I'm settling on the example structure: {framework}-{app-description}
...
This is more likely how people will search - looking first for the framework which they are familiar with
2020-11-17 19:54:22 +08:00
Paul Copplestone
3d2c8c7ee9
Reverts back to the old supabase-js (for now) and resolves sidebar styling issues
2020-11-16 10:21:15 +08:00
Bobbie Soedirgo
550be3a9cb
chore(slack clone): update to latest supabase-js ( #288 )
...
Also minor fixes, mostly related to using filters after `select` and
some auth API changes.
2020-11-15 11:59:29 +08:00
Duncan Healy
c870fdd252
catch error, change body to data
2020-11-05 16:02:04 +00:00
Duncan Healy
0148176bad
fix package json to latest version of supabase-js
2020-11-05 11:03:50 +00:00
Duncan Healy
1767ec6e6e
fix signOut
2020-11-04 12:28:17 +00:00
Duncan Healy
f2fe1b0a9c
change to signIn signUp
2020-11-04 12:21:39 +00:00
Pham Hieu
2befe81a1a
fix: slack-clone example to use a single supabase client in order to prevent access-token out of sync
2020-08-18 16:19:10 +08:00
Thorsten Schaeff
fed822f48c
examples(slack-clone): Sync changes with next.js repo. ( #139 )
...
Co-authored-by: Thorsten Schaeff <thorsten@stripe.com >
2020-08-13 15:14:34 +08:00
awalias
274b413293
Update README.md
...
slight clarification to slack clone docs
2020-08-09 13:12:22 +08:00
Paul Copplestone
55a0aa5b7f
docs: Adds the schema for people to get an idea of RLS
2020-07-30 20:28:19 +08:00
Paul Copplestone
1c4e6c91c9
docs: Left align gif
2020-07-30 20:10:05 +08:00
Paul Copplestone
83467cf86f
docs: adds a link to a loom video
2020-07-30 20:04:32 +08:00
Paul Copplestone
91ec9cd339
docs: removes link to giphy
2020-07-30 19:17:53 +08:00
Paul Copplestone
158418504a
chore: small formating on slack clone
2020-07-30 19:15:25 +08:00
Paul Copplestone
05addad410
chore: Bumps the supabase version to the most updates Auth
2020-07-30 13:35:44 +08:00
Paul Copplestone
7e24010f60
docs: Flesh out some instructions
2020-07-29 18:12:46 +08:00
Paul Copplestone
d57c43a8c4
Adds the missing env vars for vercel deploy
2020-07-29 17:59:05 +08:00
Paul Copplestone
1c5e717ba6
chore: switch to Vercel deploy. It seems that the Netlify deploy button doesn't resolve subfolders very well
2020-07-29 17:54:29 +08:00
Paul Copplestone
cb67f05c69
fix: wrong link for the netlify deploy button
2020-07-29 17:44:31 +08:00
Paul Copplestone
1e49eaeb7e
Adds a Netlify deploy button
2020-07-29 17:41:49 +08:00
Paul Copplestone
1ad821b81b
chore: updates slack clone to use new Supabase auth
2020-07-28 21:42:40 +08:00
Paul Copplestone
d96cbce861
Renames the slack clone to be a basic implementation so that in the future we can do similar examples with other frameworks
2020-02-04 12:49:46 +08:00
Paul Copplestone
ff5d58d73d
Creating full example with scrolling, fake auth, and store
2020-02-04 12:48:20 +08:00
Paul Copplestone
a5f9133358
Moving to new docker image
2020-01-31 20:22:40 +08:00
Paul Copplestone
d92bdb9540
FIxing class -> className
2020-01-31 20:07:38 +08:00
Paul Copplestone
4523aca9e6
Merge branch 'feature/chatroom' of github.com:supabase/monorepo into feature/chatroom
2020-01-31 16:16:11 +08:00
Paul Copplestone
70c2c019d8
Adding a fake login page
2020-01-31 16:16:07 +08:00
awalias
286162d367
updated comment
2020-01-31 16:09:26 +08:00
awalias
aa60e62191
removed redundant code in example
2020-01-31 16:08:50 +08:00
awalias
c673f4a07a
Merge branch 'feature/chatroom' of https://github.com/supabase/monorepo into feature/chatroom
2020-01-31 15:31:12 +08:00
awalias
569de0404b
added intermediate state to enable live messages
2020-01-31 15:28:51 +08:00