simon lehericey
47076063bb
feature(api): remove update
2024-01-25 11:17:44 +01:00
simon lehericey
b635c940ae
refactor(UI api token): add more information to api token list
...
- network filtering
- validity
- last used
remove creation logic
2024-01-25 11:17:43 +01:00
Colin Darie
27cfae8c6a
chore(dossier): warn user that deletion also means transfer cancellation
2024-01-25 11:03:54 +01:00
simon lehericey
a23eb80d22
fix(profil): use fr-container
2024-01-25 10:51:58 +01:00
simon lehericey
7e8555923f
feature(api): add ensure_token_is_not_expired to api_controller v1 and v2
2024-01-25 10:51:58 +01:00
simon lehericey
d8bc38bc69
feature(api): add ensure_authorized_network for api_controller v1 and v2
2024-01-25 10:51:58 +01:00
simon lehericey
6e5678d1c2
feature(api): add forbidden_network? to api_token
2024-01-25 10:51:58 +01:00
simon lehericey
4c94eca7c0
clean(ui): remove useless warning
2024-01-25 10:51:58 +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
Kara Diaby
261932b56f
Merge pull request #9890 from demarches-simplifiees/feat/9725
...
ETQ expert, je souhaite être notifié des nouveaux messages
2024-01-24 13:17:57 +00:00
Colin Darie
520a7c4402
fix(exports): don't try to link to an export when file is not yet attached
2024-01-24 13:36:25 +01:00
Raphaël Dubigny
7584c17342
Remove user_email input autofocus on agent page
...
This avoid automatic scroll on page load so the AgentConnect button is visible.
2024-01-24 12:00:32 +01:00
Kara Diaby
ac29cfbfdb
Envoie un email à l'expert en cas de nouveau commentaire de l'usager dans la messagerie
2024-01-24 10:48:17 +00:00
Colin Darie
56f8b61866
feat(dossiers): lock submit en construction to avoid merge collisions with double submits
2024-01-24 10:58:40 +01:00
Martin
2952987ad8
refactor(spec): stop using procedure type de champs traits as :with_datetime
, :with_xxx
in favor of :types_de_champ_public
which keeps position in check
2024-01-23 17:30:22 +01:00
Colin Darie
716e4bbe5d
Merge pull request #9645 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_answer_administrateur
...
Feature ouidou/admin creation delegation gestionnaire answer administrateur
2024-01-22 15:45:58 +00:00
Martin
0f194a5e8e
refactor(procedure_revision): without renumber, use types_de_champ_public factory for ordered champs
2024-01-22 14:57:04 +01:00
mfo
89d2c57cb2
review(sim): some review suggestions
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-01-22 14:57:04 +01:00
Martin
5c049a1c0f
feat(update_draft_revision_type_de_champs_task): force to use real position otherwise have to process parent_coordinates...
2024-01-22 14:57:04 +01:00
Martin
434cd77030
poc(spec): renumber only at one point
2024-01-22 14:57:04 +01:00
Martin
a9c0d3e7e9
tech(clean): avoid useless indirection, cleanup some code complexity, rubocopify
2024-01-22 14:57:04 +01:00
Martin
a78a6b6f34
feat(remove_type_de_champ): stop renumbering all procedure_revision_type_de_champ on remove_type_de_champ
2024-01-22 14:57:04 +01:00
Martin
4d97c5bc8a
feat(move_type_de_champ): stop renumbering all procedure_revision_type_de_champ on move_type_de_champ
2024-01-22 14:57:04 +01:00
Martin
4b57ed871a
feat(add_type_de_champ): stop renumbering all procedure_revision_type_de_champ
2024-01-22 14:57:04 +01:00
seb-by-ouidou
0bb189d027
feat: replace fail by flast alert
2024-01-22 14:36:38 +01:00
seb-by-ouidou
a6ca4b668e
feat: answer message to administrateur as gestionnaire
2024-01-22 14:36:38 +01:00
seb-by-ouidou
b19413643c
feat: write message to gestionnaires as administrateur
2024-01-22 14:36:38 +01:00
seb-by-ouidou
9ff1e57feb
feat: US5.1 US5.2 administrateur in admin
2024-01-22 14:36:38 +01:00
seb-by-ouidou
e6474f0d14
feat: US4.3.9 children management
2024-01-22 14:36:38 +01:00
seb-by-ouidou
96dd6bec52
feat: US4.3 update and delete groupe gestionnaire
2024-01-22 14:36:38 +01:00
Colin Darie
2f53a017b4
Merge pull request #9886 from colinux/export-ff-active-revision-first
...
Tech exports: feature flat pour trier les colonnes par révision récente puis position plutôt que mélanger les révisions entre elles
2024-01-22 12:21:32 +00:00
Colin Darie
58c00b2d4e
feat(export): can sort by revision first, instead of mixing revisions
2024-01-22 12:03:30 +01:00
Colin Darie
7892b54aa6
fix(discarded-dossiers): don't crash whole job when a single dossier causes an error
2024-01-17 13:15:42 +01:00
Colin Darie
1a8f839a7e
Merge pull request #9915 from colinux/fix-admin-memory-leak
...
Perf: remplace les `OpenStruct` par des objets plus performants
2024-01-17 08:59:01 +00:00
Colin Darie
a4db911585
perf(admin): remove 2 useless zones queries on each admin page due to navigation
2024-01-16 19:43:58 +01:00
Colin Darie
e1102ed993
perf(admin): fix N+1 on procedures zones on every admin page
2024-01-16 19:43:56 +01:00
Colin Darie
4408f0f4fb
perf(zone): replace OpenStruct by a Struct label model
2024-01-16 19:43:25 +01:00
Colin Darie
e807752a78
perf(type-de-champ): replace stable_self OpenStruct by Struct model
2024-01-16 19:43:23 +01:00
Colin Darie
fa74cdb4c7
perf(null-zone): replace open struct by struct
2024-01-16 19:43:22 +01:00
Colin Darie
461e311d3d
perf(admin): replace ProcedureDetail open struct with proper struct
2024-01-16 19:43:19 +01:00
Lisa Durand
42d91c1eee
correction from PR reviews
2024-01-16 11:23:17 +01:00
Lisa Durand
6773843d52
add clickable summary in champ editor view for admin
2024-01-16 11:23:14 +01:00
Lisa Durand
d9b75ce0a2
Merge pull request #9882 from demarches-simplifiees/add-dossier-reference-in-transfer-email
...
Je veux que le numéro du dossier apparaisse dans l'email de demande de transfert
2024-01-15 15:39:09 +00:00
mfo
0328446bee
Merge pull request #9861 from demarches-simplifiees/US/move-type-de-champ-with-select
...
ETQ administrateur, je peux deplacer un champ via un select
2024-01-15 13:09:56 +00:00
Martin
68e9d3513d
tech(clean): drop drag and drop champs in editor, ux not ok
2024-01-12 11:00:29 +01:00
Martin
69346ad41f
tech(review): implement some pair review suggestions
2024-01-12 11:00:29 +01:00
Colin Darie
8a83fd2ce0
fix(recherche): show notification indicator for instructeurs
2024-01-12 10:09:34 +01:00
Martin
e7eee7ba72
spec(move_and_morph): add some spec and lint with rubocop/haml/eslint
2024-01-11 16:12:09 +01:00
Martin
857a1fc496
fix(select_champ_position): rewire for more robust and easier implementation which work with repetition avoiding double submit
2024-01-11 16:01:24 +01:00
Martin
b4d32e656f
feat(ChampComponent): add procedure_revision_type_de_champ.position to ui
2024-01-11 16:01:24 +01:00
Martin
dce06f22a0
feat(type_de_champ_editor): add SelectChampTemplatePosition which feeds SelectChampPositionComponent options
2024-01-11 16:01:24 +01:00
Martin
11de4bdfb6
feat(types_de_champ_editor.ts): wires move_and_morph with type de champs editor [for now, the select is empty and will be synced]
2024-01-11 16:01:24 +01:00
simon lehericey
586e4ed613
to be sure, delete possible email_merge_token if correct password merge
2024-01-11 11:33:38 +01:00
simon lehericey
e12dbe7aad
use email_merge_token in email merge
2024-01-11 11:33:38 +01:00
simon lehericey
ca08b80c3e
use email_merge_token in mailer
2024-01-11 11:33:38 +01:00
simon lehericey
fca28a3ebd
use email_merge_token in mail_merge_with_existing_account route
2024-01-11 11:33:38 +01:00
simon lehericey
90f145e17a
add email_merge_token to france connect information
2024-01-11 11:33:38 +01:00
simon lehericey
4c7b494c9d
be consistent in france_connect_email sanitation
2024-01-11 11:33:38 +01:00
simon lehericey
6bad272825
style
2024-01-11 11:33:38 +01:00
Colin Darie
0dd3b16d10
Merge pull request #9637 from adullact/feature-ouidou/admin_creation_delegation_administrateur_contact_gestionnaire
...
Delégation de compte admin: ETQ admin je peux contacter mon/mes gestionnaires de groupe
2024-01-11 09:04:34 +00:00
mfo
e2cb833a51
Merge pull request #9896 from mfo/US/fix-combobox-with-not-trimmed-option
...
fix(combobox): some old procedure still have options with trailing white spaces. ensure to trim selected value as well as options.value for better comparison
2024-01-11 08:40:11 +00:00
seb-by-ouidou
c45e2eaccc
feat: write message to gestionnaires as administrateur
2024-01-09 13:25:04 +01:00
seb-by-ouidou
07dd7a1283
feat: US4.3.8 administrateur management
2024-01-09 13:25:04 +01:00
Colin Darie
103e39159b
style(admin): fix alignement in editor with type de champ used by routing
2024-01-08 18:13:33 +01:00
Colin Darie
bdff9a6064
style(admin): improve dark theme on editor section titles & borders
2024-01-08 18:03:07 +01:00
simon lehericey
560c2d763c
fix(view_component): use new slot name
2024-01-08 11:57:47 +01:00
mfo
a0248bf08b
Merge pull request #9888 from mfo/US/validate-epci-by-code
...
Correctif: Le noms des EPCIs changent, ce qui bloque la validation et ou demande a resaisir le champs
2024-01-08 09:56:09 +00:00
Martin
6c5f6dd6f6
fix(combobox): some old procedure still have options with trailing white spaces. ensure to trim selected value as well as options.value for better comparison
2024-01-08 10:29:43 +01:00
Martin
fa07c21ec3
fix(champs.epci): epci names change over time. remap when it occurs
2024-01-04 07:17:15 +01:00
mfo
9df978f6fa
Merge pull request #9887 from mfo/US/fix-fci-missing-device-callback
...
Correctif: ETQ usager invité, lorsque je crée mon compte via FC, je ne retrouve pas mes invitations
2024-01-04 06:15:14 +00:00
Martin
4073804b00
feat(administrateurs/types_de_champ_controller#move_and_morph): add action to move and morph fields between two coordinates
2024-01-03 11:08:53 +01:00
mfo
e076de2f12
Merge pull request #9889 from mfo/US/allow-dossier-link-in-repetitions
...
amelioration: ETQ admin je peux utiliser les champs de type dossier dans les répétitions
2024-01-02 08:47:55 +00:00
mfo
002a14188d
Merge pull request #9875 from mfo/US/hint-regexp
...
ETQ admin, quand je configure un type de champ regexp, j'ai une petite mention sur le bornage de celle ci
2023-12-27 09:43:05 +00:00
Martin
7c5a297bc7
feat(repetitions): allow dossiers links in repetitions
2023-12-26 17:39:01 +01:00
Martin
92730e266b
fix(FranceConnect): missing after_confirmation callback, leading to invalites invitations when user france connect
2023-12-26 15:00:15 +01:00
LeSim
d4b4274d26
Merge pull request #9885 from demarches-simplifiees/fix-a-few-typos
...
Corrections de typos
2023-12-22 22:48:11 +00:00
Eric Leroy-Terquem
a56fa60c78
fix typos
2023-12-22 11:39:09 +01:00
mfo
d69dc6e2c9
Merge pull request #9884 from mfo/US/fix-missing-trad-on-new-commencer
...
correctif: ETQ usager naviguant sur le site en anglais, j'aimerais que le bloc pour choisir si je depose le dossier pour moi ou qqun d'autre soit traduit
2023-12-22 10:09:00 +00:00
Eric Leroy-Terquem
24563a3c18
fix(personnes impliquees): display reaffectations block only if procedure is routed
2023-12-22 10:57:53 +01:00
Eric Leroy-Terquem
cf97af0d7e
chore(groupe_instructeurs): remove dead code replaced by routing rules
...
component
2023-12-22 10:57:53 +01:00
Eric Leroy-Terquem
547a4d95b7
chore(logic): commune and epci champs are always compute with compute_value_json
2023-12-22 10:57:53 +01:00
Martin
ff09130180
fix(i18n): add missing i18n on /commencer
2023-12-22 10:48:10 +01:00
Colin Darie
deab400057
Merge pull request #9578 from adullact/feature-ouidou/admin_creation_delegation_administrateur_pages
...
Feature ouidou/admin creation delegation administrateur pages
2023-12-22 09:06:58 +00:00
Martin
cc02618bfe
feat(TypeDeChampEditor.regexp): add hint regarding regexp begin/finish
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-22 09:47:04 +01:00
mfo
c4adee6278
Merge pull request #9878 from mfo/US/fix-not-type-ej-in-api
...
API: cast le type de champ EJ
2023-12-22 07:20:13 +00:00
seb-by-ouidou
e79de57fb5
fix: few fixes after review
2023-12-21 18:40:36 +01:00
seb-by-ouidou
c253e7dd65
feat: US5.1 US5.2 administrateur in admin
2023-12-21 18:40:36 +01:00
seb-by-ouidou
91602ee1c1
feat: US1.10 administrateur in manager
2023-12-21 18:40:36 +01:00
Colin Darie
6f7d786783
Merge pull request #9880 from demarches-simplifiees/api_token_store_last_used_ips
...
API: stocke les ips utilisées pour accéder à l'API
2023-12-21 16:18:00 +00:00
Lisa Durand
ff284a1c96
add more info in notify transfer email
2023-12-21 16:58:33 +01:00
Martin
989a7ba787
feat(API): cast type de champ EJ in a dedicated graphql type
2023-12-21 16:21:31 +01:00
Eric Leroy-Terquem
4c82f2c9d7
fix(champ value): fix compute_value_json on departement champ
2023-12-21 16:21:08 +01:00
simon lehericey
afb6eacf57
feature(api): store any ip used
2023-12-21 16:02:11 +01:00
Colin Darie
9bdf525ff1
Merge pull request #9863 from colinux/fix-message-html-injection
...
Tech: échappe les tags de données utilisateur dans les modèles pour email
2023-12-21 08:50:21 +00:00
Colin Darie
29df9ad09d
Merge pull request #9751 from tchak/departement-tags
...
feat(champs): expose more tags and api fields on rnf, address and commune
2023-12-21 08:45:01 +00:00
Colin Darie
e17c3bd046
Merge pull request #9839 from mfo/US/fix-filter-focus-out-with-not-selected-filter
...
correctif : ETQ instructeurs, lorsque je sors du composant de filtrage sans choisir une option, le site renvoie une erreur
2023-12-21 08:42:12 +00:00
Colin Darie
535a54ce97
Merge pull request #9874 from demarches-simplifiees/add-email-for-tiers-when-repasser-en-instruction-ldu
...
[Co-construction] Envoyer un mail au bénéficiaire si le dossier repasse en instruction
2023-12-21 08:32:10 +00:00
Lisa Durand
c311d6dc46
add url for civil code reference
2023-12-20 11:51:33 +01:00
Lisa Durand
3e872c5246
add email for tiers when repasser en instruction
2023-12-20 11:51:02 +01:00
Lisa Durand
e52bd9d6bf
Merge pull request #9855 from demarches-simplifiees/display-last-export-in-same-page-ldu
...
ETQ instructeur, j'ai besoin d'un accès très facile à mondernier export
2023-12-20 10:02:08 +00:00
Eric Leroy-Terquem
882d72d139
data(conditional): add a maintenance task to update conditions based on commune or epci champ
2023-12-19 17:39:40 +01:00
Eric Leroy-Terquem
e4632214fb
data(conditional): add a maintenance task to update routing rules based on commune or epci champ
2023-12-19 17:39:39 +01:00
Eric Leroy-Terquem
954facdaff
Merge pull request #9798 from demarches-simplifiees/add-new-operators-to-conditional
...
Etq admin je peux conditionner/router avec les opérateurs "est dans mon département", "n'est pas dans mon département", "est dans ma région" et "n'est pas dans ma région".
2023-12-19 16:10:59 +00:00
Lisa Durand
e6a4459633
refacto
2023-12-19 16:54:23 +01:00
Lisa Durand
f553f3c408
Merge pull request #9872 from demarches-simplifiees/add-badge-for-role-ldu
...
ETQ utilisateur avec plusieurs rôles, je m'y retrouve plus facilement
2023-12-19 11:01:28 +00:00
mfo
e75c4456e8
Merge pull request #9871 from mfo/US/add-pj-to-explication
...
ETQ administrateur, je peux ajouter une notice explicative a un champs explication
2023-12-19 10:44:03 +00:00
Lisa Durand
c767164e28
add expert in current_account and mode badge to the right
2023-12-19 11:33:48 +01:00
Martin
6f01a10846
tech(clean): move from custom spacer classes to dsfr spacer classes
2023-12-19 11:31:55 +01:00
Martin
4bc8eaa192
ui(ChampComponent): move TypeDeChamp.explication options in the right column of the editor
2023-12-19 11:31:28 +01:00
Lisa Durand
1541da9d39
add specific routes and action for polling
2023-12-19 11:10:03 +01:00
Martin
e43c2f1407
feat(procedure_revision.compate): track and show diff for TypeDeChamp.explication between draft and published revisions
2023-12-19 10:51:06 +01:00
Lisa Durand
0286d2b6fb
add profiles in flash after sign-in if multiple profile
2023-12-19 10:33:26 +01:00
Martin
f7feca5fd1
feat(editable_champ.explication): show downloadable AttachedOne
2023-12-19 09:53:27 +01:00
Martin
37e8772eab
feat(type_de_champ_editor.explication): add a Attached::One to TypeDeChamp.explication, named notice_explicative [cf, cerfa wording]
2023-12-19 09:52:27 +01:00
Lisa Durand
dfc09648d8
add badge with role in user dropdown in header
2023-12-18 14:39:27 +01:00
Colin Darie
e9ee405954
Merge pull request #9868 from colinux/blocking-pending-correction-ff
...
ETQ instructeur je peux de nouveau passer en correction un dossier avec corrections en attente
2023-12-18 13:29:39 +00:00
Colin Darie
1a56fe620e
feat(correction): make pending corrections blocking by feature flag only
2023-12-18 14:12:45 +01:00
Lisa Durand
53f9f3cbdb
add trad if export failed
2023-12-18 14:09:47 +01:00
Lisa Durand
a9ab1daf3a
display alert only for instructeur who generated the export and if recent
2023-12-18 11:25:52 +01:00
Martin
7dd9e0d255
amelioration(editeur-de-champ): ETQ admin, une alert DSFR m'informe de la difference entre un champ PJ classique et un champ titre d'identité
2023-12-18 10:26:21 +01:00
simon lehericey
9bb89f7e3e
fix(print): missing dossier var
2023-12-18 09:51:41 +01:00
Colin Darie
fa37c6c62b
fix(tags): escape user data tags for emails
2023-12-15 14:05:11 +01:00
Colin Darie
c0b444d747
Merge pull request #9847 from colinux/fix-style
...
Style: plusieurs améliorations mineures / thème sombre
2023-12-15 12:00:53 +00:00
mfo
b539fe1b65
amelioration(review): tech review
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-15 11:23:25 +01:00
Martin
0caacdaf59
amelioration(combobox): utilise une loupe plutot qu'un chevron bas pour les combobox en mode autocomplete
2023-12-15 11:23:25 +01:00
Martin
95fd6c2a69
tech(combobox): propage le changement de signature dans le reste de la codebase
2023-12-15 11:23:25 +01:00
Martin
d27e4fc693
amelioration(combobox): permet de passer des options au input[type=hidden], utilise cette option pour autosubmit uniquement un input [dans notre cas, ne soumet pas a l'input du combobox, mais a l'input hidden une fois le combobox selectionné]
2023-12-15 11:23:25 +01:00
Colin Darie
7ba13507ff
Merge pull request #9808 from colinux/remove-usager-antivirus
...
ETQ usager, je ne vois plus le statut "antivirus en cours" lorsque j'envoie un PJ
2023-12-14 19:53:34 +00:00
Colin Darie
9a5d908851
Merge pull request #9853 from mfo/US/fix-expert-link-to-dossiers
...
ETQ expert: lorsque je me connecte, je suis redirigé vers la page des avis, non pas vers la page de mes dossiers
2023-12-14 19:52:32 +00:00
Colin Darie
3b0e4e59d5
Merge pull request #9858 from colinux/fix-invite-html-injection
...
Tech: sanitize les messages utilisateurs dans les emails
2023-12-14 17:27:28 +00: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
Eric Leroy-Terquem
2e547cd46f
chore(routing): cannot create simple_routing with champs communes or epcis
2023-12-14 17:48:14 +01:00
Eric Leroy-Terquem
e40d1107ac
chore(conditional): add not_in_departement and not_in_region operators
2023-12-14 17:48:14 +01:00
Eric Leroy-Terquem
3db21b633c
chore(conditional): update champs to use in_region operators
2023-12-14 17:48:13 +01:00
Eric Leroy-Terquem
c9676020b4
chore(conditional): add in_departement and in_region operators
2023-12-14 17:48:13 +01:00
simon lehericey
016c392914
tech: add env var to disable cron scheduling
2023-12-14 17:12:19 +01:00
simon lehericey
b915fe13c3
refactor: remove individual_id as authorized parameter
2023-12-14 16:25:33 +01:00
LeSim
99d2ad3522
Merge pull request #9857 from demarches-simplifiees/remove_now_obsolete_pj_migration_jobs
...
Tech: suppression du cron et de la tache de migration des pjs vers des buckets dédiés.
2023-12-14 15:00:52 +00:00
Martin
1307e7262f
amelioration(application_controller.roles): intègre aussi le role d'expert aux logs
2023-12-14 14:52:50 +01: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
simon lehericey
e75d87e76b
chore(pjs_migration): remove now obsolete migration_jobs
2023-12-14 14:10:09 +01:00
Martin
b89f6cf0f1
correctif(user_deletion_service.perf): timeout via .in_batches. Utilise .pluck(:id)
2023-12-14 14:08:50 +01:00
Colin Darie
fd7839773b
fix(email): sanitize user message
2023-12-14 12:51:56 +01:00
Eric Leroy-Terquem
7ad0005671
Merge pull request #9852 from demarches-simplifiees/add-region-code-in-communes-and-departements-json
...
Tech : ajoute region-code aux communes et departements json
2023-12-14 10:54:36 +00:00
krichtof
fb3df0e73e
Merge pull request #9851 from demarches-simplifiees/fix-footer-stats
...
ETQ instructeur, la position du pied de page pour la page de statistiques d'une procédure est corrigée
2023-12-14 10:24:30 +00:00
Martin
6def2609f1
amelioration(liens-suivis): persiste la page a laquelle il doit etre redirigé apres une connexion
2023-12-14 10:47:04 +01:00
Martin
4380fecd73
amelioration(expert.sign-in): ETQ expert, je suis redirigé vers la page listant les avis a donner ap connexion
2023-12-14 10:47:04 +01:00
Lisa Durand
2f1259709a
fix email content
2023-12-14 10:01:13 +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
Christophe Robillard
e8b13e4a6e
fix footer position for procedure stats page
2023-12-14 09:21:47 +01:00
Colin Darie
c76213cb87
fix(users): don't show procedures filter when there are not enough procedures
2023-12-13 18:03:22 +01:00
Colin Darie
f0e1c1688b
style(admin): convert new procedure radios to dsfr
2023-12-13 18:03:19 +01:00
Lisa Durand
9f962150c3
add polling to refresh alert in view
2023-12-13 17:04:52 +01:00
Colin Darie
b384da73a3
style: fix download attestation button in dark mode
2023-12-13 16:07:33 +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
Lisa Durand
8b3596244e
improve color for new release
2023-12-13 12:07:46 +01:00
Colin Darie
01d12c9bb4
Merge pull request #9840 from colinux/maintenance-task-update-tdc
...
ETQ superadmin je peux mettre à jour le brouillon d'une révision à partir d'un CSV
2023-12-13 10:15:41 +00:00
Colin Darie
715c800788
Merge pull request #9821 from colinux/en-attente-block-instruction
...
ETQ instructeur je ne peux pas passer en instruction un dossier en attente de correction
2023-12-13 10:02:32 +00:00
Lisa Durand
f34090f8fd
display last export alert in view
2023-12-13 10:26:33 +01:00
Kara Diaby
57dfe2b0f6
Améliorations après retours PR
2023-12-13 09:21:09 +00:00
Lisa Durand
68c7599e58
align form with adjusting DSFR class
2023-12-12 22:35:11 +00:00
Lisa Durand
43f5f4e030
fix test
2023-12-12 22:35:11 +00:00
Lisa Durand
d0e2f281cc
fix tests
2023-12-12 22:35:11 +00:00
Lisa Durand
f6f18e9c86
send email to tiers if notification by email is set
2023-12-12 22:35:11 +00:00
Kara Diaby
2ac9c13c4a
Models
2023-12-12 22:35:11 +00:00
Kara Diaby
061da95aaf
Controllers
2023-12-12 22:35:11 +00:00
Kara Diaby
ee9c918ee8
Layout
2023-12-12 22:35:11 +00:00
Kara Diaby
6ced107403
Migration
2023-12-12 22:35:11 +00:00
krichtof
fbf0ccde20
Merge pull request #9817 from demarches-simplifiees/9784-footer
...
ETQ admin et instructeur, j'ai un pied de page
2023-12-12 14:54:01 +00:00
krichtof
246d53fa99
Merge pull request #9754 from demarches-simplifiees/9435-transfer-dossier
...
En tant que superadmin, je peux transférer un dossier d'un utilistateur à un autre
2023-12-12 14:44:39 +00:00
Christophe Robillard
122a6b6f5b
revoke superadmin dossier transfer
2023-12-12 15:25:39 +01:00
Christophe Robillard
7cfe0ad2a8
log when support team initiated dossier transfer
2023-12-12 15:25:39 +01:00
Christophe Robillard
a74ecb1f99
indicates when support team initiated dossier transfer
2023-12-12 15:25:39 +01:00
Colin Darie
c0771ad903
fix(dossier): passe en instruction with auto-archive even with pending correction
2023-12-12 15:05:46 +01:00
Colin Darie
3d21262e89
test(declarative): clarify intention with pending correction & declarative procedure
2023-12-12 15:05:45 +01:00
Colin Darie
c26b59722d
feat(instructeur): pending correction blocks passer en instruction
...
Closes #9731
2023-12-12 15:05:44 +01:00
Colin Darie
ecc3638d81
chore(dsfr): include tooltip component
2023-12-12 15:05:42 +01:00
Colin Darie
f9c4846fde
Merge pull request #9571 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_group_administrateur_management
...
Feature ouidou/admin creation delegation gestionnaire page group administrateur management
2023-12-12 10:41:28 +00:00
Colin Darie
acbddb5c29
style(gestionnaire): minor style improvements
...
Co-Authored-By: krichtof <christophe.robillard@beta.gouv.fr>
2023-12-12 11:31:02 +01:00
LeSim
2e59ef97c9
Merge pull request #9835 from demarches-simplifiees/update_openid_connect
...
Tech: met a jour la dépendance openid_connect pour être compatible avec openssl v3
2023-12-12 09:02:49 +00:00
LeSim
d0372ec608
Merge pull request #9836 from demarches-simplifiees/add_agent_connect_access_to_landing_page
...
ETQ instructeur: j'accède à la page d'agent connect depuis un button dédié sur la page d'accueil
2023-12-11 19:09:08 +00:00
Colin Darie
6a2e68b697
feat(admin): task removing type de champ from draft revision from a csv
2023-12-11 19:04:49 +01:00
Colin Darie
7618b8c549
feat(admin): task updating libelles, description, mandatory and positions on draft revision
...
Co-Authored-By: mfo <mfo@users.noreply.github.com>
2023-12-11 18:41:20 +01:00
Christophe Robillard
48397b9526
move general footer row from users to application directory
2023-12-11 16:37:52 +01:00
Christophe Robillard
7e3c47f5cf
show footer for agent
2023-12-11 15:50:33 +01:00
Christophe Robillard
d7a8430201
use default footer for application
...
based on old 'users/dossiers/_index_footer'
2023-12-11 15:38:26 +01:00
LeSim
1d088c37c3
Merge pull request #9832 from demarches-simplifiees/do_not_prefill_totp
...
SuperAdmin: ne préremplit pas le code totp
2023-12-11 14:02:59 +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
Colin Darie
968b2cfb0a
Merge pull request #9818 from colinux/correction-remove-from-message
...
ETQ instructeur, ma demande de correction est supprimée (résolue) lorsque je supprime son message associé
2023-12-11 13:07:43 +00:00
simon lehericey
d4d225361b
refactor(header): align buttons
2023-12-11 12:25:15 +01:00
simon lehericey
96dffb8951
feat(agent connect): add agent connect button to landing page
2023-12-11 12:13:49 +01:00
Colin Darie
17c4b6288d
fix(message): improve translation about correction deletion
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2023-12-11 11:43:54 +01:00
Martin
8650744064
correctif(procedure/statistiques): utilise le nouveau composant pour afficher les delais de traitement
2023-12-11 11:27:00 +01:00
simon lehericey
0b542c3b98
fix(otp): do not autocomplete ever changing code
2023-12-11 09:52:58 +01:00
mfo
b56d5199e2
Merge pull request #9820 from mfo/US/filter-dossier-with-combobox
...
ETQ instructeur, lorsque je veux filtrer les dossiers d'une démarche, je peux utiliser un autocomplete
2023-12-11 09:48:58 +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
mfo
cf7e499cde
Merge pull request #9816 from mfo/US/api-chorus-configuration
...
amelioration(api): ajoute la configuration chorus aux API GraphQL
2023-12-11 09:46:46 +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
Colin Darie
adc005da53
Merge pull request #9831 from demarches-simplifiees/formatage-motivation
...
ETQ usager ou instructeur, la motivation est bien formatée sur la page du dossier
2023-12-11 08:34:57 +00:00
seb-by-ouidou
96adffb5f5
fix: remove brouillon from repousser_expiration
2023-12-09 06:27:00 +01:00
seb-by-ouidou
8c1bc9e62f
feat: batch action for repousser_expiration depuis expirant
2023-12-09 06:27:00 +01:00
seb-by-ouidou
9031de803b
feat: batch action for passer_en_instruction depuis a_suivre
2023-12-09 06:27:00 +01:00
seb-by-ouidou
5c80f6c3f0
feat: batch action for desarchiver
2023-12-09 06:27:00 +01:00
seb-by-ouidou
c0c2e35881
feat: batch action for restaurer
2023-12-09 06:27:00 +01:00
seb-by-ouidou
5ec95d781c
feat: batch action for supprimer
2023-12-09 06:27:00 +01:00
mfo
e868d62ffd
Merge pull request #9814 from demarches-simplifiees/fix-deleted-dossiers-link-for-instructeur-ldu
...
[Bug] ETQ instructeur je peux accéder à la page des dossiers supprimés
2023-12-08 18:49:45 +00:00
mfo
28bbfc7b3a
Merge pull request #9800 from colinux/fix-publication-revision-errors
...
ETQ admin je suis prévenu si des erreurs sur la démarche empêchent la publication de révision
2023-12-08 17:14:14 +00:00
mfo
c9a49c2b56
Merge pull request #9829 from demarches-simplifiees/9807-email-depot
...
ETQ personne morale, mon adresse email figure dans l'attestation de dépôt
2023-12-08 17:03:47 +00:00
Christophe Robillard
7f0ece3729
format motivation in dossier overview
2023-12-08 17:50:19 +01:00
Christophe Robillard
d744e3b92d
add email to attestation depot when personne morale
2023-12-08 17:04:31 +01:00
mfo
25654d071c
Merge pull request #9824 from demarches-simplifiees/9823-no-dossier
...
ETQ usager sans dossier, je peux savoir comment trouver une démarche
2023-12-08 16:03:08 +00: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
Martin
1f13000537
amelioraiton(instructeur.filtres): utilise un combobox pour rechercher le type de champs
2023-12-08 16:10:18 +01:00
Christophe Robillard
91f77f09ae
help user without dossier
2023-12-08 15:14:04 +01:00
krichtof
269e7e1432
Merge pull request #9802 from demarches-simplifiees/9726-mail-utilise
...
ETQ usager, je veux retrouver l'email utilisé pour mon compte dans les mails automatiques
2023-12-07 16:35:29 +00:00
mfo
b28cbd9736
Merge pull request #9708 from mfo/US/better-estimation-on-treatment-time
...
ETQ usager, l information de durée de traitement des 90 percentile peut être trompeur
2023-12-07 16:09:39 +00:00
Martin
a66fd42450
amelioration(estimation_delay): evite des estimations de date similaire
2023-12-07 16:47:16 +01:00
Martin
643110c342
amelioration(api): ajoute la configuration chorus aux API GraphQL
2023-12-07 15:46:28 +01:00
Colin Darie
accd7864ff
feat(correction): deleting a comment resolves the related correction
...
Cf #9731
2023-12-07 15:41:50 +01:00
Christophe Robillard
b2690d782e
display user email in service footer
2023-12-07 15:16:04 +01:00
mfo
6a4bb0656d
Merge pull request #9797 from demarches-simplifiees/US/fix-reset-expiring-dossiers-job
...
correctif(ResetExpiringDossiersJob): timeout sur la prod, utilise une requete plus générique mais plus rapide [on ne scope pas aux dossiers ayant ete notifies, on les reset tous car ca timeouté
2023-12-07 14:08:43 +00:00
Colin Darie
0f1980b1c3
refactor(pj): don't poll on antivirus when submitting a pj
...
Closes #9733
2023-12-07 14:29:09 +01:00
mfo
aed65a4db2
Merge pull request #9813 from mfo/US/api.document.email-usager
...
documentation(api): ou trouver l'email de l'usager qui dépose le dossier
2023-12-07 13:22:10 +00:00
Lisa Durand
6deadd107d
fix broken link to access deleted dossiers for instructeurs
2023-12-07 09:59:30 +01:00
Martin
f26a4bc041
amelioration(delai.traitement): revoie l'affichage du delais d'instruction
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-07 09:19:52 +01:00
Martin
474fde3380
amelioration(procedure.usual_traitement_time_for_recent_dossiers): divise en 3 groupe l'estimation de la duree de traitement
2023-12-07 09:19:52 +01:00
Martin
3ac4163f33
documentation(api): ou trouver l'email de l'usager qui dépose le dossier
2023-12-06 20:17:30 +01:00
Lisa Durand
f27ef80553
Merge pull request #9812 from demarches-simplifiees/fix-bug-motivation-textarea-ldu
...
[Bug] Fix des placeholders et des icones du dropdown instruction (actions multiples)
2023-12-06 16:38:24 +00:00
Lisa Durand
f311f9e7d8
fix actions multiples dropdown instruction
2023-12-06 16:57:29 +01:00
Martin
b0e818f8f1
correctif(ResetExpiringDossiersJob): timeout sur la prod, utilise une requete plus générique mais plus rapide [on ne scope pas aux dossiers ayant ete notifies, on les reset tous car ca timeouté
2023-12-06 16:45:14 +01:00
seb-by-ouidou
e34307b50c
fix: fixes after review
2023-12-06 14:47:39 +01:00
seb-by-ouidou
564c3c04fa
feat: US4.3.8 administrateur management
2023-12-06 14:47:39 +01:00
Colin Darie
0d9d7c9725
fix(icons): fix remix icons on non latest chrome
2023-12-06 14:11:59 +01:00
Colin Darie
eb42ea9a2d
refactor(admin): improve links & message of PublicationWarningComponent
2023-12-05 18:51:12 +01:00
Christophe Robillard
961c7c5be4
fix format for motivation in notification mail
2023-12-05 18:50:50 +01:00
Colin Darie
60abc6ea6e
fix(admin): warn when errors block revision publication
2023-12-05 18:31:20 +01:00
Colin Darie
58af217477
fix(cache): depends on locale
2023-12-05 16:13:49 +01:00
Colin Darie
a9397ff5d3
Merge pull request #9776 from demarches-simplifiees/best-regards
...
Rend la signature dans les emails plus neutre
2023-12-05 13:52:26 +00:00
mfo
d90c55c29e
Merge pull request #9762 from tchak/fix-email-template
...
fix(email_template): less magic - less bugs !
2023-12-05 09:56:53 +00:00
Colin Darie
6674884c25
Merge pull request #9774 from colinux/perf-user-dossiers
...
ETQ usager l'affichage de la liste de mes dossiers va beaucoup plus vite
2023-12-05 08:59:45 +00:00
LeSim
35c0940893
Merge pull request #9767 from demarches-simplifiees/on_strike_but_dont_query
...
Tech: déplace la variable de grève de flipper a une variable d'environnement pour éviter une requete sql par page.
2023-12-04 21:19:20 +00:00
Colin Darie
75c22bc7d4
perf(usager): cache tabs with a simple and fast cache_key
...
Plutôt que d'include dans la cache_key tous les scopes utilisés par l'onglet,
(ce qui provquerait une requête par scope),
on le base simplement sur les dossiers & invitations.
Les deleted dossiers sont inclus indirectement car ça correspond à la
suppression (N-1) d'un dossier.
2023-12-04 15:31:47 +01:00
Colin Darie
9ac3775207
perf(usager): don't query for all dossiers tabs when we already know the tab
...
Fait passer le controller de 20 à 13 requêtes lorsqu'on est sur l'onglet en cours
2023-12-04 15:31:45 +01:00
Colin Darie
5635ab1a1b
perf(dossiers): fix multiples N+1 queries
2023-12-04 15:30:57 +01:00
Colin Darie
c24a94430d
style: improve dark theme messagerie buttons & iconography
2023-12-04 14:47:05 +01:00
Colin Darie
d601daaee1
style: procedure administrateurs table as dsfr
2023-12-04 14:07:33 +01:00
Colin Darie
7a936d2481
style: fix some tables in dark theme
2023-12-04 14:07:32 +01:00
Colin Darie
e9471d2843
style(message): replace legacy icons
2023-12-04 14:07:31 +01:00
Colin Darie
72b0bb3fa4
style(dsfr): convert jeton particulier form and card to dsfr
2023-12-04 14:07:30 +01:00
Colin Darie
494aa2bf40
style: replace accept legacy icon
2023-12-04 14:07:29 +01:00