]> granicus.if.org Git - vnstat/log
vnstat
5 years agofix: some DaemonGroup documentation mentioned user instead of group
Teemu Toivola [Fri, 8 Mar 2019 17:29:52 +0000 (19:29 +0200)]
fix: some DaemonGroup documentation mentioned user instead of group

5 years agorefactoring, remove MAXUPDATEINTERVAL as no longer relevant
Teemu Toivola [Thu, 7 Mar 2019 21:19:42 +0000 (23:19 +0200)]
refactoring, remove MAXUPDATEINTERVAL as no longer relevant

5 years agorefactoring
Teemu Toivola [Wed, 6 Mar 2019 21:14:41 +0000 (23:14 +0200)]
refactoring

5 years agominor fixes, short output monthly estimate could briefly show zero when some traffic...
Teemu Toivola [Tue, 5 Mar 2019 19:53:44 +0000 (21:53 +0200)]
minor fixes, short output monthly estimate could briefly show zero when some traffic had already been seen, date range specific sum row lacked the possibility of showing zeros

5 years agofix image output --headertext not being applied to some output types, resolves #123
Teemu Toivola [Mon, 4 Feb 2019 19:12:30 +0000 (21:12 +0200)]
fix image output --headertext not being applied to some output types, resolves #123

5 years agoimprove README.md
Teemu Toivola [Sat, 2 Feb 2019 16:25:10 +0000 (18:25 +0200)]
improve README.md

5 years agoadjust open() flags depending on what's supported, fixes #121
Teemu Toivola [Sat, 26 Jan 2019 14:51:10 +0000 (16:51 +0200)]
adjust open() flags depending on what's supported, fixes #121

5 years agoimprove daemon prints and rename variable to better fit its current use
Teemu Toivola [Fri, 25 Jan 2019 22:40:34 +0000 (00:40 +0200)]
improve daemon prints and rename variable to better fit its current use

5 years agoadd detection and configuration of 32-bit / 64-bit kernel interface counters
Teemu Toivola [Mon, 14 Jan 2019 21:42:48 +0000 (23:42 +0200)]
add detection and configuration of 32-bit / 64-bit kernel interface counters

6 years agobump version to 2.2 beta
Teemu Toivola [Thu, 6 Dec 2018 16:02:05 +0000 (18:02 +0200)]
bump version to 2.2 beta

6 years agofinal preparations for version 2.1 release v2.1
Teemu Toivola [Thu, 6 Dec 2018 15:45:57 +0000 (17:45 +0200)]
final preparations for version 2.1 release

6 years agoupdate documentation, increase test timeout from default 4 seconds to 10 seconds...
Teemu Toivola [Sun, 2 Dec 2018 14:04:47 +0000 (16:04 +0200)]
update documentation, increase test timeout from default 4 seconds to 10 seconds for image tests in order to avoid timeouts in slower systems

6 years agofix timezone affecting the accuracy of shown average rate and estimates for the ongoi...
Teemu Toivola [Sun, 2 Dec 2018 13:19:45 +0000 (15:19 +0200)]
fix timezone affecting the accuracy of shown average rate and estimates for the ongoing month, related to #113

6 years agofix traffic estimate and average rate for ongoing month not being calculated correctl...
Teemu Toivola [Sun, 25 Nov 2018 19:17:48 +0000 (21:17 +0200)]
fix traffic estimate and average rate for ongoing month not being calculated correctly when MonthRotate had a value larger than 1, closes #113

6 years agoremove possible PollInterval and UpdateInterval drift over time, sync SaveInterval...
Teemu Toivola [Sat, 24 Nov 2018 23:37:46 +0000 (01:37 +0200)]
remove possible PollInterval and UpdateInterval drift over time, sync SaveInterval to full minutes

6 years agofix Daemon:waittimesync_does_not_wait_with_new_interfaces for systems using a time...
Teemu Toivola [Thu, 22 Nov 2018 17:14:20 +0000 (19:14 +0200)]
fix Daemon:waittimesync_does_not_wait_with_new_interfaces for systems using a time zone with a negative numeric value, closes #112

6 years agogive Travis jobs more descriptive names and limit git clone depth a little more than...
Teemu Toivola [Thu, 8 Nov 2018 20:37:33 +0000 (22:37 +0200)]
give Travis jobs more descriptive names and limit git clone depth a little more than default

6 years agoMerge pull request #107 from vergoh/travisxenial
Teemu Toivola [Thu, 8 Nov 2018 20:23:20 +0000 (22:23 +0200)]
Merge pull request #107 from vergoh/travisxenial

enable Ubuntu Xenial in Travis

6 years agoenable Ubuntu Xenial in Travis
Teemu Toivola [Thu, 8 Nov 2018 19:58:37 +0000 (21:58 +0200)]
enable Ubuntu Xenial in Travis

6 years agoMerge pull request #105 from lasers/current-month
Teemu Toivola [Mon, 5 Nov 2018 20:44:05 +0000 (22:44 +0200)]
Merge pull request #105 from lasers/current-month

man/vnstat.1: fix typo today with current month

6 years agoman/vnstat.1: fix typo today with current month
lasers [Mon, 5 Nov 2018 17:17:46 +0000 (11:17 -0600)]
man/vnstat.1: fix typo today with current month

6 years agoadd proper error message if query target interface doesn't exist in database
Teemu Toivola [Sat, 27 Oct 2018 21:17:05 +0000 (00:17 +0300)]
add proper error message if query target interface doesn't exist in database

6 years agofix possibility for --oneline segmentation fault if database had total traffic values...
Teemu Toivola [Sat, 27 Oct 2018 21:06:27 +0000 (00:06 +0300)]
fix possibility for --oneline segmentation fault if database had total traffic values set but didn't have any daily or monthly traffic (Arch bug #60588), most likely requires import of corrupted legacy database in order to occur

6 years agofix man page to no longer contain instructions of interface data merge using the...
Teemu Toivola [Fri, 26 Oct 2018 16:30:22 +0000 (19:30 +0300)]
fix man page to no longer contain instructions of interface data merge using the + syntax

6 years agoMerge pull request #103 from sbraz/man
Teemu Toivola [Wed, 24 Oct 2018 15:46:22 +0000 (18:46 +0300)]
Merge pull request #103 from sbraz/man

Remove --delete option from manpage

6 years agoRemove --delete option from manpage
Louis Sautier [Tue, 23 Oct 2018 22:41:19 +0000 (00:41 +0200)]
Remove --delete option from manpage

6 years agoMerge pull request #102 from foo-san/master
Teemu Toivola [Tue, 23 Oct 2018 15:41:21 +0000 (18:41 +0300)]
Merge pull request #102 from foo-san/master

Fix grammar in src/vnstat.c

6 years agobump version to 2.1 beta
Teemu Toivola [Tue, 23 Oct 2018 15:39:41 +0000 (18:39 +0300)]
bump version to 2.1 beta

6 years agox
foo-san [Tue, 23 Oct 2018 15:10:02 +0000 (08:10 -0700)]
x

6 years agofinal preparations for version 2.0 release v2.0
Teemu Toivola [Sun, 21 Oct 2018 16:59:36 +0000 (19:59 +0300)]
final preparations for version 2.0 release

6 years agofix compiler warnings (gcc 8.2.0 and clang 8.0.0)
Teemu Toivola [Fri, 19 Oct 2018 21:18:10 +0000 (00:18 +0300)]
fix compiler warnings (gcc 8.2.0 and clang 8.0.0)

6 years agoadd another vnstati test with file output, fix imperfections visible in some elements
Teemu Toivola [Fri, 19 Oct 2018 20:53:08 +0000 (23:53 +0300)]
add another vnstati test with file output, fix imperfections visible in some elements

6 years agofix 'since' text alignment in summary image
Teemu Toivola [Sat, 13 Oct 2018 18:19:23 +0000 (21:19 +0300)]
fix 'since' text alignment in summary image

6 years agoadd test image to clean target
Teemu Toivola [Sat, 13 Oct 2018 17:37:29 +0000 (20:37 +0300)]
add test image to clean target

6 years agofix clang warnings
Teemu Toivola [Fri, 12 Oct 2018 21:23:59 +0000 (00:23 +0300)]
fix clang warnings

6 years agoworkaround and test for libgd/libgd#351
Teemu Toivola [Fri, 12 Oct 2018 20:44:08 +0000 (23:44 +0300)]
workaround and test for libgd/libgd#351

6 years agoimprove documentation
Teemu Toivola [Wed, 10 Oct 2018 18:11:45 +0000 (21:11 +0300)]
improve documentation

6 years agofix syntax error
Teemu Toivola [Sun, 7 Oct 2018 14:55:03 +0000 (17:55 +0300)]
fix syntax error

6 years agoupdate documentation, add missing parameters
Teemu Toivola [Sat, 22 Sep 2018 12:13:13 +0000 (15:13 +0300)]
update documentation, add missing parameters

6 years agoupdate example cgi to use new parameter for hourly graph in order to retain the previ...
Teemu Toivola [Sat, 22 Sep 2018 09:35:12 +0000 (12:35 +0300)]
update example cgi to use new parameter for hourly graph in order to retain the previous layout

6 years agofix drawbar() handling when there's no traffic, fix image size and alignment when...
Teemu Toivola [Thu, 20 Sep 2018 18:22:45 +0000 (21:22 +0300)]
fix drawbar() handling when there's no traffic, fix image size and alignment when there's no data

6 years agoadd instructions for log and pid files when installing without root access, closes #99
Teemu Toivola [Thu, 13 Sep 2018 19:43:51 +0000 (22:43 +0300)]
add instructions for log and pid files when installing without root access, closes #99

6 years agorename TrafficlessDays -> TrafficlessEntries configuration option as the setting...
Teemu Toivola [Thu, 13 Sep 2018 17:55:21 +0000 (20:55 +0300)]
rename TrafficlessDays -> TrafficlessEntries configuration option as the setting affects all entry types instead of only days

6 years agorename hourly outputs, update documentation, increase daily and monthly data default...
Teemu Toivola [Mon, 10 Sep 2018 18:39:52 +0000 (21:39 +0300)]
rename hourly outputs, update documentation, increase daily and monthly data default retention a little to provide better overlap of previous period

6 years agofix gcc 8 warnings
Teemu Toivola [Sat, 8 Sep 2018 15:14:39 +0000 (18:14 +0300)]
fix gcc 8 warnings

6 years agoadd time range query support to top lists, uses daily data instead of separate top...
Teemu Toivola [Thu, 6 Sep 2018 18:57:46 +0000 (21:57 +0300)]
add time range query support to top lists, uses daily data instead of separate top entries when range is specified, available time range depends on configured daily data rentention duration

6 years agoadd MonthRotateAffectsYears configuration option and tests
Teemu Toivola [Mon, 3 Sep 2018 19:29:32 +0000 (22:29 +0300)]
add MonthRotateAffectsYears configuration option and tests

6 years agoupgrade autoconf generated files with more recent version
Teemu Toivola [Tue, 28 Aug 2018 18:26:46 +0000 (21:26 +0300)]
upgrade autoconf generated files with more recent version

6 years agoadd null pointer check to interface bandwidth detection, closes #100
Teemu Toivola [Tue, 28 Aug 2018 18:22:56 +0000 (21:22 +0300)]
add null pointer check to interface bandwidth detection, closes #100

6 years agoshow sum of data instead of estimate in lists if end of time range has been specified
Teemu Toivola [Fri, 4 May 2018 22:20:45 +0000 (01:20 +0300)]
show sum of data instead of estimate in lists if end of time range has been specified

6 years agoupdate http -> https
Teemu Toivola [Tue, 1 May 2018 21:48:44 +0000 (00:48 +0300)]
update http -> https

6 years agoupdate documentation
Teemu Toivola [Tue, 1 May 2018 21:46:36 +0000 (00:46 +0300)]
update documentation

6 years agobump beta version
Teemu Toivola [Tue, 1 May 2018 21:28:37 +0000 (00:28 +0300)]
bump beta version

6 years agoextract printcfgfile() from cfg.c to separate file
Teemu Toivola [Tue, 1 May 2018 21:27:47 +0000 (00:27 +0300)]
extract printcfgfile() from cfg.c to separate file

6 years agoincrease default data retention durations
Teemu Toivola [Tue, 1 May 2018 21:11:09 +0000 (00:11 +0300)]
increase default data retention durations

6 years agoreturn MonthRotate configuration option support, improve documentation
Teemu Toivola [Sun, 29 Apr 2018 20:38:47 +0000 (23:38 +0300)]
return MonthRotate configuration option support, improve documentation

6 years agoimprove readability by using fixed / new / removed sections
Teemu Toivola [Sat, 28 Apr 2018 22:57:13 +0000 (01:57 +0300)]
improve readability by using fixed / new / removed sections

6 years agorearrange configuration file content, remove legacy database locking
Teemu Toivola [Thu, 26 Apr 2018 20:33:13 +0000 (23:33 +0300)]
rearrange configuration file content, remove legacy database locking

6 years agoimprove command help outputs
Teemu Toivola [Tue, 10 Apr 2018 19:32:53 +0000 (22:32 +0300)]
improve command help outputs

6 years agodon't abort daemon startup if some specific user or group is requested to be used...
Teemu Toivola [Thu, 5 Apr 2018 18:09:22 +0000 (21:09 +0300)]
don't abort daemon startup if some specific user or group is requested to be used when not as root if the user or group already is the same as the currently used, this allows the intended user and group to be specified in the configuration file even if the used service manager or startup script doesn't let vnstatd start as root, any user executed (vnstat related) commands as root will then be less likely to mess up file or directory permissions

6 years agofix terminal control codes getting included in output when -tr was used with --json...
Teemu Toivola [Thu, 29 Mar 2018 18:44:48 +0000 (21:44 +0300)]
fix terminal control codes getting included in output when -tr was used with --json, closes #95

6 years agoadd option to select units to use SI decimal prefixes using calculations with powers...
Teemu Toivola [Mon, 26 Mar 2018 14:28:01 +0000 (17:28 +0300)]
add option to select units to use SI decimal prefixes using calculations with powers of 1000 (IEC and JEDEC prefixes use powers of 1024), closes #86

6 years agoimprove text alignment when no data is available
Teemu Toivola [Mon, 26 Mar 2018 13:26:48 +0000 (16:26 +0300)]
improve text alignment when no data is available

6 years agoadd more db_getdata_range() tests
Teemu Toivola [Mon, 26 Mar 2018 13:14:24 +0000 (16:14 +0300)]
add more db_getdata_range() tests

6 years agofix new tests to behave correctly regardless of used timezone
Teemu Toivola [Mon, 26 Mar 2018 12:10:39 +0000 (15:10 +0300)]
fix new tests to behave correctly regardless of used timezone

6 years agoadd db_getdata_range() tests
Teemu Toivola [Sun, 25 Mar 2018 22:42:38 +0000 (01:42 +0300)]
add db_getdata_range() tests

6 years agoadd time range selection support to --xml and --json
Teemu Toivola [Sun, 25 Mar 2018 16:26:51 +0000 (19:26 +0300)]
add time range selection support to --xml and --json

6 years agobe more strict with time range format and provide better time range matching
Teemu Toivola [Sun, 25 Mar 2018 16:11:25 +0000 (19:11 +0300)]
be more strict with time range format and provide better time range matching

6 years agoupdate documentation for time range specific queries
Teemu Toivola [Sat, 24 Mar 2018 18:24:08 +0000 (20:24 +0200)]
update documentation for time range specific queries

6 years agoadd data time range to image output
Teemu Toivola [Sat, 24 Mar 2018 17:53:23 +0000 (19:53 +0200)]
add data time range to image output

6 years agoadd datetime input validation
Teemu Toivola [Sat, 24 Mar 2018 17:43:43 +0000 (19:43 +0200)]
add datetime input validation

6 years agoadd initial support for specifying data time range in query with -b / --begin and...
Teemu Toivola [Sat, 24 Mar 2018 00:49:45 +0000 (02:49 +0200)]
add initial support for specifying data time range in query with -b / --begin and -e / --end

6 years agoimprove syntax of man pages
Teemu Toivola [Thu, 22 Mar 2018 00:07:27 +0000 (02:07 +0200)]
improve syntax of man pages

6 years agoadd option to limit the length of --json and --xml outputs
Teemu Toivola [Wed, 21 Mar 2018 22:58:29 +0000 (00:58 +0200)]
add option to limit the length of --json and --xml outputs

6 years agoadd exbibyte support
Teemu Toivola [Wed, 21 Mar 2018 15:11:30 +0000 (17:11 +0200)]
add exbibyte support

6 years agoremove --exportdb
Teemu Toivola [Wed, 21 Mar 2018 14:48:32 +0000 (16:48 +0200)]
remove --exportdb

6 years agoadd importlegacydb() tests
Teemu Toivola [Tue, 20 Mar 2018 21:51:01 +0000 (23:51 +0200)]
add importlegacydb() tests

6 years agoMerge pull request #93 from cgzones/const_char
Teemu Toivola [Tue, 20 Mar 2018 13:02:40 +0000 (15:02 +0200)]
Merge pull request #93 from cgzones/const_char

constify const char strings

6 years agoavoid having some daemon related tests Linux specific
Teemu Toivola [Sun, 18 Mar 2018 21:26:16 +0000 (23:26 +0200)]
avoid having some daemon related tests Linux specific

6 years agoadd db_validate() tests and info prints
Teemu Toivola [Sun, 18 Mar 2018 21:07:24 +0000 (23:07 +0200)]
add db_validate() tests and info prints

6 years agoimprove database output tests
Teemu Toivola [Sun, 18 Mar 2018 20:06:42 +0000 (22:06 +0200)]
improve database output tests

6 years agodefine one common datetime format in common.h
Teemu Toivola [Sun, 18 Mar 2018 17:56:51 +0000 (19:56 +0200)]
define one common datetime format in common.h

6 years agoadd datacache_status() tests
Teemu Toivola [Sun, 18 Mar 2018 17:51:54 +0000 (19:51 +0200)]
add datacache_status() tests

6 years agoadd processifinfo() tests
Teemu Toivola [Sun, 18 Mar 2018 16:50:48 +0000 (18:50 +0200)]
add processifinfo() tests

6 years agoconstify const char strings
Christian Göttsche [Sat, 17 Mar 2018 15:12:14 +0000 (16:12 +0100)]
constify const char strings

6 years agoadd cleanremovedinterfaces() test
Teemu Toivola [Sat, 17 Mar 2018 16:17:44 +0000 (18:17 +0200)]
add cleanremovedinterfaces() test

6 years agoadd more complex processdatacache() test
Teemu Toivola [Sat, 17 Mar 2018 15:48:35 +0000 (17:48 +0200)]
add more complex processdatacache() test

6 years agoadd handledatabaseerror() tests
Teemu Toivola [Sat, 17 Mar 2018 14:51:13 +0000 (16:51 +0200)]
add handledatabaseerror() tests

6 years agoadd detectboot() tests and improve function error handling
Teemu Toivola [Fri, 16 Mar 2018 23:09:27 +0000 (01:09 +0200)]
add detectboot() tests and improve function error handling

6 years agorefactor and enable sighup handling test, mark some functions still lacking tests
Teemu Toivola [Fri, 16 Mar 2018 22:31:47 +0000 (00:31 +0200)]
refactor and enable sighup handling test, mark some functions still lacking tests

6 years agosplit signal handling test to one test per signal
Teemu Toivola [Fri, 16 Mar 2018 21:44:02 +0000 (23:44 +0200)]
split signal handling test to one test per signal

6 years agofix occasionally failing tests, fix invalid instruction provided by daemon after...
Teemu Toivola [Fri, 16 Mar 2018 19:33:42 +0000 (21:33 +0200)]
fix occasionally failing tests, fix invalid instruction provided by daemon after first start and bump beta version

6 years agoupdate install documentation
Teemu Toivola [Thu, 15 Mar 2018 20:26:27 +0000 (22:26 +0200)]
update install documentation

6 years agorewrite UNINSTALL
Teemu Toivola [Thu, 15 Mar 2018 19:41:11 +0000 (21:41 +0200)]
rewrite UNINSTALL

6 years agoupdate documentation
Teemu Toivola [Wed, 14 Mar 2018 20:57:00 +0000 (22:57 +0200)]
update documentation

6 years agoremove references to deleted files
Teemu Toivola [Tue, 13 Mar 2018 21:31:30 +0000 (23:31 +0200)]
remove references to deleted files

6 years agoadd hourly list and 5 minute list image outputs
Teemu Toivola [Tue, 13 Mar 2018 21:27:09 +0000 (23:27 +0200)]
add hourly list and 5 minute list image outputs

6 years agoupdate README.md
Teemu Toivola [Tue, 13 Mar 2018 21:03:58 +0000 (23:03 +0200)]
update README.md

6 years agoremove INSTALL_OSX as these instructions haven't been verified in a long time and...
Teemu Toivola [Tue, 13 Mar 2018 21:01:51 +0000 (23:01 +0200)]
remove INSTALL_OSX as these instructions haven't been verified in a long time and aren't likely to work with more recent OS X releases

6 years agofix vertical bar scaling in text mode hourly output graph, broken due to improper...
Teemu Toivola [Tue, 13 Mar 2018 15:30:17 +0000 (17:30 +0200)]
fix vertical bar scaling in text mode hourly output graph, broken due to improper clang warning fix