Commit graph

8426 commits

Author SHA1 Message Date
Nicolas Bouilleaud
3f439ac07a Add Commentaire.is_sent_by_system? and .is_sent_by(someone)
And use it in CommentaireHelper and in the _message_icon and _message_issuer partials
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
2abd93d360 Display the full User email in Commentaires
* Only redact gestionnaires’ emails
* Also, rename Commentaire.sender to Commentaire.redacted_email
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
3bf19de124 Remove Commentaire::columns override
It was used for a cleanup migration a long time ago (see #233, #3033, #3043)
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
7e98213829 Pass the signed-in user as the commentaire author from /contact 2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
72fd5d250f Respect dossier.messagerie_available? in SupportController (/contact) 2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
12008728d2 Actually respect dossier.messagerie_available? in _messagerie.html.haml
instead of dossier.archived?

(fixup after #3979)
2019-07-08 16:06:44 +02:00
Pierre de La Morinerie
f20278c4b5
Merge pull request #4051 from betagouv/fix-4050-admin-minor-change
Suppression du n° de téléphone du standard dans la partie Administrateur
2019-07-08 15:58:38 +02:00
Chaïb Martinez
39a2eb77e8 test fix
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-08 14:58:32 +02:00
Chaïb Martinez
c43b0c00db minor text change [fix #4050]
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-08 14:46:47 +02:00
Chaïb Martinez
94d340d25c Remove phone number
Add chat link

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-08 14:32:55 +02:00
Chaïb Martinez
0fdae2456b We will not quibble
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-08 14:20:49 +02:00
Pierre de La Morinerie
6fa7cb6275
Drop Procedure.administrateur_id (#4044)
Suppression de la référence obsolète `Procedure.administrateur_id` dans la base de données
2019-07-08 11:43:58 +02:00
Nicolas Bouilleaud
4d73275bab Drop Procedure.administrateur_id 2019-07-04 17:01:12 +02:00
Paul Chavard
511140cf8d
Merge pull request #3558 from maatinito/issue/attestation_enhancements
Améliorations facultatives pour l'attestation
2019-07-04 12:08:16 +02:00
maatinito
fee3ef8f4f A4 output and allows large logos (headers) to take the whole width of the page 2019-07-03 15:31:34 -10:00
Paul Chavard
eaf7261e82
Merge pull request #4035 from tchak/no-crash-when-no-service
Avoid crashing when demarche have no service
2019-07-03 17:27:36 +02:00
Paul Chavard
05987223db Avoid crashing when demarche have no service 2019-07-03 17:18:44 +02:00
Paul Chavard
87902a05d9
Merge pull request #4029 from tchak/dossier-asm
Add aasm to dossiers state
2019-07-03 14:12:15 +02:00
Paul Chavard
e582ff729c Add aasm to dossiers state 2019-07-03 13:37:27 +02:00
Paul Chavard
a48bc5053d
Merge pull request #4032 from betagouv/dependabot/npm_and_yarn/axios-0.18.1
Bump axios from 0.18.0 to 0.18.1
2019-07-03 13:37:11 +02:00
dependabot[bot]
b32e73a2fc
Bump axios from 0.18.0 to 0.18.1
Bumps [axios](https://github.com/axios/axios) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.18.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.18.0...v0.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-03 11:26:39 +00:00
Paul Chavard
028dd4d894
Merge pull request #3773 from betagouv/add_actiontext_to_mail_templates
Prepare UI migration : Add ActionText to mail templates
2019-07-03 13:24:53 +02:00
Mathieu Magnin
10d3ba10f2 Before save copy body in rich_body 2019-07-03 13:15:49 +02:00
Mathieu Magnin
d13b7f953f Migrate mail body to ActionText 2019-07-03 13:15:49 +02:00
Mathieu Magnin
b34f8fbe3d Add ActionText 2019-07-03 13:15:49 +02:00
LeSim
56ab9d7131
Merge pull request #4031 from betagouv/change_all_demarches_link
Landing: voir les démarches -> comment trouver ma démarche
2019-07-03 13:13:51 +02:00
simon lehericey
4b154983fb Landing: voir les démarches -> comment trouver ma démarche 2019-07-03 12:59:09 +02:00
Paul Chavard
0ad14283c5
Merge pull request #4030 from tchak/upgrade-javascript-dependencies
Upgrade javascript dependencies
2019-07-03 11:57:17 +02:00
Paul Chavard
860588b216 Upgrade javascript dependencies and add actiontext 2019-07-03 11:42:25 +02:00
LeSim
87cf862e10
Merge pull request #4022 from betagouv/fix_3683_redo_refused_dossier
Fix 3683 redo refused dossier
2019-07-02 19:41:00 +02:00
simon lehericey
522d7684ea dossier state button in red when refused 2019-07-02 18:40:20 +02:00
simon lehericey
c7e10fc43f Manager: remove repasser_en_instruction 2019-07-02 18:40:20 +02:00
simon lehericey
b2c987ff0d [fix #3683] Dossier: add repasser_en_instruction! 2019-07-02 18:40:20 +02:00
simon lehericey
b79220e711 UI 2019-07-02 18:35:47 +02:00
Paul Chavard
39c05ef97b
Merge pull request #3923 from tchak/export-dossier
Export dossiers v2
2019-07-02 15:41:47 +02:00
Paul Chavard
8cb6b348a4
Update app/views/gestionnaires/procedures/_download_dossiers.html.haml
Co-Authored-By: Nicolas Bouilleaud <nico@bou.io>
2019-07-02 14:52:56 +02:00
Paul Chavard
fb0ef15e3c Export dossiers v2 2019-07-02 14:20:29 +02:00
LeSim
28e9fca02e
Merge pull request #3999 from tchak/declarative-demarches
Official support for declarative demarches
2019-07-02 14:19:56 +02:00
Paul Chavard
46c1bbbc6f Official support for declarative demarches 2019-07-02 14:12:26 +02:00
clemkeirua
dfefb827d9 missing connect-src 2019-07-02 10:50:10 +02:00
Keirua
1fcc2fec6f
Merge pull request #4025 from betagouv/enable-subdomains-csp-connectsrc
enable static + activate csp in production
2019-07-02 10:41:31 +02:00
clemkeirua
d6f2de2fbf enable static + activate csp in production 2019-07-02 09:40:38 +02:00
LeSim
0e87782ce9
Merge pull request #4014 from betagouv/fix_4008_secured_login_by_default
[fix #4008] secured login for all gestionnaires
2019-07-01 18:03:28 +02:00
simon lehericey
05b1c41616 After_party task to enable_secured_login for the stock 2019-07-01 15:06:39 +02:00
simon lehericey
92bd382c64 [fix #4008] secured login for all gestionnaires 2019-07-01 15:06:39 +02:00
Keirua
64e5ea13a3
Merge pull request #4019 from betagouv/fix/disable-csp
disable csp
2019-07-01 12:10:33 +02:00
clemkeirua
0cfd3e3c1f disable csp 2019-07-01 12:10:08 +02:00
Nicolas Bouilleaud
4ae19898d2
Merge pull request #4018 from betagouv/fix-closed-dossiers-commentaires
Reallow automatic Commentaires for archived/closed Dossier
2019-07-01 12:05:54 +02:00
Nicolas Bouilleaud
bd666a53af Reallow automatic Commentaires for archived/closed Dossier 2019-07-01 11:59:29 +02:00
Nicolas Bouilleaud
a238be2f2c
Merge pull request #3987 from betagouv/fix-3986-ROI-Admin
Fix 3986 roi admin
2019-07-01 11:31:56 +02:00