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
Pierre de La Morinerie
a084fd199f
Merge pull request #5356 from betagouv/doc-boot-appli
...
Suppression de la dépendance à `overmind`
2020-07-09 10:56:59 +02:00
Pierre de La Morinerie
4f8355664a
bin: get closer from the default template of Rails 6
2020-07-09 10:47:38 +02:00
Pierre de La Morinerie
0003dc167a
bin: remove last mentions of overmind
2020-07-09 10:47:38 +02:00
Pierre de La Morinerie
2fff534d66
README: remove last mentions of overmind
2020-07-09 10:47:38 +02:00
clemkeirua
fa86204410
mise à jour de Procfile
2020-07-09 09:33:17 +02:00
clemkeirua
60c3047e4f
mise à jour de doc pour se passer d'overmind
2020-07-09 09:32:09 +02:00
Paul Chavard
8f99a0eda3
Merge pull request #5355 from tchak/clean-up-repetition
...
Remove repetition types_de_champ on type_champ change
2020-07-08 19:43:20 +02:00
Paul Chavard
cb8cac395b
fix spec name
2020-07-08 19:28:17 +02:00
Paul Chavard
3b9e6dba25
Update spec/models/type_de_champ_shared_example.rb
...
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2020-07-08 19:28:17 +02:00
Paul Chavard
84ff75ed6b
Update spec/models/type_de_champ_shared_example.rb
...
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2020-07-08 19:28:17 +02:00
Paul Chavard
a92320e246
Update spec/models/type_de_champ_shared_example.rb
...
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2020-07-08 19:28:17 +02:00
Paul Chavard
d8e864a7d9
Update spec/models/type_de_champ_shared_example.rb
...
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2020-07-08 19:28:17 +02:00
Paul Chavard
660c95356b
Update spec/models/type_de_champ_shared_example.rb
...
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2020-07-08 19:28:17 +02:00
Paul Chavard
ef259c361d
Fix exception when purge_later is called before save
2020-07-08 19:25:05 +02:00
Paul Chavard
a74e52c828
Call remove_drop_down_list on before_save
2020-07-08 19:25:05 +02:00
Paul Chavard
3c9cc6c070
Remove repetition types_de_champ on type_champ change
2020-07-08 19:25:05 +02:00
krichtof
134713649e
Merge pull request #5358 from betagouv/5347-validate-api-entreprise-token
...
#5347 valide le jeton spécifique à une procédure donnée par l'administrateur
2020-07-08 19:06:11 +02:00
Christophe Robillard
2c56511204
validate api_entreprise_token
2020-07-08 18:59:22 +02:00
krichtof
c074864c2e
Merge pull request #5330 from betagouv/4897-display-instructeur-decision
...
#4897 Affiche l'instructeur qui a rendu la décision sur un dossier
2020-07-08 18:39:06 +02:00
Christophe Robillard
7fd4d46e8e
remove empty spec file
2020-07-08 18:15:15 +02:00
Christophe Robillard
f38e16e371
avoid n+1 queries
2020-07-08 18:15:15 +02:00
Christophe Robillard
dfc97d8d87
allège l'affichage des décisions rendues
2020-07-08 18:15:15 +02:00