Commit graph

2923 commits

Author SHA1 Message Date
Christophe Robillard
f5813b4e55
create and update export templates 2024-05-23 10:00:33 +02:00
Colin Darie
08a25e60b4
chore(sidekiq): transition ImageProcessorJob to sidekiq 2024-05-22 16:43:07 +02:00
Colin Darie
c2b1d7aaaf
Merge pull request #10261 from colinux/ignore-search-terms-2
Tech (perf): ignore les `search_terms` colonnes pour ne plus les select à chaque query et debounce l'indexation
2024-05-21 07:07:10 +00:00
Lisa Durand
b4a7b4bfbd
create a job for all image treatments 2024-05-17 11:03:38 +02:00
Lisa Durand
96238da249
add service to rotate jpg attachment automatically 2024-05-17 11:03:37 +02:00
Colin Darie
a41ba205d0
chore(faq): translate english interface (not faq content) 2024-05-16 12:26:06 +02:00
Colin Darie
64de0cb146
refactor(faq): update links to new internal links 2024-05-16 11:43:59 +02:00
Colin Darie
965afbd18c
fix(brakeman): false positive params not rendered 2024-05-16 11:43:59 +02:00
Colin Darie
0581c67d6c
refactor: extract ApplicationVersion version from sentry 2024-05-16 11:43:58 +02:00
Colin Darie
d855c94fbf
feat(faq): breadcrumb 2024-05-16 11:43:57 +02:00
Colin Darie
08c237c028
feat(faq): list FAQs 2024-05-16 09:39:21 +02:00
Colin Darie
ae78224bac
feat(faq): link siblings FAQs of same category 2024-05-16 09:39:01 +02:00
Colin Darie
1e3c70feb8
chore(faq): show more simple FAQ 2024-05-16 09:35:20 +02:00
Colin Darie
9af2c4f244
feat: show a simple FAQ 2024-05-16 09:35:19 +02:00
Mathieu HIREL
bc0c068ed7 chore: expose postgres port 2024-05-15 17:57:56 +02:00
Paul Chavard
bcd3f3b471 refactor(champs): change views to use new urls with stable_id and row_id 2024-05-15 16:51:26 +02:00
Colin Darie
d4e6e2effa
Merge pull request #10413 from demarches-simplifiees/fix-typo
Corrige des fautes de frappe
2024-05-13 14:43:43 +00:00
Corinne Durrmeyer
8fd6f58beb
feat(fix-typo) : Correct incorrect abbreviations 2024-05-13 15:55:22 +02:00
Corinne Durrmeyer
32114c0132
Modify 'Search a file' label 2024-05-13 15:30:45 +02:00
mfo
ec1c030eae feat(urls): move from gouvernement.fr to info.gouv.fr 2024-05-07 14:23:05 +02:00
mfo
9518982166
Merge pull request #10346 from mfo/US/permit-to-disable-tiers-bloc
ETQ administrateur, je souhaite pouvoir conditionner l'affichage du bloc " Pour un bénéficiaire : membre de la famille, proche, mandant, professionnel en charge du suivi du dossier…"
2024-05-07 09:23:07 +00:00
Colin Darie
39b0327237
refactor(search): rename update search terms => index search terms 2024-05-06 18:57:39 +02:00
Colin Darie
300264bf10
fix: procedure closed details link on 'Plus d'informations' words 2024-05-06 16:41:37 +02:00
mfo
84c1a485e5 feat(Procedure.for_tiers_enabled): allow super admin to disable for_tiers 2024-05-06 15:56:22 +02:00
mfo
95de0d6239 tech(refactor): identity blocks 2024-05-06 15:56:22 +02:00
Colin Darie
6748551240 chore(messagerie): add missing label on comment form 2024-05-06 09:49:02 +00:00
Kara Diaby
7092583b0a layout 2024-05-06 09:49:02 +00:00
Corinne Durrmeyer
ec99ef51d6
Standardize the pagination of procedures displayed on a single page 2024-05-03 11:01:51 +02:00
kleph
f6b117ce73
doc(metrics): strongly suggest using local address in prometheus exporter doc 2024-04-23 14:47:27 +02:00
Eric Leroy-Terquem
388470f186
fix(gallery): add a feature flag on gallery demande 2024-04-22 20:55:13 +02:00
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