kate522
5fd7c212ed
fix(runtime): 按参考主题硬切换为 loader/main/auto_fun 单一 DOM 生命周期
...
- 删除 AksrtFrontend registry/rehydrate 双路架构及 build/public.js 拼包入口,
前台唯一初始路径为 PHP 本地栈(jQuery 1.9.1 → Bootstrap 3.4.1)
→ loader_js(_win/aksrtData 唯一注入)→ tbquire(['main']) → runtime/main.min.js
- window.auto_fun = debounce(z_auto_fun, 100) 为唯一重扫入口;所有模块改为
执行一次 + off/on('auto_fun.aksrt-*') 命名空间重扫,data/class 标记幂等
- 局部更新协议统一:HTML 注入 → post_ajax.ed → auto_fun();
远程 modal → loaded.bs.modal → auto_fun();JSON 成功 → zib_ajax.success
- 灯箱恢复 Miniimgbox/imgbox 唯一 owner(imgbox-container、a[data-imgbox]、
imgbox_data),删除 AksrtLightbox/data-aksrt-lightbox 第二实现及 CSS/overlay,
_win.imgbox* 重新接上 post-display 设置
- 死代码清理:runtime 下 11 组被自有实现替代的旧模块副本、无消费 vendored 库、
顶层 grade.min.js、revenue.js、无调用方的 aksrt_get_win_runtime_config(),
以及 loader 中 16 条死 mapping
- PHP 入队改为本地栈 + loader_js,routed/widget/submit 依赖统一换绑;
用户卡片发布按钮恢复 nav_user_newposts_btn 设置门控
- 测试对齐:新增 frontend-lifecycle-contract,重写 navigation/lazyload/toast/
auth-source/comment/page-display/post-visual 等断言为目标架构契约
验证:node --test widget-system+navigation 223 通过 0 失败;
构建脚本重建 main/imgbox min 与 CSS bundles;改动 PHP php -l、JS node --check
全部通过;git diff --check 干净;credits 重入 harness 通过。
2026-09-03 12:44:31 +08:00
kate522
1f4a39d8f8
feat(runtime): 全站前端脚本统一接入 AksrtFrontend 全局 DOM 生命周期
...
- rehydrate.js 新增 boot()/aksrt:ready 事件,支持 boot 后晚注册立即以 init 触发
- aksrt-runtime.js 初始加载改走 AksrtFrontend.boot,tooltip/倒计时注册为组件
- 约 30 个前端脚本(首页、评论、支付、路由、页面叶子、widgets)
从直接 DOMContentLoaded 迁移为 AksrtFrontend.register,并加幂等标记
- section-navs 依赖改为 aksrt-runtime,保证注册时序
- 清理死代码:删除孤儿 loader.js/main.js 及 runtime/page-navs 遗留副本
- loader.js 移除已迁移模块的 tbquire 路径映射,main.js 相应瘦身
- build-public-assets.mjs 增加 runtime/main.min.js 自动压缩步骤
- 新增 4 个契约测试(homepage-dom/rehydrate-runtime/global-dom-init/
public-bundle-parity),3 个既有 harness 适配注册表初始化方式
2026-09-02 21:48:56 +08:00
kate522
ff4ec1eb43
feat(captcha): 打通人机验证 11 个场景的前后端完整链路
...
- 统一验证入口 aksrt_require_captcha(),返回 true|WP_Error,启用场景配置缺失时 fail-closed 拒绝
- 前端公共 API 重构为 window.AKSRTCaptcha(verify/collect/reset/run),单飞锁防并发重复验证,一次性 proof 绑定浏览器 cookie+场景+服务商+主机名
- challenge/exchange REST 端点:challenge 原子占用防票据放大厂商调用,增加频率限制
- 新增 OAuth bind pass:服务端签发 5 分钟一次性令牌,绑定用户+服务商+浏览器,微信扫码延迟消费
- 覆盖场景:评论、登录、注册、绑定第三方、绑定手机、找回密码、修改密码、更改邮箱、资料下载、签到、前台投稿
- 移除 Service 层重复验证与 _auth_code_verified/_defer_login 等客户端可伪造标志,删除下载共享 pass 死代码
- 修复腾讯 TC3 签名 scope、Cloudflare action/cdata/hostname 严格校验、阿里云验签错误码映射
- 后台 Schema 保存对 secret 字段做掩码/保留合并;导入导出过滤 aksrt_captcha_config
- 重建 public bundle 与 admin SPA;新增 captcha 运行时/安全/业务契约测试与 harness
2026-09-02 13:03:24 +08:00
kate522
780e1eba21
优化了一些问题
2026-08-29 22:03:48 +08:00
kate522
11f1c23fa7
进行了一些小优化
2026-08-25 17:02:33 +08:00
kate522
4a4009133c
进行了一些小优化
2026-08-25 16:33:36 +08:00
kate522
58f3f42bf8
修复两个问题
2026-08-24 16:38:03 +08:00
kate522
5cae5b5c93
积分与余额账务系统硬切重构
2026-08-24 15:59:11 +08:00
kate522
86692ff3f9
用户功能设置收口与废弃后台链路清理
2026-08-23 22:09:12 +08:00
kate522
af52f9e94d
登录注册体系的源码级硬切换
2026-08-23 20:30:01 +08:00
kate522
886ea8732c
fix(profile): restore route styles and hidden modals
2026-08-19 14:08:42 +08:00
kate522
95553086dd
(fix):update user setting toast
2026-08-18 03:48:50 +08:00
kate522
e429b59077
(fix):update user profile toast
2026-08-18 03:27:42 +08:00
kate522
86614c4905
refactor(frontend): replace toast system with zibll notyf
2026-08-18 02:38:43 +08:00
kate522
651c75fea1
fix: improve promotion tabs and referral layout
2026-08-16 21:51:53 +08:00
kate522
d4876bb125
fix: improve promotion tabs and referral layout
2026-08-16 21:47:41 +08:00
kate522
853114a9f9
fix: improve promotion tabs and referral layout
2026-08-16 21:28:02 +08:00
kate522
5b9f54f5ac
fix: improve promotion tabs and referral layout
2026-08-16 20:52:15 +08:00
kate522
6dbb556d60
feat: merge promotion and earnings center
2026-08-16 19:54:12 +08:00
kate522
8241570ca2
feat(users): govern profiles and access
...
Normalize fixed profile fields, profile actions, and the five-column capability matrix for comments, uploads, and downloads.
2026-08-13 00:24:54 +08:00
kate522
ce2b266890
fix(users): keep management inside center
2026-08-12 20:59:31 +08:00
kate522
c3bfd12c69
fix(users): keep center navigation local and restore public home
2026-08-12 20:02:37 +08:00
kate522
dacd0095bf
feat(users): normalize center routes and withdrawal limits
2026-08-12 19:44:47 +08:00
kate522
651c5f28f8
fix(orders): load user center assets before panel navigation
2026-08-12 16:48:40 +08:00
kate522
ddc762bfbd
fix(vip): honor manual membership changes
2026-08-11 16:03:06 +08:00
kate522
cfb0a1368c
fix(user-center): close creator income review gaps
2026-08-07 13:16:10 +08:00
kate522
e20418e909
feat(payment): separate creator income settlement
2026-08-07 12:39:32 +08:00
kate522 and Claude Fable 5
9e6ae32fc1
feat(payment): complete creator income center
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-07 10:59:58 +08:00
kate522 and Claude Fable 5
ceff04ce54
feat(user-center): add dedicated creator workspace
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-06 17:23:31 +08:00
kate522
2f9384f368
feat(user-center): upgrade posts panel to creator center
2026-08-06 16:24:59 +08:00
kate522 and Claude Fable 5
8a007b9ee7
fix(user-center): restore ajax tab navigation
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-06 12:41:36 +08:00
kate522 and Claude Fable 5
02fcde3c84
fix(user-center): load revenue tabs without refresh
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-06 10:42:32 +08:00
kate522 and Claude Fable 5
5375ad6429
perf(modal): unify cancellable frontend modal flows
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-05 02:04:55 +08:00
kate522 and Claude Fable 5
113a6bcab0
feat(modal): add rollout telemetry foundation
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-04 21:23:04 +08:00
kate522 and Claude Fable 5
4332518c22
fix: 优化阿里云失败结果和操作显示
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-01 22:44:45 +08:00
kate522 and Claude Fable 5
ea5269e0c6
fix: 阿里云 H5 认证提交 MetaInfo
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-01 22:13:29 +08:00
kate522 and Claude Fable 5
63705dfde0
fix: 精简身份认证申请表单
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-01 19:15:01 +08:00
kate522
4de67311cc
feat: 接入腾讯云与阿里云实人认证
2026-08-01 13:21:21 +08:00
kate522
815e83bac0
fix(user-center): complete certification and order flows
...
Fix modal scroll ownership and certification modal styling, store evidence as Media Library attachments, reconcile missed provider callbacks, validate currencies, and complete digital fulfillment only after durable entitlement delivery.
2026-07-29 10:29:59 +08:00
kate522
0a04c3e4cc
fix(user-center): embed official certification panel
2026-07-28 15:22:09 +08:00
kate522
a7f3caec59
feat(user-center): redesign sidebar and wallet tips
2026-07-28 13:41:00 +08:00
kate522
487681a6c4
feat(identity): tip QR upload, metrics engine, comment moderate caps
...
Close identity 1:1 gaps after p1: user-center weixin/alipay tip QR
upload+save, AKSRT_User_Metrics counters for medal get_type and level
XP bridges, forum/revenue/signin hooks, comment moderate via user_caps,
and clearer free-task deep links/status CTAs.
2026-07-17 01:52:35 +08:00
kate522
7a4419d0dd
fix(captcha): 1:1 align bind-phone and real status contracts
...
Add bind_phone captcha scene across schema/runtime/UI, require captcha on
phone bind, return real captcha status objects instead of legacy option
aliases, and harden form discovery for page-sign auth forms.
2026-07-13 21:14:31 +08:00
kate522
f76d4650e5
用户域一次性收口:统一公开主页资源归属并折叠作者页双路径
...
把 uh-forum 样式收进 user-home 路由、author.php 收成 301 回退、公开主页脚本以 author.js 为唯一实现,并去掉 enqueue/body class 中的 is_author 分叉。
2026-07-10 22:11:44 +08:00
kate522
dec33ea15a
用户中心减层:收敛本人入口与 panel 契约
2026-07-10 20:43:49 +08:00
kate522
3247db7ed1
补充主题静态资源与归档模板
2026-07-03 23:15:11 +08:00