]>
granicus.if.org Git - vnstat/log
Teemu Toivola [Fri, 12 Oct 2018 21:23:59 +0000 (00:23 +0300)]
fix clang warnings
Teemu Toivola [Fri, 12 Oct 2018 20:44:08 +0000 (23:44 +0300)]
workaround and test for libgd/libgd#351
Teemu Toivola [Wed, 10 Oct 2018 18:11:45 +0000 (21:11 +0300)]
improve documentation
Teemu Toivola [Sun, 7 Oct 2018 14:55:03 +0000 (17:55 +0300)]
fix syntax error
Teemu Toivola [Sat, 22 Sep 2018 12:13:13 +0000 (15:13 +0300)]
update documentation, add missing parameters
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
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
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
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
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
Teemu Toivola [Sat, 8 Sep 2018 15:14:39 +0000 (18:14 +0300)]
fix gcc 8 warnings
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
Teemu Toivola [Mon, 3 Sep 2018 19:29:32 +0000 (22:29 +0300)]
add MonthRotateAffectsYears configuration option and tests
Teemu Toivola [Tue, 28 Aug 2018 18:26:46 +0000 (21:26 +0300)]
upgrade autoconf generated files with more recent version
Teemu Toivola [Tue, 28 Aug 2018 18:22:56 +0000 (21:22 +0300)]
add null pointer check to interface bandwidth detection, closes #100
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
Teemu Toivola [Tue, 1 May 2018 21:48:44 +0000 (00:48 +0300)]
update http -> https
Teemu Toivola [Tue, 1 May 2018 21:46:36 +0000 (00:46 +0300)]
update documentation
Teemu Toivola [Tue, 1 May 2018 21:28:37 +0000 (00:28 +0300)]
bump beta version
Teemu Toivola [Tue, 1 May 2018 21:27:47 +0000 (00:27 +0300)]
extract printcfgfile() from cfg.c to separate file
Teemu Toivola [Tue, 1 May 2018 21:11:09 +0000 (00:11 +0300)]
increase default data retention durations
Teemu Toivola [Sun, 29 Apr 2018 20:38:47 +0000 (23:38 +0300)]
return MonthRotate configuration option support, improve documentation
Teemu Toivola [Sat, 28 Apr 2018 22:57:13 +0000 (01:57 +0300)]
improve readability by using fixed / new / removed sections
Teemu Toivola [Thu, 26 Apr 2018 20:33:13 +0000 (23:33 +0300)]
rearrange configuration file content, remove legacy database locking
Teemu Toivola [Tue, 10 Apr 2018 19:32:53 +0000 (22:32 +0300)]
improve command help outputs
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
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
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
Teemu Toivola [Mon, 26 Mar 2018 13:26:48 +0000 (16:26 +0300)]
improve text alignment when no data is available
Teemu Toivola [Mon, 26 Mar 2018 13:14:24 +0000 (16:14 +0300)]
add more db_getdata_range() tests
Teemu Toivola [Mon, 26 Mar 2018 12:10:39 +0000 (15:10 +0300)]
fix new tests to behave correctly regardless of used timezone
Teemu Toivola [Sun, 25 Mar 2018 22:42:38 +0000 (01:42 +0300)]
add db_getdata_range() tests
Teemu Toivola [Sun, 25 Mar 2018 16:26:51 +0000 (19:26 +0300)]
add time range selection support to --xml and --json
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
Teemu Toivola [Sat, 24 Mar 2018 18:24:08 +0000 (20:24 +0200)]
update documentation for time range specific queries
Teemu Toivola [Sat, 24 Mar 2018 17:53:23 +0000 (19:53 +0200)]
add data time range to image output
Teemu Toivola [Sat, 24 Mar 2018 17:43:43 +0000 (19:43 +0200)]
add datetime input validation
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
Teemu Toivola [Thu, 22 Mar 2018 00:07:27 +0000 (02:07 +0200)]
improve syntax of man pages
Teemu Toivola [Wed, 21 Mar 2018 22:58:29 +0000 (00:58 +0200)]
add option to limit the length of --json and --xml outputs
Teemu Toivola [Wed, 21 Mar 2018 15:11:30 +0000 (17:11 +0200)]
add exbibyte support
Teemu Toivola [Wed, 21 Mar 2018 14:48:32 +0000 (16:48 +0200)]
remove --exportdb
Teemu Toivola [Tue, 20 Mar 2018 21:51:01 +0000 (23:51 +0200)]
add importlegacydb() tests
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
Teemu Toivola [Sun, 18 Mar 2018 21:26:16 +0000 (23:26 +0200)]
avoid having some daemon related tests Linux specific
Teemu Toivola [Sun, 18 Mar 2018 21:07:24 +0000 (23:07 +0200)]
add db_validate() tests and info prints
Teemu Toivola [Sun, 18 Mar 2018 20:06:42 +0000 (22:06 +0200)]
improve database output tests
Teemu Toivola [Sun, 18 Mar 2018 17:56:51 +0000 (19:56 +0200)]
define one common datetime format in common.h
Teemu Toivola [Sun, 18 Mar 2018 17:51:54 +0000 (19:51 +0200)]
add datacache_status() tests
Teemu Toivola [Sun, 18 Mar 2018 16:50:48 +0000 (18:50 +0200)]
add processifinfo() tests
Christian Göttsche [Sat, 17 Mar 2018 15:12:14 +0000 (16:12 +0100)]
constify const char strings
Teemu Toivola [Sat, 17 Mar 2018 16:17:44 +0000 (18:17 +0200)]
add cleanremovedinterfaces() test
Teemu Toivola [Sat, 17 Mar 2018 15:48:35 +0000 (17:48 +0200)]
add more complex processdatacache() test
Teemu Toivola [Sat, 17 Mar 2018 14:51:13 +0000 (16:51 +0200)]
add handledatabaseerror() tests
Teemu Toivola [Fri, 16 Mar 2018 23:09:27 +0000 (01:09 +0200)]
add detectboot() tests and improve function error handling
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
Teemu Toivola [Fri, 16 Mar 2018 21:44:02 +0000 (23:44 +0200)]
split signal handling test to one test per signal
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
Teemu Toivola [Thu, 15 Mar 2018 20:26:27 +0000 (22:26 +0200)]
update install documentation
Teemu Toivola [Thu, 15 Mar 2018 19:41:11 +0000 (21:41 +0200)]
rewrite UNINSTALL
Teemu Toivola [Wed, 14 Mar 2018 20:57:00 +0000 (22:57 +0200)]
update documentation
Teemu Toivola [Tue, 13 Mar 2018 21:31:30 +0000 (23:31 +0200)]
remove references to deleted files
Teemu Toivola [Tue, 13 Mar 2018 21:27:09 +0000 (23:27 +0200)]
add hourly list and 5 minute list image outputs
Teemu Toivola [Tue, 13 Mar 2018 21:03:58 +0000 (23:03 +0200)]
update README.md
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
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
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
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
Teemu Toivola [Sun, 11 Mar 2018 00:21:41 +0000 (02:21 +0200)]
add database version validation
Teemu Toivola [Sat, 10 Mar 2018 23:53:32 +0000 (01:53 +0200)]
remove invalid TODO comment
Teemu Toivola [Sat, 10 Mar 2018 23:46:53 +0000 (01:46 +0200)]
add function execution timing debug to json and xml outputs
Teemu Toivola [Sat, 10 Mar 2018 23:44:14 +0000 (01:44 +0200)]
use ISO date formats by default
Teemu Toivola [Sat, 10 Mar 2018 23:23:05 +0000 (01:23 +0200)]
replace asctime() with strftime()
Teemu Toivola [Sat, 10 Mar 2018 22:56:30 +0000 (00:56 +0200)]
add missing variable init and teardown to waittimesync() tests
Teemu Toivola [Sat, 10 Mar 2018 17:55:07 +0000 (19:55 +0200)]
add tests for waittimesync()
Teemu Toivola [Sat, 10 Mar 2018 17:10:32 +0000 (19:10 +0200)]
Merge branch 'travis_warnings'
Teemu Toivola [Sat, 10 Mar 2018 17:05:06 +0000 (19:05 +0200)]
add mising no- prefix to parameters
Teemu Toivola [Sat, 10 Mar 2018 16:59:26 +0000 (18:59 +0200)]
more warning scope reductions for osx in travis
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
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
Teemu Toivola [Sat, 10 Mar 2018 16:19:52 +0000 (18:19 +0200)]
Apple has extern long timezone in time.h
Teemu Toivola [Sat, 10 Mar 2018 16:06:58 +0000 (18:06 +0200)]
add --enable-werror parameter for configure and use it in travis
Teemu Toivola [Fri, 9 Mar 2018 22:56:05 +0000 (00:56 +0200)]
modify environment setup
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
Teemu Toivola [Fri, 9 Mar 2018 22:12:38 +0000 (00:12 +0200)]
refactor sql date generation handling, fixes last clang warnings (padding excluded)
Teemu Toivola [Tue, 6 Mar 2018 20:34:05 +0000 (22:34 +0200)]
improve data cleanup debug prints
Teemu Toivola [Tue, 6 Mar 2018 20:31:05 +0000 (22:31 +0200)]
return TimeSyncWait functionality
Teemu Toivola [Tue, 6 Mar 2018 19:55:49 +0000 (21:55 +0200)]
fix and improve config validator syntax
Teemu Toivola [Tue, 6 Mar 2018 18:17:56 +0000 (20:17 +0200)]
improve code readability and remove -Wformat-non-iso clang warning
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
Teemu Toivola [Mon, 5 Mar 2018 20:32:50 +0000 (22:32 +0200)]
improve define readability
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
Teemu Toivola [Mon, 5 Mar 2018 20:05:44 +0000 (22:05 +0200)]
fix clang warnings from tests
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
Teemu Toivola [Mon, 5 Mar 2018 19:32:37 +0000 (21:32 +0200)]
more warning fixes
Teemu Toivola [Mon, 5 Mar 2018 19:28:10 +0000 (21:28 +0200)]
more warning fixes
Teemu Toivola [Mon, 5 Mar 2018 18:33:03 +0000 (20:33 +0200)]
fix gcc warning
Teemu Toivola [Mon, 5 Mar 2018 18:11:13 +0000 (20:11 +0200)]
fix some clang warnings
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
Teemu Toivola [Sun, 4 Mar 2018 20:54:44 +0000 (22:54 +0200)]
fix cppcheck and clang warnings