Commit graph

11291 commits

Author SHA1 Message Date
clemkeirua
c0cf8b1341 fix display of labels for datetime on screenreaders 2020-07-20 11:37:01 +02:00
clemkeirua
bc34905742 fix heading order by removing useless h4 2020-07-20 11:36:55 +02:00
Christophe Robillard
4476f00be2 fix active link menu for demarches 2020-07-20 11:26:19 +02:00
clemkeirua
def81f9de8 fix zip download for everybody 2020-07-20 11:14:34 +02:00
krichtof
0c95e41c6f
Merge pull request #5386 from betagouv/5138-revoque-avis-expert
[Revoque une demande d'avis à un expert](https://github.com/betagouv/demarches-simplifiees.fr/pull/5386)
2020-07-17 20:42:13 +02:00
Gangler Fabrice
39feca251d allow status page URL to be configured in .env 2020-07-17 15:53:49 +02:00
Kara Diaby
21b200a260
Merge pull request #5388 from tchak/fix-patron
fix patron drop down list
2020-07-17 14:55:37 +02:00
Paul Chavard
6dbe2fe165 fix patron drop down list 2020-07-17 12:11:46 +02:00
Kara Diaby
b9ea668ddf
Merge pull request #5390 from betagouv/dev
2020-07-17-01
2020-07-17 11:31:37 +02:00
Kara Diaby
18b9c3875b
Merge branch 'master' into dev 2020-07-17 11:31:17 +02:00
Kara Diaby
862d0b719d
Merge pull request #5389 from betagouv/fix/5287
fix/5287 - fix new admin interface regarding test links and previsualisation
2020-07-17 11:28:40 +02:00
kara Diaby
5e43559329 fix new admin interface regarding test links and previsualisation 2020-07-17 11:10:54 +02:00
Paul Chavard
100955fbb3
Merge pull request #5387 from betagouv/dependabot/npm_and_yarn/lodash-4.17.19
build(deps): bump lodash from 4.17.15 to 4.17.19
2020-07-17 10:49:14 +02:00
dependabot[bot]
3e2a1eeaff
build(deps): bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 21:42:36 +00:00
Christophe Robillard
52e8f32e19 expert can only revoke avis claimed by him/her 2020-07-16 21:07:20 +02:00
Christophe Robillard
3ea34834a7 revoke expert avis 2020-07-16 21:05:11 +02:00
Kara Diaby
29863310fc
Merge pull request #5385 from betagouv/dev
2020-07-16-01-2
2020-07-16 18:26:03 +02:00
Kara Diaby
eb9000f256
Merge branch 'master' into dev 2020-07-16 18:25:32 +02:00
Kara Diaby
2d5be873a0
Merge pull request #5384 from betagouv/annotation-privees
Ajout des annotations privées dans l'écran d'administration
2020-07-16 18:23:12 +02:00
clemkeirua
889cdd6874 ajout des annotations privées 2020-07-16 18:13:51 +02:00
Paul Chavard
4ff8be4b46
Merge pull request #5381 from tchak/cleanup-drop-down-options
Remove unsused drop_down_list model
2020-07-16 16:03:09 +02:00
Paul Chavard
b628169053 Remove unsused drop_down_list model 2020-07-16 15:29:01 +02:00
Kara Diaby
5468a1bad5
Merge pull request #5380 from betagouv/dev
2020-07-16-01
2020-07-16 14:59:07 +02:00
Kara Diaby
d9b5bebd71
Merge branch 'master' into dev 2020-07-16 14:41:19 +02:00
Kara Diaby
4cfd00192d
Merge pull request #5378 from betagouv/feat/5287-ie11
Feat/5287  - new design for procedure detail (admin) IE-11 compliant
2020-07-16 12:51:25 +02:00
kara Diaby
b69bc11ae4 new design for procedure detail (admin) 2020-07-16 10:40:58 +02:00
kara Diaby
9dc542af09 Revert "Revert "Feat/5287 - New design for admin procedure detail""
This reverts commit cf5eb3f251.
2020-07-15 17:00:03 +02:00
krichtof
0c924be222
Merge pull request #5374 from betagouv/3451-revoquer-invite
usager: revoque un invité sur un dossier
2020-07-15 15:46:16 +02:00
Keirua
6f6b4de17b
Merge pull request #5363 from betagouv/dependabot/bundler/rack-2.2.3
build(deps): bump rack from 2.0.9 to 2.2.3
2020-07-15 15:19:18 +02:00
dependabot[bot]
b7ca13a547
build(deps): bump rack from 2.0.9 to 2.2.3
Bumps [rack](https://github.com/rack/rack) from 2.0.9 to 2.2.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.0.9...2.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-15 12:54:00 +00:00
Keirua
aa2e97eb6e
Merge pull request #5367 from betagouv/dependabot/bundler/puma-4.3.5
build(deps): bump puma from 4.3.3 to 4.3.5
2020-07-15 14:52:24 +02:00
Pierre de La Morinerie
7f49359b88
Merge pull request #5376 from betagouv/dev 2020-07-15 11:46:11 +02:00
Pierre de La Morinerie
ef8a378ae5
Merge pull request #5375 from betagouv/fix-usual-traitement-time
Usager : ré-activation du temps de traitement des dossiers (désactivé pendant quelques jour pour cause de bogue)
2020-07-15 11:38:57 +02:00
clemkeirua
8a2aa13b74 remove pending tests 2020-07-15 09:27:23 +00:00
clemkeirua
7b9a954473 include procedure in usual_traitement_time 2020-07-15 09:27:23 +00:00
Keirua
7c3e6082ca
Merge pull request #5360 from betagouv/4926-prepare-validator
#4926 - Préparation des validator
2020-07-15 11:15:40 +02:00
clemkeirua
96e82c75d6 use more idiomatic update 2020-07-15 09:00:12 +00:00
clemkeirua
299c86141c added before_save to PieceJustificativeChamp in order to set skip_pj_validation 2020-07-15 09:00:12 +00:00
clemkeirua
c93d17bcaa add rake task to update typedechamp 2020-07-15 09:00:12 +00:00
clemkeirua
bdbe57debd add skip_pj_validation accessor to TypeDeChamp 2020-07-15 09:00:12 +00:00
Christophe Robillard
8111babdd6 user: revoque un invité sur un dossier 2020-07-14 18:25:31 +02:00
Pierre de La Morinerie
45d6ba6b69
Merge pull request #5372 from betagouv/ignore-invalid-emails
Mailers : d'autres d'erreurs SMTP sont maintenant ignorées
2020-07-13 16:25:57 +02:00
Pierre de La Morinerie
e34f82a6fb mailers: ignore more SMTP errors
Although we already ignore "invalid recipient" errors, a new type
of error recently popped: the mail service responds with
> Net::SMTPServerBusy '400 unexpected recipients: want atleast 1, got 0'

We want to also ignore this kind of errors.
2020-07-13 16:17:55 +02:00
Pierre de La Morinerie
640778641e
Merge pull request #5371 from betagouv/ignore-virus-scan-jobs-missing-files
Les jobs d'analyse anti-virus ne sont plus relancés si le fichier cible n'existe plus
2020-07-13 16:12:46 +02:00
Pierre de La Morinerie
f0a14e77f7
Merge pull request #5370 from betagouv/dev 2020-07-13 14:42:32 +02:00
Pierre de La Morinerie
7a67f1a802 jobs: ignore missing blob during virus scan
We currently have many failed VirusScannerJob enqueued, because the
underlying blob is missing.

This PR fixes the issue by discarding the job in those cases (because if
the blob is gone, the job is never going to succeed).

The implementation is based on a similar issue encoutered by the
ActiveStorage::AnalyzeJob. See 06f8baf73c
2020-07-13 14:35:41 +02:00
Pierre de La Morinerie
b82c269cef specs: test de-serialization of job arguments
When the job is invoked directly, the serialization and de-serialization
of the job arguments is not actually tested.

Using `perform_later` inside a `perform_enqueued_jobs` allows to
exercise the serialization.
2020-07-13 14:31:28 +02:00
Pierre de La Morinerie
a0df6e0ebb
Merge pull request #5369 from betagouv/revert-5339-feat/5287
Administrateur : retour à l'ancien design de la page des détails d'une démarche (le nouveau design fonctionne mal sous Internet Explorer 11, mais va rapidement être amélioré)
2020-07-13 14:27:20 +02:00
kara Diaby
ba6b89743c put pending testsz 2020-07-13 12:24:48 +02:00
Kara Diaby
cf5eb3f251
Revert "Feat/5287 - New design for admin procedure detail" 2020-07-13 11:36:42 +02:00