Commit graph

668 commits

Author SHA1 Message Date
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
simon lehericey
f85fa08415 fix: sentry use http_proxy if available 2023-06-09 11:03:04 +02:00
Colin Darie
2a948c6145 chore(dev): report to CSP_REPORT_URI instead of non existing /csp 2023-06-01 19:11:20 +02:00
Colin Darie
de0626eb7a feat(pj): accepts audio .m4a, .aac, .wav as attachment
Closes #9082
2023-05-31 12:52:22 +02:00
krichtof
0051face93
Merge pull request #9014 from demarches-simplifiees/8859-default_zones
Etq admin, lors de la création ou modification d'une démarche, des zones par défaut me sont suggérées
2023-05-26 17:25:21 +00:00
Colin Darie
60733ce44e
Merge pull request #9089 from colinux/update-sentry
ETQ tech je mets à jour Sentry pour essayer d'avoir de meilleures traces
2023-05-25 12:14:17 +00:00
Colin Darie
9c71ddd257 chore(sentry): increase trace sample rate for PATCH/POST requests 2023-05-24 18:46:12 +02:00
Christophe Robillard
9a38ec1184 prepare cohabitation of multiple versions of api entreprise 2023-05-24 11:34:29 +02:00
Paul Chavard
e1a25ee0e5 chore(sentry): read sentry release information from version file 2023-05-24 09:41:39 +02:00
Christophe Robillard
53dd2955e4 add tchap hs adapter 2023-05-16 09:40:53 +02:00
Colin Darie
97049f7b2e chore(lograge): fix rails 7 initialization with ApplicationLogSubscriber 2023-05-03 13:18:09 +02:00
Colin Darie
2144c69e22
chore: disable cookies rotation until we enforce SHA256 digests 2023-05-03 11:35:32 +02:00
Colin Darie
ae88c1de6b
fix(devise): default config for devise and turbo stream as navigational format 2023-05-03 11:35:32 +02:00
Colin Darie
33a1e0f22d
fix(loading): in initializer, dolist must be manually loaded 2023-05-03 11:35:31 +02:00
Colin Darie
b3099214b1
chore(rails): we already use json as cookies_serializer 2023-05-03 11:35:31 +02:00
Nicolas Cavigneaux
9097664de5
chore: activate new config defaults for Rails 7 that should be compatible with current version 2023-05-03 11:35:30 +02:00
Nicolas Cavigneaux
6eef70750b
feat: add initializer to handle encrypted cookies rotation
This is needed to keep them working when switching from Rails 6.1 to Rails 7.0
2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
5ee60cbb0c
chore: update and default initializer for Rails 7 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
c1453c5f5c
fix: ensure turbo_stream request are not considered as navigational 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
00e640a21d
fix Zeitwerk check 2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
42689e34ba
chore: bump Rails (and required dependencies) to 7.0.4.2 2023-05-03 10:10:38 +02:00
simon lehericey
07d3496300 spec: always enable super_admin_otp for spec 2023-04-28 10:24:14 +02:00
Colin Darie
5cc2712873
refactor(dolist): drop smtp deliver method 2023-04-27 10:09:29 +02:00