Commit Graph

40 Commits

Author SHA1 Message Date
PaulVua
163d60bf34 Implement lightweight offline i18n system with French/English support
**Core System:**
- Add i18n.js translation library with data-attribute support
- Create translation files (fr.json, en.json) with offline support
- Store language preference in SQLite config_table
- Add backend endpoints for get/set language

**UI Features:**
- Add language switcher dropdown to topbar (🇫🇷 FR / 🇬🇧 EN)
- Auto-sync language selection across all pages
- Support for static HTML and dynamically created elements

**Implementation:**
- Migrate sensors.html as working example
- Add data-i18n attributes to all UI elements
- Support for buttons, inputs, and dynamic content
- Comprehensive README documentation in html/lang/

**Technical Details:**
- Works completely offline (local JSON files)
- No external dependencies
- Database-backed user preference
- Event-based language change notifications
- Automatic translation on page load

Next steps: Gradually migrate other pages (admin, wifi, index, etc.)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 18:10:06 +01:00
PaulVua
1f4d38257e Fix WiFi setup flow and improve hotspot management
- Fix deviceID overwrite bug: preserve manual configuration across reboots
- Use deviceName as hotspot SSID for better device identification
- Implement live WiFi scanning instead of reading stale CSV data
- Improve hotspot management with dynamic connection detection
- Add database status updates on WiFi connection success/failure
- Hide password in logs for better security

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 17:27:37 +01:00
Your Name
65beead82b update 2025-11-05 14:44:30 +01:00
Your Name
381cf85336 update 2025-05-27 16:42:53 +02:00
Your Name
93d77db853 update 2025-05-23 17:49:03 +02:00
Your Name
020594e065 updates 2025-05-23 15:09:22 +02:00
PaulVua
5a0f1c0745 updates 2025-05-23 14:30:18 +02:00
PaulVua
2516a3bd1c updates 2025-05-23 14:08:21 +02:00
PaulVua
1b8dc54fe0 updates 2025-05-23 14:03:57 +02:00
PaulVua
f40c105abf updates 2025-05-23 10:48:41 +02:00
Your Name
12c7a0b6af update 2025-05-01 11:01:29 +02:00
Your Name
98e5a239f5 update 2025-04-02 16:10:27 +02:00
Your Name
f7f6fccd60 update 2025-03-27 17:13:40 +01:00
Your Name
2129d45ef6 update 2025-03-25 14:55:50 +01:00
Your Name
b7a6f4c907 add sqlite config management 2025-03-24 15:19:27 +01:00
Your Name
d5302f78ba udpate 2025-03-20 17:45:47 +01:00
Your Name
d90fb14c90 update 2025-03-04 13:23:26 +01:00
Your Name
bf9ece8589 update 2025-02-27 11:54:53 +01:00
PaulVua
9774215e7c update 2025-02-11 14:55:10 +01:00
PaulVua
62c729b63b update 2025-02-10 17:25:34 +01:00
PaulVua
e609c38ca0 update 2025-02-10 15:41:52 +01:00
PaulVua
1cb1b05b51 update 2025-02-10 10:06:16 +01:00
PaulVua
7cac769795 update 2025-02-07 15:04:11 +01:00
PaulVua
d98eb48535 update 2025-02-05 17:37:27 +01:00
PaulVua
46303b9c19 update 2025-02-05 16:54:59 +01:00
PaulVua
49be391eb3 database 2025-02-05 15:09:15 +01:00
PaulVua
268a0586b8 update 2025-02-05 10:51:20 +01:00
PaulVua
4f59928b1e update 2025-01-30 13:46:22 +01:00
Your Name
578721a9f2 add RTC 2025-01-30 11:42:02 +01:00
Your Name
d095e53cd6 update 2025-01-28 18:14:55 +01:00
PaulVua
833ed458a7 update 2025-01-24 10:43:34 +01:00
PaulVua
155a2bd453 update 2025-01-23 18:03:11 +01:00
PaulVua
aa3b4d238b update 2025-01-23 14:19:46 +01:00
PaulVua
8ebf8dac51 update 2025-01-20 13:21:54 +01:00
PaulVua
ddbd85a035 update 2025-01-12 17:12:58 +01:00
PaulVua
73e6883cf5 update 2025-01-09 22:30:58 +01:00
PaulVua
e3a517b487 update 2025-01-09 21:31:27 +01:00
PaulVua
05c54cf6d0 update 2025-01-09 17:52:45 +01:00
PaulVua
4df29fc157 update 2025-01-09 16:55:31 +01:00
PaulVua
3081e43a1a first commit 2025-01-09 14:09:21 +01:00