Commit Graph
60 Commits
Author SHA1 Message Date
Peter 1e28f4e9f0 Update dotenvx in example commands to be the correct package name (#35292) 2025-04-28 10:05:22 +02:00
7ce0038156 chore(docs): add dotenvx example (#31213)
* wip

* wip

* wip

* remove seeds

* wip

* add branching memento

* remove triple dots

* proofread

* chore: mention direct secret usage

* chore: update README.md

* chore: update docs

* fix: .env.local to .env.developemnt

* chore: fix typo

* chore: fix commands

* chore: update README.md

* chore: apply PR comments

* chore: rename .env.local to .env

* chore: simplify dotenvx setup (#32824)

* chore: bump cli

* chore: disable unused seed

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Qiao Han <qiao@supabase.io>
2025-01-17 14:33:15 +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
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
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
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
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
Thor 雷神 SchaeffandCharis 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 SchaeffandThorsten 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