Commit graph

11796 commits

Author SHA1 Message Date
Frederic Merizen
c53370e14c [#3477] Reuse existing filtering facility 2019-03-11 17:14:17 +01:00
Frederic Merizen
efa71284fc [#3477] Test eager_load_displayed_fields 2019-03-11 17:14:17 +01:00
Frederic Merizen
393f1b1971 [#3477] Move eager_load_displayed_fields to model 2019-03-11 17:14:17 +01:00
Frederic Merizen
c81adb80fd [#3477] Better choice of case vs if 2019-03-11 17:14:17 +01:00
Frederic Merizen
66fa7ef11d [#3477] Push up reliance on mutable state 2019-03-11 17:14:17 +01:00
Frederic Merizen
ac4750e5e3 [#3477] Simplify removing a filter 2019-03-11 17:14:17 +01:00
Frederic Merizen
822a3f7098 [#3477] Extract helper to find field 2019-03-11 17:14:17 +01:00
Frederic Merizen
bda41d7574 [#3477] Clarify field_id 2019-03-11 17:14:17 +01:00
Frederic Merizen
58158938cb [#3477] Extract helper 2019-03-11 17:14:17 +01:00
Frederic Merizen
5e1dc7059a [#3477] Allow selecting the same filter repeatedly 2019-03-11 17:14:17 +01:00
Frederic Merizen
70bf6aecf6 [#3477] Filter by mutliple values 2019-03-11 17:14:17 +01:00
Frederic Merizen
5d01e37d70 [#3477] Make filters stand out a little more in spec 2019-03-11 17:14:17 +01:00
Frederic Merizen
1431de5cc2 [#3477] Handle multiply-valued filters 2019-03-11 17:14:17 +01:00
Frederic Merizen
54cb65b8a7 [#3477] Extract helper 2019-03-11 17:14:17 +01:00
Mathieu Magnin
1d5f219303
Amélioration du header sur mobile
Amélioration du header sur mobile
2019-03-11 17:01:35 +01:00
Pierre de La Morinerie
f14ddccbe8 header: improve available width on narrow viewports 2019-03-11 16:06:15 +01:00
Pierre de La Morinerie
33db73c513 header: reduce the search bar width on narrow viewports 2019-03-11 16:06:15 +01:00
Pierre de La Morinerie
fefbcbf531
Merge pull request #3585 from betagouv/rename-faq-to-aide
footer: rename "FAQ" to "Help"
2019-03-11 16:03:08 +01:00
Pierre de La Morinerie
dce83aef7c footer: rename "FAQ" to "Help" 2019-03-11 15:54:34 +01:00
Pierre de La Morinerie
f5f33c0bf9
Merge pull request #3587 from betagouv/frederic/remove_unused_sti
Remove unused column
2019-03-11 15:54:01 +01:00
LeSim
f2734e2c28
Merge pull request #3586 from betagouv/dev
2019-03-11-01
2019-03-11 15:22:40 +01:00
Frederic Merizen
29a7ecb477 Remove unused column
The index in schema.rb is not directly related to this modification, it should
have been part of 2b763e4484 but was presumably
forgotten
2019-03-11 15:12:07 +01:00
Frederic Merizen
c72febfa82
Merge pull request #3582 from betagouv/frederic/remove_yaml_hack
Remove compatibility code for legacy values in database column
2019-03-11 11:50:47 +01:00
Frederic Merizen
02a72507b9 Remove compatibility code for legacy values in database column
They were fixed by a data migration long ago
2019-03-11 11:41:28 +01:00
Frederic Merizen
45994089ca
Merge pull request #3577 from betagouv/frederic/fix_champ_field_order
Force stable order on champ fields
2019-03-11 11:39:03 +01:00
Frederic Merizen
c75983710c Force stable order on champ fields 2019-03-11 11:32:17 +01:00
Pierre de La Morinerie
b9146b8892
Merge pull request #3579 from betagouv/frederic/fix_3578-no_tags_for_static_champs
[Fix #3578] No tags for champs that cannot have user input anyway
2019-03-11 11:14:41 +01:00
Frederic Merizen
b428406fc7 [Fix #3578] No tags for champs that cannot have user input anyway 2019-03-11 10:26:27 +01:00
Frederic Merizen
8626d0a055
Merge pull request #3573 from betagouv/frederic/fix_3572-balises_sur_mauvais_type_de_champ
[Fix #3572] Use champ with correct type for balise
2019-03-08 20:07:26 +01:00
Frederic Merizen
1d0156f9c6 [#3572] Add tests 2019-03-08 18:32:35 +01:00
Frederic Merizen
610d2e7e2b [Fix #3572] Use champ with correct type for balise 2019-03-08 18:32:35 +01:00
LeSim
739ddf3f7c
Merge pull request #3496 from betagouv/philemon95-patch-2
Update _general_footer_row.html.haml
2019-03-08 18:21:24 +01:00
philemon95
56a4e73689 Update _general_footer_row.html.haml 2019-03-08 18:14:41 +01:00
LeSim
a638b49ff4
Merge pull request #3557 from maatinito/issue/loose_of_timezone
converting DateTime to Date looses time zone information resulting in…
2019-03-08 18:07:16 +01:00
maatinito
766e9db752 converting DateTime to Date looses time zone information resulting in bad time computing
Specifically, for Tahiti, time zone is -10 so after 14h, UTC time is Tahiti time + 10h i.e the day after. Loosing time zone results in 1 day difference whether the time is computed before of after 14h :-)
2019-03-08 17:58:58 +01:00
LeSim
5605ceacc2
Merge pull request #3574 from betagouv/fix-3542-matomo-js
Fix Turbolinks page views are not tracked properly in matomo #3542
2019-03-08 17:56:35 +01:00
Chaïb Martinez
b6552f45ab [fix #3542] Fix https bug in matomo
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-08 17:44:07 +01:00
LeSim
b6bb33dcaf
Merge pull request #3576 from betagouv/philemon95-patch-3
Update administration.html.haml
2019-03-08 17:35:09 +01:00
philemon95
43f95b98e7 Update administration.html.haml 2019-03-08 17:29:18 +01:00
LeSim
ce3ad2f406
Merge pull request #3559 from maatinito/issue/use_constants
Use predefined constants instead of values for URLs, mails
2019-03-08 17:15:20 +01:00
maatinito
55f17f64a4 Use predefined constants instead of values for URLs, mails 2019-03-08 17:06:56 +01:00
LeSim
dc9acdb533
Merge pull request #3562 from pengfeidong/fix_3521_image_truncated_in_mail
[fix #3521] del fix height for image in the mail
2019-03-08 17:05:43 +01:00
pedong
d8f48edbed [fix #3521] del fix height for image in the mail 2019-03-08 16:49:32 +01:00
Frederic Merizen
80b2f2988e
Merge pull request #3568 from betagouv/frederic/sendinblue
Send administrateur usage statistics in nightly batches rather than JS
2019-03-08 16:43:06 +01:00
Frederic Merizen
ceb354963e Remove old sendinblue interface through JavaScript 2019-03-08 16:33:28 +01:00
Frederic Merizen
f9a4369a54 Compute administrator usage statistics every night 2019-03-08 16:33:28 +01:00
Frederic Merizen
6b0832047b Service that computes administrator statistics and sends them to SendinBlue 2019-03-08 16:33:28 +01:00
Frederic Merizen
98713b6a4d Proxy for SendinBlue API 2019-03-08 16:33:28 +01:00
Frederic Merizen
fc38880155 Move sendinblue client key to configuration file
This is not a secret (it's sent to the client as part of the JS anyway) so it's
not a big deal that it was on the public repository but it's still better to
have it be configurable.
2019-03-08 16:33:28 +01:00
LeSim
24ee81af2c
Merge pull request #3571 from betagouv/secured_connexion_mail_wording
Secured connexion: improve mail wording
2019-03-08 12:59:56 +01:00