7e2f158c09
Merge pull request 'feat: statistiques mensuelles dans la page rapports' ( #2 ) from monthly-stats-reports into master
...
Reviewed-on: #2
2026-03-13 14:42:37 +01:00
cc664b3555
feat: section détail mensuel dans la page rapports
2026-03-13 14:36:32 +01:00
59d64885d4
feat: calcul stats mensuelles dans reports (km + médianes)
2026-03-13 14:35:18 +01:00
6d5e58273f
feat: monthly_stats() — médiane journalière et hebdomadaire
2026-03-13 14:34:49 +01:00
d768156e0d
docs: plan d'implémentation statistiques mensuelles
2026-03-13 14:16:31 +01:00
e781c06593
docs: design statistiques mensuelles dans la page rapports
2026-03-13 14:16:27 +01:00
d97565f1a1
Merge pull request 'feat: increase RTT from 18 to 19' ( #1 ) from increase-rtt-to-19 into master
...
Reviewed-on: #1
2026-03-13 13:50:12 +01:00
4c0093c2b0
feat: increase RTT from 18 to 19
...
- Update LeaveBalance model default rtt_total to 19
- Update all tests to verify 19 RTT instead of 18
- Update documentation (design and technical plan)
- Update run.py to bind to 0.0.0.0 for external access
- Update CLAUDE.md deployment instructions
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-03-13 13:45:19 +01:00
bb0e57dbc6
docs: ajout service systemd et instructions de déploiement
...
- tableau-de-bord-pro.service : service Gunicorn pour www-data
- README : section production avec systemctl edit --full
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-11 20:55:38 +01:00
abbce5e799
docs: ajout README, LICENSE MIT, mise à jour CLAUDE.md
...
- README.md : introduction, installation, configuration, mention vibe coding
- LICENSE.md : licence MIT (Antoine Van-Elstraete)
- CLAUDE.md : barème kilométrique, filtres Jinja2, gotcha tests de routes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-11 20:47:28 +01:00
24d9a92a5a
feat: carte répartition par type de jour dans le rapport
2026-03-11 20:32:08 +01:00
a2077e640a
feat: count_day_types — compte les jours par type
2026-03-11 20:31:16 +01:00
859d94bfb1
fix: afficher les noms lisibles des types de jours et des véhicules
...
- Filtre Jinja2 day_type_fr (WORK→Travail, TT→Télétravail, etc.)
- Appliqué dans entry_list.html et dashboard.html
- Passage de vehicles au template dashboard pour afficher vehicle.name
- Mise à jour du test test_entry_list en conséquence
- Ajout du plan docs/plans/2026-03-11-bareme-kilometrique.md
2026-03-11 20:27:07 +01:00
68ae347311
fix: barème kilométrique 2025 — tranches et CV corrects, toutes puissances
2026-03-11 20:07:26 +01:00
51673f4959
feat: get_bareme par CV individuel, majoration électrique dans reports
2026-03-11 20:06:54 +01:00
0362836a63
feat: compute_frais_reels supporte la majoration +20% électrique
2026-03-11 20:04:47 +01:00
d9ad854ede
docs: update CLAUDE.md with frontend design system and test gotchas
2026-03-11 18:48:16 +01:00
c3a7bdfef7
design: refonte UI — journal de bord (Playfair + JetBrains Mono, palette encre/crème/ambre)
2026-03-11 18:46:04 +01:00
23dbc3f870
docs: update CLAUDE.md with session learnings
2026-03-11 18:36:23 +01:00
9e40c7b876
fix: affichage des dates en français via filtre Jinja2 date_fr
2026-03-11 18:34:36 +01:00
b6d5754c98
fix: use db.engine instead of deprecated db.get_engine()
2026-03-11 17:53:22 +01:00
96694e2de4
test: update integration tests for motor vehicle selection
2026-03-11 17:53:00 +01:00
ffbbf2da44
feat: motor vehicle selector in entry form and routes
2026-03-11 17:52:13 +01:00
9a37bc444d
feat: compute_km_for_entry resolves generic moteur key to specific vehicle
2026-03-11 17:50:29 +01:00
489d28c4a0
feat: add motor_vehicle_id to WorkEntry with auto-migration
2026-03-11 17:49:26 +01:00
b5ff8de0e4
feat: add get_motor_vehicles() and journey_has_motor() to config_loader
2026-03-11 17:48:13 +01:00
9f3c953b31
refactor: rename vehicle keys to generic moteur/type in config
2026-03-11 17:47:25 +01:00
ab27d7a345
docs: add implementation plan for multi-vehicle selection
2026-03-11 17:01:35 +01:00
b6c142dc5b
docs: improve CLAUDE.md with env vars and gotchas section
2026-03-11 16:47:40 +01:00
cadc4d783c
docs: add CLAUDE.md with architecture and commands
2026-03-11 16:45:24 +01:00
4846db2d76
test: integration tests for all routes
2026-03-11 16:44:00 +01:00
73904cd99a
feat: Gunicorn config and startup script
2026-03-11 16:43:31 +01:00
32ea4c3a1a
feat: Flask routes and Jinja2/HTMX/Tailwind templates
2026-03-11 16:43:15 +01:00
b9832f0337
feat: leave balance calculation (congés/RTT)
2026-03-11 16:40:00 +01:00
b807444068
feat: travel calculation (km, CO2, frais réels fiscaux)
2026-03-11 16:40:00 +01:00
7babe05412
feat: time calculation business logic
2026-03-11 16:39:39 +01:00
1e3f5bb0c7
feat: SQLAlchemy models for WorkEntry, TimeSlot, LeaveBalance
2026-03-11 16:33:38 +01:00
4cbd62882f
feat: TOML config loader for vehicles, journeys, and tax scales
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-11 16:31:13 +01:00
415952f24e
chore: add .gitignore and remove cached pycache files
2026-03-11 16:23:51 +01:00
41679d1861
feat: initial Flask project setup with factory pattern
2026-03-11 16:23:39 +01:00
3b3a5e4187
docs: add implementation plan for work time tracking dashboard
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-11 15:26:30 +01:00
49bd75065b
docs: add initial design document for work time tracking dashboard
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-11 15:23:01 +01:00