Commit graph

6480 commits

Author SHA1 Message Date
gregoirenovel
5e5a01cdc8 Do not test scopes 2017-06-01 11:07:32 +02:00
gregoirenovel
68da2ecbae Use symbols instead of strings in for the order arg in scopes 2017-06-01 11:07:30 +02:00
gregoirenovel
8fb6a41386 Remove an unused argument in some Dossier scopes 2017-06-01 11:07:04 +02:00
gregoirenovel
e0a3a48f76 Improve the formatting of Dossier scopes 2017-06-01 11:05:51 +02:00
gregoirenovel
ddac4bbfdb Change the order in the all_state scope for consistency 2017-06-01 10:58:09 +02:00
gregoirenovel
7055aec634 Add some more state scopes and use them 2017-06-01 10:58:09 +02:00
gregoirenovel
9c2c0346b6 [Fix #125] Transform some Dossier class methods into scopes 2017-06-01 10:58:08 +02:00
gregoirenovel
ab1c19c09b Rename some Dossier scopes 2017-06-01 10:58:08 +02:00
gregoirenovel
51dd6df1c0 Improve the formatting of the Dossier state enum 2017-06-01 10:58:08 +02:00
gregoirenovel
1816aef7d0 Group the Dossier scopes and move them at the top 2017-06-01 10:58:07 +02:00
gregoirenovel
6731f28e23 Move the state constants below the state enum 2017-06-01 10:58:07 +02:00
Mathieu Magnin
1cf4326f1d Merge pull request #382 from sgmap/fix_bug_on_admin_sign_out
Fix bug on admin sign out
2017-06-01 10:44:56 +02:00
Mathieu Magnin
8e9144f565 [Fix #378] Remove redirect based on referrer 2017-06-01 10:36:36 +02:00
Mathieu Magnin
d2d2c78461 Remove unused code 2017-06-01 10:36:36 +02:00
Mathieu Magnin
2c5721c150 Merge pull request #386 from sgmap/fix_cache_bug_on_stats_page
Fix cache bug on stats page
2017-06-01 10:34:50 +02:00
Mathieu Magnin
705a3f3e1b Fix cache bug on stats page 2017-06-01 09:44:22 +02:00
Mathieu Magnin
c789b85a2d Merge pull request #385 from sgmap/delete-staging
[Fix #77] Kill staging
2017-05-31 17:52:21 +02:00
Mathieu Magnin
a7969e5507 Branch value in log is now correct 2017-05-31 17:29:59 +02:00
Mathieu Magnin
46c0e04b0c Save 8 lines of code 2017-05-31 17:29:59 +02:00
gregoirenovel
a348d95057 [Fix #77] Staging is dead => change the CI and deploy info
Use develop instead
2017-05-31 17:29:59 +02:00
Mathieu Magnin
57460431e6 Merge pull request #383 from sgmap/Fix_375_Avis_no_method_error
Avis: ugly workaround for #375
2017-05-31 16:52:49 +02:00
Simon Lehericey
c185f60dd2 Avis: ugly workaround for #375 2017-05-31 16:44:06 +02:00
Mathieu Magnin
96d743415e Merge pull request #271 from sgmap/stats_for_avis
Stats for avis
2017-05-31 14:53:06 +02:00
Simon Lehericey
9e6098dc09 Add the weekly avis answer percentage to Stats 2017-05-31 14:24:33 +02:00
Mathieu Magnin
068b635b7c Add the weekly avis answer time average to Stats 2017-05-31 14:24:32 +02:00
Simon Lehericey
b5f1b898c7 Add the weekly avis usage to Stats 2017-05-31 13:31:19 +02:00
gregoirenovel
082898af45 Merge pull request #365 from sgmap/clean
Clean
2017-05-31 10:03:28 +02:00
gregoirenovel
9268da8236 Refactor Procedure#switch_list_order 2017-05-30 15:54:49 +02:00
gregoirenovel
d54fe12a9c Remove inconsistent and useless blank lines in controllers 2017-05-30 15:54:49 +02:00
gregoirenovel
04845efdfc Remove inconsistent and useless blank lines in models 2017-05-30 15:53:19 +02:00
gregoirenovel
d47e8b3702 Reformat Notification correctly 2017-05-30 15:53:19 +02:00
gregoirenovel
9f6edc5d1e Format the TypeDeChamp type_champs enum correctly 2017-05-30 15:52:29 +02:00
gregoirenovel
843bb9fd2c Format the User loged_in_with_france_connect enum correctly 2017-05-30 15:52:28 +02:00
gregoirenovel
258a80b0d7 Use the Procedure not_archived scope 2017-05-30 15:52:28 +02:00
gregoirenovel
9d478609d0 Move the Procedure scopes at the top 2017-05-30 15:52:28 +02:00
gregoirenovel
077e05e7d7 Merge pull request #361 from sgmap/fix-319
[Fix #319] Include archived dossiers in the export
2017-05-30 15:46:33 +02:00
gregoirenovel
4655707eb5 [Fix #319] Include archived dossiers in the export 2017-05-30 15:41:35 +02:00
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
gregoirenovel
a2693c2d77 Merge pull request #374 from sgmap/stats_pie_chart_group_admin
Stats pie chart group admin
2017-05-30 15:41:20 +02:00
Mathieu Magnin
69a5857322 [Fix #264] Add pie chart to count administrations 2017-05-30 15:36:21 +02:00
gregoirenovel
cdb6240ca8 Merge pull request #373 from sgmap/Fix_absolute_link_in_weekly_notif
ProcedureOverview: use procedure_url to link with absolute path in email
2017-05-30 15:24:29 +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
f783d9e6f0 Merge pull request #359 from sgmap/stats
[Fix #264] Stats
2017-05-30 13:12:36 +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