Commit graph

7677 commits

Author SHA1 Message Date
Paul Chavard
b7b2029490
Merge pull request #3772 from tchak/menu-deroulant-should-have-a-value
Always create menu deroulant type de champ with a value
2019-04-11 15:16:05 +02:00
Paul Chavard
9beff5ee9a Always create menu deroulant champs with a value 2019-04-11 14:38:21 +02:00
Mathieu Magnin
14aa4eafdd
Merge pull request #3778 from betagouv/fix-formatted-horaires
Fix missing helper in notification mailer
2019-04-11 12:40:48 +02:00
Mathieu Magnin
1a97cd42de Fix missing helper in notification mailer 2019-04-11 12:25:55 +02:00
Mathieu Magnin
22034730b0 Fix factory to avoid crash because of procedure is nil 2019-04-11 12:25:55 +02:00
Mathieu Magnin
e5966fda46
Merge pull request #3660 from betagouv/fix-3064
[A merger/proder le 11/04] Brander les emails transactionnels moins avec "DS", et plus avec la démarche
2019-04-11 11:09:15 +02:00
Mathieu Magnin
c550d40e3a [Fix #3064] Add preview test 2019-04-11 11:03:13 +02:00
Mathieu Magnin
28f9208ce8 When mail template is updated, stay on edit page to easily preview it 2019-04-11 11:03:13 +02:00
Mathieu Magnin
b3f3106888 [Fix #3064] Change logo size 2019-04-11 11:03:13 +02:00
Mathieu Magnin
9c6c11027c [Fix #3064] Add service footer on notification emails 2019-04-11 11:03:13 +02:00
Mathieu Magnin
60d66f0422 [Fix #3064] Add logo and cancel link on preview 2019-04-11 11:03:13 +02:00
Mathieu Magnin
7e551a9d8d [Fix #3064] If procedure has logo, then display it in emails 2019-04-11 11:03:13 +02:00
Mathieu Magnin
b3970a5e6f [Fix #3064] Change default signature 2019-04-11 11:03:13 +02:00
Mathieu Magnin
14c3fb7224 [Fix #3064] Add a preview button for state notifications emails 2019-04-11 11:03:13 +02:00
Mathieu Magnin
e91b412254 [Fix #3064] Use a different layout for state notifications emails 2019-04-11 11:03:12 +02:00
Pierre de La Morinerie
dda3dbd8ac
Merge pull request #3765 from betagouv/fix-3464-filter-by-followers_gestionnaires
Instructeur : permet de filtrer des dossiers par email de l’instructeur
2019-04-10 17:48:03 +02:00
Nicolas Bouilleaud
c5122ee7f5 Allow filtering ProcedurePresentation by followers_gestionnaires
fixes #3464
2019-04-10 14:32:51 +02:00
Nicolas Bouilleaud
988df15c6b Refactor ProcedurePresentation::sanitize_columns to use model reflection
The passed “table” is actually an association, and may not match the table name. Use model reflection instead of manually pluralizing.
2019-04-10 14:32:51 +02:00
Pierre de La Morinerie
fa15128bdb
Merge pull request #3769 from betagouv/fix-glitch-motivations-dropdown
Instructeur : masque les détails lors de l'alternance entre plusieurs motivations différentes
2019-04-10 11:53:00 +02:00
Nicolas Bouilleaud
2fb1b19e09 Hide other motivation fields when switching between states 2019-04-10 10:32:43 +02:00
Nicolas Bouilleaud
ca5f31e374
Merge pull request #3766 from tchak/fix-sentry-bug
Do not crash if element to remove is not found
2019-04-09 17:24:27 +02:00
Paul Chavard
833bafaba6 Align with behaviour on user dossier form 2019-04-09 17:16:18 +02:00
Paul Chavard
adb6255d5d Do not crash if element to remove is not found 2019-04-09 17:15:45 +02:00
Paul Chavard
d61db76039
Merge pull request #3755 from tchak/add-dom3-polyfill
Polyfill insertAdjacentElement on old browsers
2019-04-09 15:42:50 +02:00
Paul Chavard
a60943a173 Polyfill insertAdjacentElement and dataset on old browsers 2019-04-09 15:26:42 +02:00
Pierre de La Morinerie
69cae0d907
Merge pull request #3754 from betagouv/fix-3682
Usager : suppression du placeholder dupliqué dans les champs "Zone de texte"
2019-04-08 16:47:54 +02:00
Mathieu Magnin
052bd9a9fc [Fix #3682] Remove placeholder on textarea champ 2019-04-08 16:30:16 +02:00
Pierre de La Morinerie
af40d0c43d
Merge pull request #3761 from betagouv/readme-tweaks
Corrections mineures du fichier README
2019-04-08 16:29:46 +02:00
Nicolas Bouilleaud
c1d1754236 Fix a typo in admin/procedures 2019-04-08 16:20:43 +02:00
Nicolas Bouilleaud
da07f2abf8 Fix chromedriver install command in README 2019-04-08 16:20:43 +02:00
Nicolas Bouilleaud
65b0d7ab5e Ignore Rubymine project files 2019-04-08 16:20:43 +02:00
Nicolas Bouilleaud
792224b832
Merge pull request #3759 from betagouv/fix-tests
procedure: fix specs
2019-04-08 16:20:04 +02:00
Pierre de La Morinerie
e34c556f29 procedure: fix specs
When the time computations are done accross a Daylight Saving Time
change, they may be off by one hour.

It doesn't matter, as the estimated delay is counted in days, not
hours.
2019-04-08 15:24:44 +02:00
Pierre de La Morinerie
04775582fc
Merge pull request #3746 from betagouv/fix-last-week-overview-mailer
Technique : corrige une exception dans les récapitulatifs hebdomadaires
2019-04-04 17:39:55 +02:00
Pierre de La Morinerie
8ca683c515 mailers: fix last_week_overview crash when the overview is missing
This is because procedures may be unpublished between the time where
the job is enqueued and the time the mailer is run

Fix #3745
2019-04-04 17:32:12 +02:00
Mathieu Magnin
c0a9f103b3
Merge pull request #3752 from betagouv/use-insee-api-v3-again
Utilise l'API INSEE v3 à nouveau
2019-04-04 17:23:41 +02:00
Pierre de La Morinerie
01e113d04f Revert "locales: tell that API Entreprise is unavailable for now"
This reverts commit a598383856.
2019-04-04 17:15:31 +02:00
Pierre de La Morinerie
e90b1cdcc0 api_entreprise: use API v3 again
This reverts commit 10e1408a88.
2019-04-04 17:14:58 +02:00
Mathieu Magnin
b92f55fcfb
Merge pull request #3748 from betagouv/fix-3721
Change notification screen to make it understandable
2019-04-04 16:07:10 +02:00
Mathieu Magnin
3de9148e33 Change WeeklyOverviewJob hour and day 2019-04-04 15:42:06 +02:00
Mathieu Magnin
f768cb2dae [Fix #3721] Change notification screen to make it understandable 2019-04-04 15:42:06 +02:00
Paul Chavard
44ab495853
Merge pull request #3747 from tchak/sentry-user
Send user information to sentry without email
2019-04-04 14:39:55 +02:00
Paul Chavard
4fb889f10a Send browser support information and format user id 2019-04-04 14:21:32 +02:00
Paul Chavard
8e6e730c80 Send user information to sentry without email 2019-04-04 14:21:32 +02:00
Pierre de La Morinerie
0f1e06e19c
Merge pull request #3719 from betagouv/fix-commencer-with-invalid-path
commencer: fix redirection with invalid path
2019-04-04 14:10:22 +02:00
Pierre de La Morinerie
41ad89d8ac commencer: fix redirection with invalid path 2019-04-04 14:03:40 +02:00
Pierre de La Morinerie
fb19b856c5
Merge pull request #3741 from tchak/fix-sentry-error
Fix Identifier 'fileInputSelector' has already been declared
2019-04-04 10:45:44 +02:00
Paul Chavard
1cbd348569 Fix scope error 2019-04-04 10:31:24 +02:00
Paul Chavard
c4ef6d89c9
Merge pull request #3744 from betagouv/avis-newlines
Respecte les sauts de lignes dans les avis
2019-04-04 10:31:12 +02:00
Pierre de La Morinerie
158d6e1ae6 avis: format newlines in avis
Fix #3738
2019-04-04 10:20:57 +02:00