sebastiencarceles
f0ffae8320
migrate(champs): normalize departements
2023-02-13 16:32:34 +01:00
Damien Le Thiec
899c8a6589
Add documentation json parse rescue repetition
2023-02-13 14:17:53 +01:00
Martin
0a386994e5
correctif(messagerie): autorise l'usage des balises <a> dans la messagerie quand les messages viennent de l'administration
2023-02-13 13:45:08 +01:00
Martin
13cbbe9138
typo(fix): text+e
2023-02-13 11:43:44 +01:00
Sébastien Carceles
1a72b80f8f
fix: "remove" a champ to prefill ( #8612 )
...
* fix: "remove" a champ to prefill
Removing a champ to prefill on /preremplir used to fail, because of a
collusion (having the same form multiple times on un page looks like a
bad idea, when it comes to multiple input fields).
* fix specs
2023-02-13 08:17:22 +00:00
Damien Le Thiec
ea126612a1
Refacto to_assignable_attributes for prefill_repetition
2023-02-12 13:02:30 +01:00
Damien Le Thiec
fc94aaaa21
Use "to_assignable_attributes"
2023-02-12 11:55:28 +01:00
Damien Le Thiec
4a6841c009
Fix linter
2023-02-11 22:51:37 +01:00
Damien Le Thiec
dbb92e7fd3
Merge branch 'main' into feature/prefill_repetible
2023-02-11 22:40:56 +01:00
Damien Le Thiec
2a3ba28343
Fix tests possible value prefill
2023-02-11 22:27:16 +01:00
Damien Le Thiec
a4d707f942
Improve format prefill possible_values (tests missing)
2023-02-09 18:08:51 +01:00
Colin Darie
aeb602a63d
fix(mail): default subject fallback when subject template is empty
...
Closes #8448
2023-02-09 17:49:43 +01:00
Colin Darie
5526cb5173
fix(mail): limit generated subjects to 100 characters
2023-02-09 17:39:56 +01:00
Damien Le Thiec
4b0e6ea382
Convert datetime field to datetime_local ( #8572 )
...
* Convert datetime field to datetime_local
* Fix tests
* Add value formatting view datetime component
* Add helper datetime component value
2023-02-09 15:18:38 +01:00
sebastiencarceles
3404b5aa0b
review: wordings
2023-02-09 13:51:52 +01:00
sebastiencarceles
6c5b82ebbf
filter out locale from stored query params
...
As 'locale' isn't a param we want to prefill a dossier, we ignore it
and remove it from the stored query params.
2023-02-09 13:51:52 +01:00
sebastiencarceles
b3af9108cb
harmonize get and post: go to prefilled file
2023-02-09 13:51:52 +01:00
sebastiencarceles
e212055ef8
tell when query params have been stored
2023-02-09 13:51:52 +01:00
Julie Salha
bc06600b0d
optimization return to the line of longs links
2023-02-09 13:05:28 +01:00
Colin Darie
e626eb69ce
feat(admin): import groupe instructeurs csv when procedure is closed
2023-02-09 11:17:13 +01:00
Colin Darie
a4329b6699
chore(export/job): set procedure_id for sentry
2023-02-09 11:06:54 +01:00
Colin Darie
964f3829c6
fix(export/job): race condition when export was already generated
2023-02-09 11:06:54 +01:00
Colin Darie
8a859402ad
chore(mailer): setup Services Publics+ by env var so instances can have their owns
2023-02-09 10:47:53 +01:00
Colin Darie
d78c75620a
chore(mailer): services publics + only for Termine "states"
2023-02-09 10:47:53 +01:00
Colin Darie
82ad6346cc
chore(service-plus): replace svg by png, micro improve layout for clients compat
2023-02-09 10:47:53 +01:00
Lisa Durand
dfb1863d92
add logo service plus
2023-02-09 10:47:53 +01:00
Lisa Durand
2396ff3355
add service plus in notification emails
2023-02-09 10:47:53 +01:00
Paul Chavard
5f0e9f7313
fix(graphql): fixing couple of n+1
2023-02-09 10:37:44 +01:00
Kara Diaby
f212fa1008
Permet de cloner une démarche depuis la page toutes les démarches
2023-02-09 08:28:30 +00:00
Damien Le Thiec
c5f1f80d25
Add prefill params tests repetition
2023-02-08 17:38:51 +01:00
Paul Chavard
f22cc8812b
secu(graphql): log full queries and variables
2023-02-08 15:10:27 +01:00
Paul Chavard
1693e46acb
fix(dossier): prevent crash when updating champs in rebase
2023-02-08 14:56:26 +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
dc9a455d22
fix(dossier): prevent crash in rebase
2023-02-08 11:11:14 +01:00
Eric Leroy-Terquem
0e60d6bb11
clean(groupe instructeurs): remove unused method
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
6fa692d22e
fix(dolist): don't delivery by API emails having bcc
2023-02-07 16:51:44 +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
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
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
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
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
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
Lisa Durand
f80fe9680f
corrections from Sim review
2023-02-03 15:13:06 +01:00
Lisa Durand
f1a378bf03
dont'use DSFR component - add a line inside the table instead
2023-02-03 15:13:06 +01:00
Lisa Durand
1d1f5ad567
improve translation
2023-02-03 15:13:06 +01:00
Lisa Durand
3fdfc38faf
fix linter js
2023-02-03 15:13:06 +01:00
Lisa Durand
9aa6c55d1f
replace partial by component
2023-02-03 15:13:06 +01:00
Lisa Durand
1a79eb9717
change checkbox tag to hidden field
2023-02-03 15:13:06 +01:00
Lisa Durand
93a85ca4b0
add limit of 500 dossiers
2023-02-03 15:13:06 +01:00
Lisa Durand
5802f3f7cf
injected dossier_ids in front
2023-02-03 15:13:06 +01:00
Lisa Durand
4d1f164c43
be more specific on the count of dossiers we display in the table
2023-02-03 15:13:06 +01:00
mfo
48503e0743
Merge pull request #8533 from colinux/feat-dolist-send-mail-api
...
Email: API Dolist pour envoyer des emails transactionnels
2023-02-03 14:36:53 +01:00
Eric Leroy-Terquem
ff5fecef25
fix(dossiers_transfers): can destroy dossiers_transfers
2023-02-03 13:48:39 +01:00
Damien Le Thiec
63e7c17fda
First tests for prefill repetition
2023-02-03 12:14:18 +01:00
Julie Salha
31e4a7fe19
Merge branch 'main' into a11y-8225-navigation
2023-02-03 09:34:03 +01:00
Julie Salha
b39d658c06
fix translations tabs menu
2023-02-03 09:17:16 +01:00
Julie Salha
0e4a332706
Update app/views/administrateurs/procedures/index.html.haml
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-02-03 08:17:08 +01:00
Colin Darie
6d675579a5
feat(reset-pwd): warn users token link will override previous links
2023-02-02 22:15:10 +01:00
Colin Darie
a221c57fbc
feat(manager): resend reset password instructions
2023-02-02 22:15:10 +01:00
Julie Salha
c1ed6aa177
optimization burger menu
2023-02-02 16:46:46 +01:00
Colin Darie
6b011b8b44
chore(dolist): helper so we know if mail is sendable by API
2023-02-02 16:11:52 +01:00
Julie Salha
2db959531a
optimization navigation accessibility
2023-02-02 16:04:42 +01:00
Colin Darie
6a3de1b57a
chore(dolist): cache sender_id so we don't request it at each send
2023-02-02 16:02:27 +01:00
Colin Darie
9641a40ea7
chore(mailer): MailDeliveryError with original exception backtrace
2023-02-02 15:59:18 +01:00
Colin Darie
7fa966548c
fix(mailer): missing procedure logo for DossierMailer
2023-02-02 15:58:32 +01:00
Colin Darie
61cd9aa8c7
feat(dolist): send mail having attachments
2023-02-02 15:52:20 +01:00
Colin Darie
41c196f2ec
feat(dolist): send email from API
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2023-02-02 14:52:33 +01:00
simon lehericey
7461d84018
feat(log): log ip and correlation id
2023-02-02 11:20:05 +01:00
Paul Chavard
2971100081
fix(dossier): do not try to rebase if procedure is not published
2023-02-02 10:11:46 +01:00
Eric Leroy-Terquem
05a61d0cf2
fix(instructeurs): breadcrumbs with right wordings and links
2023-02-01 17:52:37 +01:00
Lisa Durand
3a82558c3f
use super instead of run_at
2023-02-01 17:06:04 +01:00
Lisa Durand
120fbb0ef7
Overload the finished_at
2023-02-01 17:06:04 +01:00
Lisa Durand
d0a131dc55
change the way we set the finished_at on batch operation job to fix alert display bug
2023-02-01 17:06:04 +01:00
Paul Chavard
dd2d3d4626
fix(task): improuve after party backfill_dossiers_repetitions
2023-02-01 15:27:07 +01:00
Damien Le Thiec
e7c78321d9
Fix new failing tests
2023-02-01 13:35:32 +01:00
Paul Chavard
3ad5e7d3b9
fix(tags): can edit tags on published demarches
2023-02-01 11:11:04 +01:00
Colin Darie
fa0f72aaba
feat(procedure): hide estimated fill duration when super admin disabled it
...
Closes #8466
2023-02-01 11:02:55 +01:00
Colin Darie
8e35c0a465
feat(manager): can disable estimated duration visibility
2023-02-01 11:02:55 +01:00
Colin Darie
eb9cd90ee8
chore(schema): +procedure#estimated_duration_visible
2023-02-01 11:02:55 +01:00
Paul Chavard
8bf0d9c5ec
fix(dossier): backfill missing repetition champs
2023-02-01 10:36:46 +01:00
Paul Chavard
9c83939431
fix(dossier): fix adding repetition in a new revision
2023-02-01 10:36:46 +01:00
Eric Leroy-Terquem
b306dea5cf
refactor(avis): rename revive by remind
2023-02-01 09:55:46 +01:00
Eric Leroy-Terquem
2475bb1098
feat(avis): add remind text in view
2023-02-01 09:55:46 +01:00
Eric Leroy-Terquem
004bf5be38
feat(avis): add remind_by! method
2023-02-01 09:55:46 +01:00
Colin Darie
d5fe29f666
chore(upload): hint about firewall blocking file upload
2023-01-31 17:09:28 +01:00
Damien Le Thiec
5a7b740f58
Clean rubocop alerts
2023-01-31 17:06:00 +01:00
Damien Le Thiec
4a07fd6223
Merge branch 'main' into feature/prefill_repetible
2023-01-31 16:49:40 +01:00
Damien Le Thiec
e1748a2666
Fix "see more" link for prefillable fields
2023-01-31 16:48:38 +01:00