aliyun-controller 0.2.4__tar.gz → 0.2.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/PKG-INFO +13 -4
  2. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/README.md +12 -3
  3. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/__init__.py +1 -1
  4. aliyun_controller-0.2.6/aliyun_controller/dns.py +897 -0
  5. aliyun_controller-0.2.6/aliyun_controller/screens/dns.py +908 -0
  6. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/widgets.py +366 -53
  7. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller.egg-info/PKG-INFO +13 -4
  8. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/pyproject.toml +1 -1
  9. aliyun_controller-0.2.4/aliyun_controller/dns.py +0 -143
  10. aliyun_controller-0.2.4/aliyun_controller/screens/dns.py +0 -466
  11. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/app.py +0 -0
  12. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/app.tcss +0 -0
  13. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/billing.py +0 -0
  14. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/client.py +0 -0
  15. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/config.py +0 -0
  16. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/main.py +0 -0
  17. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/screens/__init__.py +0 -0
  18. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/screens/billing.py +0 -0
  19. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/screens/home.py +0 -0
  20. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/screens/settings.py +0 -0
  21. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/screens/setup.py +0 -0
  22. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller/ui.py +0 -0
  23. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller.egg-info/SOURCES.txt +0 -0
  24. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller.egg-info/dependency_links.txt +0 -0
  25. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller.egg-info/entry_points.txt +0 -0
  26. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller.egg-info/requires.txt +0 -0
  27. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/aliyun_controller.egg-info/top_level.txt +0 -0
  28. {aliyun_controller-0.2.4 → aliyun_controller-0.2.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aliyun_controller
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: A Textual TUI for managing Alibaba Cloud services including billing queries and DNS management
5
5
  Author-email: Moha-Master <hongkongreporter@outlook.com>
6
6
  License-Expression: MIT
@@ -34,7 +34,7 @@ Requires-Dist: pytest-asyncio; extra == "dev"
34
34
 
35
35
  - **流量统计**:查询指定月份的公网流出流量(IPv4 / IPv6 / 合计),明细表格 + 20GB 免费额度双色进度条
36
36
  - **账单归纳**:按产品归纳指定月份的消费金额,附消费汇总面板(总额 / 产品数 / 占比最高项)
37
- - **DNS 管理**:管理域名解析记录,支持搜索、排序以及增删改、启用/禁用
37
+ - **DNS 管理**:管理域名解析记录(含线路 / MX 优先级 / 权重 / 备注),支持搜索、排序以及增删改、启用/禁用
38
38
  - **现代化 TUI**:艺术字首页、统一键位、页面内折叠菜单、状态栏与非阻塞异步加载
39
39
 
40
40
  ## 后续计划
@@ -151,10 +151,19 @@ aliyunctl -D /path/to/your/config/dir
151
151
 
152
152
  ### DNS 管理
153
153
 
154
- - 选择要管理的域名,进入解析记录列表
155
- - 支持按主机记录 / 记录值模糊筛选
154
+ - 选择要管理的域名,进入解析记录列表(新增「线路」列,显示默认 / 电信 / 联通等线路)
155
+ - 支持按主机记录 / 记录值 / 线路模糊筛选
156
156
  - 支持按创建时间、二级域名、首字母排序(正序 / 逆序)
157
157
  - 回车可对所选记录执行编辑、启用 / 禁用、删除操作,并可新增记录
158
+ - 支持的记录类型:`A`、`AAAA`、`CNAME`、`MX`、`TXT`、`NS`、`SRV`、`CAA`、`ALIAS`、`SVCB`、`HTTPS`、`TLSA`、显性 URL、隐性 URL
159
+ - 新增 / 编辑表单支持:解析线路(一级线路下拉 + 「更多线路…」可搜索全量线路)、MX 优先级、权重(0–100)、备注(≤50 字符)、TTL(1–86400 秒)
160
+ - 复合记录值使用结构化输入:SRV 4 栏、CAA 3 栏、TLSA 4 栏、SVCB / HTTPS 3 栏、显性 URL 2 栏;提交时自动拼成 API 需要的 `Value`
161
+ - 限制:
162
+ - 权重仅 `A / AAAA / CNAME / ALIAS`,且同一主机记录 + 同一线路下至少 2 条**可加权**记录(同名的 TXT/MX 等不计入);`0` 表示不参与返回(服务端可能拒绝)
163
+ - URL 转发(显性 / 隐性)仅支持默认线路,主机记录不支持泛解析与下划线
164
+ - `ALIAS` 仅企业旗舰版 / 尊享版可用,且与 DNSSEC 互斥
165
+ - TTL 最小 1 秒,但免费版 / 个人版实际最小 600 秒
166
+ - 控制台有但 OpenAPI 做不到:单条记录内「记录值集合」的逐行启停;记录锁定 / 解锁(`Locked` 只读)
158
167
 
159
168
  ## 权限要求
160
169
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  - **流量统计**:查询指定月份的公网流出流量(IPv4 / IPv6 / 合计),明细表格 + 20GB 免费额度双色进度条
8
8
  - **账单归纳**:按产品归纳指定月份的消费金额,附消费汇总面板(总额 / 产品数 / 占比最高项)
9
- - **DNS 管理**:管理域名解析记录,支持搜索、排序以及增删改、启用/禁用
9
+ - **DNS 管理**:管理域名解析记录(含线路 / MX 优先级 / 权重 / 备注),支持搜索、排序以及增删改、启用/禁用
10
10
  - **现代化 TUI**:艺术字首页、统一键位、页面内折叠菜单、状态栏与非阻塞异步加载
11
11
 
12
12
  ## 后续计划
@@ -123,10 +123,19 @@ aliyunctl -D /path/to/your/config/dir
123
123
 
124
124
  ### DNS 管理
125
125
 
126
- - 选择要管理的域名,进入解析记录列表
127
- - 支持按主机记录 / 记录值模糊筛选
126
+ - 选择要管理的域名,进入解析记录列表(新增「线路」列,显示默认 / 电信 / 联通等线路)
127
+ - 支持按主机记录 / 记录值 / 线路模糊筛选
128
128
  - 支持按创建时间、二级域名、首字母排序(正序 / 逆序)
129
129
  - 回车可对所选记录执行编辑、启用 / 禁用、删除操作,并可新增记录
130
+ - 支持的记录类型:`A`、`AAAA`、`CNAME`、`MX`、`TXT`、`NS`、`SRV`、`CAA`、`ALIAS`、`SVCB`、`HTTPS`、`TLSA`、显性 URL、隐性 URL
131
+ - 新增 / 编辑表单支持:解析线路(一级线路下拉 + 「更多线路…」可搜索全量线路)、MX 优先级、权重(0–100)、备注(≤50 字符)、TTL(1–86400 秒)
132
+ - 复合记录值使用结构化输入:SRV 4 栏、CAA 3 栏、TLSA 4 栏、SVCB / HTTPS 3 栏、显性 URL 2 栏;提交时自动拼成 API 需要的 `Value`
133
+ - 限制:
134
+ - 权重仅 `A / AAAA / CNAME / ALIAS`,且同一主机记录 + 同一线路下至少 2 条**可加权**记录(同名的 TXT/MX 等不计入);`0` 表示不参与返回(服务端可能拒绝)
135
+ - URL 转发(显性 / 隐性)仅支持默认线路,主机记录不支持泛解析与下划线
136
+ - `ALIAS` 仅企业旗舰版 / 尊享版可用,且与 DNSSEC 互斥
137
+ - TTL 最小 1 秒,但免费版 / 个人版实际最小 600 秒
138
+ - 控制台有但 OpenAPI 做不到:单条记录内「记录值集合」的逐行启停;记录锁定 / 解锁(`Locked` 只读)
130
139
 
131
140
  ## 权限要求
132
141
 
@@ -1,4 +1,4 @@
1
1
  """
2
2
  Aliyun Controller
3
3
  """
4
- __version__ = "0.2.4"
4
+ __version__ = "0.2.6"