]>
granicus.if.org Git - vnstat/log
Teemu Toivola [Sat, 30 Aug 2014 20:24:20 +0000 (23:24 +0300)]
final preparations for version 1.12 release
Teemu Toivola [Fri, 29 Aug 2014 19:57:43 +0000 (22:57 +0300)]
make filename reservation for possible future feature
Teemu Toivola [Thu, 28 Aug 2014 20:29:50 +0000 (23:29 +0300)]
improve documentation
Teemu Toivola [Thu, 28 Aug 2014 18:02:34 +0000 (21:02 +0300)]
fix setting locale when none is specified in config
Teemu Toivola [Tue, 26 Aug 2014 20:51:18 +0000 (23:51 +0300)]
add (experimental) OS X install instructions
Teemu Toivola [Tue, 26 Aug 2014 17:35:57 +0000 (20:35 +0300)]
rename function dumpdb -> exportdb to match command line options, add github link to README
Teemu Toivola [Mon, 25 Aug 2014 20:50:00 +0000 (23:50 +0300)]
improve man pages
Teemu Toivola [Mon, 25 Aug 2014 19:53:34 +0000 (22:53 +0300)]
improve INSTALL documentation
Teemu Toivola [Mon, 25 Aug 2014 19:41:07 +0000 (22:41 +0300)]
fix compilation warning
Teemu Toivola [Mon, 25 Aug 2014 17:33:31 +0000 (20:33 +0300)]
remove forced database directory creation from Makefile
Teemu Toivola [Sun, 24 Aug 2014 16:30:04 +0000 (19:30 +0300)]
improve info prints and add --create parameter for database creation
Teemu Toivola [Tue, 19 Aug 2014 19:22:35 +0000 (22:22 +0300)]
increase test coverage
Teemu Toivola [Tue, 19 Aug 2014 15:14:13 +0000 (18:14 +0300)]
avoid creating empty dirs when daemon is started with -n parameter
Teemu Toivola [Mon, 18 Aug 2014 21:30:30 +0000 (00:30 +0300)]
add extra vnstat subdirectory to default pid and logfile paths, create dirs during daemon startup if needed in order to avoid having permission issues during daemon startup when process user/group are requested to be changed
Teemu Toivola [Sun, 17 Aug 2014 10:23:38 +0000 (13:23 +0300)]
update BSD documentation to suggest usage of gmake instead of make, use alternative way for marking linux specific tests
Teemu Toivola [Sat, 16 Aug 2014 23:04:59 +0000 (02:04 +0300)]
disable some tests on non-Linux systems, mostly due to use of /proc
Teemu Toivola [Sat, 16 Aug 2014 21:49:19 +0000 (00:49 +0300)]
remove cron related example files and update documentation, the cron update method should now be considered as deprecated
Teemu Toivola [Sat, 16 Aug 2014 20:53:10 +0000 (23:53 +0300)]
make daemon process user and group configurable also from config file, add configuration option for disabling directory creation and file ownership update
Teemu Toivola [Fri, 15 Aug 2014 23:51:02 +0000 (02:51 +0300)]
try to create database directory if missing and fix ownership if in conflict with given user/group
Teemu Toivola [Wed, 13 Aug 2014 18:28:07 +0000 (21:28 +0300)]
fix test findings
Teemu Toivola [Wed, 13 Aug 2014 15:25:02 +0000 (18:25 +0300)]
fix occasionally failing test
Teemu Toivola [Tue, 12 Aug 2014 20:23:57 +0000 (23:23 +0300)]
improve database import
Teemu Toivola [Tue, 12 Aug 2014 20:07:53 +0000 (23:07 +0300)]
align upstart job description with systemd example, update CHANGES
Cameron Norman [Mon, 11 Aug 2014 22:53:13 +0000 (15:53 -0700)]
Add Upstart job
Teemu Toivola [Sun, 10 Aug 2014 16:59:44 +0000 (19:59 +0300)]
increase test coverage, fix line length limit in importdb
Teemu Toivola [Sat, 9 Aug 2014 21:59:28 +0000 (00:59 +0300)]
reduce indentation
Teemu Toivola [Sat, 9 Aug 2014 20:16:16 +0000 (23:16 +0300)]
increase test coverage
Teemu Toivola [Thu, 7 Aug 2014 17:10:23 +0000 (20:10 +0300)]
increase test coverage
Teemu Toivola [Wed, 6 Aug 2014 20:20:03 +0000 (23:20 +0300)]
move most functions from vnstatd.c to daemon.c in order to enable testability
Teemu Toivola [Wed, 6 Aug 2014 16:36:33 +0000 (19:36 +0300)]
move testdbdir to testdir/database, add /proc/net/dev simulation with fileand add ifinfo tests
Teemu Toivola [Tue, 1 Jul 2014 21:47:20 +0000 (00:47 +0300)]
split processdatalist() into smaller functions
Teemu Toivola [Tue, 1 Jul 2014 20:45:58 +0000 (23:45 +0300)]
fix database search when resuming daemon operations, modify info print to fit 80 character width terminals
Teemu Toivola [Tue, 1 Jul 2014 20:12:39 +0000 (23:12 +0300)]
add user and group parameter documentation to daemon man page
Teemu Toivola [Mon, 30 Jun 2014 17:47:55 +0000 (20:47 +0300)]
continue daemon main() refactoring
Teemu Toivola [Mon, 30 Jun 2014 14:20:46 +0000 (17:20 +0300)]
set travis to always notify after build
Teemu Toivola [Sat, 28 Jun 2014 23:14:01 +0000 (02:14 +0300)]
continue daemon main() refactoring
Teemu Toivola [Sat, 28 Jun 2014 22:26:12 +0000 (01:26 +0300)]
start splitting daemon main() into smaller functions, state related variables moved to separate structure
Teemu Toivola [Sat, 28 Jun 2014 18:56:57 +0000 (21:56 +0300)]
remove inline keyword from strncpy_nt() since it breaks compiling with clang and doesn't change the end result anyway
Teemu Toivola [Sat, 28 Jun 2014 18:15:04 +0000 (21:15 +0300)]
use environment variable provided value for CC if available instead of always using gcc
Teemu Toivola [Sat, 28 Jun 2014 17:17:28 +0000 (20:17 +0300)]
add configuration file for Travis CI
Teemu Toivola [Thu, 26 Jun 2014 20:45:22 +0000 (23:45 +0300)]
move daemon functions to separate file and add tests
Teemu Toivola [Wed, 25 Jun 2014 20:31:10 +0000 (23:31 +0300)]
verify malloc success also in xmldate()
Teemu Toivola [Tue, 24 Jun 2014 21:13:01 +0000 (00:13 +0300)]
remove potentially misleading update date from README and clarify first line of CHANGE (fixes #2), update progress in CHANGES
Teemu Toivola [Tue, 24 Jun 2014 20:52:20 +0000 (23:52 +0300)]
fix warnings found with static code analysis
Teemu Toivola [Mon, 23 Jun 2014 19:21:06 +0000 (22:21 +0300)]
remove init.d examples for distributions that now use systemd
Teemu Toivola [Mon, 23 Jun 2014 19:04:07 +0000 (22:04 +0300)]
add parameters for changing daemon process user and group, increase informativity of daemon error messages
Teemu Toivola [Mon, 23 Jun 2014 14:26:09 +0000 (17:26 +0300)]
show set limits in log
Teemu Toivola [Sun, 22 Jun 2014 22:34:03 +0000 (01:34 +0300)]
remove freecode link since the site has gone static
Teemu Toivola [Sun, 22 Jun 2014 22:22:40 +0000 (01:22 +0300)]
improve daemon startup and debug prints, use ISO YYYY-MM-DD date format timestamps if logfile is used, add some missed changes to CHANGES
Teemu Toivola [Thu, 24 Apr 2014 19:57:06 +0000 (22:57 +0300)]
fix live traffic meter occasionally showing higher minimum than average, really this time
Teemu Toivola [Wed, 23 Apr 2014 19:58:02 +0000 (22:58 +0300)]
ensure that strncpy destination is null terminated (fixes #1), specify sscanf string lengths, close file at end of importdb(), remove unused variables
Teemu Toivola [Fri, 4 Apr 2014 15:34:07 +0000 (18:34 +0300)]
clarify usage of --savemerged option and interface merge syntax
Teemu Toivola [Fri, 4 Apr 2014 15:24:29 +0000 (18:24 +0300)]
improve error situation prints
Teemu Toivola [Thu, 3 Apr 2014 16:49:47 +0000 (19:49 +0300)]
add example service file for systemd
Teemu Toivola [Wed, 2 Apr 2014 17:25:12 +0000 (20:25 +0300)]
rename definitions to something more readable
Teemu Toivola [Wed, 2 Apr 2014 17:21:53 +0000 (20:21 +0300)]
improve man pages
Teemu Toivola [Wed, 2 Apr 2014 16:49:44 +0000 (19:49 +0300)]
define some more settings for better behaviour
Teemu Toivola [Tue, 1 Apr 2014 20:48:53 +0000 (23:48 +0300)]
add example configuration file for OS X launchd
Teemu Toivola [Thu, 20 Mar 2014 16:20:05 +0000 (18:20 +0200)]
add recursive directory deletion support for test purposes, remove test directory before exit
Teemu Toivola [Wed, 19 Mar 2014 21:45:24 +0000 (23:45 +0200)]
set DATABASEDIR, DEFIFACE, PROCNETDEV and SYSCLASSNET only if not already defined
Teemu Toivola [Sun, 9 Mar 2014 20:37:52 +0000 (22:37 +0200)]
update changelog to list changes done so far
Teemu Toivola [Sun, 9 Mar 2014 00:52:50 +0000 (02:52 +0200)]
update man page NAME sections
Teemu Toivola [Sat, 8 Mar 2014 23:19:38 +0000 (01:19 +0200)]
reduce indentation
Teemu Toivola [Sat, 8 Mar 2014 17:11:37 +0000 (19:11 +0200)]
split long vnstat main into smaller functions
Teemu Toivola [Fri, 7 Mar 2014 23:05:13 +0000 (01:05 +0200)]
use pointers in countercalc function
Teemu Toivola [Fri, 7 Mar 2014 21:03:16 +0000 (23:03 +0200)]
make database validation failure more verbose
Teemu Toivola [Fri, 7 Mar 2014 17:51:57 +0000 (19:51 +0200)]
rename --dumpdb -> --exportdb and --restoredb -> --importdb, use file parameter for import instead of pipe
Teemu Toivola [Thu, 6 Mar 2014 21:07:11 +0000 (23:07 +0200)]
add support for database restore (--dumpdb import) based on patch by Tilmann Bubeck
Teemu Toivola [Wed, 5 Mar 2014 19:42:34 +0000 (21:42 +0200)]
add more tests
Teemu Toivola [Tue, 4 Mar 2014 22:13:19 +0000 (00:13 +0200)]
add first test that can do database file handling in a sandbox directory
Teemu Toivola [Tue, 4 Mar 2014 22:08:39 +0000 (00:08 +0200)]
close file before leaving function if write fails
Teemu Toivola [Tue, 4 Mar 2014 20:17:49 +0000 (22:17 +0200)]
set CFLAGS only when not already defined
Teemu Toivola [Tue, 4 Mar 2014 18:36:19 +0000 (20:36 +0200)]
add check for null pointer and re-enable test
Teemu Toivola [Tue, 4 Mar 2014 15:07:53 +0000 (17:07 +0200)]
add dist target and check target as alias for tests
Teemu Toivola [Mon, 3 Mar 2014 20:53:54 +0000 (22:53 +0200)]
add more tests
Teemu Toivola [Mon, 3 Mar 2014 15:23:39 +0000 (17:23 +0200)]
replace VPATH with vpath
Teemu Toivola [Mon, 3 Mar 2014 15:07:03 +0000 (17:07 +0200)]
stop using install command with -D parameter since it isn't supported in all environments
Teemu Toivola [Sun, 2 Mar 2014 22:54:16 +0000 (00:54 +0200)]
add more tests
Teemu Toivola [Sun, 2 Mar 2014 21:42:42 +0000 (23:42 +0200)]
move simple calculation related functions to common
Teemu Toivola [Sun, 2 Mar 2014 20:59:55 +0000 (22:59 +0200)]
extract parts of vnstat main to separate functions
Teemu Toivola [Sat, 1 Mar 2014 13:09:16 +0000 (15:09 +0200)]
fix test compilation warnings with old gcc
Teemu Toivola [Sat, 1 Mar 2014 12:44:41 +0000 (14:44 +0200)]
fix test linking issues found in Ubuntu 14.04
Teemu Toivola [Fri, 28 Feb 2014 20:25:14 +0000 (22:25 +0200)]
tune unit selection limits
Teemu Toivola [Fri, 28 Feb 2014 20:10:32 +0000 (22:10 +0200)]
remove unused legacy unit prefixes
Teemu Toivola [Fri, 28 Feb 2014 20:03:47 +0000 (22:03 +0200)]
add more tests
Teemu Toivola [Fri, 28 Feb 2014 17:58:13 +0000 (19:58 +0200)]
replace make command with variable
Teemu Toivola [Thu, 27 Feb 2014 20:21:32 +0000 (22:21 +0200)]
improve traffic meter output accuracy and fix occasional inconsistency (min > avg) in end statistics
Teemu Toivola [Thu, 27 Feb 2014 18:09:07 +0000 (20:09 +0200)]
add debug compilation target
Teemu Toivola [Wed, 26 Feb 2014 20:39:24 +0000 (22:39 +0200)]
add .gitignore file
Teemu Toivola [Wed, 26 Feb 2014 20:38:03 +0000 (22:38 +0200)]
remove forum links, fix indentation, freshmeat -> freecode
Teemu Toivola [Wed, 26 Feb 2014 20:30:16 +0000 (22:30 +0200)]
handle decimal conversion character with a define instead of if/else structures in code
Teemu Toivola [Tue, 25 Feb 2014 21:02:52 +0000 (23:02 +0200)]
add tests
Teemu Toivola [Tue, 25 Feb 2014 20:58:50 +0000 (22:58 +0200)]
trailing whitespace cleanup and copyright year update
Teemu Toivola [Tue, 25 Feb 2014 20:36:57 +0000 (22:36 +0200)]
fix for loop bug in rebuild total that appears to have been there since version 1.1, thanks to William Epp for finding this
Teemu Toivola [Tue, 25 Feb 2014 20:23:57 +0000 (22:23 +0200)]
this is version 1.12 beta already
Teemu Toivola [Tue, 25 Feb 2014 20:09:08 +0000 (22:09 +0200)]
fix memory leak that occured in daemon when list of available interfaces was empty, fix debug print
Teemu Toivola [Tue, 25 Feb 2014 19:59:39 +0000 (21:59 +0200)]
close file is locking fails, fix indentation
Teemu Toivola [Tue, 25 Feb 2014 19:45:43 +0000 (21:45 +0200)]
init buffer and don't open logfile if there's nothing to log into it
Teemu Toivola [Mon, 24 Feb 2014 20:04:41 +0000 (22:04 +0200)]
Version 1.11
Teemu Toivola [Mon, 24 Feb 2014 19:57:50 +0000 (21:57 +0200)]
Version 1.10