Commit graph

17883 commits

Author SHA1 Message Date
Colin Darie
ea51e7d3f5
Merge pull request #8585 from colinux/fix-procedure-draft-delete-dossiers
fix(dossier/démarche en test): peut détruire des dossiers référencés dans des opérations de masse
2023-02-08 14:49:12 +01:00
Colin Darie
786c3d06d6 chore(sentry): set procedure tag to administrateur controller 2023-02-08 14:42:14 +01:00
Colin Darie
0958053c72 chore(dossier): can destroy dossier having dossier_batch_operations
Ça peut arriver lors des démarches en test, avec des dossiers tests
en cours d'instruction.
2023-02-08 14:42:14 +01:00
Paul Chavard
7d12b2ad3b
Merge pull request #8587 from tchak/fix-changes-order
fix(dossier): prevent crash in rebase
2023-02-08 13:43:33 +01:00
Paul Chavard
dc9a455d22 fix(dossier): prevent crash in rebase 2023-02-08 11:11:14 +01:00
Colin Darie
453732257d
Merge pull request #8581 from E-L-T/do-not-notify-instructeurs-when-adding-other-instructeurs
feat(groupe instructeurs): remove mailing when adding instructeurs
2023-02-08 11:04:13 +01:00
Eric Leroy-Terquem
0e60d6bb11 clean(groupe instructeurs): remove unused method 2023-02-08 10:36:42 +01:00
Eric Leroy-Terquem
22089efa12 test(groupe instructeurs): add test and preview when removing instructeurs 2023-02-08 10:36:42 +01:00
Eric Leroy-Terquem
6cbc514d56 feat(groupe instructeurs): remove mailing when add instructeurs 2023-02-08 10:36:42 +01:00
Colin Darie
b109f206ee
Merge pull request #8591 from colinux/fix-dolist-api-wo-recipients
fix(dolist): n'envoie pas de mail par Dolist API s'il contient des destinataires cachés
2023-02-07 16:58:56 +01:00
Colin Darie
6fa692d22e
fix(dolist): don't delivery by API emails having bcc 2023-02-07 16:51:44 +01:00
mfo
b1440ac5ee
Merge pull request #8590 from demarches-simplifiees/add-external-id-index
add external id index to champs
2023-02-07 15:28:18 +01:00
sebastiencarceles
8220ea58ef review: make use of migration helper 2023-02-07 14:34:52 +01:00
sebastiencarceles
5417d3adea add external id index to champs 2023-02-07 12:04:49 +01:00
Julie Salha
9f61b0db19 remove last commit 2023-02-07 10:34:28 +01:00
Julie Salha
cf99c0450d remove aria-label attribute burger menu 2023-02-07 10:31:57 +01:00
mfo
f40ab98fde
Merge pull request #8583 from mfo/fix-dolist-method
fix(dolist): dolist method not defined
2023-02-07 09:46:52 +01:00
Martin
d82e705089 fix(dolist): dolist method not defined 2023-02-07 09:30:19 +01:00
mfo
f3f6cb100e
Merge pull request #8351 from mfo/US/8199/accessibilite-du-js
Us/8199/accessibilite du js
2023-02-07 07:23:47 +01:00
Damien Le Thiec
a51ed0094b Fix tests 2023-02-07 00:28:21 +01:00
Damien Le Thiec
b9c2d1251b Add missing tests repetition prefill 2023-02-06 17:38:59 +01:00
Martin
d2cd2d2b7b amelioration(a11y): upload, quand on supprime un fichier, refocus sur l'input d'upload. quand on ajoute un fichier, refocus sur le fichier ajouté 2023-02-06 17:19:11 +01:00
Martin
c3fd555e6c amelioration(a11y.invites): focus sur la liste des invitations lorsqu'on ajoute un invite a un dossier 2023-02-06 17:19:11 +01:00
Martin
ddc04a03a4 amelioration(a11y): permet les interactions clavier via les touches entrée et espace pour ouvrir et fermer le menu depliant quand le focus est sur le bouton 2023-02-06 17:19:11 +01:00
Kara Diaby
984ef67827 Prend en compte uniquement les procédures publiées dans les propositions de tags 2023-02-06 17:03:51 +01:00
Colin Darie
51338eebb1 fix(admin/conditional): don't break when target champ is empty but a value is still referenced 2023-02-06 16:49:39 +01:00
mfo
f4055474ce
Merge pull request #8579 from mfo/US/revert-normalize-departement
Revert "migrate(champs): normalize departements (#8505)"
2023-02-06 16:45:24 +01:00
Martin
14494255be Revert "migrate(champs): normalize departements (#8505)"
This reverts commit 6800bb8cec.
2023-02-06 15:57:26 +01:00
mfo
e6d34e45b8
Merge pull request #8578 from mfo/US/revert-normalize-regions
Revert "migration: normalize regions (#8521)"
2023-02-06 15:06:55 +01:00
Martin
db36397bc5 Revert "migration: normalize regions (#8521)"
This reverts commit 8fee658eba.
2023-02-06 14:49:51 +01:00
Paul Chavard
2db37327fb
Merge pull request #8554 from tchak/refactor-add-row
feat(dossier): optional repetition champ should not add first row
2023-02-06 11:59:36 +01:00
Paul Chavard
6924b8e46d feat(dossier): optional repetition champ should not add first row 2023-02-06 11:53:32 +01:00
Paul Chavard
4ec9a4be37 fix(dossier): do not crash when a repetition is empty 2023-02-06 11:53:32 +01:00
Colin Darie
bfb96b6cb3 chore(sentry): sample traces JS, 0.1 for a start 2023-02-06 11:52:30 +01:00
Colin Darie
cb98bbad21 Revert "chore(sentry): more traces" 2023-02-06 11:52:30 +01:00
mfo
77eb103da5
Merge pull request #8556 from demarches-simplifiees/remove_a_balise_from_text
secu: remove a balise from sane user input
2023-02-06 11:13:41 +01:00
Martin
1ee67d511d amelioration(mails): permet a nos mails d'inclure des balises <a> pour faciliter l'usage des mail envoyés 2023-02-06 11:01:28 +01:00
simon lehericey
a1487e9923 fix: allow a tag in various admin text 2023-02-06 11:01:28 +01:00
simon lehericey
4f0f221e46 secu: remove a balise from sane user input 2023-02-06 11:01:28 +01:00
mfo
3cbb491cfc
Merge pull request #8574 from colinux/more-sentry-traces
chore(sentry): more traces
2023-02-06 11:01:06 +01:00
Colin Darie
b3702f4224
chore(sentry): more traces 2023-02-06 10:58:38 +01:00
mfo
715ef4f0f8
Merge pull request #8573 from mfo/US/bump-sinatra-version
secu(sinatra): passe la grappe des dependances limitante pour embarquer la bonne version de sinatra
2023-02-06 10:48:49 +01:00
mfo
a888acc495
Merge pull request #8571 from demarches-simplifiees/US/dolist-delivery-via-api-on-origin
amelioration(dolist): ajoute dolist_api a notre routage des emails.
2023-02-06 10:46:45 +01:00
Martin
f4cc8078b4 amelioration(EmailEvent): purge les email_events vieux de plus de un mois
Update app/models/email_event.rb

Co-authored-by: Colin Darie <colin@darie.eu>

Update app/jobs/cron/purge_old_email_event_job.rb

Co-authored-by: Colin Darie <colin@darie.eu>
2023-02-06 10:35:57 +01:00
Martin
d83f577482 secu(sinatra): passe la grappe des dependances limitante pour embarquer la bonne version de sinatra 2023-02-06 09:48:23 +01:00
Martin
54fa4ddc3d data(migration): renomme les anciennes method dolist en dolist_smtp 2023-02-03 17:19:36 +01:00
Martin
f952e42ad1 amelioration(BalancerDeliveryMethod): evite d'envoyer les mails av PJ car pour le moment c'est une fonction payante chez Dolist 🤯 2023-02-03 17:19:36 +01:00
Martin
6a25120f80 amelioration(dolist_api): echoue avec un fail pour remonter dans notre gestion des retry 2023-02-03 17:19:36 +01:00
Martin
2de9026c13 amelioration(dolist_api): forward le message_id afin de faciliter les investigations 2023-02-03 17:19:36 +01:00
Martin
709a9e82a2 amelioration(dolist): prepare l'usage de dolist par api
amelioration(email): ajoute la delivery_method dolist_api pour envoyer les mails via l'api comme recommandé par le fournisseur
2023-02-03 17:19:36 +01:00