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

Settings submenu #54

Merged
2 commits merged into from
Nov 4, 2021
Merged

Settings submenu #54

2 commits merged into from
Nov 4, 2021

Conversation

ghost
Copy link

@ghost ghost commented Nov 4, 2021

No description provided.

Jeff S added 2 commits November 4, 2021 04:40
- Adds 'Settings' item to the start menu
- Adds 'Network' as editable setting (persists via network.txt setting)
- Removes 'Network' from About
- Adds 'Printer' with baudrate as editable setting (persists via printer.baudrate.txt setting)
- Adds 'Debug' with log level as editable setting (that DOES NOT persist; more below)

Previously, log level was set to ERROR by default and had to be overridden with a 'log.level.txt' settings file.
After thinking about this more from a security / peace-of-mind standpoint:
  1. Log level now defaults to NONE,
  2. Log level can only be changed by the user updating it explicitly (every session) from within this new location in the UI, and
  3. On startup and any time the log level is changed, the existing log file is removed.
@ghost ghost merged commit 4d6782e into main Nov 4, 2021
@ghost ghost deleted the settings-submenu branch November 4, 2021 06:06
This pull request was closed.
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.

0 participants