f94a4149e0
Set executable bit for addpost.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-30 08:58:52 +02:00
157c0dffd1
Add addpost.pl.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-29 12:38:56 +02:00
637d043364
Fix errors when saving unencoded 8bit headers.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-29 12:28:08 +02:00
d989c98d5b
Change raw table to InnoDB and utf8mb4.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-29 12:28:05 +02:00
2f6684e7a0
Add comment.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-29 12:27:36 +02:00
2ff3ea38cc
Change install path from /srv/ to /opt/.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-29 12:27:36 +02:00
06c3036fa0
Bump version.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-02 16:41:45 +02:00
20434ab1dc
Release 0.4.0
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-02 16:38:30 +02:00
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
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
0b87e81b08
Add parsing exemptions.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
1a5b9dbcb1
Remove debugging code.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
cff76a3c65
Set executable bit for new scripts.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
18db200aea
Let dopostingstats default to last month.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
8afeb09cc2
Add clientstats to dopostingstats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-06-01 11:03:05 +02:00
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
07e4543717
Fix typos.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 01:11:23 +02:00
0102b72971
Remove whitespace from client and version.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 01:09:51 +02:00
ed3fb3cda0
Truncate overlong clients or versions.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 01:09:27 +02:00
462f28505d
DBClnts: set version length to 50.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:36:29 +02:00
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
39e845d552
Add ClientStats to postingstats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:02:44 +02:00
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
66a175c7f8
Add clientstats (for clients).
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:02:44 +02:00
963f07432c
Move cliservstats to hoststats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:02:44 +02:00
a553b374ce
Add ClientStats to gatherstats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-31 00:02:44 +02:00
3e73346b20
OutputData(): Change handover of LastIteration.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-30 19:48:35 +02:00
eea296391c
ParseHeader will now re-merge continuation lines.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-30 12:54:36 +02:00
d194ef754f
Move lc() to counting.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 19:04:16 +02:00
c985e29b7e
Improve documentation for config file.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 18:57:50 +02:00
f78d4c2158
Refactor getting raw headers.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 18:57:50 +02:00
995173456b
Refactor and fix TLH check.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 18:30:35 +02:00
3447cdabff
Reformat Conf(TLH) for GroupStats only.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 18:30:35 +02:00
671ae67be0
Fix typo.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-29 17:11:49 +02:00
6122d1a49d
Fix POD.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 17:20:36 +02:00
988e7b2f13
Bump version.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 17:17:22 +02:00
5a6a3e58bf
Release 0.3.0
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 17:10:19 +02:00
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
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
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
6afa9a62b9
Fix call to GetMaxLength().
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-18 13:22:07 +02:00
7169e2636f
Add more hosts and special cases.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-16 21:00:13 +02:00
0ee389fc42
Fix comments and code in clisverstats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-16 21:00:08 +02:00
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
7dd8a95be3
Update README, INSTALL and ChangeLog.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 18:21:15 +02:00
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
83d4da5e30
Move postingstats to /bin.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 17:28:20 +02:00
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
c6346470f9
Add sums per month to HostStats.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 17:27:33 +02:00
ea493f3da0
gatherstats: implement --hierarchy check.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2025-05-11 17:27:33 +02:00