Changesets: NewsStats

next b5ef5726

2018-01-01 21:29:00

Thomas Hochstein

Details Diff
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 0000056.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Affected Issues
0000056
mod - lib/NewsStats.pm Diff File

next 91c674c4

2018-01-01 16:58:25

Thomas Hochstein

Details Diff
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 ea91003a99e679caa5bf56915f085a7c4931805b.
Attach Issues:

next 44c19709

2013-09-04 11:41:58

Thomas Hochstein

Details Diff
Fix documentation relating to conffile location.

CONFIGURATION section talks about newsstats.conf being
in the same directory which is not true any more since
2ad99c20bcc297362aeccabb1c51e20c4bd4b533.

It also didn't mention the --conffile option which was
added in 23ab67a099e32a9ee8c0700fe46bc43680a60721.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - bin/feedlog.pl Diff File
mod - install/install.pl Diff File
mod - bin/groupstats.pl Diff File
mod - bin/gatherstats.pl Diff File

next fd0717a1

2013-09-04 11:27:19

Thomas Hochstein

Details Diff
Fix displayed path in install.

install.pl will display a sample newsfeeds entry.
Adapt the path to the changes in
2ad99c20bcc297362aeccabb1c51e20c4bd4b533.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - install/install.pl Diff File

next b3b170c3

2013-09-04 11:25:02

Thomas Hochstein

Details Diff
Update INSTALL documentation.

Configuration files now reside in etc/.

This was an oversight from commit
2ad99c20bcc297362aeccabb1c51e20c4bd4b533.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - doc/INSTALL Diff File

next e39d4207

2013-09-04 11:22:38

Thomas Hochstein

Details Diff
Fix --conffile in POD.

Change '--conffile' to 'B<--conffile>'.
The wrong format was added to documentation
in commit
23ab67a099e32a9ee8c0700fe46bc43680a60721.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - bin/groupstats.pl Diff File
mod - bin/gatherstats.pl Diff File
mod - install/install.pl Diff File
mod - bin/feedlog.pl Diff File

next 24d2011f

2013-09-04 11:19:36

Thomas Hochstein

Details Diff
Bump version numbers.

All scripts - and the package - have been
restructured in commit
2ad99c20bcc297362aeccabb1c51e20c4bd4b533,
but version numbers didn't change accordingly.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - bin/feedlog.pl Diff File
mod - bin/gatherstats.pl Diff File
mod - bin/groupstats.pl Diff File
mod - lib/NewsStats.pm Diff File
mod - install/install.pl Diff File

next 28717921

2013-09-04 11:18:11

Thomas Hochstein

Details Diff
Fix forgotten dates.

Some dates were not bumped when releasing v 0.01
in 07c0b2589af779c33d5d35b6a7fa0e7883201674.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - bin/groupstats.pl Diff File
mod - bin/gatherstats.pl Diff File
mod - install/install.pl Diff File
mod - lib/NewsStats.pm Diff File
mod - bin/feedlog.pl Diff File

next 22d3d70a

2013-09-04 10:39:40

Thomas Hochstein

Details Diff
Fix ea91003a99e679caa5bf56915f085a7c4931805b.

Commit ea91003a99e679caa5bf56915f085a7c4931805b
was broken and did not check for undefined
variables.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - bin/groupstats.pl Diff File

next 599fefbf

2013-09-03 20:25:23

thh

Details Diff
Merge branch 'thh-bug51' into next

* thh-bug51:
One more default sorting order ("grouping").
Attach Issues:

next 7624accb

2013-09-03 20:25:13

thh

Details Diff
Merge branch 'thh-small-changes' into next

* thh-small-changes:
Small comment fixes.
--sums is not compatible with --checkgroups.
Attach Issues:

next 8dc6823e

2013-09-03 15:12:09

thh

Details Diff
Small comment fixes.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - lib/NewsStats.pm Diff File
mod - bin/gatherstats.pl Diff File

next 17ef4408

2013-09-03 13:10:07

thh

Details Diff
--sums is not compatible with --checkgroups.

'Virtual' .ALL groups will never be present in
a checkgroups file, and we can't use them anyway
as they would contain postings from groups that
are filtered out by --checkgroups.

Add a warning, put a note in the documentation.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - bin/groupstats.pl Diff File

next 1af57a53

2013-09-03 12:55:42

thh

Details Diff
Merge branch 'thh-restructure' into next

* thh-restructure:
Make configuration file configurable.
Fix some whitespace.
Redo directory structure.
Attach Issues:

next ea91003a

2013-09-03 12:55:00

thh

Details Diff
One more default sorting order ("grouping").

If --group-by is not set, output will be grouped
by month by default (as long as --boundary is
not set to 'level' or 'average', where grouping
by newsgroup is default).

Now we default to 'newsgroup' if just one newsgroup
is requested by --newsgroups, but more than one
month by --month.

Both defaults can be overridden.

But forced --group-by=month for --report type
'average' or 'sum' in front so defaults are
not checked.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Affected Issues
0000051
mod - bin/groupstats.pl Diff File

next 23ab67a0

2013-09-03 07:58:17

thh

Details Diff
Make configuration file configurable.

Add --conffile option to all scripts to
overrride standard config file location
etc/newsstats.conf.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - install/install.pl Diff File
mod - bin/gatherstats.pl Diff File
mod - bin/groupstats.pl Diff File
mod - bin/feedlog.pl Diff File

next dfc2b81c

2013-09-03 07:41:36

thh

Details Diff
Fix some whitespace.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - install/install.pl Diff File
mod - bin/feedlog.pl Diff File
mod - bin/gatherstats.pl Diff File
mod - bin/groupstats.pl Diff File

next 2ad99c20

2013-09-03 07:21:55

thh

Details Diff
Redo directory structure.

* Move all scripts to /bin
* Move configuration to /etc
* Move NewsStats.pm to /lib
* Add new path to NewsStats.pm to all scripts
* Set $HomePath to top level directory
* Move setting of config file name to ReadConf()

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - install/install.pl Diff File
mod - .gitignore Diff File

master 07c0b258

2013-09-02 11:14:33

thh

Details Diff
Release 0.01

Update TODO list.
Update version numbers, ChangeLog, bump copyright
dates.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Attach Issues:
mod - doc/INSTALL Diff File
mod - groupstats.pl Diff File
mod - NewsStats.pm Diff File
mod - feedlog.pl Diff File
mod - doc/ChangeLog Diff File
mod - doc/README Diff File
mod - gatherstats.pl Diff File
mod - doc/TODO Diff File
mod - install/install.pl Diff File

master 3d2fd51d

2013-09-02 11:08:39

thh

Details Diff
Merge branch 'next'

* next: (26 commits)
Some documentation fixes and enhancments.
Improve INSTALL documentation.
README: Update copyright notice.
README: improve phrasing.
Change handling of warnings.
Improve output padding.
Check for invalid newsgroup names.
Add some basic validation to config parser.
Create better newsgroup lists for SQL clause.
Fix config path detection for install.pl.
Get empty 'virtual' hierarchies working.
Add some TODO entries.
Add database creation to installer.
Handle undefined previous version when installing.
Refactor database initialisation in feedlog.pl.
Add empty 'virtual' .ALL hierarchies as needed.
Change interpretation of --checkgroups to template
Be more fault-tolerant when reading checkgroups.
Remove call to &Bleat where not appropriate.
Allow more characters in TLH definitions.
...
Attach Issues:

next 25b25735

2013-09-02 11:00:33

thh

Details Diff
Merge branch 'language' into next

* language:
Some documentation fixes and enhancments.
Improve INSTALL documentation.
README: Update copyright notice.
README: improve phrasing.
Attach Issues:

next a036e9da

2013-09-02 11:00:23

thh

Details Diff
Merge branch 'thh-bug13' into next

* thh-bug13:
Add some basic validation to config parser.
Attach Issues:

next 38fa44f8

2013-09-02 11:00:05

thh

Details Diff
Merge branch 'thh-bug53' into next

* thh-bug53:
Improve output padding.
Attach Issues:

next 7c83a673

2013-09-02 10:59:57

thh

Details Diff
Merge branch 'thh-bug37' into next

* thh-bug37:
Create better newsgroup lists for SQL clause.
Attach Issues:

next 5cfcb1c0

2013-09-02 10:59:45

thh

Details Diff
Merge branch 'thh-checkinput' into next

* thh-checkinput:
Check for invalid newsgroup names.
Attach Issues:
1 2 3 4 5  Next  Last