Commit graph

147 commits

Author SHA1 Message Date
simon lehericey
3b3849e4f3 Gestionnaire: move messagerie_avis_path to messagerie_gestionnaire_avis_path 2018-02-22 17:02:20 +01:00
simon lehericey
c58b32a26d Gestionnaire: move instruction_avis_path to instruction_gestionnaire_avis_path 2018-02-22 17:02:20 +01:00
simon lehericey
a416efc49a Gestionnaire: move personnes_impliquees_dossier_path to personnes_impliquees_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
63163e5022 Gestionnaire: move avis_dossier_path to avis_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
87a4029f1a Gestionnaire: move annotations_privees_dossier_path to annotations_privees_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
be191a680e Gestionnaire: move messagerie_dossier_path to messagerie_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
Mathieu Magnin
6ed1d7f833 [Fix 1413] User header should not contain accompagnateurs links 2018-02-21 14:22:59 +01:00
gregoirenovel
ee145180a3 Add a piece_justificative_file attribute to Champ 2018-02-15 11:15:23 +01:00
Mathieu Magnin
d49659fc73 [Fix #478] /recherche can deal with very big int ☺️ 2018-02-07 11:56:22 +01:00
gregoirenovel
142241dd16 Remove notifications 2018-02-06 14:07:20 +01:00
Frederic Merizen
d919d62cf7 [Fix #1012] Send dossier to other accompagnateur 2018-02-01 16:58:01 +01:00
gregoirenovel
2814fcf27e Enable the Layout/SpaceAroundKeyword cop 2018-01-18 10:53:34 +01:00
gregoirenovel
16254899e1 [Fix #1199] Make id search work for experts 2018-01-16 11:03:53 +01:00
gregoirenovel
d33d488db7 Avoid EOL if statements 2018-01-16 11:01:52 +01:00
gregoirenovel
73dd58b6cd Enable the Layout/MultilineMethodCallIndentation cop 2018-01-15 22:33:13 +01:00
gregoirenovel
5125cf8396 Enable the Layout/FirstParameterIndentation cop 2018-01-15 22:14:39 +01:00
gregoirenovel
7c34807f46 Don’t use unless 2018-01-12 11:32:43 +01:00
Mathieu Magnin
04e9f7be3e [Fix #1149] Move avis actions to new gestionnaire controller 2018-01-08 16:50:15 +01:00
Frederic Merizen
6a85094e1a [#1110] Make processed_at date available for attestation generation 2018-01-05 11:51:08 +01:00
Frederic Merizen
2ae67a44f2 [Fix #1143] Set motivation before generating attestation 2017-12-22 10:23:40 +01:00
Simon Lehericey
9c354e18eb [fix 363] Dossier: remove next_step! 2017-12-15 15:43:30 +01:00
Simon Lehericey
907db89371 [fix 363] Dossier: remove next_step! action = follow 2017-12-15 15:43:30 +01:00
LeSim
3dda27b281 [fix #504] Dossier: received -> en_instruction 2017-12-15 12:10:54 +01:00
LeSim
56545933a9 [fix #504] Dossier: initiated -> en_construction
The change must not impact the api
2017-12-15 11:52:09 +01:00
Mathieu Magnin
7d668315db [Fix #1016] display notifications for annotations privées 2017-12-14 13:57:20 +01:00
Mathieu Magnin
c3e7e39947 [Fix #1016] display notifications for avis 2017-12-14 13:57:20 +01:00
Mathieu Magnin
8e67e5c057 [Fix #1016] display notifications for new messages 2017-12-14 13:57:19 +01:00
Mathieu Magnin
c6be745067 [Fix #1016] display notifications for champs publics 2017-12-14 13:57:15 +01:00
LeSim
c3b4e3f964 [fix #1067, fix #1030] AvisController inherit from GestionnaireController
Should not break anything as avis controller already supposed a gestionnaire is logged in.
2017-12-14 11:43:20 +01:00
gregoirenovel
d6b093fd2c Do not add filters with blank values 2017-12-06 17:26:45 +01:00
gregoirenovel
8e07ade8b2 Correctly filter date columns 2017-12-06 17:26:45 +01:00
gregoirenovel
d75a3872d1 [Fix #963] Add a "personnes impliquées" tab 2017-12-05 17:04:17 +01:00
gregoirenovel
dd47f96424 Improve the names of some parameters in DossiersController 2017-12-01 14:28:07 +01:00
gregoirenovel
a04af24cbf Add DossiersController#terminer 2017-12-01 14:28:07 +01:00
gregoirenovel
a5b4b20a7d Add DossiersController#repasser_en_construction 2017-12-01 14:28:07 +01:00
gregoirenovel
eb55dfc0c8 Add and use DossiersController#passer_en_instruction 2017-12-01 14:28:07 +01:00
gregoirenovel
6c785d71b4 Simplify code in NewGestionnaire::DossiersController
We already have procedure: it is given by
ProceduresController, which this controller
inherits form
2017-11-30 17:18:32 +01:00
Simon Lehericey
bbcf350d7d [fix #997] New Style: allow new line in messagerie 2017-11-30 16:07:48 +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
158adc2472 New UI : Check if commentaire is correctly saved 2017-11-28 15:07:10 +01:00
Mathieu Magnin
ae5e6653cb [Fix #888] New UI : Add upload on commentaire form 2017-11-28 15:07:09 +01:00
gregoirenovel
5361e4e1e9 [Fix #871] Add the date at the end of exported files 2017-11-22 17:27:57 +01:00
gregoirenovel
c8e62ad095 recherches -> recherche 2017-11-22 10:48:38 +01:00
Simon Lehericey
2b146a6d62 Notifications: show dossiers with notification in first place 2017-11-20 17:22:52 +01:00
Simon Lehericey
ed4e885e6f Notification: new acknowledgment system 2017-11-10 16:29:45 +01:00
gregoirenovel
316d8e09b5 Allow accompagnateurs to print a Dossier 2017-10-16 09:33:58 +02:00
gregoirenovel
8281a6474e Force a single query for some includes
As explained in
https://blog.bigbinary.com/2013/07/01/preload-vs-eager-load-vs-joins-vs-includes.html

Otherwise the `where` fails because the `includes`
is done using another query
2017-10-10 18:33:20 +02:00
Simon Lehericey
e20d403b20 DossierController: a archived dossier is not followed 2017-10-05 16:59:26 +02:00
Simon Lehericey
19b3416361 Gestionnaire: add unfollow method 2017-10-05 16:59:26 +02:00
Simon Lehericey
01da457ad0 DossierController: a dossier commented is followed 2017-10-05 16:59:26 +02:00
gregoirenovel
31b9f8950e Increase the number of dossiers on the procedure page
Plus remove some trailing whitespace
2017-10-05 13:28:24 +02:00
gregoirenovel
0705efde30 Add filtering to the dossiers table 2017-10-02 17:45:22 +02:00
gregoirenovel
801318b053 Memoize statut 2017-10-02 17:45:22 +02:00
gregoirenovel
3df9356021 Add field sort to the dossiers table 2017-10-02 17:45:22 +02:00
gregoirenovel
e1bdbec815 Allow the customization of the dossiers table 2017-10-02 17:45:22 +02:00
Simon Lehericey
2b760c85c4 [Fix #763] Add annotations_privees to buggy annotation system 2017-09-27 15:08:34 +02:00
Simon Lehericey
04d1e0f0e8 Notification: instruction -> avis 2017-09-27 12:16:33 +02:00
Simon Lehericey
f5a227fa92 [Fix #762] move dossier instruction -> dossier annotations_privees 2017-09-27 12:16:33 +02:00
Simon Lehericey
a421f0257e [Fix #762] split annotations and avis 2017-09-27 12:08:55 +02:00
Mathieu Magnin
6a58873ba7 Add pagination on avis 2017-09-22 10:19:26 +02:00
Mathieu Magnin
2737a8d529 Add pagination on dossiers list 2017-09-22 10:19:25 +02:00
Simon Lehericey
3c3e303a59 Dossier instruction: can ask for a confidentiel avis 2017-09-20 15:42:26 +02:00
Simon Lehericey
caaa3169e5 Avis instruction: can ask for a confidentiel avis 2017-09-20 15:42:26 +02:00
Simon Lehericey
112e3a5793 Procedures: redirect to avis if suitable 2017-09-20 15:42:26 +02:00
Simon Lehericey
3dfd77e914 Avis: add messagerie 2017-09-20 15:42:26 +02:00
Simon Lehericey
88c27479ee Avis: instruction 2017-09-20 15:42:26 +02:00
Simon Lehericey
a1f9f7aa75 Avis: show 2017-09-20 15:42:26 +02:00
Simon Lehericey
3cc09c98f9 Avis: index 2017-09-20 15:42:26 +02:00
Mathieu Magnin
581da1921e Add a flash message after comment is created 2017-09-13 16:27:08 +02:00
Simon Lehericey
a298c48e8f Dossier: add notification icon 2017-09-06 11:13:50 +02:00
Simon Lehericey
fbd16b8c75 Procedure show: add notification icon 2017-09-06 11:11:47 +02:00
Simon Lehericey
3e93d21bf5 Procedure Index: add notification icon 2017-09-06 11:11:47 +02:00
Mathieu Magnin
bf97a111f9 Old recherche with new design 2017-09-06 11:11:43 +02:00
Mathieu Magnin
1e61f1388b Move layout configuration on gestionnaire controller 2017-09-06 11:11:41 +02:00
Simon Lehericey
3e5d0dce6a NewDesign: can add annotations 2017-09-06 11:11:37 +02:00
Simon Lehericey
2923d4448b NewDesign: can ask a new avis 2017-09-06 11:11:36 +02:00
Simon Lehericey
f03d8ef909 NewDesign: add dossier instruction view 2017-09-06 11:11:36 +02:00
Mathieu Magnin
f3f2b6acc2 Avoid n+1 because of gestionnaire.follows?(dossier) 2017-09-06 11:11:32 +02:00
Mathieu Magnin
d780ab1c90 Avoid n+1 because of user.email 2017-09-06 11:11:32 +02:00
Mathieu Magnin
373d9999fc Add map for gestionnaire 2017-09-06 11:11:28 +02:00
gregoirenovel
b4a1f4f248 Remove a useless scope call
A gestionnaire’s dossiers are already filtered so
that the brouillon ones do not appear
2017-09-06 11:11:27 +02:00
gregoirenovel
091fa1d099 Order a Gestionnaire’s procedures
First display the procédures publiées, sorted
by publication date, and then the procédures
archivées, sorted by archiving date
2017-09-06 11:11:27 +02:00
Simon Lehericey
714b2a5f08 NewDesign: gestionnaire can add a new commentaire 2017-09-06 11:11:25 +02:00
Simon Lehericey
497f898e1b NewDesign: add dossier messagerie show 2017-09-06 11:11:24 +02:00
Simon Lehericey
b80d6a6a59 Follow: add flash notice to dossier_controller 2017-09-06 11:11:23 +02:00
Simon Lehericey
6cff044a50 NewDossierController: add next_step follow 2017-09-06 11:11:22 +02:00
Simon Lehericey
8b2366cb98 GestionnaireDossierController: use gestionnaire follow 2017-09-06 11:11:21 +02:00
Mathieu Magnin
f9f313e990 Add identité demandeur for entreprise on dossier detail page 2017-09-06 11:11:15 +02:00
Mathieu Magnin
5b417889b2 Use same counters on procedures index than show 2017-09-06 11:11:14 +02:00
Simon Lehericey
a064ae64a4 NewDesign: add archive and unarchive actions on dossier 2017-09-06 11:11:12 +02:00
Simon Lehericey
eb65318844 NewDesign: add follow and unfollow actions on dossier 2017-09-06 11:11:12 +02:00
Simon Lehericey
ad1a11ab52 NewDesign: procedure show add dossier table 2017-09-06 11:11:11 +02:00
Simon Lehericey
b48af51ee9 NewDesign: procedure show only header 2017-09-06 11:11:11 +02:00
Mathieu Magnin
622a170793 Add and design new #index on procedures for gestionnaires 2017-09-06 11:11:07 +02:00
Simon Lehericey
4e6a8c5939 New Routes: add new_gestionnaire/dossier_controller attestation 2017-07-03 14:09:14 +02:00
Simon Lehericey
94f8fb748f New Routes: add new_gestionnaire/procedures_controller 2017-07-03 14:09:14 +02:00
Simon Lehericey
3eec07ac08 New Routes: add new_gestionnaire/gestionnaire_controller 2017-07-03 14:09:14 +02:00