Commit graph

20058 commits

Author SHA1 Message Date
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
gregoirenovel
8402f62793 Merge pull request #62 from sgmap/test-db
Use Postgresql for the test db
2017-04-10 16:22:21 +02:00
gregoirenovel
8a424059f9 Update circle.yml so that it works properly with postgresql 2017-04-10 16:17:34 +02:00
gregoirenovel
8015710db2 Add config/database.yml.ci 2017-04-10 16:17:34 +02:00
gregoirenovel
fa9bf2d398 Fix a test now that we use transaction instead of truncation 2017-04-10 16:17:34 +02:00
gregoirenovel
0e13e4bdfd Use transaction instead of truncation DatabaseCleaner strategy
It is the recommended strategy for ActiveRecod
2017-04-10 16:17:34 +02:00
gregoirenovel
30d1d87277 Fix a test due to the move to Postgresql
double precision’s length is 15 digits
2017-04-10 16:17:34 +02:00
gregoirenovel
aef804a988 Use a postgresql database for tests
Try to be the closest to the production
environment
2017-04-10 16:17:34 +02:00
gregoirenovel
3ca914aba8 Delete some environment-based conditions
We should always try to be the closest to the
production environment
2017-04-10 16:17:33 +02:00
gregoirenovel
074c6fe72b Use scenic in all environments 2017-04-10 16:17:33 +02:00
gregoirenovel
1817687d55 Merge pull request #78 from sgmap/remove_annoying_test
Remove annoying test with external dependency
2017-04-10 16:17:13 +02:00
Mathieu Magnin
e626933569 Remove annoying test with external dependency 2017-04-10 16:05:18 +02:00
gregoirenovel
a18c678675 Merge pull request #72 from sgmap/update_poltergeist
Fix tests Poltergeist::Timeout
2017-04-07 16:36:31 +02:00
Mathieu Magnin
86ab596a87 Change test structure 2017-04-06 17:19:56 +02:00
Mathieu Magnin
a93aba5967 Update poltergeist 2017-04-06 16:15:45 +02:00
gregoirenovel
548e8ce079 [Fix #68] Remove reference to application_split2.scss
It has been removed in 6a261d1
2017-04-06 12:18:54 +02:00
gregoirenovel
0d90eb3fd5 Merge branch 'develop' into staging 2017-04-05 16:52:07 +02:00
gregoirenovel
31775b70d6 Merge pull request #69 from sgmap/circleci-cd
Make the staging branch deliver continuously
2017-04-05 16:46:04 +02:00
gregoirenovel
eaf3a790f5 Add deployment instructions to circle.yml
In order to do continuous delivery in staging
2017-04-05 16:31:37 +02:00
gregoirenovel
a1885c86ce Merge branch 'develop' into staging 2017-04-05 14:47:36 +02:00
Mathieu Magnin
31a623ee7a Stop sidekiq service before deploy and start it after 2017-04-05 14:47:18 +02:00
gregoirenovel
9915e3d372 Merge branch 'develop' into staging 2017-04-05 14:43:46 +02:00
gregoirenovel
65ac1da73a Merge pull request #67 from sgmap/move_export_full_generation_to_procedure
Move export_full_generation method from Dossier to Procedure
2017-04-05 13:40:23 +02:00