Commit Graph

47 Commits

Author SHA1 Message Date
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
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-Heiligenbrunner
4bab9b21eb
Merge branch 'master' into cross-compilation 2020-05-06 11:04:42 +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
d5812f8266 added option to get current global ip 2020-05-05 15:32:07 +02:00
714c087973 first winbuild tests 2020-05-04 21:17:10 +02:00
98f181fd6d store sampleconfig also in header for regenerating it if missing during runtime 2020-05-01 16:56:37 +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
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
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
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
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
f325c3a371 outsourced main method of ip refresh and added some doc 2019-08-02 22:44:42 +02:00
52cc5f204b added c++ doc and replaced ifndef with pragma once 2019-08-01 21:19:02 +02:00
904cd2e96a cleanup in cmake file (added libraries)
code reformats
2019-08-01 20:18:39 +02:00
c5b5029cb1 added const variables in class headers 2019-06-18 11:42:26 +02:00
07ce161155 added seperate class for ip request and dynu request 2019-06-18 11:23:24 +02:00
b40b674c5c some code improvements 2019-05-11 11:09:48 +02:00
b599626bbf used Hashmap for telegram api request 2019-05-10 08:30:08 +02:00
c738a01ce4 code reformat 2019-05-08 19:31:49 +02:00
31819abcaf moved Hashmap also in api package 2019-05-08 19:28:16 +02:00
846a32ee7e added telegram api support to send message on ip update 2019-05-08 19:19:42 +02:00
3b7e78193a some structure updates 2019-05-06 21:43:17 +02:00
3971a8ab24 reformated output of main 2019-05-06 18:49:38 +02:00
1c752847d9 added command line arguments 2019-05-06 12:55:01 +02:00
1754dd8385 syntax update and sperate variable for dynu domain id 2019-05-06 09:39:28 +02:00
acd33bbbad edited some pointer references 2019-05-05 20:23:31 +02:00
004ca7c62c added internet connection detection 2019-05-05 18:50:10 +02:00
97469e3e43 log on error 2019-05-05 16:42:39 +02:00
0e204bf2c1 added loggin methods 2019-05-05 16:35:38 +02:00
b467ab58fa edited api class and made it to work 2019-05-05 15:38:48 +02:00