-
Notifications
You must be signed in to change notification settings - Fork 13
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
Editable config #209
Editable config #209
Conversation
a01c191
to
2a44ca1
Compare
2086e50
to
78b4393
Compare
78b4393
to
567d950
Compare
b72a69d
to
471f6af
Compare
One more thing, during Security Audit, one finding was that the code by default has unsecure connection urls. During mitigation of issue, we agreed that when we will make url editable, we should either notify users if they use unsecure connection either deny to enter: Maybe we could go minimum, and show additional text if user enters ws:/ . |
Overall looks good, we would need to make more testing on all platforms. Optional thing, if I set wrong address, we should friendly message that destiny could not connect server, but no details to view what is exactly wrong (it can be mistype in url, not available port and etc..) on sender and receiver side. |
f0ce753
to
ea92a7b
Compare
We did not declare that our color scheme is of type "dark". This should be fixed now. |
There are currently two well-known public mailbox servers, and one of them uses |
Hope you meant "Now" ;-) |
Then we need to separate warning from validation. |
Yeah I think that's what @donpui was suggesting: but what, why and how will a user take meaningful action. That is, there's currently really only two things they might type in that field: our mailbox (the default) and Brian's mailbox. And now you want to "warn" them about something to do with the public default sever, but it's not clear what or why to me... |
I think what @donpui was getting at here is that we could test whether the URL the user typed in is immediately reachable and speaks the right protocol -- thus saving them from a bunch of "couldn't send file" etc errors when they actually do get around to trying it. (Obviously, this could be a followup ticket .. I'll add a comment to #206 though). |
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.
Looks good and works, fine from my side. Warning notification can be discussed and implemented separately.
Whenever you are ready. There will be some conflicts with the iOS changes, but I can help to resolve them. |
Lets merge and I will try update iOS. After iOS PR review, we could release new version. |
Let me know when I can help you. |
What are we warning about, though? None of that applies here. I believe the point of Brian running the public server on I suppose another way to state this is: what attacks are you actually preventing by using (I believe the answer is: none, and if the answer isn't "none" then we should probably also look at fixing something in the protocol and/or server). |
* editable config * do not use inherited preference class * expand defaults for transit relay * add cancel button and update dart_wormhole_william * improve styling * fix formatting * combine header with value and edit button. * Derive themes and use editable fields for desktop * remove Fimber logging * fix declaration of dark theme * cleanup * Improve prefs editor layout * Do not update preference when choosing default value * add widget test * also test multiple defaults * formatting * Fix Version for Targets which do not define versionCode * format * add configurable validation * Allow ws scheme * add test for Version * format * add generated mocks file * cleanup * fix preference text overflow * update dart module * fix not handling Uri parsing exceptions * trim input strings Co-authored-by: Donatas Puidokas <104410044+donpui@users.noreply.github.com>
* Adding iOS build changes to experment * Some changes * Update lock * Update experments * Experments * Progress * Adjusted to iOS screens * Fixing Download, Select File functions, adding icon * Added select media for iOS * Cleanup on IPA validation * Cleanup and adding stage * Small double button fix and documentation * Small fixes for button and file selector * Add push capabilities * Update flutter-intro-slider to newest commit * Added resource and debug label parameter * Update submodules and lock files * Editable config (#209) * editable config * do not use inherited preference class * expand defaults for transit relay * add cancel button and update dart_wormhole_william * improve styling * fix formatting * combine header with value and edit button. * Derive themes and use editable fields for desktop * remove Fimber logging * fix declaration of dark theme * cleanup * Improve prefs editor layout * Do not update preference when choosing default value * add widget test * also test multiple defaults * formatting * Fix Version for Targets which do not define versionCode * format * add configurable validation * Allow ws scheme * add test for Version * format * add generated mocks file * cleanup * fix preference text overflow * update dart module * fix not handling Uri parsing exceptions * trim input strings Co-authored-by: Donatas Puidokas <104410044+donpui@users.noreply.github.com> * Stage_la updated * Fix small mixtakes after merge * Added notes regarding ios and some typos fix * Ios build improvements (#219) * TEMP iOS build improvements * Saving working changes for iphonesimulator * Cleanup * Cleanup and added documentation * TEMP * Plugin update * Adding simple CI build for iOS * Adding CI build for iOS * Update plugin * fixup! Merge remote-tracking branch 'origin/main' into ios-build-improvements * fixup! Update plugin * iOS lockfile updates * Update plugin Co-authored-by: El-Hassan Wanas <wanas@leastauthority.com> * Update submodule * Revert "Update dart submodule" This reverts commit 76982bdd7d86bd981c99895b692586cd12198c15. * Update submodule * Update version to 1.0.3 * Fix styling issue * Add wakelock to keep screen on (#215) * Fix static error after update branch Co-authored-by: Andreas Würl <andi@tryb.de> Co-authored-by: El-Hassan Wanas <wanas@leastauthority.com>
ffi
dependency of the submodule has been updated.Fixes #206
Code Review Checklist