Commit graph

142 commits

Author SHA1 Message Date
Neshura
b2fdbc823a
Remove template file due to new release method 2023-02-26 23:01:17 +01:00
Neshura
f4b7db64c1
Remove Dockerfile, opting for linux container instead 2023-02-26 22:44:50 +01:00
Neshura
2433907dd6
Seperated API Key into different config file 2023-02-26 01:49:02 +01:00
Neshura
ac2db79f21
Implemented Soft exit during IP-Fetching 2023-02-26 01:14:33 +01:00
Neshura
f2d3fc5fb2
Removed all python files except config 2023-02-26 01:10:55 +01:00
Neshura
e76c82492f
Rewrite in Rust 2023-02-26 01:10:39 +01:00
Neshura
331f0c092c
Added handling for root domains 2022-12-12 10:43:51 +01:00
Neshura
05b4544331
Bash side implementation of #8 2022-11-28 22:29:35 +01:00
Neshura
a41bab9639
Forgot renaming of script file 2022-11-28 20:30:27 +01:00
Neshura
687a089424 Merge branch 'rewrite/cloudflare-python-script' into 'main'
New Script version using classes

See merge request Neshura/cloudflare-dns-updater!3
2022-11-28 19:28:12 +00:00
Neshura
27bb82767b
Various bugfixes and changes
1: Script had AAAA hardcoded, this would've changed all records to AAAA.
2: Script was not saving the DNS Records ids, only their names this would've made it impossible to actually edit the DNS Record
3: Lowered the amount of printing going on, removed irrelevant information such as zoneid from the print statements, also removed most printing during the update phase
2022-11-28 20:25:42 +01:00
26fcc3859f
Wrote new version of script, please test before merging 2022-11-27 19:00:42 +01:00
Neshura
fd19efd007 Merge branch 'hotfix/TXT' into 'main'
Hotfix for #2 : Errors when type is TXT

See merge request Neshura/cloudflare-dns-updater!2
2022-11-27 17:52:18 +00:00
Neshura
2b0dae763b
Uncaught syntax error 2022-11-27 18:50:01 +01:00
Neshura
439716ed67
Try Catch around the ip put
New Bug found, uggly patched with this, details in #3
2022-11-27 18:48:38 +01:00
Neshura
61f952f044
Added venv to gitignore 2022-11-27 18:47:47 +01:00
Neshura
56e144005b
Revert "Revert change from put to patch for now"
This reverts commit 536a9ceaa1.
2022-11-27 18:43:32 +01:00
Neshura
536a9ceaa1
Revert change from put to patch for now
Syntax between put and path seems to be somewhat different, change was causing the script to fail
2022-11-27 18:42:46 +01:00
Neshura
aaa3da5cbb
Added ipv4 specification to bash script 2022-11-27 18:39:34 +01:00
Neshura
66a85c320d
Fix due to bad push on branch feature/dockerize
Included here to minimize need for merge requests
2022-11-27 18:36:26 +01:00
6a059e6806
Added error handling if key is not in A or AAAA 2022-11-27 18:03:11 +01:00
Neshura
fedae40fc4 Merge branch 'feature/dockerize' into 'main'
Add working Dockerfile to project

Closes #4

See merge request Neshura/cloudflare-dns-updater!1
2022-11-27 16:39:23 +00:00
Neshura
bf3f0ed24f
Closes #4
Does not break usage outside of a Docker container, specify "docker" for use in a docker container
2022-11-27 17:09:45 +01:00
Neshura
51a20e52af
Adjust Dockerfile for feature/reorganize
Now installs modules from requirements.txt
2022-11-27 17:07:46 +01:00
Neshura
4b8d466874
Merge remote-tracking branch 'origin/feature/reorganize' into dev_neshura 2022-11-27 16:52:47 +01:00
Neshura
667e56a406
Dockerfile for 0.1
Dockerfile to use wiht version 0.1 of the repo, might need reworking for later versions
2022-11-27 16:49:38 +01:00
Neshura
1fec94e049
Include sleep in bash script
Script now waits 2 Minutes before the next request
2022-11-27 16:49:00 +01:00
3d179f8d6a
Modified README.md (new information), added requirements.txt for easy venv setup 2022-11-27 16:42:15 +01:00
Neshura
e860641b79
Systemd serivce abandoned
Docker does not provide an easy way to run periodic tasks so the shell script will just wait for 2 minutes
2022-11-27 16:39:32 +01:00
Neshura
c6e96af6b2
Created systemd files needed for Dockerfile
Will be used as a timer to trigger the script
2022-11-27 16:12:26 +01:00
Neshura
3d8a5b776a
Added Dockerfile to repo
Will be used by Gitlab CI/CD to auto build the image
2022-11-27 16:12:05 +01:00
Neshura
35571a68c1
Workaround for #2 did not work
Reverting changes again
2022-11-27 16:10:55 +01:00
Neshura
871513c936
Workaround for #2
Original config has been copeid
2022-11-27 15:48:28 +01:00
Neshura
f8fad84c97
script is not running fish 2022-11-27 15:33:51 +01:00
Neshura
87604dfc26
Use venv and proper working dir 2022-11-27 15:31:01 +01:00
Neshura
4c620e2642
add all current DNS records 2022-11-27 14:14:18 +01:00
Neshura
cc2f69cc24
Unify ip script to run the entire task 2022-11-27 14:14:08 +01:00
Neshura
e987149ecc Upload New File 2022-11-26 19:52:03 +00:00
Neshura
22c67bbd2c Upload New File 2022-11-26 19:51:00 +00:00
Neshura
f2e7134f13 Upload New File 2022-11-26 19:50:48 +00:00
Neshura
4c0ee61357 Upload New File 2022-11-26 19:50:36 +00:00
Neshura
64a2db7a42 Initial commit 2022-11-26 19:24:15 +00:00