Commit graph

17148 commits

Author SHA1 Message Date
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
Paul Chavard
1766288c51
Merge pull request #8365 from tchak/feat-graphql-groupe-instructeurs-mutations
feat(graphql): implement add/remove instructeurs via API
2023-01-10 21:21:25 +01:00
Paul Chavard
afc1f12028 feat(graphql): implement add/remove instructeurs via API 2023-01-10 20:33:35 +01:00
Paul Chavard
0557b84eed feat(graphql): expose current_administrateur when using new tokens 2023-01-10 20:07:38 +01:00
Paul Chavard
341311cd7f
Merge pull request #8390 from tchak/refactor-repetitions-row-id-use
refactor(repetition): use row_id instead of row
2023-01-10 19:40:07 +01:00
Paul Chavard
af33d5d65c refactor(repetition): use row_id instead of row 2023-01-10 19:31:41 +01:00
Paul Chavard
8adada9857
Merge pull request #8385 from tchak/feat-batches-by-possible-operation
feat(batch_operation): enable only available operations
2023-01-10 19:18:52 +01:00
Paul Chavard
77a0033b3e feat(batch_operation): enable only available operations 2023-01-10 19:03:32 +01:00
Lisa Durand
7abf51ca81 split filter in 2 partials too display filters tags on its own div to have more spaces 2023-01-10 18:05:23 +01:00
Lisa Durand
d856969790 add a bit of logic to display batch buttons : if more than 3 we group them in a dropdown 2023-01-10 18:05:23 +01:00
mfo
eeb9fdcb46
Merge pull request #8393 from mfo/US/fix-missing-dossier-preload
amelioration(instructeurs/dossiers#show): supprime le double chargement des champs et annotations privées
2023-01-10 17:49:40 +01:00
Martin
0ef46b6f07 amelioration(instructeurs/dossiers#show): supprime le double chargement des champs et annotations privées 2023-01-10 17:36:05 +01:00
Paul Chavard
bdc5bb8480
Merge pull request #8399 from adullact/fix/archive-flash-typo
Correction d'une typo sur le message flash des archives
2023-01-10 17:34:25 +01:00
François Vantomme
0e3fe055e4
fix(archive): typo on flash notice 2023-01-10 17:23:48 +01:00
Colin Darie
79537a8a99
Merge pull request #8398 from colinux/sentry-ignore-password-error
chore(sentry): ignore error on password input with password manager
2023-01-10 16:31:14 +01:00
Colin Darie
e501750fb4 chore(sentry): ignore error on password input with password manager 2023-01-10 16:22:43 +01:00
Colin Darie
4cfe9a5c13
Merge pull request #8389 from colinux/email-events
Email events: premières briques pour un monitoring — emails dispatchés par ActionMailer
2023-01-10 16:22:19 +01:00
Colin Darie
d563a4fa66 feat(manager): email events with collection filters of delivery methods 2023-01-10 16:07:35 +01:00
Colin Darie
d58e6a2f9c refactor(email): remove pseudonymization, it will be done at dump-time 2023-01-10 16:07:35 +01:00
Colin Darie
d911bc02c0 refactor(mailer): set dolist header in DeviseUserMailer 2023-01-10 16:07:35 +01:00