Colin Darie
475406f3f2
style(attestation): improve editor UI & style
2024-02-01 18:55:55 +01:00
Colin Darie
16478651a9
test(attestation): more tests for v2
2024-02-01 18:55:53 +01:00
Colin Darie
40353fee04
feat(attestation): replace tags in preview for v2
2024-02-01 18:55:50 +01:00
Colin Darie
fe2661d37c
feat(attestation): can create an attestation v2
2024-01-31 17:04:05 +01:00
Colin Darie
1123222b36
chore(schema): add version to attestation_templates
2024-01-31 17:03:59 +01:00
Colin Darie
e19780445b
feat(attestation): upload de logo and signature
2024-01-31 17:03:51 +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
eaf4e24a55
feat(attestation): v2 edit form and tags style
2024-01-31 17:03:46 +01:00
Eric Leroy-Terquem
b04f152733
fix(routing): can create simple routing with communes and epci tdc
2024-01-31 15:27:45 +01:00
Kara Diaby
46748091a6
Permet au Support de marquer une démarche comme modèle et de filtrer dans toutes les démarches
2024-01-31 09:30:14 +00:00
Kara Diaby
53372edd02
back
2024-01-31 09:30:14 +00:00
seb-by-ouidou
6cd8b6d2df
feat: for gestionnaire highlight card and commentaires if any unread
2024-01-29 18:23:39 +01:00
seb-by-ouidou
a5d95b2d9d
fix: fix activate gestionnaire and activate administrateur
2024-01-29 18:23:39 +01:00
mfo
77ca3dd28a
Merge pull request #9922 from mfo/US/nplus_one_in_summary
...
perf(TypeDeChampEditor): faster
2024-01-29 10:58:05 +00:00
Martin
f1f471a020
feat(ProcedureRevisionPreloader): find PRTDCs and children first, then dispatch on all revision. Apply to admin/procedure/:id/modifications
2024-01-29 11:38:36 +01:00
simon lehericey
df031a7563
feat(api): add a curl example to the api_token creation
2024-01-29 10:44:20 +01: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
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
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
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
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
simon lehericey
588e58195c
move api_tokens to admin module
2024-01-25 11:27:15 +01:00
simon lehericey
9a0dd45385
feat(api): add invalid ip addr error
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
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
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
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
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
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
fca28a3ebd
use email_merge_token in mail_merge_with_existing_account route
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
seb-by-ouidou
c45e2eaccc
feat: write message to gestionnaires as administrateur
2024-01-09 13:25:04 +01: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
seb-by-ouidou
c253e7dd65
feat: US5.1 US5.2 administrateur in admin
2023-12-21 18:40:36 +01:00
simon lehericey
afb6eacf57
feature(api): store any ip used
2023-12-21 16:02:11 +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
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
Lisa Durand
c767164e28
add expert in current_account and mode badge to the right
2023-12-19 11:33:48 +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
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
a9ab1daf3a
display alert only for instructeur who generated the export and if recent
2023-12-18 11:25:52 +01: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
Eric Leroy-Terquem
2e547cd46f
chore(routing): cannot create simple_routing with champs communes or epcis
2023-12-14 17:48:14 +01:00
simon lehericey
b915fe13c3
refactor: remove individual_id as authorized parameter
2023-12-14 16:25:33 +01:00
Martin
1307e7262f
amelioration(application_controller.roles): intègre aussi le role d'expert aux logs
2023-12-14 14:52:50 +01: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
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
d0e2f281cc
fix tests
2023-12-12 22:35:11 +00:00
Kara Diaby
061da95aaf
Controllers
2023-12-12 22:35:11 +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
a74ecb1f99
indicates when support team initiated dossier transfer
2023-12-12 15:25:39 +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
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
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
60abc6ea6e
fix(admin): warn when errors block revision publication
2023-12-05 18:31:20 +01: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
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
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
Christophe Robillard
332570bfba
superadmin can transfer dossier from a user to another user
2023-11-28 15:48:39 +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
3b9285a00b
perf(procedure): description view caching
2023-11-27 11:29:20 +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
Christophe Robillard
9c641ccee1
remove flash success messages
2023-11-23 17:10:29 +01:00
Colin Darie
ba076357c5
feat(dossier): submit en construction resolve automatically correction except for sva
2023-11-22 12:35:42 +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
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
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
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
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
simon lehericey
9fc6c3b641
attestation_template v2 : add feature flag
2023-11-15 15:24:46 +01:00
simon lehericey
791954af1b
attestation_template v2: add weasyprint integration
2023-11-15 15:24:46 +01:00
simon lehericey
af53a9b9db
attestation_template v2: edit / update
2023-11-15 15:24:46 +01:00
simon lehericey
f6001c8eae
attestation_template v2: show
2023-11-15 12:17:26 +01:00
Colin Darie
fb318620aa
Merge pull request #9692 from colinux/fix-deprecation-warnings
...
Tech: fix multiple deprecation warnings
2023-11-13 10:16:06 +00:00
Colin Darie
25dfbe5085
chore: fix ActiveStorage::Current.host deprecation warning
2023-11-10 14:20:01 +01:00
Kara Diaby
fa874a0ea3
Permet de configurer le mail de réexamen du dossier par l'administrateur
2023-11-10 08:54:27 +00:00
mfo
b61fa88fe0
Merge pull request #9621 from mfo/US/type-de-champs-ej
...
amelioration(chorus): ETQ admin, je peux ajouter un type de champ EngagementJuridique
2023-11-09 14:40:49 +00:00
mfo
87c3615774
review(tech): utilise un code unique pr les elements de l'autocomplete, corrections de typos, amelioration du code
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-11-09 11:10:17 +01:00
Martin
d2657d83ac
amelioration(chorus.update): oriente l'admin a remplir tous les champs du cadre budgetaire. une fois le cadre budgetaire renseigné, oriente l'admin a ajouter un champ EJ
2023-11-09 10:09:14 +01:00
Colin Darie
7a4456efeb
Merge pull request #9638 from colinux/poc-release-notes
...
ETQ super-admin je peux informer les administrateurs, instructeurs et experts des évolutions du site
2023-11-09 09:00:01 +00:00
Colin Darie
178458215c
chore(announces): main navigation across announces
2023-11-08 18:23:18 +01:00
Colin Darie
e49436aa5d
feat(announce): can destroy a note and add at the same date
2023-11-08 18:23:16 +01:00
Colin Darie
e4c37758d4
feat(announces): anyone can read announces
2023-11-08 18:22:14 +01:00
Colin Darie
ff8ed6016e
feat(announce): super admin can create announce
2023-11-08 18:22:11 +01:00
simon lehericey
8c0d2bb8cb
refactor: add request_logs methods
...
it avoids having to change lograge.rb for adding an entry
2023-11-08 17:49:09 +01:00
simon lehericey
a431287db0
chore: @current_user is set by authenticate_from_token
2023-11-08 16:50:09 +01:00
simon lehericey
daf1443b0c
chore: remove duplicated private
2023-11-08 16:50:09 +01:00
krichtof
a6ea607e7a
Merge pull request #9566 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_children_management
...
Feature ouidou/admin creation delegation gestionnaire page children management
2023-11-08 15:13:10 +00:00
seb-by-ouidou
7a3a022ed4
feat: replace fail by flast alert
2023-11-08 13:54:40 +00:00
Lisa Durand
ac834b0c0a
add confirmation page after publishing procedure for admin
2023-11-08 12:07:32 +01:00
Paul Chavard
a611852ebc
Merge pull request #9663 from tchak/legacy-browsers
...
feat(traitement): add browser information
2023-11-08 10:23:31 +00:00
Eric Leroy-Terquem
f7eeb21425
Merge pull request #9604 from demarches-simplifiees/etq-admin-je-peux-creer-une-regle-de-routage-de-plusieurs-lignes
...
ETQ admin je peux créer une règle de routage de plusieurs lignes
2023-11-08 08:28:34 +00:00
Paul Chavard
d93c624164
feat(traitement): add browser information
2023-11-08 00:09:38 +01:00
Paul Chavard
34a76d8afd
feat(dossier): commune champ is an autocomplete now
2023-11-07 20:58:39 +01:00
Paul Chavard
b92ccc0a09
chore(adresse): improuve adresse data source
2023-11-07 20:58:39 +01:00
Eric Leroy-Terquem
4d95f49c82
chore(conditions): update controllers and routes
2023-11-06 15:25:45 +01:00
Lisa Durand
baaf4e3517
Merge pull request #9653 from demarches-simplifiees/fix-close-procedure-page
...
[Fix] ETQ admin, je souhaite associer une démarche existante depuis le bouton "clore" du tableau de bord de la démarche
2023-11-06 13:13:33 +00:00
Lisa Durand
be8303f1c4
feedback review - remove unused class and simplify method
2023-11-06 11:22:09 +01:00
Paul Chavard
026885ebcf
feat(conditional): annotations can be conditioned by champs
2023-11-03 10:45:07 +00:00
Paul Chavard
99e22a8cbe
log(graphql): log deprecated order argument usage
2023-11-02 15:01:34 +00:00
Paul Chavard
869d83dda9
feat(dossier): validate on change and revalidate on input
2023-10-31 17:52:00 +00:00
Lisa Durand
1de9130ab5
fix not displaying select on page close procedure and make the 2 buttons redirect to this page
2023-10-30 15:02:26 +01:00
krichtof
0daeca14e4
Merge pull request #9649 from demarches-simplifiees/9642-filter-dept
...
En tant qu'admin, je peux filtrer les démarches par département
2023-10-30 09:14:41 +00: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
Christophe Robillard
ef4113f8f9
filter all demarches by departement
2023-10-27 14:15:03 +02:00
seb-by-ouidou
528c51cb5e
feat: US4.3.9 children management
2023-10-26 10:46:18 +00:00
Paul Chavard
bd5356c9b6
Merge pull request #9565 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_group_gestionnaire_management
...
Feature ouidou/admin creation delegation gestionnaire page group gestionnaire management
2023-10-26 09:51:44 +00:00
mfo
ebea269f79
Merge pull request #9420 from mfo/US/chorus-tile
...
amelioration(tuile.chorus): ETQ admin, je peux saisir le cadre budgetaire d'une demarche de subvention pour faciliter le rapprochement d'un export DS a un export Chorus
2023-10-24 12:57:26 +00: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
Christophe Robillard
0b7d4452fd
remove admin from manager
2023-10-19 09:14:44 +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
87f435d2d3
amelioration(procedure.chorus): ajoute le form component pour le 'crud' du ChorusConfiguration
2023-10-19 07:14:27 +02:00
Martin
fea0cb1c60
amelioration(procedure.chorus): connecte la tuile a un controller basique ayant les ACL
2023-10-19 07:14:27 +02:00
Paul Chavard
29980ab130
fix(search): show a message if searching for deleted dossier
2023-10-18 12:55:10 +02:00
seb-by-ouidou
3c5e76e705
feat: US4.3 update and delete groupe gestionnaire
2023-10-18 09:51:04 +02:00
Martin
30bc4aa5d3
amelioration(champ.expression_reguliere): pas besoin d'executer la validation du champs expression reguliere dans controller, le validateur le fait sur le champ au moment de sauver le dossier avec le bon context
2023-10-16 08:53:52 +00:00
Kara Diaby
a26df43577
User : Ajoute le type de champ Expression régulière coté utilisateur
2023-10-16 08:53:52 +00:00
Kara Diaby
3b5bbb0779
Add new type de champ expression_reguliere with tests
2023-10-16 08:53:52 +00:00
Paul Chavard
89582d2e09
feat(dossier): use new combobox on champ adresse
2023-10-12 20:18:08 +02:00
seb-by-ouidou
ea7a5e6761
feat: US4.3.7.1 init manage gestionnaires of a group
2023-10-11 13:13:23 +00:00