Commit Graph

200 Commits

Author SHA1 Message Date
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
Lukas-Heiligenbrunner
2e3a39f38c
Merge pull request #6 from Lukas-Heiligenbrunner/cross-compilation
Cross compilation
2020-05-06 11:04:49 +02:00
Lukas-Heiligenbrunner
4bab9b21eb
Merge branch 'master' into cross-compilation 2020-05-06 11:04:42 +02:00
9f99997c8b added Readme for cross compile tasks 2020-05-06 11:03:39 +02:00
aef369b38b correct order of #includes to include own libs first and then system ones 2020-05-05 19:25:23 +02:00
Lukas-Heiligenbrunner
8659237ece
Merge pull request #8 from Lukas-Heiligenbrunner/DoctypeBug
Doctype bug
2020-05-05 19:15:57 +02:00
1756b0cf5e check also read ip from file if valid 2020-05-05 19:15:08 +02:00
a3c8fe44dd use climits for MAX_ULONG
check if received ip from api has at least a :
2020-05-05 19:11:47 +02:00
d353a2485c more dynamic .dll folder for exe packing
other config dir for windows build
2020-05-05 17:02:39 +02:00
Lukas-Heiligenbrunner
8a9c39051d
Merge pull request #7 from Lukas-Heiligenbrunner/currentipparameter
added option to get current global ip
2020-05-05 15:57:16 +02:00
d5812f8266 added option to get current global ip 2020-05-05 15:32:07 +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
Lukas-Heiligenbrunner
3936d9b949
Update README.md 2020-05-01 16:37:15 +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
4bc836c971 added gitlab build job
improved readme
2020-04-30 15:15:01 +02:00
7f83203dfd release version 1.3.0 2020-04-30 12:25:27 +02:00
a5e64667c5 removed useless ide files 2020-04-30 12:21:41 +02:00
9d33964b93 remove logging to file
added some doc
2020-04-30 12:16:29 +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
f53d46dd49 update readme 2020-04-29 22:02:51 +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
54a0ea9f98 basic refactor 2020-02-11 17:22:14 +01:00
4bb1fd148a moved credential definition in seperate file 2020-02-11 17:14:17 +01:00
0ac9c497ae create Credentials class to specify all credentials there. 2020-02-11 16:42:05 +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