Commit Graph
100 Commits
Author SHA1 Message Date
earthjasonlin fb98974382 fix(api-docs): replace all hardcoded Chinese with i18n translation keys for English support 2026-07-07 09:33:01 +08:00
earthjasonlin 5dc705bf37 fix(api-docs): remove inline-block override on settings link button for proper text centering 2026-07-07 09:28:58 +08:00
earthjasonlin 6a49fedfbb feat(api): add public RESTful API with API key auth and documentation page 2026-07-07 09:22:11 +08:00
earthjasonlin 14c226d082 fix(postcards): remove card number format restriction and forced uppercase 2026-07-06 23:14:12 +08:00
earthjasonlin 87785494d6 feat(i18n): add English localization with per-user language preference 2026-07-06 22:41:09 +08:00
earthjasonlin 643f1dc35a fix(dashboard): extract labels/data from tuple list for Chart.js 2026-07-06 22:13:46 +08:00
earthjasonlin f448a900f5 feat(i18n): add English localization with per-user language preference and navbar toggle 2026-07-06 22:07:05 +08:00
earthjasonlin 172e33e121 fix(detail): prevent dt labels from wrapping, allow dd values to wrap 2026-07-06 21:13:37 +08:00
earthjasonlin e7b109ab6d fix(postcards): move notes to right side before action buttons in list, use dl grid format in detail page 2026-07-06 21:13:01 +08:00
earthjasonlin e75c4df4e8 style: set CJK+English fonts, reduce base font size to 14px, lighten text colors 2026-07-06 21:10:59 +08:00
earthjasonlin 68c88a7910 feat(postcards): add notes field to postcards with edit, detail, and truncated list display 2026-07-06 21:07:28 +08:00
earthjasonlin f6db3a4f55 feat(dashboard): split country stats into sent/received bar charts side by side 2026-07-06 20:41:39 +08:00
earthjasonlin cf06ab236d revert(dashboard): restore Chart.js bar chart for country distribution 2026-07-06 20:35:43 +08:00
earthjasonlin 3320dc95ca feat(dashboard): replace Chart.js with pure HTML/CSS bar chart, flags render correctly 2026-07-06 20:34:52 +08:00
earthjasonlin 31eb6dcfc9 feat(dashboard): add country distribution bar chart using Chart.js 2026-07-06 20:20:46 +08:00
earthjasonlin 200602c1e6 feat: auto-trim whitespace from text inputs on form submit globally 2026-07-06 20:10:54 +08:00
earthjasonlin a0e7f46cc5 fix(postcards): auto-fill today date on page load for new postcards 2026-07-06 20:09:28 +08:00
earthjasonlin 91b4ff8ed4 feat(postcards): auto-fill today date on status change, card_number always uppercase 2026-07-06 20:06:42 +08:00
earthjasonlin 6157e40db9 fix(profiles): remove duplicate border, center-align textarea/button; notes read-only on postcards page 2026-07-06 19:41:21 +08:00
earthjasonlin 9db6b849d4 feat(profiles): notes shown on postcards page, save stays on current page 2026-07-06 19:39:54 +08:00
earthjasonlin b6d43b3db4 feat(profiles): add private notes field per profile, visible only to owner 2026-07-06 19:36:29 +08:00
earthjasonlin 233da50554 chore: startup scripts one-click launch uvicorn server 2026-07-06 19:31:55 +08:00
earthjasonlin 367235fb99 fix(admin-invites): badge default bg color, registered users as plain text list 2026-07-06 08:43:07 +08:00
earthjasonlin 53c9c4bb86 chore: remove test_error.py 2026-07-06 08:39:38 +08:00
earthjasonlin 501e27400b fix(models): resolve ambiguous foreign keys between User and InviteCode 2026-07-06 08:39:33 +08:00
earthjasonlin 755409f386 feat(admin-invites): show registered usernames per invite code, track invited_by_code_id on User 2026-07-06 08:37:49 +08:00
earthjasonlin 293a021500 fix(admin-invites): left-align create card conditional fields, convert local datetime to UTC on save 2026-07-06 08:35:55 +08:00
earthjasonlin 09270bb4af fix(admin-invites): align create card conditional fields styling with edit card 2026-07-06 08:33:56 +08:00
earthjasonlin b9d9de2fc3 fix(admin-invites): create form conditional fields inline with nowrap labels, match input styling 2026-07-06 08:32:36 +08:00
earthjasonlin b285c4b588 fix(admin-invites): create form label margin-top:0, edit form inline conditional fields 2026-07-06 08:27:34 +08:00
earthjasonlin 9aab88ae8f fix(invites): register strftime Jinja2 filter, fix 500 error on admin invites page 2026-07-06 08:24:20 +08:00
earthjasonlin f0a4e704ea fix(admin-invites): create card uses form-card style, align save/delete with select via align-self flex-end 2026-07-06 08:21:54 +08:00
earthjasonlin b10be81505 fix(admin-invites): display times in Asia/Shanghai (CST) instead of UTC 2026-07-06 08:20:14 +08:00
earthjasonlin 1354032914 fix(admin-invites): add margin-top to create button, align save/delete buttons bottom with select via invisible label 2026-07-06 08:18:51 +08:00
earthjasonlin fd7e700e7d fix(admin-invites): increase create form gap, align edit buttons bottom with select 2026-07-06 08:17:00 +08:00
earthjasonlin 6af99f36f2 fix(admin-invites): unify button height/size, fit-content width for create button 2026-07-06 08:15:08 +08:00
earthjasonlin d4aed47c0a fix(admin-invites): left-align all fields on mobile 2026-07-06 08:13:42 +08:00
earthjasonlin 386cc614e7 fix(admin-invites): left-align create button 2026-07-06 08:12:57 +08:00
earthjasonlin b4bec6e5e6 fix(admin-invites): stack create form fields vertically, unify row height and spacing 2026-07-06 08:12:25 +08:00
earthjasonlin b66527b6d8 fix(admin-invites): unify form field styles, fix mobile layout for create and edit forms 2026-07-06 08:10:36 +08:00
earthjasonlin b58956937e feat(invite): add invite code registration system 2026-07-06 01:13:07 +08:00
earthjasonlin a7c5082ff6 chore: rename app to 星笺 (Mailova) 2026-07-06 00:41:24 +08:00
earthjasonlin 741b51ad6c feat(showcase): sort postcards by time descending 2026-07-06 00:27:39 +08:00
earthjasonlin 66ba163ef6 feat(showcase): lightbox, checkbox per-card toggle, lazyload, fix toggle Y-align, remove navbar on public page 2026-07-06 00:24:03 +08:00
earthjasonlin 2c0229b12f fix(settings): use Query alias for tab param, fix showcase tab persistence 2026-07-06 00:10:30 +08:00
earthjasonlin e0ef607a05 fix(showcase): tab stay, Y-center toggle, group postcards by sent/received, hide navbar on public page, remove profiles/xx/showcase 2026-07-06 00:05:15 +08:00
earthjasonlin c550289527 refactor(ui): merge showcase settings into settings page tab, fix profile showcase GET route, fix layout 2026-07-05 23:56:28 +08:00
earthjasonlin 148cfdf2a4 feat(showcase): add public showcase page with per-profile/per-postcard visibility controls 2026-07-05 23:45:23 +08:00
earthjasonlin b412f5001e feat(models): add showcase fields to User, Profile, Postcard 2026-07-05 23:35:45 +08:00
earthjasonlin 46670c72fa fix(auth): set session expires_at to non-nullable with 1 year max 2026-07-05 23:21:54 +08:00
earthjasonlin d7780ea6ad feat(ui): move detail page badge next to card number title 2026-07-05 23:16:11 +08:00
earthjasonlin 23c61363a6 fix(ui): shorten mark-delivered button text to 已送达 2026-07-05 23:15:38 +08:00
earthjasonlin a502c14c99 fix(ui): improve detail page mobile layout - smaller title, compact back button, action buttons in one row 2026-07-05 23:15:10 +08:00
earthjasonlin a4cd204237 fix(ui): remove duplicate back link from detail page, keep top-left back button 2026-07-05 23:12:59 +08:00
earthjasonlin 71a029057a feat(ui): add back button left of card number on detail page 2026-07-05 23:11:05 +08:00
earthjasonlin 41aa2058bc fix(ui): vertically center all badges 2026-07-05 23:09:47 +08:00
earthjasonlin 6ae80c5591 feat(ui): stack country and recipient/sender vertically in postcard list 2026-07-05 23:07:41 +08:00
earthjasonlin 80928d5ae6 feat(ui): show arrival date below send date for delivered postcards 2026-07-05 23:06:56 +08:00
earthjasonlin 90c02faa8f feat(ui): show send/receive date in postcard list 2026-07-05 23:06:18 +08:00
earthjasonlin 61190328a4 feat(dashboard): mobile 2-col stats, add relative time to recent activity 2026-07-05 23:03:35 +08:00
earthjasonlin fc55507019 i18n: change all page titles and nav text to Chinese 2026-07-05 22:40:49 +08:00
earthjasonlin 23897560ad fix(ui): improve dashboard and global mobile responsiveness 2026-07-05 22:34:25 +08:00
earthjasonlin a4714db073 feat(ui): redesign dashboard as global overview with stats, progress bar, recent activity 2026-07-05 22:32:16 +08:00
earthjasonlin a57cba22d5 fix(ui): add missing id to profile nickname for rename toggle 2026-07-05 22:28:49 +08:00
earthjasonlin a212021997 feat(ui): redesign profiles page with card layout showing postcard stats 2026-07-05 22:27:13 +08:00
earthjasonlin 5b6b2ccef8 fix: clear arrival_time and disable field when status is sent 2026-07-05 22:15:40 +08:00
earthjasonlin 84e4e457db feat(ui): redesign postcards list with tabs, row layout, country dropdown filter 2026-07-05 22:12:33 +08:00
earthjasonlin 2aeaa560d6 fix(ui): align settings cards with heading, full width in container 2026-07-05 22:07:36 +08:00
earthjasonlin 557d0a86d0 fix(ui): wider settings cards with more padding 2026-07-05 22:06:46 +08:00
earthjasonlin f85207f1d5 fix(ui): center settings cards to fix uneven left-right spacing 2026-07-05 22:05:14 +08:00
earthjasonlin 005e6a09b5 fix(ui): username change no longer requires password confirmation 2026-07-05 22:03:59 +08:00
earthjasonlin ae2ed2d961 feat: add user settings page (change username/password) and remove public registration 2026-07-05 22:01:24 +08:00
earthjasonlin 5607485c6a feat(ui): add mark-delivered button on sent postcards with auto today date 2026-07-05 21:45:32 +08:00
earthjasonlin 7a62ff0818 feat(ui): show country flag emoji next to country codes 2026-07-05 21:40:46 +08:00
earthjasonlin 9692ff8ade feat(auth): add remember me option with persistent DB sessions 2026-07-05 21:28:58 +08:00
earthjasonlin 2bd914532e feat: always display country code in uppercase (model validates + oninput) 2026-07-05 21:22:57 +08:00
earthjasonlin 08684493f4 fix(ui): explicitly set text color on .btn to prevent white text on mobile 2026-07-05 21:11:14 +08:00
earthjasonlin 4c348d6f04 fix(ui): stack upload form vertically on mobile to prevent button text cutoff 2026-07-05 21:09:11 +08:00
earthjasonlin c42d371e08 fix(ui): upload button text cut off on mobile, use flex shrink for file input 2026-07-05 21:08:10 +08:00
earthjasonlin 282763e7d8 fix(ui): toggle required on hidden fields to prevent browser validation error 2026-07-05 20:21:57 +08:00
earthjasonlin 08035e3447 feat(ui): arrival time only required when status is delivered, not sent 2026-07-05 20:19:47 +08:00
earthjasonlin 5d7e70f820 fix(ui): toggle required attr on hidden fields when switching postcard status 2026-07-05 20:12:13 +08:00
earthjasonlin f1a9bf7335 fix(ui): remove required from date inputs to unblock form submit 2026-07-05 20:11:04 +08:00
earthjasonlin 5cfbec892d fix(ui): remove overly strict pattern validation on postcard form 2026-07-05 19:35:55 +08:00
earthjasonlin 167ba3c724 fix(ui): increase spacing between welcome heading and cards 2026-07-05 19:23:53 +08:00
earthjasonlin 9decb570c2 feat(ui): rich dashboard cards with countries and recent postcards 2026-07-05 19:22:10 +08:00
earthjasonlin 419ec47b99 feat(ui): polished dashboard profile cards, remove manage button 2026-07-05 19:12:27 +08:00
earthjasonlin 3cb286d088 fix(ui): unify btn line-height for a and button elements 2026-07-05 19:10:32 +08:00
earthjasonlin 244ab5fbf8 fix(ui): unify btn height a vs button, use --reload for dev server 2026-07-05 19:09:01 +08:00
earthjasonlin ee655be7d4 feat: inline rename for profiles, dashboard stats grid UI 2026-07-05 19:03:48 +08:00
earthjasonlin d7850d200f feat: add profile rename, all postcard fields required 2026-07-05 19:00:25 +08:00
earthjasonlin 5aa8b7e7f2 fix(ui): badge no longer stretches in flex container 2026-07-05 18:55:18 +08:00
earthjasonlin e9fc091aeb fix(ui): remove extra margin on form submit button, align save/cancel 2026-07-05 18:53:39 +08:00
earthjasonlin 0c6e716384 fix(ui): align form-action buttons vertically 2026-07-05 18:51:09 +08:00
earthjasonlin fc88528dd9 fix(ui): form-actions button alignment, cancel no longer wraps 2026-07-05 18:48:39 +08:00
earthjasonlin a75af0ff99 fix(ui): restore auth form button spacing 2026-07-05 18:45:52 +08:00
earthjasonlin d278f9144b fix(ui): badge sizing, button alignment, country XX format, date-only fields 2026-07-05 16:37:36 +08:00
earthjasonlin e66515ce72 fix(ui): shrink badges, card_number format XX-1234567, date-only fields 2026-07-05 16:26:22 +08:00
earthjasonlin 4ad37a71f7 fix(ui): fix button text wrapping, upload layout, and image placeholders 2026-07-05 16:23:31 +08:00
earthjasonlin 0eca60300f feat: initial postcard manager - FastAPI + Jinja2 + SQLite 2026-07-05 16:06:03 +08:00