Commit Graph
28 Commits
Author SHA1 Message Date
nanobot 881765cdf5 feat(notify): configurable plain/html summary formatting
test / komodo-deploy-script (push) Successful in 17s
test / komodo-deploy-script (pull_request) Successful in 16s
ci / docker (push) Successful in 2m2s
Rework the Pushover/Apprise summary so it reads as a report instead of a
dump of counters.

- Extract build_summary() as the single source of truth for both notifiers,
  removing the duplicated body string and the stray leading indentation
  caused by backslash line continuations.
- Add a 'format' option: 'plain' (aligned columns) or 'html' (bold labels,
  sets html=1 for Pushover). Apprise always receives the plain body.
- Add 'use_emoji' for emoji-prefixed rows.
- Title now states the outcome ('7 torrents removed') instead of
  '--- qbit-maid summary ---'.
- Say 'Would remove' when delete_torrents is false, so a dry run is never
  mistaken for a real deletion.
- Format runtime as 12s / 1m 04s instead of a timedelta with microseconds.
- Add include_hostname, notify_on_empty, priority, sound, retry and expire.
- Log notification failures instead of letting them abort the run.
- Cover the new formatting with unit tests; document the options in the
  README and config.toml.example.
2026-10-27 10:09:35 -05: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 acaf91a301 update readme
ci / docker (push) Successful in 39s
2026-04-09 12:32:59 -05:00
jblu 6248b7f721 update readme
ci / docker (push) Successful in 38s
2026-04-08 19:12:43 -05:00
jblu 708d56fc98 Updated documentation
continuous-integration/drone/push Build is passing
2023-10-05 08:24:28 -05:00
jblu 6110dade2d Updated help #56
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-10-05 07:37:21 -05:00
jblu 4cfb4a88c1 added badge
continuous-integration/drone/push Build is passing
2023-07-23 00:39:39 -05:00
jblu 43c9324a3f updated documentation #56
continuous-integration/drone/push Build is passing
2023-07-23 00:32:15 -05:00
jblu 8520933f8d added docker support 2023-06-04 13:05:26 -05:00
jblu 4317a33647 standardized the variables #19 2022-09-03 15:02:40 -05:00
jblu 8c8aff9b09 Changed the config files and updated the readme 2022-09-03 14:04:03 -05:00
jblu 0135f7c13b moved dragnet to config file 2022-09-02 18:28:03 -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 27bc8e171b updated the readme 2022-07-22 23:50:35 -05:00
jblu dc8ad10e73 #3 added cat whitelist and updated readme 2022-07-22 23:45:57 -05:00
jblu f3e09f5b67 readme update 2022-07-20 12:13:09 -05:00
jblu e7bc58f567 fixed table 2022-07-20 12:12:11 -05:00
jblu 1e5db77a6b Better file explanations 2022-07-20 12:11:19 -05:00
jblu fba5c1d7cf fixed! 2022-07-20 11:59:19 -05:00
jblu 45fd9b77c3 fixed table? 2022-07-20 11:58:14 -05:00
jblu 5e80aae3b6 config.json table 2022-07-20 11:56:43 -05:00
jblu 89143dce3a fixed json format in readme 2022-07-20 11:49:06 -05:00
jblu 1889901f93 updated readme and changed to catch root exception 2022-07-20 10:36:54 -05:00
jblu 81df444765 changed readme and added more tornotify functions 2022-07-20 10:19:12 -05:00
jblu e624236586 updated readme 2022-07-14 20:33:53 -05:00
jblu ef21adc132 copied from private repo 2022-07-14 19:03:06 -05:00