clemkeirua
eaf850c1e9
enable csp
2019-06-27 11:10:29 +02:00
LeSim
4d6719fe7c
Merge pull request #3996 from tchak/download-active-storage-files-through-proxy
...
Download active_storage blobs through proxy
2019-06-26 16:08:30 +02:00
Paul Chavard
7f8079b5bb
Download active_storage blobs through proxy
2019-06-26 15:32:57 +02:00
Paul Chavard
aad4025ce0
Revert "Download active_storage blobs through proxy"
...
This reverts commit 0b39da7080
.
2019-06-26 15:31:35 +02:00
Paul Chavard
0b39da7080
Download active_storage blobs through proxy
2019-06-26 15:07:40 +02:00
Paul Chavard
0adeee51fc
Merge pull request #3997 from betagouv/fix/csp-crisp-websocket
...
fix csp rule for crisp websocket
2019-06-26 14:27:14 +02:00
clemkeirua
f19b5f8911
fix csp rule for crisp websocket
2019-06-26 12:37:55 +02:00
Paul Chavard
030fdfe712
Merge pull request #3994 from betagouv/feat/more-crisp
...
enable crisp websockets and css
2019-06-25 16:48:38 +01:00
Paul Chavard
7a2e9fe8a4
Merge pull request #3990 from betagouv/benjamin-alerte
...
Minor text change
2019-06-25 16:39:38 +01:00
clemkeirua
7064f7e973
enable crisp websockets and css
2019-06-25 17:39:08 +02:00
LeSim
f10e79ab4e
Merge pull request #3992 from tchak/remove-old-comment-pj
...
Remove unused code from Commentaire
2019-06-25 17:28:36 +02:00
Paul Chavard
c5704fa22f
Remove unused code from Commentaire
2019-06-25 17:04:29 +02:00
benjaminhenkel
1200d25f26
Update _list.html.haml
2019-06-24 17:00:10 +02:00
Nicolas Bouilleaud
3d2e6581f3
Merge pull request #3988 from betagouv/fix-pj-migration-notifications
...
PJ Migration : ensure creating an empty champ doesn’t display a notification
2019-06-24 16:55:38 +02:00
Pierre de La Morinerie
50cf6059e6
tasks: ensure creating an empty champ doesn’t display a notification
2019-06-24 15:49:02 +02:00
Keirua
5c2bd46000
Merge pull request #3984 from betagouv/fix-crash-activate_before_expiration
...
Fix a crash in the activate_before_expiration email
2019-06-24 10:39:07 +02:00
Nicolas Bouilleaud
44b9a2ef12
Include application_helper in ApplicationMailer
...
fixes a crash in activate_before_expiration.haml (sentry RAILS-40)
2019-06-21 09:50:33 +02:00
Pierre de La Morinerie
14980c3be1
Remove orphaned piece_justificatives ( #3982 )
...
Suppression des pièces justificatives orphelines en base
2019-06-20 16:41:31 +02:00
Paul Chavard
0e519679ce
Remove orphaned piece_justificatives
2019-06-20 16:28:12 +02:00
Paul Chavard
b468eb8dec
Merge pull request #3980 from tchak/add-order-to-api
...
Add order param to API
2019-06-20 15:40:36 +02:00
Paul Chavard
1781a49932
Add order param to API
2019-06-20 15:28:16 +02:00
Keirua
fc9a241461
Merge pull request #3978 from betagouv/feat/csp-duplicates-rules
...
add duplicate rules as fallback
2019-06-20 11:58:44 +02:00
clemkeirua
d3c6021ef4
add duplicate rules as fallback
2019-06-20 11:34:24 +02:00
Pierre de La Morinerie
93c3d1bc92
champs: show attachment actions only when the attachment is persisted ( #3963 )
...
Usager : correction d'une erreur lors de l'enregistrement simultané d'un champ invalide et d'une pièce jointe
2019-06-20 11:10:29 +02:00
Pierre de La Morinerie
9ce92d5c3b
champs: show attachment actions only when the atachment is persisted
...
Fix #3961
2019-06-20 11:03:08 +02:00
Pierre de La Morinerie
b98c6e1994
Migration PJ : corrige le rollback dans le cas où les dossiers sont cachés ( #3971 )
...
Migration des PJ : corrige le rollback dans le cas où les dossiers sont cachés
2019-06-20 10:58:59 +02:00
Pierre de La Morinerie
d561936863
task: ensure that hidden dossiers are rolled back
2019-06-20 10:48:56 +02:00
Nicolas Bouilleaud
d71b3ade80
Merge pull request #3970 from betagouv/fix-pj-migration-rollback
...
Migration des PJ : gestion des erreurs qui peuvent se produire pendant le rollback
2019-06-20 10:42:50 +02:00
Pierre de La Morinerie
f8dda3ae45
tasks: don't abort rollback when a dossier fails
...
Instead print a warning, and continue rolling back the other dossiers.
2019-06-20 10:31:23 +02:00
Pierre de La Morinerie
91393be13c
tasks: extract rollback to a separate method
2019-06-20 10:31:23 +02:00
Pierre de La Morinerie
0cfbc75ca9
Mailer preview correction: procedure has now multiple administrators ( #3977 )
...
Correction du mailer_preview pour prendre en compte les administrateurs multiples
2019-06-20 10:27:46 +02:00
Christian Lautier
2393fa86be
Mailer preview correction: procedure has now multiple administrators
2019-06-20 10:17:55 +02:00
Paul Chavard
8f6a1d1d10
Merge pull request #3967 from betagouv/fix-disabled-new-procedure-save-button
...
Do not check for path availability when in the “new procedure” form
2019-06-19 10:48:14 +02:00
Nicolas Bouilleaud
43f936ec77
Do not check for path availability when in the “new procedure” form
...
The user can’t even enter the path here, it’s nil.
fixes #3918
The @availability was always PATH_NOT_AVAILABLE when the form was reloaded after an error, because Procedure::path_availability always found an (archived) procedure with a nil path. It got confused and concluded its path was conflicting.
🤷🏻♂️
2019-06-18 14:31:12 +02:00
Pierre de La Morinerie
42a424d67d
add missing elements to the security policy ( #3964 )
...
Ajustement des restrictions de Content-Security-Policy
2019-06-17 18:23:32 +02:00
clemkeirua
dc6c2e6bc0
add missing elements
2019-06-17 17:05:08 +02:00
Nicolas Bouilleaud
de79a9a8bd
Merge pull request #3886 from betagouv/timestamp-dossier-operations
...
Timestamp operations
2019-06-17 16:38:47 +02:00
Nicolas Bouilleaud
c606644902
Tweak codestyle in specs, following review
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
eb592f8ddf
Add manager controller for bill signatures
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
925edb01c7
Add OperationsSignatureJob
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
ad3553f0be
Add BillSignature Service
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
f355f849a6
Add BillSignature Model
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
dace9a53d3
Add Universign timestamp API query
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
e16cb731c5
Add poor man’s ASN1 parsing
2019-06-17 16:16:28 +02:00
Pierre de La Morinerie
bef9f9e361
Petites améliorations au CONTRIBUTING.md ( #3962 )
...
Petites améliorations au CONTRIBUTING.md
2019-06-17 15:56:17 +02:00
Pierre de La Morinerie
ab92d6b906
doc: clarify wording in CONTRIBUTING.md
2019-06-17 15:54:41 +02:00
Pierre de La Morinerie
000cba10e3
models: fix touch not propagating when using nested attributes ( #3907 )
...
Correction d'un problème où la date de modification d'un dossier n'était pas mise à jour lorsque seulement les pièces justificatives étaient modifiées
2019-06-17 13:50:25 +02:00
Nicolas Bouilleaud
7e80b8a4dc
Enable the Rails/InverseOf cop and add missing inverse_of
2019-06-17 13:44:07 +02:00
Pierre de La Morinerie
51aacabf13
models: fix touch not propagating when using nested attributes
...
Sometimes, when using nested attributes, touch doesn’t propagate to
parent relationships. (see https://github.com/rails/rails/issues/26726 )
Specifically, this happens in our app when updating a dossier with
only new attachements (but without changing the value of any fields).
To work around this, we need to define the parent relationship
explicitely. This is good practice anyway.
Fix #3906
2019-06-17 13:44:07 +02:00
Pierre de La Morinerie
52d672486e
fix duplicate content ( #3960 )
...
Suppression d'un paragraphe dupliqué dans le fichier README
2019-06-17 13:37:44 +02:00