Commit graph

3926 commits

Author SHA1 Message Date
gregoirenovel
f306dd636e Refactor some complex code 2018-01-30 16:56:49 +01:00
gregoirenovel
2da724d681 Remove an unused Gestionnaire method and its tests
The tests would fail with rails 5.1
2018-01-30 16:56:49 +01:00
gregoirenovel
7ccae2c4f1 render nothing: true has been removed from Rails
Use head instead
2018-01-30 16:56:49 +01:00
gregoirenovel
3fa9774123 params is now an object and no longer a hash 2018-01-30 16:56:46 +01:00
gregoirenovel
6afaf42e6a The "through" relation used in a HasManyThrough must be declared first 2018-01-30 16:40:04 +01:00
gregoirenovel
5b706cc7d4 Add missing params wrapping to some tests 2018-01-30 16:40:04 +01:00
gregoirenovel
75c8c7c0b3
Merge pull request #1263 from betagouv/better-methods
Better methods
2018-01-30 15:56:45 +01:00
gregoirenovel
25aef60354 Use string interpolation 2018-01-30 15:50:52 +01:00
gregoirenovel
c9a79b4f08 Use map when possible 2018-01-30 15:50:52 +01:00
gregoirenovel
5b62bc4f12 Use transform_keys when possible 2018-01-30 15:45:32 +01:00
gregoirenovel
db8c3030e3 Use transform_values when possible 2018-01-30 15:45:32 +01:00
gregoirenovel
b2fe1b856c Use #sum instead of #inject when possible 2018-01-30 15:45:32 +01:00
Frederic Merizen
24ddbc73ee
Merge pull request #1378 from betagouv/fix_1374-re_monter_smartlisting
Fix 1374 re monter smartlisting
2018-01-30 15:15:26 +01:00
Frederic Merizen
c15e1a6942 [Fix #1374] Add missing parameter
Dossier pagination was only working for dossiers en construction.
2018-01-30 15:04:21 +01:00
Frederic Merizen
0ce26055d8 [#1374] Revert "Merge pull request #1373 from betagouv/fix_pagination"
This reverts commit 5a56fe0182, reversing
changes made to 31aabcd6b6.
2018-01-30 15:04:21 +01:00
Mathieu Magnin
3cff988bf3
Merge pull request #1338 from betagouv/fix-1309
Fix 1309
2018-01-30 14:47:32 +01:00
Mathieu Magnin
830a9ed887 [Fix #1309] Task to clean datetime champs in db 2018-01-30 13:49:16 +01:00
Mathieu Magnin
50abb36c81 [Fix #1309] Format datetime before save 2018-01-30 13:49:16 +01:00
Mathieu Magnin
dcb38d79a3 [Fix #1309] Datetime value should be print with yyyy-mm-dd format 2018-01-30 13:49:16 +01:00
Paul Chavard
fdd6cedeb8 Remove data_provide and data_date_format attributes 2018-01-30 13:49:16 +01:00
gregoirenovel
3fbee9fd0d
Merge pull request #1371 from betagouv/fix-1370
[Fix #1370] downgrade spreadsheet architecture to support date in ODS
2018-01-29 18:39:38 +01:00
Mathieu Magnin
da784aa8e9 [Fix #1370] downgrade spreadsheet architecture to support date in ODS 2018-01-29 18:14:57 +01:00
LeSim
5a56fe0182
Merge pull request #1373 from betagouv/fix_pagination
Revert "[#1360] Upgrade SmartListing to fork of 1.2.1"
2018-01-29 17:59:25 +01:00
simon lehericey
691b12688d Revert "[#1360] Upgrade SmartListing to fork of 1.2.1"
This reverts commit 506a505477.
2018-01-29 17:43:30 +01:00
Mathieu Magnin
31aabcd6b6
Merge pull request #1365 from betagouv/fix-1291
Fix 1291
2018-01-29 11:15:01 +01:00
Mathieu Magnin
ce5ce78eff [Fix #1291] Add CGU link to invite_admin mail template 2018-01-29 11:08:20 +01:00
Mathieu Magnin
839c0e6aa9 Invite admin mail is previewable 2018-01-29 11:08:19 +01:00
Mathieu Magnin
11dbc595c7 Store in constant CGU url 2018-01-29 11:08:19 +01:00
Mathieu Magnin
8ca1c20e84
Merge pull request #1368 from betagouv/increase-password-creation-delay
Increase password creation delay
2018-01-29 11:06:17 +01:00
Mathieu Magnin
8b2fc0f8b4 Increase password creation delay 2018-01-29 10:50:32 +01:00
Frederic Merizen
1c8ae50045
Merge pull request #1366 from betagouv/fix_1360-upgrade_smart_listing
[#1360] Upgrade SmartListing to fork of 1.2.1
2018-01-25 18:08:52 +01:00
Frederic Merizen
506a505477 [#1360] Upgrade SmartListing to fork of 1.2.1 2018-01-25 17:47:10 +01:00
LeSim
af0640d37e
Merge pull request #1361 from betagouv/fix-warnings
Fix warnings
2018-01-23 18:21:10 +01:00
gregoirenovel
a2f4e8b283 factory_girl is now factory_bot 2018-01-23 17:15:42 +01:00
gregoirenovel
5eb4f12b48 Remove a now deprecated Capybara option from tests 2018-01-23 17:14:13 +01:00
LeSim
e3f853307e
Merge pull request #1351 from betagouv/bump-gems
Bump gems
2018-01-23 17:03:19 +01:00
gregoirenovel
f5629f8392 Bump capybara 2018-01-23 16:26:57 +01:00
gregoirenovel
9aea126db0 Bump rubocop-rspec-focused 2018-01-23 16:26:56 +01:00
gregoirenovel
2bb6613ca8 Bump rails-controller-testing 2018-01-23 16:26:56 +01:00
gregoirenovel
2761f8ac86 Bump rspec-rails 2018-01-23 16:26:56 +01:00
gregoirenovel
5340b4ed0d Bump turbolinks 2018-01-23 16:26:56 +01:00
gregoirenovel
12b6d30326 Bump sass-rails 2018-01-23 16:26:56 +01:00
gregoirenovel
89a39e2964 Bump rails 2018-01-23 16:26:56 +01:00
gregoirenovel
9cea28aed8 Bump default gems
- active_model_serializers
- rgeo-geojson
2018-01-23 16:26:56 +01:00
gregoirenovel
3f1af527cc Bump prawn_rails 2018-01-23 16:26:56 +01:00
gregoirenovel
3d20b24baf Bump prawn 2018-01-23 16:26:56 +01:00
gregoirenovel
571612f922 Bump draper 2018-01-23 16:26:56 +01:00
gregoirenovel
4c87b62565 Bump deep_cloneable 2018-01-23 16:26:56 +01:00
gregoirenovel
1c78d77c30 Bump default gems
- haml-rails
- jquery-rails
- unicorn
- openid_connect
- omniauth-github (dependencies)
- fog
- mailjet
- smart_listing
- spreadsheet_architect
- apipie-rails
- maruku
- openstack
- browser
- skylight
- simple_form
- scenic
- daemons
- sentry-raven
- administrate (dependencies)
- logstasher
- chartkick
- font-awesome-rails
2018-01-23 16:26:56 +01:00
gregoirenovel
d9d88aca89 Bump development/test gems
- byebug
- dotenv-rails
- pry-byebug
- rspec-rails (dependencies)
- spring
2018-01-23 16:26:56 +01:00