Commit graph

104 commits

Author SHA1 Message Date
Orhun Parmaksız ac8931ac1c
fix(test): add missing color import to parameter tests 2023-06-26 17:12:47 +03:00
Orhun Parmaksız 3d828e776d
chore(deps): enable the supports-color feature of owo-colors 2023-06-26 17:07:47 +03:00
Orhun Parmaksız 6c5b807b39
chore(deps): switch to owo-colors for fixing RUSTSEC-2021-0145
https://github.com/mackwic/colored/issues/131
2023-06-26 16:25:47 +03:00
Orhun Parmaksız 3ace96419c
feat(tui): improve logging (#83)
* chore(deps): add logging dependencies

* refactor(cli): use log functions for logging

* refactor(core): use log functions for logging

* feat(tui): add logging for tui

* feat(args): add an option for setting the log file for TUI logs

* chore(core): add trace logging

* fix(cli): make log level configurable via RUST_LOG

* chore(log): improve logging

* chore(tui): add logs to specific events

* style(tui): update the colors for the logger widget

* feat(log): allow setting the log level for tui

* chore(config)!: remove the verbose option

* fix(test): update render tui test

* chore(tui): update MSRV for tui

* chore(audit): add configuration file for cargo-audit

* chore: Bump the Rust version in Dockerfile

* feat(log): add target to logs

* docs(readme): update documentation about logging
2023-04-24 22:08:43 +02:00
Orhun Parmaksız 7ad12c455f
fix(lint): apply clippy suggestions 2023-01-16 19:52:36 +03:00
Orhun Parmaksız 4b5c1b6742
fix(lint): apply clippy suggestions 2022-09-17 20:37:02 +02:00
Orhun Parmaksız 1fda373602
feat(tui): support saving changed values (#13) 2022-09-17 20:36:03 +02:00
Orhun Parmaksız 59138e8db1
feat(sysctl): support listing parameters by subsection (#44) 2022-09-06 19:27:01 +02:00
Orhun Parmaksız 608f02d19f
chore(deps): remove unnecessary dirs dependency 2022-08-29 23:57:08 +02:00
Orhun Parmaksız b328a11599
refactor(test): apply clippy suggestions 2022-08-09 23:12:58 +02:00
Orhun Parmaksız 907b337158
feat(config): add a configuration file (#12)
This commit adds a configuration file (`systeroid.conf`) for
configuring the CLI/TUI settings. Consult README.md or the
file itself for more information.
2022-08-09 22:19:33 +02:00
Orhun Parmaksız c39169c5f5
feat(tui): show deprecated values optionally via --deprecated 2022-08-04 02:07:29 +02:00
Orhun Parmaksız d1099654f8
chore(lint): fix lints for tests 2022-07-02 12:24:24 +02:00
Orhun Parmaksız 4a022f41c8
fix(lint): apply clippy suggestions 2022-06-30 19:59:22 +02:00
Orhun Parmaksız 8bd45ee41b
feat(cli): support explaining multiple parameters 2022-04-17 17:47:55 +03:00
Orhun Parmaksız 17c1ea61f9
fix(cache): enable cache for custom kernel documentation path 2022-04-07 23:50:52 +03:00
Orhun Parmaksız cfdaeed2fc
fix(lint): apply clippy suggestions 2022-03-24 00:26:05 +03:00
Orhun Parmaksız 9f7092ac17
refactor(docs): simplify the documentation matching logic 2022-03-23 22:56:43 +03:00
Orhun Parmaksız 3fb8a07f84
fix(docs): change the filter for documentation glob pattern 2022-03-19 18:29:42 +03:00
Orhun Parmaksız 36e9a7693b
refactor(env): rename NOCACHE to NO_CACHE 2022-03-19 00:54:05 +03:00
Orhun Parmaksız c47b6c35ac
feat(docs): support glob patterns for documentation path 2022-03-19 00:40:43 +03:00
Orhun Parmaksız 584e060aa4
feat(sysctl): allow disabling cache via NOCACHE variable 2022-03-18 15:47:44 +03:00
Orhun Parmaksız f2145cb9ca
feat(app): support KERNEL_DOCS variable for specifying the documentation path 2022-03-18 02:20:24 +03:00
Orhun Parmaksız 90e5771bb3
feat(app): support displaying tree with only parameter names 2022-03-07 05:43:15 +03:00
Orhun Parmaksız a440342246
feat(sysctl): support changing parameters with using an absolute name 2022-03-06 02:39:21 +03:00
Orhun Parmaksız 449b52c57d
fix(sysctl): suppress error messages if -e flag is given 2022-03-06 02:02:11 +03:00
Orhun Parmaksız c1bdb90e36
refactor(lib): remove parseit dependency from main crate 2022-03-01 02:41:30 +03:00
Orhun Parmaksız 6fa5573855
docs(project): add crate descriptions 2022-02-28 00:24:45 +03:00
Orhun Parmaksız 01a4f3fb81
refactor(parser): rename crate 2022-02-24 00:17:26 +03:00
Orhun Parmaksız 3aff544216
refactor(lib): use transparent error types instead of self-referring 2022-02-15 03:44:05 +03:00
Orhun Parmaksız de08836906
refactor(sysctl): update the from implementations of section 2022-01-24 19:27:34 +03:00
Orhun Parmaksız eb3ecce5d5
refactor(app): update the visibility of types in the core library 2022-01-10 01:33:53 +03:00
Orhun Parmaksız 7cc1bbfe6e
refactor(app): move cache handling to the core library 2022-01-10 01:32:55 +03:00
Orhun Parmaksız fab01ba691
feat(app): support displaying output in JSON format 2021-12-25 17:38:34 +03:00
Orhun Parmaksız 86f2be4fae
feat(sysctl): improve printing the multiline values 2021-12-25 16:43:15 +03:00
Orhun Parmaksız 905841aebd
feat(sysctl): improve the documentation updater 2021-12-25 01:49:44 +03:00
Orhun Parmaksız ea1be163d8
refactor(sysctl): define a constant for /proc/sys path 2021-12-20 17:03:28 +03:00
Orhun Parmaksız 13faab0d91
style(config): change the color for unknown sections 2021-12-19 22:17:54 +03:00
Orhun Parmaksız 9315d2df82
refactor(sysctl): check path components for determining 'net' section 2021-12-19 22:15:22 +03:00
Orhun Parmaksız d3b0229124
test(args): add tests to args module 2021-12-18 23:38:25 +03:00
Orhun Parmaksız bb98de15cf
test(sysctl): extend controller tests 2021-12-18 21:38:49 +03:00
Orhun Parmaksız 39774c5d2a
feat(sysctl): improve the documentation parser presets 2021-12-18 19:31:11 +03:00
Orhun Parmaksız aeef248a69
test(sysctl): add tests for section module 2021-12-18 18:50:19 +03:00
Orhun Parmaksız 41dabbf217
test(sysctl): add tests for the controller module 2021-12-18 15:18:10 +03:00
Orhun Parmaksız 53a6b0ecbf
test(sysctl): extend parameter tests about display types 2021-12-18 15:08:46 +03:00
Orhun Parmaksız 2d744498f4
test(sysctl): add tests for the parameter module 2021-12-18 15:00:26 +03:00
Orhun Parmaksız 5a729d8acb
test(tree): add output test for tree format 2021-12-18 14:28:57 +03:00
Orhun Parmaksız c803fe4476
refactor(app): use consistent naming for getter functions 2021-12-18 14:12:07 +03:00
Orhun Parmaksız 86b7390ecb
refactor(app): use generic type for application output 2021-12-18 14:04:09 +03:00
Orhun Parmaksız d26bbf6093
feat(app): support tree format for all cases 2021-12-17 21:04:11 +03:00