Commit graph

1596 commits

Author SHA1 Message Date
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
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
Mathieu Magnin
31a623ee7a Stop sidekiq service before deploy and start it after 2017-04-05 14:47:18 +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
Mathieu Magnin
bf0d466f4b Move export_full_generation method from Dossier to Procedure 2017-04-05 12:26:38 +02:00
gregoirenovel
11a471b6a6 Merge pull request #56 from sgmap/download_all_dossiers
Download dossiers button exports all dossiers except draft
2017-04-05 11:05:52 +02:00
Mathieu Magnin
b18c09e9fd Download dossiers button exports all dossiers except draft 2017-04-05 11:04:53 +02:00
Mathieu Magnin
c17ebba916 Merge pull request #65 from sgmap/editorconfig
Add a .editorconfig file
2017-04-05 10:20:56 +02:00
gregoirenovel
e940c8534e Add a .editorconfig file 2017-04-04 17:32:36 +02:00
Mathieu Magnin
e47e6e5c46 Merge pull request #66 from sgmap/clean
Clean
2017-04-04 17:31:43 +02:00
gregoirenovel
cb677dfb45 Indent using 2 spaces 2017-04-04 16:59:40 +02:00
gregoirenovel
a1ee82f3dd Indent using spaces, not tabs 2017-04-04 16:59:39 +02:00
gregoirenovel
d1e463b7ab Files should end with a single new line 2017-04-04 16:59:39 +02:00
gregoirenovel
d5e7bbd80d Files should end with a new line 2017-04-04 16:59:38 +02:00
gregoirenovel
15802b18ea Files should not start with a new line 2017-04-04 16:59:38 +02:00
gregoirenovel
87ab2ba9eb Remove trailing spaces 2017-04-04 16:59:37 +02:00
Mathieu Magnin
e0e452b70f Merge pull request #54 from sgmap/wording
Wording
2017-04-03 16:07:50 +02:00
gregoirenovel
82c8e14769 Wrap a localised string in quotes
Backport from the shared dynamics/fr.yml
2017-04-03 16:03:38 +02:00
gregoirenovel
e541fe4ca1 Exclude dynamics/fr.yml from shared_paths in mina
So that it is directly read from the Rails app’s
directory
2017-04-03 16:03:38 +02:00
gregoirenovel
6cb78acd85 Make the birthday field a date field
And remove the date picker (you can now use the
native one)
2017-04-03 16:03:38 +02:00
gregoirenovel
8126549a0d Make the datepicker french for the auto archive field 2017-04-03 16:03:38 +02:00
Mathieu Magnin
564ff45117 Merge pull request #60 from sgmap/update_turbolinks
Update turbolinks
2017-04-03 15:55:44 +02:00