525 Commits

Author SHA1 Message Date
abef25c866 add logout feature (#1301)
* add logout feature

* fix bug, optimize display

* optimize logout display

* keep Logs ui to logout

---------

Co-authored-by: luo.pengcheng <luo.pengcheng@ikasinfo.com>
2024-10-31 16:34:08 +08:00
92354d6847 fix: password reset issue and handle missing config file (#1290)
* fix: password reset issue and handle missing config file

* Add option to reset password with custom config file
v6.7.3
2024-10-25 09:42:37 +08:00
2c4d8a82f8 fix: 安卓环境Go Time 固定UTC时区,通过时区获取偏移量修正时区 (#1284)
* fix: 安卓环境Go Time 固定UTC时区,通过时区获取偏移量修正时区

* fix: 去除tZ参数,只有安卓环境情况下根据getprop persist.sys.timezone 修正时区

---------

Co-authored-by: luo.pengcheng <luo.pengcheng@ikasinfo.com>
v6.7.2
2024-10-17 18:25:24 +08:00
e99ab31f9a feat: porkbun endpoint change to 'api.porkbun.com' (#1275) v6.7.1 2024-10-12 10:47:06 +08:00
bc2274bc8b build(deps): bump golang.org/x/net from 0.29.0 to 0.30.0 (#1272)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.30.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-10-12 10:06:57 +08:00
f08e5a5d7f build(deps): bump golang.org/x/crypto from 0.27.0 to 0.28.0 (#1270)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-10-12 10:04:53 +08:00
394efc23a6 增加一个接口地址,支持独立IPv4 IPv6。此接口服务由我个人公益维护 (#1230)
* 增加一个接口地址,支持独立IPv4  IPv6。此接口服务由我个人公益维护

* Add Chinese Help URL in `static/constant.js`
2024-09-25 14:20:34 +08:00
64f52e14e7 build(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 (#1242)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.29.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-09-06 19:29:22 -07:00
226397ca04 build(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 (#1240)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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-09-05 16:48:22 +08:00
67372c0964 Add volcengine TrafficRoute support (#1234)
* feat: add volcengine TrafficRoute DNS in web UI

* feat: add volcengine TrafficRoute DNS service logic

* feat: add volcengine TrafficRoute DNS service logic

---------

Co-authored-by: jeessy2 <6205259+jeessy2@users.noreply.github.com>
v6.7.0
2024-08-29 05:42:56 -07:00
771e180aa3 feat: Reduce password strength requirements (#1224) v6.6.9 2024-08-19 10:46:33 +08:00
3257d0776b feat: add DNS-over-TCP support to customize DNS servers (#1217)
* feat: add DNS-over-TCP & custom Port support to customize DNS servers

* feat: add DNS-over-TCP support to customize DNS servers

* fix: wrong dns string concatenation operator.
v6.6.8
2024-08-09 09:55:50 +08:00
ce755764e8 build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 (#1209)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.28.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-08-07 16:07:17 +08:00
a6137f97c1 chore: change the 'OpenExplorer' logs to english (#1205)
* chore: change the 'OpenExplorer' logs to english

* break line
v6.6.7
2024-08-01 16:11:55 +08:00
23277cc078 fix: need to parse the referer (#1204) 2024-08-01 16:07:03 +08:00
e881d5b253 feat: Login page as user settings page (#1203)
* feat: Login page as user settings page

* remove empty password check
2024-08-01 12:43:47 +08:00
bdeda6cebd chore: the time limit is set to 30 minutes (#1202) v6.6.6 2024-07-31 17:17:58 +08:00
997cdb889b change the issues template to english (#1193) 2024-07-20 21:27:47 -07:00
d04149a905 chore: the time limit is set to 10 minutes (#1191)
* chore: the time limit is set to 10 minutes

* docs: set up username and password immediately after logging in
v6.6.5
2024-07-19 09:24:35 +08:00
adfb42e783 docs: reset password in docker (#1188) 2024-07-16 06:12:08 -07:00
c23b879405 chore: drop the support of Google Domain (#1185) v6.6.4 2024-07-14 05:48:33 -07:00
edc69d1c58 build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 (#1181)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.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-07-08 16:17:59 +08:00
451b42533d build(deps): bump docker/build-push-action from 5 to 6 (#1164)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
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>
2024-06-18 16:54:46 +08:00
095b850997 fix(cloudflare): convert DNS record names to Punycode (#1160)
* fix(cloudflare): convert DNS record names to Punycode

* fix(domain): converts domain name in a copy

In-place editing may have unintended side effects.

* fix(cloudflare): remove unnecessary variable

* fix(domains): do not use Fluent API
v6.6.3
2024-06-16 06:44:26 -07:00
97f188f126 fix: add token expires for system (#1151) v6.6.2 2024-06-13 07:29:17 -07:00
6f4c79047d fix: Use a prompt instead of auto login (#1152) 2024-06-13 07:15:27 -07:00
7466211d5e perf(params): use NewReplacer to replace params (#1148)
Compared to `ReplaceAll()`, `NewReplacer()` is probably a better choice,
because you only need to maintain a list of old and new string pairs.
2024-06-07 11:01:53 +08:00
20af380b60 chore(goreleaser): update config to version 2 (#1144) 2024-06-05 04:49:29 -07:00
fee9046e7b build(deps): bump goreleaser/goreleaser-action from 5 to 6 (#1140) 2024-06-05 04:49:14 -07:00
d8ce38bd0c build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0 (#1142)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.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-06-05 17:06:11 +08:00
45004c0cc4 build(deps): bump golang.org/x/crypto from 0.23.0 to 0.24.0 (#1141)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/crypto/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-06-05 17:05:16 +08:00
d1e2c2a002 build(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 (#1143)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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-06-05 17:03:13 +08:00
ca3027b111 feat: add support for rename config (#1132)
* feat: add support for rename config

* fix(web): remove unnecessary margin for delete button
v6.6.1
2024-05-29 14:12:50 +08:00
d420991e21 Disable attestation-manifests causing "Platform: unknown/unknown" (#1127)
See also: docker/build-push-action#820
2024-05-25 19:30:56 -07:00
985a338a82 fix: web godaddy url error (#1125) 2024-05-23 05:55:12 -07:00
eda1050430 feat: reset password (#1119)
- Encrypt password using bcrypt
- Add reset password function
v6.6.0
2024-05-18 22:39:00 -07:00
354c53f781 chore(dns): log only the root domain if not found in provider (#1118)
Now, when we list a zone, the logs alone can't determine which parts of the domain are being used as a root domain.
Therefore, if `publicsuffix` provides a wrong root domain, the domain won't be found in the DNS provider even if it exists.

We can solve this by logging only the root domain, since only the root domain is used to list zones; users will also know what's causing it.
2024-05-18 06:58:15 -07:00
15e6cb0434 Update messages.go (#1115) 2024-05-16 08:01:17 -07:00
11358ae603 build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0 (#1103)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/net/compare/v0.24.0...v0.25.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-05-07 17:03:29 +08:00
b67e0fefda build(deps): bump golang.org/x/text from 0.14.0 to 0.15.0 (#1102)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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-05-06 16:42:51 +08:00
63b510bef2 Login page (#1094)
* feat: Add a login page

* feat: Modify save rules, more secure

* remove remoteAddr == "localhost"

* "登录失败次数过多,请等待 %d 分钟后再试

* cookie remove secure

* set cookie expires time by `NotAllowWanAccess`

* prettier

* fix: rename

* feat: auto login if unfilled

* feat: auto login if there is no username/password

* auto login if no username/password
v6.5.0
2024-04-26 19:35:08 -07:00
76f5e35ff5 Fix misorganized annotations (#1087) 2024-04-22 06:07:01 -07:00
903c047a7f fix: show logs when connected to the internet (#1086) v6.3.3 2024-04-22 17:21:58 +08:00
a83c60004f Update messages.go (#1083) 2024-04-22 09:04:08 +08:00
da880a787e bump golang.org/x/net from 0.23.0 to 0.24.0 (#1074)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.24.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>
v6.3.2
2024-04-08 07:25:08 -07:00
23a8b0401f fix(goreleaser): add build for Android (#1076)
According to golang/go@58f6022, the `bad system call` bug on Termux should be fixed when GOOS is android.

Test passed on Termux.
2024-04-08 07:22:27 -07:00
27541d1162 build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 (#1072) 2024-04-04 05:15:03 -07:00
8474a5a156 fix: when local dns error occurs try every dns (#1063) v6.3.1 2024-03-28 03:13:55 -07:00
89199cd18a docs: Multi-IP (#1064) 2024-03-28 17:29:13 +08:00
e0fd3488b5 fix: rename DNSList to BackupDNS (#1058) v6.3.0 2024-03-26 14:43:53 +08:00