Commit Graph
29 Commits
Author SHA1 Message Date
trex Bot d8034278d8 fix: resolve the seven bugs pinned by the test audit
test / unit-tests (push) Successful in 14s
ci / docker (push) Successful in 23s
test / unit-tests (pull_request) Successful in 6s
test / komodo-deploy-script (push) Successful in 23s
test / komodo-deploy-script (pull_request) Successful in 16s
- read [ignored_tags] instead of [ignored_domains], so tag-based ignoring
  actually works
- match ignored tags as whole tags, not substrings ('ipt' no longer matches
  'iptorrents')
- send the login-error notification through the Pushover client instead of
  the non-existent module-level send_message()
- handle an empty torrent list instead of raising IndexError before any
  summary is sent
- tag a new torrent once instead of once per code path
- honour toml_path without DOCKER in AppriseClient
- close replaced log handlers so the file descriptor is released

Also add the missing [telemetry] section to config.toml.example, which
qbit-maid.py requires at startup.

The tests that pinned each bug now assert the fixed behaviour, and the
suite still reports 100% coverage.
2026-11-03 16:10:19 -06:00
Jonathan Branan ab30d69c7c Improve logging: named logger, rotation, richer format, remove use_log guards
- Add setup_logging() returning a named 'qbit-maid' logger with
  RotatingFileHandler (configurable size/backups) and a console handler
- Add log_torrent() helper for structured torrent context
- Replace basicConfig-based tor_log() with setup_logging()
- Remove redundant 'if self.use_log:' guards across qbit-maid.py,
  qlist.py, qprocess.py, qlogging.py (level filtering handles it)
- Document new logging options in config.toml.example and README
2026-10-26 22:10:35 -05:00
jblu 24f6e7b563 updated unit tests and fixed a bug
continuous-integration/drone/push Build is passing
2023-09-20 00:18:26 -05:00
jblu 01a4c88cc4 Fixed #58
continuous-integration/drone/push Build is failing
2023-09-12 13:04:38 -05:00
jblu 8520933f8d added docker support 2023-06-04 13:05:26 -05:00
jblu b36e27edb9 more adjustments for #33 2023-03-15 13:37:34 -05:00
jblu ecf3da456e #33 and fix saved content getting deleted 2023-03-10 13:22:09 -06:00
jblu adc3825396 #28 #26 #25 lots of changes 2022-10-01 12:21:18 -05:00
jblu c116a50c17 fixed additonal variables 2022-09-03 18:55:51 -05:00
jblu 4317a33647 standardized the variables #19 2022-09-03 15:02:40 -05:00
jblu 0977b12fe1 #15 added tag whitelisting 2022-09-02 20:22:04 -05:00
jblu 9fc77d3ea0 refactored the main processes 2022-08-26 17:28:47 -05:00
jblu 357591227e fixed preme calculation bug and added exec time 2022-08-01 13:01:00 -05:00
jblu fca54f8952 empty 2022-07-29 16:02:19 -05:00
jblu fb55c54f01 updated readme and added ignored data 2022-07-23 16:05:57 -05:00
jblu 3aa5931095 added min tor time, large performance improvement 2022-07-23 15:46:48 -05:00
jblu ae4350a547 #9 lots of changes, refactored qprocess 2022-07-23 14:59:43 -05:00
jblu 972e9bc517 fixed reading cat file 2022-07-23 00:42:05 -05:00
jblu dc8ad10e73 #3 added cat whitelist and updated readme 2022-07-22 23:45:57 -05:00
jblu 582211adb7 a 2022-07-22 17:24:27 -05:00
jblu 3b36d54018 #5 changed name logging 2022-07-22 14:47:36 -05:00
jblu 2015c0a60d removed some comments 2022-07-20 14:22:56 -05:00
jblu 78d738a27c added basic skipping for tech category 2022-07-20 14:20:25 -05:00
jblu 08cbf7f445 Added comments for the functions 2022-07-20 11:34:13 -05:00
jblu 1375bc36ce adjusted log function to not be called if disabled 2022-07-20 11:06:11 -05:00
jblu 829ad31293 changed logging level for api info 2022-07-19 00:05:48 -05:00
jblu 622dedcd44 added check for blank tracker 2022-07-15 20:33:51 -05:00
jblu 419358a090 changed some logging stuff 2022-07-14 21:37:45 -05:00
jblu ef21adc132 copied from private repo 2022-07-14 19:03:06 -05:00