1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +02:00
Commit Graph

3420 Commits

Author SHA1 Message Date
Kelly Brazil 049e93707c doc update 2023-03-18 15:16:02 -07:00
Kelly Brazil 164294ecb7 add integer and float conversions 2023-03-18 15:14:59 -07:00
Kelly Brazil 7e134a63bd add support for the timesync-status option 2023-03-15 06:58:31 -07:00
Kelly Brazil 9b5c25cb5b fix for rtc configured as UTC 2023-03-13 19:47:38 -07:00
Kelly Brazil 894946b207 doc update 2023-03-05 10:07:23 -08:00
Kelly Brazil 92ad2068db version bump 2023-03-05 10:06:54 -08:00
Kelly Brazil 59662a1500 fix for lines that start with tab 2023-03-05 10:04:00 -08:00
Kelly Brazil 125b88a2ca Merge pull request #371 from kellyjonbrazil/master
sync to dev
2023-03-05 17:59:09 +00:00
Kelly Brazil 79fce8c769 doc update 2023-02-27 17:37:49 -08:00
Kelly Brazil a4a53f8b3b Merge pull request #368 from kellyjonbrazil/dev
Dev v1.23.0
v1.23.0
2023-02-27 15:13:57 -08:00
Kelly Brazil 743e1ae90f doc update 2023-02-27 15:01:00 -08:00
Kelly Brazil dbcff80907 add zpool tests 2023-02-27 13:44:16 -08:00
Kelly Brazil 6e10965aed doc update 2023-02-21 17:19:17 -08:00
Kelly Brazil 0c8c4a9c53 formatting 2023-02-21 17:18:24 -08:00
Kelly Brazil 7632541a1e Merge pull request #365 from tzeikob/xrandr-edid-364
Modify the xrandr parser to extract display model info from EDID #364
2023-02-21 17:04:46 -08:00
Kelly Brazil a213ad9a85 doc update 2023-02-21 15:50:09 -08:00
Kelly Brazil 15ac5a9004 fix for crontab files with only shortcut entries 2023-02-21 15:44:55 -08:00
Jake Ob 0658668eb0 Fix broken TypedDict compatibility with older versions of python
By missing to declare the Model as a generic dictionary type we cause
the script to fail because the TypedDict is not supported by older
versions of python (e.g. 3.6, 3.7).
2023-02-21 14:43:10 +02:00
Kelly Brazil ccef69ac37 add ubuntu16 tests 2023-02-20 12:04:45 -08:00
Kelly Brazil 64676fda2e fix for older linux style output 2023-02-20 11:56:20 -08:00
Jake Ob 6ea2d776ae Add unit tests for xrandr --properties outputs 2023-02-17 16:25:41 +02:00
Jake Ob 98ced9616c Modify xrandr parser to extract model info from EDID (#364)
This change will make the xrandr parser to work also with outputs from
`xrandr --properties`, where the option `--properties` enables xrandr
to return the EDID data of each output device. The parser is expected
to remain backward compatible for regular xrandr outputs. The extra info
that will be added to every device object is:

```json
{
  "model_name": "str",
  "product_id": "str",
  "serial_number": "str"
}
```

Because the EDID data come encoded in a hexadecimal string, we have to
decode them by vendoring the pyedid (https://github.com/jojonas/pyedid) library.

Fixes: #364
2023-02-17 16:09:50 +02:00
Kelly Brazil ae19183803 add test for is_current fix 2023-02-13 18:17:14 -08:00
Kelly Brazil 8536514baf add test for output with extra spaces that caused infinite loops 2023-02-13 18:09:10 -08:00
Kelly Brazil 81982a9f79 doc updagte 2023-02-12 18:30:31 -08:00
Kelly Brazil 1acbb2f096 Merge pull request #361 from tzeikob/reflect-360
Move the reflect value in its own key (xrandr) #360
2023-02-12 18:28:37 -08:00
Jake Ob 80fb4d40a5 Add unit test to assert devices in reflect mode 2023-02-09 21:22:34 +02:00
Kelly Brazil c972dd1aac Merge pull request #362 from jpmat296/master
Improve accepted formats in proc_pid_smaps
2023-02-09 09:51:26 -08:00
Jean-Pierre Matsumoto 9dde65c25c Improve accepted formats in proc_pid_smaps 2023-02-07 14:57:15 +01:00
Jake Ob 7486b0c7cd Move the reflect value in its own key (xrandr)
Currently the reflect value of a device is included in the rotation
key as a combination of both rotation and reflection (e.g. normal X axis).
With this modification we move the reflection value to its own key in the
JSON document like so:

```json
{
  ...
  "rotation": "...",
  "reflection": "...,
  ...
}
```

Fixes: issue #360
2023-02-07 13:02:21 +02:00
Kelly Brazil 5c7a520a0b formatting 2023-02-05 13:04:32 -08:00
Kelly Brazil 193ddf71f8 fix typos 2023-02-05 09:52:59 -08:00
Kelly Brazil c46fe9816c doc update 2023-02-05 09:49:32 -08:00
Kelly Brazil aada5f0794 add int conversions 2023-02-04 19:04:43 -08:00
Kelly Brazil 5c7bf363a6 add schema and docs 2023-02-04 18:51:31 -08:00
Kelly Brazil 00b74be540 version bump 2023-02-04 17:37:56 -08:00
Kelly Brazil 96cb01f57a fix zpool-status for multi-line fields 2023-02-04 17:37:48 -08:00
Kelly Brazil adf5f403ae regex fix for infinite loop? 2023-02-04 14:37:03 -08:00
Kelly Brazil 1c09c95c71 doc update 2023-02-04 11:26:41 -08:00
Kelly Brazil 64f442d743 fix for is_current? 2023-02-04 11:20:48 -08:00
Kelly Brazil cd8d43446b add zpool-status parser 2023-02-02 15:57:15 -08:00
Kelly Brazil 7361eac1a4 formatting 2023-01-31 17:02:04 -08:00
Kelly Brazil 9d41f0a938 doc update 2023-01-31 17:00:42 -08:00
Kelly Brazil 00274c15df add process conversions 2023-01-31 16:52:56 -08:00
Kelly Brazil d0b8a91f94 add zpool-iostat parser 2023-01-31 11:59:19 -08:00
Kelly Brazil 098e8dbef6 doc update 2023-01-31 11:59:06 -08:00
Kelly Brazil ec29b8bbc6 add test for acpi fix for never fully discharge state 2023-01-31 09:51:23 -08:00
Kelly Brazil 1d8f83b8c6 add ver parser tests 2023-01-31 09:44:23 -08:00
Kelly Brazil 12c4419c6a doc update 2023-01-31 08:30:37 -08:00
Kelly Brazil b134c53f33 add ssh_conf tests 2023-01-31 08:29:43 -08:00