Commit graph

6739 commits

Author SHA1 Message Date
gregoirenovel
20ea577a66 Remove a case that can be handled by the general case 2019-01-08 12:32:26 +01:00
gregoirenovel
f9df32d72e Use c.to_s instead of value, to avoid confusion 2019-01-08 12:32:26 +01:00
gregoirenovel
f5a31be36a Remove the now useless #formatted_value method 2019-01-08 12:32:26 +01:00
gregoirenovel
c00aac2f80 We can now replace processing in #formatted_value by #to_s calls 2019-01-08 12:32:26 +01:00
gregoirenovel
f27717ab23 Make the CheckboxChamp export similar to YesNoChamp
Previously, nil values would be returned as nil
and not as off
2019-01-08 12:32:26 +01:00
gregoirenovel
4a6930b60a Remove from EngagementChamp a method it’s inheriting 2019-01-08 12:32:26 +01:00
gregoirenovel
66d1b7ba10 Use ternary conditions 2019-01-08 12:32:26 +01:00
gregoirenovel
9e42190148 Remove the proxy value_for_export method
Overload for_export instead
2019-01-08 12:32:26 +01:00
gregoirenovel
7cd50531cf Remove the proxy string_value method
Overload to_s instead
2019-01-08 12:32:26 +01:00
gregoirenovel
9a2341c56c Remove the useless #for_display proxy method 2019-01-08 12:32:26 +01:00
gregoirenovel
2e6c91e9b0 Move #selected_options to the only relevant model 2019-01-08 12:32:26 +01:00
gregoirenovel
c4b9a0b79e Rename DropDownList#selected_options_without_decorator 2019-01-08 12:32:26 +01:00
gregoirenovel
4b4eb6d53e Simplify code 2019-01-08 12:32:26 +01:00
gregoirenovel
16bccb2386 Remove the useless #value_for_export method 2019-01-08 12:32:26 +01:00
Mathieu Magnin
5fab5106cb
Merge pull request #3260 from betagouv/fix-sign-in-layout
layouts: fix styling of the sign_in and sign_up pages
2019-01-08 10:23:59 +01:00
Pierre de La Morinerie
142b684170 layouts: fix styling of the sign_in and sign_up pages
This was broken during the shared layout refactoring
2019-01-08 08:16:55 +01:00
Pierre de La Morinerie
d9acc47562
Merge pull request #3255 from betagouv/fix-send-button
Messagerie : corrige l'affichage du bouton "Envoyer" sur mobile
2019-01-07 16:35:45 +01:00
Pierre de La Morinerie
be1567ecbd messages: improve wording of the "Send" button 2019-01-07 16:20:23 +01:00
Pierre de La Morinerie
46b4d3c46b messages: fix Send button being clipped on mobile screens 2019-01-07 16:20:23 +01:00
gregoirenovel
263c94c2b5
Merge pull request #3180 from betagouv/common-demarches-layout
layouts: use a common layout for the demarche overview
2019-01-07 16:19:44 +01:00
Pierre de La Morinerie
0a7b061e70 layouts: move the procedure_context CSS to its own stylesheet 2019-01-07 15:40:19 +01:00
Pierre de La Morinerie
e25bd7139f layouts: use a common procedure_context layout for the demarche overview 2019-01-07 15:39:58 +01:00
Pierre de La Morinerie
5a36546485 layouts: rename "application" to "application_old" 2019-01-07 12:17:05 +01:00
Pierre de La Morinerie
f42af316d9
Merge pull request #3217 from betagouv/clean-gemfile
Clean gemfile
2019-01-07 10:59:41 +01:00
gregoirenovel
c51280c40c Enable the Bundler/OrderedGems cop 2019-01-07 10:34:55 +01:00
gregoirenovel
005eea26f7 Remove the unused web-console gem 2019-01-07 10:34:55 +01:00
gregoirenovel
9302905271 Remove the unused rack-handlers gem 2019-01-07 10:34:55 +01:00
gregoirenovel
7747f40ec0 Sort gems by alphabetic order 2019-01-07 10:34:55 +01:00
gregoirenovel
feae5194fa Use single quotes everywhere in the Gemfile 2019-01-07 10:34:55 +01:00
gregoirenovel
aaff27aca9 Move Gemfile comments into the line they comment
And remove some useless comments
2019-01-07 10:34:55 +01:00
Pierre de La Morinerie
0137a41523
Merge pull request #3236 from betagouv/fix-3235-sendinblue-automation
Fix #3235 sendinblue automation
2019-01-07 10:32:33 +01:00
Chaïb Martinez
144bc86cd0 Add sendinblue tracking in admin backoffice pages 2019-01-07 10:27:50 +01:00
Chaïb Martinez
0452a3046c Add sendinblue tracking in admin backoffice pages 2019-01-07 10:27:50 +01:00
Chaïb Martinez
b04de622c6 Add sendinblue js 2019-01-07 10:27:50 +01:00
Pierre de La Morinerie
356171a28f
Merge pull request #3221 from betagouv/logged-out-improvements
Sign-in screen visual improvements
2019-01-07 10:17:47 +01:00
gregoirenovel
fd2b44b45e Fix the FC info link 2019-01-07 08:52:51 +01:00
gregoirenovel
c66342aa2f Add a CTA in the header on the registration page 2019-01-07 08:52:51 +01:00
gregoirenovel
a43ec4e0d1 Align the remember me and forgotten password items 2019-01-07 08:52:51 +01:00
gregoirenovel
fcc76c1d36
Merge pull request #3249 from betagouv/add_missing_login_test
Add missing login test
2019-01-07 08:52:38 +01:00
simon lehericey
7b935a6486 login_token: lets constantize 2019-01-07 08:18:29 +01:00
simon lehericey
5daa565a80 login_token: add missing tests 2019-01-07 08:18:29 +01:00
Pierre de La Morinerie
67e92ffa17
Merge pull request #3220 from betagouv/admin-improvements
Admin improvements
2019-01-07 08:18:17 +01:00
gregoirenovel
65798feba3 Unify code 2019-01-07 08:12:52 +01:00
gregoirenovel
382a50abcf Reorder the admin sidebar links 2019-01-07 08:12:52 +01:00
Pierre de La Morinerie
63fd626d73
Merge pull request #3214 from betagouv/bump-gems
Bump gems
2019-01-07 08:11:07 +01:00
gregoirenovel
ffdb7cca21 Remove a useless comment
We will never use less
2019-01-05 11:54:42 +01:00
gregoirenovel
2762a769ca Bump dependencies 2019-01-05 11:47:55 +01:00
gregoirenovel
5fa5f2aa37 Bump development gems
- rubocop (0.61.1 → 0.62.0)
2019-01-05 11:47:55 +01:00
gregoirenovel
ce8f5bf18b Bump test gems
- rails-controller-testing (1.0.3 → 1.0.4)
- webmock (3.4.2 → 3.5.1)
2019-01-05 11:25:12 +01:00
gregoirenovel
e97a16c36c Bump default gems
- bootstrap-sass (dependencies)
- carrierwave (1.2.3 → 1.3.1)
- chartkick (3.0.1 → 3.0.2)
- daemons (1.2.6 → 1.3.1)
- groupdate (4.1.0 → 4.1.1)
- rack-mini-profiler (1.0.0 → 1.1.1)
- sassc-rails (2.0.0 → 2.1.0)
- webpacker (4.0.0.pre.3 → 4.0.0.rc.2)
2019-01-05 11:24:25 +01:00