Commit graph

11127 commits

Author SHA1 Message Date
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
Paul Chavard
13a82d8fe9
Merge pull request #5368 from betagouv/dev
2020-07-12-03
2020-07-12 12:34:27 +02:00
Paul Chavard
cc7e6853e7 Disable usual_traitement_time 2020-07-12 12:32:28 +02:00
Paul Chavard
a0f5857696
Merge pull request #5366 from betagouv/dev
2020-07-12-02
2020-07-12 11:48:27 +02:00
dependabot[bot]
0d782369d2
build(deps): bump puma from 4.3.3 to 4.3.5
Bumps [puma](https://github.com/puma/puma) from 4.3.3 to 4.3.5.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-12 09:48:00 +00:00
Paul Chavard
d51bb022e7
Merge pull request #5365 from tchak/downgrade-rack
Revert "build(deps): bump puma from 4.3.3 to 4.3.5"
2020-07-12 11:47:06 +02:00
Paul Chavard
73fcdf1c8b Revert "build(deps): bump puma from 4.3.3 to 4.3.5"
This reverts commit a02a67cf8b.
2020-07-12 11:44:13 +02:00
Paul Chavard
66fbc6cfda
Merge pull request #5364 from betagouv/dev
2020-07-12-01
2020-07-12 11:33:45 +02:00
Paul Chavard
815313c2a6
Merge pull request #5362 from tchak/downgrade-rack
Revert "build(deps): bump rack from 2.0.9 to 2.2.3"
2020-07-12 11:29:01 +02:00
Paul Chavard
4969377024 Revert "build(deps): bump rack from 2.0.9 to 2.2.3"
This reverts commit 2abc8a0d28.
2020-07-12 11:26:41 +02:00
Pierre de La Morinerie
a94b42cbad
Merge pull request #5359 from betagouv/remove-old-after-party-tasks
Suppression d'anciennes tâches de migration de données
2020-07-09 18:37:18 +02:00
Pierre de La Morinerie
c41afc425e tasks: remove old after_party tasks
Fixes a task that since became invalid:

> NameError: uninitialized constant SeekAndDestroyExpiredDossiersJob
> /lib/tasks/deployment/20191203142402_enable_seek_and_destroy_job
2020-07-09 18:18:09 +02:00
Kara Diaby
94df9ca514
Merge pull request #5339 from betagouv/feat/5287
Feat/5287 - New design for admin procedure detail
2020-07-09 15:33:09 +02:00
Keirua
811c8daacd
Merge pull request #5361 from betagouv/dev
2020-07-09-01
2020-07-09 14:13:53 +02:00
kara Diaby
7f3b38cfee Merge admin dashboard to new design for procedure details 2020-07-09 12:18:22 +02:00