]>
granicus.if.org Git - vnstat/log
Teemu Toivola [Tue, 6 Jan 2015 18:47:16 +0000 (20:47 +0200)]
add sudo for Travis in install
Teemu Toivola [Tue, 6 Jan 2015 18:32:40 +0000 (20:32 +0200)]
let Travis test also install step
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)
Teemu Toivola [Mon, 5 Jan 2015 22:24:10 +0000 (00:24 +0200)]
replace spaces with tabs, improve sed matching, closes #12
Teemu Toivola [Mon, 5 Jan 2015 22:10:42 +0000 (00:10 +0200)]
Merge branch 'jasperla-bsd_manpage'
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
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
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
Jasper Lievisse Adriaanse [Sun, 4 Jan 2015 21:04:20 +0000 (22:04 +0100)]
Adjust manpages for /var/db/ too, just like vnstat.conf
Jasper Lievisse Adriaanse [Sat, 3 Jan 2015 13:34:50 +0000 (14:34 +0100)]
make the path to vnstat.conf variable
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
Jasper Lievisse Adriaanse [Sat, 3 Jan 2015 13:30:52 +0000 (14:30 +0100)]
Allow for overriding BIN, SBIN and MAN
Teemu Toivola [Fri, 26 Sep 2014 17:34:30 +0000 (20:34 +0300)]
add option for center alignment
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
Teemu Toivola [Thu, 18 Sep 2014 19:03:46 +0000 (22:03 +0300)]
man page syntax cleanup
Teemu Toivola [Thu, 11 Sep 2014 17:22:21 +0000 (20:22 +0300)]
add legend to hourly ouput image
Teemu Toivola [Wed, 10 Sep 2014 19:48:06 +0000 (22:48 +0300)]
image output cleanup
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
Teemu Toivola [Tue, 9 Sep 2014 19:49:33 +0000 (22:49 +0300)]
reduce use of global variables in image output
Teemu Toivola [Mon, 8 Sep 2014 19:27:42 +0000 (22:27 +0300)]
showhours() cleanup
Teemu Toivola [Sun, 7 Sep 2014 18:50:05 +0000 (21:50 +0300)]
remove some needless comments
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)
Teemu Toivola [Sat, 6 Sep 2014 19:28:58 +0000 (22:28 +0300)]
fix getgroup() test in Debian GNU/kFreeBSD (patch by Felix Geyer)
Teemu Toivola [Sun, 31 Aug 2014 19:28:16 +0000 (22:28 +0300)]
use fakeroot with tar in Makefile dist target
Teemu Toivola [Sun, 31 Aug 2014 19:16:54 +0000 (22:16 +0300)]
bump version to 1.13 beta
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