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

[feat] Button to download current & old log files #2011

Open
Nerivec opened this issue May 3, 2024 · 1 comment
Open

[feat] Button to download current & old log files #2011

Nerivec opened this issue May 3, 2024 · 1 comment

Comments

@Nerivec
Copy link
Contributor

Nerivec commented May 3, 2024

Is your feature request related to a problem? Please describe.

Some setups don't make it particularly easy to retrieve log files.

Describe the solution you'd like

A button in Tools to download the current log file.
A button to load a list of older log files, with accompanying buttons to download them too (or some other fashion to achieve this).
Include a version for each button that sanitizes the log file before download (for sharing). Checks for security (network key, IEEE...) and privacy (friendly names...) items.

@Nerivec Nerivec changed the title Button to download current & old log files [feat] Button to download current & old log files May 3, 2024
@LaurentChardin
Copy link
Contributor

Just a side note here : websockets are not really the best solution to manage this use case, and z2m-frontend is mostly interacting with ws/wss so far (streaming chunks of logs currently).

I would suggest to :

  1. add a new HTTP-based API in z2m to manage file downloads (list/download)
  2. implement a z2m-frontend button to request those files through regular HTTP file transfers

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

No branches or pull requests

2 participants