Commit graph

3226 commits

Author SHA1 Message Date
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
LeSim
afae7478f5 Merge pull request #619 from sgmap/brakeman
Brakeman
2017-07-21 09:39:32 +02:00
gregoirenovel
ccbf27a16a Update rubocop part in the README
We now need to run it with the -R flag so that
Rails cops are run
2017-07-20 18:28:21 +02:00
gregoirenovel
4d3bf972d8 Add brakeman to the README 2017-07-20 18:28:21 +02:00
gregoirenovel
67d596c360 Add brakeman to the CI config 2017-07-20 18:28:20 +02:00
gregoirenovel
a11e2a7180 Add brakeman to the gemfile 2017-07-20 18:28:20 +02:00
gregoirenovel
825c8ff575 Merge pull request #617 from sgmap/fix_sql_injections
Fix SQL injections
2017-07-20 18:28:06 +02:00
Mathieu Magnin
ed11ee4fb4 Fix SQL injections 2017-07-20 18:22:14 +02:00
Mathieu Magnin
e19410ed75 Merge pull request #618 from sgmap/check_admin_ownership_on_procedure
Check admin ownership on procedure
2017-07-20 18:21:30 +02:00
Mathieu Magnin
1d0734dda2 Admin should be owner of procedure to hide it 2017-07-20 16:40:11 +02:00
Mathieu Magnin
e468612d95 Admin should be owner of procedure to destroy it 2017-07-20 14:30:36 +02:00
LeSim
409bed4080 Merge pull request #616 from sgmap/dossier_remove_unused_ordered_commentaires
Dossier: remove unused ordered_commentaires
2017-07-20 11:16:46 +02:00
Simon Lehericey
5ec0e2ed18 Dossier: remove unused ordered_commentaires
as commentaires are sorted on the view _messagerie.haml.html
dossier_facade.commentaires.object.sort
2017-07-20 11:03:10 +02:00
Mathieu Magnin
7414190d2a Merge pull request #613 from sgmap/fix_315_export_csv_with_champs_ordered
Fix 315 export csv with champs ordered
2017-07-19 16:58:34 +02:00
Mathieu Magnin
b0c0477622 [Fix #315] Order champs by procedure order in export 2017-07-19 16:31:30 +02:00
Mathieu Magnin
015260ff13 Gestionnaire can download export only for his procedures 2017-07-19 16:31:30 +02:00
gregoirenovel
ad08bca621 Merge pull request #611 from sgmap/remove-useless-tests
Remove useless tests
2017-07-19 16:00:02 +02:00
gregoirenovel
9666ed7d5d Remove useless tests 2017-07-19 13:32:59 +02:00
LeSim
7c0faf5bad Merge pull request #607 from sgmap/enforce_constraints_on_follow_table
Follow: follow must be uniq
2017-07-18 15:32:05 +02:00
Simon Lehericey
3a17c86a74 Follow: follow must be uniq 2017-07-18 15:12:10 +02:00
LeSim
fdd25e79c7 Merge pull request #606 from sgmap/clean_followed_dossier
Rake: add task to clean followed_dossiers
2017-07-18 15:06:14 +02:00
Simon Lehericey
490f71856d Rake: add tasks to clean followed_dossiers 2017-07-18 15:00:00 +02:00
gregoirenovel
26cfa6b2e9 Merge pull request #603 from sgmap/sort-procedures
[Fix #168] Sort published and archived procedures by publishing date
2017-07-18 13:45:21 +02:00
gregoirenovel
c464a6faba [Fix #168] Sort published and archived procedures by publication_date 2017-07-18 13:44:03 +02:00
gregoirenovel
70acbd1ecb Merge pull request #602 from sgmap/fix-146
Fix #146
2017-07-18 13:38:01 +02:00