Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TH
Posts
3
Comments
17
Joined
1 day ago
Lemmy Support @lemmy.ml
thickertoofan @lemm.ee

Bug discussion: Do perm check before image upload for new accounts trying to upload images.

I see this error when I'm trying to upload an icon image for a community I've recently created:

{"data":{"error":"pictrs_response_error","message":"Your account is too new to upload images"},"state":"success"}

I suppose, if the state of upload was success, and assuming the API output is correct, that the image either got uploaded or got denied after upload.
It seems like we can do an improvement if there is a bug, that we should do perm check before image upload happens, this way, we can save bandwidth (i mean its negligible but i dont know if it happens in other places like image posts etc.).
And we can prevent useless upload/bandwidth usage (which i dont think happens in this case) and if this doesnt happen, then the API has a bug of giving a false status message? Just discussing here before raising an enhancement issue on the github repo. The bug is either of the two cases, I'm not sure.

  • hi! welcome here too, i have been a long time flask user and in the past, ive created a very cool project using flask, and coincidentally i was just curious that is there any python based fediverse software which is compatible with the whole ecosystem, thanks for letting me know!

    i have experience with flask, feel free to ask questions! (not too good at it but ill try my best) and the fact that you're posting from piefed is so crazy, i love the integration.

  • woops. there's no delete confirmation, and im writing my thankyou message for the third time thanks a lot!!! on a side note, i hate your pfp. lol it took me a while to figure out whats wrong.

  • oh wow, there's no delete confirmation, that sucks. i misclicked my entire thankyou comment, once again, thanks a lot! and i hate your pfp >:( it makes me feel that lemme is slow lol it took me some time to figure out

  • lemm.ee is growing. Welcome, new members!

  • hi! is there any "default" community or a place where every new user is automatically registered in? or a place where we can see some kind of graph for lemmy users signing up on a daily basis? would be nice for !datahoarder@lemmy.ml datahoarding too haha.

  • Community Promo @lemmy.ca
    thickertoofan @lemm.ee

    Join if you want to have some geek discussions about it, or ask for help/ provide help.

    !flask@lemm.ee

    flask - the python framework @lemm.ee
    thickertoofan @lemm.ee

    Welcome to the flask community!

    I'm new to lemmy, I noticed that there's no community related to flask that i could find, so i created one. Would love to have moderators and people who can make the experience better for this community.