Commit Graph

62 Commits

Author SHA1 Message Date
8199fc2c1e correct build of test targets
correct upload of report.xml
2020-05-20 19:37:39 +02:00
998f3ea5e8 right xml export of unit test cases for test target 2020-05-20 19:25:37 +02:00
d8c3d4ffb8 correct build of gtests in one target with xml output 2020-05-19 23:57:16 +02:00
fb65ef98fa new gitlab ci for windows build
cmake- check if gtest is installed on build system
validate compiler after setting of compiler paths
2020-05-19 20:58:18 +02:00
Lukas-Heiligenbrunner
da53941cba
enable and start iprefresher service automatically after package installation (#18)
- dont terminate service if config not valid.
2020-05-19 16:35:57 +02:00
713e7a1f95 everywhere same code header
reformatings
cdoc
2020-05-08 16:45:27 +02:00
Lukas-Heiligenbrunner
463853dbd7
Unit test framework (#10)
* add first Unit Test
with gtest and cmake dependencies

* optionally build tests or not
added some realistic tests

* added ci compatible run configuration

* added test dependencies -lpthread -lm to work in debian correctly

* added some docs
and option infos
2020-05-07 19:58:16 +02:00
335bcf1259 wrong variable name 2020-05-07 16:19:59 +02:00
db4c71d7fe don't use find_package for libconfig, no default package in debian/libconfig installation 2020-05-07 16:17:47 +02:00
ba4af36df0 * new class for IP utils
* method to check telegram support out of config
* getters in Config.cpp
* lots of reformatings and cdoc
2020-05-07 14:54:40 +02:00
b133ab6961 options to allow/deny package build
option cleanup
2020-05-06 11:33:29 +02:00
d353a2485c more dynamic .dll folder for exe packing
other config dir for windows build
2020-05-05 17:02:39 +02:00
c3bc2293c7 remove double include of cpack 2020-05-05 14:34:25 +02:00
2b66e229e3 improved windows cross build
nsis packaging
2020-05-05 14:20:02 +02:00
714c087973 first winbuild tests 2020-05-04 21:17:10 +02:00
2353e4b420 release version 1.3.2 2020-05-02 14:59:56 +02:00
81d85a51f8 right package dependencies for deb and rpm packages. 2020-05-02 14:59:08 +02:00
a127fc4893 naming postinst instead of conffiles -- deb name convention 2020-05-01 17:11:59 +02:00
b72f9749a4 debian package postscript must have specific name 2020-05-01 17:05:19 +02:00
98f181fd6d store sampleconfig also in header for regenerating it if missing during runtime 2020-05-01 16:56:37 +02:00
ae9aa1d423 check if config file exists with a post script (during package installation process) 2020-05-01 16:47:22 +02:00
2505e2cbf4 new option to verify syntax and parameters of config file
cdoc for logging class
2020-05-01 15:33:20 +02:00
cf49bf7bc5 don't overwrite config on update
Config.cpp namespace instead of static class
print version on service startup
2020-05-01 12:33:51 +02:00
78d07ac95b cdoc and some minor renames 2020-04-30 19:37:11 +02:00
53e59e9931 edited install path to /usr/bin -- more common 2020-04-30 17:12:30 +02:00
7f83203dfd release version 1.3.0 2020-04-30 12:25:27 +02:00
7cf8e965b0 improved check of incorrect config 2020-04-30 11:30:41 +02:00
04e64ad79c improved libconfig lib error handling in cmake 2020-04-30 10:47:32 +02:00
722d25b325 use libconfig for a /etc/iprefresher.cfg config file
there can all the api credentials be specified
2020-04-29 20:06:27 +02:00
5499fadac8 lots cmake improvements
correct non root packaging
2020-04-29 18:33:30 +02:00
4bb1fd148a moved credential definition in seperate file 2020-02-11 17:14:17 +01:00
root
2c1e54ade5 improved rpm package build 2019-10-27 21:41:31 +01:00
lukas-heiligenbrunner
11720af9eb edited install path of service 2019-10-27 21:34:34 +01:00
Lukas-Heiligenbrunner
6dc22f6e38
Update CMakeLists.txt 2019-10-27 18:26:36 +01:00
lukas-heiligenbrunner
d65d80c3a8 winbuild tests 2019-10-27 15:55:54 +01:00
lukas-heiligenbrunner
ce56e5452d improved cmake messages 2019-10-27 14:14:03 +01:00
lukas-heiligenbrunner
f642616bcf doxygen docu support
replaced std::cout with Logger class
2019-10-27 13:41:40 +01:00
lukas-heiligenbrunner
73b6754806 created logging class 2019-10-26 14:41:43 +02:00
lukas-heiligenbrunner
cc8c2b0497 added package dependency of libcurl 2019-10-26 11:49:10 +02:00
lukas-heiligenbrunner
8eae88edfe removed install check of systemd 2019-10-26 11:38:24 +02:00
lukas-heiligenbrunner
eadbfe90fd improved cmake file output dirs and package install dirs 2019-10-26 10:57:32 +02:00
6a3f1dc7a5 included windows build 2019-10-25 12:24:19 +02:00
lukas-heiligenbrunner
eecbc755ce temp commit 2019-10-24 22:00:58 +02:00
133b21e1bd updated build targets 2019-10-24 16:11:35 +02:00
lukas-heiligenbrunner
eeaf67906f cleanup cmakelist 2019-10-23 22:05:10 +02:00
lukas-heiligenbrunner
5012cc517e check for deb build tools
improved check of rpm
2019-10-23 21:55:45 +02:00
lukas-heiligenbrunner
314795d70d right install service with package
check if rpm build is possible
2019-10-23 21:47:54 +02:00
d91a52c6ba created systemd service 2019-10-23 13:18:43 +02:00
436051d641 updated version info to 1.2 2019-10-23 09:32:33 +02:00
b68982345d * option to force a refresh
* option to run in loop every 5 minutes
* pack into deb, rpm ant targz archive
2019-10-23 09:24:35 +02:00