]> granicus.if.org Git - vnstat/log
vnstat
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

6 years agoadd hourly list and 5 minute list outputs, fix textual bar generation and write testc...
Teemu Toivola [Mon, 12 Mar 2018 17:52:00 +0000 (19:52 +0200)]
add hourly list and 5 minute list outputs, fix textual bar generation and write testcase to avoid it breaking again, closes #32

6 years agoadd -I/usr/local/include to CFLAGS and -L/usr/local/lib to LDFLAGS by default unless...
Teemu Toivola [Sun, 11 Mar 2018 20:43:45 +0000 (22:43 +0200)]
add -I/usr/local/include to CFLAGS and -L/usr/local/lib to LDFLAGS by default unless disabled by using --disable-extra-paths with configure

6 years agoadd database version validation
Teemu Toivola [Sun, 11 Mar 2018 00:21:41 +0000 (02:21 +0200)]
add database version validation

6 years agoremove invalid TODO comment
Teemu Toivola [Sat, 10 Mar 2018 23:53:32 +0000 (01:53 +0200)]
remove invalid TODO comment

6 years agoadd function execution timing debug to json and xml outputs
Teemu Toivola [Sat, 10 Mar 2018 23:46:53 +0000 (01:46 +0200)]
add function execution timing debug to json and xml outputs

6 years agouse ISO date formats by default
Teemu Toivola [Sat, 10 Mar 2018 23:44:14 +0000 (01:44 +0200)]
use ISO date formats by default

6 years agoreplace asctime() with strftime()
Teemu Toivola [Sat, 10 Mar 2018 23:23:05 +0000 (01:23 +0200)]
replace asctime() with strftime()

6 years agoadd missing variable init and teardown to waittimesync() tests
Teemu Toivola [Sat, 10 Mar 2018 22:56:30 +0000 (00:56 +0200)]
add missing variable init and teardown to waittimesync() tests

6 years agoadd tests for waittimesync()
Teemu Toivola [Sat, 10 Mar 2018 17:55:07 +0000 (19:55 +0200)]
add tests for waittimesync()

6 years agoMerge branch 'travis_warnings'
Teemu Toivola [Sat, 10 Mar 2018 17:10:32 +0000 (19:10 +0200)]
Merge branch 'travis_warnings'

6 years agoadd mising no- prefix to parameters
Teemu Toivola [Sat, 10 Mar 2018 17:05:06 +0000 (19:05 +0200)]
add mising no- prefix to parameters

6 years agomore warning scope reductions for osx in travis
Teemu Toivola [Sat, 10 Mar 2018 16:59:26 +0000 (18:59 +0200)]
more warning scope reductions for osx in travis

6 years agoreduce scope of osx warnings in travis to avoid log getting flooded by few specific...
Teemu Toivola [Sat, 10 Mar 2018 16:47:30 +0000 (18:47 +0200)]
reduce scope of osx warnings in travis to avoid log getting flooded by few specific warnings from check framework files

6 years agodrop --enable-werror in travis for osx as it appears to trigger errors from check...
Teemu Toivola [Sat, 10 Mar 2018 16:36:14 +0000 (18:36 +0200)]
drop --enable-werror in travis for osx as it appears to trigger errors from check framework files

6 years agoApple has extern long timezone in time.h
Teemu Toivola [Sat, 10 Mar 2018 16:19:52 +0000 (18:19 +0200)]
Apple has extern long timezone in time.h

6 years agoadd --enable-werror parameter for configure and use it in travis
Teemu Toivola [Sat, 10 Mar 2018 16:06:58 +0000 (18:06 +0200)]
add --enable-werror parameter for configure and use it in travis

6 years agomodify environment setup
Teemu Toivola [Fri, 9 Mar 2018 22:56:05 +0000 (00:56 +0200)]
modify environment setup

6 years agoclang specific parameters and warning to errors as travis has only green/red build...
Teemu Toivola [Fri, 9 Mar 2018 22:38:32 +0000 (00:38 +0200)]
clang specific parameters and warning to errors as travis has only green/red build end status options

6 years agorefactor sql date generation handling, fixes last clang warnings (padding excluded)
Teemu Toivola [Fri, 9 Mar 2018 22:12:38 +0000 (00:12 +0200)]
refactor sql date generation handling, fixes last clang warnings (padding excluded)

6 years agoimprove data cleanup debug prints
Teemu Toivola [Tue, 6 Mar 2018 20:34:05 +0000 (22:34 +0200)]
improve data cleanup debug prints

6 years agoreturn TimeSyncWait functionality
Teemu Toivola [Tue, 6 Mar 2018 20:31:05 +0000 (22:31 +0200)]
return TimeSyncWait functionality

6 years agofix and improve config validator syntax
Teemu Toivola [Tue, 6 Mar 2018 19:55:49 +0000 (21:55 +0200)]
fix and improve config validator syntax

6 years agoimprove code readability and remove -Wformat-non-iso clang warning
Teemu Toivola [Tue, 6 Mar 2018 18:17:56 +0000 (20:17 +0200)]
improve code readability and remove -Wformat-non-iso clang warning

6 years agoadd clang padding warning ignores to legacy database format definition in order to...
Teemu Toivola [Mon, 5 Mar 2018 20:45:23 +0000 (22:45 +0200)]
add clang padding warning ignores to legacy database format definition in order to avoid anyone having sudden urges to fix possible alignment issues

6 years agoimprove define readability
Teemu Toivola [Mon, 5 Mar 2018 20:32:50 +0000 (22:32 +0200)]
improve define readability

6 years agoadd check for __clang__ being defined as gcc raises warnings for clang specific pragmas
Teemu Toivola [Mon, 5 Mar 2018 20:17:15 +0000 (22:17 +0200)]
add check for __clang__ being defined as gcc raises warnings for clang specific pragmas

6 years agofix clang warnings from tests
Teemu Toivola [Mon, 5 Mar 2018 20:05:44 +0000 (22:05 +0200)]
fix clang warnings from tests

6 years agoignore clang _XOPEN_SOURCE warning as it doesn't appear to be avoidable
Teemu Toivola [Mon, 5 Mar 2018 20:05:05 +0000 (22:05 +0200)]
ignore clang _XOPEN_SOURCE warning as it doesn't appear to be avoidable

6 years agomore warning fixes
Teemu Toivola [Mon, 5 Mar 2018 19:32:37 +0000 (21:32 +0200)]
more warning fixes

6 years agomore warning fixes
Teemu Toivola [Mon, 5 Mar 2018 19:28:10 +0000 (21:28 +0200)]
more warning fixes

6 years agofix gcc warning
Teemu Toivola [Mon, 5 Mar 2018 18:33:03 +0000 (20:33 +0200)]
fix gcc warning

6 years agofix some clang warnings
Teemu Toivola [Mon, 5 Mar 2018 18:11:13 +0000 (20:11 +0200)]
fix some clang warnings

6 years agobring back one disabled test, discard the other due to too similar content
Teemu Toivola [Mon, 5 Mar 2018 15:42:47 +0000 (17:42 +0200)]
bring back one disabled test, discard the other due to too similar content

6 years agofix cppcheck and clang warnings
Teemu Toivola [Sun, 4 Mar 2018 20:54:44 +0000 (22:54 +0200)]
fix cppcheck and clang warnings