Commit Graph

99 Commits

Author SHA1 Message Date
591ad3e178 refactor(i18n): move translations to JSON files under app/locales, dynamic language switch 2026-07-07 09:46:50 +08:00
fb98974382 fix(api-docs): replace all hardcoded Chinese with i18n translation keys for English support 2026-07-07 09:33:01 +08:00
5dc705bf37 fix(api-docs): remove inline-block override on settings link button for proper text centering 2026-07-07 09:28:58 +08:00
6a49fedfbb feat(api): add public RESTful API with API key auth and documentation page 2026-07-07 09:22:11 +08:00
14c226d082 fix(postcards): remove card number format restriction and forced uppercase 2026-07-06 23:14:12 +08:00
87785494d6 feat(i18n): add English localization with per-user language preference 2026-07-06 22:41:09 +08:00
643f1dc35a fix(dashboard): extract labels/data from tuple list for Chart.js 2026-07-06 22:13:46 +08:00
f448a900f5 feat(i18n): add English localization with per-user language preference and navbar toggle 2026-07-06 22:07:05 +08:00
172e33e121 fix(detail): prevent dt labels from wrapping, allow dd values to wrap 2026-07-06 21:13:37 +08:00
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
e75c4df4e8 style: set CJK+English fonts, reduce base font size to 14px, lighten text colors 2026-07-06 21:10:59 +08:00
68c88a7910 feat(postcards): add notes field to postcards with edit, detail, and truncated list display 2026-07-06 21:07:28 +08:00
f6db3a4f55 feat(dashboard): split country stats into sent/received bar charts side by side 2026-07-06 20:41:39 +08:00
cf06ab236d revert(dashboard): restore Chart.js bar chart for country distribution 2026-07-06 20:35:43 +08:00
3320dc95ca feat(dashboard): replace Chart.js with pure HTML/CSS bar chart, flags render correctly 2026-07-06 20:34:52 +08:00
31eb6dcfc9 feat(dashboard): add country distribution bar chart using Chart.js 2026-07-06 20:20:46 +08:00
200602c1e6 feat: auto-trim whitespace from text inputs on form submit globally 2026-07-06 20:10:54 +08:00
a0e7f46cc5 fix(postcards): auto-fill today date on page load for new postcards 2026-07-06 20:09:28 +08:00
91b4ff8ed4 feat(postcards): auto-fill today date on status change, card_number always uppercase 2026-07-06 20:06:42 +08:00
6157e40db9 fix(profiles): remove duplicate border, center-align textarea/button; notes read-only on postcards page 2026-07-06 19:41:21 +08:00
9db6b849d4 feat(profiles): notes shown on postcards page, save stays on current page 2026-07-06 19:39:54 +08:00
b6d43b3db4 feat(profiles): add private notes field per profile, visible only to owner 2026-07-06 19:36:29 +08:00
367235fb99 fix(admin-invites): badge default bg color, registered users as plain text list 2026-07-06 08:43:07 +08:00
501e27400b fix(models): resolve ambiguous foreign keys between User and InviteCode 2026-07-06 08:39:33 +08:00
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
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
09270bb4af fix(admin-invites): align create card conditional fields styling with edit card 2026-07-06 08:33:56 +08:00
b9d9de2fc3 fix(admin-invites): create form conditional fields inline with nowrap labels, match input styling 2026-07-06 08:32:36 +08:00
b285c4b588 fix(admin-invites): create form label margin-top:0, edit form inline conditional fields 2026-07-06 08:27:34 +08:00
9aab88ae8f fix(invites): register strftime Jinja2 filter, fix 500 error on admin invites page 2026-07-06 08:24:20 +08:00
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
b10be81505 fix(admin-invites): display times in Asia/Shanghai (CST) instead of UTC 2026-07-06 08:20:14 +08:00
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
fd7e700e7d fix(admin-invites): increase create form gap, align edit buttons bottom with select 2026-07-06 08:17:00 +08:00
6af99f36f2 fix(admin-invites): unify button height/size, fit-content width for create button 2026-07-06 08:15:08 +08:00
d4aed47c0a fix(admin-invites): left-align all fields on mobile 2026-07-06 08:13:42 +08:00
386cc614e7 fix(admin-invites): left-align create button 2026-07-06 08:12:57 +08:00
b4bec6e5e6 fix(admin-invites): stack create form fields vertically, unify row height and spacing 2026-07-06 08:12:25 +08:00
b66527b6d8 fix(admin-invites): unify form field styles, fix mobile layout for create and edit forms 2026-07-06 08:10:36 +08:00
b58956937e feat(invite): add invite code registration system 2026-07-06 01:13:07 +08:00
a7c5082ff6 chore: rename app to 星笺 (Mailova) 2026-07-06 00:41:24 +08:00
741b51ad6c feat(showcase): sort postcards by time descending 2026-07-06 00:27:39 +08:00
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
2c0229b12f fix(settings): use Query alias for tab param, fix showcase tab persistence 2026-07-06 00:10:30 +08:00
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
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
148cfdf2a4 feat(showcase): add public showcase page with per-profile/per-postcard visibility controls 2026-07-05 23:45:23 +08:00
b412f5001e feat(models): add showcase fields to User, Profile, Postcard 2026-07-05 23:35:45 +08:00
46670c72fa fix(auth): set session expires_at to non-nullable with 1 year max 2026-07-05 23:21:54 +08:00
d7780ea6ad feat(ui): move detail page badge next to card number title 2026-07-05 23:16:11 +08:00