Commit Graph
430 Commits
Author SHA1 Message Date
kate522 cab132a536 Merge pull request 'Worktree zibll align p1p2' (#180) from worktree-zibll-align-p1p2 into main
Reviewed-on: CYL/wordpress-theme-aksrt#180
2026-07-17 00:04:11 +08:00
kate522 0298e6bba8 fix(single): author card PM/reward and share dropdown fallback
Mirror bar PM/reward on author card and centralize #share-dropdown so
tabbar share works when the actions row is absent.
2026-07-16 23:40:50 +08:00
kate522 de32c9ad35 feat(user): wear badge modal and user-center entry
Expose 我的徽章 modal on profile header with REST wear actions and
update SPA badge help for icon_url + grant/wear flows.
2026-07-16 23:40:50 +08:00
kate522 219cd0236e feat(user): badge wear and grant service
Add AKSRT_User_Badges own/wear/grant REST and WP profile admin grant
UI, and route identity signals through the service.
2026-07-16 23:39:41 +08:00
kate522 388ab6b130 Merge pull request 'Worktree zibll align p1p2' (#179) from worktree-zibll-align-p1p2 into main
Reviewed-on: CYL/wordpress-theme-aksrt#179
2026-07-16 23:07:46 +08:00
kate522 c45a0ecef5 feat(pay): capability gates for transfer and withdraw
AND feature flags with user_caps balance_transfer / points_transfer /
balance_withdraw on REST and user-center buttons.
2026-07-16 22:35:48 +08:00
kate522 9b98080daf fix(single): author card follow and identity parity
Add follow CTA to after-box author card, wrap bar label in span, and
harden follow.js label updates when span is missing.
2026-07-16 22:33:18 +08:00
kate522 2c31da1454 fix(share): mobile share chrome and tabbar poster entry
Use a bottom sheet share panel on small screens and add a one-tap
poster button to the single-post footer tabbar extend.
2026-07-16 22:31:18 +08:00
kate522 357d710b1b fix(comments): denser zibll-like chrome and guest fields
Tighten comment form density, collapse guest name/email behind a
toggle, and refine empty-state copy for closed/author-only views.
2026-07-16 22:23:01 +08:00
kate522 1d75170f8e feat(user): badge icon urls and wear medal chrome
Extend badge dictionary with optional icon_url, prefer aksrt_wear_badge
when assigned, and render medal images in identity chips.
2026-07-16 22:17:21 +08:00
kate522 a3585b0f96 feat(user-center): task list go-to actions for free points
Add per-task CTAs (去签到 / 去完成 / 去看看) on the free points tasks list,
with sign-in proxying to the asset-card button and bbs actions gated
on forum availability.
2026-07-16 22:11:52 +08:00
kate522 17cb9b8542 Merge pull request 'Worktree single post zibll align' (#178) from worktree-single-post-zibll-align into main
Reviewed-on: CYL/wordpress-theme-aksrt#178
2026-07-16 20:53:23 +08:00
kate522 defb64fd89 feat(single): identity chips, comment 神评, reward open from author bar
Share VIP/verify/level/badge chrome via aksrt-identity helpers on author
bar, author card, and comments; mark hot comments; open reward modal from
author actions; admin threshold for 神评; task list go-to actions.
2026-07-16 20:32:46 +08:00
kate522 a0748c08fe feat(frontend): illustrated null states and author rewards fallback
Add aksrt_get_null / widget null helpers with null.svg, use them in
sidebar widgets, comments empty, and related posts; when PM is off show
post rewards entry on the single author bar.
2026-07-16 19:33:57 +08:00
kate522 b1731f7a8d feat(assets): forum free-task depth, withdraw notices, share poster
Route forum essence/adopt/hot/score rewards through free-points day cap,
notify users on withdraw complete/reject, surface 海报分享 on single
share grid, and extend admin free-task keys for the remaining matrix.
2026-07-16 17:46:51 +08:00
kate522 36d80a314d Merge pull request 'Worktree single post zibll align' (#177) from worktree-single-post-zibll-align into main
Reviewed-on: CYL/wordpress-theme-aksrt#177
2026-07-16 17:19:02 +08:00
kate522 c3eee3fa7e feat(admin): cash wallet adjust on user profile
Mirror credits admin with list column, profile form, and balance ledger
for manual wallet adjustments.
2026-07-16 16:29:15 +08:00
kate522 15a883eb54 feat(credits): free points tasks matrix, day cap, and tasks tab
Add AKSRT_Points_Free for catalog/day-max/daily detail, wire the full
earn matrix (login, post, like, favorite, follow, comment, forum),
expose 积分任务 + 每日详情 tabs, and expand admin free-task settings.
2026-07-16 16:29:15 +08:00
kate522 4da003663d fix(pay): refund wallet on withdraw reject and show pending history
Close the freeze/refund loop when admin rejects a balance withdrawal,
block concurrent open applications, and surface processing state plus
server-rendered withdraw history on the wallet card.
2026-07-16 16:28:56 +08:00
kate522 d57fc6f934 feat(user-center): points buy, balance withdraw, and asset record tabs
Add cash purchase of points (points_pay_s), wallet withdraw requests via
AKSRT_Withdrawal, Zibll-style dual-card layout with tabbed balance/points
ledgers, and admin switches for buy-points packages and balance withdraw.
2026-07-16 15:38:55 +08:00
kate522 79550a0757 Merge pull request 'feat(user-center): Zibll-like assets charge, transfer, and dual cards' (#176) from worktree-single-post-zibll-align into main
Reviewed-on: CYL/wordpress-theme-aksrt#176
2026-07-16 15:33:12 +08:00
kate522 0529ab5fb9 feat(user-center): Zibll-like assets charge, transfer, and dual cards
Complete wallet/points assets surface: sidebar mini dual cards, dual
asset row, balance charge packages REST + modal, transfer search/pay,
points-to-balance exchange, and payment success credit for recharge
orders.
2026-07-16 14:53:28 +08:00
kate522 aef9782a54 Merge pull request 'feat(user-center): add cash wallet balance separate from credits' (#175) from worktree-single-post-zibll-align into main
Reviewed-on: CYL/wordpress-theme-aksrt#175
2026-07-16 14:00:08 +08:00
kate522 8e0f9d989d feat(user-center): add cash wallet balance separate from credits
Introduce AKSRT_Balance (user_meta aksrt_balance + balance_log) for
Zibll-like pay_balance wallet. User center assets panel shows wallet
and points; balance gateway/card-pass/refunds credit cash when enabled.
2026-07-16 13:44:37 +08:00
kate522 37676408b3 Merge pull request 'fix(single): close remaining live gaps vs Zibll demo' (#174) from worktree-single-post-zibll-align into main
Reviewed-on: CYL/wordpress-theme-aksrt#174
2026-07-16 13:12:35 +08:00
kate522 f043d2c1ab fix(single): close remaining live gaps vs Zibll demo
Align runtime --sidebar-width (300→311), --main-radius, and
body.nav-fixed 88px reserve; enqueue single-post CSS parts directly;
match Zibll action buttons and author avatar DOM; tighten dual-column
tokens after comparing blog.rutua.cn with demo.zibll.com.
2026-07-16 13:07:42 +08:00
kate522 96c30f6392 Merge pull request 'fix(single): restore Zibll float dual-column and article chrome' (#173) from worktree-single-post-zibll-align into main
Reviewed-on: CYL/wordpress-theme-aksrt#173
2026-07-16 12:44:55 +08:00
kate522 6c354fb086 fix(single): restore Zibll float dual-column and article chrome
Align single-post layout/visuals with Zibll: fix sidebar-over-content
float geometry (position:unset, 311px token, kill Bootstrap/container
padding and the 280px sidebar override), demote theme-box to spacing-
only, unify breadcrumb/cover/graphic utilities, and split aksrt-single
render helpers under the file-size limit.
2026-07-16 12:44:09 +08:00
kate522 442242d612 Merge pull request 'fix(user-center): restore page-owned dual-column sidebar layout' (#172) from worktree-user-center-sidebar into main
Reviewed-on: CYL/wordpress-theme-aksrt#172
2026-07-16 12:01:01 +08:00
kate522 c656c20c8b fix(user-center): restore page-owned dual-column sidebar layout
User center left nav (stats/services/commerce) stacked or hid after
content-layout lost its grid and the site float shell treated the
nested .sidebar as a widget column. Scope a CSS grid under
body.aksrt-user-center, neutralize site-layout float/hide, align the
drawer to ≤991.98, and drop the truncated #panel-credits selector.
2026-07-16 11:56:09 +08:00
kate522 a1d724d48e Merge pull request 'chore: stop tracking docs/ (gitignored local planning only)' (#171) from worktree-update-claude-md into main
Reviewed-on: CYL/wordpress-theme-aksrt#171
2026-07-15 18:01:48 +08:00
kate522 4252dc97e3 chore: stop tracking docs/ (gitignored local planning only)
Remove previously tracked docs from the repository. docs/ remains in
.gitignore so it will not be re-uploaded.
2026-07-15 17:45:09 +08:00
kate522 842624830e Merge pull request 'feat(admin): list-modal UI for header icon cards repeater' (#170) from worktree-header-multifunc-page-types into main
Reviewed-on: CYL/wordpress-theme-aksrt#170
2026-07-15 17:28:02 +08:00
kate522 ee49d1628a feat(admin): list-modal UI for header icon cards repeater
Render icon cards as a compact list with edit/delete actions and
preview on the right; field data is edited in a modal. Opt-in via
schema ui=list-modal so other repeaters stay inline.
2026-07-15 17:27:23 +08:00
kate522 f779f7aa32 Merge pull request 'fix(header): wire multi-function page-type enable like zibll' (#169) from worktree-header-multifunc-page-types into main
Reviewed-on: CYL/wordpress-theme-aksrt#169
2026-07-15 17:15:19 +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 3e3a4631f0 Merge pull request 'fix(captcha): wire scene switches and rename menu to 人机验证' (#168) from worktree-captcha-scenes-frontend into main
Reviewed-on: CYL/wordpress-theme-aksrt#168
2026-07-15 16:52: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 808d46664f Merge pull request 'fix(user-home): 1:1 align public profile with Zibll author page' (#167) from worktree-user-home-author-1to1 into main
Reviewed-on: CYL/wordpress-theme-aksrt#167
2026-07-15 16:18:58 +08:00
kate522 50e9e83f68 fix(user-home): 1:1 align public profile with Zibll author page
- Remove 主页概览/快捷入口/交易服务 private-dashboard sidebar from public home
- Full-width layout; counts live in tab bar (粉丝 = followers)
- Hero: 用户中心/消息 for self, 关注/私信 for others; drop body stats row
- Defaults: no sidebar, posts/favorites/comments/follow tabs
2026-07-15 16:18:17 +08:00
kate522 bbe010f5b8 Merge pull request 'fix(db): correct $wpdb->prepare usage in forum board and API audit' (#166) from worktree-fix-wpdb-prepare into main
Reviewed-on: CYL/wordpress-theme-aksrt#166
2026-07-15 16:05:45 +08:00
kate522 f6617c1f07 fix(db): correct $wpdb->prepare usage in forum board and API audit
- Bind _aksrt_moderators with %s in get_user_managed_plates (stops 4× user-home notices)
- Guard API audit COUNT when no filter values (credits pattern)
2026-07-15 16:04:49 +08:00
kate522 1119d65c05 Merge pull request 'feat(forum): guest cash purchase for topic and plate follow' (#165) from worktree-forum-pay-guest into main
Reviewed-on: CYL/wordpress-theme-aksrt#165
2026-07-15 14:00:02 +08:00
kate522 6b6314b033 feat(forum): guest cash purchase for topic and plate follow
- Reuse pay_no_logged_in / pay_cookie_day; generalized guest cookie helpers
- Topic + plate cash: guest preview/purchase (no balance), order.user_id=0, cookie unlock
- View gates: can_view_topic pay + plate follow accept signed guest cookies
- Templates: guest buy/follow CTAs; poll endpoint allows plate_follow guest orders
2026-07-15 13:58:54 +08:00
kate522 a9150862ef Merge pull request 'feat(forum): plate follow cash coupons + free auto-order' (#164) from worktree-forum-pay-plate-coupon into main
Reviewed-on: CYL/wordpress-theme-aksrt#164
2026-07-15 13:25:52 +08:00
kate522 cb43412369 feat(forum): plate follow cash coupons + free auto-order
- Meta _aksrt_follow_pay_coupon_s + plate admin toggle (money only)
- Plate_Follow_Pay soft/hard coupon apply, free-after-discount, burn via shared helper
- Cashier auto-submits free topic/plate orders; topic coupon label no longer "预留"
2026-07-15 13:21:48 +08:00
kate522 3588ebeb85 Merge pull request 'fix(pay): preserve order note JSON, shared coupon burn, plate free VIP cashier' (#163) from worktree-forum-pay-p1p2-polish into main
Reviewed-on: CYL/wordpress-theme-aksrt#163
2026-07-15 13:18:12 +08:00
kate522 8ff1408450 fix(pay): preserve order note JSON, shared coupon burn, plate free VIP cashier
- Order_Repository: status note merges into JSON as status_note instead of wiping coupon/topic_pay meta
- Extract aksrt_burn_order_coupon / aksrt_coupon_usage_exists for content + topic
- Money plate follow (incl. VIP free) always opens multi-gateway cashier for 0-order ledger
2026-07-15 13:13:02 +08:00
kate522 183c11ca55 Merge pull request 'feat(forum): P1 topic coupons, P2 plate follow gateway, cash creator revenue' (#162) from worktree-forum-pay-p1p2-revenue into main
Reviewed-on: CYL/wordpress-theme-aksrt#162
2026-07-15 13:04:39 +08:00
kate522 78d3189f8f feat(forum): P1 topic coupons, P2 plate follow gateway, cash creator revenue
- Topic_Pay: soft/hard coupon validate, payable amount, free-after-discount, paid burn
- Creator_Revenue: settle content/topic/plate_follow cash (type=order), keep shop path
- Plate VIP1/VIP2 meta + resolve_plate_follow_pay_price via aksrt_get_user_vip_level
- New AKSRT_Plate_Follow_Pay REST multi-gateway; remove Credits×100 money bypass
- Frontend: cms-download plate_follow apiKind + forum-governance money cashier bridge
2026-07-15 13:04:04 +08:00