Commit Graph
135 Commits
Author SHA1 Message Date
kate522 2ed3ffe317 Merge pull request 'feat(comments): AJAX fragment list/submit + load-more parity' (#66) from worktree-comments-ajax-1to1 into main
Reviewed-on: CYL/wordpress-theme-aksrt#66
2026-07-12 09:05:40 +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 0342aad9fb Merge pull request 'feat(forum): frontend 1:1 list/tabs/urls/enqueue' (#65) from worktree-forum-frontend-1to1 into main
Reviewed-on: CYL/wordpress-theme-aksrt#65
2026-07-12 08:52:18 +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 df6b224dd3 Merge pull request 'feat(frontend): single pay-box positions + Zibll cover episodes/slides' (#64) from worktree-frontend-single-pay-cover into main
Reviewed-on: CYL/wordpress-theme-aksrt#64
2026-07-11 22:10:25 +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 9c443c808b Merge pull request 'feat(frontend): align single related/prevnext/maxheight with Zibll' (#63) from worktree-frontend-single-1to1 into main
Reviewed-on: CYL/wordpress-theme-aksrt#63
2026-07-11 21:58:47 +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 32800ac2fd Merge pull request 'feat(frontend): wire comment sort/author filter like Zibll' (#62) from worktree-frontend-comments-1to1 into main
Reviewed-on: CYL/wordpress-theme-aksrt#62
2026-07-11 21:27:32 +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 fd0eb52e10 Merge pull request 'feat(frontend): Zibll-like header user box with VIP and admin shortcuts' (#61) from worktree-frontend-header-userbox into main
Reviewed-on: CYL/wordpress-theme-aksrt#61
2026-07-11 21:02:17 +08:00
kate522 2d9ee12ef6 feat(frontend): Zibll-like header user box with VIP and admin shortcuts
Restructure logged-in/guest header dropdown into icon action grid, add
message badge, VIP badge, credits row, and admin theme/backend shortcuts.
Guest entry opens dropdown with login/register/reset password actions.
2026-07-11 20:30:02 +08:00
kate522 b155936868 Merge pull request 'feat(frontend): restore Zibll-like global search panel' (#60) from worktree-frontend-search-1to1 into main
Reviewed-on: CYL/wordpress-theme-aksrt#60
2026-07-11 19:34:39 +08:00
kate522 bf8b125f3b feat(frontend): restore Zibll-like global search panel
Render full search overlay with types/history/suggestions for tabbar
and desktop header toggle. Open panel on all viewports (not mobile-only)
and wire data-toggle-class/.navbar-search compatibility hooks.
2026-07-11 18:57:41 +08:00
kate522 752b9a93bf Merge pull request 'refactor(db): drop option/data migration from DB migrator' (#59) from worktree-migrator-hygiene into main
Reviewed-on: CYL/wordpress-theme-aksrt#59
2026-07-11 18:49:41 +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 9c2d0daae7 Merge pull request 'feat(shop): product editor SKU variants UI' (#58) from worktree-shop-variant-editor into main
Reviewed-on: CYL/wordpress-theme-aksrt#58
2026-07-11 18:28:49 +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 ee3e3f912f Merge pull request 'feat(shop): add product taxonomy write REST for editor' (#57) from worktree-shop-taxonomy-write into main
Reviewed-on: CYL/wordpress-theme-aksrt#57
2026-07-11 18:22:27 +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 e0b60fb3ea Merge pull request 'fix(shop): wire order drawer ship/after-sale to live REST' (#56) from worktree-shop-ops-contract into main
Reviewed-on: CYL/wordpress-theme-aksrt#56
2026-07-11 18:17:36 +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 7dccfcd566 Merge pull request 'feat(payment): finish Zibll key contract and wire checkout gateways' (#55) from worktree-payment-finish into main
Reviewed-on: CYL/wordpress-theme-aksrt#55
2026-07-11 17:57:41 +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 12c31ad82b Merge pull request 'feat(payment): align VIP/balance/order schema keys with Zibll' (#54) from worktree-payment-zibll-contract into main
Reviewed-on: CYL/wordpress-theme-aksrt#54
2026-07-11 17:16:06 +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 80d2c5fbc3 Merge pull request 'refactor(settings): collapse get_all to aksrt_settings and drop migration UI' (#53) from worktree-settings-single-option into main
Reviewed-on: CYL/wordpress-theme-aksrt#53
2026-07-11 16:58:28 +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 b4da8cc1f4 Merge pull request 'refactor(admin): retire settings migration and compat menu demotion' (#52) from worktree-cleanup-migration-compat into main
Reviewed-on: CYL/wordpress-theme-aksrt#52
2026-07-11 16:12:17 +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 b46a069ecf Merge pull request 'refactor(permissions): remove hard-off compat stubs and harden login schema' (#51) from worktree-permissions-login-moderation into main
Reviewed-on: CYL/wordpress-theme-aksrt#51
2026-07-11 15:32:39 +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 f86513dbff Merge pull request 'feat(homepage): consume Zibll homepage keys on frontend queries' (#50) from worktree-homepage-frontend-keys into main
Reviewed-on: CYL/wordpress-theme-aksrt#50
2026-07-11 15:23:37 +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 0c882d8887 Merge pull request 'feat(homepage): align homepage settings with Zibll main-list keys' (#49) from worktree-homepage-zibll-contract into main
Reviewed-on: CYL/wordpress-theme-aksrt#49
2026-07-11 15:19:47 +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 18630370dc Merge pull request 'feat(post-list): align list schema with Zibll paging contract' (#48) from worktree-post-list-zibll-contract into main
Reviewed-on: CYL/wordpress-theme-aksrt#48
2026-07-11 13:53:14 +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 63efe5b5a8 Merge pull request 'chore(admin): add contract audit baseline and incomplete build notice' (#47) from worktree-zibll-contract-baseline into main
Reviewed-on: CYL/wordpress-theme-aksrt#47
2026-07-11 13:34:55 +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 67fdf83db3 Merge pull request 'fix(admin): repair email rollback and product taxonomy APIs' (#46) from worktree-fix-admin-api-gaps into main
Reviewed-on: CYL/wordpress-theme-aksrt#46
2026-07-11 12:24:27 +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 4612e90e44 Merge pull request 'fix(admin): unblock post list save and permissions schema endpoints' (#45) from worktree-fix-search-js-syntax into main
Reviewed-on: CYL/wordpress-theme-aksrt#45
2026-07-11 10:05:29 +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 d1aee9ff04 Merge pull request 'fix(admin): route homepage settings to custom HomepageSettings page' (#44) from worktree-fix-search-js-syntax into main
Reviewed-on: CYL/wordpress-theme-aksrt#44
2026-07-11 09:45:27 +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 b6b662a618 Merge pull request 'fix(search): restore missing readHistory function declaration' (#43) from worktree-fix-search-js-syntax into main
Reviewed-on: CYL/wordpress-theme-aksrt#43
2026-07-10 23:54:26 +08:00
kate522 711fb9ad14 fix(search): restore missing readHistory function declaration
The function body was left as a bare statement after setSearchType,
which made search.js fail to parse (Unexpected identifier 'window')
and broke the frontend search panel.
2026-07-10 23:50:29 +08:00
kate522 6f6e431bb3 Merge pull request 'fix(visual): 1:1 banner/hero/modal + strip non-zibll card chrome' (#42) from worktree-visual-acceptance into main
Reviewed-on: CYL/wordpress-theme-aksrt#42
2026-07-10 23:38:33 +08:00
kate522 188611b075 fix(visual): 1:1 banner/hero/modal + strip non-zibll card chrome
Align banner s-desc caption/scale-height, hero search pill and -40px cards, modal colorful header/spring scale; remove white/pink card borders and hover lifts across mainline surfaces.
2026-07-10 23:37:20 +08:00