Commit graph

18561 commits

Author SHA1 Message Date
Colin Darie
f7029615a9
refactor(email): spread sending of instructeur digest emails over time
On envoi parfois plus de 20K mails, ce qui pose des problèmes de délivrance
et quotas si on le fait d'un coup.
On étale donc un peu dans la durée ces envois pour pas limiter le dépassement
de quota.
2023-05-09 11:32:43 +02:00
Colin Darie
049219a4a2
fix(dolist): don't fail on error when contact does not exist yet 2023-05-09 11:06:48 +02:00
Lisa Durand
2b2d65de87
Merge pull request #8994 from demarches-simplifiees/add-simple-filter-for-usagers
[refonte usager] Tableau de bord - Ajouter bouton filtres simples
2023-05-09 08:06:15 +00:00
mfo
2374ced5d2
Merge pull request #8987 from mfo/US/link-to-errored-champs
amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement
2023-05-09 07:06:36 +00:00
Paul Chavard
f563fb3269
Merge pull request #8990 from tchak/fix-limit-textarea-size
ETQ administrateur, je veux pouvoir limiter le nombre de caractères dans les champs "texte long"
2023-05-05 14:54:41 +00:00
Paul Chavard
fe041b4c6c fix(textarea): fix character limit option 2023-05-05 16:36:51 +02:00
Paul Chavard
471da7eb61 Revert "Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739""
This reverts commit 909d726429.
2023-05-05 16:36:51 +02:00
Paul Chavard
7a6f46a8ad
Merge pull request #9002 from tchak/feat-procedure-clone-preview-published
ETQ Administrateur, je veux cloner la version publiée des démarches en production
2023-05-05 14:36:03 +00:00
Paul Chavard
4513c52213
Merge pull request #9001 from colinux/dev-active-storage-attachment-url
ETQ développeur je veux pouvoir utiliser les urls d'attachments en local
2023-05-05 14:35:05 +00:00
Paul Chavard
91a1064f33
Merge pull request #9000 from tchak/chore-update-dependencies
ETQ développeur, je veux que les dépendances npm soient à jour
2023-05-05 14:34:24 +00:00
mfo
96fbbbbbb9
Merge pull request #9005 from mfo/US/fix-groupe_instructeurs-with-at-least-one-active
correctif(procedure.clone): ET admin, je souhaite pouvoir cloner une procedure ayant deux groupes d'instructeur ayant le dernier fermé
2023-05-05 13:24:41 +00:00
Martin
2135985583 correctif(procedure.clone): ET admin, je souhaite pouvoir cloner une procedure ayant deux groupes d'instructeur ayant le dernier fermé 2023-05-05 11:09:06 +02:00
Colin Darie
e38c6ed73d
Merge pull request #9003 from tchak/fix-dossiers-suivis-filter
ETQ Instructeur, je ne veux pas voir les dossiers terminés dans l'onglet "suivis"
2023-05-04 16:38:16 +00:00
Paul Chavard
11065946ce fix(instructeur): fix dossiers suivis filter (merge behavior change in rails 7) 2023-05-04 18:24:18 +02:00
Paul Chavard
616188bfe3 feat(administrateur): when clone or preview procedure should use published revision if not the owned 2023-05-04 16:15:55 +02:00
Kara Diaby
e0071cf1bb
Merge pull request #8995 from demarches-simplifiees/feat/8969
ETQ administrateur , je souhaite prévisualiser la démarche depuis l'interface "toutes les démarches
2023-05-04 13:43:07 +00:00
Colin Darie
da178e354d
Merge pull request #8999 from colinux/fix-export-attachment-filenames
ETQ instructeur, ne plante pas un export s'il contient des PJ avec des noms de fichiers invalides
2023-05-04 13:35:39 +00:00
Colin Darie
5a6be72f27
chore(dev): fix attachment.url generation with ActiveStorage local disk service 2023-05-04 15:24:55 +02:00
Colin Darie
5be8865675
fix(export): sanitize filename containing unsafe chars for storage
Pourrait fixer des problèmes de dezip sous windows de zip.
2023-05-04 14:36:44 +02:00
Colin Darie
f615facbba
fix(export): don't fail when trying to write a file name > 255 bytes 2023-05-04 14:36:33 +02:00
Paul Chavard
c8fc839acb chore(npm): fix update dependencies 2023-05-04 14:13:41 +02:00
Paul Chavard
7f991a67e2 Revert "Revert "Merge pull request #8985 from tchak/chore-update-dependencies""
This reverts commit e744ed99d2.
2023-05-04 14:01:35 +02:00
Lisa Durand
c039414872 feedback PR review 2023-05-04 12:39:06 +02:00
Kara Diaby
c2296630fa Ajout de la prévisualisation de la démarche dans la page toutes les démarches 2023-05-04 10:56:59 +02:00
Paul Chavard
88bb0cc532
Merge pull request #8989 from tchak/fix-presentation-filters
ETQ Instructeur, je ne veux pas d'erreurs quand les filtres ne sont pas trouvés
2023-05-04 08:45:56 +00:00
Colin Darie
53b7a37fb4
Merge pull request #8998 from colinux/fix-attestation-redirect
ETQ Instructeur et Usager: corrige le téléchargement des attestations
2023-05-04 08:40:30 +00:00
Colin Darie
93c08072ba fix(attestation): allow redirection to our static domain for attestation 2023-05-04 10:31:38 +02:00
Colin Darie
f4ccc5c717
Merge pull request #8736 from adullact/feat/rails-7
Tech: migration vers Rails 7
2023-05-04 07:03:06 +00:00
Lisa Durand
eb09a7480e remove role from filter component a11y to fix specs 2023-05-03 17:48:04 +02:00
Lisa Durand
9fd9bdc7c0 add tag to display and remove active filters 2023-05-03 16:47:27 +02:00
simon lehericey
9c8020b05c feat(admin): add initiation procedure for a new admin 2023-05-03 15:08:21 +02:00
Colin Darie
97049f7b2e chore(lograge): fix rails 7 initialization with ApplicationLogSubscriber 2023-05-03 13:18:09 +02:00
Lisa Durand
7aca10377c change no file message if filters are selected 2023-05-03 12:06:30 +02:00
Colin Darie
eabc9069f8 test(super-admin): more explicit disable otp test 2023-05-03 11:37:28 +02:00
Colin Darie
4c162a64d9
test: fix missing explicit rspec type 2023-05-03 11:35:32 +02:00
Colin Darie
6616acb825
chore(super-admin): update devise-two-factor v5 with otp_secret encrypted attribute 2023-05-03 11:35:32 +02:00
Colin Darie
eb88c5e9de
chore: setup active record encryption from secrets 2023-05-03 11:35:32 +02:00
Colin Darie
2144c69e22
chore: disable cookies rotation until we enforce SHA256 digests 2023-05-03 11:35:32 +02:00
Colin Darie
ae88c1de6b
fix(devise): default config for devise and turbo stream as navigational format 2023-05-03 11:35:32 +02:00
Colin Darie
d044472615
chore(bundle): update rspec-rails & rspec-mocks for rails 7 support 2023-05-03 11:35:32 +02:00
Colin Darie
61ebb27e86
fix(redirect): allow other hosts when required 2023-05-03 11:35:31 +02:00
Colin Darie
33a1e0f22d
fix(loading): in initializer, dolist must be manually loaded 2023-05-03 11:35:31 +02:00
Colin Darie
109504d9be
chore(schema): sync schema with production options 2023-05-03 11:35:31 +02:00
Colin Darie
42c1e32909
chore(schema): missing foreign key declarations 2023-05-03 11:35:31 +02:00
Colin Darie
7597d898a6
chore(schema): fix precision option for datetime columns 2023-05-03 11:35:31 +02:00
Colin Darie
d31016973c
chore(schema): model annotations accordingly to schema 2023-05-03 11:35:31 +02:00
Colin Darie
b3099214b1
chore(rails): we already use json as cookies_serializer 2023-05-03 11:35:31 +02:00
Colin Darie
e8e785b953
refactor(rubocop): fix Rails/ToFormattedS 2023-05-03 11:35:30 +02:00
Colin Darie
1f3cd386e5
chore(bundle): pry 0.13.1 => 0.14.2 2023-05-03 11:35:30 +02:00
Colin Darie
5a35154c37
chore(bundle): update to rails 7.0.4.3 and improve pinning 2023-05-03 11:35:30 +02:00