Colin Maudry
522c467702
feat(observatoire): filtres liste via list_has_any ( #72 )
2026-04-22 23:49:32 +02:00
Colin Maudry
74ae1fb008
feat(observatoire): IN départements et skip conditionnel par ID ( #72 )
2026-04-22 23:43:55 +02:00
Colin Maudry
e3a0fba4df
feat(observatoire): filtres LIKE/ILIKE dans dashboard_filters_to_sql ( #72 )
2026-04-22 23:42:43 +02:00
Colin Maudry
a382370767
feat(observatoire): filtres d'égalité simples dans dashboard_filters_to_sql ( #72 )
2026-04-22 23:39:13 +02:00
Colin Maudry
653999693c
feat(observatoire): squelette de dashboard_filters_to_sql ( #72 )
2026-04-22 23:36:59 +02:00
Colin Maudry
aaf54eef91
docs(observatoire): plan d'implémentation filtrage natif DuckDB ( #72 )
...
Plan en 10 tâches TDD : construction incrémentale de dashboard_filters_to_sql,
réécriture de prepare_dashboard_data, adaptation des 3 appelants de
observatoire.py, test d'intégration sur tests/test.parquet.
2026-04-22 23:21:47 +02:00
Colin Maudry
b996eb97cc
docs(observatoire): spec du filtrage natif DuckDB ( #72 )
...
Décrit la refonte de prepare_dashboard_data pour pousser le filtrage au
niveau DuckDB via un nouveau helper dashboard_filters_to_sql, sur le
modèle de filter_query_to_sql / _fetch_page_sql.
2026-04-22 23:16:41 +02:00
Colin Maudry
3e89dacff9
Correction de setup_table_columns et autres
v2.7.4
2026-04-22 21:16:51 +02:00
Colin Maudry
eb8d7abe0d
actions/checkout@v4
2026-04-22 20:55:22 +02:00
Colin Maudry
a484984e40
Merge tag 'v2.7.4' into dev
...
- Utilisation élargie de DuckDB au détriment de Polars => bien meilleure perf ([#72 ](https://github.com/ColinMaudry/decp.info/issues/72 )
2026-04-22 20:50:47 +02:00
Colin Maudry
bea160aa00
Merge branch 'release/2.7.4'
2026-04-22 20:50:12 +02:00
Colin Maudry
8e603d2806
Bump version number
2026-04-22 20:49:57 +02:00
Colin Maudry
1d833bb800
Merge branch 'feature/72_duckdb_performance' into dev
2026-04-22 20:48:39 +02:00
Colin Maudry
f81c897342
Changelog 2.7.4
2026-04-22 20:48:27 +02:00
Colin Maudry
3532a9c381
Path de duckdb configurable, correction des tests #72
2026-04-22 20:43:38 +02:00
Colin Maudry
b4956c34d1
Utilisation d'une seule fonction postprocess #72
2026-04-22 18:30:36 +02:00
Colin Maudry
72d4881796
Simplifications du code #72
2026-04-22 17:17:54 +02:00
Colin Maudry
1e67d329d0
perf(tableau): pousser filtre/tri/pagination/comptage dans DuckDB
...
Remplace le chemin lent de prepare_table_data (chargement de toutes les
lignes depuis DuckDB puis filtrage/post-traitement Polars avant slice)
par _fetch_page_sql qui pousse filtre, tri, pagination et comptage dans
DuckDB via filter_query_to_sql / sort_by_to_sql, puis post-traite
uniquement la page de 20 lignes.
Supprime _load_filter_sort_postprocess (plus utilisé). Met à jour les
tests test_table.py en supprimant les tests associés et en ajoutant
des tests dédiés pour _fetch_page_sql. Corrige le fixture flask_app
pour utiliser src.utils.cache (même instance que le module) afin que
@cache.memoize() fonctionne.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-21 23:53:45 +02:00
Colin Maudry
4e25ff5c85
feat(table): ajouter postprocess_page pour post-traiter une page seule
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-21 23:42:52 +02:00
Colin Maudry
cdb6a70f7a
feat(db): ajouter count_marches, count_unique_marches et paramètre offset à query_marches
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-21 23:39:51 +02:00
Colin Maudry
74213d3844
fix(table_sql): gérer *foo* et utiliser isinstance pour les types Polars
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-21 23:37:03 +02:00
Colin Maudry
95c90e319e
feat: ajouter traducteurs filter_query→SQL et sort_by→SQL
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-21 23:33:49 +02:00
Colin Maudry
abc6390174
Améliorations CLAUDE.md pour plus utiliser rtk
2026-04-21 21:55:18 +02:00
Colin Maudry
9e3f6765e0
Améliorations CLAUDE.md pour plus utiliser rtk
2026-04-21 21:54:10 +02:00
Colin Maudry
a906a40b7b
Fix import src.utils.cache
2026-04-21 17:21:32 +02:00
Colin Maudry
d4844140b4
src/auth : exempter les routes Dash internes de la protection CSRF ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 23:11:17 +02:00
Colin Maudry
40e593ffdc
Changelog : comptes utilisateurs ( #73 )
2026-04-20 22:58:20 +02:00
Colin Maudry
5151b32f3e
tests/auth/test_csrf.py : vérifie que CSRF est actif ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 22:56:58 +02:00
Colin Maudry
20e7eed424
src/app.py : navbar avec lien Connexion / dropdown utilisateur ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 22:56:13 +02:00
Colin Maudry
af0efbe928
src/pages : pages mot de passe oublié et réinitialisation ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 22:53:24 +02:00
Colin Maudry
038858985c
src/pages/verification_email.py : page statut vérification email ( #73 )
2026-04-20 22:53:10 +02:00
Colin Maudry
7b27c15515
src/pages/compte.py : page mon compte (protégée) ( #73 )
2026-04-20 22:52:51 +02:00
Colin Maudry
88863415d7
src/pages/connexion.py : page de connexion ( #73 )
2026-04-20 22:52:46 +02:00
Colin Maudry
5149582958
src/pages/inscription.py : page d'inscription ( #73 )
2026-04-20 22:52:29 +02:00
Colin Maudry
49bd1b3036
src/auth/routes.py : route /auth/change-password ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 22:51:40 +02:00
Colin Maudry
6b78abb7fd
src/auth/routes.py : routes de réinitialisation du mot de passe ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 22:50:20 +02:00
Colin Maudry
ff9b3a6092
src/auth/routes.py : routes /auth/login et /auth/logout ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:39:59 +02:00
Colin Maudry
4d9a300e0c
src/auth/routes.py : route /auth/verify-email ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:38:13 +02:00
Colin Maudry
e275f10dbd
src/auth/routes.py : route /auth/signup ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:37:15 +02:00
Colin Maudry
1c0fb0a960
src/auth/routes.py : blueprint auth et fixtures de test ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:35:06 +02:00
Colin Maudry
8896726e09
src/app.py : initialisation de l'authentification au démarrage ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:34:12 +02:00
Colin Maudry
a02a9df081
src/auth/setup.py : init_auth et helper safe_next ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:32:32 +02:00
Colin Maudry
7976257029
src/auth/mailer.py : envoi d'emails HTML+texte ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:31:00 +02:00
Colin Maudry
72fd495c5b
src/auth/models.py : classe User Flask-Login ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:25:56 +02:00
Colin Maudry
92fe76d072
src/auth/tokens.py : génération et validation des tokens ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:24:49 +02:00
Colin Maudry
1a07e5ac0f
src/auth/db.py : CRUD tokens de vérification et reset ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:23:02 +02:00
Colin Maudry
ae4a206de7
src/auth/db.py : CRUD users ( #73 )
2026-04-20 17:19:52 +02:00
Colin Maudry
5c6e75e3d3
src/auth/db.py : schéma SQLite et connexion ( #73 )
2026-04-20 17:15:26 +02:00
Colin Maudry
9ffa9c39f8
Dépendances auth : Flask-Login/Mail/WTF, email-validator ( #73 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 17:09:41 +02:00
Colin Maudry
5a7a4da027
Plan d'implémentation comptes utilisateurs ( #73 )
...
23 tâches TDD : setup deps/env, auth/db, tokens, models, mailer,
init_auth, 6 routes Flask, 6 pages Dash, navbar, tests CSRF,
smoke test end-to-end.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-20 17:02:42 +02:00