Commit graph

20267 commits

Author SHA1 Message Date
Paul Chavard
e8b10fd320 fix(procedure): return most recent demarche for a given path 2023-01-12 10:23:12 +01:00
Paul Chavard
8958ba0725
Merge pull request #8108 from tchak/graphql-clone-demarche
feat(graphql): add demarcheCloner mutation
2023-01-11 23:50:02 +01:00
Paul Chavard
b663939674 feat(graphql): add demarcheCloner mutation 2023-01-11 23:38:12 +01:00
Paul Chavard
3f2a91b855 fix(graphql): properly handle demarche and demarche_descriptor resolution 2023-01-11 23:38:12 +01:00
Paul Chavard
e1594a2814
Merge pull request #8413 from tchak/fix-groupe-instructeur-count
fix(groupe_instructeur): only show to administrators the number of visible files
2023-01-11 23:37:35 +01:00
Paul Chavard
5641c2b078 fix(groupe_instructeur): only show to administrators the number of visible files 2023-01-11 21:49:08 +01:00
mfo
70bee0b829
Merge pull request #8415 from mfo/US/fix-safe-mailer-bis
correctif(safe_mailer): fix bug sur de la synthax
2023-01-11 20:39:21 +01:00
Martin
822eda7c42 correctif(safe_mailer): fix bug sur de la synthax 2023-01-11 20:29:51 +01:00
Colin Darie
72e31d4d90
Merge pull request #8414 from colinux/devise-mailer-dolist-header
fix(mailer): dolist header in devise mailer
2023-01-11 19:00:08 +01:00
Colin Darie
01f227e1c7 fix(mailer): dolist header in devise mailer 2023-01-11 18:52:14 +01:00
mfo
9ff100fad5
Merge pull request #8412 from mfo/US/allow-safe-mailer-to-be-newed-and-created
correctif(safe_mailer): autorise le new/create depuis le manager
2023-01-11 18:46:57 +01:00
Martin
3e1f4f0209 correctif(safe_mailer): autorise le new/create depuis le manager 2023-01-11 18:34:30 +01:00
mfo
1a6b693312
Merge pull request #8404 from mfo/US/force-email-delivery
Us/force important email delivery
2023-01-11 18:00:35 +01:00
Martin
3e6b82ed9e amelioration(safe_mailer): ajoute au manager la fonction pour configurer le routage des mails sur un fournisseur unique
Update app/mailers/devise_user_mailer.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-01-11 17:32:24 +01:00
Martin
d535735155 amelioration(devise_mailer): oriente les mails de devise vers un fournisseur quand cela est configuré 2023-01-11 17:13:05 +01:00
Martin
2f43ffc940 data(safe_mailer): ajout d'un object permetant d'orienter les mails vers un unique fournisseur au cas ou l'autre soit down 2023-01-11 17:13:05 +01:00
Martin
733ba01695 amelioration(balancer_delivery_method): implemente le fait de forcer la methode de delivery au niveau de notre balancer de fournisseur demail 2023-01-11 17:13:05 +01:00
LeSim
02f411b3b5
Merge pull request #8407 from tchak/chore-update-dependencies
chore(npm): update dependencies
2023-01-11 16:53:24 +01:00
LeSim
6f2912b4db
Merge pull request #8284 from demarches-simplifiees/feature/rate_limiting_prefill_api
Add prefill api to rack_attack
2023-01-11 16:47:47 +01:00
Damien Le Thiec
493a60f221 Add prefill api to rack_attack 2023-01-11 15:35:43 +01:00
LeSim
490a997e97
Merge pull request #8208 from demarches-simplifiees/bug-fix-denomination-sociale-display-ldu
bug : améliorer l'affichage de la raison sociale pour les entreprises individuelles
2023-01-11 14:50:56 +01:00
Lisa Durand
8ba13cb685 humanize raison sociale from api_entreprise in adapter 2023-01-11 14:42:38 +01:00
LeSim
fbbad6e227
Merge pull request #8166 from demarches-simplifiees/coding_convention
chore: ajoute d'un document pour les conventions de code
2023-01-11 14:41:46 +01:00
simon lehericey
90cc87eb23 chore: starting a coding convention 2023-01-11 14:35:26 +01:00
LeSim
d6cbf738a1
Merge pull request #8093 from demarches-simplifiees/clean_invalid_procedures
fix(procedures): valides uniquement le juridique a la création et à la publication
2023-01-11 14:18:18 +01:00
simon lehericey
528b2c2b88 fix(procedure): valid juridique on create and publication 2023-01-11 14:05:17 +01:00
simon lehericey
9043bed3a0 refactor(procedure_presentation): add required tags 2023-01-11 14:05:17 +01:00
mfo
a760ccade9
Merge pull request #8400 from adullact/feature/s3-storage
S3 storage support
2023-01-11 13:06:55 +01:00
François Vantomme
f430647064 refactor(storage): move S3_* variables to config/env.example.optional 2023-01-11 12:59:19 +01:00
François Vantomme
eb812032e1 security(csp): whitelist amazon AWS for S3 storage 2023-01-11 12:59:19 +01:00
François Vantomme
3ab4482ff7 feat(storage): add S3 storage support 2023-01-11 12:59:19 +01:00
Colin Darie
6915671f95
Merge pull request #8409 from colinux/fix-association-adapter
Fix RNA Association adapter sans date_publication
2023-01-11 12:45:54 +01:00
Colin Darie
e63e4fc975 fix(sentry/rna): add error context when RNA schema failed 2023-01-11 12:30:02 +01:00
Colin Darie
820cb4bd27 fix(rna): some associations don't have date_publication
https://sentry.io/organizations/demarches-simplifiees/issues/3698792231/events/fde901fac5a44129adcafc891d59d086/?project=1429550
2023-01-11 12:30:02 +01:00
Paul Chavard
e6d5033184 clean(js): remove console 2023-01-11 12:11:55 +01:00
Paul Chavard
8283947e60 chore(npm): update dependencies 2023-01-11 12:11:55 +01:00
Paul Chavard
061a3e59ff
Merge pull request #8408 from tchak/fix-batch-operations-buttons
fix(dossier): disable buttons when selection is canceled
2023-01-11 12:11:18 +01:00
Paul Chavard
f17ae44952 fix(dossier): disable buttons when selection is canceled 2023-01-11 11:50:25 +01:00
LeSim
cc3053e707
Merge pull request #8401 from adullact/feature/faq-url
Substitution de la variable FAQ_URL par des locales
2023-01-11 11:37:30 +01:00
François Vantomme
08d276472b refactor(links): use localized FAQ URLs 2023-01-11 11:28:03 +01:00
François Vantomme
fe518fed8c refactor(links): move FAQ from footer to common scope 2023-01-11 11:28:03 +01:00
François Vantomme
faa5dda761 refactor(links): use FAQ URL locale everywhere 2023-01-11 11:28:03 +01:00
LeSim
ffeb2083f0
Merge pull request #8405 from E-L-T/add-field-to-prepare-routage-migration
Ajoute des colonnes nécessaires au déplacement du routage comme un type de champ
2023-01-11 11:27:37 +01:00
simon lehericey
bd3fbbce49 add schema and annotation 2023-01-11 11:19:24 +01:00
simon lehericey
28ab19e4f7 remove default value as it can cause lock and does not add value 2023-01-11 11:18:21 +01:00
Eric Leroy-Terquem
60cd9a5d0e add migrated champ routage to dossiers, procedures and procedure_revisions 2023-01-11 11:18:21 +01:00
LeSim
c44614e7cc
Merge pull request #8402 from adullact/fix/backfill-procedure-with-discarded
Backfill procedure with discarded
2023-01-11 11:07:48 +01:00
François Vantomme
f0ff364ed6 fix(migration): backfill procedure nil duree_conservation_etendue_par_ds 2023-01-11 11:00:43 +01:00
Colin Darie
ecd24378d6
Merge pull request #8403 from colinux/fix-balancer-mailer-observers
fix(mailers): observers for balancer and balanced delivery methods
2023-01-11 09:44:13 +01:00
Colin Darie
05b517a847
fix(mailer): observers on balancer and balanced delivery methods
- Les observers doivent être déclarés *avant*
  le chargement de nos delivery methods (Sendinblue & Dolist),
  sinon ils seront ignorés par ces derniers

- dans le balancer, on ne peut pas appeler `.deliver` une seconde fois,
  sinon les observers (et interceptors) sont invoqués deux fois.
2023-01-11 00:57:16 +01:00