Colin Darie
2d57ec4056
fix(accuse-lecture): don't crash on dossier acceptance when procedure is still draft
2024-05-16 16:18:35 +02:00
Colin Darie
8d99e28da5
chore(faq): cache I/O on showing faq
2024-05-16 11:43:58 +02:00
Colin Darie
b0503b4f28
chore(faq): cache depends on app version
2024-05-16 11:43:58 +02:00
Colin Darie
d05aee0c67
feat(faq): variabilize application name, host, contact_email
2024-05-16 11:43:58 +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
9af2c4f244
feat: show a simple FAQ
2024-05-16 09:35:19 +02:00
Kara Diaby
bf622eb3ed
service and serializer
2024-05-06 09:49:02 +00:00
Paul Chavard
ecd8ea9ee5
refactor(dossier): use new serialization in dossier project service
2024-04-24 13:27:20 +02:00
LeSim
6c70a3db28
Merge pull request #10374 from colinux/watermark-dj
...
ETQ instructeur: rétablit l'affichage du filigrane des Titres d'identité
2024-04-23 15:22:28 +00:00
Colin Darie
9658a0ca47
fix(watermark): fix watermark text
...
Current attributes are not set in jobs
2024-04-23 14:59:46 +02:00
Paul Chavard
2bc076e1fb
fix(dossier): fix and optimize dossier projection service
2024-04-23 11:38:53 +02:00
simon lehericey
2745be5672
chore: remove old code
2024-04-19 08:48:17 +02:00
Colin Darie
db65c9178e
fix(address): BAN does not return postcode for some TOM like Nouvelle-Calédonie
...
But we have to fallback to an empty string because API graphql / serializer
expects a non-null attribute.
2024-04-16 15:37:56 +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
5bbc4cab50
hide decision displayed in messagerie with auto commentaire
2024-04-15 11:15:13 +02:00
Paul Chavard
ea47ba3747
fix(commune): no crash on blank codes
2024-04-15 11:01:15 +02:00
simon lehericey
c77b66feef
refactor: api_geo_services raises if wrong dep or city code
2024-04-11 11:56:53 +02:00
simon lehericey
5567570d74
more robust normalization
2024-04-10 10:57:37 +02:00
Paul Chavard
df8ad3f709
fix(adresse): fallback to city name if commune not found
2024-04-08 11:49:37 +02:00
simon lehericey
2e2f4706c5
deduplicate and add error management
2024-04-05 12:30:43 +02:00
simon lehericey
42f0b87c39
remove api_up?
2024-04-05 12:27:54 +02:00
simon lehericey
7b33963a67
add and use api_djepva_up?
2024-04-05 12:27:26 +02:00
simon lehericey
e994738a2e
add and use api_insee_up?
2024-04-05 12:26:44 +02:00
simon lehericey
8405c83c12
fix: do not retry rnf bad request
2024-04-02 10:00:07 +02:00
Eric Leroy-Terquem
058350df53
fix(administrateur): can delete administrateur with a discarded procedure with no dossier
2024-03-21 14:27:53 +01:00
simon lehericey
efa35e04a5
use Current.application_name in app excluding mail
2024-03-21 10:06:09 +01:00
mfo
086cc1537b
Merge pull request #10068 from mfo/US/user-has-many-fcis
...
tech(User.FranceConnect): un usager peut avoir plusieurs profils FranceConnect, pas uniquement un
2024-03-20 16:30:39 +00: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
4997a81639
remove one indirection
2024-03-19 21:17:44 +01:00
Paul Chavard
0f93ea2156
fix(dossier): select the right stable_id
2024-03-18 19:20:10 +01:00
simon lehericey
31b84fd770
store id_token
2024-03-18 14:02:53 +01:00
Paul Chavard
378e15e083
fix(api_geo): include Paris, Lyon and Marseille code INSEE in local data
2024-03-15 22:33:26 +01:00
simon lehericey
7e6792c616
feat(file retrieval): add dossier_transfer_log
2024-03-15 14:35:15 +01:00
simon lehericey
e91eeadccb
feat(file retrieval): add recovery_service
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
simon lehericey
c1199af83d
feat(file retrieval): attach agent_connect_information to instructeur
2024-03-15 14:35:14 +01:00
Martin
9425f2cc58
fix(user.france_connect_informations): has_many, not has_one
2024-03-08 09:44:21 +01:00
Martin
f4d2f1ddf5
fix(export.pdf): expert should not have access to messagerie when it was disabled
2024-03-07 08:39:32 +01:00
Martin
84f995bd47
fix(expert.export): expert should not have access to include_infos_administration
2024-03-06 17:28:47 +01:00
Paul Chavard
a247ec6c12
Merge pull request #9695 from tchak/use-types-de-champ-as-source-of-truth
...
refactor(dossier): use revision as source of truth to diplay champs
2024-03-04 15:03:02 +00:00
Paul Chavard
1850d80b82
refactor(dossier): use new champs_for_revision method
2024-03-04 10:59:11 +01:00
Paul Chavard
5da1eb3024
fix(adress): show postal code on municipalities
2024-03-04 09:15:27 +01:00
Colin Darie
41a27fbad2
Merge pull request #10014 from mfo/US/better-expert-exports
...
ETQ expert: je retrouve mes avis confidentiel dans les exports. ETQ instructeur, je retrouve les fichiers joint a une demande d'avis expert
2024-02-21 11:25:58 +00:00
Paul Chavard
12598229a7
chore(browser): mark samsung browser as supported browser
2024-02-20 20:22:05 +01:00
Martin
a151a304e2
feat(pj_service): add expert's avis (even when confidential) to exports asked by same expert
2024-02-19 16:22:08 +01:00
Martin
dd39ac313b
feat(pj_service): add introduction_file to exports
2024-02-19 16:21:26 +01:00
Paul Chavard
20307f1d21
refactor(address): use directly BAN data
2024-02-16 12:15:14 +01:00
Martin
2200310877
fixup! tech(refactor): extract clone logic inside its own class
2024-02-16 11:23:39 +01:00
Martin
32e8f34511
refactor(PiecesJustificativesService): stop passing flags, pass user_profile and manage ACL from the service itself
2024-02-16 11:23:39 +01:00
Martin
83690529ca
tech(refactor): inline PiecesJustificativesService.serialize_champs_as_pjs(object) within DossierSerializer
2024-02-16 11:23:39 +01:00
Martin
3e64a3bbbc
tech(refactor): extract clone logic inside its own class
2024-02-16 11:23:39 +01:00
Martin
72a3f6e89c
refactor(export/archives): holds user profile asking for the archive or export
2024-02-16 11:23:38 +01:00
Colin Darie
e3f233cd51
fix(rubocop): Layout/ExtraSpacing et Layout/SpaceAroundOperators
2024-02-12 09:33:22 +01:00
mfo
8d658c60d8
Merge pull request #9953 from mfo/US/fix-archive-without-annotations
...
correctif: ETQ admin, je souhaite retrouver les annotations privées dans les archives
2024-02-07 10:05:42 +00:00
Colin Darie
eb55abebfc
style(attestation): fix for headings style and spacing following charte
2024-02-02 13:49:22 +01:00
Colin Darie
f7484eb0e5
feat(attestation): list tags errors and substitute missing tag by libelle
2024-02-02 13:05:09 +01:00
Colin Darie
40353fee04
feat(attestation): replace tags in preview for v2
2024-02-01 18:55:50 +01:00
Colin Darie
16cdff8425
feat(tiptap): detect first body paragraph for spacing, handle empty nodes
2024-01-31 17:03:47 +01:00
Colin Darie
45071b7bb6
fix(tiptap): don't fail on node without content
2024-01-31 17:03:40 +01:00
Martin
0650598706
fix(archive.content): include infos administratives in pj generation
2024-01-31 10:22:07 +01:00
Lisa Durand
bb236f6c0d
fix duplication text for tiers in instructeur table
2024-01-31 09:38:26 +01:00
Colin Darie
8e6a1c58b2
feat(correction): badge Corrigé when a correction has been resolved
...
Closes #9928
2024-01-24 17:26:34 +01:00
Lisa Durand
569d4af6f7
Merge pull request #9706 from demarches-simplifiees/feat/9678
...
ETQ usager passant par un mandataire, je suis notifié des changements d'état de mon dossier par email
2023-12-14 16:57:07 +00:00
mfo
186f85f81a
Merge pull request #9854 from mfo/US/fix-user-deletion-service-in-batches
...
Tech, correctif sur le service d'expiration des usagers inactif qui timeoutait via `.in_batches`. Utilise `.pluck(:id)`
2023-12-14 13:27:30 +00:00
Martin
b89f6cf0f1
correctif(user_deletion_service.perf): timeout via .in_batches. Utilise .pluck(:id)
2023-12-14 14:08:50 +01:00
Eric Leroy-Terquem
57b6522536
data(geo): update api_geo_data take task to store region_code in departements and communes json
2023-12-14 09:36:50 +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
Kara Diaby
57dfe2b0f6
Améliorations après retours PR
2023-12-13 09:21:09 +00: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
Paul Chavard
3de0367ed9
fix(email_template): less magic - less bugs !
2023-11-29 20:36:44 +00:00
Paul Chavard
216e2f9198
feat(tiptap): add zones to tiptap service
2023-11-29 12:07:42 +00:00
Martin
b09d42ee46
amelioration(UsersDeletionService): perf, PG aime pas le not having
2023-11-21 11:18:02 +01:00
Martin
520863d814
amelioration(user.expiration): ajoute une raison specifique a la suppression d'un dossier : user_expired
2023-11-17 11:33:14 +01:00
Martin
bfe27b5eb7
amelioration(UsersDeletionService.expired_users_with_dossiers): ignore les usagers ayant un dossier en instruction, meme si il a des dossiers en brouillon ou autre
2023-11-17 11:33:14 +01:00
Martin
3a9b520a93
tech(review): quelques améliorations de style
2023-11-17 11:33:14 +01:00
Martin
5f452a731e
amelioration(UserDeletionService): les usagers ont uniquement identifié comme inactif si ils ne se sont pas connecté depuis 2ans [et on ignore les admin, expert, instructeur, usager avec un dossier en instruction ou usager sans dossier dutout]
2023-11-17 11:33:14 +01:00
Martin
1716a931c5
amelioration(Procedure.procedure_expires_when_termine_enabled): active l'expiration des dossiers terminés sur les procedure ne l'ayant pas activé jusqu'à présent. La cible est de faire ça sur 20 Procedure quotidiennement
2023-11-17 11:33:14 +01:00
Martin
afc7df9c7c
amelioration(UserDeletionService): on ne supprime pas 800k utilisateurs en une passe
2023-11-17 11:33:14 +01:00
Martin
3186b0aa68
tech(refactor): centralise/documente les constantes de duree de retentions dans le ns dedié à l'expiration
2023-11-17 11:33:14 +01:00
Martin
c9d470d9ec
tech(refactor): mutualise la duree de rentention apres notification entre dossier/user
2023-11-17 11:33:14 +01:00
Martin
aecc41490b
tech(refactor): deplace le mail rate limiter dans le module dédié à l'expiration
2023-11-17 11:33:14 +01:00
Martin
fb238ff7ac
tech(refactor): deplace l'echelonnement des taches cron liés a l'expiration dans un module dédié
2023-11-17 11:33:14 +01:00
Martin
99529c611d
tech(refactor): deplace les service d'expiration usager/dossier dans un namespace dedié
2023-11-17 11:33:14 +01:00
Martin
fb51710309
amelioration(ExpiredUsersDeletionService): ne touche pas aux dossiers en instruction
2023-11-17 11:33:14 +01:00
Martin
054b3be02a
tech(clean): cleanup spec and code
2023-11-17 11:33:14 +01:00
Martin
1950297413
amelioration(ExpiredUsersDeletionService): ne supprime pas les experts, instructeurs, administrateurs
2023-11-17 11:33:14 +01:00
Martin
b989af5b47
amelioration(ExpiredUsersDeletionService): limite le nombre d'envoie d'email sur le job de suppression des utilisateurs
2023-11-17 11:33:14 +01:00
Martin
8790ac4978
amelioration(ExpiredUsersDeletionService): ajoute le rate limit a l'envoie des mails
2023-11-17 11:33:14 +01:00
Martin
5229160408
amelioration(ExpiredUsersDeletionService.process_expired): supprime aussi les usagers qui n'ont plus de dossiers sur la plateforme
2023-11-17 11:33:14 +01:00
Martin
2f28012324
amelioration(User.mailer.notify_inactive_close_to_deletion): ajoute le mail pour prevenir de la suppression de compte
2023-11-17 11:33:14 +01:00
Martin
ea9c571a30
amelioration(users.expiration): notifie deux semaine a l'avance avant de supprimer un compte
2023-11-17 11:33:14 +01:00
Martin
a49a5c2c93
amelioration(ExpiredUsersDeletionService): prepare le grand ménage
2023-11-17 11:33:14 +01:00
simon lehericey
e4a48f1270
tiptap service handle empty attestation
2023-11-15 15:24:46 +01:00
Eric Leroy-Terquem
694cbcd0a2
feat(rnf): add rnf type_de_champ
2023-11-07 14:21:28 +01:00
krichtof
4a698f8264
Merge pull request #9616 from demarches-simplifiees/9525-remove-admin-from-manager
...
ETQ superadmin, je peux supprimer un admin depuis le manager
2023-10-27 12:21:23 +00:00
mfo
53259b733b
Merge pull request #9626 from tchak/tiptap_service
...
feat(attestation): add tiptap json to html converter
2023-10-25 07:24:32 +00:00
Paul Chavard
09ce6ee1c8
feat(attestation): add tiptap json to html converter
2023-10-21 12:08:12 +02:00
mfo
0922e0987a
review(maj): strip la valeur recherché sur les api chorus avant de le soumettre à l'API, et quelques maj de style
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-10-20 07:07:53 +02: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
ffdd7ee95d
tech(APIBretagneService.clean): l'API de data.bretagne renvoie un vide quand il n'y a pas de resultat, change l'implem pour ce cas
2023-10-19 09:30:52 +02:00
Christophe Robillard
0b7d4452fd
remove admin from manager
2023-10-19 09:14:44 +02:00
Martin
3495147045
tech(APIBretagneService.clean): renvoie un tableau vide tant que la recherche ne fait pas plus de 2 caractères
2023-10-19 08:47:48 +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
Martin
df78e14469
amelioration(procedure.chorus): ajoute le service pour requeter les api chorus fournies par la bretagne
2023-10-19 07:14:27 +02:00
Paul Chavard
563c47c88c
Merge pull request #9600 from tchak/update-browsers
...
chore(browser): show browser outdated message to more (very) old browsers
2023-10-18 08:03:44 +00:00
Paul Chavard
8b23f2a555
chore(browser): reduce browser support scope
2023-10-12 15:28:07 +02:00
seb-by-ouidou
0fdbfbd0b8
feat: add env var CERTIGNA_ENABLED to disable certigna if not used
2023-10-12 15:03:53 +02:00
Martin
f4430cebb0
bug(export.identify): la clé pour declarer que le fichier a deja ete identifie [content_type] est identified, pas identify
2023-10-10 10:39:46 +02:00
mfo
def659e599
Merge pull request #9558 from mfo/US/avis-in-exports
...
amelioration(dossier.export): ajoute les piece justificative des avis dans les exports
2023-10-09 13:12:22 +00:00
Martin
1d8a1617d7
amelioration(dossier.export): intègre les avis dans les exports [n'inclu pas les pieces justificatives des avis confidentiels pour les expert, inclu les piece justificatives des avis confidentiel pour les instructeurs ]
2023-10-09 14:53:46 +02:00
Martin
a2e6727b4b
correctif(export): lorsqu'un export .zip fait plus de 4Go, le fait de l'assigner via file.attach(blob) declenche soit un identify soit un virus scanner qui par la suite le vide sur le bucket
2023-10-03 14:43:52 +02:00
Lisa Durand
7311bcebb9
Merge pull request #9363 from demarches-simplifiees/dashboard-usager/make-search-work-with-procedure-filter
...
[refonte usager] Tableau de bord - rendre recherche complémentaire avec filtre par procédure
2023-09-13 12:55:42 +00:00
Colin Darie
201b31bf36
refactor(watermark): small text based watermarked to increase document visibility
2023-09-12 13:04:31 +02:00
Lisa Durand
5ff5923612
make dossiers search compatible with filter by procedure
2023-09-04 16:42:19 +02:00
Colin Darie
bb7673e697
fix(sva): decision date when start date is at end of month and with correction delay
2023-08-29 12:55:06 +02:00
Martin
c6e7c6fa9b
correct(archive_uploader.rb): considère les archives générées par le DSProxy comme étant déjà analyzées.
2023-08-18 16:30:11 +02:00
Christophe Robillard
9445c12b4d
refacto upload archive
2023-08-18 16:15:25 +02:00
Paul Chavard
ca4066939c
chore(pipedrive): remove pipedrive
2023-08-10 10:29:25 +02:00
Paul Chavard
2e61c16dfd
feat(commune): remove Paris, Marseille and Lyon top level insee code
2023-07-26 14:15:20 +02:00
Colin Darie
5998cfe31f
refactor(correction): rename kind => reason with default correction => incorrect
2023-07-21 16:45:47 +02:00
Martin
87abc79627
amelioration(archive-uploader): capture avec sentry les erreurs du swift_wrapper
2023-07-19 11:52:59 +02:00
Paul Chavard
04b3a70108
feat(champ): validate GeoJSON
2023-07-18 18:01:29 +02:00
Martin
ce9dbed663
amelioration(NotificationMailer): sort la creation des commentaire sur la messagerie du mailer [trop de prob possible sinon: au retry on dupliquait les commenaitres, si le mail foirait, on commentait pas etc...]
2023-07-11 15:11:40 +02:00
Lisa Durand
d806495f66
Merge pull request #9298 from demarches-simplifiees/fix-bug-search-for-dossiers-invites
...
[bug] fix de la barre de recherche pour les dossiers invités
2023-07-11 12:57:04 +00:00
Lisa Durand
ea47c2cc19
Suggestion refacto by Tchak
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-07-11 11:53:46 +02:00
Lisa Durand
4084f814b3
fix specs
2023-07-11 11:24:05 +02:00
Lisa Durand
16c2cdee8a
fix dossier invites search
2023-07-11 11:03:02 +02:00
Colin Darie
4aaf5566c3
feat(sva): more details with example dates on procedure description
2023-07-11 10:02:47 +02:00
Colin Darie
f369775d5b
fix(sva): compute decision date from the day after deposit or resolution
2023-07-11 10:01:49 +02:00
Colin Darie
b4e6c20bbd
feat(sva): log operation when instructeur requests a correction
2023-07-11 10:01:49 +02:00
Colin Darie
512f6ca0ec
feat(sva): reset start date when on a correction "incomplete"
2023-07-11 10:01:49 +02:00
Colin Darie
f1504e9724
feat(sva): instructeurs dashboard sva/svr colonnes with multiple use cases
2023-07-11 10:01:47 +02:00
Lisa Durand
e43eea7fcf
display sva date and possibility to order in instructeur table
2023-07-11 10:01:47 +02:00
Colin Darie
4bdd4310ab
feat(sva): calculcate decision date with corrections delays & resume methods
2023-07-11 10:01:47 +02:00
Colin Darie
8c52c4f63f
feat(sva): date calculator service for a dossier and a procedure
2023-07-11 10:01:46 +02:00
Paul Chavard
d5820277c0
feat(cojo): add cojo type de champ
2023-07-10 14:57:34 +02:00
Eric Leroy-Terquem
b94e8edb67
refactor(routing): move toggle_routing to procedure model
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
dcbaa5a5a0
refactor(routing): toggle routing if create group at import
2023-07-03 14:47:56 +02:00
Martin
a0ceee96bd
amelioration(email.resume_hebdomadaire): envoie le mail a 4h du matin sur une periode de 3h
...
tech(
Co-authored-by: Colin Darie <colin@darie.eu>
2023-06-26 17:47:53 +02:00
Martin
d45a250075
amelioration(mail): ajoute d'un simili rate limiter pour envoyer les mails sur des fenetres de temps ayant une limite
2023-06-26 17:28:27 +02:00
Colin Darie
508b3c36fe
Merge pull request #9220 from mfo/US/fix-expiration-job
...
correctif(dossiers.expirations): sur de gros volumes de données, le fait de mettre a jours tous les dossiers a supprime timeout face a PG. batch la maj
2023-06-21 13:33:50 +00:00
Martin
8a42aa2117
correctif(dossiers.expirations): sur de gros volumes de données, le fait de mettre a jours tous les dossiers a supprime timeout face a PG. batch la maj
2023-06-20 17:46:58 +02: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
Paul Chavard
c4432b1b47
perf(carto): use json schema to validate geojson instead of rgeo
2023-06-06 15:43:56 +02:00
Colin Darie
5ab44fc7a9
chore: rename dossier_resolution => dossier_correction
2023-06-02 16:16:14 +02:00
Colin Darie
538e24fa7e
feat(dossier/projection): supports pending_correction?
2023-06-02 16:16:13 +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