1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00
Commit Graph

3834 Commits

Author SHA1 Message Date
ef9ca9322e Some processing completed 2024-11-24 16:02:59 -08:00
95cba21d73 initial pacman parser 2024-11-24 14:57:55 -08:00
be1dd031f1 doc update 2024-11-24 13:38:10 -08:00
7fbe1e9f21 Add WireGuard (wg) Command Output Parser (#606)
* feat: add parser to parse the output of wg

* fixup! feat: add parser to parse the output of wg

* feat: Add tests for windows 10

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-11-24 13:34:58 -08:00
7d33850d43 fix: Edit pythonapp.yml workflow to run on non-draft PRs (#617) 2024-11-24 13:24:04 -08:00
7887789d0d coerce non-json-serializable objects to strings 2024-11-20 13:49:27 -08:00
7ddd2a4ce2 fix yaml parser to support values starting with an equal sign 2024-11-19 14:12:21 -08:00
34ab34cc66 doc update 2024-11-19 12:15:18 -08:00
a8b231da81 nsd-control parser update, zone transfer status (#607)
* add more parsing functionality for transfering state

* add additional/conditional fields into the schema

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-11-19 12:12:43 -08:00
2278c7ecab doc update 2024-11-19 10:51:16 -08:00
4cb88977cc add long ipv6 test 2024-11-19 10:51:10 -08:00
0af4a3a5d7 fix: New RE_PROBE_IPV6_ONLY with better complexity in worst case (#609)
Example ':'*100

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-11-19 10:43:24 -08:00
c0f9b705c6 doc update 2024-11-19 10:33:19 -08:00
fa416083f2 Fix/spaces in program name (#608)
* fix: enforce word boundaries while checking state presence

* fix: add tests for the special netstat case with space in process name

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-11-19 10:28:32 -08:00
e858faa746 fix for contiguous packages with the same name 2024-11-18 16:21:40 -08:00
a8f769eea3 doc update 2024-10-20 09:50:36 -07:00
26133261f9 use jc.utils.timestamp() for datetime conversions 2024-10-20 09:45:08 -07:00
6072ea0ec7 doc update 2024-10-18 14:34:29 -07:00
95672c23b7 doc update 2024-10-18 14:30:04 -07:00
a2e0e6d549 feat: Add Windows ipconfig parser to jc (#596)
* feat: Introduce ipconfig parser

* fix: add parsing support for "connection_specific_dns_suffix_search_list" and windows XP ipv4 addresses, remove dateutil dependency

* fix: introduce unit tests, correct import of datetime

* fix: changed preferred to status to account for other ip statuses, and parsed link local ipv6 prefix length

* fix: compress _parse_header_line and _parse_adapter_line + fix casing in unit test file

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-10-18 14:17:14 -07:00
2df5e79295 doc update 2024-10-18 09:56:32 -07:00
c5e0642b0b Fix broken controller regexp scheme in the bluetoothctl parser (#599)
This commit fixes the controller parser scheme in order to take care
and extract some extra attributes, the manufacturer and version.
The order of the attributes appearing in the regexp scheme must follow
the order they appear in the `bluetoothctl show` outputs.

A new test has been added to test outputs with these extra attrs.

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-10-18 09:50:51 -07:00
78150ded70 doc update 2024-10-17 14:05:06 -07:00
05f3e4ea8a fixup tests 2024-10-17 13:53:20 -07:00
b7cf0ca8d4 flip is_reserved to false for python ipv6 backports 2024-10-17 13:13:31 -07:00
ba6e1e694e fix for python backports for ipv6 output 2024-10-17 13:06:17 -07:00
aec3e3cd13 force github test 2024-10-17 09:15:29 -07:00
d9363ae473 doc update 2024-09-26 09:49:06 -07:00
0f367a435a formatting 2024-09-23 06:58:33 -07:00
0955598b49 formatting 2024-09-23 06:55:17 -07:00
f2a8e0087b add tests and doc update 2024-09-22 20:01:40 -07:00
97e9798cef add posix_mode to utils/convert_size_to_int and use in df 2024-09-22 19:34:23 -07:00
413519e02c #592: Handle df size suffixes as binary (#593)
* df: convert_size_to_int as binary

* tests: Update df -h expected output

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-09-22 19:28:45 -07:00
5c855e40c6 fix 6to4 test for python backports 2024-09-17 09:52:38 -07:00
b66c5dbf55 doc update 2024-09-12 19:38:31 -07:00
b054b1b782 doc update 2024-09-07 19:50:08 -07:00
1593d0bf79 Add error type support for Linux Ping (#575)
* feat: add icmp error handle into linux_parse

* refactor: fixed timestamp offset logic(including error-response-type condition)
2024-09-07 19:46:43 -07:00
8a22f8a468 add support for Link partner advertised link modes to ethtool parser 2024-09-07 18:43:41 -07:00
c26f0641ff enhance ifconfig parser to support utun interfaces with assigned ipv4 addresses on macOS 2024-09-07 18:11:25 -07:00
40eb2b7ef6 fix uptime for "user" instead of "users" 2024-09-07 17:24:21 -07:00
71af0c5555 fix for IPv4 mapped IPv6 address changes in Python 3.13 2024-09-06 10:26:34 -07:00
9f5532d91f formatting 2024-06-18 17:43:16 -07:00
c68c919024 add mount test 2024-06-18 17:34:17 -07:00
9eb4df34b1 adjust expected test_ip_address_ipv6_6to4 output for Python 3.12.4 (#573)
Adjust the expected output in `test_ip_address_ipv6_6to4` to account
for `is_global`/`is_private` changes for 6to4 addresses in Python 3.12.4
and Python 3.13.0.

Fixes #572

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-06-18 08:53:19 -07:00
921133f3ac version bump 2024-06-18 08:47:24 -07:00
0350607359 fix for space if filesystem name 2024-06-18 08:47:02 -07:00
ed048c7b2b doc update 2024-06-09 18:48:25 -07:00
18dabd4b9f update var names 2024-06-09 10:35:42 -07:00
0005945383 doc update 2024-06-09 10:31:06 -07:00
e13605a6a9 add ss tests 2024-06-08 09:17:57 -07:00