Commit graph

7650 commits

Author SHA1 Message Date
benjaminhenkel
480aefe815 Update landing.html.haml
Changement du numéro de téléphone de contact disponible sur le site TPS
2017-08-30 17:15:02 +02:00
gregoirenovel
32e08bea82 Merge pull request #680 from sgmap/workaround_preview_issue
Dossier: workaround preview bug linked to champs with dossier.id == 0
2017-08-29 16:38:51 +02:00
Simon Lehericey
5737ebd090 Dossier: workaround preview bug linked to champs with dossier.id == 0 2017-08-29 16:30:34 +02:00
gregoirenovel
0118c43d95 Merge pull request #678 from sgmap/preview-perf
Preview perf
2017-08-29 15:16:06 +02:00
gregoirenovel
79eccb2de0 Add a method to speed up a conditional statement 2017-08-29 14:57:23 +02:00
gregoirenovel
0a8ac645d8 Shave some requests in build_default_champs 2017-08-29 14:22:14 +02:00
gregoirenovel
650a39b371 Use delete_all instead of destroy_all to batch delete 2017-08-29 14:22:14 +02:00
LeSim
fa395191f3 Merge pull request #669 from sgmap/fix_667_gestionnaire_add_with_uppercase
[Fix #667] Can add an already register gestionnaire with uppercase email
2017-08-28 16:27:15 +02:00
Simon Lehericey
806c41af38 [Fix #667] Can add an already register gestionnaire with uppercase email 2017-08-28 15:36:34 +02:00
LeSim
8ff275659b Merge pull request #664 from sgmap/rubocop_spacing_rule
Rubocop: enable Layout/SpaceAroundOperators
2017-08-28 13:43:42 +02:00
Simon Lehericey
a7b00ee847 Rubocop: enable Layout/SpaceAroundOperators 2017-08-28 13:39:13 +02:00
LeSim
740cc7dc3f Merge pull request #665 from sgmap/rubocop_enable_indentation_with
Rubocop: enable indentation width rule
2017-08-28 13:37:01 +02:00
Simon Lehericey
62f1b9c712 Rubocop: enable indentation width rule 2017-08-28 12:20:58 +02:00
Mathieu Magnin
324628835d Merge pull request #640 from sgmap/clean_assign_to_duplicates
Clean assign_to duplicates
2017-08-28 11:00:19 +02:00
Mathieu Magnin
7fdcc91e0c Clean assign_to duplicates with a rake task 2017-08-28 10:42:29 +02:00
Mathieu Magnin
b377d8b538 Add id column on AssignTo 2017-08-28 10:42:29 +02:00
Mathieu Magnin
47bb6250a3 Merge pull request #659 from sgmap/fix_658
[Fix #658] when dossier linked to avis is hidden, do not crash applic…
2017-08-28 10:23:59 +02:00
Mathieu Magnin
dd1fea78ac [Fix #658] when dossier linked to avis is hidden, do not crash application 2017-08-28 10:11:50 +02:00
Mathieu Magnin
116398d9d8 Merge pull request #655 from sgmap/remove-seeds
[Ref #288] Remove the seeds.rb file which required an uncommitted file
2017-08-25 15:41:27 +02:00
gregoirenovel
f9e0812f92 [Ref #288] Remove the seeds.rb file which required an uncommitted file
This caused an error while setting up the app
2017-08-25 15:34:30 +02:00
Mathieu Magnin
348d6210a8 Merge pull request #641 from sgmap/395_export_user_email
395 export user email
2017-08-25 12:06:51 +02:00
Mathieu Magnin
dd581082ca [Fix #395] Export user email in API 2017-08-25 12:01:53 +02:00
Mathieu Magnin
931e547afa [Fix #395] Export user email in csv 2017-08-25 12:01:52 +02:00
Mathieu Magnin
9fbe72a885 Merge pull request #654 from sgmap/readme-fix
Readme fix
2017-08-25 10:41:17 +02:00
gregoirenovel
ab8edc99ce Add a deployment part to the README 2017-08-25 10:36:28 +02:00
gregoirenovel
f3616cb71f Improve some setup code in the README 2017-08-25 10:36:28 +02:00
Mathieu Magnin
d05e73181d Merge pull request #656 from sgmap/fix-warnings
Fix warnings
2017-08-25 10:34:09 +02:00
gregoirenovel
af91751e1e Refactor a test to avoid logging a Sentry error message 2017-08-21 16:34:52 +02:00
gregoirenovel
2908a81a1b Remove a warning
We used to have `warning: removing `initialize'
may cause serious problems` when running this test
2017-08-21 15:23:01 +02:00
gregoirenovel
0f0c9772f3 Merge pull request #644 from sgmap/more_includes
More includes
2017-08-07 09:30:14 +02:00
Simon Lehericey
d40eef284d Dossier: fixup n+1 champ query 2017-08-03 13:02:13 +02:00
Simon Lehericey
1363999621 Dossier: fixup n+1 private champ query 2017-08-03 13:01:55 +02:00
Mathieu Magnin
57112e6272 Merge pull request #632 from sgmap/fix_589
Force birthdate format on identification page
2017-08-01 16:56:55 +02:00
Mathieu Magnin
539fc682a0 Format date to iso with dedicated method 2017-08-01 16:47:44 +02:00
Mathieu Magnin
39293a7be6 [Fix #589] Add task to clean birthdate formats 2017-08-01 16:47:44 +02:00
Mathieu Magnin
a3b069e501 [Fix #589] When getting birthdate from France Connect format it to ISO 2017-08-01 16:47:44 +02:00
Mathieu Magnin
3804ab5911 [Fix #589] When displaying individual form, fill birthdate input 2017-08-01 16:47:44 +02:00
Mathieu Magnin
03fde0a502 [FIX #589] Force birthdate format when saving 2017-08-01 16:47:43 +02:00
Mathieu Magnin
1aabc6c82b [FIX #589] Validate birthdate from user input 2017-08-01 16:47:43 +02:00
Mathieu Magnin
dae700788f Fix test that fail when is run on the 1st day of the month following a 31 days month 2017-08-01 16:42:39 +02:00
LeSim
0ba5ad6b16 Merge pull request #633 from sgmap/accessibility_improvement
Accessibility: reenable :focus pseudo class
2017-07-26 14:40:07 +02:00
Simon Lehericey
09ed947890 Accessibility: reenable :focus pseudo class
usefull when navigating using keyboard to highlight form send button
2017-07-26 11:17:40 +02:00
LeSim
56a9376a60 Merge pull request #622 from sgmap/rack_mini_profiler
Add rack_mini_profiler
2017-07-25 14:40:44 +02:00
Mathieu Magnin
d097860b04 Enable rack mini profiler when super admin is connected 2017-07-25 14:35:54 +02:00
Simon Lehericey
0a1edce5e0 Add rack_mini_profiler 2017-07-25 14:35:54 +02:00
LeSim
2b53023e5f Merge pull request #621 from sgmap/circleci_3_workers
CircleCi: increase to 3 parallel workers
2017-07-24 10:09:07 +02:00
Simon Lehericey
6b9df21a78 CircleCi: increase to 3 parallel workers 2017-07-21 14:24:34 +02:00
LeSim
0fef38201c Merge pull request #620 from sgmap/rearrange_avis_logic
Rearrange avis logic
2017-07-21 11:32:43 +02:00
Simon Lehericey
7016bdc49a Avis: move assign_gestionnaire logic to avis model 2017-07-21 11:22:16 +02:00
Simon Lehericey
fe1b97b738 Avis: move notify_gestionnaire to private method 2017-07-21 11:19:18 +02:00