Christophe Robillard
|
887c5cb4a9
|
correct rubocop offenses
|
2021-06-17 16:31:53 +02:00 |
|
Christophe Robillard
|
a5ae5af56a
|
extract NB_DAYS_RECENT_DOSSIERS and PERCENTILE
|
2021-06-17 16:31:53 +02:00 |
|
Christophe Robillard
|
f2deba733d
|
use traitement_times to compute usual_traitement_time for recent
dossiers
|
2021-06-17 16:31:53 +02:00 |
|
Christophe Robillard
|
21dd05cc56
|
less sql queries for usual_traitement_time_by_month
|
2021-06-17 16:31:53 +02:00 |
|
Christophe Robillard
|
a8840faadb
|
move stats methods to appropriate concern class
|
2021-06-17 16:31:53 +02:00 |
|
Christophe Robillard
|
45ffae9eb3
|
affiche evolution temps de traitement
|
2021-06-17 16:31:53 +02:00 |
|
Christophe Robillard
|
701b72494d
|
compute usual traitement time for specific month
|
2021-06-17 16:31:53 +02:00 |
|
Paul Chavard
|
a2c53ce7ea
|
format phone numbers
|
2021-06-15 09:14:55 +02:00 |
|
François Vantomme
|
c9b1095d1e
|
Refactor (Rubocop): replace map{ … }.compact by filter_map
In Ruby 2.7, Enumerable#filter_map has been added.
This cop identifies places where map { … }.compact can be replaced by filter_map.
See: https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemapcompact
|
2021-06-11 15:38:09 +02:00 |
|
Christophe Robillard
|
169f254c79
|
infer champ type from class
|
2021-06-09 10:52:38 +02:00 |
|
Christophe Robillard
|
6f845508b4
|
order archive by desc month
|
2021-06-09 10:52:38 +02:00 |
|
Christophe Robillard
|
5e180268cd
|
remove one sql query
|
2021-06-09 10:52:38 +02:00 |
|
simon lehericey
|
f2ba83a704
|
cout_dossier_termines_by_month for groupe_instructeurs
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
|
2021-06-09 10:52:38 +02:00 |
|
simon lehericey
|
9e43823f9a
|
add average_dossier_weight
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
|
2021-06-09 10:52:38 +02:00 |
|
Christophe Robillard
|
7002811ba5
|
optim count nb_dossiers per month for archive
`Traitement#count_dossiers_termines_by_month` removes n+1 queries
Co-authored-by: LeSim <mail@simon.lehericey.net>
|
2021-06-09 10:52:38 +02:00 |
|
Christophe Robillard
|
9bb9462b3a
|
optimise les stats termines by week
|
2021-06-08 15:23:31 +02:00 |
|
Paul Chavard
|
1888f74b10
|
Prevent double processing of declarative dossiers
|
2021-06-04 17:55:40 +02:00 |
|
kara Diaby
|
3555c9696a
|
modify concern
|
2021-06-04 15:29:08 +02:00 |
|
Paul Chavard
|
f526e303e8
|
Apply suggestions from code review
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
|
2021-06-03 13:11:16 +02:00 |
|
Paul Chavard
|
3fb10fb4b8
|
Set published_at on revision when publishing a procedure
|
2021-06-03 13:11:16 +02:00 |
|
Paul Chavard
|
306e5d228d
|
Add published_at to procedure_revisions
|
2021-06-03 13:11:16 +02:00 |
|
Paul Chavard
|
05380b9520
|
Fix destoying discarded procedures
|
2021-05-27 18:48:56 +02:00 |
|
Paul Chavard
|
9b0dae4cc2
|
Fix apostrophes ‘ -> ’
|
2021-05-26 18:05:14 +02:00 |
|
Paul Chavard
|
4922bc88d6
|
Do not crash when properties is nil
|
2021-05-26 12:40:07 +02:00 |
|
Paul Chavard
|
dfc46a8736
|
Enable add descriptions to cadastres
|
2021-05-26 11:27:09 +02:00 |
|
Paul Chavard
|
179bb5a9fe
|
Apply suggestions from code review
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
|
2021-05-25 11:43:38 +02:00 |
|
Paul Chavard
|
acb277e650
|
Use stable_id when replacing tags
|
2021-05-25 11:43:38 +02:00 |
|
Paul Chavard
|
3b85ade440
|
Add compatibility cadsatre layer with old API GEO
|
2021-05-24 11:57:00 +02:00 |
|
Paul Chavard
|
e74dcb0056
|
Remove ign feature flag
|
2021-05-24 11:50:16 +02:00 |
|
simon lehericey
|
b620888597
|
show only dossier avis
|
2021-05-20 16:18:04 +02:00 |
|
kara Diaby
|
20933579b0
|
do not display confidential avis to other experts
|
2021-05-19 21:30:22 +02:00 |
|
Paul Chavard
|
5f419954b4
|
Fix dossier deleted user display
|
2021-05-13 10:43:55 +02:00 |
|
Paul Chavard
|
3f7a2bea9b
|
Dossier without user should be valid
|
2021-05-11 17:50:10 +02:00 |
|
Paul Chavard
|
8a74438dc1
|
Use conservation_extension instead of en_construction_conservation_extension
|
2021-05-11 17:33:53 +02:00 |
|
Paul Chavard
|
1e0d6ea28f
|
Rename en_construction_conservation_extension to conservation_extension
|
2021-05-11 14:08:51 +02:00 |
|
simon lehericey
|
c5f6c9ae1e
|
fix missing state translation
|
2021-05-10 11:17:34 +02:00 |
|
simon lehericey
|
8d0082419c
|
do not know how it worked before
|
2021-05-05 14:36:34 +02:00 |
|
simon lehericey
|
4dc314d24b
|
[fix #6084] add db constraints to france_connect_informations table
|
2021-05-05 14:28:20 +02:00 |
|
simon lehericey
|
50f679746f
|
do not extract twice the same dossier_id if the dossier is followed twice
|
2021-05-04 16:38:34 +02:00 |
|
Paul Chavard
|
bcbfcdc537
|
Revert "Merge pull request #6142 from tchak/enable_brouillon_extend_conservation"
This reverts commit 48eb4d9778 , reversing
changes made to 5539d5cb8c .
# Conflicts:
# app/models/dossier.rb
# db/schema.rb
|
2021-05-04 16:03:29 +02:00 |
|
Christophe Robillard
|
01f180022b
|
prend en compte uniquement les pj pour estimer la taille d'un dossier
|
2021-05-04 12:50:12 +02:00 |
|
Paul Chavard
|
f6508899de
|
Refactor NotificationMailer
|
2021-05-04 12:05:06 +02:00 |
|
Paul Chavard
|
a4fd629f4a
|
Enable user destruction
|
2021-05-04 12:05:06 +02:00 |
|
Paul Chavard
|
b2a867266a
|
Allow users to extend conservation on drafts
|
2021-04-29 19:50:30 +02:00 |
|
Christophe Robillard
|
f40d96fbd2
|
Revert "Revert "Export de tous les dossier d'une démarche""
This reverts commit d9a588b52e .
|
2021-04-29 17:29:47 +02:00 |
|
krichtof
|
d9a588b52e
|
Revert "Export de tous les dossier d'une démarche"
|
2021-04-29 16:07:18 +02:00 |
|
simon lehericey
|
db23a853a9
|
fetch all notification at once
|
2021-04-29 11:23:41 +02:00 |
|
simon lehericey
|
a4e813380a
|
one query for avis count
|
2021-04-29 11:23:41 +02:00 |
|
simon lehericey
|
8b73d8804c
|
fetch all exports at once by groupe_instructeurs_ids
|
2021-04-29 11:23:41 +02:00 |
|
Christophe Robillard
|
09870c918d
|
prevent race conditions when creating archives
|
2021-04-28 11:40:58 +02:00 |
|