166 Commits

Author SHA1 Message Date
Timothy Miller
464d2792b1 Fixed purgeUnknownRecords behavior 2022-07-30 20:07:36 -04:00
Timothy Miller
a9d25c743a
Create CODE_OF_CONDUCT.md 2021-10-30 22:13:17 -04:00
Timothy Miller
254e978971
Merge pull request #67 from favonia/python-version-check 2021-10-30 22:03:03 -04:00
favonia
bf6135739d Simplify Python version checking 2021-10-30 16:15:37 -05:00
Timothy Miller
bc06202b35
Merge pull request #66 from rojosinalma/patch-1
Fixes Python version check
2021-10-30 16:22:46 -04:00
Rojo
eebbcfbbdf
Fixes Python version check
This fixes the Python version check.

float() cuts trailing zeroes:

```python
import sys
```
2021-10-30 20:55:52 +02:00
Timothy Miller
2a4d9530dd
Reduce unimportant logging
Original solution from here https://github.com/pypa/pip/issues/5900#issuecomment-490216395
2021-10-29 23:15:05 -04:00
Timothy Miller
6587d86c65 Reorganized folder structure 2021-10-29 22:56:13 -04:00
Timothy Miller
6e68d2623f Improved documentation around optional features 2021-10-29 22:22:57 -04:00
Timothy Miller
ffa4963ddd
Merge pull request #62 from arpagon/master
K8S Compatability and Example
2021-10-29 22:06:12 -04:00
Timothy Miller
def75e282d
Merge pull request #57 from omeganot/master
Config option for purge/delete of "stale" records
2021-10-29 21:54:53 -04:00
Timothy Miller
870da367a9
Merge pull request #59 from adamus1red/adamus1red-docker-ci-tweaks
Update GHA CI to use offical docker build/push actions and allow PR's to be tested
2021-10-29 21:52:31 -04:00
Timothy Miller
571a22ac22
Merge pull request #53 from zmilonas/patch-2
Do not wait before updating IPs for the first time (#51)
2021-10-29 21:42:47 -04:00
Sebastian Rojo
5136c925d2 FIX confi filename on Docs 2021-07-15 16:32:09 -05:00
Sebastian Rojo
96527aaab2 BETTER docs 2021-07-15 16:26:47 -05:00
Sebastian Rojo
f7d2e7dc00 Set default image to timothyjmiller/cloudflare-ddns:latest 2021-07-15 16:18:46 -05:00
Sebastian Rojo
4e4d3cebf1 BETTER docs 2021-07-15 16:17:35 -05:00
Sebastian Rojo
01993807a9 ADDED env Variable CONFIG_PATH for Kubernetes secret 2021-07-15 16:14:23 -05:00
adamus1red
0d9a9a0579
Update image.yml 2021-06-16 14:41:04 +01:00
Rich Visotcky
0a85b04287 Add config and option for purgeUnknownRecords 2021-06-02 09:18:56 -05:00
Zachary Milonas
1a6ffc9681
Do not wait before updating IPs for the first time (#51) 2021-04-11 15:44:18 +02:00
Timothy Miller
458559d52c 📈 Increase sync frequency to 5 minutes to prevent potential gateway timeout 2021-03-21 20:18:55 -04:00
Timothy Miller
1f6daa5968
Merge pull request #49 from immortaly007/feature/error-response-logging
🦢 Log the response text, in case the response indicated an error
2021-03-21 13:40:43 -04:00
Bas Dado
c34401c43f 🦢 Log the response text, in case the response indicated an error 2021-03-20 14:35:08 +01:00
Timothy Miller
9a8d7d57e1 🧹 Refactored code 2021-03-17 02:33:51 -04:00
Timothy Miller
04d87d3aa6 Improved error handling 2021-03-17 01:15:07 -04:00
Timothy Miller
bdf8c75cad 🧩 Disable IPv4 or IPv6 in config.json 2021-03-16 20:53:28 -04:00
Timothy Miller
6fe23a2aee 🦢 Improved error message handling 2021-03-16 14:46:29 -04:00
Timothy Miller
47ae1238e2 🦢 Graceful warnings when config.json path is not configured correctly 2021-03-12 15:58:36 -05:00
Timothy Miller
55b705072a 💨 Sped up shutdown
 Check every minute for changes
2021-03-11 20:34:05 -05:00
Timothy Miller
d3cc054b03 💹 Prevent rate limiting by increasing sync frequency to 15 minutes 2021-03-05 23:11:00 -05:00
Timothy Miller
6b25c64846 Revert merge pull request #39 2021-03-05 21:53:18 -05:00
Timothy Miller
378c600084
Merge pull request #39 from bjackman/set-config-path
🏁 Add a flag to modify config.json location
2021-03-03 22:16:30 -05:00
Timothy Miller
975fba4d42 🪵 Reduced duplicate logs [your SD card(s) will thank me] 2021-03-01 00:18:37 -05:00
Timothy Miller
3cd26feb03 🪵 Reduced duplicate logs [your SD card(s) will thank me] 2021-03-01 00:13:11 -05:00
Timothy Miller
1ca225b85c 🔬 Clarified config values for subdomains 2021-03-01 00:01:47 -05:00
Timothy Miller
80bd7801fe 🪵 Reduced duplicate logs [your SD card(s) will thank me] 2021-02-28 23:58:11 -05:00
Timothy Miller
000c833f43 🐳 CI Multi-Arch Docker Builds 2021-02-28 16:58:05 -05:00
Timothy Miller
29771030b1 🐳 CI Multi-Arch Docker builds 2021-02-28 16:39:14 -05:00
Timothy Miller
3753542dce 🐳 CI Multi-Arch Docker builds 2021-02-28 16:32:04 -05:00
Timothy Miller
c34ba8e94c 🐳 CI Multi-Arch Docker builds 2021-02-28 16:28:08 -05:00
Timothy Miller
6be8add640 🐳 CI Multi-Arch Docker Builds 2021-02-28 16:18:06 -05:00
Brendan Jackman
0f3708a482 Add a flag to modify config.json location
On Kubernetes, it's really awkward to write a Secret into the root directory:

https://www.jeffgeerling.com/blog/2019/mounting-kubernetes-secret-single-file-inside-pod

Therefore this adds support for reading the config from an arbitrary path. The
behaviour is unchanged if you don't set this new flag.
2021-02-28 18:24:25 +01:00
Brendan Jackman
8c55892f32 Switch to argparse
The next commit adds a second argument, so raw sys.argv parsing will be a bit
cumbersome. Switch to argparse instead.
2021-02-28 18:18:03 +01:00
Timothy Miller
86c935dea7 🐳 CI Multi-Arch Docker Builds
🗄️ Organized scripts
2021-02-28 12:06:38 -05:00
Timothy Miller
27ccdd0203 🦮 Strip whitespace from subdomain
📚 Improved documentation
2021-02-28 01:51:43 -05:00
Timothy Miller
a816fb6c3f 🧵 Type error resolved 2021-02-27 11:53:30 -05:00
Timothy Miller
e129789a85 🚀 Improvement: Update readme guide on multiple zones 2021-02-26 01:18:53 -05:00
Timothy Miller
4ffbb98f29 🚀 Improvement: Skip PUT request when IP does not change
🧑‍🚀 Improvement: Working graceful exit
🚀 Improvement: Update readme on multiple zones
🐛 Fix: Handle IP changes correctly https://github.com/timothymiller/cloudflare-ddns/issues/37
2021-02-26 01:15:35 -05:00
Timothy Miller
6140917119
Merge pull request #33 from markormesher/feat/handle-sigterm
handle sigterm and shutdown immediately
2021-01-23 11:50:23 -05:00