-
Notifications
You must be signed in to change notification settings - Fork 3
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
Remove all references to Zino *1* #122
Open
hmpf
wants to merge
1
commit into
Uninett:main
Choose a base branch
from
hmpf:readme-no-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+16
−7
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -2,6 +2,11 @@ | |||||||||
Howitz - Zino web client with HTMx and Flask | ||||||||||
============================================ | ||||||||||
|
||||||||||
Howitz is an HTTP client interface to Zino, an snmp network monitor. | ||||||||||
|
||||||||||
Howitz currently works with the original Zino protocol. Where "Zino server" is | ||||||||||
mentioned, we mean a Zino server using the original protocol. | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
||||||||||
|
||||||||||
Running Howitz step-by-step overview | ||||||||||
==================================== | ||||||||||
|
@@ -131,14 +136,14 @@ details. | |||||||||
User management | ||||||||||
=============== | ||||||||||
|
||||||||||
Due to how Zino protocol 1 does logins, the password (here called token) needs | ||||||||||
Due to how Zino protocol does logins, the password (here called token) needs | ||||||||||
to be stored in plain text in every client. For security reasons it is not | ||||||||||
desirable to ever store this token in a cookie or otherwise in a browser, so | ||||||||||
instead the token is stored where the browser cannot get to it, in a user | ||||||||||
database local to the frontend server. | ||||||||||
|
||||||||||
When logging in to Howitz a user uses a normal password (not the token) which | ||||||||||
is used to safely fetch the token for connecting to the Zino protocol 1 server. | ||||||||||
is used to safely fetch the token for connecting to the protocol server. | ||||||||||
This password can be treated like any other password and be put in a vault or | ||||||||||
a password manager. | ||||||||||
|
||||||||||
|
@@ -303,11 +308,11 @@ Example config-file (for development) | |||||||||
For development, copy the contents of the included file ``howitz.toml.example`` to ``.howitz.toml`` in the same directory. | ||||||||||
|
||||||||||
1. Set ``[flask] -> SECRET_KEY`` to some long string. | ||||||||||
2. Set ``[zino.connections.default] -> server`` to the address of a Zino 1 server. | ||||||||||
3. Optionally set ``[zino.connections.other] -> server`` to the address of a fallback Zino | ||||||||||
1 server. If the default server stops working you can swap "other" with | ||||||||||
"default" in the config-file and keep on working. If you don't set it to | ||||||||||
anything, keep it commented out or remove it. | ||||||||||
2. Set ``[zino.connections.default] -> server`` to the address of a Zino server. | ||||||||||
3. Optionally set ``[zino.connections.other] -> server`` to the address of | ||||||||||
a fallback Zino server. If the default server stops working you can swap | ||||||||||
"other" with "default" in the config-file and keep on working. If you don't | ||||||||||
set it to anything, keep it commented out or remove it. | ||||||||||
|
||||||||||
As for logging, there is a handler ``debug`` that will copy everything DEBUG or higher to a file | ||||||||||
``debug.log``, you might want to use this handler for your code. | ||||||||||
|
@@ -348,3 +353,7 @@ Future plans | |||||||||
|
||||||||||
We hope to be able to automatically failover to other servers in | ||||||||||
``zino.connections``. | ||||||||||
|
||||||||||
There are plans for an HTTP REST-based protocol in the python-based zino | ||||||||||
server. When this protocol is finalized, we plan that howitz will also | ||||||||||
Comment on lines
+357
to
+358
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
understand this new protocol. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Johanna suggested this, but it seems it got lost somewhere: