Commit graph

4039 commits

Author SHA1 Message Date
Mathieu Magnin
9a7e57e0b5
Merge pull request #998 from sgmap/fix_task_for_missing_pj
If pj is missing do not crash
2017-11-28 16:14:09 +01:00
Mathieu Magnin
30d9f4721b If pj is missing do not crash 2017-11-28 16:06:19 +01:00
gregoirenovel
47a10b268c
Merge pull request #989 from sgmap/fix-929
[Fix #929] Add a current-tab only print feature
2017-11-28 15:23:17 +01:00
gregoirenovel
db3e07820a [Fix #929] Add a current-tab only print feature 2017-11-28 15:22:50 +01:00
gregoirenovel
3c5361a96f Correctly handle the print stylesheet 2017-11-28 15:22:50 +01:00
gregoirenovel
6f753a45c9
Merge pull request #993 from sgmap/accompagnateur-header-fixes
Accompagnateur header fixes
2017-11-28 15:21:53 +01:00
gregoirenovel
10f1859a2a Properly style the button when there is a motivation or attestation 2017-11-28 15:21:34 +01:00
gregoirenovel
5c92989fc8 Properly style the label when there is no motivation nor attestation 2017-11-28 15:21:34 +01:00
gregoirenovel
e3ce5115a2 Rename two classes so that they are more meaningful 2017-11-28 15:21:34 +01:00
Mathieu Magnin
4302997f08
Merge pull request #937 from sgmap/upload_file_with_comment
Upload file with comment on new UI
2017-11-28 15:17:27 +01:00
Mathieu Magnin
2db1d93a84 Remove this test because no Notification should be created when gestionnaire is sending a file on messagerie 2017-11-28 15:07:11 +01:00
Mathieu Magnin
fa95c312ff Old UI : Plug messagerie on new commentaire file system 2017-11-28 15:07:10 +01:00
Mathieu Magnin
eae16f7746 New UI : Regular messagerie and avis messagerie should use same partials 2017-11-28 15:07:10 +01:00
Mathieu Magnin
886d278d77 New UI : Move messagerie template in order to share them later 2017-11-28 15:07:10 +01:00
Mathieu Magnin
150ff5e7ca New UI : Use RemoteDownloader class to hide ovh url 2017-11-28 15:07:10 +01:00
Mathieu Magnin
7ea7eea952 New UI : Style file uploader 2017-11-28 15:07:10 +01:00
Mathieu Magnin
7f4652fd1e New UI : Accept only few extensions 2017-11-28 15:07:10 +01:00
Mathieu Magnin
4d12aa222c Validate body is present 2017-11-28 15:07:10 +01:00
Mathieu Magnin
6c39aba978 Validates commentaire file size 2017-11-28 15:07:10 +01:00
Mathieu Magnin
76cb54988d Validate virus free with Clamav 2017-11-28 15:07:10 +01:00
Mathieu Magnin
158adc2472 New UI : Check if commentaire is correctly saved 2017-11-28 15:07:10 +01:00
Mathieu Magnin
bdadf12581 Rake task : Migrate old piece justificative in commentaire to file attribute 2017-11-28 15:07:09 +01:00
Mathieu Magnin
ae5e6653cb [Fix #888] New UI : Add upload on commentaire form 2017-11-28 15:07:09 +01:00
Mathieu Magnin
5775901868 Add commentaire file uploader 2017-11-28 15:07:09 +01:00
Mathieu Magnin
ff44fbe523 Add carrierwave i18n gem 2017-11-28 15:07:09 +01:00
Mathieu Magnin
e07e60b6aa
Merge pull request #924 from sgmap/geojson_api
Geojson api
2017-11-28 14:47:31 +01:00
Simon Lehericey
70411ee139 Api: update docs 2017-11-28 14:41:11 +01:00
Simon Lehericey
28a047a64b [Fix #508]Api GeoJson: export dossier.json_latlngs to geojson 2017-11-28 14:41:08 +01:00
Simon Lehericey
f34546cf2a [Fix #508]Api GeoJson: export cadastre 2017-11-28 14:37:12 +01:00
Simon Lehericey
9f2338a70a [Fix #508]Api GeoJson: export quartier_prioritaire 2017-11-28 14:37:12 +01:00
Mathieu Magnin
cc26eb6e87
Merge pull request #973 from sgmap/hide_export_if_no_dossier
Hide export if no dossier
2017-11-28 10:47:32 +01:00
Mathieu Magnin
d9e3efdf13 [Fix #98] If there is no dossiers do not show export button 2017-11-28 10:24:36 +01:00
Mathieu Magnin
4e91ede69f Move export button in partial 2017-11-28 10:23:42 +01:00
gregoirenovel
b73aa21385
Merge pull request #983 from sgmap/fix-160
[Fix #160] Delete the remaining link to our staging environment
2017-11-24 17:13:24 +01:00
gregoirenovel
2415d628d1 [Fix #160] Delete the remaining link to our staging environment 2017-11-24 17:08:56 +01:00
gregoirenovel
f4ac7661f8
Merge pull request #984 from sgmap/fix_957
[Fix #957] Use select2 for all menu deroulant
2017-11-24 16:38:49 +01:00
Mathieu Magnin
4a483e23bb [Fix #957] Use select2 for all menu deroulant
Displays options that are too long on mutilple lines
2017-11-24 15:36:39 +01:00
gregoirenovel
d608030ba2
Merge pull request #991 from sgmap/disable_skylight_in_staging
Disable Skylight in staging
2017-11-23 18:51:16 +01:00
Mathieu Magnin
b16366f2fd Disable Skylight in staging 2017-11-23 18:18:23 +01:00
gregoirenovel
19fbae6a78
Merge pull request #987 from sgmap/handle-no-dob
Do not crash if the user has no DOB
2017-11-23 16:06:18 +01:00
gregoirenovel
b6e0b40133 Do not crash if the user has no DOB
Related to #986
2017-11-23 15:24:34 +01:00
gregoirenovel
0ae4536369
Merge pull request #981 from sgmap/fix_980
[Fix# 980] Engagement checkbox should be checked sometimes
2017-11-23 09:41:09 +01:00
Mathieu Magnin
8edfdff0fc [Fix#980] Engagement checkbox should be checked sometimes 2017-11-23 09:40:44 +01:00
gregoirenovel
2edcc12126
Merge pull request #977 from sgmap/better_motivation_view
Better motivation view
2017-11-23 09:39:33 +01:00
Simon Lehericey
d9f44e013a [fix #878] change motivation text and display a label if not action is possible 2017-11-23 09:34:19 +01:00
Simon Lehericey
e28b18d978 Dossier: add statut method 2017-11-23 09:34:18 +01:00
Simon Lehericey
f9c2da7a5d Style: change label class form closed to success 2017-11-23 09:34:14 +01:00
gregoirenovel
c8f3b69943
Merge pull request #978 from sgmap/fix-432
[Fix #432] Stop raising a useless exception in get_position
2017-11-22 17:49:52 +01:00
gregoirenovel
1d7e7fc654 [Fix #432] Stop raising a useless exception in get_position
When an accompagnateur, in the old UI, wants to
see a map, this call crashes because he’s not
the owner or invitee on the dossier he’s looking
at, therefore current_user_dossier raises an
exception
2017-11-22 17:49:32 +01:00
gregoirenovel
abe1c3a3ea
Merge pull request #979 from sgmap/fix-871
[Fix #871] Add the date at the end of exported files
2017-11-22 17:48:41 +01:00