marwyetah
08/16/2022, 4:47 AMTwisted Chaz
08/17/2022, 2:29 PMalbums
and I uploaded a file to artist/title.png
the key returned was albums/artist/title.png
, I stored that and then tried to use it from.getPublicUrl()
but the key is incorrect because it contains the bucket name. I think the response should be { bucket: string, key: string }
veteran_ludologist
08/17/2022, 5:22 PMveteran_ludologist
08/17/2022, 5:26 PMmaxim
08/19/2022, 5:38 PMfae
08/19/2022, 6:43 PMgaryaustin
08/19/2022, 7:44 PMwhaley
08/20/2022, 8:28 PMBloxs
08/20/2022, 8:29 PMIbra
08/22/2022, 7:04 AMmadsbuch
08/22/2022, 12:19 PMsilentworks
08/22/2022, 2:06 PMsilentworks
08/22/2022, 2:08 PMfernandops26
08/25/2022, 12:18 AMYelloJello
08/26/2022, 3:37 PMSECURITY DEFINER
to run the fn with perms to ignore RLS.eqoram
08/29/2022, 1:29 PMhankg
08/29/2022, 1:38 PMhankg
08/29/2022, 1:40 PMjdgamble555
08/29/2022, 2:01 PMsupabase.from<Post>('posts').select('*')
... I don't see why the generics couldn't support both
2. Subscriptions
a. The old V1 syntax is not supposed to be depreciated according to the release, but does not work
b. This is way over complicated IMO. The channel name should just automatically generate a UUID where I don't have to name it unless I want to. In that case I would use the internal unsubscribe method.
c. This is where Firebase is amazing. The syntax for subscriptions IMO should be easy and the same as the regular query. Even V1, the subscription and the query are completely different statements:
- this.supabase.from(col).select('*').eq(field, value).single()
- `this.supabase.from(${col}:${field}=eq.${value}
).on('*', (payload) => {})`
The select etc should look the same. I feel like this is over complicating something that should just work without thinking. In supabase's case, the statement should be the same... add the name of the channel if you want, add the event (default to *), default schema or select one if you want, then run the subscribe method...
That being said, the changes to the auth methods will definitely be welcomed, although I have not tested them yet.The
09/02/2022, 2:15 PMKTibow
09/03/2022, 6:31 PM(ey[a-zA-Z0-9-_]{3,}\.[a-zA-Z0-9-_]{3,}\.[a-zA-Z0-9-_]{3,})
2. try to read the json body
3. if it's a service role token, delete the message, and dm the user explaining what happened with the original message (if dms fail, just send a message in the current channel, don't send the original message though)
if it's an anon token, maybe send a warning to the user, and give them options like deleting the message, disabling the warning, or auto-deleting in the futuren10000k
09/03/2022, 10:10 PMAlbertGao
09/04/2022, 12:00 AMnahtnam
09/04/2022, 4:35 AMstibbs
09/04/2022, 6:41 AMsupabase-cli
it might be worth adding some error messages that are caused by a user not being authenticated with the CLI itself. Or maybe provide an error if you execute supabase init
while not authenticated?
For example I hadn't realised I wasn't authenticated (I work across multiple machines) and just spent a while trying to figure out why a brand new project was failing at the Setting up the schemas...
step when running supabase start
.
I was getting an error message like Error: Error response from daemon: Container f56929cce538b2ed6a23398439b324db82719287b011544b4ccf73fdd53915f4 is restarting, wait until the container is running
. This appears to happen if you run supabase init
while unauthenticated.Julien
09/05/2022, 11:26 PMsnowshift
09/06/2022, 2:21 PMgwaiLoFi
09/06/2022, 3:29 PMuser-management
examples referenced in the storage docs did not really helpgwaiLoFi
09/07/2022, 6:12 PM