Commit graph

10815 commits

Author SHA1 Message Date
Colin Darie
ad671092c0
refactor(announces): note form as view component 2023-11-08 18:23:07 +01:00
Colin Darie
8587696f33
feat(components): make works rich_text_area inputs 2023-11-08 18:22:15 +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
Colin Darie
0d626f1811
chore(schema): create release_notes 2023-11-08 18:20:00 +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
52752c95ec tech: add api_token_id to graphql logs 2023-11-08 16:50:10 +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
seb-by-ouidou
a14d77cbd3 fix: remove useless comments 2023-11-08 13:50:18 +00:00
Paul Chavard
8d23152630
Merge pull request #9680 from colinux/stats-layout
Super-Admin: fix layout des gros nombres de la page stats
2023-11-08 12:09:11 +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
Colin Darie
7a0bdd6c94 style(stats): fix big number layout 2023-11-08 10:39:03 +01:00
Eric Leroy-Terquem
0968f02a26
Merge pull request #9648 from demarches-simplifiees/add-rnf-service
Ajout d'un nouveau référentiel : le Répertoire National des Fondations (RNF)
2023-11-08 09:06:47 +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
Paul Chavard
f0168d1470 feat(combobox): add data:string slot 2023-11-07 20:58:39 +01:00
Paul Chavard
6ce2b33519 feat(graphql): expose prefilled flag on dossier and champ 2023-11-07 19:00:32 +01:00
Eric Leroy-Terquem
94c218e2f7 wording(type de champ): add full wording for rna and rnf 2023-11-07 14:21:29 +01:00
Lisa Durand
ce1cd4240c add code postal, city code and department infos in view 2023-11-07 14:21:29 +01:00
Eric Leroy-Terquem
a70e7ca903 feat(graphql): add rnf_champ to graphql api 2023-11-07 14:21:29 +01:00
Eric Leroy-Terquem
bfb8611c81 feat(rnf): display rnf data in show 2023-11-07 14:21:29 +01:00
Eric Leroy-Terquem
694cbcd0a2 feat(rnf): add rnf type_de_champ 2023-11-07 14:21:28 +01:00
Eric Leroy-Terquem
0268b0af9e chore(champ): update error catching when fetching external data 2023-11-07 14:21:28 +01:00
Paul Chavard
198860d9f3 fix(dropdown_multiple): options -> enabled_non_empty_options 2023-11-07 13:55:16 +01:00
Colin Darie
21b6479ace feat(messages): re-enable simple autolink for instructeurs messages
Closes #9541
2023-11-06 19:01:25 +01:00
Eric Leroy-Terquem
2465e13504 chore(logic): add a translation for empty rule 2023-11-06 18:10:08 +01:00
Eric Leroy-Terquem
6c959d9d4e refactor(groupe instructeur): use logic validation system for routing
rule"
2023-11-06 17:44:40 +01:00
Eric Leroy-Terquem
cd9cc65e99 feat(routing): add a feature flag on multi line routing 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
469a50f19d refactor(condition): move conditions_error_component 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
cf80fd03e1 chore(routing): update routing_rule validations 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
22feb48c29 chore(conditions): update views 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
28b07f7650 chore(conditions): update condition_form 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
4d95f49c82 chore(conditions): update controllers and routes 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
979b5101ae chore(conditions): champs_conditions_component and routing_rules_component inherit from conditions_component 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
532fe466df refactor(conditional): use upper_coordinates method 2023-11-03 10:15:46 +00:00
Paul Chavard
99e22a8cbe log(graphql): log deprecated order argument usage 2023-11-02 15:01:34 +00:00
Colin Darie
a26c82cde7
Merge pull request #9661 from colinux/admin-no-rib-alert
ETQ administrateur je n'ai plus d'avertissement si ma démarche contient un champ RIB
2023-11-02 14:27:37 +00:00
Colin Darie
74722490bc fix(admin): RIB champ is not a forbidden keyword 2023-11-02 11:27:34 +01:00
mfo
17a71eb7a8
Merge pull request #9659 from mfo/US/enhance-export-page-for-less-zip-support
amelioration(export): suggère l'usage de 7zip et de renommer l'archive pour un nommage plus court sur la page des exports afin d'eviter les problèmes au support
2023-11-02 08:57:26 +00:00
Martin
dda5dadaed amelioration(export): suggère l'usage de 7zip et de renommer l'archive pour un nommage plus court sur la page des exports afin d'eviter les problèmes au support
Co-authored-by: Colin Darie <colin@darie.eu>
2023-11-02 09:08:17 +01:00
Paul Chavard
869d83dda9 feat(dossier): validate on change and revalidate on input 2023-10-31 17:52:00 +00:00
Paul Chavard
c93141d8bb chore(coldwired): update utils 2023-10-31 17:52:00 +00:00
mfo
0f608444b5
Merge pull request #9657 from mfo/US/ops-dossier-champs-missing
tech(maintenance): ajoute `maintenance_task` une  pour ajouter des champs manquant a un dossier
2023-10-31 16:31:11 +00:00
mfo
0e2d973b33
Merge pull request #9656 from mfo/US/fix-non-printable-char-in-pdf
correctif(pdf): ETQ instructeur, lorsque je télécharge un dossier et ses PJs, les \t deviennent des ?
2023-10-31 16:30:32 +00:00
Martin
25a4a4de4a correctif(pdf): ETQ instructeur, lorsque je télécharge un dossier et ses PJs, les \t deviennent des ?
Co-authored-by: colin@darie.eu
2023-10-31 17:05:14 +01:00
Martin
b83975869c tech(maintenance): ajoute une maintenance_task pour ajouter des champs manquant a un dossier 2023-10-31 16:42:35 +01:00
Paul Chavard
f6c051e08e
Merge pull request #9654 from colinux/improve-autocomplete-style
Usager: légères harmonisations visuelles de la combobox
2023-10-30 17:47:24 +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
Colin Darie
04d40ede43 style(combobox): fix height of fake input/select 2023-10-30 11:34:38 +01:00
Colin Darie
bade4edcc7 style(combobox): fix spacing between label/hint & input 2023-10-30 11:20:04 +01:00
Colin Darie
c4272e3bac
fix(dropdown-other): other input alignement/markup 2023-10-30 11:05:27 +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
Paul Chavard
d76123831c fix(drop_down_list): fix other option with combobox and some cleanup 2023-10-27 18:11:26 +02:00
krichtof
62d2522300
display departement name filter, not only code
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-10-27 17:27:50 +02: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
Colin Darie
19ffb43686 fix(security): don't automatically sign in after reset password when 2FA is enabled 2023-10-27 11:39:33 +02:00
Christophe Robillard
97ff31f60f update departement after getting etablissement_infos 2023-10-27 10:00:52 +02:00
krichtof
7da2e2f073
Merge pull request #9647 from demarches-simplifiees/9642-add-dept-services
tech: ajoute le departement aux services
2023-10-26 15:17:01 +00:00
seb-by-ouidou
528c51cb5e feat: US4.3.9 children management 2023-10-26 10:46:18 +00:00
Paul Chavard
9ea59814ad
Merge pull request #9646 from tchak/graphql-fix-pagination-preloader
fix(graphql): fix preloader with pagination
2023-10-26 09:54:36 +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
Paul Chavard
fbf2cfae50 fix(graphql): fix preloader with pagination 2023-10-26 11:43:19 +02:00
Christophe Robillard
4130529854 backfill departement services 2023-10-26 11:36:58 +02:00
Christophe Robillard
42d3052c4f convert code_insee to departement 2023-10-26 11:34:55 +02:00
Paul Chavard
33f5a553b6 fix(graphql): fix pagination with order desc 2023-10-26 10:52:18 +02:00
mfo
9866acc0f8
Merge pull request #9624 from mfo/US/dossier.export.pdf
amelioration(dossier.pdf): pour les champs de type Champs::AddressChamp, ajoute le code insee de la commune sous l'adresse complete
2023-10-26 06:34:30 +00:00
krichtof
1974e35a66
Merge pull request #9636 from demarches-simplifiees/9530-remove-piece-jointe
can reset file input in messagerie
2023-10-25 10:24:43 +00:00
Paul Chavard
c60494c975 refactor to use event delegation 2023-10-25 12:04:12 +02:00
mfo
b9b9569852
Merge pull request #9639 from mfo/US/fix-missing-autosave-end-for-file-upload
correctif(upload): ETQ usager, lorsque j'upload un fichier, ca bloquele bouton pour deposer un dossier
2023-10-25 09:02:11 +00:00
Martin
cf8fb9195e correctif(upload): ETQ usager, lorsque j'upload un fichier, ca bloque le bouton pour deposer un dossier 2023-10-25 10:46:15 +02:00
Christophe Robillard
00e3d33ba4 can reset file input in messagerie 2023-10-25 09:52:49 +02:00
mfo
53259b733b
Merge pull request #9626 from tchak/tiptap_service
feat(attestation): add tiptap json to html converter
2023-10-25 07:24:32 +00:00
Martin
2295d64300 amelioration(dossier.pdf): pour les champs de type Champs::AddressChamp, ajoute le code insee de la commune sous l'adresse complete, ajoute le code postal, ajoute le departemenent et son code. Pour les champs de type Champs::CommuneChamp ajoute le code postal de la commune 2023-10-25 09:22:35 +02: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
Colin Darie
5d3d4cbd91
Merge pull request #9634 from colinux/fix-regex-timeout
Sécurité (champ regex): timeout plus agressif à 1 seconde
2023-10-24 12:37:58 +00:00
Martin
79b5b25720 correctif(procedure.edit): le fixed-footer venait en sur-elevation des options avancées la ou il etait présent 2023-10-24 13:35:08 +02:00
Colin Darie
d87c7ca424 fix(scss): fix remaining comma which leads to invalid css 2023-10-24 12:54:39 +02:00
Colin Darie
7aa0c7d0e8 style(champ regex): shows delimiter as hint: they don't have to be filled 2023-10-24 12:53:43 +02:00
Colin Darie
f4e3d2137b fix(champ regex): same timeout across validations, and more agressive value 2023-10-24 10:30:12 +02:00
Paul Chavard
d01cc76970 fix(decimal_champ): only remove dots if coma also present 2023-10-23 16:46:07 +02:00
mfo
81ccc8ace2
Merge pull request #9630 from tchak/fix-champ-address
fix(address): champ address should allow custom values
2023-10-23 13:23:59 +00:00
Paul Chavard
045b4942d9 fix(epci): do not show let select departements with no epci 2023-10-23 12:41:24 +02:00
Paul Chavard
cf3249dba5 fix(address): champ address should allow custom values 2023-10-23 12:35:19 +02:00
Lisa Durand
a6842e8484
Merge pull request #9603 from demarches-simplifiees/design-admin-form-move-button-to-sticky-footer
[admin] Rendre les boutons d'actions de la page "création du formulaire" et "annotations" plus visibles
2023-10-23 09:13:47 +00:00
Paul Chavard
09ce6ee1c8 feat(attestation): add tiptap json to html converter 2023-10-21 12:08:12 +02:00
Kara Diaby
60fcb51533 affiche le message d'erreur entré par l'administrateur 2023-10-20 08:59:12 +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
Kara Diaby
3c172e1115 Supprime du code mort 2023-10-19 23:21:54 +00:00
Paul Chavard
9ad2c4358a
Merge pull request #9584 from tchak/maintenance_tasks
use maintenance tasks gem
2023-10-19 16:07:17 +00:00
krichtof
7ae66d0360
Merge pull request #9613 from demarches-simplifiees/8742-effectifs
tech: utilise l'api entreprise v3 pour récupérer les effectifs mensuels et annuels
2023-10-19 14:46:10 +00:00
Paul Chavard
03dd6218f8 fix(editor): always render add champ button 2023-10-19 15:43:35 +02:00
mfo
8a4299ade1
Merge pull request #9610 from mfo/US/fix-missing-champs
correctif(data): tâche rake recréant les champs manquant à un dossier ayant subi une perte de données
2023-10-19 09:49:35 +00:00
Martin
ec2e03f24e amelioration(data_fixer/dossier_champs_missing): ajoute du log 2023-10-19 11:37:51 +02:00
Martin
70c54808fa amelioration(datafixer.DossierChampsMissing): prends aussi en compte les champs manquant dans une repetition 2023-10-19 11:25:10 +02:00
Colin Darie
befb875318
Merge pull request #9618 from tchak/fix-search-deleted-dossiers
fix(search): show a message if searching for deleted dossier
2023-10-19 08:37:06 +00:00
Martin
a4ef3cdf23 tech(ActiveModel.types.json): renomme en simple_json pour eviter la confusion avec ActiveRecord.types.json 2023-10-19 09:30:52 +02:00
Martin
ffdd7ee95d tech(APIBretagneService.clean): l'API de data.bretagne renvoie un vide quand il n'y a pas de resultat, change l'implem pour ce cas 2023-10-19 09:30:52 +02:00
Christophe Robillard
1869d6b910 bugfix: have to repeatedly press confirm button when removing accounts 2023-10-19 09:14:44 +02:00
Christophe Robillard
0b7d4452fd remove admin from manager 2023-10-19 09:14:44 +02:00
Martin
3495147045 tech(APIBretagneService.clean): renvoie un tableau vide tant que la recherche ne fait pas plus de 2 caractères 2023-10-19 08:47:48 +02:00
Martin
857c1f0c21 amelioration(ChorusComponent): ameliore le rendu de la tuile si celle ci n'est que partiellement rempli 2023-10-19 07:31:14 +02:00
Martin
9c2e8d266c fixup! amelioration(procedure.chorus): ajoute la tuile chorus quand cette fonction est active sur la procedure 2023-10-19 07:14:27 +02:00
Martin
ecb3909e99 chorus(autocomplete): autocomplete sur le centre de cout, domaine fonctionnel, referentiel de programmation 2023-10-19 07:14:27 +02:00
Martin
df78e14469 amelioration(procedure.chorus): ajoute le service pour requeter les api chorus fournies par la bretagne 2023-10-19 07:14:27 +02:00
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
Martin
7d7a741a1a amelioration(procedure.chorus): ajoute la tuile chorus quand cette fonction est active sur la procedure 2023-10-19 07:14:27 +02:00
Martin
758b739aa3 amelioration(procedure.chorus): ajoute le feature flag chorus aux procedure pour activer/desactiver cette nouvelle feature 2023-10-19 07:14:27 +02:00
mfo
5ad724a4cb
Merge pull request #9617 from mfo/US/move_low_priority_email_in_low_priority_queue
amelioration(email): passe les jobs non prioritaire [appelons ça des bulk email], dans la queue de low_priority
2023-10-19 03:25:57 +00:00
Martin
b69d4baaa2 amelioration(email): passe les jobs non prioritaire [appelons ça des bulk email], dans la queue de low_priority 2023-10-18 17:08:43 +02:00
Eric Leroy-Terquem
dac7292618
Merge pull request #9614 from demarches-simplifiees/add-communes-epci-and-regions-to-conditional
ETQ admin je peux conditionner sur les champs communes, EPCI et région
2023-10-18 12:18:12 +00:00
simon lehericey
071167da96 remove methods 2023-10-18 13:01:07 +02:00
simon lehericey
6a02e670aa use new methods 2023-10-18 13:01:07 +02:00
simon lehericey
b37f2c6825 add next_page? 2023-10-18 13:01:07 +02:00
simon lehericey
137c19cce8 add previous_page? 2023-10-18 13:01:07 +02:00
simon lehericey
17aab9c891 add limit_and_inverted method 2023-10-18 13:01:07 +02:00
simon lehericey
ce5cd63ed2 comment 2023-10-18 13:01:07 +02:00
simon lehericey
1bb4d3cf17 remove useless assignment 2023-10-18 13:01:07 +02:00
simon lehericey
dbe67aaf18 default_page <= max_page_size 2023-10-18 13:01:07 +02:00
simon lehericey
c5899f2c46 extract limit and expected_size 2023-10-18 13:01:07 +02:00
simon lehericey
311c9215cd extract ensure_valid_params 2023-10-18 13:01:07 +02:00
simon lehericey
0dd68ab73d add comments 2023-10-18 13:01:07 +02:00
Paul Chavard
71d5470100 fix(graphql): implement real cursor pagination 2023-10-18 13:01:07 +02:00
Paul Chavard
29980ab130 fix(search): show a message if searching for deleted dossier 2023-10-18 12:55:10 +02:00
Lisa Durand
5a11ef783a change wording for button 'continue' 2023-10-18 10:36:39 +02:00
Paul Chavard
563c47c88c
Merge pull request #9600 from tchak/update-browsers
chore(browser): show browser outdated message to more (very) old browsers
2023-10-18 08:03:44 +00:00
seb-by-ouidou
3c5e76e705 feat: US4.3 update and delete groupe gestionnaire 2023-10-18 09:51:04 +02:00
Christophe Robillard
d98c4faf94 explain more precisely effectifs 2023-10-17 13:48:46 +02:00
Christophe Robillard
0f1e243b01 use api entreprise v3 for effectifs annuels 2023-10-17 13:48:46 +02:00
Christophe Robillard
e5d0d7dda2 get most fresh info for effectifs mensuels 2023-10-17 13:48:46 +02:00
Christophe Robillard
81f78c62b4 use api entreprise v3 for effectifs mensuels 2023-10-17 13:48:46 +02:00
Eric Leroy-Terquem
ab0bb456bc feat(conditional): can condition on commune champ value 2023-10-17 11:51:45 +02:00
Eric Leroy-Terquem
422a22e14b feat(conditional): can condition on epci champ value 2023-10-17 11:51:45 +02:00
Eric Leroy-Terquem
90524cb541 feat(conditional): can condition on region champ value 2023-10-17 11:51:45 +02:00
Kara Diaby
870efba29b
Merge pull request #9535 from demarches-simplifiees/feat/9411
ETQ administrateur, je veux pouvoir valider des champs avec des règles simples (Regexp)
2023-10-17 09:11:32 +00:00
Lisa Durand
f8c6080292
Merge pull request #9597 from demarches-simplifiees/display-rna-info-for-user-ldu
[amélioration] Affichage de plus d'info RNA coté usager + amélioration affichage coté instructeur/usager
2023-10-17 08:35:52 +00:00
Martin
95bdcc986e refactor(renomme): deplace le phone_fixer.rb dans un repertoire dedié aux fix de data en prod 2023-10-16 17:25:06 +02:00
Martin
8069c5bb7c correctif(data): ajoute une classe pour ajouter les champs manquant a des dossiers qui ont subit une perte de donnée supposant qu'une race-condition sur le dossier.merge(fork) puisse detruire des champs 2023-10-16 17:18:10 +02:00
Paul Chavard
c72c7bc957
Merge pull request #9607 from tchak/fix-decimal-number-input
fix(dossier): remove extra input event on page load
2023-10-16 15:02:31 +00:00
Lisa Durand
75c155c284 fix displaying add field button with turbo 2023-10-16 17:02:24 +02:00