Commit Graph

66 Commits

Author SHA1 Message Date
Benjamin Bärthlein
d589058a78 bump go mod 1.22 2024-05-20 16:07:57 +02:00
benjaminbear
2150703545
Merge pull request #44 from benjaminbear/update_dependencies
Update golang 1.22 dependencies
2024-05-20 14:43:52 +02:00
Benjamin Bärthlein
71411eedf5 Save updated ip to host entry 2024-05-20 14:09:48 +02:00
Benjamin Bärthlein
f7f84557f6 update golang 1.22 dependencies 2024-05-20 02:36:00 +02:00
benjaminbear
5d87fb370b
Merge pull request #31 from benjaminbear/bump_golang_1.20
bump dependencies to golang 1.20
2023-05-25 23:17:27 +02:00
Benjamin Bärthlein
083c296daa
bump dependencies to golang 1.20 2023-05-25 23:13:59 +02:00
benjaminbear
523a82caa1
Merge pull request #27 from devn1x/issue-address-validation-ipv6
Fix form validation for IPv6 addresses
2023-05-25 23:13:18 +02:00
devn1x
813491f73a
Add ipv6 as acceptable format of ip address 2023-01-08 01:00:24 +01:00
benjaminbear
f65012480f
Merge pull request #21 from benjaminbear/allow_short_usernames
allow usernames with min 3 chars
2022-05-29 15:49:37 +02:00
benjaminbear
13861322cb
Merge pull request #20 from w3K-dot-co/patch-2
Fix 404 errors on updates
2022-05-29 15:49:02 +02:00
benjaminbear
0f8b4b578d
allow usernames with min 3 chars 2022-05-29 15:44:28 +02:00
w3K
9c38e33f07
Fix 404 errors on updates
Before change you get these errors constantly on any host ip update:

{"time":"2022-05-09T19:03:38.40895553Z","id":"","remote_ip":"69.1.2.3","host":"ddns.domain.com","method":"GET","uri":"/nic/update?system=dyndns&hostname=test1.ddns.domain.com&myip=&wildcard=OFF&mx=NO&backmx=NO&offline=NO","user_agent":"Hikvision-dvrdvs-1.0.0","status":404,"error":"code=404, message=Not Found","latency":895808,"latency_human":"895.808µs","bytes_in":0,"bytes_out":24}
{"time":"2022-05-09T19:03:40.496361052Z","id":"","remote_ip":"69.3.2.1","host":"ddns.domain.com","method":"GET","uri":"/nic/update?system=dyndns&hostname=test2.ddns.domain.com&myip=&wildcard=OFF&mx=NO&backmx=NO&offline=NO","user_agent":"Hikvision-dvrdvs-1.0.0","status":404,"error":"code=404, message=Not Found","latency":796442,"latency_human":"796.442µs","bytes_in":0,"bytes_out":24}
{"time":"2022-05-09T19:03:45.375560893Z","id":"","remote_ip":"69.4.4.4","host":"ddns.domain.com","method":"GET","uri":"/nic/update?system=dyndns&hostname=test3.ddns.domain.com&myip=&wildcard=OFF&mx=NO&backmx=NO&offline=NO","user_agent":"Hikvision-dvrdvs-1.0.0","status":404,"error":"code=404, message=Not Found","latency":774547,"latency_human":"774.547µs","bytes_in":0,"bytes_out":24}

After change... hosts are updated... no issues.
2022-05-28 19:14:06 -04:00
Ben
6d16ce7b3f travis build to 1.18 2022-05-26 18:38:27 +02:00
Ben
f09088308d bump go 1.18.2 2022-05-26 18:09:48 +02:00
benjaminbear
7958bb9664
Merge pull request #17 from maltegrosse/master
Features
2022-05-26 17:34:18 +02:00
Malte Grosse
604550b6ab
Update README.md 2022-04-12 17:02:40 +02:00
Malte
6e81572536 added custom logout url 2022-04-12 17:00:52 +02:00
Malte Grosse
f9b4c4dddc
Update README.md 2022-04-06 11:28:50 +02:00
Malte
47cb9e742a added wildcard option 2022-04-06 10:58:41 +02:00
Malte
217cb2a575 fixed clear logs 2022-04-06 09:05:06 +02:00
Malte
7e415a710f removed special characters in random password function as some characters causing issues in urls 2022-04-05 23:51:39 +02:00
Malte
561a800a1a added more parameters for authentication (host & domain) 2022-04-05 17:55:02 +02:00
Malte
6432c042f5 replaced AuthHost by context set&get 2022-04-05 17:28:17 +02:00
Malte Grosse
13f52a4bd8
Update setup.sh 2022-04-05 09:02:50 +02:00
Malte
c60db60647 fixed copy to clipboard function 2022-04-05 08:19:12 +02:00
Malte Grosse
f291902dc4
Update Dockerfile
bind9 -> named
2022-04-05 00:59:32 +02:00
Malte
74fb59e452 added go.sum 2022-04-05 00:08:13 +02:00
Malte Grosse
807ba916e6
Update Dockerfile 2022-04-04 23:26:57 +02:00
Malte Grosse
7e1f2075e8
Update Dockerfile 2022-04-04 23:16:12 +02:00
Malte Grosse
a6d240e7c4
Update README.md
added new features
2022-04-04 23:04:56 +02:00
Malte Grosse
27de4f3b1f
Update Dockerfile
switched to debian bullseye
2022-04-04 23:01:13 +02:00
Malte Grosse
ea96f504c8
Update Dockerfile
remove arch flag
2022-04-04 23:00:08 +02:00
Malte Grosse
3b406d1057
github workflow for multiarch containers 2022-04-04 22:59:39 +02:00
Malte
d84c3352a9 - switched all admin routes to /admin/...
- auto redirect from ./ to ./admin
- enabled two auth flows (admin and update)
- disabled auth for admin by skipping env variable DDNS_ADMIN_LOGIN
- introduced optional env variable DDNS_TITLE for dynamic UI title (default TheBBCloudDynDNS)
- set copyright date in footer dynamic on startup
- moved all remote js/css packages into static in order to avoid external dependencies
- added "copy to clipboard button" on host overview page
- replaced all fmt.Println to log...
- introduced new optional env variable DDNS_CLEAR_LOG_INTERVAL to clear logs after n days (int). (check runs daily once if update request received)
- newest logs are shown from top to button on logs page
2022-04-04 13:03:25 +02:00
benjaminbear
fcb7f88507
Update docker-compose.yml 2021-08-18 13:33:48 +02:00
benjaminbear
6337a64871
Update README.md 2021-08-18 13:33:25 +02:00
benjaminbear
56c46933a6
Merge pull request #9 from benjaminbear/fix_cname_delete
fix model validation and preloading
2021-07-28 23:24:57 +02:00
Ben
eb947bda40 build on older go versions for travis compatibility 2021-07-28 23:21:34 +02:00
Ben
8ae1f7edcf fix model validation and preloading 2021-07-28 23:16:13 +02:00
Ben
79bd7fed9c Merge branch 'master' of https://github.com/benjaminbear/docker-ddns-server 2021-07-28 22:34:48 +02:00
Ben
3be71a2f10 bump to golang 1.16 2021-07-28 22:33:08 +02:00
benjaminbear
f91551b74d
Merge pull request #8 from benjaminbear/handle_cnames
Handle cnames
2021-07-28 22:22:53 +02:00
Ben
67a2d81992 force javascript update 2021-07-28 22:16:27 +02:00
Ben
711f80b3a2 add cname files 2021-07-28 22:03:37 +02:00
Ben
dbc137366e add cname managment, check for used hostnames, fix menu button highlighting 2021-07-28 22:02:59 +02:00
Ben
3884ff5a09 replace layout example index with listing hosts 2021-07-27 21:17:57 +02:00
benjaminbear
0141862b26
Merge pull request #7 from benjaminbear/add_compatible_api
Added dyndns compatible api
2021-07-27 19:17:56 +02:00
Ben
2eebbcda9c Added dyndns compatible api 2021-07-27 16:02:37 +02:00
Ben
ef96496474 Added more documentation and prepared some structural changes 2021-07-27 13:12:16 +02:00
benjaminbear
d84bcbeef6
Merge pull request #2 from benjaminbear/improve-error-logging
Improve error logging
2020-04-29 10:54:26 +02:00