Commit Graph
309 Commits
Author SHA1 Message Date
kate522 224691e709 fix(user): normalize default avatar filename 2026-07-29 13:53:59 +08:00
kate522 e94437ef60 feat(user): add local avatar management flow 2026-07-29 13:35:17 +08:00
kate522 2dfaa10798 fix(identity): complete native certification review flow 2026-07-29 12:25:58 +08:00
kate522 815e83bac0 fix(user-center): complete certification and order flows
Fix modal scroll ownership and certification modal styling, store evidence as Media Library attachments, reconcile missed provider callbacks, validate currencies, and complete digital fulfillment only after durable entitlement delivery.
2026-07-29 10:29:59 +08:00
kate522 0a04c3e4cc fix(user-center): embed official certification panel 2026-07-28 15:22:09 +08:00
kate522 d3bf75fbea fix(user-center): connect certification workflow 2026-07-28 14:17:18 +08:00
kate522 a7f3caec59 feat(user-center): redesign sidebar and wallet tips 2026-07-28 13:41:00 +08:00
kate522 e47ee1b029 feat(user-center): deepen zibll parity and profile media 2026-07-28 12:22:52 +08:00
kate522 bcebd37807 fix(homepage): unify runtime rendering contract 2026-07-28 02:54:18 +08:00
kate522 2086f938ed feat: deepen single post experience 2026-07-28 02:07:10 +08:00
kate522 59f5d5d98a fix(ip-geo): harden full-chain IP geolocation reliability
Capture real client IPs behind CDN, improve provider fallbacks and
negative cache, fix admin credential dependsOn for polling mode, and
map country labels to ISO codes for moderation GeoIP blocks.
2026-07-27 15:39:16 +08:00
kate522 ad40d9a7ca fix(orders): wire detail progress timeline and two-step cancel
Order progress was stuck on "订单创建" because timeline only read sparse
timestamp columns and status transitions didn't always stamp them.
Drive timeline from current status + related records, backfill lifecycle
timestamps on update_status, and replace window.confirm cancel with a
关闭订单 → 确认取消 button step in the detail modal.
2026-07-27 15:15:35 +08:00
kate522 eac58f07bf feat(orders): polish detail modal layout and visuals
Restructure the order detail modal into status-tinted hero, product
card, info list with copyable order number, multi-item lines, and a
newest-first timeline. Refresh spacing, dark mode, and footer buttons.
2026-07-27 13:54:34 +08:00
kate522 e6eee91eb3 fix(orders): drop secondary "我的余额/会员/积分" link from detail modal
The user center already has a dedicated tab for these; showing the
secondary shortcut inside the order detail modal is redundant noise.
The view-model field is kept for other consumers.
2026-07-27 13:40:23 +08:00
kate522 e47a3958fb feat(orders): redesign detail modal — hero pill, no duplicate close
- Remove bottom "关闭" button so the top-right ✕ is the single dismiss.
- Drop redundant 订单类型 row from modal body (already shown as card chip).
- Add hero strip with status pill + amount; unify dt/dd rows into a
  bordered card; tighten items list and add timeline rail.
- Refresh modal styling: rounded dialog, gradient header, hover-lift
  buttons, mobile-friendly rows.
2026-07-27 13:34:30 +08:00
kate522 a1e35a4499 feat(orders): order detail modal, list actions, use configured prefix
Wire admin payment_order_prefix into order number generation (with 32-char
cap for gateways), make 查看 open a full order-detail modal with
status-aware footer actions, keep type badge top-left only, and right-align
unpaid list actions with countdown on the left.
2026-07-27 12:39:21 +08:00
kate522andClaude Fable 5 723dd180e4 feat(payment): tighten gateways and implement Epay
Keep only balance, Alipay, WeChat, PayPal, Stripe, Epay, and card-pass
channels; remove placeholder aggregators. Add dual-channel Epay gateway
with MD5 notify/return, register cashier methods, and gate card-pass
redeem behind the payment channel switch.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-26 12:59:28 +08:00
kate522 53ff99f343 fix(payment): harden payment and refund chains 2026-07-26 02:29:46 +08:00
kate522 a8d99b200b refactor(payment): migrate SDK to yansongda pay 2026-07-26 00:09:38 +08:00
kate522 06d4844c8e fix(ip-geo): fallback free lookup when Amap key platform mismatches 2026-07-25 15:46:36 +08:00
kate522 ac7ff8d4f2 feat(ip-geo): full-chain IP 归属地 on comments, user home, center, post 2026-07-25 14:39:47 +08:00
kate522 9277674da0 fix(orders): restore frontend pay REST and harden order-center client
Add AKSRT\Payment\OrderCenterRest so /shop/frontend/orders/{n}/pay|cancel
always register on rest_api_init; widen order_number route charset; make
order-center.js use credentials, encodeURIComponent, and clearer 404 errors.
2026-07-25 14:12:40 +08:00
kate522 3117081a58 style(orders): polish UC order center cards, tabs, and empty state
Refresh orders.css for embedded user-center layout: segmented status
tabs, stat tiles, card hierarchy, action pills, after-sale list, and
dark mode; light HTML polish for title and empty state.
2026-07-25 13:58:44 +08:00
kate522 354a1072ef feat(orders): embed My Orders inside user center (zibll-style)
Register UC panel tab=orders with full order list/actions UI; route
aksrt_get_orders_page_url and /orders template to profile?tab=orders;
enqueue order assets when the UC orders tab is active.
2026-07-25 13:54:08 +08:00
kate522 3baa8573c9 feat(orders): full-chain My Orders for all product types
Unify front-end order center across shop, content, VIP, recharge,
points, and plate-follow with type filters, stats, and type-aware
cards; keep shop-only fulfillment actions; ensure 权益与消费 entry URL.
2026-07-25 13:33:43 +08:00
kate522 8bc2a934c2 Merge pull request 'fix(rest): build signin URLs from restUrl under plain permalinks' (#289) from worktree-fix-user-card-vip-btn into main
Reviewed-on: CYL/wordpress-theme-aksrt#289
2026-07-25 13:11:38 +08:00
kate522 6db4da32c6 feat(admin): collapsible gateway credential forms on payment page
Hide channel config cards until enabled; open expanded on enable and allow manual collapse via group header.
2026-07-25 13:08:37 +08:00
kate522 3267bee71e fix(payment): wire balance wallet end-to-end when pay_balance_s is on
Opening 余额功能 alone now enables cash-wallet pay (unless 余额支付 is explicitly off). Drop points-as-balance fallback, stop fake method injection, expose real wallet in cashiers, and honor auto_to_balance on recharge fulfill.
2026-07-25 12:46:38 +08:00
kate522 e4905e3088 fix(rest): build signin URLs from restUrl under plain permalinks
credits.js hardcoded siteUrl + /wp-json/aksrt/v1 which 404s when WP uses
plain permalinks (?rest_route=...). Prefer aksrtData.restUrl/apiUrl and
harden header-userbox path join for the same case.
2026-07-25 12:29:03 +08:00
kate522 c8b4d1a851 fix(nav): never drop top-nav 发布 when submit page URL is empty
aksrt_get_new_post_url() returns '' without a page-submit assignment,
which previously skipped the post action and emptied the multi-type
chip. Fall back to post-new.php, keep a last-resort action list, put
radius/jb paint on the toggle, and force chip visibility CSS.
2026-07-25 12:00:07 +08:00
kate522 e194c603cb fix(nav): restore multi-type 发布 chip paint on bare navbar-but
Paint classes (jb-*/but/radius) were on the transparent newadd wrapper,
so the multi-type 发布 toggle rendered invisible outside navbar-but-cluster.
Move them onto .newadd-btns__toggle and style the bare DOM path.
2026-07-25 11:51:47 +08:00
kate522 e98f94bc06 fix(nav): align header user-card VIP CTA with check-in button
Drop navbar-cta/pill radius classes from the dropdown 开通会员 link and
force full-width 6px radius geometry to match the签到 button.
2026-07-25 11:42:13 +08:00
kate522 89b4070614 fix(nav): kill Bootstrap 5 navbar padding so bar matches zibll height
AKSRT loads BS5 (.navbar --bs-navbar-padding-y:.5rem) while zibll uses
BS3 without it; that alone added ~16px. Zero BS navbar pad, keep only
.header 8px 20px (mobile 0 8px), horizontal CTA margins, tighter mobile
logo/toggle row.
2026-07-25 11:33:52 +08:00
kate522 8a6f6feafb fix(nav): align header bar height with zibll main.css
Drop forced 34px CTA chips and container min-height:50 that inflated
or shrank the bar vs zibll. Restore .navbar-but .but to 0.8em / 0.3em
1em / margin 0.4em; keep logo 36px, header pad 8px 20px, fixed reserve 88px.
2026-07-25 11:27:31 +08:00
kate522 ab3d361d46 fix(admin): accept multi-value 发布类型 on header-nav save
header_newposts_types is multi-select but PHP schema used type=select,
so validate() rejected arrays with 422. Use checkbox and allow
select+multiple arrays in SchemaProvider.
2026-07-25 11:13:52 +08:00
kate522 53836ac6b8 fix(vip): join REST query with & under plain permalinks
GET pay/vip/modal?vip_level=1 became rest_route=.../modal?vip_level which
404s. Build rest_route path then append &vip_level= for plain links.
2026-07-25 11:08:15 +08:00
kate522 7daaa03417 fix(auth): use restUrl for modal-login under plain permalinks
Local WP has empty permalink_structure so /wp-json/* 404s on Apache.
modal-auth fell back to /wp-json/aksrt/v1; prefer aksrtData.restUrl
(index.php?rest_route=/aksrt/v1) and join paths correctly.
2026-07-25 11:02:32 +08:00
kate522 d3cae1f1cb fix(nav): stop click ripple from stretching CTA chips
.aksrt-wave was injected into .but without position:absolute, so the
oversized span expanded header publish/VIP buttons on click. Make the
wave absolute, honor .nowave, and skip navbar CTA roots.
2026-07-25 10:58:04 +08:00
kate522 77150afe38 fix(nav): hard-lock CTA chips at 34px for bare navbar-but markup
Live header uses .navbar-form.navbar-but without .navbar-but-cluster;
remove em padding/height:auto/min-height calc that grew chips on press
and override .but.radius padding so publish/VIP stay fixed size.
2026-07-25 10:38:23 +08:00
kate522 4c18910dc4 fix(nav): stop CTA press warp, pin user menu, hide PC hamburger
Lock top-bar button transforms on press; anchor avatar dropdown under
the trigger; show mobile drawer toggle only ≤767 and grid-layout the
mobile header so logo and menu no longer overlap.
2026-07-25 10:31:52 +08:00
kate522 f599cfe3fb Merge pull request 'fix(nav): zero FA vertical-align in top bar for flex centering' (#275) from worktree-fix-top-multifunc-cards into main
Reviewed-on: CYL/wordpress-theme-aksrt#275
2026-07-25 10:21:20 +08:00
kate522 2898922a17 fix(theme): stop sun/moon overlap and restore dark float contrast
Drive toggle glyphs with html.dark/body theme classes only, drop
inline display styles that lost to !important CSS, and give the
float rail a solid surface + brighter ink in dark mode.
2026-07-25 10:18:19 +08:00
kate522 aa339c5a4d fix(nav): zero FA vertical-align in top bar for flex centering 2026-07-24 12:53:15 +08:00
kate522 c72f51987d fix(nav): scope multi-type newadd wrapper without collapsing CTA links 2026-07-24 12:46:30 +08:00
kate522 a9aba6bdd1 fix(nav): win cascade for CTA and icon baseline
Scope multi-type newadd wrapper rules so they cannot collapse single CTA links; re-enqueue nav.css after header-menu-buttons for final zibll alignment.
2026-07-24 12:44:55 +08:00
kate522 4f5430cdba fix(nav): complete zibll top-bar text/icon alignment pass
Rewrite inline nav.css alignment for logo, menu titles, CTA chips, theme toggle (29px), icon-only buttons, and user-href badges so FA glyphs and labels share zibll baselines.
2026-07-24 12:32:34 +08:00
kate522 683506f3a2 fix(nav): finish top-bar icon/text baseline alignment
Center toggle/badge FA icons, normalize CTA icon+label without raw spaces, and extend .but FA5 margin so navbar text/icons match zibll.
2026-07-24 12:24:32 +08:00
kate522 a5fd5105f4 fix(nav): inline top-bar icon/text alignment into nav.css
Bypass @import cache for critical FA centering, CTA baseline, and menu title flex so navbar offsets match zibll after hard refresh.
2026-07-24 12:16:59 +08:00
kate522 f492174297 fix(nav): align navbar text and icon baselines with zibll
Center FA icons in toggle-radius/btn chips, restore menu-item title flex baseline, and match CTA/logo vertical alignment so top bar text and icons no longer drift.
2026-07-24 12:08:09 +08:00
kate522 9aa0bd0755 fix(header): cache-bust frontend CSS modules via filemtime
header-components used fixed AKSRT_VERSION so card-gap fixes never reached browsers; inline gap rules and filemtime enqueue.
2026-07-24 11:48:25 +08:00