]> granicus.if.org Git - vnstat/log
vnstat
9 years agoupdate changelog
Teemu Toivola [Mon, 12 Oct 2015 20:52:08 +0000 (23:52 +0300)]
update changelog

9 years agodon't define _XOPEN_SOURCE in BSD, otherwise unknown type errors will appear, closes #27
Teemu Toivola [Mon, 12 Oct 2015 20:40:17 +0000 (23:40 +0300)]
don't define _XOPEN_SOURCE in BSD, otherwise unknown type errors will appear, closes #27

9 years agofix padding for Asian UTF-8 date strings
Teemu Toivola [Thu, 9 Jul 2015 17:41:41 +0000 (20:41 +0300)]
fix padding for Asian UTF-8 date strings

9 years agoremove unused variables and functionality
Teemu Toivola [Sat, 27 Jun 2015 20:10:30 +0000 (23:10 +0300)]
remove unused variables and functionality

9 years agouse ANSI escape codes move cursor and clear line instead of backspace output in ...
Teemu Toivola [Sat, 27 Jun 2015 20:05:10 +0000 (23:05 +0300)]
use ANSI escape codes move cursor and clear line instead of backspace output in -l and -tr modes, hide cursor while running

9 years agobuffer change cleanup
Teemu Toivola [Sat, 27 Jun 2015 19:42:42 +0000 (22:42 +0300)]
buffer change cleanup

9 years agoMerge pull request #20 from lilydjwg/master
Teemu Toivola [Sat, 27 Jun 2015 16:35:14 +0000 (19:35 +0300)]
Merge pull request #20 from lilydjwg/master

use larger buffers for date display

9 years agofix xml output, should not contain extra commas, broken since 1.14
Teemu Toivola [Sat, 27 Jun 2015 15:38:03 +0000 (18:38 +0300)]
fix xml output, should not contain extra commas, broken since 1.14

9 years agoadd missing fcntl.h include needed by open(), closes #21
Teemu Toivola [Sat, 27 Jun 2015 15:29:22 +0000 (18:29 +0300)]
add missing fcntl.h include needed by open(), closes #21

9 years agouse larger buffers for date display
lilydjwg [Thu, 21 May 2015 09:02:12 +0000 (17:02 +0800)]
use larger buffers for date display

also use a macro for its size.

Dates in some languages (e.g. Chinese) need larger buffers to contain
(for Chinese it usually needs at most 18 bytes). I've seen the month and
day display corrupted in Chinese or Japanese locales.

9 years agoforce interface counter sync after database import
Teemu Toivola [Thu, 14 May 2015 14:51:39 +0000 (17:51 +0300)]
force interface counter sync after database import

9 years agobump version to 1.15 beta
Teemu Toivola [Thu, 14 May 2015 14:50:51 +0000 (17:50 +0300)]
bump version to 1.15 beta

9 years agofinal preparations for version 1.14 release v1.14
Teemu Toivola [Sun, 26 Apr 2015 16:36:35 +0000 (19:36 +0300)]
final preparations for version 1.14 release

9 years agomore documentation updates
Teemu Toivola [Sun, 26 Apr 2015 16:10:15 +0000 (19:10 +0300)]
more documentation updates

9 years agoclarify exportdb and importdb documentation, prepare man pages for version 1.14
Teemu Toivola [Sun, 26 Apr 2015 14:44:08 +0000 (17:44 +0300)]
clarify exportdb and importdb documentation, prepare man pages for version 1.14

9 years agofix image output field padding when using UTF-8 locale, document found restriction...
Teemu Toivola [Sat, 4 Apr 2015 20:32:05 +0000 (23:32 +0300)]
fix image output field padding when using UTF-8 locale, document found restriction related to gd library

9 years agoremove debug print
Teemu Toivola [Tue, 31 Mar 2015 19:12:53 +0000 (22:12 +0300)]
remove debug print

9 years agofix field padding when using UTF-8 locale, closes #15
Teemu Toivola [Tue, 31 Mar 2015 19:06:04 +0000 (22:06 +0300)]
fix field padding when using UTF-8 locale, closes #15

9 years agoMerge pull request #16 from SjonHortensius/master
Teemu Toivola [Sun, 29 Mar 2015 18:46:06 +0000 (21:46 +0300)]
Merge pull request #16 from SjonHortensius/master

fix typo in --create duplication error message

9 years agofix typo in --create duplication error message
Sjon Hortensius [Wed, 25 Mar 2015 12:32:05 +0000 (13:32 +0100)]
fix typo in --create duplication error message

9 years agoadd optional mode parameter also to --xml
Teemu Toivola [Sat, 31 Jan 2015 15:21:19 +0000 (17:21 +0200)]
add optional mode parameter also to --xml

9 years agoadd optional mode parameter to --json for limiting the output to only selected inform...
Teemu Toivola [Thu, 29 Jan 2015 20:02:47 +0000 (22:02 +0200)]
add optional mode parameter to --json for limiting the output to only selected information

9 years agoupdate changelog
Teemu Toivola [Thu, 29 Jan 2015 19:09:26 +0000 (21:09 +0200)]
update changelog

9 years agominor json and xml refactoring
Teemu Toivola [Thu, 29 Jan 2015 19:05:38 +0000 (21:05 +0200)]
minor json and xml refactoring

9 years agoMerge pull request #13 from Papierkorb/master
Teemu Toivola [Wed, 28 Jan 2015 20:30:27 +0000 (22:30 +0200)]
Merge pull request #13 from Papierkorb/master

fix JSON output for databases created within the same day

9 years agoFix JSON output for new databases
Stefan Merettig [Wed, 28 Jan 2015 18:22:39 +0000 (19:22 +0100)]
Fix JSON output for new databases

9 years agoadd tests, improve showbar() invalid input handling
Teemu Toivola [Sat, 24 Jan 2015 23:41:25 +0000 (01:41 +0200)]
add tests, improve showbar() invalid input handling

9 years agoenable /sys/class/net testing and increase test coverage
Teemu Toivola [Wed, 21 Jan 2015 19:51:22 +0000 (21:51 +0200)]
enable /sys/class/net testing and increase test coverage

9 years agorefactor database query handling
Teemu Toivola [Wed, 21 Jan 2015 17:38:20 +0000 (19:38 +0200)]
refactor database query handling

9 years agomake CHANGES ready for more changes
Teemu Toivola [Wed, 21 Jan 2015 17:19:26 +0000 (19:19 +0200)]
make CHANGES ready for more changes

9 years agoremove some unnecessary mallocs
Teemu Toivola [Wed, 21 Jan 2015 17:17:37 +0000 (19:17 +0200)]
remove some unnecessary mallocs

9 years agobump version to 1.14 beta
Teemu Toivola [Wed, 21 Jan 2015 17:06:22 +0000 (19:06 +0200)]
bump version to 1.14 beta

9 years agofinal preparations for version 1.13 release v1.13
Teemu Toivola [Sun, 18 Jan 2015 18:38:23 +0000 (20:38 +0200)]
final preparations for version 1.13 release

9 years agoadd example perl and php scripts for json output
Teemu Toivola [Tue, 13 Jan 2015 19:54:17 +0000 (21:54 +0200)]
add example perl and php scripts for json output

9 years agodrop support for old database formats
Teemu Toivola [Tue, 13 Jan 2015 18:17:58 +0000 (20:17 +0200)]
drop support for old database formats

9 years agoupdate documentation
Teemu Toivola [Tue, 13 Jan 2015 16:08:19 +0000 (18:08 +0200)]
update documentation

9 years agominor cleanup
Teemu Toivola [Mon, 12 Jan 2015 19:40:37 +0000 (21:40 +0200)]
minor cleanup

9 years agofix build
Teemu Toivola [Mon, 12 Jan 2015 19:40:12 +0000 (21:40 +0200)]
fix build

9 years agoadd json output
Teemu Toivola [Mon, 12 Jan 2015 19:34:50 +0000 (21:34 +0200)]
add json output

9 years agofix BSD compilation that was broken few commits ago
Teemu Toivola [Fri, 9 Jan 2015 19:36:07 +0000 (21:36 +0200)]
fix BSD compilation that was broken few commits ago

9 years agorefactor loadcfg()
Teemu Toivola [Fri, 9 Jan 2015 18:10:38 +0000 (20:10 +0200)]
refactor loadcfg()

9 years agovariable type updates
Teemu Toivola [Fri, 9 Jan 2015 17:08:19 +0000 (19:08 +0200)]
variable type updates

9 years agoadd BandwidthDetectionInterval functionality, avoid trying to get speed information...
Teemu Toivola [Thu, 8 Jan 2015 20:06:58 +0000 (22:06 +0200)]
add BandwidthDetectionInterval functionality, avoid trying to get speed information when not needed and increase default MaxBandwidth to 1000, closes #6

9 years agoupdate changelog
Teemu Toivola [Thu, 8 Jan 2015 18:31:42 +0000 (20:31 +0200)]
update changelog

9 years agoupdate config file man page
Teemu Toivola [Thu, 8 Jan 2015 16:48:05 +0000 (18:48 +0200)]
update config file man page

9 years agoadd BandwidthDetectionInterval configuration keyword
Teemu Toivola [Thu, 8 Jan 2015 16:15:58 +0000 (18:15 +0200)]
add BandwidthDetectionInterval configuration keyword

9 years agoadd possible speed information to --iflist output
Teemu Toivola [Thu, 8 Jan 2015 16:02:38 +0000 (18:02 +0200)]
add possible speed information to --iflist output

9 years agobasic functionality for interface bandwidth detection
Teemu Toivola [Wed, 7 Jan 2015 20:33:15 +0000 (22:33 +0200)]
basic functionality for interface bandwidth detection

9 years agoreduce config file handling code duplication
Teemu Toivola [Wed, 7 Jan 2015 19:43:24 +0000 (21:43 +0200)]
reduce config file handling code duplication

9 years agofix struct if_data usage after freeifaddrs() has been called on BSD
Teemu Toivola [Wed, 7 Jan 2015 16:59:24 +0000 (18:59 +0200)]
fix struct if_data usage after freeifaddrs() has been called on BSD

9 years agodefine maximum allowed config value for bandwidth, search config file also from ...
Teemu Toivola [Tue, 6 Jan 2015 19:38:22 +0000 (21:38 +0200)]
define maximum allowed config value for bandwidth, search config file also from /usr/local/etc/vnstat.conf

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