Commit graph

2109 commits

Author SHA1 Message Date
Mathieu Magnin
3c3d0fcfbd Merge pull request #91 from sgmap/fix_csv_export_with_no_dossiers
Fix csv export with no dossiers
2017-04-12 18:20:37 +02:00
Mathieu Magnin
080c7c3d04 Fix csv export with no dossiers 2017-04-12 18:19:37 +02:00
gregoirenovel
33d033d680 Merge pull request #90 from sgmap/remove_sqlite_flag_for_tests
Remove sqlite flag for tests
2017-04-12 17:55:36 +02:00
Mathieu Magnin
3730ba76b5 Remove sqlite flag for tests 2017-04-12 17:34:31 +02:00
gregoirenovel
79d81b413f Merge pull request #86 from sgmap/circleci_2
Circleci 2
2017-04-12 16:09:55 +02:00
Mathieu Magnin
8870f50118 Migrate to CircleCI 2.0 2017-04-12 16:09:25 +02:00
gregoirenovel
3f15cb99fd Merge pull request #87 from sgmap/better-stats
Better stats
2017-04-11 17:05:53 +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
9dc4901294 Change the template and style of the Stats page 2017-04-11 15:29:19 +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
664d821dc0 Add a link to the Stats page in the footer 2017-04-11 15:29:18 +02:00
gregoirenovel
f84cd7f11b Make Stats a public page 2017-04-11 15:29:18 +02:00
Mathieu Magnin
9c59d634b0 Merge pull request #83 from sgmap/small_refacto_description_controller
DescriptionController: refacto
2017-04-11 14:58:12 +02:00
gregoirenovel
d697fb1ada Merge pull request #85 from sgmap/guard_watch_service
Guardfile: watch services directory
2017-04-11 14:54:28 +02:00
Simon Lehericey
4997bf54cd Guardfile: watch services directory 2017-04-11 14:51:27 +02:00
Simon Lehericey
4a16fb2ce2 DescriptionController: refacto 2017-04-11 14:45:30 +02:00
gregoirenovel
dd1fd419c7 Require mandatory fields on the frontend side 2017-04-11 14:25:49 +02:00
LeSim
1c3db68886 Merge pull request #52 from sgmap/champ_dossier
Champ dossier
2017-04-11 14:20:07 +02:00
Simon Lehericey
a324a22ba2 DossierLink: add show template 2017-04-11 13:54:33 +02:00
Simon Lehericey
3228737a87 DossierLink: add edition template 2017-04-11 13:54:33 +02:00
Simon Lehericey
785219c956 DossierLink: add type de champ 2017-04-11 13:54:33 +02:00
Simon Lehericey
ed36897337 DossiersController: add get procedure libelle 2017-04-11 13:54:33 +02:00
gregoirenovel
d531ed057c Merge pull request #75 from sgmap/champs_service_refactor
Champs service refactor + un peu de DescriptionController
2017-04-11 12:19:18 +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
Simon Lehericey
3a9065e4c1 DescriptionController: remove useless code 2017-04-11 12:11:10 +02:00
Simon Lehericey
c4e128a506 DescriptionController: rename variable 2017-04-11 12:11:09 +02:00
Simon Lehericey
4df03fc28e ChampsService: add tests and refactor 2017-04-11 12:11:09 +02:00
gregoirenovel
c5159dde4b Merge pull request #74 from sgmap/dossier-clean
Dossier clean
2017-04-11 11:47:09 +02:00
gregoirenovel
1db37894c2 Factorize some code in Dossier#serialize_value_for_export 2017-04-11 11:43:42 +02:00
gregoirenovel
ae5b4f6249 Refactor Dossier#full_data_strings_array 2017-04-11 11:39:34 +02:00
gregoirenovel
df878b9ef4 Change Dossier#convert_specific_array_values_to_string’s signature and name
- It is always called with the data_with_champs
  argument

- Changing the signature requires a change of name
  in this case
2017-04-11 10:29:07 +02:00
gregoirenovel
64fdc7a2af Remove a Dossier#convert_specific_array_values_to_string useless test 2017-04-11 10:29:07 +02:00
Mathieu Magnin
0038fdad52 Merge pull request #81 from sgmap/readme
Update the Readme
2017-04-11 10:26:29 +02:00
gregoirenovel
1c7ef35278 Fix some typographic mistakes 2017-04-10 18:14:37 +02:00
gregoirenovel
4b15684fdf Fix some spelling errors 2017-04-10 18:14:37 +02:00
gregoirenovel
f0575f0d41 Fix the RSpec spelling 2017-04-10 18:14:37 +02:00
gregoirenovel
8e1f9b3d17 Delete some extra empty lines 2017-04-10 18:14:36 +02:00
gregoirenovel
fb3bb45c11 Add a “Dépendances” part, remove the “PhantomJS” part 2017-04-10 18:14:36 +02:00
gregoirenovel
c4e7318643 Remove “Technologies utilisées”
Read .ruby-version and Gemfile
2017-04-10 18:14:36 +02:00
gregoirenovel
78dafe7e5f Merge pull request #73 from sgmap/haml-clean
Haml clean
2017-04-10 18:07:29 +02:00
gregoirenovel
ba94779705 Add the haml-lint command to the README 2017-04-10 17:55:56 +02:00