Commit Graph
402 Commits
Author SHA1 Message Date
kate522 2a8fe68048 Merge pull request 'fix(yiyan): stop invalid Hitokoto category requests' (#189) from worktree-fix-hitokoto-yiyan into main
Reviewed-on: CYL/wordpress-theme-aksrt#189
2026-07-17 10:51:22 +08:00
kate522 6bd7676b73 fix(yiyan): stop invalid Hitokoto category requests
Public hitokoto v1 rejects c=hitokoto (and ignores batch count). Whitelist
categories a–l, multi-fetch for carousel, and share full markup via
aksrt_render_yiyan_block so single-post shells actually render quotes.
2026-07-17 10:33:00 +08:00
kate522 7cc25ef68c Merge pull request 'refactor(icons): replace local brand SVGs with FA5 classes' (#188) from worktree-fa5-icons-replace into main
Reviewed-on: CYL/wordpress-theme-aksrt#188
2026-07-17 10:06:32 +08:00
kate522 fe870bfc19 refactor(icons): replace local brand SVGs with FA5 classes
Unify social/OAuth/contact icons on the global Font Awesome 5.15.4 pack,
add aksrt_render_social_links for author hero, enqueue FA on admin SPA,
and delete assets/img/icons.
2026-07-17 10:05:27 +08:00
kate522 e0f1e0a8ad Merge pull request 'fix(nav): cancel full fixed-nav reserve under homepage hero' (#187) from worktree-fix-profile-credits-sidebar into main
Reviewed-on: CYL/wordpress-theme-aksrt#187
2026-07-17 09:33:17 +08:00
kate522 56b9d61209 fix(nav): cancel full fixed-nav reserve under homepage hero
body.nav-fixed pads 88px but hero only pulled up by --nav-height (60px),
leaving a blank strip above the slider. Share --nav-fixed-reserve so body
padding and hero margin-top cancel exactly, matching zibll slide-header.
2026-07-17 09:32:28 +08:00
kate522 6bb0cbf889 Merge pull request 'fix(scripts): point user-badges enqueue at aksrt-script' (#186) from worktree-fix-profile-credits-sidebar into main
Reviewed-on: CYL/wordpress-theme-aksrt#186
2026-07-17 09:26:03 +08:00
kate522 46c7c3af07 fix(scripts): point user-badges enqueue at aksrt-script
aksrt-user-badges depended on unregistered aksrt-core, which WP 6.9.1
warns about and can break load order. Match other profile scripts and
depend on the real core handle aksrt-script.
2026-07-17 09:24:28 +08:00
kate522 830bb1fffe Merge pull request 'fix(user-center): align dual-column with zibll flex shell' (#185) from worktree-fix-profile-credits-sidebar into main
Reviewed-on: CYL/wordpress-theme-aksrt#185
2026-07-17 09:19:22 +08:00
kate522 7177b090de fix(user-center): align dual-column with zibll flex shell
Rebuild /profile layout as zibll-style user-center flex (sidebar 320px
first, content flexes). Drop content-layout float shell classes so the
stats/assets nav stays left of the credits panel on desktop and drawer
on tablet/mobile.
2026-07-17 09:16:27 +08:00
kate522 59db0c0492 Merge pull request 'fix(user-center): keep page-owned nav left of credits panel' (#184) from worktree-fix-profile-credits-sidebar into main
Reviewed-on: CYL/wordpress-theme-aksrt#184
2026-07-17 07:30:57 +08:00
kate522 9829d94cb7 fix(user-center): keep page-owned nav left of credits panel
Drop bare .sidebar from the profile aside so site-layout float/hide no
longer stacks stats/assets under content; harden page-owned grid + drawer
selectors on uc-sidebar/page-owned only.
2026-07-17 07:30:27 +08:00
kate522 e810f05979 Merge pull request 'feat(identity): close free-task progress, level card, hot threshold' (#183) from worktree-identity-close-p2 into main
Reviewed-on: CYL/wordpress-theme-aksrt#183
2026-07-17 02:06:38 +08:00
kate522 5949c7a503 feat(identity): close free-task progress, level card, hot threshold
Finish remaining 1:1 parity gaps: free-task done/progress DTO with
daily marks, user-center level/integral card UI, configurable forum
hot recommend threshold, and task progress bars.
2026-07-17 02:05:10 +08:00
kate522 a7489798fe Merge pull request 'Worktree identity close p2' (#182) from worktree-identity-close-p2 into main
Reviewed-on: CYL/wordpress-theme-aksrt#182
2026-07-17 01:54:19 +08:00
kate522 2df25265d7 chore: remove temporary patch script from identity close p2 2026-07-17 01:52:53 +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 4e3eb0414d Merge pull request 'Worktree identity zibll p1' (#181) from worktree-identity-zibll-p1 into main
Reviewed-on: CYL/wordpress-theme-aksrt#181
2026-07-17 01:25:01 +08:00
kate522 8d4e94a02c feat(identity): author card, per-user tip, comment caps, task status
Author card uses configurable limit/orderby/style and self CTAs.
Tip is per-user weixin/alipay QR modal (no site-global image).
Comment action permissions honor user_caps matrix.
Free points tasks expose done_today/passive status + better comment deep link.
audit-admin-contracts errors=0.
2026-07-17 01:21:35 +08:00
kate522 b4d04ae346 feat(users): medal auto-grant + aksrt_get_user_name chrome
Add AKSRT_User_Badges::auto_evaluate on login for get_type metrics,
introduce aksrt_get_user_name (auth→wear medal→level→follow order),
wire single author bar/card, and document transfer/withdraw default-closed
semantics on capabilities page. audit errors=0.
2026-07-17 01:12:09 +08:00
kate522 1b0eed6ef7 feat(users): level integral XP schema + AKSRT_User_Level runtime
Rewrite /users/level to Zibll-like user_level_s/max/opt and
user_integral_opt. Runtime grants XP with day_max, resolves level,
hooks login/register/post/comment/like/favorite/follow. Profile
signals read integral-backed levels. audit errors=0.
2026-07-17 01:05:39 +08:00
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 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