Commit graph

140 commits

Author SHA1 Message Date
Thomas Hochstein eea296391c ParseHeader will now re-merge continuation lines.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-30 12:54:36 +02:00
Thomas Hochstein d194ef754f Move lc() to counting.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 19:04:16 +02:00
Thomas Hochstein c985e29b7e Improve documentation for config file.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 18:57:50 +02:00
Thomas Hochstein f78d4c2158 Refactor getting raw headers.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 18:57:50 +02:00
Thomas Hochstein 995173456b Refactor and fix TLH check.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 18:30:35 +02:00
Thomas Hochstein 3447cdabff Reformat Conf(TLH) for GroupStats only.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 18:30:35 +02:00
Thomas Hochstein 671ae67be0 Fix typo.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 17:11:49 +02:00
Thomas Hochstein 6122d1a49d Fix POD.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 17:20:36 +02:00
Thomas Hochstein 988e7b2f13 Bump version.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 17:17:22 +02:00
Thomas Hochstein 5a6a3e58bf Release 0.3.0
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 17:10:19 +02:00
Thomas Hochstein 8c9d450d47 Add tinews.pl and some shell scripts to /contrib.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 13:56:28 +02:00
Thomas Hochstein 9b6bf3e194 Move database creation to bin/dbcreate.pl.
Remove install/*

Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 13:33:49 +02:00
Thomas Hochstein 4ad63fcb4e Fix typos in doc, update sample config file.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 13:27:38 +02:00
Thomas Hochstein 6afa9a62b9 Fix call to GetMaxLength().
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 13:22:07 +02:00
Thomas Hochstein 7169e2636f Add more hosts and special cases.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-16 21:00:13 +02:00
Thomas Hochstein 0ee389fc42 Fix comments and code in clisverstats.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-16 21:00:08 +02:00
Thomas Hochstein 28157570f1 Change --comments behaviour.
--comments defaulted to true, but --nocomments was
enforced if --filetemplate was set.

Remove enforcement, but default to --nocomments
if --filetemplate is set. Default behaviour is
unchanged, but it's now possible to have
comments in files.

Change handling of captions accordingly (must
be sent to output handle now).

Update POD.

Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 19:57:50 +02:00
Thomas Hochstein 7dd8a95be3 Update README, INSTALL and ChangeLog.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 18:21:15 +02:00
Thomas Hochstein 29e9784048 Refactor postingstats.
- Make all text configurable (i18n).
- Generalize to make it usable for HostStats.
- Fallback to last month if no month is given.
- Add option handling, import VERSION, add POD.

Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 18:21:15 +02:00
Thomas Hochstein 83d4da5e30 Move postingstats to /bin.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 17:28:20 +02:00
Thomas Hochstein 53c2032850 Add postingstats to tools.
postingstats.pl will parse groupstats output
and create a posting ready to post to
de.admin.news.misc.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2025-05-11 17:28:17 +02:00
Thomas Hochstein c6346470f9 Add sums per month to HostStats.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 17:27:33 +02:00
Thomas Hochstein ea493f3da0 gatherstats: implement --hierarchy check.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 17:27:33 +02:00
Thomas Hochstein e40e96a1e2 Add more hosts and special cases.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 17:27:33 +02:00
Thomas Hochstein f7485561dd Fix Path: header parsing.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein f6b7a1d000 Add higher debug level to gatherstats.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein c7206a2eaf Update README, TODO and copyright dates.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein 799eddab5b Update ChangeLog.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein c1e6b0161e Update gatherstats documentation.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein f5aa649810 Add known hosts.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein 93b8d564ba Remove parsing of NNTP-Posting-Host.
NNTP-Posting-Host contains the client,
not the server.

Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein c6432dcd44 Add --mid to gatherstats.
Parse just a specific entry defined by Message-ID
and set --test and --debug modes.

Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein 57af475b80 First version of cliservstats.pl
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein 867498fdc8 Refactor SQL query generators.
Accept other column names than newsgroup.

Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:13 +02:00
Thomas Hochstein 713db80545 Add HostStats table to install script.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:12 +02:00
Thomas Hochstein 9ccb915d77 First version of HostStats.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:12 +02:00
Thomas Hochstein 73a2d70f16 Add ParseHeaders() to library.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:12 +02:00
Thomas Hochstein 0a0e615ede Factor Groupstats() out from gatherstats main.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 13:44:12 +02:00
Thomas Hochstein a31e86444a Bump version.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-10 14:13:02 +02:00
Thomas Hochstein 4cdb771866 Release 0.2.0
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-10 14:09:08 +02:00
Thomas Hochstein bcd668780e Update TODO.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-10 14:08:49 +02:00
Thomas Hochstein 1d3c8f9529 Change to semantic versioning.
Remove individual script versions as opposed to
package version.

Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-10 14:08:19 +02:00
Thomas Hochstein 992d678460 Add changes since last release to Changelog.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-10 13:53:10 +02:00
Thomas Hochstein ea59ab945e Update POD documentation (URLs) and author's address.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-10 13:53:10 +02:00
Thomas Hochstein 09b45fc369 Update doc/README
Signed-off-by: Thomas Hochstein <thh@thh.name>
2024-05-27 00:55:55 +02:00
Thomas Hochstein ee29be18c8 Update TODO from bugs.th-h.de
Signed-off-by: Thomas Hochstein <thh@thh.name>
2024-05-27 00:15:34 +02:00
Thomas Hochstein cd6f153a9e Add README.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2024-05-26 00:08:34 +02:00
Thomas Hochstein b5ef572664 Accept an upper/lower boundary of 0 (zero).
The code checks if a boundary is set by looking
for a TRUE value, but 0 is FALSE. It has to check
whether the variable is set, i.e. defined(),
instead.

Fixes #56.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-01-01 21:37:43 +01:00
Thomas Hochstein 91c674c4fe Merge branch 'thh-small-changes' into next
* thh-small-changes:
  Fix displayed path in install.
  Update INSTALL documentation.
  Fix documentation relating to conffile location.
  Fix --conffile in POD.
  Bump version numbers.
  Fix forgotten dates.
  Fix ea91003a99.
2018-01-01 16:58:25 +01:00
Thomas Hochstein fd0717a15c Fix displayed path in install.
install.pl will display a sample newsfeeds entry.
Adapt the path to the changes in
2ad99c20bc.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2013-09-04 11:45:33 +02:00