Commit graph

3783 commits

Author SHA1 Message Date
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
gregoirenovel
0c41509d70 Add HAML linting to the CI process 2017-04-10 17:55:56 +02:00
gregoirenovel
c54f95ecbb Add haml-lint to the Gemfile 2017-04-10 17:55:55 +02:00
gregoirenovel
48f91eca46 Add .haml-lint.yml 2017-04-10 17:55:55 +02:00
gregoirenovel
57ee3c5b3f Separate ternary operators with spaces on both sides 2017-04-10 17:55:55 +02:00
gregoirenovel
9c04d3ff93 All CSS declarations must end with a semi-colon 2017-04-10 17:55:55 +02:00
gregoirenovel
3797015908 All colons must be followed by a single space 2017-04-10 17:55:55 +02:00
gregoirenovel
97df69bcd8 In HAML files, separate arguments by a comma and a single space 2017-04-10 17:55:55 +02:00
gregoirenovel
6db4a69cb2 Use spaces inside hashes 2017-04-10 17:55:54 +02:00
gregoirenovel
aaaed328fb Remove unnecessary string outputs 2017-04-10 17:55:54 +02:00
gregoirenovel
8d9cdf8e33 Remove a useless string in the gestionnaires list 2017-04-10 17:55:54 +02:00
gregoirenovel
6cb53b5545 Move a comment to avoid a haml-lint MultilineScript warning 2017-04-10 17:55:54 +02:00
gregoirenovel
7a941d3219 Remove a useless id in _list.html.haml 2017-04-10 17:55:54 +02:00
gregoirenovel
aa255e7e2d Use HAML comments in HAML files 2017-04-10 17:55:54 +02:00
gregoirenovel
69ba92009b Separate HAML comments from the leading # by a space 2017-04-10 17:55:54 +02:00
gregoirenovel
a8d2a003c1 Do not define static class names in the attributes hash 2017-04-10 17:55:53 +02:00
gregoirenovel
4788e280f5 Fix the indentation in the drop down list template 2017-04-10 17:55:53 +02:00
gregoirenovel
2d5df47c4e Use implicit div tags in HAML files 2017-04-10 17:55:53 +02:00
gregoirenovel
7e067c2624 Static classes attribute must use the inline tag syntax 2017-04-10 17:55:53 +02:00
gregoirenovel
a3d04fe7a9 Html Ruby evaluation tags must be followed by a single space 2017-04-10 17:55:53 +02:00
gregoirenovel
e7e4e41e12 Haml Ruby evaluation tags must be followed by a space 2017-04-10 17:55:53 +02:00
gregoirenovel
b308aeb9d0 Merge pull request #63 from sgmap/dev-env
Dev env
2017-04-10 17:55:29 +02:00
gregoirenovel
d5fdd12da8 Clean database.yml 2017-04-10 17:54:57 +02:00
gregoirenovel
e120e58b07 Change the username and password for the development DB 2017-04-10 17:54:57 +02:00
gregoirenovel
beea66ad30 Remove the sqlite3 gem
We now run tests with PostgreSQL
2017-04-10 17:54:29 +02:00
gregoirenovel
216e7d9775 Merge pull request #80 from sgmap/fix-tests
Fix a failing test, incompatible with the new DatabaseCleaner strategy
2017-04-10 17:52:04 +02:00
gregoirenovel
82b07be455 Fix a failing test, incompatible with the new DatabaseCleaner strategy 2017-04-10 17:33:05 +02:00