-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addig user management to ZeServer #253
Conversation
Secret server token and header needed for admin. Otherwise you have to know / guess the user uuid
Everyone can see all posts, only registered users can add new posts. (Response contains a poster id, which we might need to obfuscate, slim down or shenangianify
.gitignore
Outdated
@@ -559,4 +559,6 @@ obj/ | |||
# End of https://www.toptal.com/developers/gitignore/api/python,android,androidstudio,intellij+all,windows,linux,macos,sublimetext,java,kotlin,circuitpython | |||
/zeapp/app/release/output-metadata.json | |||
/zeapp/app/debug/output-metadata.json | |||
/zeapp/versions.properties | |||
i/zeapp/versions.properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i
intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah vim
gotta love it.
I'll fix it, thanks for noticing.
} | ||
|
||
imageBin() | ||
imagePng() | ||
|
||
// Callable from ZeFlasher only? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmm probably yes
private const val POSTS_FILENAME = "./zepass.db" | ||
|
||
@Serializable | ||
data class Post( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed opportunity: ZePost
This time potentially not only on the bodemanns computer
this if for a potential task, and to make my linux machine happy - Mario
update the prompt and add png export f(x).
no more special handling for strings, everything not a boolean or a number is a string. Also adding more delay before consequitive commands. The /r/n was not needed.
hopefully.
save only on change to file, otherwise in memory db for ssl and badge server.
First time full roundtrip from badge to server to badge to server and back. Happiness in black and white.
ZePass!
Milos to add documentation.