Commit Graph
461 Commits
Author SHA1 Message Date
kate522 ab9bb9a145 fix(extensions): 内容审核管理端测试可绕过启用开关
后台测试此前受 content_audit_enabled/text_enabled 与 on_failure=allow 短路,未启用时恒为通过;强制 live 调用并返回可读失败原因。
2026-07-12 14:36:23 +08:00
kate522 3675b7dcef fix(extensions): IP 归属地管理端测试可绕过启用开关
后台测试此前受 ip_geo_enabled 短路,未启用时结果恒为空;强制 live lookup 并返回可读失败原因。
2026-07-12 14:35:19 +08:00
kate522andClaude Fable 5 4862142fb6 feat(payment): VIP 作者分成档位 + get_user_vip_level
实现 aksrt_get_user_vip_level(0/1/2) 与 aksrt_is_vip2,统一 aksrt_is_vip;
Creator_Revenue 现有 resolve_share_ratio 按 VIP1/VIP2 比例生效。
赠送 vip_days 时补写 aksrt_vip_level≥1,不降级 VIP2。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 13:45:24 +08:00
kate522andClaude Fable 5 043ac178fe fix(polish): 订单购物车论坛粉边软化 + 论坛付费帖购链路
- 购物车/商品/论坛表面复用 #77 soft recipe(mix 边 + soft ring)
- 论坛 visibility=pay:订单 resource + 余额扣费闭环
- VIP 价/免费解锁 + 购买 CTA/AJAX,复用现有 Order/Credits

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 13:34:03 +08:00
kate522andClaude Fable 5 fb68b3f8c6 feat: 收口 1:1 剩余欠账(论坛壳/圈子/501/私信默认/资源死码)
- 论坛 board/topic/plate/tag/plate-cat 接入 content-wrap/content-layout 主站流壳
- 公共主页 plate 圈子 tab 接关注/管理版块真实数据并计数
- forum-topic 渲染封面/付费扩展位 meta(§7.3)
- 后台删除消息/背景图/评论图 REST 从 501 补齐为真实实现
- 私信 private_s 缺省 true(完整 1:1,不再兼容默认关)
- 清理 aksrt_get_resource_meta 不可达旧实现;挂载 AKSRT_AI 配置门控实例
- 登录 modal 启用 colorful-header;订单页粉边 focus 软化;侧栏次级入口视觉弱化

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 13:06:47 +08:00
kate522andClaude Fable 5 6880746ed3 feat(payment): 补齐创作分成结算 + 收尾 auth 壳层欠账
- 新增 AKSRT_Creator_Revenue:监听 aksrt_order_paid,按 share_ratio 把商品作者分成写入既有 aksrt_revenue 台账(幂等、跳过自购),闭合此前"结算引擎"延后项;管理端 /payment/revenue 与 /shop 概览自动读取。
- page-verify-email 套用 sign 壳层与站点 logo,和 reset/bind 对齐。
- modal-auth 补 close_signup 门控,与全页登录页一致。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 12:40:58 +08:00
kate522andClaude Fable 5 663c0bb53e feat(shop): 交易中心壳层 1:1 统一购物车/订单/收益
抽出 commerce header 与二级导航,购物车/订单/收益共用主站交易中心壳层;收益 stats 轻量化,降低独立电商后台观感。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 11:32:04 +08:00
kate522andClaude Fable 5 593d209fc6 feat(messages): 消息中心前台 1:1 导航/门控/资源加载
对齐 Zibll 消息中心主 tab 语义,补齐 messages/conversation 资源 enqueue,按 message_s/private_s 门控私信与总开关,并收束页面壳层与作者栏入口。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 11:21:46 +08:00
kate522andClaude Fable 5 8d1b0dacf6 feat(auth): 登录注册找回绑定前台 1:1 壳层/文案/协议
抽出 sign.css,统一全页登录/注册与找回/绑定视觉;中文文案与用户协议契约对齐 Auth_Service;弹层字段与 logo 同步。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 11:14:10 +08:00
kate522andClaude Fable 5 a86649946a feat(user-center): 用户中心前台 1:1 列表/URL/关注/身份
补齐 orders/cart/revenue/messages 页面 URL helper,修复私有中心商务与消息死链,公共主页商品/关注接入真实数据,开启身份 chips governance,并注册消息中心页面模板。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 11:03:30 +08:00
kate522 f3db6c89cc feat(shop): complete storefront archive, seller edit, revenue
Wire product cat/tag archives to settings-driven sort and AJAX paging,
seller product options/video/params editing, revenue withdraw form and
order review submit — finishing remaining shop frontend gaps after buy-path.
2026-07-12 10:38:02 +08:00
kate522 50e3db85bb feat(shop): wire storefront buy path to server cart
Connect product options/add-cart, server cart checkout payloads,
favorite/rebuy/receipt REST, and order-center actions without
localStorage dual-read or hardcoded cart/orders URL hacks.
2026-07-12 09:15:45 +08:00
kate522 00d335ba16 feat(comments): AJAX fragment list/submit + load-more parity
Add REST comment/list + comment/submit HTML fragments, shared query
renderer for order/author/hottest, fix load-more policy and DOM
targets, and stop full-page scrapes for order/author/reload.
2026-07-12 08:59:50 +08:00
kate522 780c8cb4f7 feat(forum): frontend 1:1 list/tabs/urls/enqueue
Wire Zibll-style board sort tabs, shared topic rows, page-template
URLs, forum asset enqueue on home/plate, home synthesis load-more,
and topic last_reply meta for last-reply ordering. No dual-read.
2026-07-12 08:38:31 +08:00
kate522 619d2bc170 feat(frontend): single pay-box positions + Zibll cover episodes/slides
Wire pay_box_position to box_top/top/bottom/box_bottom, render download or
paywall modules at those slots, and resolve featured_slide/attachment IDs
plus video episode chrome for single covers.
2026-07-11 22:08:50 +08:00
kate522 69bed0f068 feat(frontend): align single related/prevnext/maxheight with Zibll
Honor prevnext/authordesc/yiyan settings, multi-tax related queries with
orderby (incl. views), per-post maxheight override, and only expand content
when maxheight is enabled.
2026-07-11 21:46:33 +08:00
kate522 b01a89bee2 feat(frontend): wire comment sort/author filter like Zibll
Apply comments_template_query_args for newest/hottest/author-only,
keep filter bar visible under empty author filters, and restyle order
tabs/buttons with Zibll-compatible classes.
2026-07-11 21:07:22 +08:00
kate522 ee40a074d7 refactor(db): drop option/data migration from DB migrator
Keep dbDelta table schema only. Remove aksrt_basic_settings dual-write,
layout/cms/resource/order/plate option migrators, and part-1 trait.
Plate CPT activation no longer gated on migration flag.
2026-07-11 18:32:48 +08:00
kate522 387486f49d feat(shop): product editor SKU variants UI
Wire ProductEditorDrawer to existing /shop/products/{id}/variants REST
for list/save. Support attribute text parsing, batch replace save, and
optional save-variants-only. Align save endpoint JSON body parsing with
controller helper.
2026-07-11 18:27:52 +08:00
kate522 3d021d08f6 feat(shop): add product taxonomy write REST for editor
Expose POST /shop/products/taxonomy to create category/tag terms,
enrich GET term payload with slug/parent/count, and let
ProductEditorDrawer create categories and ensure tags without WP
native UI.
2026-07-11 18:22:10 +08:00
kate522 77497b78b4 fix(shop): wire order drawer ship/after-sale to live REST
Point OrderDetailDrawer at /shop/shipping and /shop/after-sale with
carrier/tracking_no and amount payloads matching backend contracts.
Map order detail context.buyer/address/shipping/after_sale for the
drawer, and include after-sale reason in summary items.
2026-07-11 18:03:17 +08:00
kate522 c93b303453 feat(payment): finish Zibll key contract and wire checkout gateways
Drop dual-read payment runtime fallbacks, align PHP schema to Vue keys,
read gateway credentials only from aksrt_settings with enable toggles,
expose configured adapters at checkout, fix credits pay signatures, and
apply order expiry settings. Wire orphan order/card-pass/withdrawal
schema pages; delete unused Payment* wrappers.
2026-07-11 17:42:35 +08:00
kate522 d9fbacbce6 feat(payment): align VIP/balance/order schema keys with Zibll
Extract payment readers into AKSRT_Settings_Payment_Runtime and store
canonical Zibll option IDs (pay_user_vip_*, pay_balance_*, pay_box_position,
pay_mark, pay_rebate_*, pay_income_*) in aksrt_settings with no legacy
payment_* dual-read. Update PHP/JS payment schemas and VIP sidebar gate.
2026-07-11 17:13:29 +08:00
kate522 91b083b2b0 refactor(settings): collapse get_all to aksrt_settings and drop migration UI
Make aksrt_settings the sole theme settings store for get_all(), remove
aksrt_seo_settings/aksrt_basic_settings merge paths, point global.logo
schema at aksrt_settings, and delete the retired settings migration page,
route, REST endpoint, and related SPA surface.
2026-07-11 16:55:27 +08:00
kate522 3b951a5a36 refactor(admin): retire settings migration and compat menu demotion
Stop auto-running AKSRT_Settings_Migration, drop multi-option settings
merge and Zibll favicon aliases, remove the migration tools entry from
menus/schema, flatten admin sections so pages are not demoted into a
compat bag, and retire the migration-status payload for leftover SPA
routes after a full admin rebuild.
2026-07-11 15:54:35 +08:00
kate522 06e551e6d8 refactor(permissions): remove hard-off compat stubs and harden login schema
Delete aksrt-compat.php and rewire messages/PM entry points to the user
center notification route. Normalize permissions login dependsOn objects
and allow an explicit empty captcha provider option so login/moderation
schema pages remain loadable without legacy compatibility shims.
2026-07-11 15:29:20 +08:00
kate522 f0f6e97d04 feat(homepage): consume Zibll homepage keys on frontend queries
Point homepage getters and tab queries at home_lists / home_exclude_* /
index_list_title / list1 orderby. Support category+topics tab terms via
tax_query, expand the homepage term picker API, and keep facade method
names for existing templates without dual-writing storage keys.
2026-07-11 15:23:21 +08:00
kate522 8fddc33156 feat(homepage): align homepage settings with Zibll main-list keys
Move /settings/homepage onto a dedicated REST trait that stores Zibll
option IDs (home_posts_list_s, index_list_title, home_lists, exclude
posts/cats, list1 orderby). Reader exposes both canonical keys and
temporary aliases for existing front-end helpers; save path drops
superseded AKSRT-only keys. HomepageSettings.vue binds to the new
contract while remaining a Vue custom page.
2026-07-11 15:14:22 +08:00
kate522 6a9db98204 feat(post-list): align list schema with Zibll paging contract
Replace the post_list.list admin contract with a dedicated schema module
using Zibll keys (paging_ajax_s, paging_ajax_ias_s, ajax_trigger,
ajax_nomore, list_orderby, post_list_author/time, target_blank). Runtime
derives numbered/load_more/infinite from those keys and applies list
orderby on main queries without legacy dual-write layers.
2026-07-11 13:49:48 +08:00
kate522 52e9e2353f chore(admin): add contract audit baseline and incomplete build notice
Introduce tools/audit-admin-contracts.php to fail on missing schemaPage
sections, missing REST $this callbacks, and incomplete admin build chunks.
Document menu/schema deploy rules and surface a wp-admin error when
assets/admin/build is missing modules instead of failing silently.
2026-07-11 13:26:19 +08:00
kate522 7c56afa376 fix(admin): repair email rollback and product taxonomy APIs
Call the existing Email_Rollback::list_pending method instead of the missing
list_recent_changes method that caused /email-rollback/users to fatal. Add
the product taxonomy route expected by ProductEditorDrawer and return
category/tag options for the editor.
2026-07-11 12:20:33 +08:00
kate522 41243e12d2 fix(admin): unblock post list save and permissions schema endpoints
Align post_list.list pagination values with PHP (numbered/load_more/infinite)
so SchemaPage saves no longer 422 on 分页模式. Stop permissions schema build
from fatally calling missing build_cap_matrix_groups() when loading
login/moderation sections, normalize moderation dependsOn objects, and skip
notice-only fields in schema field collection.
2026-07-11 09:53:03 +08:00
kate522 57ccdb60c4 用户中心 posts/sidebar/form 渲染器整包拆分并清理标记 2026-07-10 22:44:15 +08:00
kate522 81d5647205 用户中心 credits/settings 渲染器整包拆分:编排器 + 子块 2026-07-10 22:38:37 +08:00
kate522 f43519b1df 用户中心 PHP 整包减层:修复 profile 面板映射并模块化上下文组装 2026-07-10 22:34:00 +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 c28c1226ac 作者页接入 user-home 资源加载,并去掉 profile 中重复的 public dashboard 样式
author 归档与公开用户主页共用 author-hero,补齐 user-home CSS/body class 入队;profile/layout 仅保留本人中心样式,dashboard--public 只留在 user-home.css。
2026-07-10 22:07:31 +08:00
kate522 05ee28ed5b 用户主页再减层:抽出 page context helper 并清理失效 profile CSS
page-user-home 收成薄壳,tab/统计/分页上下文迁入 aksrt_get_user_home_page_context;同步删除 profile-public-contacts 等失效样式,并让 .user-center 宽度规则落到现用 aksrt-profile 壳层。
2026-07-10 22:01:09 +08:00
kate522 15642db1a2 用户中心减层:收敛本人入口与 panel 契约 2026-07-10 21:00:13 +08:00
kate522 dec33ea15a 用户中心减层:收敛本人入口与 panel 契约 2026-07-10 20:43:49 +08:00
kate522 00c1f9ca70 评论子系统减层:comments.php 收成挂载点
将评论策略与 section 组合迁入 aksrt-comments,
保留 callback/pagination/query-var 契约,模板只负责挂载。
2026-07-09 22:36:21 +08:00
kate522 3fe050b985 收口 category/tag filter 与 term header 共享层
抽出 term header / filter chip group 共用渲染,
分类页与标签页只保留数据装配,不再各自复制 DOM 拼装。
2026-07-09 22:22:39 +08:00
kate522 a9ee8c451f 统一 archive/category/tag/search 主内容流壳层
抽出 aksrt-archive 共享 shell/stream/render config,
四类列表页统一 content-shell + shared renderer + page-owned sidebar。
2026-07-09 22:10:43 +08:00
kate522 91945e2006 清 single/home 残层:删 sidebar prepend 与 author-bar query-var
去掉 generic sidebar 的 prepend patch、author-bar ambient 回退,
以及 homepage section 多余 wrapper,保持主线闭环更干净。
2026-07-09 21:56:30 +08:00
kate522 29bd9bd152 Zibll 主线收口:减层统一 single 与首页主内容流
把 single.php 收成薄壳,文章组合迁入 aksrt-single;
首页去掉 legacy module 桥接与多余 stream 文案层,
保留 renderer / tab-panel / sort 协议并形成页面自有 aside。
2026-07-09 21:49:46 +08:00
kate522andClaude 09f1eec909 Zibll 主线收口:统一 single 并清退 compat 资源路径
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-09 20:30:49 +08:00
kate522andClaude Fable 5 c7f8d15fb8 J 最终核查收尾:补兼容项弱化标识并清理 resource 死代码
基于 J 验收视角的最终核查,处理两项已登记残差:

- App.vue:菜单渲染现在消费 secondaryEntry 元数据,对已降权/后移的兼容项追加“· 次级”
  标签,补上文档中提到但未落地的就地视觉弱化。
- aksrt-resource.php:删除 aksrt_default_resource_meta() 中首个 return 之后的不可达旧实现,
  消除 J 验收文档中登记的代码卫生残差之一。

验证:
- php -l 通过:inc/helpers/aksrt-resource.php
- App.vue 变更已做结构性 sanity check,确保 secondaryEntry 标签逻辑存在

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 19:10:31 +08:00
kate522andClaude Fable 5 a17fb7a119 字段全量比对最终收口:补齐 confirmed diff 默认值
继续 Workstream C,按“只扫 confirmed diff,不做泛化式补改”的原则收最后一批可实证差异:

- post_list.comment:comment_text 从“说点什么吧...”对齐到 Zibll 的“欢迎您留下宝贵的见解!”。
- payment.order:payment_no_logged_remind 补齐为 Zibll 默认未登录提醒文案。
- payment.withdrawal:pay_rebate_withdraw_text_details 补齐为 Zibll 默认提现协议文案。
- PHP schema 同步补齐 payment_no_logged_remind / pay_rebate_withdraw_text_details 默认值,保持前后端契约一致。

验证:
- php -l 通过:class-aksrt-admin-schema-payment.php
- node --check 通过:post-list/comment.js、payment/order.js、payment/withdrawal.js

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 18:32:13 +08:00
kate522andClaude Fable 5 1c8610154b Schema 收口第七轮:收尾 card-pass 依赖尾项
继续 Workstream C 收尾,补齐 payment.card-pass 在 PHP schema 层缺失的主开关折叠逻辑:

- 以 card_pass_enabled 为总开关,为卡号规则、兑换规则、展示设置三组子字段补齐 dependsOn;
  与前端 schema 已有的折叠行为保持一致。
- 这轮检查过 page/comment/order/withdrawal 等尾项,现阶段前端 schema 已具备较完整依赖契约;
  当前最真实的缺口集中在 PHP schema 的 card-pass 这一组,因此单独收口,避免无效改动。

验证:
- php -l 通过:class-aksrt-admin-schema-payment.php
- node --check 复核通过:post-list/page.js、post-list/comment.js、payment/order.js、payment/cardPass.js、payment/withdrawal.js

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 18:11:38 +08:00
kate522andClaude Fable 5 c5575f16a8 Schema 收口第六轮:继续补 page_display / payment / post-list 依赖尾项
继续 Workstream C,清理剩余的 PHP schema dependsOn 尾项:

- payment.gateway:继续为 xunhupay / xhpay / payjs / epay / stripe 补齐 provider 开关下的
  PHP dependsOn,使网关配置折叠逻辑不再只停留在前端 schema。
- post_list.thumb / filter:补齐随机封面、多图模式、视频静音、首图尺寸、AJAX 筛选维度、
  自定义筛选与按分类绑定筛选的 PHP dependsOn,收回“总开关 -> 子配置”节奏。
- page_display:继续为 header-components 的搜索/图标卡片分支与 category 头图补 PHP dependsOn,
  让 page_display 在 PHP 层也具备与前端一致的展开契约。

验证:
- php -l 通过:page-display / payment / post-list 三个 PHP schema 文件
- node --check 复核通过:payment/gateway.js、post-list/filter.js、post-list/thumb.js、page-display/index.js

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 17:13:59 +08:00