Commit graph

11514 commits

Author SHA1 Message Date
simon lehericey
d4322bf947 feat(clipboard): can temporary hide for nicer animation 2024-01-29 10:44:20 +01:00
LeSim
e12c663d21
Merge pull request #9940 from demarches-simplifiees/can_edit_again_a_token
Admin: je peux modifier le nom et les réseaux d'un jeton d'API
2024-01-29 09:21:21 +00:00
simon lehericey
5eaa957c31 can edit api_token to change networks and name 2024-01-29 10:09:55 +01:00
simon lehericey
35e9a6e905 delete api token : remove unused template and use turbo 2024-01-29 10:09:55 +01:00
Colin Darie
c02171ede7
Merge pull request #9936 from colinux/badge-corrige
ETQ instructeur, je vois un badge Corrigé lorsque le dossier a été corrigé
2024-01-29 08:57:54 +00:00
Colin Darie
b64a32444c
Merge pull request #9935 from colinux/transfer-empty-no-fail
Tech: plus d'erreur lorsque l'email de transfert n'a plus de dossier associé
2024-01-29 08:43:50 +00:00
Martin
b9bbe70ec5 perf(Administrateurs::ConditionsController#*): better perfs 2024-01-26 15:09:55 +01:00
Martin
01752bc2e8 perf(ProcedureRevisionPreloader): preload revision quickly 2024-01-26 14:47:44 +01:00
Martin
ecc83edf4f wip 2024-01-26 13:43:10 +01:00
simon lehericey
97f335c36a add a cron job to send expiration notice 2024-01-26 10:18:16 +01:00
simon lehericey
6353c10955 add APIToken expiration mailer 2024-01-26 10:18:16 +01:00
simon lehericey
d909e2c8ea add various expiring scopes to APIToken 2024-01-26 10:15:37 +01:00
Martin
0e5768ec5b fixup! perf(editor): better perf to add, destroy, update, move up, move down and move with number 2024-01-26 09:45:59 +01:00
Martin
aae26a863a perf(admin#dashboard): skip validation of PJ 2024-01-25 17:29:39 +01:00
Martin
271ac14fad perf(draft_changed?): do not try to compare revisoin if they are not loaded 2024-01-25 17:20:30 +01:00
Martin
60800b6113 perf(editor): better perf to add, destroy, update, move up, move down and move with number 2024-01-25 15:49:44 +01:00
Martin
4f0e247883 perf(types_de_champs_controller): avoid n+1 query in select_champ_template_position_component 2024-01-25 14:19:55 +01:00
Martin
50d148d412 perf(types_de_champs_controller): preload procedure to avoid n+1 query in champs_summary 2024-01-25 14:19:55 +01:00
Colin Darie
50b9813b4d
Merge pull request #9932 from colinux/lock-submit-fork
Correctif: ETQ usager, je ne peux pas soumettre 2x mes modifications en parallèle
2024-01-25 11:37:56 +00:00
Colin Darie
4aa1306536
feat(transfer): make it silent in case dossier had been destroyed between queuing and processing
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-01-25 11:31:12 +01:00
simon lehericey
588e58195c move api_tokens to admin module 2024-01-25 11:27:15 +01:00
simon lehericey
3ded9a2a57 feat(api): add some turbo when possible 2024-01-25 11:17:44 +01:00
simon lehericey
9a0dd45385 feat(api): add invalid ip addr error 2024-01-25 11:17:44 +01:00
simon lehericey
eae07cab8c refactor(api): use the new api token creation wizard 2024-01-25 11:17:44 +01:00
simon lehericey
852eedbc50 refactor(api): create api_token with validity and network filtering 2024-01-25 11:17:44 +01:00
simon lehericey
943368c68f feature(api): setup securite 2024-01-25 11:17:44 +01:00
simon lehericey
8a9e5754a1 feature(api): setup autorizations 2024-01-25 11:17:44 +01:00
simon lehericey
1d7b6a6a54 feature(api): setup name 2024-01-25 11:17:44 +01:00
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
Colin Darie
458d53e471
style: replace without-continuation legacy icon 2023-12-04 14:07:27 +01:00
Colin Darie
0701275a8e
chore: remove obsolete partial 2023-12-04 14:07:26 +01:00
Colin Darie
d70b03c969
style: replace refuse legacy icon 2023-12-04 14:07:25 +01:00
Colin Darie
e9ab3352f1
style: replace legacy archive icon 2023-12-04 14:07:24 +01:00
Colin Darie
a0e8d79ab6
style(dark): fix mandatory icon in dark theme 2023-12-04 14:07:23 +01:00
Colin Darie
f96d248cc5
style(editor): replace legacy arrows, move them to toolbar 2023-12-04 14:07:22 +01:00
Colin Darie
2a31fc68d7
style: replace legacy folder icon 2023-12-04 14:07:21 +01:00
Colin Darie
eff2b856df
style: replace in-progress legacy icon 2023-12-04 14:07:19 +01:00
Colin Darie
ef8dc97a4c
style: replace legacy delete icon 2023-12-04 14:07:18 +01:00
Colin Darie
adfeac02e7
style: replace new-folder icon with remix/dsfr icon 2023-12-04 14:07:17 +01:00
Colin Darie
38bee3639d
style: replace legacy icon person 2023-12-04 13:34:33 +01:00
Christophe Robillard
ebfdd67dc1 makes the signature more neutral 2023-12-04 11:18:06 +01:00
mfo
dbfbaf4cea
Merge pull request #9757 from mfo/US/fix-extends-duree-conservation-dossier
correctif(expiration): etends la durée de conservation des dossiers quand la duree de conservation d'une procedure change
2023-12-04 09:18:45 +00:00
Paul Chavard
dd24a935bf fix(date): show correct format based on browser locale 2023-12-01 21:02:14 +00:00
Paul Chavard
1efd54d429
Merge pull request #9763 from tchak/feat-manager-experts
feat(manager): add expert view
2023-12-01 14:04:32 +00:00
Colin Darie
42ea9ed2f3 perf(preloader): fix N+1 on non mandatory repetition blocks
We have to tell repetition.champs association has been loaded
even when it's empty.
2023-11-30 14:10:33 +01:00
simon lehericey
d7a6619725 refactor: avoid a sql request on every page 2023-11-30 11:12:41 +01:00
Paul Chavard
3de0367ed9 fix(email_template): less magic - less bugs ! 2023-11-29 20:36:44 +00:00
Paul Chavard
ef243e2a06 feat(manager): add expert view 2023-11-29 20:35:47 +00:00
Paul Chavard
3c36300de6 feat(attestation): use tiptap editor controller 2023-11-29 12:07:42 +00:00
Paul Chavard
ae7fc056f5 feat(tiptap): editor controller 2023-11-29 12:07:42 +00:00
Paul Chavard
216e2f9198 feat(tiptap): add zones to tiptap service 2023-11-29 12:07:42 +00:00
Martin
57d7b385ec correctif(expiration): etends la durée de conservation des dossiers quand la duree de conservation d'une procedure change 2023-11-28 16:59:41 +01:00
Christophe Robillard
332570bfba superadmin can transfer dossier from a user to another user 2023-11-28 15:48:39 +01:00
Colin Darie
64400b512c
Merge pull request #9677 from govpf/feature-ouidou/clone_procedure_with_feature_flags
ETQ admin, les procédures clonées conservent les features flags
2023-11-28 08:21:02 +00:00
Lisa Durand
7a4c22bc63
Merge pull request #9752 from demarches-simplifiees/improve-dark-mode-high-contrast-windows-ldu
[accessibilité] Améliore la lisibilité du site en mode Contraste élevé de Windows
2023-11-27 15:55:42 +00:00
Paul Chavard
bfc809f96f feat(champs): expose more tags and api fields on rnf, address and commune 2023-11-27 15:33:05 +00:00
Lisa Durand
450bf7bb34 improve readability in Windows High Contrast Mode 2023-11-27 16:03:35 +01:00
Colin Darie
15ff65429b
Merge pull request #9738 from colinux/validate-pending-correction
ETQ usager modifiant un dossier en construction je n'ai plus besoin de cocher la case de correction effectuée
2023-11-27 13:52:06 +00:00
Colin Darie
3869dd3a92
Merge pull request #9748 from colinux/fix-etablissement-non-diffusable
ETQ usager on ne m'affiche plus la raison sociale d'un établissement non diffusible
2023-11-27 13:51:54 +00:00
Colin Darie
f1459c1414
Merge pull request #9749 from mfo/US/fix-enseigne
correctif(API.entreprise.enseigne): ajouter un attribut a une entreprise demande un peu plus que juste le definir sur l'object
2023-11-27 13:02:02 +00:00
seb-by-ouidou
c4ca381bed feat: enable features on cloned procedure 2023-11-27 12:00:27 +01:00
Colin Darie
3b9285a00b
perf(procedure): description view caching 2023-11-27 11:29:20 +01:00
Colin Darie
5d747ba0c2
fix(procedure): list piece justificative in repetitions 2023-11-27 11:08:39 +01:00
Martin
b74f7f24e7 correctif(API.entreprise.enseigne): ajouter un attribut a une entreprise demande un peu plus que juste le definir sur l'object 2023-11-24 10:33:18 +01:00
krichtof
fce2d8efa9
Merge pull request #9710 from demarches-simplifiees/9615-form-autosave
ETQ admin, je peux savoir quand mon formulaire a été sauvegardé pour la dernière fois
2023-11-23 23:17:14 +00:00
Colin Darie
be994c8933
Merge pull request #9744 from colinux/correction-reason-update
API: une demande de correction de dossier peut être de type "outdated"
2023-11-23 17:05:04 +00:00
Christophe Robillard
9c641ccee1 remove flash success messages 2023-11-23 17:10:29 +01:00
Colin Darie
aa84a4c335 fix(entreprise): don't leak identity of non diffusable etablissement 2023-11-23 17:07:05 +01:00
Colin Darie
249539fc27
feat(dossier): correction can be of kind "outdated" by API, which will later improve UI wording
Cf #9485
2023-11-23 15:01:48 +01:00
krichtof
61654d65a2
Merge pull request #9740 from demarches-simplifiees/9670-expose-rnf-api
En tant que consommateur de l'API DS, je peux récupérer les infos RNF
2023-11-23 12:55:58 +00:00
Christophe Robillard
2c6a9e7bf2 add autosave feedback when admin updates form 2023-11-23 13:35:53 +01:00
LeSim
f66a32c316
Merge pull request #9730 from demarches-simplifiees/polish_sidekiq
Tech: rajoute des logs, de l'audit de perf et du suivi de bug pour la file de job asynchrone sidekiq
2023-11-23 10:15:37 +00:00
Martin
4939f1d1fe correctif(manager): utilise un champ de type Field::Text plutot que Field::String, sinon administrate tente de requeter le champs/formatter 2023-11-23 11:01:53 +01:00
mfo
78f9a2aa1e
Merge pull request #9737 from demarches-simplifiees/9670-export-rnf
En tant qu'instructeur, je peux exporter les données RNF des dossiers
2023-11-23 08:19:00 +00:00
mfo
c717691a6f
Merge pull request #9745 from mfo/US/chorus-fix
correctif(chorus.export): suite a un refacto, c'etait kc
2023-11-23 09:30:20 +01:00
Martin
72b8ccec36 correctif(chorus.export): suite a un refacto, c'etait kc 2023-11-23 09:30:00 +01:00
Eric Leroy-Terquem
d92155a96a
Merge pull request #9714 from demarches-simplifiees/add-not-include-operator
ETQ admin je peux conditionner / router à partir d'un champ de type choix multiple avec l'opérateur "Ne contient pas"
2023-11-22 16:29:24 +00:00
Eric Leroy-Terquem
4f1fb91abf
Merge pull request #9724 from demarches-simplifiees/update-manager-with-routing-infos
ETQ superadmin je veux avoir des informations sur le routage d'une procédure
2023-11-22 15:17:48 +00:00
Eric Leroy-Terquem
a54d55486c chore(routing): update routing_rule validation 2023-11-22 13:01:44 +01:00
Christophe Robillard
3be2a8878c expose id, title and address rnf for API 2023-11-22 12:49:28 +01:00
Christophe Robillard
6984dac41e update value reader for rnf champ 2023-11-22 12:35:44 +01:00
Colin Darie
ba076357c5
feat(dossier): submit en construction resolve automatically correction except for sva 2023-11-22 12:35:42 +01:00
Christophe Robillard
daa4c28af7 add data from rnf field to export 2023-11-22 12:20:05 +01:00
simon lehericey
1880a15d69 sidekiq test job can raise an exception 2023-11-22 10:08:55 +01:00
simon lehericey
137680879c Add sentry sidekiq 2023-11-22 10:08:55 +01:00
mfo
0203867460
Merge pull request #9729 from mfo/US/fix-cron-job-that-expires-users
correctif(users.expires): typos et perf
2023-11-21 14:46:14 +00:00
Paul Chavard
4842fc4d94 feat(tags): all tags should have ids 2023-11-21 13:55:25 +01:00
Martin
b09d42ee46 amelioration(UsersDeletionService): perf, PG aime pas le not having 2023-11-21 11:18:02 +01:00
Martin
fd81936baf correctif(users.expires): maj l'appel a process_expired car le service est instanciable maintenant 2023-11-21 10:18:58 +01:00
Colin Darie
6c4f6a52cb
Merge pull request #9727 from colinux/fix-dark-theme-blinkblink
Fix thème sombre: ne clignote pas avec le thème clair au moment du render
2023-11-20 19:42:05 +00:00
mfo
8ff1616e52
Merge pull request #9712 from mfo/US/add-enseigne-to-personne-morale
amelelioration(API): ajoute l'enseigne aux personnes morales
2023-11-20 19:18:57 +00:00
Colin Darie
10f5fae316 fix(theme): don't blink theme at render with dark theme
On ne veut pas attendre la fin du render pour que le JS du DSFR
set le theme à partir du scheme, autrement on voit le thème clair
pendant le render.
2023-11-20 17:39:38 +01:00
Colin Darie
3dd25c1ea6 fix(gestionnaires): apply navigation refactor to gestionnaires 2023-11-20 15:07:21 +01:00
Colin Darie
99fe4694af fix(announces): link rendering not catched by turbo and fix a11y attributes 2023-11-20 15:07:21 +01:00
Colin Darie
8051beb068 fix(announce): don't increase attachment width (back to rails default) 2023-11-20 15:07:21 +01:00
Colin Darie
49cd10458c feat(announces): show Nouveautés link in main navigation 2023-11-20 15:07:20 +01:00
Colin Darie
ac47f82451 fix(profile): commencer is not always "as guest" 2023-11-20 15:06:43 +01:00
Colin Darie
a41c8f73ad refactor(nav): organize main navigation logic across profiles 2023-11-20 15:06:43 +01:00
Eric Leroy-Terquem
61ba089203 feat(manager): add routing rule in groupe instructeur show 2023-11-17 15:11:05 +01:00
Eric Leroy-Terquem
42027e9db9 feat(manager): add champs de routage in procedure show 2023-11-17 15:11:05 +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
81826e2509 amelioration(Cron::ExpiredUsersDeletionJob): ne retente jamais ce job si il crash [pour eviter de se lancer ds une boucle infinie de suppression] 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
66cf41b6d2 amelioration(procedure.duree_conservation_dossiers_dans_ds_changes): reset les flag d'expirations lorsqu'on change la date de conservation des dosseirs d'une procedure 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
fcb4b20b65 amelioration(notify_inactive_close_to_deletion): ajoute le lien vers les dossiers 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
252b3e4719 tech(expires-user.cron): ajoute une tache cron [débrayable] pour faire tourner la tache de suppression des usagers inutile
attention, pour notre instance, avec ma db anonymiser :
```
ExpiredUsersDeletionService.find_expired_user.pluck(:id).size
=> 1795515
```
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
mfo
256babbf74
Merge pull request #9716 from mfo/US/tags.pre-wrap.text
correctif(tags): ETQ admin, je peux utiliser un tag referençant un type de champ dont le libellé contient deux espaces consécutif
2023-11-16 16:08:10 +00:00
Lisa Durand
1fa3425d4f
Merge pull request #9705 from demarches-simplifiees/setup-dark-mode-ldu
[Accessibilité] Configurer le mode "sombre"
2023-11-16 15:10:41 +00:00
krichtof
39bdb5f145
Merge pull request #9701 from demarches-simplifiees/carte
Afficher une carte de déploiement de DS par département
2023-11-16 13:18:16 +00:00
Lisa Durand
8ecc242586 fix display of notification dot inside DSFR tabs 2023-11-16 14:06:05 +01:00
Lisa Durand
139e8f2059 rename theme modal 2023-11-16 14:02:07 +01:00
Christophe Robillard
7be8d4447f add links to deployment map 2023-11-16 13:27:12 +01:00
Christophe Robillard
ba876f5085 show france map with stats for each departement 2023-11-16 13:27:12 +01:00
Lisa Durand
b782bcdd2b
Merge pull request #9672 from demarches-simplifiees/add-confirmation-page-for-procedure-publication-ldu
[admin] Ajout d'une page de confirmation après la publication d'une procédure - mise en avant de l'URL à partager
2023-11-16 11:08:54 +00:00
Lisa Durand
b02edd15dc remove condition - Colin feedback review 2023-11-16 11:03:33 +01:00
Martin
dd31dbc450 correctif(mail_templates/_form.html.haml): force la preservation des espaces dans le code des balises, sinon un tag d'un type de champ ayant un libelle contenant deux espaces consécutif est invalide car il se fait manger par le rendu html 2023-11-16 10:31:35 +01:00
Eric Leroy-Terquem
f945c02c3c feat(conditional): add exclude operator 2023-11-16 10:27:03 +01:00
Lisa Durand
31cb62e27d improve dark mode for admin user 2023-11-15 19:09:11 +01:00
Lisa Durand
373379d132 remove icon from admin dashboard and use badge - Figma 2023-11-15 19:08:56 +01:00
Lisa Durand
9af2304019 remove hard coded color for dossier subheader 2023-11-15 18:43:20 +01:00
Lisa Durand
d601f92be8 add links in footer and page profil and modal to choose scheme 2023-11-15 18:43:20 +01:00
Colin Darie
cbec8b8b75 chore(assets): setup dsfr artwork 2023-11-15 18:43:17 +01:00
Lisa Durand
d403f851c6 fix specs with good aria attributes for tabs 2023-11-15 18:42:40 +01:00
Lisa Durand
75867df013 fix linter with correct indentation 2023-11-15 18:42:40 +01:00
Lisa Durand
cf31815890 change rgb color by var from DSFR 2023-11-15 18:42:40 +01:00
Lisa Durand
7c7f9113d2 improve css dark mode for combobox 2023-11-15 18:42:40 +01:00
Lisa Durand
84cd5daf9c add css to make dropdown readable with dark mode 2023-11-15 18:42:40 +01:00
Lisa Durand
86c9a84111 fix dark mode on login pages 2023-11-15 18:42:40 +01:00
Lisa Durand
a3307553b7 simplify html and css for landing pages and improve dark mode 2023-11-15 18:42:40 +01:00
Lisa Durand
f4283392b7 improve table and messagerie display in dark mode 2023-11-15 18:42:40 +01:00
Lisa Durand
11c8e408ef remove specific tabs css and use DSFR tabs 2023-11-15 18:42:40 +01:00
Lisa Durand
a0998ab709 import dark mode from DSFR and setup as system 2023-11-15 18:42:40 +01:00
Christophe Robillard
a2f5687aa3 migrate api entreprise privileges 2023-11-15 17:19:53 +01:00