Thomas Hochstein
d989c98d5b
Change raw table to InnoDB and utf8mb4.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-29 12:28:05 +02:00
Thomas Hochstein
2f6684e7a0
Add comment.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-29 12:27:36 +02:00
Thomas Hochstein
2ff3ea38cc
Change install path from /srv/ to /opt/.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-29 12:27:36 +02:00
Thomas Hochstein
06c3036fa0
Bump version.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-02 16:41:45 +02:00
Thomas Hochstein
20434ab1dc
Release 0.4.0
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-02 16:38:30 +02:00
Thomas Hochstein
e176b0d5e8
Update README.md, add links to other documentation.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 16:45:06 +02:00
Thomas Hochstein
66890b68d8
Update documentation.
...
- Fix clientstats doc (copied from hoststats).
- Add some more examples ro README.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 16:40:31 +02:00
Thomas Hochstein
0b87e81b08
Add parsing exemptions.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
Thomas Hochstein
1a5b9dbcb1
Remove debugging code.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
Thomas Hochstein
cff76a3c65
Set executable bit for new scripts.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
Thomas Hochstein
18db200aea
Let dopostingstats default to last month.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
Thomas Hochstein
8afeb09cc2
Add clientstats to dopostingstats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
Thomas Hochstein
d02ae5e2ff
Fix version queries.
...
Add month to WHERE clause, use bind values.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 09:43:32 +02:00
Thomas Hochstein
07e4543717
Fix typos.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 01:11:23 +02:00
Thomas Hochstein
0102b72971
Remove whitespace from client and version.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 01:09:51 +02:00
Thomas Hochstein
ed3fb3cda0
Truncate overlong clients or versions.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 01:09:27 +02:00
Thomas Hochstein
462f28505d
DBClnts: set version length to 50.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:36:29 +02:00
Thomas Hochstein
06bcdfb2be
gatherstats: Don't die on parsing errors.
...
Just warn if host or client can't be
identified.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:33:28 +02:00
Thomas Hochstein
39e845d552
Add ClientStats to postingstats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:02:44 +02:00
Thomas Hochstein
09a9112679
Fix CheckValidNames().
...
- Make RegExp configurable.
- Change default for clients
(client names have spaces).
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:02:44 +02:00
Thomas Hochstein
66a175c7f8
Add clientstats (for clients).
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:02:44 +02:00
Thomas Hochstein
963f07432c
Move cliservstats to hoststats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:02:44 +02:00
Thomas Hochstein
a553b374ce
Add ClientStats to gatherstats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:02:44 +02:00
Thomas Hochstein
3e73346b20
OutputData(): Change handover of LastIteration.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-30 19:48:35 +02:00
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