Commit graph

690 commits

Author SHA1 Message Date
Lisa Durand
96238da249
add service to rotate jpg attachment automatically 2024-05-17 11:03:37 +02:00
Colin Darie
0581c67d6c
refactor: extract ApplicationVersion version from sentry 2024-05-16 11:43:58 +02:00
Colin Darie
9af2c4f244
feat: show a simple FAQ 2024-05-16 09:35:19 +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
39b0327237
refactor(search): rename update search terms => index search terms 2024-05-06 18:57:39 +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
simon lehericey
b6e1e1a04b
chore(sidekiq): move more jobs to sidekiq 2024-04-22 11:54:24 +02:00
Eric Leroy-Terquem
7c6c3608c9
feat(gallery): use authorized content types 2024-04-22 11:09:11 +02:00
simon lehericey
fcbd3d94d1
chore(yabeda): use webrick and check enabled flag 2024-04-22 09:35:35 +02:00
Lisa Durand
49ed6d0b14 add demo video url on admin homepage 2024-04-16 10:34:28 +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
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
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
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
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
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
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
Paul Chavard
6ad0b901b6 fix(champ): use public_id in views 2024-03-26 11:23:23 +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
Paul Chavard
f15cba8f35 chore(tasks): run tasks in sidekiq 2024-03-20 09:00:05 +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
a60a082ec5 feat(file retrieval): add api_recherche_entreprises_service 2024-03-15 14:35:14 +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
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
Colin Darie
f9e7d5536b
chore: remove mailjet support 2024-02-22 15:18:34 +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
Bastien Ogier
2231931bb1 del(env): delete CSP_REPORT_URI env var and associated config. 2024-02-14 11:17:20 +01:00
Colin Darie
e85e026361
fix: phonelib multiple default countries 2024-02-12 09:33:16 +01:00
Paul Chavard
163e6f807e
chore(ign): update to geoplateforme 2024-02-08 16:23:08 +01:00
Colin Darie
981b3fa4ff chore(sidekiq): ProcedureExternalURLCheckJob on sidekiq 2024-01-29 15:42:55 +01:00
Colin Darie
4d1988fd66
chore(bundle): +kredis 2024-01-24 10:58:38 +01:00
Colin Darie
1a56fe620e feat(correction): make pending corrections blocking by feature flag only 2023-12-18 14:12:45 +01:00
simon lehericey
f0a28ab1e8 Revert "Merge pull request #9835 from demarches-simplifiees/update_openid_connect"
This reverts commit 2e59ef97c9, reversing
changes made to d0372ec608.
2023-12-13 14:09:50 +01:00
simon lehericey
a811a72ab2 chore(agent_connect): update code to work with newer openid connect
remove AGENT_CONNECT_JWKS env key
2023-12-11 15:02:24 +01:00
mfo
f647ae5ddf
Merge pull request #9828 from mfo/US/doc-api-link-in-user-profile
amelioration(doc.api): ETQ administrateur, j'ai plus facilement accès à la bonne doc des API
2023-12-11 09:48:06 +01:00
Martin
6d576049b2 amelioration(doc-api): deprecie les webhooks [on a deja supprimé la doc il y a un moment]
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-11 09:45:41 +01:00
simon lehericey
4f75fbe7ec move rebase jobs to sidekiq 2023-12-09 06:26:42 +01:00
Martin
202fd7e099 amelioration(doc.api): utilise le bon lien pour la doc des APIs, ajoute le lien sur la section des jetons d'api sur la page profil usager 2023-12-08 16:55:03 +01:00
simon lehericey
de82ab8dfd move virus scanner job to sidekiq 2023-11-21 16:13:32 +01:00
Colin Darie
cbec8b8b75 chore(assets): setup dsfr artwork 2023-11-15 18:43:17 +01:00
simon lehericey
791954af1b attestation_template v2: add weasyprint integration 2023-11-15 15:24:46 +01:00
Paul Chavard
8aab0cdfed
Merge pull request #9707 from demarches-simplifiees/remove-routing-feature-flags
Tech : supprime des features flags liés au routage
2023-11-15 09:23:00 +00:00
LeSim
1b4010205a
Merge pull request #9599 from demarches-simplifiees/destroy_dossier_operation_logs_with_dossier
fix: destroy dossier_operation_logs with dossier
2023-11-14 16:45:26 +00:00
Eric Leroy-Terquem
6ad0547a72 chore(feature flag): remove multi line routing flag 2023-11-14 17:06:05 +01:00
Eric Leroy-Terquem
77e589d307 chore(feature flag): remove rerouting flag 2023-11-14 17:04:35 +01:00
Colin Darie
9d7f747805
chore(lograge): fix log without to_log key 2023-11-13 15:52:09 +01:00
simon lehericey
e00054a6ea first test for sidekiq 2023-11-13 11:40:48 +01:00
Colin Darie
fb318620aa
Merge pull request #9692 from colinux/fix-deprecation-warnings
Tech: fix multiple deprecation warnings
2023-11-13 10:16:06 +00:00
Colin Darie
92661d074d
chore(bundle): update chartkick to fix defer deprecation warning and v5 like JS counterpart 2023-11-10 14:20:03 +01:00
Colin Darie
95f61c3d97 fix(geocoder): ensure to use exact rails redis cache configuration 2023-11-09 18:21:38 +01:00
LeSim
fcec4a7ef7
Merge pull request #9519 from demarches-simplifiees/init_sidekiq
Tech: infrastructure pour utiliser sidekiq
2023-11-09 16:18:04 +00:00
simon lehericey
9cd165635d add sidekiq initializer 2023-11-09 16:57:10 +01:00
Colin Darie
01aaec6e90
chore(geocoder): enable caching for geocoder 2023-11-09 16:43:04 +01:00
simon lehericey
8c0d2bb8cb refactor: add request_logs methods
it avoids having to change lograge.rb for adding an entry
2023-11-08 17:49:09 +01:00
krichtof
a6ea607e7a
Merge pull request #9566 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_children_management
Feature ouidou/admin creation delegation gestionnaire page children management
2023-11-08 15:13:10 +00:00
Eric Leroy-Terquem
0968f02a26
Merge pull request #9648 from demarches-simplifiees/add-rnf-service
Ajout d'un nouveau référentiel : le Répertoire National des Fondations (RNF)
2023-11-08 09:06:47 +00:00
Eric Leroy-Terquem
694cbcd0a2 feat(rnf): add rnf type_de_champ 2023-11-07 14:21:28 +01:00
Eric Leroy-Terquem
cd9cc65e99 feat(routing): add a feature flag on multi line routing 2023-11-06 15:25:45 +01:00
seb-by-ouidou
528c51cb5e feat: US4.3.9 children management 2023-10-26 10:46:18 +00:00
Martin
a4ef3cdf23 tech(ActiveModel.types.json): renomme en simple_json pour eviter la confusion avec ActiveRecord.types.json 2023-10-19 09:30:52 +02:00
Martin
ecb3909e99 chorus(autocomplete): autocomplete sur le centre de cout, domaine fonctionnel, referentiel de programmation 2023-10-19 07:14:27 +02:00
Eric Leroy-Terquem
37b9420054 fix routage doc url 2023-10-13 16:15:31 +02:00
Eric Leroy-Terquem
e6b98a1e82 doc(routage): add link to routage doc in options page 2023-10-04 14:23:25 +02:00
Colin Darie
c9bde31ef2
Merge pull request #9470 from colinux/improve-watermark
ETQ instructeur: nouveau filigrane des titres d'identité qui améliore la lisibilité des images
2023-09-12 12:09:58 +00:00
Colin Darie
201b31bf36
refactor(watermark): small text based watermarked to increase document visibility 2023-09-12 13:04:31 +02:00
Colin Darie
6e5c466e57 style: update favicons with chart color, apple touch icon and shortcuts names 2023-09-11 17:48:12 +02:00
Bastien Ogier
f7d109a851 changed(brevo): use env vars for smtp relay address and port. 2023-09-06 11:31:24 +02:00
simon lehericey
4955f5d6ec fix: flipper initialization when db down 2023-08-31 12:14:33 +02:00
Martin
a3c6a2c46f correctif(dolist): utilise des liens vers les logos des procedures plutôt que des attachements.inlined 2023-08-14 13:09:05 +02:00
Paul Chavard
ca4066939c chore(pipedrive): remove pipedrive 2023-08-10 10:29:25 +02:00
Paul Chavard
b404064d3b feat(graphql): add mutation flag to lograge 2023-08-02 13:20:58 +02:00
Paul Chavard
0ca72492e3 feat(graphql): use camelize with inflection 2023-08-01 14:55:08 +02:00
Martin
2c3cce104a tech(smtp): passe du relai SMTP de SendInBlue vers le relai SMTP Brevo [changement de nom de la boite] 2023-07-17 15:51:15 +02:00
Colin Darie
e74f4db8c8
feat(sva): under feature flag 2023-07-11 10:02:45 +02:00
Colin Darie
bb4a6e22ce
chore(schema): +procedures#sva_svr 2023-07-11 10:01:45 +02:00
Colin Darie
3885864200
Merge pull request #9289 from demarches-simplifiees/new_pj_scheme
Change le nommage des pjs à %Y/%m/%d/sd/sd.....
2023-07-10 13:20:34 +00:00
Paul Chavard
d5820277c0 feat(cojo): add cojo type de champ 2023-07-10 14:57:34 +02:00
simon lehericey
db70624398 feat(pj): change naming scheme to %Y/%m/%d/sd/sd..... 2023-07-10 11:44:33 +02:00
Eric Leroy-Terquem
7598b0a513 remove previous routing sytem code 2023-07-03 14:58:45 +02:00
simon lehericey
7ce7a3f62c feat: change pj token to year/aa/bb/token to spread pjs under namespaces 2023-06-26 13:50:18 +02:00
kleph
976f46717b prevent /ping requests from being written in centralized_logs
fix #8926
2023-06-21 17:11:32 +02:00
mfo
ab1399da57
Merge pull request #9209 from mfo/US/intercept-email-delivering
amelioration(email_event): re-lever une erreur dans un rescue_from ne la fait pas remonter. change de stratégie pour savoir si oui ou non un mail a ete envoye avec success.
2023-06-20 14:55:49 +00:00
Martin
9b2d05b8a1 amelioration(email_event): re-lever une erreur dans un rescue_from ne la fait pas remonter. change de stratégie pour savoir si oui ou non un mail a ete envoye avec success. 2023-06-20 13:39:29 +02:00
Eric Leroy-Terquem
98cdc63d5c add rerouting feature flag 2023-06-15 14:34:02 +02:00
Paul Chavard
10524643fb fix(hack): fix and test hack for procedures using groupe instructeur api 2023-06-14 19:24:58 +01:00