Commit graph

2893 commits

Author SHA1 Message Date
Eric Leroy-Terquem
6ad6196098
fix(gallery): allow pdf iframes in the PJ gallery 2024-04-22 20:16:07 +02:00
Paul Chavard
741712141a refactor(champs): add new champs controllers urls with stable_id and row_id 2024-04-22 13:55:02 +02:00
LeSim
1588d1b12c
Merge pull request #10361 from demarches-simplifiees/still_moving_jobs
Tech: deplace d'autres jobs sur sidekiq
2024-04-22 10:52:20 +00:00
simon lehericey
b6e1e1a04b
chore(sidekiq): move more jobs to sidekiq 2024-04-22 11:54:24 +02:00
Colin Darie
c52ff5cdeb
Merge pull request #10357 from demarches-simplifiees/fix_dolist_gouv_sender
Tech: pour le prestataire de mail dolist, choisit le bon sender_id en fonction du domaine utilisé (migration gouv.fr)
2024-04-22 09:43:34 +00:00
Eric Leroy-Terquem
7c6c3608c9
feat(gallery): use authorized content types 2024-04-22 11:09:11 +02:00
Eric Leroy-Terquem
f02cb19fd4
feat(gallery): display pieces jointes in a gallery 2024-04-22 11:09:10 +02:00
simon lehericey
c5264973fc
chore(yabeda): add yabeda puma 2024-04-22 09:56:56 +02:00
simon lehericey
fcbd3d94d1
chore(yabeda): use webrick and check enabled flag 2024-04-22 09:35:35 +02:00
simon lehericey
45fa700561
fix: choose dolist sender depending on the mail domain 2024-04-19 10:59:04 +02:00
Colin Darie
6c8418e0a5
fix(config): remove useless timeout pg config 2024-04-18 15:12:33 +02:00
Paul Chavard
f111e88e45
Merge pull request #10269 from tchak/run-vite-with-bun
chore(build): use bun instead of node
2024-04-17 15:36:45 +00:00
mfo
009738f26b
Merge pull request #10313 from mfo/US/stop-using-placeholder-and-title-attribute
ETQ usage, je souhaite que les aides à la saisie soient vocalisées par le screenreader
2024-04-17 14:57:14 +00:00
Lisa Durand
6d2777541b fix bad renaming for accusé de reception trad 2024-04-17 12:28:36 +02:00
Paul Chavard
c480d4082a chore(build): use bun instead of node 2024-04-17 12:25:42 +02:00
mfo
cab3a55f45
fix(Champ.dossier_link): do not use placeholder, use hint 2024-04-17 07:31:32 +02:00
Lisa Durand
1246ef02b6
remove interpolation in duree_conservation… field 2024-04-16 17:55:12 +02:00
Lisa Durand
5231ce71a3
follow-up : admin better procedure infos form 2024-04-16 17:55:11 +02:00
Colin Darie
b336e1b606
chore(admin): fix hardcoded application names in translations 2024-04-16 17:55:09 +02:00
Lisa Durand
7a80574afc
Merge pull request #10190 from demarches-simplifiees/add-AR-feature-ldu
ETQ Admin je peux configurer une démarche avec accusé de lecture
2024-04-16 09:58:13 +00:00
Lisa Durand
49ed6d0b14 add demo video url on admin homepage 2024-04-16 10:34:28 +02:00
Colin Darie
e3dbbf2009
Merge pull request #10235 from colinux/page-404
Pages d'erreur personnalisées / au dsfr
2024-04-15 21:12:04 +00:00
Lisa Durand
c6e2e6445c add instructeur feedback on accuse de lecture agreement 2024-04-15 12:10:28 +02:00
Lisa Durand
71268c7f3b hide decision from email for tiers if procedure has accuse de lecture 2024-04-15 11:15:13 +02:00
Lisa Durand
5bbc4cab50 hide decision displayed in messagerie with auto commentaire 2024-04-15 11:15:13 +02:00
Lisa Durand
b2e48b4dbe change wording for expired_at to remove decision in it 2024-04-15 11:15:13 +02:00
Lisa Durand
8eda069bfc add AR in user view - hide decision on first dossier tab 2024-04-15 11:15:13 +02:00
Lisa Durand
ae08044ff2 create AR email and send it at the right time 2024-04-15 11:15:05 +02:00
Lisa Durand
ee91f47c5a add AR component and page on admin view 2024-04-15 10:46:29 +02:00
mfo
1989c3e75b
fix(Champ.carte): add missing label to search input instead of placeholder
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-12 11:56:34 +02:00
Colin Darie
a93a4cd5ce
chore: specific 422 error page 2024-04-11 18:19:32 +02:00
Colin Darie
5b98fd7c6d
chore: generic customized error page 2024-04-11 18:19:31 +02:00
Colin Darie
5d23b37f59
chore: custom dynamic & static 500 pages 2024-04-11 18:19:30 +02:00
Colin Darie
7dcd4ba538
feat: customized page 404 2024-04-11 18:19:29 +02:00
simon lehericey
34fae2831f
refactor: add dol_move_batch job which are enqueued by the cron 2024-04-11 10:58:34 +02:00
Colin Darie
6be76f702f
fix(sidekiq): warn about queue name args in deliver_later not being json serializable 2024-04-10 18:03:48 +02:00
Colin Darie
e1144cf655
chore(sidekiq): support for standard/local config without redis sentinels 2024-04-10 18:03:46 +02:00
simon lehericey
db8c595aca
move all the api_entreprise_job to sidekiq 2024-04-09 14:26:37 +02:00
simon lehericey
c8a64f8057
move api_entreprise::entreprise_job to sidekiq 2024-04-09 14:26:06 +02:00
simon lehericey
71a5876af1
limit api_entreprise sidekiq job to one thread 2024-04-09 14:25:17 +02:00
Colin Darie
c7d2caf1b7
Merge pull request #10266 from demarches-simplifiees/fix-a11y-contact-page
Amélioration de l'accessibilité de la page de contact.
2024-04-09 08:17:24 +00:00
Colin Darie
25892f594c
fix(jobs): don't enqueue crons to default adapter anymore 2024-04-08 18:27:31 +02:00
simon lehericey
0f07beffe4
fix: typo in sidekiq transition 2024-04-08 12:16:48 +02:00
LeSim
12406643d9
Merge pull request #10268 from demarches-simplifiees/sidekiq_cron
Tech: déplace les cron job sur sidekiq
2024-04-08 08:32:06 +00:00
mfo
ab11965525 fix(i18n.format): fix date format 2024-04-08 09:29:57 +02:00
Corinne Durrmeyer
a46286f9df
feat(improve-contact-page-a11y) : Add missing h2 to footer 2024-04-05 09:35:28 +02:00
Paul Chavard
81c325f938 chore(task): another attempt to backfill stable_id 2024-04-04 17:55:38 +02:00
simon lehericey
e06fb54655
define SIDEKIQ_ENABLE constant 2024-04-04 16:38:38 +02:00
simon lehericey
d08803d17a
add cron UI 2024-04-04 16:38:38 +02:00
Corinne Durrmeyer
993c147631
feat(improve-contact-page-a11y) : Use visible name in the link title - #10264 2024-04-04 14:53:51 +02:00
Corinne Durrmeyer
146ea9bea9
feat(improve-contact-page-a11y) : Replace the * character with the content of the AsteriskMandatoryComponent 2024-04-04 14:53:51 +02:00
Paul Chavard
9593e8825f chore(browser): be more agressive about browser deprecation 2024-04-04 13:53:41 +02:00
Colin Darie
c005991470
Merge pull request #10230 from demarches-simplifiees/fix-alert-for-closed-procedures-in-dossiers-list
Correctif : affiche correctement le lien vers la page de fermeture dans la liste des dossiers
2024-04-04 09:44:55 +00:00
Colin Darie
8af3f07181
Merge pull request #10231 from colinux/fix-gouv-fr-banner
Tech: petites corrections pour le .gouv
2024-04-04 09:02:03 +00:00
LeSim
63f67c35c7
Merge pull request #10262 from demarches-simplifiees/rename_expires_to_purge_queue
Tech: renommage de la file de job `expires` en `purge`
2024-04-04 08:35:28 +00:00
Eric Leroy-Terquem
8d7c078f92
fix(dossiers list): display link correctly 2024-04-04 09:44:37 +02:00
simon lehericey
1b48db9f6d
refactor: rename expires queue to purge 2024-04-03 16:48:07 +02:00
Colin Darie
8c0375fe6f
chore: easier to test .gouv / new host using APP_HOST 2024-04-02 19:36:39 +02:00
Colin Darie
32bcf5b75d
fix(mailtrap): update to 2024 config 2024-04-02 19:25:45 +02:00
Colin Darie
172aeec3dc
chore(mail): replace textual logo with simple logo + application name as text 2024-04-02 18:47:53 +02:00
Colin Darie
16766d7395
fix(brakerman): update brakeman with Current false positive 2024-04-02 18:47:50 +02:00
Colin Darie
863784a1a9
test: configure default host on APP_HOST everywhere 2024-04-02 18:47:40 +02:00
mfo
b245d9b063
Merge pull request #10220 from demarches-simplifiees/fix-drop-down-missing-hint
ETQ usager : Champ choix multiple, ajouter une aide a a la saisie
2024-04-02 09:28:34 +00:00
mfo
597014e636
Merge pull request #10240 from demarches-simplifiees/more_job_to_sidekiq
Tech: ajoute plus de job a sidekiq
2024-04-02 09:28:08 +00:00
Martin
2944a0c2c3
fix(expert.attestation.url): was pointing to attestation_instructeur_dossier_path, so did not worked when expert was not instructeur. use active_storage_link, secured enough because served to authenticated users as well as expiring link 2024-03-30 06:20:11 +01:00
Paul Chavard
46c5830306
Merge pull request #10238 from demarches-simplifiees/fix-mailbox-missing-link
ETQ usager : ajout d'un lien vers la messagerie dans les dossiers en attente de correction
2024-03-28 16:56:17 +00:00
simon lehericey
40df5028ff
chore: move more jobs to sidekiq
active_storage_analysis : queue active_storage_analysis
proceduresvasvr: queue sva
webhook: queue webhooks_v1
destroyrecordlater: default
champfetchexternal: default
dossierupdatesearch: default
2024-03-28 17:25:50 +01:00
simon lehericey
4c0b6fd93a
enable yabeda sidekiq metrics
a webserver is launched with the sidekiq process. It listen on the 9394 port and bind on 0.0.0.0 by default.
2024-03-28 12:11:14 +01:00
Corinne Durrmeyer
d5af837872 feat(messagerie_missing_link): Add link to messaging system in the alert block - fix #10198 2024-03-28 11:55:09 +01:00
Corinne Durrmeyer
4cfcd70266
Update config/locales/models/champs/multiple_drop_down_list/fr.yml
Fix typo

Co-authored-by: Colin Darie <colin@darie.eu>
2024-03-28 10:11:29 +01:00
Lisa Durand
65b8f6881a
Merge pull request #10143 from demarches-simplifiees/float-too-many-decimal-ldu
ETQ admin, je veux que le champ nombre décimal ne prenne que 3 chiffres après la virgule
2024-03-27 10:05:35 +00:00
Lisa Durand
a3ab6dd257 add validation on decimal max 3 digits after coma 2024-03-27 10:55:10 +01:00
simon lehericey
6ff26666c5
chore: move mailer to sidekiq 2024-03-26 21:25:14 +01:00
simon lehericey
3bbebb455b
enable reliable_fetch 2024-03-26 14:45:18 +01:00
Corinne Durrmeyer
a69d60efef feat(multiple_drop_down_list): Add hint text - fix #10185 2024-03-26 14:45:01 +01:00
Paul Chavard
06d81dcfaf
Merge pull request #10169 from tchak/refactor-champ-public_id
fix(champ): use public_id in views
2024-03-26 10:31:13 +00:00
Paul Chavard
6ad0b901b6 fix(champ): use public_id in views 2024-03-26 11:23:23 +01:00
Paul Chavard
b02ba1e909 feat(textarea): autoresize textareas 2024-03-25 19:53:29 +01:00
Eric Leroy-Terquem
d01cd3a310
refacto(dossier list): do not use html safe 2024-03-25 11:16:06 +01:00
Eric Leroy-Terquem
5754d01242
feat(dossier): add alert on dossiers list for dossiers termines on closed procedures 2024-03-25 11:15:34 +01:00
Colin Darie
17f9992722
Merge pull request #10040 from colinux/cross-domain-component
Prépare la bannière informant du changement de nom de domaine, avec redirection automatique le cas échéant
2024-03-21 14:58:29 +00:00
Colin Darie
0fcb5fffc1
Merge pull request #10168 from demarches-simplifiees/application_boot_without_ac_fc_env_var
Tech: deplace les variables FC dans .env.example.optional pour permettre un demarrage de l'app sans ces variables
2024-03-21 14:00:54 +00:00
Colin Darie
2f4444bd5e
chore: mark preferred domain to new domain when closing notice 2024-03-21 13:15:34 +01:00
simon lehericey
2ea6a5d25c remove now useless biz_dev module 2024-03-21 11:54:03 +01:00
simon lehericey
6b556a87c5 move FC env declaration to optional conf to allow boot without this conf 2024-03-21 11:37:25 +01:00
simon lehericey
44b113e433 fix brakeman 2024-03-21 10:06:09 +01:00
simon lehericey
d99f489fd6 remove unused application_shortname 2024-03-21 10:06:09 +01:00
simon lehericey
5c06430042 remove dead code 2024-03-21 10:06:08 +01:00
Lisa Durand
6c5c744411
Merge pull request #10119 from demarches-simplifiees/add-explanation-when-publish-with-same-url-ldu
ETQ admin j'ai un message d'explication si j'utilise une URL déja utilisée lors de la publication d'une démarche
2024-03-20 13:21:59 +00:00
Paul Chavard
f15cba8f35 chore(tasks): run tasks in sidekiq 2024-03-20 09:00:05 +01:00
simon lehericey
75db5ee320 replace AGENT_CONNECT_ENABLED and move AC conf to optionnal env 2024-03-19 21:17:45 +01:00
simon lehericey
2f6147308c use ac gouv conf when needed 2024-03-19 21:17:44 +01:00
simon lehericey
916407ec95 remove secret indirection and fetch AC conf once for all 2024-03-19 21:17:44 +01:00
simon lehericey
063445b892 add logout route 2024-03-18 14:02:18 +01:00
Kara Diaby
09d479321b corrections après retours 2024-03-18 11:50:29 +00:00
Kara Diaby
761ee81418 routes 2024-03-18 11:50:29 +00:00
Kara Diaby
e824118aea layout 2024-03-18 11:50:29 +00:00
Lisa Durand
90331f6e52 add dossier owner on dossier list when there is invitation 2024-03-18 11:15:39 +01:00
Paul Chavard
900db5624f refactor(champs): if champ not found - build it 2024-03-17 23:51:45 +01:00
simon lehericey
b7c48acf86 feat(file retrieval): basic UI skeleton 2024-03-15 14:35:14 +01:00
simon lehericey
a60a082ec5 feat(file retrieval): add api_recherche_entreprises_service 2024-03-15 14:35:14 +01:00
Lisa Durand
e757eefd37 add message when path is already taken when publishing a procedure 2024-03-14 17:17:47 +01:00
simon lehericey
c25a78f268 fix: force proxy usage if var available
Otherwise faraday call [find_proxy](https://rubyapi.org/3.3/o/uri/generic#method-i-find_proxy) to guess if a proxy is setup by env var. find_proxy check if the adress is local before calling the proxy by using a dns query which causes a timeout.
2024-03-14 10:07:29 +01:00
simon lehericey
83ec136a2d chore(agent_connect): update code to work with newer openid connect
remove AGENT_CONNECT_JWKS env key
2024-03-14 10:07:29 +01:00
Lisa Durand
1ce4d17ad5
Merge pull request #9961 from demarches-simplifiees/amelioration-wording-co-construction-ldu
ETQ usager: Mentionne d'autres acteurs possibles dans la description de la co-construction
2024-03-12 16:55:21 +00:00
Colin Darie
ee92668611
Merge pull request #9930 from demarches-simplifiees/add-external-link-to-procedure
ETQ admin lorsque je clos une démarche je peux alerter les usagers et je crée une page de fermeture si la démarche n'est pas redirigée dans DS
2024-03-12 15:03:30 +00:00
Eric Leroy-Terquem
c96d86a64b style(procedure removed banner): add links for email and telephone 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
d3c26591c8 feat(user dossiers): update messages when procedure is closed 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
d800213920 feat(procedure): add closing details page 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
c95f0f1cad feat(procedure): send notifications after closing 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
74903d79bf feat(procedure): update archiving to add closing reason and closing details 2024-03-11 15:48:28 +01:00
krichtof
1024557081
Merge pull request #10041 from demarches-simplifiees/10029-filter-kind-usager
ETQ admin, je peux filtrer toutes les démarches par type d'usager
2024-03-08 08:23:26 +00:00
Christophe Robillard
c01914bc24 update zones for new government 2024-03-06 21:18:09 +01:00
Colin Darie
ca17b356fc chore(flipper): don't preload on /assets/* or /ping 2024-03-03 00:13:55 +01:00
Colin Darie
3519e5eef1
chore(flipper): enable caching in memory 2024-03-03 00:13:00 +01:00
Colin Darie
2d22737823
chore(flipper): enable strict mode and add missing features 2024-03-03 00:12:56 +01:00
Paul Chavard
0a818de678 fix(dossier): display correct information when traitement is sans suite 2024-02-29 21:00:28 +01:00
Christophe Robillard
26a86d8003 filter all demarches by kind usager 2024-02-23 16:04:27 +01:00
Colin Darie
f9e7d5536b
chore: remove mailjet support 2024-02-22 15:18:34 +01:00
Colin Darie
dd9f2d9166
chore(env): WEASYPRINT_URL is not optional anymore 2024-02-22 12:19:10 +01:00
mfo
aaf5f08f25
Merge pull request #10020 from mfo/US/a11y-invite-with-nice-feedback
ETQ usager utilisant un lecteur d'écran: l'envoie d'une invitation est confusant (le form reste rempli, le message de confirmation n'est pas lu)
2024-02-22 06:02:26 +00:00
Colin Darie
67895a5aee
Merge pull request #10022 from colinux/csp-host-legacy
Tech: configure les CSP pour répondre à un host défini par `APP_HOST_LEGACY`
2024-02-21 20:26:06 +00:00
Colin Darie
ff8c0e6c69
Merge pull request #10012 from colinux/doc-STRICT_EMAIL_VALIDATION_STARTS_ON
Tech: document STRICT_EMAIL_VALIDATION_STARTS_ON env var
2024-02-21 17:09:00 +00:00
Martin
a4a232dda2 a11y(invite): rework invite menu for easier readability by screen reader 2024-02-21 15:49:55 +01:00
Martin
48336f0ca4 a11y(users/confirmations#new): avoid autofocus on input to resend the mail, otherwise screen reader goes straight to the input 2024-02-21 07:56:00 +01:00
Colin Darie
6ee30ed471 chore: configure CSP to respond to another host configured by APP_HOST_LEGACY 2024-02-20 18:50:35 +01:00
Martin
11eb0a9c56 feat(invite): i18n create/destroy 2024-02-20 17:22:47 +01:00
Colin Darie
50067b2cfa
chore(env): STRICT_EMAIL_VALIDATION_STARTS_ON env var example 2024-02-19 14:24:28 +01:00
Martin
5f77c0cd06 feat(email.validation): expand email validation to Avis, ContactInformation, Invite, DossierTransfert 2024-02-15 16:41:00 +01:00
Martin
05193e1d1e feat(User.validation): validates email when env var is present 2024-02-15 16:41:00 +01:00
seb-by-ouidou
9ddd55d5cd feat: remove commentaire_component and replace it by message_component + replace commentaires/_form by messages/_form + few fixes 2024-02-15 07:50:20 +00:00
Colin Darie
bd3c2c070a
Merge pull request #9957 from demarches-simplifiees/finalize-rna-rnf-ldu
ETQ instructeur et consommateur API, la vue du champ RNA est harmonisée avec le champ RNF
2024-02-14 15:30:54 +00:00
Bastien Ogier
2231931bb1 del(env): delete CSP_REPORT_URI env var and associated config. 2024-02-14 11:17:20 +01:00
seb-by-ouidou
fba3cbe331 feat: as gestionnaire, contact gestionnaire of parent groupe 2024-02-13 11:19:52 +01:00
Lisa Durand
a756ab0a63
add address infos for rna in show 2024-02-12 17:20:06 +01:00
Lisa Durand
9e3f28e87b
add rnf and rna address in form view 2024-02-12 17:20:05 +01:00
Colin Darie
cd21eac330
fix(i18n): missing one value in pluralization 2024-02-12 09:33:26 +01:00
Colin Darie
e85e026361
fix: phonelib multiple default countries 2024-02-12 09:33:16 +01:00
Colin Darie
6f1ed786fa
chore(bundle): remove elastic-apm, we don't use it anymore 2024-02-12 09:32:27 +01:00
Paul Chavard
163e6f807e
chore(ign): update to geoplateforme 2024-02-08 16:23:08 +01:00
Christophe Robillard
ed69025c49 fix graphql broken link 2024-02-07 11:38:02 +01:00
Colin Darie
70e92f7c6b
Merge pull request #9903 from colinux/attestation-ux
ETQ admin, je peux tester l'attestation v2
2024-02-06 08:09:53 +00:00
Lisa Durand
0a8e8ebd05 change wording for co-constructing dossier 2024-02-05 12:08:10 +01:00
seb-by-ouidou
c2c54083e8
feat: display tree structure of a group 2024-02-05 09:30:24 +01:00
Colin Darie
f7484eb0e5
feat(attestation): list tags errors and substitute missing tag by libelle 2024-02-02 13:05:09 +01:00
seb-by-ouidou
46c19014f9 feat: notify administrateur and gestionnaire by email when new commentaire + for administrateur highlight card and commentaires if any unread 2024-02-02 12:52:36 +01:00
Colin Darie
475406f3f2
style(attestation): improve editor UI & style 2024-02-01 18:55:55 +01:00
Colin Darie
fe2661d37c
feat(attestation): can create an attestation v2 2024-01-31 17:04:05 +01:00
Colin Darie
8ba78d1cfe
feat(attestation): conditional official layout & logo (start) 2024-01-31 17:03:54 +01:00
Colin Darie
eaf4e24a55
feat(attestation): v2 edit form and tags style 2024-01-31 17:03:46 +01:00