Commit Graph
69 Commits
Author SHA1 Message Date
lukas 81de98bf6c rename Version.h to StaticData.h
new temp file path for windows and linux
temp file now writeable on windows
compare string find method with SIZE_MAX instead of ULONG_MAX
2020-05-26 16:51:29 +02:00
lukas 3f75484f77 improved inc directory inclusion 2020-05-22 21:58:51 +02:00
lukas f4069d02bf right naming in gitlab ci 2020-05-21 14:27:16 +02:00
lukas ce4a3a830e release version v1.3.4 2020-05-21 14:18:29 +02:00
lukas 86fd995923 some minor renamings
edited README.md
2020-05-21 14:09:17 +02:00
lukas 12ff16dc8e renamed service-binarayname and config file name to dynuiprefresher 2020-05-21 11:52:55 +02:00
lukas ea648d5946 added usage info to readme 2020-05-21 11:38:39 +02:00
lukas 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
lukas 8199fc2c1e correct build of test targets
correct upload of report.xml
2020-05-20 19:37:39 +02:00
lukas 998f3ea5e8 right xml export of unit test cases for test target 2020-05-20 19:25:37 +02:00
lukas d8c3d4ffb8 correct build of gtests in one target with xml output 2020-05-19 23:57:16 +02:00
lukas ede1afcce3 correct build dependencies for unit test 2020-05-19 21:50:43 +02:00
lukas 1239ae015a right ci camke dependencies for win and unix build 2020-05-19 21:29:36 +02:00
lukas 5271a25cbc use artifacts instead of cache 2020-05-19 21:13:53 +02:00
lukas 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 a356bca964 install config in other folder win 2020-05-18 19:46:19 +02:00
lukas 826386e849 define cached files globally/ including last test job 2020-05-08 17:28:19 +02:00
lukas 25f32dc4f4 cache whole project between jobs 2020-05-08 17:23:19 +02:00
lukas 2b863c6050 keep data between stages 2020-05-08 17:20:11 +02:00
lukas a43b730b53 multistaging ci 2020-05-08 17:17:20 +02:00
lukas 309aefee2e added a build badge 2020-05-08 17:02:46 +02:00
lukas 713e7a1f95 everywhere same code header
reformatings
cdoc
2020-05-08 16:45:27 +02:00
lukas 12de026842 Update .gitlab-ci.yml 2020-05-07 18:08:31 +00:00
lukas 335bcf1259 wrong variable name 2020-05-07 16:19:59 +02:00
lukas db4c71d7fe don't use find_package for libconfig, no default package in debian/libconfig installation 2020-05-07 16:17:47 +02:00
lukas 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
lukas b133ab6961 options to allow/deny package build
option cleanup
2020-05-06 11:33:29 +02:00
lukas 9f99997c8b added Readme for cross compile tasks 2020-05-06 11:03:39 +02:00
lukas aef369b38b correct order of #includes to include own libs first and then system ones 2020-05-05 19:25:23 +02:00
lukas 1756b0cf5e check also read ip from file if valid 2020-05-05 19:15:08 +02:00
lukas a3c8fe44dd use climits for MAX_ULONG
check if received ip from api has at least a :
2020-05-05 19:11:47 +02:00
lukas d353a2485c more dynamic .dll folder for exe packing
other config dir for windows build
2020-05-05 17:02:39 +02:00
lukas d5812f8266 added option to get current global ip 2020-05-05 15:32:07 +02:00
lukas c3bc2293c7 remove double include of cpack 2020-05-05 14:34:25 +02:00
lukas 2b66e229e3 improved windows cross build
nsis packaging
2020-05-05 14:20:02 +02:00
lukas 714c087973 first winbuild tests 2020-05-04 21:17:10 +02:00
lukas 2353e4b420 release version 1.3.2 2020-05-02 14:59:56 +02:00
lukas 81d85a51f8 right package dependencies for deb and rpm packages. 2020-05-02 14:59:08 +02:00
lukas a127fc4893 naming postinst instead of conffiles -- deb name convention 2020-05-01 17:11:59 +02:00
lukas b72f9749a4 debian package postscript must have specific name 2020-05-01 17:05:19 +02:00
lukas 98f181fd6d store sampleconfig also in header for regenerating it if missing during runtime 2020-05-01 16:56:37 +02:00
lukas ae9aa1d423 check if config file exists with a post script (during package installation process) 2020-05-01 16:47:22 +02:00
lukas 2505e2cbf4 new option to verify syntax and parameters of config file
cdoc for logging class
2020-05-01 15:33:20 +02:00
lukas 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
lukas 78d07ac95b cdoc and some minor renames 2020-04-30 19:37:11 +02:00
lukas 53e59e9931 edited install path to /usr/bin -- more common 2020-04-30 17:12:30 +02:00
lukas 4bc836c971 added gitlab build job
improved readme
2020-04-30 15:15:01 +02:00
lukas 7f83203dfd release version 1.3.0 2020-04-30 12:25:27 +02:00
lukas a5e64667c5 removed useless ide files 2020-04-30 12:21:41 +02:00
lukas 9d33964b93 remove logging to file
added some doc
2020-04-30 12:16:29 +02:00
lukas 7cf8e965b0 improved check of incorrect config 2020-04-30 11:30:41 +02:00
lukas 04e64ad79c improved libconfig lib error handling in cmake 2020-04-30 10:47:32 +02:00
lukas f53d46dd49 update readme 2020-04-29 22:02:51 +02:00
lukas 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
lukas 5499fadac8 lots cmake improvements
correct non root packaging
2020-04-29 18:33:30 +02:00
lukas 54a0ea9f98 basic refactor 2020-02-11 17:22:14 +01:00
lukas 4bb1fd148a moved credential definition in seperate file 2020-02-11 17:14:17 +01:00
lukas 0ac9c497ae create Credentials class to specify all credentials there. 2020-02-11 16:42:05 +01:00
lukas 6a3f1dc7a5 included windows build 2019-10-25 12:24:19 +02:00
lukas 133b21e1bd updated build targets 2019-10-24 16:11:35 +02:00
lukas d91a52c6ba created systemd service 2019-10-23 13:18:43 +02:00
lukas 436051d641 updated version info to 1.2 2019-10-23 09:32:33 +02:00
lukas 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
lukas c5b5029cb1 added const variables in class headers 2019-06-18 11:42:26 +02:00
lukas 07ce161155 added seperate class for ip request and dynu request 2019-06-18 11:23:24 +02:00
lukas b599626bbf used Hashmap for telegram api request 2019-05-10 08:30:08 +02:00
lukas 1c752847d9 added command line arguments 2019-05-06 12:55:01 +02:00
lukas 1754dd8385 syntax update and sperate variable for dynu domain id 2019-05-06 09:39:28 +02:00
lukas de7c0067f3 init 2019-05-01 11:14:52 +02:00