4623bb5d3c
refactor: Waiting for network connection when dns exception ( #1057 )
2024-03-26 14:30:35 +08:00
2699a612d7
增加dynadot的ip变化检测和一个请求参数 ( #1055 )
2024-03-25 10:27:39 +08:00
ead4e1d87e
chore: remove unused params and unnecessary nil checks ( #1052 )
...
See:
- https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/unusedparams
- https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/nilness
2024-03-22 04:19:49 -07:00
77caa37395
Add support for Dynadot. ( #1050 )
...
* Add support for Dynadot.
* Fix incorrect logging/printing of errors.
2024-03-22 15:41:09 +08:00
997c05eca5
feat(dns): support vercel dns ( #1049 )
...
* feat(dns): support vercel dns
* fix: Add case-insensitive comparison for IP address
* fix(i18n): use correct message key
2024-03-22 10:35:47 +08:00
4c11754afd
refactor(headers): support all types of line breaks ( #1046 )
...
Now it only works properly if the line break is `\r\n`. Using the `splitLines` function solves this problem.
Rewritten the function `checkParseHeaders` and renamed it to `extractHeaders` for better readability.
v6.2.2
2024-03-18 06:38:21 -07:00
23f39fb065
docs(domainsHelp): indicate when separated by a colon is needed ( #1043 )
...
* docs(domainsHelp): indicate when separated by a colon is needed
Right now, it only specifies that colons can be used to separate domains, but not in which cases.
* docs(domainsHelp): indicate when separated by a colon is needed
Right now, it only specifies that colons can be used to separate domains, but not in which cases.
2024-03-17 05:45:37 -07:00
9aee04b587
fix(web): logging if no domain is entered ( #1038 )
...
* fix(web): IPv4/6 cannot be enabled without domains
Currently, if IPv4/6 is enabled but there is no domain, nothing happens. In this case, we should throw an error.
* fix: replace errors with logs
* fix: logging only if no domain is entered
* feat: logging index
v6.2.1
2024-03-10 06:14:06 -07:00
ae0f47f537
perf: check internet with DNS lookup ( #1034 )
...
DNS lookups are much cheaper than HTTP requests since we only need to check if the Internet is available.
See: https://stackoverflow.com/a/50058255
v6.2.0
2024-03-07 05:31:33 -08:00
ea853832b9
build(deps): bump golang.org/x/net from 0.21.0 to 0.22.0 ( #1031 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 04:26:00 -08:00
52ef2b7fbf
fix: the url of ipv4 ( #1024 )
v6.1.2
2024-02-19 16:52:08 +08:00
eec65a2b6f
build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0 ( #1010 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 13:35:58 +08:00
6410dad8a2
fix: The select is not working properly ( #1006 )
v6.1.1
2024-02-02 12:39:07 +08:00
dac27c0613
build(deps): bump peter-evans/dockerhub-description from 3 to 4 ( #997 )
...
Bumps [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description ) from 3 to 4.
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases )
- [Commits](https://github.com/peter-evans/dockerhub-description/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 03:11:01 -08:00
7befe6e7da
refactor: 重构前端代码 ( #988 )
...
* refactor: 重构前端代码
几乎完全重构前端js代码
小幅度重构后端代码(主要为了适配前端)
* fix: 修复主题色无法自适应的bug
还原了主题色修改函数的write参数,去除该参数会导致自适应修改主题时也会写入localStorage
* feat: 自动修改标签的for属性
自动修改”获取 IP 方式“标签的for属性,保证其始终指向当前可编辑的元素
* refactor: 去除JQuery
* refactor: 按业务划分代码
* fix: 对空值兼容
* fix: 统一html命名
* feat: 默认选择最后一个配置
* fix: 删除冗余代码
* fix: Update writing.html
v6.1.0
2024-01-22 04:34:46 -08:00
fe9f437d9b
feat(cloudflare): support comment
param ( #980 )
...
* feat(cloudflare): support `comment` param
* style: apply suggestion
Co-authored-by: WaterLemons2k <62788816+WaterLemons2k@users.noreply.github.com >
* style: Apply suggestions from code review
Co-authored-by: WaterLemons2k <62788816+WaterLemons2k@users.noreply.github.com >
---------
Co-authored-by: WaterLemons2k <62788816+WaterLemons2k@users.noreply.github.com >
v6.0.3
2024-01-14 04:29:12 -08:00
20f1b2963f
revert: golang 1.20 ( #977 )
v6.0.2
2024-01-12 05:15:58 -08:00
68f8b51493
docs: Make docs more beautiful ( #975 )
2024-01-12 13:37:31 +08:00
01d3f4ddbc
fix(web): correctly display new logs when the same log appear multiple times ( #974 )
...
* fix(web): correctly display new logs when old log appear multiple times
* style(html): format with Prettier
2024-01-12 12:01:04 +08:00
1a3cd4e8b4
fix: display the error logs first ( #973 )
v6.0.1
2024-01-12 10:59:36 +08:00
1a443b7ecc
fix: unique id ( #971 )
v6.0.0
2024-01-11 02:34:30 -08:00
826f7a01e8
feat: Change the default language for self-update to English ( #970 )
2024-01-11 02:08:25 -08:00
7c69aa1bf7
feat: gomod v5 to v6 & upgrade golang to 1.21 ( #969 )
2024-01-11 16:25:14 +08:00
f6bc8b4819
fix: Compatible with the previous "zh" language ( #968 )
2024-01-11 16:20:03 +08:00
eec98404fe
feat: support english ( #967 )
...
* feat: init the i18n
* fix: porkbun
* refactor: http_util GetHTTPResponse
* fix: save
* fix: add more i18n
* feat: i18n at writing.html
* feat: README EN
* fix: default api
* fix: pic
2024-01-11 15:52:53 +08:00
8b508c6f0a
feat: Reduce password strength verification when using on the intranet ( #966 )
2024-01-10 14:13:39 +08:00
76c0becb4c
build(deps): bump golang.org/x/net from 0.19.0 to 0.20.0 ( #965 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 16:25:29 +08:00
f475144f0f
opt IsPrivateNetwork func ( #962 )
...
for k8s .cluster.local
v5.7.1
2024-01-06 20:22:28 -08:00
1576b7bfd8
refactor(domains): use publicsuffix to parse ( #952 )
...
* refactor(domains): use publicsuffix to parse
* fix: incorrect sub domain when sub domain and root domain are the same
v5.7.0
2023-12-23 03:34:52 -08:00
e2605ff9c2
fix: example for eu.org ( #950 )
2023-12-22 16:32:58 +08:00
afb8c71c03
add eu.org subdomain ( #920 )
...
* add eu.org subdomain
* better explain
* fix: prettier again
* ddns:cn.eu.org -> subdomain:cn.eu.org
---------
Co-authored-by: jeessy2 <6205259+jeessy2@users.noreply.github.com >
2023-12-22 12:43:14 +08:00
78cef13060
feat: remove ivaquero/chinese/ddns-go ( #943 )
v5.6.7
2023-12-19 11:00:31 +08:00
a36c4c1f47
feat: support for custom dns port ( #942 )
2023-12-19 10:34:54 +08:00
ebf78eef87
chore: upgrade dependencies ( #941 )
2023-12-19 10:20:54 +08:00
4dfcef96cb
build(deps): bump actions/upload-artifact from 3 to 4 ( #939 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 16:50:40 +08:00
0d4656a34c
build(deps): bump actions/setup-go from 4 to 5 ( #930 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-09 04:52:27 -08:00
4b59013c3c
build(deps): bump actions/stale from 8 to 9 ( #932 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v8...v9 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-09 04:51:32 -08:00
19c4ce43f7
build: add curl&grep ( #906 )
v5.6.6
2023-11-03 22:14:24 -07:00
28799ceb8e
fix: Ensure that access from the internet is not possible when login information is not filled in ( #904 )
v5.6.5
2023-11-03 19:23:12 -07:00
857f2a6853
feat: Limit read http response size ( #903 )
2023-11-03 18:59:48 -07:00
b0c050ca44
feat: supports restart ddns-go in service ( #896 )
v5.6.4
2023-10-27 13:52:50 +08:00
4c8cf07ecd
chore: upgrade dependencies ( #880 )
v5.6.3
2023-10-10 17:06:50 +08:00
0b89b70363
feat: The webhook is only triggered once after the third failure ( #879 )
...
* feat: The webhook is only triggered once after the third failure
2023-10-10 16:59:15 +08:00
b96fc6e672
build(deps): bump docker/build-push-action from 4 to 5 ( #859 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 09:47:27 +08:00
71827f57e5
build(deps): bump docker/setup-buildx-action from 2 to 3 ( #858 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 20:59:18 +08:00
3479baa62b
build(deps): bump docker/metadata-action from 4 to 5 ( #857 )
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md )
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 20:58:13 +08:00
c637b2e229
build(deps): bump docker/login-action from 2 to 3 ( #856 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 20:57:54 +08:00
11865d9dd1
build(deps): bump goreleaser/goreleaser-action from 4 to 5 ( #855 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 4 to 5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 20:57:33 +08:00
86a595b223
build(deps): bump docker/setup-qemu-action from 2 to 3 ( #854 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 20:57:14 +08:00
0e620feaa9
feat: save data-theme state in localstorage ( #850 )
...
* feat: save data-theme state in localstorage
* fix: prefer the state in localstorage than the scheme preference
* do not save state when using default theme
* fix: determine the correct theme mode
v5.6.2
2023-09-10 05:30:51 -07:00