]> granicus.if.org Git - vnstat/log
vnstat
10 years agofinal preparations for version 1.12 release v1.12
Teemu Toivola [Sat, 30 Aug 2014 20:24:20 +0000 (23:24 +0300)]
final preparations for version 1.12 release

10 years agomake filename reservation for possible future feature
Teemu Toivola [Fri, 29 Aug 2014 19:57:43 +0000 (22:57 +0300)]
make filename reservation for possible future feature

10 years agoimprove documentation
Teemu Toivola [Thu, 28 Aug 2014 20:29:50 +0000 (23:29 +0300)]
improve documentation

10 years agofix setting locale when none is specified in config
Teemu Toivola [Thu, 28 Aug 2014 18:02:34 +0000 (21:02 +0300)]
fix setting locale when none is specified in config

10 years agoadd (experimental) OS X install instructions
Teemu Toivola [Tue, 26 Aug 2014 20:51:18 +0000 (23:51 +0300)]
add (experimental) OS X install instructions

10 years agorename function dumpdb -> exportdb to match command line options, add github link...
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

10 years agoimprove man pages
Teemu Toivola [Mon, 25 Aug 2014 20:50:00 +0000 (23:50 +0300)]
improve man pages

10 years agoimprove INSTALL documentation
Teemu Toivola [Mon, 25 Aug 2014 19:53:34 +0000 (22:53 +0300)]
improve INSTALL documentation

10 years agofix compilation warning
Teemu Toivola [Mon, 25 Aug 2014 19:41:07 +0000 (22:41 +0300)]
fix compilation warning

10 years agoremove forced database directory creation from Makefile
Teemu Toivola [Mon, 25 Aug 2014 17:33:31 +0000 (20:33 +0300)]
remove forced database directory creation from Makefile

10 years agoimprove info prints and add --create parameter for database creation
Teemu Toivola [Sun, 24 Aug 2014 16:30:04 +0000 (19:30 +0300)]
improve info prints and add --create parameter for database creation

10 years agoincrease test coverage
Teemu Toivola [Tue, 19 Aug 2014 19:22:35 +0000 (22:22 +0300)]
increase test coverage

10 years agoavoid creating empty dirs when daemon is started with -n parameter
Teemu Toivola [Tue, 19 Aug 2014 15:14:13 +0000 (18:14 +0300)]
avoid creating empty dirs when daemon is started with -n parameter

10 years agoadd extra vnstat subdirectory to default pid and logfile paths, create dirs during...
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

10 years agoupdate BSD documentation to suggest usage of gmake instead of make, use alternative...
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

10 years agodisable some tests on non-Linux systems, mostly due to use of /proc
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

10 years agoremove cron related example files and update documentation, the cron update method...
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

10 years agomake daemon process user and group configurable also from config file, add configurat...
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

10 years agotry to create database directory if missing and fix ownership if in conflict with...
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

10 years agofix test findings
Teemu Toivola [Wed, 13 Aug 2014 18:28:07 +0000 (21:28 +0300)]
fix test findings

10 years agofix occasionally failing test
Teemu Toivola [Wed, 13 Aug 2014 15:25:02 +0000 (18:25 +0300)]
fix occasionally failing test

10 years agoimprove database import
Teemu Toivola [Tue, 12 Aug 2014 20:23:57 +0000 (23:23 +0300)]
improve database import

10 years agoalign upstart job description with systemd example, update CHANGES
Teemu Toivola [Tue, 12 Aug 2014 20:07:53 +0000 (23:07 +0300)]
align upstart job description with systemd example, update CHANGES

10 years agoAdd Upstart job
Cameron Norman [Mon, 11 Aug 2014 22:53:13 +0000 (15:53 -0700)]
Add Upstart job

10 years agoincrease test coverage, fix line length limit in importdb
Teemu Toivola [Sun, 10 Aug 2014 16:59:44 +0000 (19:59 +0300)]
increase test coverage, fix line length limit in importdb

10 years agoreduce indentation
Teemu Toivola [Sat, 9 Aug 2014 21:59:28 +0000 (00:59 +0300)]
reduce indentation

10 years agoincrease test coverage
Teemu Toivola [Sat, 9 Aug 2014 20:16:16 +0000 (23:16 +0300)]
increase test coverage

10 years agoincrease test coverage
Teemu Toivola [Thu, 7 Aug 2014 17:10:23 +0000 (20:10 +0300)]
increase test coverage

10 years agomove most functions from vnstatd.c to daemon.c in order to enable testability
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

10 years agomove testdbdir to testdir/database, add /proc/net/dev simulation with fileand add...
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

10 years agosplit processdatalist() into smaller functions
Teemu Toivola [Tue, 1 Jul 2014 21:47:20 +0000 (00:47 +0300)]
split processdatalist() into smaller functions

10 years agofix database search when resuming daemon operations, modify info print to fit 80...
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

10 years agoadd user and group parameter documentation to daemon man page
Teemu Toivola [Tue, 1 Jul 2014 20:12:39 +0000 (23:12 +0300)]
add user and group parameter documentation to daemon man page

10 years agocontinue daemon main() refactoring
Teemu Toivola [Mon, 30 Jun 2014 17:47:55 +0000 (20:47 +0300)]
continue daemon main() refactoring

10 years agoset travis to always notify after build
Teemu Toivola [Mon, 30 Jun 2014 14:20:46 +0000 (17:20 +0300)]
set travis to always notify after build

10 years agocontinue daemon main() refactoring
Teemu Toivola [Sat, 28 Jun 2014 23:14:01 +0000 (02:14 +0300)]
continue daemon main() refactoring

10 years agostart splitting daemon main() into smaller functions, state related variables moved...
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

10 years agoremove inline keyword from strncpy_nt() since it breaks compiling with clang and...
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

10 years agouse environment variable provided value for CC if available instead of always using gcc
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

10 years agoadd configuration file for Travis CI
Teemu Toivola [Sat, 28 Jun 2014 17:17:28 +0000 (20:17 +0300)]
add configuration file for Travis CI

10 years agomove daemon functions to separate file and add tests
Teemu Toivola [Thu, 26 Jun 2014 20:45:22 +0000 (23:45 +0300)]
move daemon functions to separate file and add tests

10 years agoverify malloc success also in xmldate()
Teemu Toivola [Wed, 25 Jun 2014 20:31:10 +0000 (23:31 +0300)]
verify malloc success also in xmldate()

10 years agoremove potentially misleading update date from README and clarify first line of CHANG...
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

10 years agofix warnings found with static code analysis
Teemu Toivola [Tue, 24 Jun 2014 20:52:20 +0000 (23:52 +0300)]
fix warnings found with static code analysis

10 years agoremove init.d examples for distributions that now use systemd
Teemu Toivola [Mon, 23 Jun 2014 19:21:06 +0000 (22:21 +0300)]
remove init.d examples for distributions that now use systemd

10 years agoadd parameters for changing daemon process user and group, increase informativity...
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

10 years agoshow set limits in log
Teemu Toivola [Mon, 23 Jun 2014 14:26:09 +0000 (17:26 +0300)]
show set limits in log

10 years agoremove freecode link since the site has gone static
Teemu Toivola [Sun, 22 Jun 2014 22:34:03 +0000 (01:34 +0300)]
remove freecode link since the site has gone static

10 years agoimprove daemon startup and debug prints, use ISO YYYY-MM-DD date format timestamps...
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

10 years agofix live traffic meter occasionally showing higher minimum than average, really this...
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

10 years agoensure that strncpy destination is null terminated (fixes #1), specify sscanf string...
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

10 years agoclarify usage of --savemerged option and interface merge syntax
Teemu Toivola [Fri, 4 Apr 2014 15:34:07 +0000 (18:34 +0300)]
clarify usage of --savemerged option and interface merge syntax

10 years agoimprove error situation prints
Teemu Toivola [Fri, 4 Apr 2014 15:24:29 +0000 (18:24 +0300)]
improve error situation prints

10 years agoadd example service file for systemd
Teemu Toivola [Thu, 3 Apr 2014 16:49:47 +0000 (19:49 +0300)]
add example service file for systemd

10 years agorename definitions to something more readable
Teemu Toivola [Wed, 2 Apr 2014 17:25:12 +0000 (20:25 +0300)]
rename definitions to something more readable

10 years agoimprove man pages
Teemu Toivola [Wed, 2 Apr 2014 17:21:53 +0000 (20:21 +0300)]
improve man pages

10 years agodefine some more settings for better behaviour
Teemu Toivola [Wed, 2 Apr 2014 16:49:44 +0000 (19:49 +0300)]
define some more settings for better behaviour

10 years agoadd example configuration file for OS X launchd
Teemu Toivola [Tue, 1 Apr 2014 20:48:53 +0000 (23:48 +0300)]
add example configuration file for OS X launchd

10 years agoadd recursive directory deletion support for test purposes, remove test directory...
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

10 years agoset DATABASEDIR, DEFIFACE, PROCNETDEV and SYSCLASSNET only if not already defined
Teemu Toivola [Wed, 19 Mar 2014 21:45:24 +0000 (23:45 +0200)]
set DATABASEDIR, DEFIFACE, PROCNETDEV and SYSCLASSNET only if not already defined

10 years agoupdate changelog to list changes done so far
Teemu Toivola [Sun, 9 Mar 2014 20:37:52 +0000 (22:37 +0200)]
update changelog to list changes done so far

10 years agoupdate man page NAME sections
Teemu Toivola [Sun, 9 Mar 2014 00:52:50 +0000 (02:52 +0200)]
update man page NAME sections

10 years agoreduce indentation
Teemu Toivola [Sat, 8 Mar 2014 23:19:38 +0000 (01:19 +0200)]
reduce indentation

10 years agosplit long vnstat main into smaller functions
Teemu Toivola [Sat, 8 Mar 2014 17:11:37 +0000 (19:11 +0200)]
split long vnstat main into smaller functions

10 years agouse pointers in countercalc function
Teemu Toivola [Fri, 7 Mar 2014 23:05:13 +0000 (01:05 +0200)]
use pointers in countercalc function

10 years agomake database validation failure more verbose
Teemu Toivola [Fri, 7 Mar 2014 21:03:16 +0000 (23:03 +0200)]
make database validation failure more verbose

10 years agorename --dumpdb -> --exportdb and --restoredb -> --importdb, use file parameter for...
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

10 years agoadd support for database restore (--dumpdb import) based on patch by Tilmann Bubeck
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

10 years agoadd more tests
Teemu Toivola [Wed, 5 Mar 2014 19:42:34 +0000 (21:42 +0200)]
add more tests

10 years agoadd first test that can do database file handling in a sandbox directory
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

10 years agoclose file before leaving function if write fails
Teemu Toivola [Tue, 4 Mar 2014 22:08:39 +0000 (00:08 +0200)]
close file before leaving function if write fails

10 years agoset CFLAGS only when not already defined
Teemu Toivola [Tue, 4 Mar 2014 20:17:49 +0000 (22:17 +0200)]
set CFLAGS only when not already defined

10 years agoadd check for null pointer and re-enable test
Teemu Toivola [Tue, 4 Mar 2014 18:36:19 +0000 (20:36 +0200)]
add check for null pointer and re-enable test

10 years agoadd dist target and check target as alias for tests
Teemu Toivola [Tue, 4 Mar 2014 15:07:53 +0000 (17:07 +0200)]
add dist target and check target as alias for tests

10 years agoadd more tests
Teemu Toivola [Mon, 3 Mar 2014 20:53:54 +0000 (22:53 +0200)]
add more tests

10 years agoreplace VPATH with vpath
Teemu Toivola [Mon, 3 Mar 2014 15:23:39 +0000 (17:23 +0200)]
replace VPATH with vpath

10 years agostop using install command with -D parameter since it isn't supported in all environments
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

10 years agoadd more tests
Teemu Toivola [Sun, 2 Mar 2014 22:54:16 +0000 (00:54 +0200)]
add more tests

10 years agomove simple calculation related functions to common
Teemu Toivola [Sun, 2 Mar 2014 21:42:42 +0000 (23:42 +0200)]
move simple calculation related functions to common

10 years agoextract parts of vnstat main to separate functions
Teemu Toivola [Sun, 2 Mar 2014 20:59:55 +0000 (22:59 +0200)]
extract parts of vnstat main to separate functions

10 years agofix test compilation warnings with old gcc
Teemu Toivola [Sat, 1 Mar 2014 13:09:16 +0000 (15:09 +0200)]
fix test compilation warnings with old gcc

10 years agofix test linking issues found in Ubuntu 14.04
Teemu Toivola [Sat, 1 Mar 2014 12:44:41 +0000 (14:44 +0200)]
fix test linking issues found in Ubuntu 14.04

10 years agotune unit selection limits
Teemu Toivola [Fri, 28 Feb 2014 20:25:14 +0000 (22:25 +0200)]
tune unit selection limits

10 years agoremove unused legacy unit prefixes
Teemu Toivola [Fri, 28 Feb 2014 20:10:32 +0000 (22:10 +0200)]
remove unused legacy unit prefixes

10 years agoadd more tests
Teemu Toivola [Fri, 28 Feb 2014 20:03:47 +0000 (22:03 +0200)]
add more tests

10 years agoreplace make command with variable
Teemu Toivola [Fri, 28 Feb 2014 17:58:13 +0000 (19:58 +0200)]
replace make command with variable

10 years agoimprove traffic meter output accuracy and fix occasional inconsistency (min > avg...
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

10 years agoadd debug compilation target
Teemu Toivola [Thu, 27 Feb 2014 18:09:07 +0000 (20:09 +0200)]
add debug compilation target

10 years agoadd .gitignore file
Teemu Toivola [Wed, 26 Feb 2014 20:39:24 +0000 (22:39 +0200)]
add .gitignore file

10 years agoremove forum links, fix indentation, freshmeat -> freecode
Teemu Toivola [Wed, 26 Feb 2014 20:38:03 +0000 (22:38 +0200)]
remove forum links, fix indentation, freshmeat -> freecode

10 years agohandle decimal conversion character with a define instead of if/else structures in...
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

10 years agoadd tests
Teemu Toivola [Tue, 25 Feb 2014 21:02:52 +0000 (23:02 +0200)]
add tests

10 years agotrailing whitespace cleanup and copyright year update
Teemu Toivola [Tue, 25 Feb 2014 20:58:50 +0000 (22:58 +0200)]
trailing whitespace cleanup and copyright year update

10 years agofix for loop bug in rebuild total that appears to have been there since version 1...
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

10 years agothis is version 1.12 beta already
Teemu Toivola [Tue, 25 Feb 2014 20:23:57 +0000 (22:23 +0200)]
this is version 1.12 beta already

10 years agofix memory leak that occured in daemon when list of available interfaces was empty...
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

10 years agoclose file is locking fails, fix indentation
Teemu Toivola [Tue, 25 Feb 2014 19:59:39 +0000 (21:59 +0200)]
close file is locking fails, fix indentation

10 years agoinit buffer and don't open logfile if there's nothing to log into it
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

10 years agoVersion 1.11 v1.11
Teemu Toivola [Mon, 24 Feb 2014 20:04:41 +0000 (22:04 +0200)]
Version 1.11

10 years agoVersion 1.10 v1.10
Teemu Toivola [Mon, 24 Feb 2014 19:57:50 +0000 (21:57 +0200)]
Version 1.10