Simon Lehericey
f6359cb7aa
gestionnaire invited on dossier for avis, can update Avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
f24e4a77d3
Gestionnaire can view dossier if he is invited on dossier
2017-05-29 11:44:28 +02:00
Mathieu Magnin
7c662aa7b2
Gestionnaire invited on dossier for avis, cannot see private form / change dossier state / follow dossier / see invited people / see others avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
43f481b7ff
Gestionnaire can list dossiers where he is invited for avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
e831442cbd
Associate gestionnaire to avis if gestionnaire is known
2017-05-29 11:44:28 +02:00
Mathieu Magnin
c3bf15d49f
Create and list Avis on Dossier detail page
2017-05-29 11:44:28 +02:00
Simon Lehericey
f1b923e30f
ApiControllers: remove useless meta data
2017-05-23 10:46:37 +02:00
Simon Lehericey
a213032f28
Refactor: use select block to select stuff
2017-05-17 11:18:01 +02:00
gregoirenovel
9c3cde2b2e
Move CommentairesController#notify_user_user_with_mail to Commentaire
2017-05-12 16:31:02 +02:00
gregoirenovel
02a8cf3fe1
Use the initialisation date for the cumulative dossiers
...
We want to show when dossiers were published, not
created
2017-05-05 12:03:54 +02:00
gregoirenovel
06714b5fc3
Add a date_attribute argument to StatsController#cumulative_hash
2017-05-05 12:03:53 +02:00
gregoirenovel
dbf891b333
Use the initialisation date for the dossiers 30 days flow
...
We want to show when dossiers were published, not
created
2017-05-05 12:03:53 +02:00
gregoirenovel
c7999b9691
Add a date_attribute argument to StatsController#thirty_days_flow
2017-05-05 12:03:53 +02:00
gregoirenovel
3bd5e32dff
Add a system to restrain the email templates tags to specific templates
2017-05-04 16:17:39 +02:00
gregoirenovel
eff9e556e9
[ Fix #162 ] Deny dossier access for an unauthorized accompagnateur
2017-05-03 10:28:29 +02:00
gregoirenovel
f58a626648
[ Fix #99 ] Improve the info message in _dossier_link.html.haml
2017-04-26 16:47:38 +02:00
gregoirenovel
14b7badfed
Eager-load the dossier’s procedure when possible
2017-04-26 09:53:10 +02:00
Mathieu Magnin
822c7cdd96
Add human version translation for state
2017-04-21 14:51:35 +02:00
Mathieu Magnin
d87989622c
Remove useless code
2017-04-21 14:51:34 +02:00
Mathieu Magnin
762a11fc6f
Define .termine as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
320ff4839f
Define .en_instruction as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
7a9fd77af0
Remove archived=false filter from en_construction scope (Fix : archived dossier is not shown to user)
2017-04-21 14:36:50 +02:00
Mathieu Magnin
688a3d8f31
Define .brouillon as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
21a2a5402b
Remove unused service
2017-04-21 14:36:50 +02:00
Mathieu Magnin
1a628dc42c
Remove DossierListFacade dependency
2017-04-21 14:36:50 +02:00
gregoirenovel
e504531ca0
Use the new_application layout for the landing page
2017-04-20 12:18:16 +02:00
Simon Lehericey
2b969ef575
MandatoryAttachment: group missing errors logic together
...
and show errors only if not draft
2017-04-19 15:45:45 +02:00
gregoirenovel
b00eb914da
Use case statements instead of if statements where appropriated
2017-04-19 11:57:49 +02:00
gregoirenovel
9071656b55
Use #each instead of #map where appropriated
2017-04-19 11:57:49 +02:00
Simon Lehericey
4cd21580fb
DescriptionController: move html_safe to the view
...
html_safe could not work upon redirection as stated here :
https://groups.google.com/forum/#!topic/rubyonrails-core/z52zgDgUmbs
2017-04-19 10:52:04 +02:00
Simon Lehericey
eb3bb63a8f
DescriptionController: remove useless @champs
2017-04-19 10:52:04 +02:00
Simon Lehericey
866a54085c
DescriptionController: cosmetic
2017-04-19 10:52:04 +02:00
Simon Lehericey
157d1818b2
DescriptionController: move instance var to local var
2017-04-19 10:52:04 +02:00
Simon Lehericey
367b7c6ae1
DescriptionController: use common system to redirect with errors
2017-04-18 17:48:03 +02:00
Simon Lehericey
e49ea2d0e0
PiecesJustificative: add field to set it mandatory
...
small css to align the fields
2017-04-18 17:48:03 +02:00
gregoirenovel
f4ff778a5c
Add a missing newline before the end of the controller
...
Same spacing rules at the top and at the bottom
of the file
2017-04-11 16:58:27 +02:00
gregoirenovel
913735554c
Improve StatsController#thirty_days_flow and #clean_hash
2017-04-11 16:58:27 +02:00
gregoirenovel
11015787bf
Add new total numbers to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
52ea4a1b8d
Add new charts and a segmented control to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
e370c4e393
Exclude draft Dossiers and unpublished Procedures from Stats
2017-04-11 15:29:19 +02:00
gregoirenovel
2074ac93ba
Add StatsController#thirty_days_flow_hash
2017-04-11 15:29:19 +02:00
gregoirenovel
e192038045
Rename the variables in StatsController#index
2017-04-11 15:29:19 +02:00
gregoirenovel
c4c6095abd
Only show the last 30 days of data in Stats
2017-04-11 15:29:19 +02:00
gregoirenovel
de01914fa7
Fix the where clause in Stats
...
Now properly show the last 90 days of data instead
of strict quarters.
With the previous code, on the
1st of january, april, july and october, only one
day of data would be shown.
2017-04-11 15:29:18 +02:00
gregoirenovel
f84cd7f11b
Make Stats a public page
2017-04-11 15:29:18 +02:00
Simon Lehericey
4a16fb2ce2
DescriptionController: refacto
2017-04-11 14:45:30 +02:00
Simon Lehericey
ed36897337
DossiersController: add get procedure libelle
2017-04-11 13:54:33 +02:00
Simon Lehericey
ccf956ec01
DescriptionController: refactor redirection for draft
2017-04-11 12:11:10 +02:00
Simon Lehericey
d14a75c24a
DescriptionController: refactor check_mandatory_fields
2017-04-11 12:11:10 +02:00
Simon Lehericey
191b29aff5
DescriptionController: simplify update logic
2017-04-11 12:11:10 +02:00