kate522
e80d8ea45d
feat(users): rewrite medal catalog + verify apply SPA contract
...
Replace user_badge_dictionary textarea with structured user_medal_*
catalog (categories/items/get_type). Expand verify SPA/PHP to Zibll
apply fields. Reader derives badge.dictionary from medal catalog for
existing AKSRT_User_Badges wear/grant runtime. No dual-read of old
pipe dictionary. audit-admin-contracts: 0 errors.
2026-07-17 01:00:05 +08:00
kate522
bfb64211ee
fix(header): wire multi-function page-type enable like zibll
...
Connect header_components_show_on through aksrt_header_slide_is_show with
zibll page-type matching, drop the homepage-only gate, align admin options,
apply nav color, enqueue by is_show, remove dead float-btn schema, and
consume footer_tabbar_single extend mode on post singles.
2026-07-15 17:12:51 +08:00
kate522
bc96edf384
fix(captcha): wire scene switches and rename menu to 人机验证
...
- Admin: 登录权限 → 人机验证; 停用场景 → 启用场景 (opt-in)
- Normalize enabled_scenarios with legacy disabled_scenarios BC
- Sign-in: never soft-bypass captcha; cancel unlocks button
- Captcha JS: cancel path finishes pending callback as false
2026-07-15 16:48:57 +08:00
kate522
a3dde3874a
feat(admin): strip SPA ops menus; redirect old hashes to native WP (Phase 4)
...
SPA shop/forum/payment/users sections now keep configuration pages only.
Operational workbenches were removed from the sidebar and loaders; legacy
hash routes open NativeOpsRedirect into the matching WP native admin page.
Admin SPA production build refreshed accordingly.
2026-07-15 02:10:05 +08:00
kate522
dcc82a39e7
fix(admin): close hero/banner config chain in page-display IA
...
Wire existing HeroManager/BannerManager into page-display routes and
component loaders, fix banner REST round-trip (show_meta + optional title),
and retarget operator deep-links to the real slide managers.
2026-07-13 21:57:10 +08:00
kate522
b36186da65
feat(ai): 打通 SEO 闭环与投稿写作辅助
...
对齐 Zibll 的 AI 生成 SEO 流程:统一 WP AI Client/主题 Provider 双后端、文章/分类 SEO 框与生成回填、投稿摘要/标签建议,并收敛扩展页为连接配置。
2026-07-12 15:36:04 +08:00
kate522 and Claude Fable 5
03022349db
feat(admin): 商城/论坛/支付/用户导航默认落点与次级概览
...
按 stream-h 收束后台默认入口:实体与前台结果优先;shop/forum 概览标 secondaryEntry;payment 默认落到付费内容;users 将短信/微信后移。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-12 12:12:39 +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
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
a44d2f8940
fix(admin): route homepage settings to custom HomepageSettings page
...
The page-display homepage menu entry was registered as a SchemaPage for
section "homepage", but PHP's page_display schema has no such section, so
GET /wp-json/aksrt/v1/settings/schema/page_display/homepage returned 404
(未知的设置分组: homepage). Point the route at HomepageSettings, which
already uses /settings/homepage like FooterSettings.
2026-07-11 09:44:26 +08:00
kate522 and Claude Fable 5
12c11732cb
Schema 收口第五轮:补齐 page_display 的 homepage / float-btn 契约
...
继续 Workstream C,集中处理 page_display 的结构性差异:
- 把原本只是空壳的 `page_display.homepage` schema 补齐为真实契约层:
复用 HomepageSettings.vue 已在使用的字段(内容模型、主列表、首页 Tab、卡片样式、侧栏与交互),
不回退旧接口,直接围绕当前最新的 homepage settings 链路补 schema 契约。
- 新增 `page_display.float-btn` 前端 schema section,和 PHP 已存在的 float-btn section 对齐,
补齐五层中的前端 schema 缺口。
- page-display 路由配置中把 homepage 从 customPage 切回 schemaPage,并新增 float-btn 路由,
使 page_display 域不再存在“有 PHP section 但无前端 schema page”的断层。
- 对齐 Zibll 默认值:header_layout 从 2 收敛到 1。
- 为 header-components 的 slider_config 子字段补 PHP dependsOn,避免在未启用顶部多功能组件时
仍平铺暴露幻灯片参数。
验证:
- php -l 通过:class-aksrt-admin-schema-page-display.php
- node --check 通过:page-display/index.js / constants/sections/page-display.js
- shim 校验确认:/page-display/homepage 与 /page-display/float-btn 现在都以 SchemaPage 形式挂接,
canonicalDomain=page_display,section 分别为 homepage / float-btn
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-07 00:22:19 +08:00
kate522 and Claude Fable 5
accf5bdbe8
字段全量比对收口:对齐 Zibll 默认值并后移等级/徽章入口
...
继续 Workstream C 全量字段比对,并按用户裁定处理冲突:
- UsersLevel / UsersBadge 采用“保留但后移”策略,不兼容旧数据接口,继续沿用当前新型
sections/router 体系,在 users 主线中降权后移到 compat tools 分区。
- 按 Zibll 实际 options 默认值收敛一批高影响字段,打通 PHP schema + 前端 schema 两层:
* global/search: search_posts / search_no_page / search_custom_key_s / search_cat -> true
* forum: bbs_show_new_plate / bbs_post_pay_hide_type_s / bbs_post_pay_vip_price_s /
bbs_reply_paginate_ias_s / bbs_comment_upload_img / bbs_rewrite_suffix_html_s -> true
* shop: shop_s -> true, shop_breadcrumbs_shop_home -> false,
shop_rewrite_suffix_html_s -> true
* users: user_signup_no_repas / message_auto_clear_s / post_rewards_s /
user_report_img_s -> true
* post-list: cat_s -> false
验证:
- php -l 检查所有改动过的 PHP schema 文件均通过
- node --check 检查所有改动过的前端 schema 文件均通过
- shim 校验确认 users-level/users-badge 已从 users 主分区移出并以 secondaryEntry=true
落入 compat tools,且全站无路由碰撞
- 注:本 worktree 下缺少可执行 vite,未能在隔离副本中复跑 npm build;此前主副本同批次
IA 修正构建通过,本次继续只改 schema/sections 常量与默认值,已用语法校验覆盖
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-06 19:00:52 +08:00
kate522 and Claude Fable 5
17c24826c8
后台 IA 收口修正:修复默认路由与降权页路由,收敛 AI 五层契约与文案
...
Workstream C/D/J 收口阶段的后台 IA 修正(前序结构性 stream 已合并,本轮只补残留缺口):
- [修复] page_display 默认路由失效:SECTION_DEFAULT_CHILDREN 键 'page_display'
与分区 key 'page-display' 不匹配,attachSectionDefaultRoute 永不命中,
/page-display 无默认落点。改键并指向 SchemaPage page-display-header-nav
(stream-d §5.2 / CLAUDE.md 约束 #9)。
- [修复] shop/forum 概览页路由碰撞:shop-dashboard 用 /shop、forum-dashboard
用 /forum,与分区根路由冲突并被 createSectionRedirectRoutes 抢先重定向,
兼容导航项不可达。改为 /shop/dashboard、/forum/dashboard。
- [修复] AI 页虚假 schema 绑定:extensions-ai 声明了不存在的 section:'ai',
违反五层契约。AI 属停用候选(stream-c §5.9,不扩写核心 schema),移除虚假
绑定,改用自有 /ai/* 端点作为兼容能力。
- [文案] 收敛平台术语(stream-c §8):users-report「治理台账」→「用户限制状态
管理」;「AI 子系统」→「AI 辅助(兼容)」。
验证:admin SPA 构建通过;节点级校验确认 10 个分区默认路由全部解析、无路由碰撞、
extensions-ai canonicalDomain/section 已清空。验收报告与兼容层状态表见 docs/
(本地内部文档,按 .gitignore 约定不入库)。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-06 17:49:05 +08:00
kate522 and Claude Fable 5
8afb4ec856
兼容层收口:隔离非主线入口
...
将文档模式、下载中心、专题聚合、消息中心、前台投稿等非 Zibll 主线能力
收敛为“兼容保留”,默认不再作为主入口暴露,但保留路由/模板/数据/设置键。
- 新增 inc/helpers/aksrt-compat.php 兼容策略中枢:
- aksrt_get_messages_url()(补齐此前缺失、被两处模板调用的 helper)
- aksrt_pm_frontend_enabled()(前台私信入口开关,默认关闭)
- aksrt_show_compat_page_templates()(兼容页面模板下拉开关,默认关闭)
- AKSRT_Templates::page_template_map() 拆分为主线/兼容两组,兼容模板默认
移出 wp-admin 页面模板下拉;已分配这些模板的历史页面照常渲染。
- 作者操作条“私信”按钮(停用候选)默认前台隐藏,可经 filter/常量开启。
- 修复 admin-sections.js barrel 未再导出 getAdminSections 的缺陷,该缺陷
会使 router 的兼容分区默认落点重定向在加载时抛错。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-06 15:22:34 +08:00
kate522
4043de2473
Align admin section default routes
2026-07-06 11:29:33 +08:00
kate522
ddfb8539cb
降权非主线后台入口
2026-07-03 23:27:21 +08:00
Claude Code
1268a55dd0
导入 AKSRT 主题开发源码
2026-07-03 22:50:34 +08:00