Skip to content
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

Merged
merged 26 commits into from
Jun 30, 2024
Merged

Addig user management to ZeServer #253

merged 26 commits into from
Jun 30, 2024

Conversation

mariobodemann
Copy link
Member

ZePass!

Milos to add documentation.

Secret server token and header needed for admin. Otherwise you have to know / guess the user uuid
@mariobodemann mariobodemann self-assigned this Jun 25, 2024
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i intentional?

Copy link
Member Author

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?
Copy link
Collaborator

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(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed opportunity: ZePost

mariobodemann and others added 24 commits June 25, 2024 22:26
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.
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.
@mariobodemann mariobodemann marked this pull request as ready for review June 30, 2024 21:09
@mariobodemann mariobodemann merged commit 97af2fb into main Jun 30, 2024
8 checks passed
@mariobodemann mariobodemann deleted the add/zepass branch June 30, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants