Commit graph

6645 commits

Author SHA1 Message Date
Paul Chavard
dc62128ed7
Merge pull request #2968 from tchak/dossier-invite
Move dossier invites handler to invites controller
2018-11-14 15:28:31 +01:00
Paul Chavard
2eb61bd6ed Move dossier invites handler to invites controller 2018-11-14 15:16:49 +01:00
Pierre de La Morinerie
f3a72482a5
Merge pull request #2992 from betagouv/fix-order-dependant-test
Fix order dependant test
2018-11-14 14:54:51 +01:00
Pierre de La Morinerie
b6521625e4 procedure_spec: add missing Timecop.return statement
Fix order-dependant test.
2018-11-14 14:49:41 +01:00
Pierre de La Morinerie
35613992fe rspec: by default use the safer bisect runner for bisecting 2018-11-14 14:49:41 +01:00
Pierre de La Morinerie
10e56a30eb
Merge pull request #2991 from betagouv/ci-print-test-files
circleci: print files used by the shell command
2018-11-14 14:49:28 +01:00
Pierre de La Morinerie
d0bac997cb circleci: print files used by the shell command
This allow to reproduce failures due to tests order more easily.
2018-11-14 14:40:55 +01:00
Pierre de La Morinerie
bccb86144e
Merge pull request #2990 from betagouv/disable-rails-traces-during-tests
spec: fix Mina enabling Rails traces during tests
2018-11-14 14:40:29 +01:00
Pierre de La Morinerie
acc6df2662 spec: fix Mina enabling Rails traces during tests
When requiring mina files, it automatically enables Rails traces. But
we don't want Rails traces during tests.

Fix this by disabling Rails traces before running tests.

Fix #2989
2018-11-14 11:55:21 +01:00
Pierre de La Morinerie
7c6437b01a
Merge pull request #2986 from betagouv/restrict-dossier-time-estimation
Restreint l'estimation de la durée de traitement à un mois
2018-11-13 17:24:22 +01:00
Pierre de La Morinerie
83031b5cdd procedure: compute the usual instruction time only for the last month 2018-11-13 17:23:31 +01:00
Pierre de La Morinerie
b693e055b7 procedure: make usual_instruction_time spec more robust 2018-11-13 17:23:31 +01:00
Pierre de La Morinerie
b1296df4c3 procedure: refactor usual_instruction_time spec 2018-11-13 17:23:31 +01:00
Paul Chavard
9528f9a690
Merge pull request #2981 from betagouv/hides-dangerous-features-from-manager
manager: hide dangerous features
2018-11-13 16:50:13 +01:00
Pierre de La Morinerie
f7c586f3e4 features: add maintenance features to the 'production' group 2018-11-13 16:38:56 +01:00
Pierre de La Morinerie
b02d50dac8 manager: improve code to hide production features 2018-11-13 16:38:56 +01:00
Paul Chavard
550885f396
Merge pull request #2983 from betagouv/rename-entities-in-manager
[Manager] Utilisation des termes métiers
2018-11-13 11:37:22 +01:00
Pierre de La Morinerie
0eb21fe8c4 manager: localize model names 2018-11-13 11:20:12 +01:00
LeSim
8b1428ddac
Merge pull request #2755 from betagouv/fix_2703_login_link
Send login link by mail
2018-11-13 10:49:02 +01:00
simon lehericey
7313ca0675 Rake: enable trusted_device for some gestionnaire 2018-11-13 10:41:45 +01:00
simon lehericey
fb76197404 SessionController: flipflop trusted device 2018-11-13 10:41:45 +01:00
simon lehericey
36621bffeb FlipFlop: enable for gestionnaire 2018-11-13 10:41:45 +01:00
simon lehericey
457bc13c75 SessionController: do not display 'Connecté' when a login_link is required 2018-11-13 10:41:45 +01:00
simon lehericey
87967568b7 SessionController: if a admin is login in, redirect to admin page 2018-11-13 10:41:45 +01:00
simon lehericey
0d8d2de5a6 Session: add trusted_device cookie 2018-11-13 10:41:45 +01:00
simon lehericey
5690599289 Session: send a mail to confirm gestionnaire login 2018-11-13 10:41:45 +01:00
simon lehericey
2613d05a4f An admin has always a gestionnaire role 2018-11-13 10:41:45 +01:00
gregoirenovel
2391c73616
Merge pull request #2975 from betagouv/percentiles
Calcul du temps de traitement estimé d'un dossier avec des percentiles
2018-11-12 10:31:20 +01:00
Pierre de La Morinerie
7a7093503a dossier: avoid the estimated duration to dangle on a new line 2018-11-12 10:22:21 +01:00
Pierre de La Morinerie
7635aede98 dossier: improve wording of estimated time
Ref #2970
2018-11-12 10:21:57 +01:00
Pierre de La Morinerie
e59bec51ef procedure: use 90th percentile to estimate the completion delay 2018-11-08 18:29:17 +01:00
Pierre de La Morinerie
5c921182ea procedure: rename mean_instruction_time to usual_instruction_time
Ref #2970
2018-11-08 17:20:06 +01:00
Pierre de La Morinerie
87a571d724
Merge pull request #2945 from betagouv/dedicated-confirmation-page
confirmation: add a dedicated page with confirmation instructions
2018-11-08 17:02:06 +01:00
Pierre de La Morinerie
c7ac43cfe7 confirmation: add a dedicated page with confirmation instructions
Fix #2586
2018-11-08 16:20:05 +01:00
Pierre de La Morinerie
c927e6651d footer: fix extra horizontal pixels being added to the page 2018-11-08 16:20:05 +01:00
Paul Chavard
39526f57b5
Merge pull request #2963 from tchak/dossier-state-serialization
Cleanup dossier state
2018-11-08 15:11:08 +01:00
Paul Chavard
33c6ddc452 Remove dead code related to dossier state 2018-11-08 14:56:45 +01:00
Paul Chavard
eede94a59f Use dossier_legacy_state helper 2018-11-08 14:56:45 +01:00
Paul Chavard
0fe59a7c65 Add dossier_legacy_state helper 2018-11-08 14:56:45 +01:00
Paul Chavard
a524c72add Use dossier_display_state helper 2018-11-08 14:56:45 +01:00
Paul Chavard
f09a7a01c8 Add dossier_display_state helper 2018-11-08 14:56:45 +01:00
Paul Chavard
624b442cd7 Remove “Outil de changement d'état d'un dossier” 2018-11-08 14:56:45 +01:00
Paul Chavard
b9325147d1
Merge pull request #2958 from tchak/optimize-api
Eliminate n+1 from API calls
2018-11-08 14:55:19 +01:00
Paul Chavard
ebaecd1edd Fix nutriscore rake task 2018-11-08 14:45:09 +01:00
Paul Chavard
6706b9004f Fix includes on api queries 2018-11-08 14:45:09 +01:00
Paul Chavard
80189def98 Remove n+1 calls from API queries 2018-11-08 14:45:09 +01:00
gregoirenovel
f170ebb04b
Merge pull request #2947 from betagouv/fix-2946-matomo
Matomo analytics
2018-11-08 14:43:38 +01:00
Chaïb Martinez
8d02b4dbdf Add Matomo Suivi page 2018-11-08 14:25:37 +01:00
Chaïb Martinez
3187b5b05a Add Matomo tracking code 2018-11-07 17:34:10 +01:00
Frederic Merizen
86fcf9cf23
Merge pull request #2962 from betagouv/frederic/mass_process_dossiers
Mass-process dossiers for procedure 8670
2018-11-07 15:27:56 +01:00