]> granicus.if.org Git - vnstat/log
vnstat
8 years agofinal preparations for version 1.15 release v1.15
Teemu Toivola [Mon, 21 Dec 2015 22:08:08 +0000 (00:08 +0200)]
final preparations for version 1.15 release

8 years agoimprove output formatting
Teemu Toivola [Mon, 21 Dec 2015 21:41:12 +0000 (23:41 +0200)]
improve output formatting

8 years agoupdate man pages for 1.15, add restriction documentation for long date formats
Teemu Toivola [Mon, 21 Dec 2015 21:19:22 +0000 (23:19 +0200)]
update man pages for 1.15, add restriction documentation for long date formats

8 years agoadd AM_MAINTAINER_MODE to configure.ac
Teemu Toivola [Tue, 8 Dec 2015 20:30:42 +0000 (22:30 +0200)]
add AM_MAINTAINER_MODE to configure.ac

8 years agofix typo in version string, provide some setup information after running configure...
Teemu Toivola [Tue, 8 Dec 2015 19:03:54 +0000 (21:03 +0200)]
fix typo in version string, provide some setup information after running configure, update files with more recent version of autotools

8 years agodon't list interfaces having names longer than what can be handled, add tests with...
Teemu Toivola [Mon, 7 Dec 2015 21:36:36 +0000 (23:36 +0200)]
don't list interfaces having names longer than what can be handled, add tests with interface names longer that what the kernel supports

8 years agofix possible buffer overflow in /proc/net/dev parsing, closes #34
Teemu Toivola [Mon, 7 Dec 2015 21:14:05 +0000 (23:14 +0200)]
fix possible buffer overflow in /proc/net/dev parsing, closes #34

8 years agoupdate changelog
Teemu Toivola [Sat, 5 Dec 2015 22:35:20 +0000 (00:35 +0200)]
update changelog

8 years agoadd --alwaysadd option to daemon to allow automatic addition of previously unseen...
Teemu Toivola [Sat, 5 Dec 2015 22:11:21 +0000 (00:11 +0200)]
add --alwaysadd option to daemon to allow automatic addition of previously unseen interfaces during startup even if the database directory has already been populated, new interfaces will also get added during runtime, closes #31

8 years agoignore test binary
Teemu Toivola [Sat, 5 Dec 2015 20:39:51 +0000 (22:39 +0200)]
ignore test binary

8 years agoimprove database validation
Teemu Toivola [Sat, 5 Dec 2015 19:09:46 +0000 (21:09 +0200)]
improve database validation

8 years agoadd release target to makefile, remove email address from configure.ac
Teemu Toivola [Mon, 26 Oct 2015 16:02:55 +0000 (18:02 +0200)]
add release target to makefile, remove email address from configure.ac

8 years agofix vnstatd to be installed to sbin instead of bin
Teemu Toivola [Sat, 24 Oct 2015 21:06:00 +0000 (00:06 +0300)]
fix vnstatd to be installed to sbin instead of bin

8 years agoMerge pull request #30 from vergoh/autotools
Teemu Toivola [Sat, 24 Oct 2015 20:28:56 +0000 (23:28 +0300)]
Merge pull request #30 from vergoh/autotools

Replace hand written makefiles with autotools

8 years agoreplace missed VERSION with getversion(), remove needless assert.h include
Teemu Toivola [Sat, 24 Oct 2015 20:16:28 +0000 (23:16 +0300)]
replace missed VERSION with getversion(), remove needless assert.h include

8 years agoupdate documentation
Teemu Toivola [Sat, 24 Oct 2015 18:48:47 +0000 (21:48 +0300)]
update documentation

8 years agoshow additional information after install and uninstall actions
Teemu Toivola [Fri, 23 Oct 2015 19:37:47 +0000 (22:37 +0300)]
show additional information after install and uninstall actions

8 years agobe less strict with defines when using extern long timezone, didn't work in Fedora...
Teemu Toivola [Fri, 23 Oct 2015 18:29:50 +0000 (21:29 +0300)]
be less strict with defines when using extern long timezone, didn't work in Fedora for some reason

8 years agoupdate .gitignore
Teemu Toivola [Fri, 23 Oct 2015 16:43:23 +0000 (19:43 +0300)]
update .gitignore

8 years agofix freebsd compile error caused by timezone function
Teemu Toivola [Fri, 23 Oct 2015 16:42:55 +0000 (19:42 +0300)]
fix freebsd compile error caused by timezone function

8 years agotry to guess a better config file location if CFGFILE isn't defined
Teemu Toivola [Fri, 23 Oct 2015 15:26:22 +0000 (18:26 +0300)]
try to guess a better config file location if CFGFILE isn't defined

8 years agofix compiler warning
Teemu Toivola [Thu, 22 Oct 2015 16:19:18 +0000 (19:19 +0300)]
fix compiler warning

8 years agoupdate configuration file during make install if it already exists instead of overwri...
Teemu Toivola [Thu, 22 Oct 2015 16:13:08 +0000 (19:13 +0300)]
update configuration file during make install if it already exists instead of overwriting it

8 years agoupdate .gitignore
Teemu Toivola [Thu, 22 Oct 2015 16:11:08 +0000 (19:11 +0300)]
update .gitignore

8 years agouse VERSION string from config.h instead of VNSTATVERSION from common.h
Teemu Toivola [Wed, 21 Oct 2015 19:07:19 +0000 (22:07 +0300)]
use VERSION string from config.h instead of VNSTATVERSION from common.h

8 years agofix Travis commands
Teemu Toivola [Tue, 20 Oct 2015 18:57:38 +0000 (21:57 +0300)]
fix Travis commands

8 years agodiscard recursive Makefiles in order to support subdir-objects in more recent automak...
Teemu Toivola [Tue, 20 Oct 2015 18:31:51 +0000 (21:31 +0300)]
discard recursive Makefiles in order to support subdir-objects in more recent automake versions

8 years agofix profile target
Teemu Toivola [Mon, 19 Oct 2015 18:52:20 +0000 (21:52 +0300)]
fix profile target

8 years agorewrite Makefile and few tests to support distcheck target
Teemu Toivola [Mon, 19 Oct 2015 15:37:16 +0000 (18:37 +0300)]
rewrite Makefile and few tests to support distcheck target

8 years agoinstall rules for configuration file and man pages, also include some other files...
Teemu Toivola [Mon, 19 Oct 2015 15:24:05 +0000 (18:24 +0300)]
install rules for configuration file and man pages, also include some other files in dist target

8 years agosplit really long lines
Teemu Toivola [Mon, 19 Oct 2015 15:22:20 +0000 (18:22 +0300)]
split really long lines

8 years agoenable tests for os x
Teemu Toivola [Sun, 18 Oct 2015 15:11:27 +0000 (18:11 +0300)]
enable tests for os x

8 years agohaving check installed shouldn't be mandatory
Teemu Toivola [Sun, 18 Oct 2015 14:00:08 +0000 (17:00 +0300)]
having check installed shouldn't be mandatory

8 years agoteach Travis to use ./configure
Teemu Toivola [Sat, 17 Oct 2015 22:35:58 +0000 (01:35 +0300)]
teach Travis to use ./configure

8 years agoupdate autotools files
Teemu Toivola [Sat, 17 Oct 2015 22:35:16 +0000 (01:35 +0300)]
update autotools files

8 years agoreplace hand written Makefiles with autotools, some functionality is still missing
Teemu Toivola [Sat, 17 Oct 2015 22:27:38 +0000 (01:27 +0300)]
replace hand written Makefiles with autotools, some functionality is still missing

8 years agorevise test values for mosecs()
Teemu Toivola [Sat, 17 Oct 2015 19:33:15 +0000 (22:33 +0300)]
revise test values for mosecs()

8 years agoMerge pull request #29 from vergoh/osxci
Teemu Toivola [Fri, 16 Oct 2015 21:51:42 +0000 (00:51 +0300)]
Merge pull request #29 from vergoh/osxci

enable OS X support in Travis

8 years agoexclude os x with gcc compiler as it is same as clang, skip tests on os x until autot...
Teemu Toivola [Fri, 16 Oct 2015 21:29:07 +0000 (00:29 +0300)]
exclude os x with gcc compiler as it is same as clang, skip tests on os x until autotools are taken into use

8 years agoadd os x instructions for Travis
Teemu Toivola [Fri, 16 Oct 2015 21:09:41 +0000 (00:09 +0300)]
add os x instructions for Travis

8 years agofix compiler warnings in tests
Teemu Toivola [Fri, 16 Oct 2015 19:34:03 +0000 (22:34 +0300)]
fix compiler warnings in tests

8 years agofix bug in mosecs() that caused unintended shared pointer modification sometimes...
Teemu Toivola [Thu, 15 Oct 2015 18:42:27 +0000 (21:42 +0300)]
fix bug in mosecs() that caused unintended shared pointer modification sometimes resulting in wrong month to be shown for current month, add tests

8 years agoupdate changelog
Teemu Toivola [Mon, 12 Oct 2015 20:52:08 +0000 (23:52 +0300)]
update changelog

8 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

8 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

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

8 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

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

8 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

8 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

8 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