Changesets: NewsStats
master 78389b28 2010-11-01 14:57:18 Details Diff |
groupstats.pl: Add '-f' option. Add '-f' switch to save monthly reports to a file with a filename made up by adding year and month to template submitted via '-f filename': filename-YYYY-MM Modify OutputData() accordingly. Ignore '-c' if '-f' is set. Allow & force '-o dump' if '-f' is set even if a time period is defined. Change documentation accodingly. Fixes 0000027. Signed-off-by: Thomas Hochstein <thh@inter.net> |
Affected Issues 0000027 |
|
mod - NewsStats.pm | Diff File | ||
mod - groupstats.pl | Diff File | ||
master f2ddfd8a 2010-11-01 12:22:15 Details Diff |
groupstats.pl: Add '-a' option. Add '-a' switch to make groupstats.pl consider its whole database without any time limits ignoring -m and -p. Change documentation accodingly. First implementation. Handling needs improvement! Fixes 0000014. Signed-off-by: Thomas Hochstein <thh@inter.net> |
Affected Issues 0000014 |
|
mod - groupstats.pl | Diff File | ||
master 147194c1 2010-11-01 12:16:41 Details Diff |
Documentation: Add TODO. Add a comprehensive to-do list. Add a reference to README accordingly. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - doc/README | Diff File | ||
add - doc/TODO | Diff File | ||
master d3b6810d 2010-11-01 00:18:33 Details Diff |
Fix some typos. groupsstats.pl: Fix typo in lead-in comment. groupsstats.pl/NewsStats.pm: Fix typo concerning GetMaxLength - it isn't 'GetMaxLenght' ... Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - groupstats.pl | Diff File | ||
mod - NewsStats.pm | Diff File | ||
master b2e0fd24 2010-10-31 21:44:00 Details Diff |
groupstats.pl: Improve formatting of output. Rewrite captions. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - groupstats.pl | Diff File | ||
master e742bcf5 2010-10-31 21:00:16 Details Diff |
groupstats.pl: Improve automatic adaption of output type. If time period is more than on month, switch from dump to dumpgroup, if possible (just one newsgroup submitted via -n), and switch to pretty only if that fails. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - groupstats.pl | Diff File | ||
master b802bc3d 2010-10-31 20:43:18 Details Diff |
groupstats.pl: Redo level (-l) query, gain speedup. Do the work in the application, using two separate SQL queries, instead of trying to optimize the single query in vain ... Thanks to Juliane. :) Fixes 0000016. Signed-off-by: Thomas Hochstein <thh@inter.net> |
Affected Issues 0000016 |
|
mod - groupstats.pl | Diff File | ||
master 404c1acd 2010-10-31 20:39:20 Details Diff |
groupstats.pl: Improve comments. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - groupstats.pl | Diff File | ||
master 6b95accb 2010-10-31 20:34:04 Details Diff |
groupstats.pl: Refactor query handling. Don't misuse variables: - Push other binding vars to (new) @Params instead of filling up @GroupList with things it wasn't meant for. - Replace generic @QueryPart by @QueryGroupList and @QueryThreshold, then build $WhereClause from that. - Don't use $OrderClause for setting level (more or less than x), use (new) $Level instead. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - groupstats.pl | Diff File | ||
next 6e6c520f 2010-09-28 20:15:08 Daniel Weber Details Diff |
README: improve phrasing. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - doc/README | Diff File | ||
master 59d0c5ef 2010-09-19 14:53:07 Details Diff |
install.pl: Change handling of upgrades. Drop predefined actions in favor of arbitrary statements. Minor code fixup. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - install/install.pl | Diff File | ||
master 53dcbea6 2010-09-19 11:34:27 Details Diff |
README: Fix spelling, small changes. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - doc/README | Diff File | ||
master 313610f6 2010-09-19 11:32:12 Details Diff |
gatherstats.pl: Add documentation of 'disregard' to POD. Database entries in DBTableRaw marked 'disregard' will be ignored by gatherstats. Document that. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - gatherstats.pl | Diff File | ||
master 76ead5f9 2010-09-19 11:27:28 Details Diff |
feedlog.pl: Fix annoying logging error. warn() output to errlog was not activated by '-d' debug switch, but on by default and just deactivated by '-d'. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - feedlog.pl | Diff File | ||
master 4bbd46d3 2010-09-18 22:21:42 Details Diff |
NewsStats.pm: Fix $VERSION and $PackageVersion. Set to 0.01 from 0.1 Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - NewsStats.pm | Diff File | ||
master 9c141b0c 2010-09-18 22:21:12 Details Diff |
install.pl: Fix installation instructions. Example newsfeeds entry was missing a backslash (had to be quoted). Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - install/install.pl | Diff File | ||
master d8695b1c 2010-09-18 19:59:13 Details Diff |
groupstats.pl: More input validation. Set -o to 'pretty' for time periods. Set -b to 10 if < 1. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - groupstats.pl | Diff File | ||
master f6d15ca7 2010-09-18 17:02:46 Details Diff |
Add upgrade path. NewsStats.pm: Add $PackageVersion. install.pl: Modularise program flow to subroutines. Add framework for database upgrade and upgrade instructions. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - NewsStats.pm | Diff File | ||
mod - install/install.pl | Diff File | ||
master 2832c235 2010-09-18 16:45:20 Details Diff |
Introduce end-of-line normalization and add .gitattributes. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
add - .gitattributes | Diff File | ||
mod - groupstats.pl | Diff File | ||
mod - feedlog.pl | Diff File | ||
mod - gatherstats.pl | Diff File | ||
mod - install/install.pl | Diff File | ||
master 13c5a175 2010-09-18 00:12:58 Details Diff |
groupstats.pl: Add handling of incompatible command line options. -t/-l/-b are incompatible. Print warning, let -l take precedence over -t and -b over both. -q/-d are incompatible with -l and -b. Print warning, ignore them. For -l, only -o 'pretty' makes sense. Force that. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - groupstats.pl | Diff File | ||
master 2af6c290 2010-09-17 21:04:46 Details Diff |
install.pl: Fix chdir. Don't use path from current working directory, use path relative to $0 instead. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - install/install.pl | Diff File | ||
master b221278d 2010-09-17 20:26:56 Details Diff |
NewsStats.pm: Warn when -p takes precedence over -m. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - NewsStats.pm | Diff File | ||
master 3430c898 2010-09-17 19:53:59 Details Diff |
Add comments and POD. Add comments NewsStats.pm Add POD to install.pl Add POD to feedlog.pl Add POD and comments to gatherstats.pl Add POD and comments to groupstats.pl, beautify code Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
mod - install/install.pl | Diff File | ||
mod - gatherstats.pl | Diff File | ||
mod - NewsStats.pm | Diff File | ||
mod - feedlog.pl | Diff File | ||
mod - groupstats.pl | Diff File | ||
master 610b5ef4 2010-09-17 19:16:51 Details Diff |
Add documentation. Add doc/ Add doc/README Add doc/INSTALL Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
add - doc/INSTALL | Diff File | ||
add - doc/README | Diff File | ||
master acfce7c3 2010-09-17 12:29:29 Details Diff |
Add .gitignore Ignore tools/, tools/* and newsstats.conf. Signed-off-by: Thomas Hochstein <thh@inter.net> |
||
add - .gitignore | Diff File |