]> granicus.if.org Git - vnstat/log
vnstat
9 years agoadd sudo for Travis in install
Teemu Toivola [Tue, 6 Jan 2015 18:47:16 +0000 (20:47 +0200)]
add sudo for Travis in install

9 years agolet Travis test also install step
Teemu Toivola [Tue, 6 Jan 2015 18:32:40 +0000 (20:32 +0200)]
let Travis test also install step

9 years agoadd BandwidthDetection keyword to config, reorganize config related functions and...
Teemu Toivola [Tue, 6 Jan 2015 18:14:15 +0000 (20:14 +0200)]
add BandwidthDetection keyword to config, reorganize config related functions and add support for interface bandwidth query (not used yet)

9 years agoreplace spaces with tabs, improve sed matching, closes #12
Teemu Toivola [Mon, 5 Jan 2015 22:24:10 +0000 (00:24 +0200)]
replace spaces with tabs, improve sed matching, closes #12

9 years agoMerge branch 'jasperla-bsd_manpage'
Teemu Toivola [Mon, 5 Jan 2015 22:10:42 +0000 (00:10 +0200)]
Merge branch 'jasperla-bsd_manpage'

9 years agoMerge branch 'bsd_manpage' of https://github.com/jasperla/vnstat into jasperla-bsd_ma...
Teemu Toivola [Mon, 5 Jan 2015 22:10:24 +0000 (00:10 +0200)]
Merge branch 'bsd_manpage' of https://github.com/jasperla/vnstat into jasperla-bsd_manpage

9 years agoMerge pull request #11 from jasperla/ETC_var
Teemu Toivola [Mon, 5 Jan 2015 22:07:49 +0000 (00:07 +0200)]
Merge pull request #11 from jasperla/ETC_var

make the path to vnstat.conf variable

9 years agodocument value ranges in configuration file man page and other minor man page corretions
Teemu Toivola [Mon, 5 Jan 2015 22:06:24 +0000 (00:06 +0200)]
document value ranges in configuration file man page and other minor man page corretions

9 years agoAdjust manpages for /var/db/ too, just like vnstat.conf
Jasper Lievisse Adriaanse [Sun, 4 Jan 2015 21:04:20 +0000 (22:04 +0100)]
Adjust manpages for /var/db/ too, just like vnstat.conf

9 years agomake the path to vnstat.conf variable
Jasper Lievisse Adriaanse [Sat, 3 Jan 2015 13:34:50 +0000 (14:34 +0100)]
make the path to vnstat.conf variable

9 years agoMerge pull request #10 from jasperla/make_override
Teemu Toivola [Sun, 4 Jan 2015 19:49:28 +0000 (21:49 +0200)]
Merge pull request #10 from jasperla/make_override

Allow for overriding BIN, SBIN and MAN

9 years agoAllow for overriding BIN, SBIN and MAN
Jasper Lievisse Adriaanse [Sat, 3 Jan 2015 13:30:52 +0000 (14:30 +0100)]
Allow for overriding BIN, SBIN and MAN

10 years agoadd option for center alignment
Teemu Toivola [Fri, 26 Sep 2014 17:34:30 +0000 (20:34 +0300)]
add option for center alignment

10 years agonew vnstati options: --altdate for using alternative date and time text locations...
Teemu Toivola [Thu, 25 Sep 2014 17:15:54 +0000 (20:15 +0300)]
new vnstati options: --altdate for using alternative date and time text locations outside header section, --headertext for using custom text in image header section instead of interface name / nick

10 years agoman page syntax cleanup
Teemu Toivola [Thu, 18 Sep 2014 19:03:46 +0000 (22:03 +0300)]
man page syntax cleanup

10 years agoadd legend to hourly ouput image
Teemu Toivola [Thu, 11 Sep 2014 17:22:21 +0000 (20:22 +0300)]
add legend to hourly ouput image

10 years agoimage output cleanup
Teemu Toivola [Wed, 10 Sep 2014 19:48:06 +0000 (22:48 +0300)]
image output cleanup

10 years agoadd -nl / --nolegend option to image output for hiding the rx/tx legend
Teemu Toivola [Wed, 10 Sep 2014 15:01:46 +0000 (18:01 +0300)]
add -nl / --nolegend option to image output for hiding the rx/tx legend

10 years agoreduce use of global variables in image output
Teemu Toivola [Tue, 9 Sep 2014 19:49:33 +0000 (22:49 +0300)]
reduce use of global variables in image output

10 years agoshowhours() cleanup
Teemu Toivola [Mon, 8 Sep 2014 19:27:42 +0000 (22:27 +0300)]
showhours() cleanup

10 years agoremove some needless comments
Teemu Toivola [Sun, 7 Sep 2014 18:50:05 +0000 (21:50 +0300)]
remove some needless comments

10 years agodynamic unit selection in hourly output instead of being fixed to KiB (fixes #4)
Teemu Toivola [Sun, 7 Sep 2014 16:41:42 +0000 (19:41 +0300)]
dynamic unit selection in hourly output instead of being fixed to KiB (fixes #4)

10 years agofix getgroup() test in Debian GNU/kFreeBSD (patch by Felix Geyer)
Teemu Toivola [Sat, 6 Sep 2014 19:28:58 +0000 (22:28 +0300)]
fix getgroup() test in Debian GNU/kFreeBSD (patch by Felix Geyer)

10 years agouse fakeroot with tar in Makefile dist target
Teemu Toivola [Sun, 31 Aug 2014 19:28:16 +0000 (22:28 +0300)]
use fakeroot with tar in Makefile dist target

10 years agobump version to 1.13 beta
Teemu Toivola [Sun, 31 Aug 2014 19:16:54 +0000 (22:16 +0300)]
bump version to 1.13 beta

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