Commit Graph
440 Commits
Author SHA1 Message Date
New Future 618f08ee7c feat(config): 优化配置文件加载逻辑,支持用户目录和系统目录 (#468)
* feat(config): Optimize configuration file loading logic
当前目录 config.json
用户目录 ~/.ddns/config.json
系统目录 /etc/ddns/config.json
v4.0.0-beta3
2025-06-04 22:49:05 +08:00
New Future f5602d8f4c update release badge 2025-06-04 11:25:57 +08:00
New Future ce513c584e add edge tag for beta release docker 2025-06-04 11:08:22 +08:00
New Future 3b7d291bd5 优化ico (#467)
* Optimize ico
* Update readme
* Flatten badge
v4.0.0-beta2
2025-06-03 13:33:05 +00:00
New Future 3caaf6eaa5 fix GitHub publish 2025-06-03 20:48:18 +08:00
New Future d0103bb389 Update release actions and documentation and config (#466)
Enhance release actions and documentation, support array inputs for
index4 and index6, and fix minor typos. Rename the script to patch.py
for clarity.
2025-06-03 02:53:52 +08:00
New Future 8456c34c81 fix lint 2025-06-02 18:11:19 +00:00
New Future 5fec8ec067 fix lint 2025-06-02 18:08:00 +00:00
New Future ae2c9c7490 python 兼容 2025-06-02 18:02:33 +00:00
New Future 946ca1cb8f rename to patch.py 2025-06-02 17:44:39 +00:00
New Future 9ed9223750 version 2025-06-02 17:40:48 +00:00
New Future e5c3bb9e94 fix typos 2025-06-02 17:07:45 +00:00
New Future 64777e73f8 index4, index6 support array 2025-06-02 16:57:35 +00:00
New Future 6c74f42f24 update release doc 2025-06-02 16:20:34 +00:00
New Future 7491693174 update realease actions 2025-06-02 15:46:40 +00:00
New Future da19b8c0c4 更新配置文件模式至v4.0 重构日志配置,(#465)
Break changes
* 移除调试模式,

* 添加日志级别和输出文件
2025-06-02 08:16:27 +00:00
New Future 3baf48a21a build Linux version in centos docker fix glibc (#464)
* build linux version in centos docker

* fix build

* Nuitka/Nuitka-Action@v1.3
2025-06-02 03:12:33 +08:00
New Future e667f5b3ae redesign icons (svg logo + favicon) (#461) 2025-05-30 18:36:47 +00:00
New Future 1b48a6999a Reintroduce Python 2 Compatibility in setup.py (#460) (#462)
* Update setup.py added python2 back
2025-05-29 15:49:58 +00:00
New FutureandCopilot 4f82472c54 优化docker镜像 (#459)
* 删除重复库, 减少docker体积
* 首次失败自动停止
* python3 优先
* 怎加python2检查
* Nuitka/Nuitka-Action

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-28 17:13:13 +00:00
New Future 3621736f77 docker onefile 2025-05-28 04:42:24 +00:00
New Future 4117a2009e docker standalone 2025-05-28 02:26:19 +00:00
New Future f608515a82 fix build 2025-05-28 03:19:40 +08:00
New Future ed05d40946 fix build 2025-05-28 03:16:49 +08:00
New Future d5601466f7 PR 检查docker 架构 (#458) 2025-05-28 03:11:55 +08:00
New Future e5eab2a5fa add libffi-dev 2025-05-27 02:12:15 +00:00
New Future 6c0dccfbe0 fix docker release job 2025-05-27 09:37:10 +08:00
New Future 4260629751 docker build multi-arch (#457)
* full arch support: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/riscv64,linux/s390x
* 启动立即执行一次 #451
break changes:
* 二进制 ddns 文件移到到 /bin/ddns #451
* 启动workdir /ddns
* 默认配置文件 /ddns/config.json
2025-05-27 09:14:27 +08:00
New Future 7cf577e858 using Nuitka for binary (#456)
* nuitka package binary

* update pipeline

* update test

* fix lint

* update build

* fix path

* imageio

* 兼容powershell

* update build

* update build

* lowercase

* fix build

* fix versiob build

* fix build
2025-05-27 00:21:47 +08:00
New Future 430380c336 Update build.yml 2025-04-10 14:56:45 +08:00
New Future defe814812 Update build.yml 2025-04-10 14:50:17 +08:00
New Future 39d5d096f0 Update publish.yml 2025-04-10 02:59:56 +08:00
New Future be27971a12 Update publish.yml
fix upload
v3.1.5
2025-04-10 02:49:29 +08:00
New Future c513137adb update docker release 2025-04-10 02:40:44 +08:00
New Future 05e3669a97 Update publish.yml 2025-04-10 02:32:12 +08:00
New Future 01028d7927 set prerelease = false 2025-04-09 12:53:05 +00:00
New Future b426d2e9e5 fix release 2025-04-09 12:50:28 +00:00
New Future d61253b49c update publish 2025-04-09 12:26:51 +00:00
New Future 9a4e8252bd back to arm 2025-04-09 12:20:48 +00:00
New Future c0cf034083 test docker 2025-04-09 12:17:26 +00:00
New Future 232f46162d feat(docker): more architecture platforms (#455)
linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/loong64,linux/arm/v7,linux/arm/v6
2025-04-09 19:57:06 +08:00
New Future 58ceb45d6c fix(run): remove legacy regex support and fix lint (#454)
BREAKING CHANGE:  regex must be start with `regex:` now
2025-04-09 19:46:34 +08:00
ZCTMDCandNew Future b7a6aee7d4 get_ip whith try/catch (#453)
* get_ip whith try/catch

* 去除多余代码

---------

Co-authored-by: New Future <NewFuture@users.noreply.github.com>
2025-04-09 19:24:08 +08:00
New Future 62093cac36 remove unused vars 2025-04-09 10:09:52 +00:00
New Future 6eba6b2b00 fix build pipelines 2025-04-09 10:07:58 +00:00
dependabot[bot] a78afc74a3 build(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows (#446)
build(deps): bump actions/download-artifact in /.github/workflows

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 11:29:00 +08:00
Elec4d0 77818615c0 希望能更改linux系统下,index6 正则获取本地ip的命令优先级 (#441)
更改linux系统下,index6 正则获取本地ip的命令优先级

优先使用ip address 而非ifconfig,理由如下:
ifconfig 会先匹配到处于弃用(Deprecated)状态的v6 ip,不会把处于弃用的v6放到末尾,导致提交的dns v6解析记录为过期v6 ip。

而ip address获取到的前两个ip均为有效前缀v6 ip,可能是对lifetime 或者 ip 获得时间进行过排序

ipaddr 与 win 系统下的ipconfig ip顺序一致,符合“排序”期望

故希望在linux系统中,优先考虑使用ipaddr 而非 ipconfig
2024-06-27 10:58:08 +08:00
char46andNew Future 732c5f8c0e 修改查询IP的API。 (#436)
Co-authored-by: New Future <NewFuture@users.noreply.github.com>
v3.0.2
2024-04-19 19:15:49 +08:00
char46 6e012847bd 修改UA。 (#435) 2024-04-18 22:06:23 +08:00
老周部落 530d14c35f fix(run): domain name uniformly lowercase to avoid problems (#433) 2024-04-06 23:06:46 +08:00