05168fb1ca
fix(postcard): remove auto option from status dropdown, auto-select silently by date
main
Zichao Lin2026-07-15 19:16:41 +08:00
5ec21f0e3f
feat(postcard): allow manual status override in new-sent form (auto/pending/sent/delivered)
Zichao Lin2026-07-15 19:10:12 +08:00
de29f5445e
feat(postcard): split create into sent/received, add pending status and mark-sent flow
Zichao Lin2026-07-15 19:04:54 +08:00
d79aaea4ae
fix(web): correct country_to form parameter name mismatch in create and edit routes
Zichao Lin2026-07-10 23:07:56 +08:00
3323523e8e
fix(dashboard): put time in its own column on the right side
Zichao Lin2026-07-07 14:00:07 +08:00
afee0b2d92
fix(dashboard): country on first line, person + time on second line
Zichao Lin2026-07-07 13:58:56 +08:00
722895a0c8
fix(dashboard): wrap recent-meta in container so country and person display on separate lines
Zichao Lin2026-07-07 13:58:06 +08:00
985010d63c
fix(dashboard): show country and person on separate lines in recent activity
Zichao Lin2026-07-07 13:56:07 +08:00
599a95ee12
fix(ui): fix field name corruption (country_to_from -> country_from) and ensure all flag displays show country code
Zichao Lin2026-07-07 13:54:00 +08:00
fed060ea84
fix(ui): hide scroll loading indicator when no more content to load
Zichao Lin2026-07-07 13:45:25 +08:00
ad6f2b2ff2
refactor(model): rename Postcard.country -> country_to for clear semantics - country_from: origin country (where postcard was sent from) - country_to: destination country (where postcard was sent to) - Profile.country remains as user's home country - Updated all routes, schemas, templates, and API endpoints
Zichao Lin2026-07-07 13:43:39 +08:00
806c9ba8a0
fix(ui): show country code alongside flag emoji in from→to display
Zichao Lin2026-07-07 13:34:06 +08:00
1292c6591b
fix(profiles): allow existing profiles to edit country field in rename form
Zichao Lin2026-07-07 13:28:24 +08:00
5de27f1937
feat(showcase): display send_time/receive_time on personal showcase cards
Zichao Lin2026-07-07 13:24:58 +08:00
b5716ff340
fix(dashboard): sort recent activity by updated_at so delivered/received cards also appear
Zichao Lin2026-07-07 13:23:39 +08:00
a071b3dde4
feat(postcard): profile country, country_from, per-user card number uniqueness, public page overhaul - Profile: add country field for default origin country - Postcard: add country_from field, auto-fill from profile.country on create - card_number uniqueness: change from global to per-user (profile_id + card_number) - Public pages: remove card_number display, only show cards with image_front - Public pages: show country as from→to format - Index page: no time display, add register button, fix lightbox with prev/next - Infinite scroll: add /api/public/cards endpoints and IntersectionObserver - Internal pages: update postcards list/detail for country_from display - i18n: add profiles.country_ph, pc_form.country_from, pc_detail.route
Zichao Lin2026-07-07 12:32:24 +08:00
bd664d23be
feat(ui): add landing page with random public postcards for unauthenticated visitors
Zichao Lin2026-07-07 12:05:44 +08:00
ba56fc6e6b
feat(admin): merge invites + copyright into system admin page with SystemConfig table
Zichao Lin2026-07-07 11:35:57 +08:00
8a4500f723
chore: remove scripts and export_i18n.py from git, add to .gitignore
Zichao Lin2026-07-07 11:35:00 +08:00
ce377157a0
chore: add server.log to .gitignore
Zichao Lin2026-07-07 11:31:47 +08:00
137304090a
chore: stage changes before history rewrite
Zichao Lin2026-07-07 11:28:18 +08:00
a619b919be
feat(showcase): add temporary language switcher for visitors with cookie persistence
Zichao Lin2026-07-07 09:57:20 +08:00
02269417a9
feat(ui): replace language dropdown with globe icon and expandable menu
Zichao Lin2026-07-07 09:54:57 +08:00
591ad3e178
refactor(i18n): move translations to JSON files under app/locales, dynamic language switch
Zichao Lin2026-07-07 09:46:50 +08:00
fb98974382
fix(api-docs): replace all hardcoded Chinese with i18n translation keys for English support
Zichao Lin2026-07-07 09:33:01 +08:00
5dc705bf37
fix(api-docs): remove inline-block override on settings link button for proper text centering
Zichao Lin2026-07-07 09:28:58 +08:00
6a49fedfbb
feat(api): add public RESTful API with API key auth and documentation page
Zichao Lin2026-07-07 09:22:11 +08:00
14c226d082
fix(postcards): remove card number format restriction and forced uppercase
Zichao Lin2026-07-06 23:14:12 +08:00
87785494d6
feat(i18n): add English localization with per-user language preference
Zichao Lin2026-07-06 22:41:09 +08:00
643f1dc35a
fix(dashboard): extract labels/data from tuple list for Chart.js
Zichao Lin2026-07-06 22:13:46 +08:00
f448a900f5
feat(i18n): add English localization with per-user language preference and navbar toggle
Zichao Lin2026-07-06 22:07:05 +08:00
172e33e121
fix(detail): prevent dt labels from wrapping, allow dd values to wrap
Zichao Lin2026-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
Zichao Lin2026-07-06 21:13:01 +08:00
e75c4df4e8
style: set CJK+English fonts, reduce base font size to 14px, lighten text colors
Zichao Lin2026-07-06 21:10:59 +08:00
68c88a7910
feat(postcards): add notes field to postcards with edit, detail, and truncated list display
Zichao Lin2026-07-06 21:07:28 +08:00
f6db3a4f55
feat(dashboard): split country stats into sent/received bar charts side by side
Zichao Lin2026-07-06 20:41:39 +08:00
cf06ab236d
revert(dashboard): restore Chart.js bar chart for country distribution
Zichao Lin2026-07-06 20:35:43 +08:00
3320dc95ca
feat(dashboard): replace Chart.js with pure HTML/CSS bar chart, flags render correctly
Zichao Lin2026-07-06 20:34:52 +08:00
31eb6dcfc9
feat(dashboard): add country distribution bar chart using Chart.js
Zichao Lin2026-07-06 20:20:46 +08:00
200602c1e6
feat: auto-trim whitespace from text inputs on form submit globally
Zichao Lin2026-07-06 20:10:54 +08:00
a0e7f46cc5
fix(postcards): auto-fill today date on page load for new postcards
Zichao Lin2026-07-06 20:09:28 +08:00
91b4ff8ed4
feat(postcards): auto-fill today date on status change, card_number always uppercase
Zichao Lin2026-07-06 20:06:42 +08:00