Commit graph

11796 commits

Author SHA1 Message Date
Pierre de La Morinerie
52b7a82932 services: mark attachments migrated from CarrierWave as safe
This avoids to enqueue thousands of scans when migrating the PJs of
a whole procedure.
2019-05-28 11:39:22 +02:00
Paul Chavard
01e6af47a7
Merge pull request #3880 from betagouv/batch-migrate-pjs
Ajout d'une tâche pour migrer les pièces justificatives de plusieurs démarches
2019-05-28 11:29:53 +02:00
Pierre de La Morinerie
4cf54e0d28 tasks: add progress report to the pjs migration task
Progress is indicated per migrated champ.
2019-05-28 10:42:18 +02:00
Pierre de La Morinerie
21ac60ad04 tasks: add a task to migrate pjs of procedures in batches 2019-05-28 10:42:18 +02:00
Paul Chavard
0f59f0fd4a
Merge pull request #3898 from betagouv/fix-3896-tracking
Add Gestionnaire ID and roles in SB tracker
2019-05-28 09:14:02 +02:00
Chaïb Martinez
920c8c0c32 Add Gestionnaire ID and ROLES
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-27 16:30:03 +02:00
Keirua
ce5ee0b766
Merge pull request #3897 from Keirua/fix/crash-empty-query-search
no crash when q is missing on RechercheController::index
2019-05-22 15:03:31 +02:00
clemkeirua
f06ae1631f no crash when q is missing on RechercheController::index 2019-05-22 15:02:57 +02:00
Paul Chavard
64009a5e10
Merge pull request #3892 from tchak/refresh-virus-scanner-checks
Refresh attachments with virus scan result
2019-05-22 14:46:02 +02:00
Paul Chavard
6797c01b69 Properly handle justificatif_motivation case 2019-05-22 14:11:08 +02:00
Paul Chavard
6a3413018a Refresh attachments with virus scan result 2019-05-21 14:21:55 +02:00
Paul Chavard
cc4eba2b36 Less mokey patching 2019-05-21 14:21:42 +02:00
Paul Chavard
f6421e081a Refactor attachment view 2019-05-21 14:21:13 +02:00
Paul Chavard
b55fae440b
Merge pull request #3891 from tchak/purge-orphaned-blobs
Purge unattached blobs
2019-05-21 14:18:14 +02:00
Paul Chavard
f833f57e45 Add PurgeUnattachedBlobsJob 2019-05-21 14:05:33 +02:00
Paul Chavard
4a9ef5d12e Always use purge_later 2019-05-21 14:05:33 +02:00
LeSim
3a5a051018
Merge pull request #3861 from betagouv/fix-3856-mailto
Fix 3856 mailto
2019-05-20 15:53:55 +02:00
Chaïb Martinez
49f0127300 [fix #3856] Add form contact admin link
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-20 15:30:28 +02:00
LeSim
ca0e5aa004
Merge pull request #3873 from betagouv/fix-3867-texte-juridique
Fix 3867 texte juridique
2019-05-20 13:56:15 +02:00
Chaïb Martinez
855d4d0245 [fix #3867] Add legal text
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-20 13:43:46 +02:00
LeSim
eeea6c3d79
Merge pull request #3885 from betagouv/fix-unclosed-tags
Fix unclosed div tags in manager views
2019-05-20 13:36:39 +02:00
Nicolas Bouilleaud
e423da9319 Fix unclosed div tags in manager views 2019-05-20 13:30:52 +02:00
Keirua
84aadc8240
Merge pull request #3888 from betagouv/dev
2019-05-20-01
2019-05-20 10:52:23 +02:00
Pierre de La Morinerie
5fdb8eb2de
Fix irb_context in rails console (#3889)
Suppression d'un message d'erreur qui apparaissait au démarrage de la console Rails
2019-05-20 10:46:37 +02:00
Nicolas Bouilleaud
76925356b6 Fix irb_context in rails console
Don’t require rspec_junit_formatter gem
It’s only needed when running tests (for circleci).
It messes with the console, when running `rails c` it causes this warning:
```
irb: warn: can't alias context from irb_context
```
This is related to rspec monkey_patching a `context` method on `Object` (rspec/rspec-rails#1645)
2019-05-20 10:33:43 +02:00
Keirua
f69fa4142f
Merge pull request #3887 from Keirua/fix/more-domains-csp
CSP: more whitelist for the common domains we use
2019-05-20 10:18:50 +02:00
clemkeirua
5cbbbb8d3e more whitelist for the common domains we use 2019-05-20 09:52:44 +02:00
Paul Chavard
886fb6697e
Merge pull request #3884 from betagouv/dev
2019-05-16-01
2019-05-16 20:58:06 +02:00
Paul Chavard
f0b3745c80
Merge pull request #3882 from tchak/try-to-fix-virus-scanner
Use active storage load hook to extend blob
2019-05-16 20:52:04 +02:00
Paul Chavard
42235e81b1 Use active storage load hook to extend blob 2019-05-16 20:43:01 +02:00
Paul Chavard
d5f54de0a0
Merge pull request #3876 from tchak/flag-dev-tools
Put devtools behind feature flags
2019-05-16 10:02:09 +02:00
Keirua
612fe0050b
Merge pull request #3878 from betagouv/dev
2019-05-16-01
2019-05-16 09:51:19 +02:00
Paul Chavard
348b15f595 Put devtools behind feature flags 2019-05-15 18:10:25 +02:00
Keirua
905145c5e5
Merge pull request #3872 from betagouv/fix/add-refresh-for-pj
Ajout de plus d'informations utilisateur pour télécharger le justificatif
2019-05-15 17:39:27 +02:00
Keirua
a96568acf4
Merge pull request #3874 from Keirua/fix/csp-reporturi
Changement de l'URL de report-uri
2019-05-15 17:17:28 +02:00
Keirua
a0b2e504dd
Merge branch 'dev' into fix/add-refresh-for-pj 2019-05-15 17:16:35 +02:00
Keirua
edd25f21a0
Merge branch 'dev' into fix/csp-reporturi 2019-05-15 16:47:54 +02:00
Pierre de La Morinerie
ae76da61f8
Remove unused sendinblue import (#3875)
Suppression d'un import de script sendinblue superflu
2019-05-15 16:36:22 +02:00
clemkeirua
6fe4031b2e use constant for localhost 2019-05-15 16:33:27 +02:00
Paul Chavard
2817e571e8 Remove unused sendinblue import 2019-05-15 16:00:12 +02:00
Paul Chavard
65ce284464
Merge pull request #3869 from tchak/upgrade-dependencies
Upgrade js dependencies
2019-05-15 15:37:24 +02:00
clemkeirua
b670b60ac6 changement de l'URI de report-uri 2019-05-15 15:32:00 +02:00
clemkeirua
285e75f470 correction wording 2019-05-15 15:08:37 +02:00
clemkeirua
131f1aacc4 ajout de plus d'informations utilisateur pour télécharger le justificatif 2019-05-15 14:56:03 +02:00
Paul Chavard
4bd7429de5 Upgrade js dependencies 2019-05-15 14:50:38 +02:00
Paul Chavard
c21382312e Upgrade eslint 2019-05-15 14:50:38 +02:00
Pierre de La Morinerie
3c757cd731
locales: remove unused carrierwave localisation (#3870)
Suppression d'une locale inutile
2019-05-15 14:49:51 +02:00
Pierre de La Morinerie
abfeb1c2db locales: remove unused carrierwave localisation
- It was broken since the renaming of `extension_white_list` to
  `extension_whitelist` (f0ed61cce8)
- The localisation is already included in the `carrierwave-i18n` gem
- The localisation included in the gem is better than ours (it mentions
  which extensions are allowed).
2019-05-15 14:39:40 +02:00
Paul Chavard
62edbe1cfa
Merge pull request #3871 from betagouv/fix-carrierwave-typo
carrierwave: fix typo
2019-05-15 14:26:19 +02:00
Pierre de La Morinerie
d431eeeb93 carrierwave: fix typo
Turns out the `openstack_identity_api_version` has not actually been
filled out for a while, because of a typo.
2019-05-15 14:03:15 +02:00