Ben Meadors
b548700c0b
Only write single config
2022-08-11 12:43:41 -05:00
Ben Meadors
6644e86be9
Add get device metadata admin message
2022-08-08 07:04:29 -05:00
Ben Meadors
c8363cd476
Merge pull request #352 from Douile/dev-export-valid-yaml
...
Replace the primative print based config generator with proper yaml serialization
2022-08-05 10:14:42 -05:00
Douile
01e643ad2f
Fix lint errors
2022-08-05 13:48:07 +01:00
Douile
e4078e84d7
Fix linting errors caused by this PR
2022-08-05 13:34:25 +01:00
Douile
e06d8bbc06
Use pyyaml to generate valid configuration output
...
The custom yaml generator made an invalid yaml file that needed to be
fixed, by using the already included pyyaml library we can make sure the
output is valid.
2022-07-28 15:11:35 +01:00
Douile
a572699588
Fix crash when trying to set value that doesn't exist
2022-07-27 15:09:58 +01:00
Ben Meadors
06b5b8fa83
It works, I think
2022-06-29 20:01:48 -05:00
Ben Meadors
4b95b0ff30
Module config progress
2022-06-29 18:35:06 -05:00
Thomas Göttgens
f3791c5c6d
- make segemented config print entire name on screen
...
- rename wifi password to psk
2022-06-21 19:29:54 +02:00
Ben Meadors
4fa93989fa
Don't need to pass interface down
2022-06-19 15:41:21 -05:00
Ben Meadors
032072d2f3
Started on set
2022-06-19 09:55:09 -05:00
Ben Meadors
ce7b1d9916
Get preferences now working
2022-06-19 08:17:28 -05:00
Thomas Göttgens
d015da3ca1
Get and Set general attributes almost working.
2022-06-18 14:53:04 +02:00
Thomas Göttgens
2124e292f1
Untangle Modem Presets from Channels
2022-06-18 13:38:08 +02:00
Thomas Göttgens
d21f7811fa
where did that came from?
2022-06-17 12:37:50 +02:00
Thomas Göttgens
8dbd6431f7
almost working
2022-06-17 12:31:18 +02:00
Thomas Göttgens
c55b1188e8
remove "Request Settings" during init, team settings and deprecated settings.
2022-06-17 10:40:40 +02:00
Ben Meadors
b79b7ceb40
Correct config
2022-06-16 20:31:14 -05:00
Mike Kinney
af7bf7ff7f
add wifi min length check
2022-03-21 10:48:27 -07:00
Mike Kinney
bcf00a1f8d
handle ignore_incoming repeated field
2022-03-03 17:11:22 -08:00
Mike Kinney
68530f6e11
change medium to mid
2022-03-02 11:29:38 -08:00
Mike Kinney
6f2efdcefe
got lint and pytest working
2022-03-02 10:28:07 -08:00
Balazs Kelemen
b56a054f50
Canned message - Extend messages length
2022-02-21 22:06:03 +01:00
Mike Kinney
fdced6f225
fix bug
2022-01-29 21:37:34 -08:00
Mike Kinney
529f50edc6
remote hardware tests
2022-01-27 16:54:47 -08:00
Mike Kinney
ff5a0927fa
add more info on --ch-set help
2022-01-26 11:16:01 -08:00
Mike Kinney
4f72987a29
add some config tests
2022-01-23 11:22:05 -08:00
Mike Kinney
aa5af53348
add option to configure just the owner short name
2022-01-23 11:17:41 -08:00
Ben Meadors
8ceb9faf2d
Shutdown command
2022-01-21 18:11:26 -06:00
Mike Kinney
51378bb0eb
fix enum listing; add tests for pref values
2022-01-16 12:45:28 -08:00
Mike Kinney
83439679c1
looks like we needed some of that dead code after all
2022-01-15 14:15:55 -08:00
Mike Kinney
ae9ae91af5
remove dead code
2022-01-15 00:24:41 -08:00
Mike Kinney
7921db007b
add some coverage to getPref() and setPref()
2022-01-15 00:01:44 -08:00
Mike Kinney
afb21c6dc3
remove code not needed
2022-01-14 20:15:25 -08:00
Mike Kinney
a7d56504be
handle snake_case or camelCase
2022-01-14 16:36:53 -08:00
Mike Kinney
0f89baa36e
fix the pylint unused-argument warnings
2022-01-12 14:41:49 -08:00
Mike Kinney
48ed7690af
fix the consider-using-f-string warnings
2022-01-12 13:46:01 -08:00
Mike Kinney
52db617b06
refactor code to only call local node when necessary; fix tests
2022-01-10 16:20:11 -08:00
Mike Kinney
b56440a4e8
should not need to talk with remote node if just doing sendtext
2022-01-06 11:55:36 -08:00
Mike Kinney
5de754c5ab
improve the permission error on linux
2022-01-05 23:03:06 +00:00
Mike Kinney
3f76c1efb0
refactor version info so pyinstaller will work; add build mac and ubuntu standalone executables
2022-01-05 13:22:37 -08:00
Mike Kinney
5c662822b9
need to fully qualify imports so projects consuming the library will work
2022-01-05 11:16:08 -08:00
Mike Kinney
0b6676c5b3
do not print line for export; comment out ble test; do not send decoded
2022-01-01 09:49:21 -08:00
Mike Kinney
4ee647403b
fix output on tests using pytest -s option; fixed some tests
2021-12-31 10:55:13 -08:00
Mike Kinney
177705aeff
revert the stream interface change; fix tunnel tests
2021-12-31 08:49:13 -08:00
Mike Kinney
d366e74e86
refactor of Tunnel() for unit testing; create unit tests for Tunnel()
2021-12-30 21:24:32 -08:00
Mike Kinney
3f307880f9
add unit tests for tunnel and subnet
2021-12-30 20:04:32 -08:00
Beiri22
b341b6cfdb
Update __main__.py
...
Main loop also in reply mode.
2021-12-30 10:31:27 +01:00
Mike Kinney
c7d3f9f787
close seriallog if we have one
2021-12-29 20:35:50 -08:00