Commit graph

7614 commits

Author SHA1 Message Date
Pierre de La Morinerie
ca5268b658
update on the security policy headers (#3853)
Ajustement des en-têtes CSP envoyés au navigateur
2019-05-09 17:04:16 +02:00
clemkeirua
675cc5150c update on the security policy headers 2019-05-09 14:55:21 +02:00
Pierre de La Morinerie
f7be8855eb
Carrierwave: change the method name to extension_whitelist for filter (#3846)
Rétablissement du filtrage des extensions sur les anciennes pièces justificatives
2019-05-09 13:36:39 +02:00
pedong
f0ed61cce8 Carrierwave: change the method name to extension_whitelist for filter uploader file extension 2019-05-07 13:20:20 +02:00
Keirua
3435349b66
Merge pull request #3526 from Keirua/feat/2631-upload-avis
[#2631] implementation du systeme de PJ de motivation
2019-05-07 09:04:36 +02:00
clemkeirua
afa6711564 refacto suite à simplification virusscan 2019-05-07 08:54:29 +02:00
clemkeirua
d0794f42d1 fix tag_substitution_concern links for lien attestation 2019-05-07 08:54:29 +02:00
clemkeirua
c98655be52 ellipsis on file input overflow 2019-05-07 08:54:29 +02:00
clemkeirua
67a3d435d0 added some space after the optionnal justificatif button 2019-05-07 08:54:29 +02:00
clemkeirua
0e26bda186 cleanup the tag substitution concern & uniformization 2019-05-07 08:54:29 +02:00
clemkeirua
653eff01f0 add download link for instructeur 2019-05-07 08:54:29 +02:00
clemkeirua
486a6eccd6 fix invalid refactoring 2019-05-07 08:54:29 +02:00
clemkeirua
e4259466b4 nettoyage du tag_substitution_concern 2019-05-07 08:54:29 +02:00
clemkeirua
b3956bc072 introduce virus scans 2019-05-07 08:54:29 +02:00
clemkeirua
f8a2598647 ajout du lien vers le justificatif dans la balise --lien attestation-- 2019-05-07 08:54:29 +02:00
clemkeirua
747dc505cc ajout d'un test 2019-05-07 08:54:29 +02:00
clemkeirua
ec2e17032e suppression de la double confirmation 2019-05-07 08:54:29 +02:00
clemkeirua
183f1a5fa8 suppression de l'ajout en PJ 2019-05-07 08:54:29 +02:00
clemkeirua
4aab72be68 implementation du systeme de PJ de motivation 2019-05-07 08:54:29 +02:00
Nicolas Bouilleaud
5477bd67ee
Merge pull request #3786 from betagouv/multi-admin-ui
[#1626] Multi-admin UI
2019-05-06 16:28:22 +02:00
Pierre de La Morinerie
67fb561119 Apply suggestions from code review
Co-Authored-By: n-b <nico@bou.io>
2019-05-06 16:19:08 +02:00
Nicolas Bouilleaud
0590cc1e28 Ignore the Procedure.administrateur_id column again
following #3822
2019-05-06 16:19:08 +02:00
Nicolas Bouilleaud
df865e71dc Make sure that there always is at least one administrator per Procedure 2019-05-06 16:19:08 +02:00
Nicolas Bouilleaud
8d84dba3f2 Link to multi-admin settings from the left panel
refs #1626
2019-05-06 16:19:08 +02:00
Nicolas Bouilleaud
3ff0c83485 Add multi-admin UI
refs #1626
2019-05-06 16:19:08 +02:00
Pierre de La Morinerie
07d43d8c2e
Obsolete tasks that triggers errors on a fresh database (#3836)
Suppression de tâches de migration de données obsolètes
2019-05-06 15:17:50 +02:00
maatinito
3cc088e965 Obsolete tasks that triggers errors on a fresh database
20180913161001_add_path_to_procedures.rake
  NoMethodError: undefined method `procedure_path' for #<Procedure:0x00007fffd77aed40>
20181009130216_restore_deleted_dossiers.rake
  ActiveRecord::RecordNotFound: Couldn't find Procedure with 'id'=4860
20181010102500_remove_invite_gestionnaires.rake
  NameError: uninitialized constant InviteGestionnaire
2019-05-06 15:08:42 +02:00
Pierre de La Morinerie
05c9e3e659
[Fix 3827] Champ Pays: la ligne de tirets devrait être grisée (#3828)
Usager : la ligne de séparation dans les menus déroulants de pays n'est plus sélectionnable
2019-05-06 15:08:19 +02:00
maatinito
2308b3bc5c [Fix 3827] Champ Pays: la ligne de tirets ne devrait pas être selectionnable 2019-05-06 14:55:29 +02:00
Keirua
748adfd3d5
Merge pull request #3838 from Keirua/feat/content-security-policy
Add Content Security Policy test headers
2019-05-06 10:23:44 +02:00
clemkeirua
2ae02a132b Report-Only for tests 2019-05-06 10:07:51 +02:00
clemkeirua
64b858ef19 handle Gon + add report-uri URL 2019-05-06 10:07:51 +02:00
clemkeirua
8582b08a98 add security policy 2019-05-06 10:07:51 +02:00
Paul Chavard
58c71ddee6
Merge pull request #3841 from tchak/fix-api-entreprise
Exercices and RNA information are optional and should not block the request
2019-05-03 18:31:51 +02:00
Paul Chavard
96b3547788 Exercices and RNA information are optional and should not block the request 2019-05-03 18:23:21 +02:00
Nicolas Bouilleaud
0ebb2f55eb
Merge pull request #3839 from tchak/fix-jquery-ie11
Update to latest jquery to fix IE11 exception
2019-05-03 16:46:41 +02:00
Paul Chavard
078732e318 Update to latest jquery to fix IE11 exception 2019-05-03 16:34:47 +02:00
Paul Chavard
ec4505af91
Merge pull request #3817 from tchak/clenup-virus-scan
Remove deprecated virus_scan model
2019-05-03 11:50:57 +02:00
Paul Chavard
91f2d7d706 Remove deprecated virus_scan model 2019-05-03 11:07:19 +02:00
Pierre de La Morinerie
7b835f01fd
Save virus scan status to blob metadata (#3816)
Migration du statut de l'analyse anti-virus vers les objets `ActiveStorage` (plutôt que d'être liés à chaque modèle).
2019-05-02 16:52:56 +02:00
Paul Chavard
d26f736f50 Migrate virus scans to blob metadata 2019-05-02 15:58:09 +02:00
Paul Chavard
6e8b9cf668 Refactor piece_jointe template to avoid repetition 2019-05-02 15:58:09 +02:00
Paul Chavard
f113d108c9 Save virus scan status to blob metadata 2019-05-02 15:58:09 +02:00
Paul Chavard
7e8df41648
Merge pull request #3820 from tchak/update-webpack
Load leaflet from separate chunks
2019-05-02 15:57:47 +02:00
Paul Chavard
d72cead7ff Remove unnecessary uglify options
New options :
terserOptions:
   { output: { ecma: 5, comments: false, ascii_only: true },
     parse: { ecma: 8 },
     compress: { ecma: 5, warnings: false, comparisons: false },
     mangle: { safari10: true } } }
2019-05-02 14:10:48 +02:00
Paul Chavard
2f633b5d23 Load leaflet from a separate chunk 2019-05-02 14:10:48 +02:00
Pierre de La Morinerie
011b575900
Affiche un message d'erreur clair lorsque l'API-Entreprise est indisponible (#3831)
Un message d'erreur clair est affiché lorsque la récupération des informations à partir du n° SIRET est temporairement indisponible
2019-05-02 13:30:32 +02:00
Pierre de La Morinerie
e06e32238c api_entreprise: display a specific error message on network errors 2019-05-02 11:24:38 +02:00
Pierre de La Morinerie
ad4a89f0f6 api_entreprise: raise on network error 2019-05-02 11:24:22 +02:00
Pierre de La Morinerie
7c1c61248e spec: cleanup siret_controller_spec.rb 2019-05-02 11:24:22 +02:00