Commit graph

1438 commits

Author SHA1 Message Date
gregoirenovel
5253f07b69 Use the order_by_updated_at scope in Dossier 2017-05-30 15:41:35 +02:00
gregoirenovel
7eed44d430 Use the not_archived scope in Dossier 2017-05-30 15:41:35 +02:00
gregoirenovel
f2fe06e86f Add the not_brouillon scope on Dossier 2017-05-30 15:41:35 +02:00
Mathieu Magnin
69a5857322 [Fix #264] Add pie chart to count administrations 2017-05-30 15:36:21 +02:00
Simon Lehericey
ae8b126594 ProcedureOverview: use procedure_url to link with absolute path in email 2017-05-30 15:03:51 +02:00
gregoirenovel
9585142468 Group the cumulative and monthly charts 2017-05-30 12:05:28 +02:00
gregoirenovel
3215411547 Delete the 30 days flows graphs 2017-05-30 12:05:28 +02:00
gregoirenovel
58aa94359c On the Stats page, move the total numbers at the top of the page 2017-05-30 12:05:27 +02:00
gregoirenovel
e19fb43f01 Only show the mean charts to logged in users 2017-05-30 12:05:27 +02:00
gregoirenovel
e242c5d742 Add caching to the Stats page 2017-05-30 12:05:27 +02:00
gregoirenovel
711f21c458 [Fix #264] Add the mean filling time graph to Stats 2017-05-30 12:05:27 +02:00
gregoirenovel
faa547e891 [Fix #264] Add the mean instruction time graph to Stats 2017-05-30 12:05:27 +02:00
gregoirenovel
ed7ba60cf0 [Fix #264] Add the last 4 months evolution graphs to Stats 2017-05-30 12:05:26 +02:00
gregoirenovel
f82533be19 Use the new_application layout for the Stats page 2017-05-29 15:46:54 +02:00
gregoirenovel
627ce150a7 Capture the Chartkick JS and yield it in the layout
So that we can include all the JS at the bottom of
the page without error
2017-05-29 15:46:54 +02:00
Simon Lehericey
7ac6c81154 AdminProceduresInfoHaml: remove localtime to date 2017-05-29 13:53:14 +02:00
Simon Lehericey
64f7cab3cf Avis: add claimant gestionnaire to track who asks for an avis 2017-05-29 11:44:28 +02:00
Simon Lehericey
23e57f5cc4 Navbar: add deprecation warning for invitations 2017-05-29 11:44:28 +02:00
Simon Lehericey
cdcd5b951f AvisController: add a notification when a avis has been received 2017-05-29 11:44:28 +02:00
Simon Lehericey
34a7905828 DossierController: giving an advice does not remove the notifications 2017-05-29 11:44:28 +02:00
Simon Lehericey
3483ec075b DossierController: extract dossier_id from params[:id] 2017-05-29 11:44:28 +02:00
Mathieu Magnin
612a8c4b91 Confirm with flash after avis is sent 2017-05-29 11:44:28 +02:00
Simon Lehericey
f9aee06040 AvisController: add redirection logic for various login cases 2017-05-29 11:44:28 +02:00
Simon Lehericey
516a8c28c5 Avis: change invitation mail when the recipient is not tps 2017-05-29 11:44:28 +02:00
Simon Lehericey
842999d229 Avis: add create_gestionnaire logic 2017-05-29 11:44:28 +02:00
Simon Lehericey
aaf155df72 Avis: add sign_up logic for new tps gestionnaire 2017-05-29 11:44:28 +02:00
Mathieu Magnin
4e064dbaed Add a method to link multiple avis to a gestionnaire by his email 2017-05-29 11:44:28 +02:00
Mathieu Magnin
efdac753c6 When an Avis is created an email is sent to the Gestionnaire 2017-05-29 11:44:28 +02:00
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
d07943a55d Add by_latest scope in Avis 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
Mathieu Magnin
72494de76f Create new model Avis 2017-05-29 11:44:28 +02:00
Simon Lehericey
5cc4862983 [Fix #349] NewHeader: the logo is a link to root_path 2017-05-29 11:35:29 +02:00
Simon Lehericey
b48549d765 WeeklyOverviewWorker: add feature flip on worker
The main objective is to avoid batch mail sent in staging
2017-05-23 17:12:18 +02:00
Simon Lehericey
5a794a8b9a GestionnaireMailer: add mailjet campaign tag 2017-05-23 17:12:18 +02:00
Simon Lehericey
c4c2dc78a2 WeeklyOverviewWorker: add worker to send the week overview 2017-05-23 17:12:18 +02:00
Simon Lehericey
8dabdcc6c4 GestionnaireMailer: add a last week report 2017-05-23 17:12:18 +02:00
Simon Lehericey
e630548110 Gestionnaire: add last_week_overview method 2017-05-23 17:12:18 +02:00
Simon Lehericey
e7d39ca650 ProcedureOverview: add object to contain overview logic 2017-05-23 17:12:18 +02:00
Simon Lehericey
f1b923e30f ApiControllers: remove useless meta data 2017-05-23 10:46:37 +02:00
Simon Lehericey
b30cb34fa2 LeftPanelBackofficeDossier: fix a typo 2017-05-22 17:58:12 +02:00
gregoirenovel
ca1a61cd7f Remove an extra character in welcome_email.text.erb 2017-05-22 17:24:44 +02:00
Mathieu Magnin
8af72f7b9a Isolate new design stylesheets 2017-05-17 18:06:53 +02:00
Mathieu Magnin
14bfda2e26 [Fix #251] Fix landing page design on mobile (and add responsive) 2017-05-17 18:06:46 +02:00
Simon Lehericey
a213032f28 Refactor: use select block to select stuff 2017-05-17 11:18:01 +02:00
gregoirenovel
cd19c17df5 mail -> email 2017-05-16 15:10:44 +02:00