Commit Graph

119 Commits

Author SHA1 Message Date
Lukas-Heiligenbrunner
8c0c888472
Merge pull request #19 from Lukas-Heiligenbrunner/configfilewriteable
Configfilewriteable
2020-05-21 11:28:49 +02:00
Lukas-Heiligenbrunner
fed6d251be
Merge branch 'master' into configfilewriteable 2020-05-21 11:28:33 +02:00
ca47949a38 check if config folder exists if not create it
right appdata folder for windows hosts
seperate config path and config name in cmake header
2020-05-21 11:26:15 +02:00
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
ede1afcce3 correct build dependencies for unit test 2020-05-19 21:50:43 +02:00
1239ae015a right ci camke dependencies for win and unix build 2020-05-19 21:29:36 +02:00
5271a25cbc use artifacts instead of cache 2020-05-19 21:13:53 +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
a356bca964 install config in other folder win 2020-05-18 19:46:19 +02:00
826386e849 define cached files globally/ including last test job 2020-05-08 17:28:19 +02:00
25f32dc4f4 cache whole project between jobs 2020-05-08 17:23:19 +02:00
2b863c6050 keep data between stages 2020-05-08 17:20:11 +02:00
a43b730b53 multistaging ci 2020-05-08 17:17:20 +02:00
309aefee2e added a build badge 2020-05-08 17:02:46 +02:00
713e7a1f95 everywhere same code header
reformatings
cdoc
2020-05-08 16:45:27 +02:00
12de026842 Update .gitlab-ci.yml 2020-05-07 18:08:31 +00: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
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