Compare commits

..

2285 commits

Author SHA1 Message Date
Jean-Marc GAILIS
8dfdc60d1a
Modifications DGNum
ajout des NDD usuels ENS et DGNum pour autoriser les changements d'adresse mail

correction des svg des logos DGNum et DN

remplacement Marianne - pour l'instant à l'arrache uniquement, logo sera repris et affiné plus tard

modifs Mariannes

commenter quelques bouts de code inutiles dans l'usage DGNum de DS

Update logo-ds.svg and delete commented lines

correction logo DN pour pages d'erreur

normalianisation de DN, texte

modifs sur le fichier en anglais

modifs diverses vers version DN

Use our logo in the header

Add the logo-wide under a new name

feat: Update footer

feat: Remove mentions of faq.demarches-simplifiees.fr

feat: Replace documentation link

feat: Add analytics

feat: Remove France Services logo on procedure footer
2024-12-18 00:32:37 +01:00
LeSim
3ee386e1d8
Merge pull request #11073 from demarches-simplifiees/confirm_FC_email
ETQ Usager, mon email est dit fiable lorsque qu'il provient de FC et que je l'ai visuellement vérifié
2024-12-13 10:46:05 +00:00
simon lehericey
7b02aeb02e
fix spec 2024-12-13 11:37:21 +01:00
simon lehericey
2a25171738
Fix: allow custom email (!), require a mail confirmation
previous code was wrong, it was impossible to choose another email than the FC one
2024-12-13 11:37:20 +01:00
simon lehericey
4cd6e08a3d
UX: change submit disabled state 2024-12-13 11:37:20 +01:00
simon lehericey
016e9357e1
refactor: no need for html_safe 2024-12-13 11:37:20 +01:00
simon lehericey
451c0165b4
refactor: remove useless connect 2024-12-13 11:37:20 +01:00
simon lehericey
d4a69aa618
refactor: no need to leak merge.token in url ... 2024-12-13 11:37:20 +01:00
simon lehericey
5edd54b598
fix: verified_email from FC 2024-12-13 11:37:19 +01:00
simon lehericey
08083f8feb
refactor: small UX improvements 2024-12-13 11:35:45 +01:00
simon lehericey
d3fb03082c
clean: french quote in trad file 2024-12-13 11:35:45 +01:00
LeSim
f839f5ab2c
Merge pull request #11135 from demarches-simplifiees/be_lax_with_drop_down
ETQ instructeur / usager, je vois toujours les choix que j'ai sélectionné dans une liste mm si l'admin a changé les options
2024-12-12 15:37:46 +00:00
mfo
fe7c19f1d9
Merge pull request #11114 from mfo/US/switch-to-new-rnf-api-endpoint
ETQ ds, j'utilise le nouvel endpoint pour les API rnf
2024-12-12 14:49:24 +00:00
simon lehericey
a362e95542
same for direct access by champ.value 2024-12-12 15:20:25 +01:00
simon lehericey
5f63ade97a
same for enums in columns 2024-12-12 13:20:12 +01:00
simon lehericey
c578c88f48
always show user choice even if no more in enum in columns 2024-12-12 13:20:05 +01:00
mfo
6e5aa90bc7
Merge pull request #10898 from mfo/US/navigation-accros-dossiers
ETQ instructeur, je peux passer au dossiers suivant ou au dossier précédent lorsque je visualise un dossiers d'un des onglet (a-suivre, tous, ...)
2024-12-11 14:03:48 +00:00
Colin Darie
ef222c06d5
Merge pull request #11133 from colinux/3.3.2
Tech: bump ruby 3.3.2, rails 7.0.8.7
2024-12-11 10:27:07 +00:00
Colin Darie
395526aaa1
chore(bundle): bump rails 7.0.8.5 => 7.0.8.7 2024-12-11 09:05:19 +01:00
Colin Darie
fa31f6287e
chore: bump ruby 3.3.1 => 3.3.2 , bundle 2.5.9 => 2.5.23 2024-12-11 09:05:16 +01:00
LeSim
fac38c5bb9
Merge pull request #11130 from demarches-simplifiees/etq-instructeur-fix-submit-button
ETQ instructeur : fix submit button on order position page
2024-12-10 17:22:40 +00:00
benoitqueyron
941cfe850a
fix id entre le form et le submit button 2024-12-10 18:01:57 +01:00
Paul Chavard
bd185b4fdb
Merge pull request #11127 from tchak/fix-champ-validation
fix(champ): always check if a champ is in dossier revision before validate
2024-12-10 13:20:55 +00:00
Paul Chavard
5dd25fd1b6
fix(champ): bypass blank? implementation when champ is not in revision 2024-12-10 11:30:51 +01:00
Paul Chavard
7462a43886
fix(dossier): add champs to dossiers in factories 2024-12-10 11:30:51 +01:00
Paul Chavard
b3701a12b4
fix(champ): always check if a champ is in a valid revision before validate 2024-12-10 11:30:51 +01:00
mfo
af5af67750
ui(navigation_icons): use span icons which are bolder [asked by design].
ensure next/prev links are always on oneline, make back button bigger
[same as design], align back/next/prev to top when there is more than
oneline for h1 [either procedure name, either dossier name]
2024-12-10 10:22:08 +01:00
mfo
eea5758753
feat(Instructeurs#*): plugs next/prev dossier component on all required routes 2024-12-10 10:22:08 +01:00
mfo
f993393eb2
feat(Instructeurs::DossiersNavigationComponent): extract back button and next/prev within a component 2024-12-10 09:15:54 +01:00
mfo
b6e773f9fa
feat(Instructeurs::Dossiers#next/prev): add route to redirect user from a dossier id to either a next dossier, either a previous 2024-12-10 09:15:54 +01:00
mfo
a8e96a843c
feat(ApplicationController): add an helper to retrieve a procedure_presentation from anywhere (target: will be used by Cache::ProcedureDossierPagination) 2024-12-10 09:15:53 +01:00
mfo
97c50bae0d
feat(Instructeurs::ProceduresController#show): when an instructeur views list of dossier, caches current loaded page 2024-12-10 09:15:26 +01:00
mfo
1b8db6abee
feat(cache.procedure_dossier_pagination): add Cache::ProcedureDossierPagination to next/previous dossiers by statut. also responsible to fetch next/previous page 2024-12-10 09:15:00 +01:00
Benoit Queyron
b8481796c7
Merge pull request #11084 from demarches-simplifiees/etq-instructeur-ordonner-procedures
ETQ Instructeur : je veux pouvoir ordonner ma liste de démarches
2024-12-09 12:54:59 +00:00
LeSim
438bf21d18
Merge pull request #11125 from demarches-simplifiees/post_password_in_complexity_test
Tech: vérifie la complexité avec un post
2024-12-09 10:53:09 +00:00
simon lehericey
0b67eb511b
fix: all password check views use the new post route 2024-12-09 11:32:07 +01:00
simon lehericey
84f301cdb8
fix: turbo_input js controller can accept a method in option 2024-12-09 11:32:07 +01:00
simon lehericey
7d48c294d6
fix: password_complexity check must use a post verb 2024-12-09 11:32:06 +01:00
Paul Chavard
7603b7c1f1
Merge pull request #10902 from tchak/refactor-champs-on-demande
ETQ dev, je ne veux pas créer les champs inutiles (et je veux pouvoir supprimer un row d'une répétition sans supprimer de champs)
2024-12-09 09:39:42 +00:00
LeSim
f01df529c5
Merge pull request #11118 from demarches-simplifiees/log_timeout_search
Tech: log les termes recherchés qui ont provoqué un timeout
2024-12-09 09:38:20 +00:00
Paul Chavard
10333908c3
refactor(champ): make row_id a named param 2024-12-09 10:06:13 +01:00
Paul Chavard
3556fcc11e
refactor(champs): cleanup champ_for_update 2024-12-09 10:06:13 +01:00
Paul Chavard
56b0b156bf
refactor(champs): update specs 2024-12-09 10:06:13 +01:00
Paul Chavard
474d206ee1
refactor(champs): remove orphaned and invisible champs after submit 2024-12-09 10:06:13 +01:00
Paul Chavard
6cbf66dfb8
refactor(dossier): stop destroying champs in rebase 2024-12-09 10:06:13 +01:00
Paul Chavard
0594887401
refactor(dossier): update clone and apply diff to work with rows 2024-12-09 10:06:13 +01:00
Paul Chavard
8e582e0be7
refactor(repetition): materialize repetition rows in db 2024-12-09 10:06:13 +01:00
Paul Chavard
5f10486a51
refactor(dossier): create only fillable champs on new dossiers 2024-12-09 10:06:13 +01:00
Paul Chavard
7ee90b6d85
refactor(champ): validate only champs in revision 2024-12-09 10:06:13 +01:00
Paul Chavard
3da8c4b672
feat(repetition): make champ repetition discardable 2024-12-09 10:06:13 +01:00
Colin Darie
e44a3d3016
Merge pull request #11122 from demarches-simplifiees/add_hidden_by_expired_at_to_manager
ETQ super-admin je peux voir la date de mise à la corbeille d'un dossier
2024-12-09 08:57:32 +00:00
Mathieu Magnin
b179ab5e84
Add hidden_by_expired_at to manager 2024-12-09 09:48:41 +01:00
Colin Darie
d56b63bc90
Merge pull request #11119 from demarches-simplifiees/fix_crazy_cron
Correction du bug qui envoyait une notification de suppression pour des dossiers déjà supprimés
2024-12-09 08:43:40 +00:00
benoitqueyron
e0f07e45e2
fix conflit schema.rb 2024-12-06 20:02:39 +01:00
benoitqueyron
95a3f17976
test: instructeurs_procedure_spec 2024-12-06 17:53:35 +01:00
benoitqueyron
3e1a510286
récupération et update des InstructeursProcedure positions 2024-12-06 17:53:35 +01:00
benoitqueyron
9d50034a16
controller TS: modification de l'ordre, état des boutons 2024-12-06 17:53:35 +01:00
benoitqueyron
bc3730a032
nouvelle page pour ordonner avec empty layout 2024-12-06 17:53:35 +01:00
benoitqueyron
010ea0586c
affichage selon l'ordre de instructeurs_procedures.position 2024-12-06 17:53:35 +01:00
benoitqueyron
64f39e2c78
nouveau model InstructeursProcedure avec position 2024-12-06 17:53:19 +01:00
mfo
586b8ed993
Merge pull request #11121 from mfo/US/fix-repetition-prefill
ETQ consommateur de l'API de pré-remplissage, je peux pre-remplir plus d'un row d'une repetition
2024-12-06 16:47:18 +00:00
Colin Darie
f3bb274657
Merge pull request #11120 from colinux/fix-restore-brouillon-expired-by-automatic
ETQ usager je peux restorer un brouillon supprimé automatiquement car pas modifié automatiquement
2024-12-06 16:45:12 +00:00
mfo
ad832b9401
fix(prefill.repetitions): with more than one row, should be able to prefill champs repetition rows 2024-12-06 17:32:35 +01:00
mfo
4e7693db89
bug(prefill.repetitions): with more than one row, should not raise ActiveRecord::RecordNotFound 2024-12-06 17:29:50 +01:00
Mathieu Magnin
bfe138fe1a
Change cron hour to avoid race condition with NotifyOldBrouillonDossiersSoonDeletedJob 2024-12-06 17:07:31 +01:00
Colin Darie
c38b4627b2
fix: user can restore a brouillon not modified for a long time 2024-12-06 17:06:59 +01:00
Mathieu Magnin
5555da2f90
Rename purge => hide 2024-12-06 16:34:21 +01:00
Mathieu Magnin
760963a52d
Do not hide not notified dossier 2024-12-06 16:33:33 +01:00
Mathieu Magnin
53ce0e05f6
Do not notify not visible dossiers 2024-12-06 16:14:56 +01:00
Colin Darie
335fc39d93
Merge pull request #11111 from colinux/bump-maintenance-tasks
Tech: bump maintenance_tasks 2.7 => 2.10
2024-12-06 14:49:31 +00:00
Colin Darie
6ed6d1e13e
Merge pull request #11099 from colinux/many-siret-champ-columns
ETQ instructeur je peux ajouter une colonne ou filtrer par des sous-valeurs d'un champ SIRET
2024-12-06 14:43:27 +00:00
Colin Darie
bab474d46d
refactor(columns): more readable etablissment columns list 2024-12-06 14:39:37 +01:00
Colin Darie
33df2029ab
chore: re backfill siret champ 2024-12-06 14:39:37 +01:00
Colin Darie
9cb547efcf
refactor: rename naf => code_naf 2024-12-06 14:39:37 +01:00
Colin Darie
f1d14bd6af
feat(etablissement): save value json data for columns 2024-12-06 14:39:37 +01:00
Colin Darie
a400045964
refactor(etablissement): update champ value json address from model 2024-12-06 14:39:37 +01:00
Colin Darie
2e873254fe
refactor(columns): normalize (upcase first) address columns wording 2024-12-06 14:39:37 +01:00
Colin Darie
985cf32752
feat(champ siret): improve default base SIRET column wording 2024-12-06 14:39:36 +01:00
Colin Darie
b71d60dff9
test(siret): fix after champ factory have been changed to real values 2024-12-06 14:39:36 +01:00
Colin Darie
90a8888ade
feat(champ siret): etablissement columns filterable & displayable 2024-12-06 14:39:36 +01:00
Colin Darie
5226f67cb3
fix(locale): remove duplicate entreprise keys 2024-12-06 11:50:53 +01:00
Colin Darie
89e2027406
style(filters): dynamic & larger width because we now have long column names 2024-12-06 11:50:52 +01:00
Colin Darie
45efac16f2
chore(rubocop): disable Style/WordArray for %w[] transition 2024-12-06 11:50:52 +01:00
Colin Darie
0be93d84ee
chore(gitignore): + .zed 2024-12-06 11:50:52 +01:00
simon lehericey
2b749b2c5b
feat: log timeout search terms 2024-12-06 11:22:32 +01:00
simon lehericey
7f0618e6ef
refactor(log): always use Current.request_id 2024-12-06 11:21:16 +01:00
mfo
cb2fd59523
feat(rnf): switch to new url and auth method 2024-12-05 16:04:44 +01:00
LeSim
9fabef0ac7
Merge pull request #11107 from demarches-simplifiees/better_search
ETQ usager et instructeur, la recherche ne tient plus compte des accents
2024-12-05 12:56:03 +00:00
simon lehericey
cf705813da
fix and spec for annotations search 2024-12-04 19:05:32 +01:00
simon lehericey
c6c82579b8
current limit 2024-12-04 19:05:32 +01:00
simon lehericey
08258630ed
clean dossier_search_service_spec matching_dossiers_for_user 2024-12-04 19:05:32 +01:00
simon lehericey
6472d738d6
refactor mutualize complicated part of the search 2024-12-04 19:05:32 +01:00
simon lehericey
11402c6ee2
clean unused includes 2024-12-04 19:05:32 +01:00
simon lehericey
06a71cdf85
search without accent 2024-12-04 19:05:31 +01:00
simon lehericey
8c17dd6e1d
clean dossier_search_service_spec matching_dossier 2024-12-04 19:05:31 +01:00
simon lehericey
2c87b3f92d
clean dossier_search_service_spec 2024-12-04 19:05:31 +01:00
Paul Chavard
11374911fa
Merge pull request #11109 from tchak/fix-update-champ-after-type-change
fix(dossier): when a champ type changes on update, ensure we have an instance of the right class
2024-12-04 15:35:05 +00:00
Colin Darie
11e766ad9f
chore: bump maintenance_tasks 2.7 => 2.10 2024-12-04 15:24:22 +01:00
Paul Chavard
99a9bc3829
fix(dossier): when a champ type changes on update, ensure we have an instance of the right class 2024-12-04 13:00:22 +01:00
Mathieu Magnin
2164d72308
Merge pull request #11087 from demarches-simplifiees/fix-10951
ETQ Usager, je veux qu'on supprime mon brouillon après 3 mois d'inactivité
2024-12-03 09:52:12 +00:00
Mathieu Magnin
39baa5aae1
[#10951] fixes after review 2024-12-03 10:29:21 +01:00
Mathieu Magnin
5ab0899a49
[#10951] Create a cron job to warn user that old brouillon is deleted 2024-12-03 10:29:21 +01:00
Mathieu Magnin
38e9ca4979
[#10951] Create a cron job to warn user with a old brouillon 2024-12-03 10:29:21 +01:00
Colin Darie
b77a5f4c6e
Merge pull request #11106 from demarches-simplifiees/dependabot/bundler/rails-html-sanitizer-1.6.1
chore(deps): bump rails-html-sanitizer from 1.6.0 to 1.6.1
2024-12-03 08:55:07 +00:00
LeSim
72ed54d104
Merge pull request #11105 from demarches-simplifiees/filter_less_dumb
ETQ instructeur: les filtres textes marchent avec des accents en moins, des espaces en trop, et ignore la case.
2024-12-03 07:39:23 +00:00
dependabot[bot]
820cabef7b
chore(deps): bump rails-html-sanitizer from 1.6.0 to 1.6.1
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases)
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: rails-html-sanitizer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 22:14:55 +00:00
simon lehericey
169e2659e1
forgive accent in query 2024-12-02 21:06:55 +01:00
simon lehericey
6da717a2b9
forgive case in query 2024-12-02 21:06:55 +01:00
simon lehericey
1b1626baaa
forgive space in query 2024-12-02 21:06:55 +01:00
Colin Darie
0b99f6c847
Merge pull request #11097 from ralmn/ac-follow-redirection
ETQ Usager si je me connecte en Agent-Connect/Pro-Connect je veux être redirigé vers ma page d'origine
2024-12-02 13:59:49 +00:00
Paul Chavard
9be0d58ac3
Merge pull request #11102 from tchak/remove-unused-forks
cleanup(dossier): remove unused forks
2024-12-02 10:33:16 +00:00
Paul Chavard
737c1a9faa
cleanup(dossier): remove unused forks 2024-12-02 10:56:50 +01:00
LeSim
7c4edf882e
Merge pull request #11095 from mfo/US/fix-link-to-export-template
correctif: ETQ instructeur, lorsque je clique sur le lien pour configurer les modèles d'export je souhaite arriver sur la bonne page
2024-11-29 17:36:37 +00:00
LeSim
edc7b914bc
Merge pull request #11101 from demarches-simplifiees/affecter-un-service
Uniformisation wording : assigner => affecter
2024-11-29 17:25:09 +00:00
LeSim
f128965444
Merge pull request #11098 from colinux/typos
ETQ instructeur, 2 corrections de typo vues en point UX
2024-11-29 17:24:28 +00:00
Mathieu Magnin
51a35a321e
Uniformisation wording : assigner => affecter 2024-11-29 17:43:22 +01:00
Mathieu HIREL
e60b2bbb0e
feat: redirect to stored location after pro-connect connection 2024-11-28 16:06:38 +01:00
Colin Darie
0230d948bc
fix(typo): séletionner => sélectionner 2024-11-28 15:50:37 +01:00
Colin Darie
adf75a9036
fix: dépot => dépôt 2024-11-28 15:50:07 +01:00
mfo
8ba2c5c5ff
Merge pull request #10877 from mfo/US/add-breadcrumb-to-instructeur-procedure-management
amelioration : ETQ instructeur, je peux naviguer entre l'onglet de ma demarche et mes dossiers sans perdre le context (onglet et page) en utilisant un bouton retour
2024-11-28 13:55:23 +00:00
mfo
e9120f90a7
feat(instructeurs/back): add back button
Co-authored-by: Colin Darie <colin@darie.eu>
2024-11-28 14:07:46 +01:00
mfo
5288c84e39
fix(export_template.link): use new export_templates link 2024-11-28 11:55:39 +01:00
mfo
e6d9ee93a6
fix(instructeurs/archives/routes): move archives routes under another url schema to avoid conflict with dossier archvied 2024-11-28 11:51:21 +01:00
mfo
c260c43dac
feat(instructeur): nest all instruction routes under statut params for back purpose 2024-11-28 11:45:56 +01:00
Colin Darie
b426e51d87
Merge pull request #11059 from colinux/navbar-procedure-context
ETQ instructeur ou admin je garde le contexte de la démarche en passant d'un profil à l'autre
2024-11-27 11:54:39 +00:00
LeSim
c2851b5719
Merge pull request #11093 from demarches-simplifiees/update_rubocop
Tech: update rubocop
2024-11-27 10:48:26 +00:00
simon lehericey
a52b0cc703
chore: bundle update psych and stringio 2024-11-26 17:15:52 +01:00
simon lehericey
89884e13d7
chore: update rubocop 2024-11-26 17:14:13 +01:00
Mathieu Magnin
4c9031f0b0
Merge pull request #11090 from demarches-simplifiees/fix_avis_task
Do not raise exception when Avis is not valid, just fix the data
2024-11-26 16:01:32 +00:00
LeSim
987ea9d017
Merge pull request #11069 from demarches-simplifiees/first_simplification_dossier_projection
Tech: simplification de la construction de la page instructeur listant les dossiers d'une démarche
2024-11-26 15:43:56 +00:00
simon lehericey
96ee065046
adapt search page 2024-11-26 16:35:45 +01:00
simon lehericey
d287eac706
refactor: fix n+1 2024-11-26 16:35:45 +01:00
simon lehericey
18a4ee450f
refactor: do not query for already load dossier table 2024-11-26 16:35:44 +01:00
simon lehericey
bb198000fe
refactor: include corrections 2024-11-26 16:35:44 +01:00
simon lehericey
c415b066b9
refactor: always load full dossier 2024-11-26 16:06:53 +01:00
simon lehericey
fe0a396dc6
refactor: remove unused individual prenom / nom load
because of bb236f6c0d
2024-11-26 16:01:44 +01:00
simon lehericey
7f6fd9712b
Trad: add unbreakable spaces in avis sum_up 2024-11-26 16:01:44 +01:00
Paul Chavard
ee9a493877
Merge pull request #11062 from tchak/column-better-cast
ETQ dev, je souhaite obtenir la valeur humaine d'une colonne
2024-11-26 13:41:52 +00:00
Mathieu Magnin
5a0eca5ccc
Do not raise exception when Avis is not valid, just fix the data 2024-11-26 14:41:03 +01:00
Paul Chavard
755a526d12
Merge pull request #11067 from tchak/refactor-dossier-controller
refactor(dossier): cleanup user controller
2024-11-26 13:38:45 +00:00
Paul Chavard
1335336d98
refactor(column): add label_for_value method 2024-11-26 14:31:21 +01:00
Paul Chavard
7f4622b697
feat(column): filter out invalid values on enum and enums columns 2024-11-26 14:31:21 +01:00
Paul Chavard
1f5dd3bd02
refactor(dossier): cleanup user controller 2024-11-26 14:30:23 +01:00
Paul Chavard
671d121480
refactor(dossier): move some code to dossier_state_concern 2024-11-26 14:30:06 +01:00
Paul Chavard
6914d78236
refactor(user/dossier): explicitly pass dossier_for_editing in to views 2024-11-26 14:28:52 +01:00
Paul Chavard
fb6adabfc5
refactor(dossier): remove legacy fallback 2024-11-26 14:27:36 +01:00
Paul Chavard
3e6f074f31
refactor(attachment): remove some dead code from components 2024-11-26 14:25:16 +01:00
Paul Chavard
c2c26719d3
refactor(dossier): use touch 2024-11-26 14:17:03 +01:00
LeSim
7932085976
Merge pull request #11086 from demarches-simplifiees/fix_crashing_filtering
ETQ Instructeur, je n'ai plus de crash lorsque je filtre une colonne numérique avec un texte
2024-11-26 12:29:51 +00:00
Colin Darie
08c963ae25
Merge pull request #11089 from mfo/US/fix-table-border
ETQ instructeur, je veux avoir une bordure sur mon tableau de bord instructeur même si mon niveau de zoom est > 100%
2024-11-26 12:26:17 +00:00
simon lehericey
6516533083
fix: filter with a text instead of a integer does not crash 2024-11-26 13:21:48 +01:00
mfo
cfabdff96c
feat(table.border): at least one px 2024-11-26 11:34:11 +01:00
mfo
99184d3d2b
Merge pull request #11088 from mfo/US/fix-export-repetition-not-in-dossier-revision
correctif: ETQ instructeur, je peux exporter mes dossiers même si une répétition a été ajouté a une autre version du formulaire
2024-11-26 10:22:14 +00:00
mfo
a88325e224
fix(sentry#6088812113): avoid crash when trying to export a repetition which is not in a dossier revision 2024-11-26 11:05:15 +01:00
Mathieu Magnin
d79a80c711
Merge pull request #11072 from demarches-simplifiees/fix-11071
ETQ Dev, si un expert invite un autre Expert sur un dossier lié à un autre dossier, je ne veux pas avoir de données incohérentes en base
2024-11-26 10:03:14 +00:00
mfo
266bba941a
bug(sentry#6088812113): pinpoint issue, we are trying to ask rows for a
repetition which is not in a dossier.revision
2024-11-26 10:56:21 +01:00
Colin Darie
3b16e8f190
Merge pull request #11082 from demarches-simplifiees/etq-admin-fix-ordered-services
ETQ Admin, je veux que la liste des services soit classée par ordre alphabétique
2024-11-26 09:28:41 +00:00
Mathieu Magnin
460bd48d08
Merge pull request #11050 from demarches-simplifiees/fix-9513-part-1
(1/X) ETQ administrateur, je veux pouvoir modifier le lien URL de ma démarche sans avoir à la cloturer
2024-11-26 08:58:48 +00:00
mfo
2bc516acf4
Merge pull request #11085 from mfo/US/fix-border-size-offset
ETQ instructeur, je souhaite avoir des bordures sur mon tableau d'instructeur qu'importe le niveau de zoom
2024-11-26 08:55:30 +00:00
Colin Darie
5fbb88837e
Merge pull request #11083 from colinux/instructeur-can-preview-procedure
ETQ Instructeur je peux prévisualiser le formulaire d'une démarche
2024-11-25 17:00:03 +00:00
mfo
16ee0ca934
fix(table): adjust border size depending on devicePixelRatio [which depends on page zoom level] so we do not lose table cell borders 2024-11-25 17:57:51 +01:00
Colin Darie
874f992e5e
fix(instructeur): procedure form preview 2024-11-25 16:13:10 +01:00
benoitqueyron
8909e553ed
fix order services 2024-11-25 16:09:22 +01:00
Colin Darie
7d2821aa81
style(dossier): fix container / margin breaks between sections 2024-11-25 15:22:49 +01:00
LeSim
55d2789eae
Merge pull request #11081 from demarches-simplifiees/fix_unremovable_column_selector
ETQ Instructeur, je veux pouvoir retirer une colonne au libellé très long
2024-11-25 15:11:39 +01:00
simon lehericey
b81f1b1d25
fix unremovable column 2024-11-25 15:02:09 +01:00
LeSim
6e83d349ef
Merge pull request #11080 from colinux/fix-instructeur-multiline-header
ETQ instructeur, les en-têtes de tableau de dossiers peuvent passer sur plusieurs lignes
2024-11-25 13:59:26 +00:00
Colin Darie
ca4f077b4c
style(recherche): procedure libelle cell can wrap 2024-11-25 14:44:56 +01:00
Colin Darie
4ffb6a7c1b
style(dossiers): cell headers can wrap on multilines 2024-11-25 14:38:28 +01:00
Colin Darie
602680a251
Merge pull request #11079 from colinux/really-fix-instructeurs-exports-notification-position
ETQ instructeur, meilleur positionnement de la pastille de notif au sujet des exports
2024-11-25 13:23:35 +00:00
Colin Darie
b6cfdb1a81
style(instructeur): fix notification exports position in header menu 2024-11-25 13:55:56 +01:00
Colin Darie
26018be459
Merge pull request #11078 from colinux/instructeurs-fix-exports-notification
ETQ instructeur: fix position de la pastille de notification d'exports dans le menu
2024-11-25 12:35:52 +00:00
LeSim
12caa52306
Merge pull request #11077 from colinux/fix-instructeurs-table
ETQ instructeur: correctifs UX du tableau des dossiers
2024-11-25 12:26:30 +00:00
Colin Darie
28c92acf1a
style(instructeur): fix notification exports position in header menu 2024-11-25 13:26:29 +01:00
Colin Darie
5d34d4f54d
style(dossiers): minimal width for checkbox header cell 2024-11-25 12:55:14 +01:00
Colin Darie
741ac527ef
style: remove obsolete usage of cell-link 2024-11-25 12:55:14 +01:00
Colin Darie
dc8cc2eba8
style(instructeurs): dossier number render as real link 2024-11-25 12:54:08 +01:00
Colin Darie
3f2c5da3ae
fix(instructeurs): cells on multilines 2024-11-25 12:31:05 +01:00
Colin Darie
5b494c2ce7
Merge pull request #11076 from colinux/mini-fix-tables
ETQ admin, fix design de quelques tableaux
2024-11-25 10:53:52 +00:00
Colin Darie
6ad6f2167b
style(admin): fix all administrateurs table 2024-11-25 11:36:27 +01:00
Colin Darie
f399c7eb2a
style(labels): fix new admin labels table 2024-11-25 11:35:58 +01:00
LeSim
7b4c21b431
Merge pull request #11075 from demarches-simplifiees/backfill_verified_at_for_user
ETQ Usager ayant confirmé mon mail, je veux recevoir mes notifications
2024-11-25 10:03:44 +00:00
simon lehericey
58f1608d2f
fix: backfill user email_verified_at 2024-11-25 10:55:03 +01:00
Colin Darie
3c880a0849
style: fix all procedures table borders on safari 2024-11-25 10:53:52 +01:00
mfo
0c6dbc86f0
Merge pull request #11064 from mfo/US/add-breadcrumb-to-instructeurs-dossiers-show
ETQ instructeur, je souhaite avoir un fil d'ariane jusqu'a la visualisation d'un dossier
2024-11-25 09:15:05 +00:00
mfo
cd88d054fc
feat(breadcrumb): seen a hardocded translation of 'Suivi des dossiers',
i18n this mistake, re-use UX wording, add breadcrumb down to
Instructeurs::Dossiers#show
2024-11-25 10:06:54 +01:00
LeSim
b8ad6f44f2
Merge pull request #11074 from demarches-simplifiees/fix_unverified_email
ETQ Usager, je veux recevoir des mails !
2024-11-25 08:06:00 +00:00
simon lehericey
c3af718f1c
fix: user confirming their mail have its email verified 2024-11-22 18:50:42 +01:00
Mathieu Magnin
4a8d7210d0
[Fix #11071] Fix wrong expert_procedure associated to avis in existing data 2024-11-22 18:12:40 +01:00
Mathieu Magnin
b3672c5526
[Fix #11071] Fix wrong expert_procedure associated to avis 2024-11-22 17:06:37 +01:00
Paul Chavard
a73e3e8e76
Merge pull request #11047 from tchak/refactor-pdf-use-projected-champs
refactor(pdf): use projected champs when render pdf
2024-11-22 14:36:11 +00:00
Kara Diaby
d33c594f91
Merge pull request #11066 from demarches-simplifiees/add-export-template-page
ETQ Instructeur, je souhaite avoir une page spécifique aux modèles d'exports
2024-11-22 13:55:02 +00:00
Kara Diaby
ec4bbcffba
Ajoute une page spécifique aux modèles d'exports 2024-11-22 12:04:58 +00:00
Colin Darie
971bc39912
Merge pull request #11043 from colinux/dsfr-1.12
Tech: dsfr 1.11 => 1.12, mise à jour du design des tableaux
2024-11-22 10:22:33 +00:00
Colin Darie
0286a56b78
chore: remove patch-package, bun supports it 2024-11-22 10:45:52 +01:00
Colin Darie
aeffd19abd
chore(footer): add digital inclusion sites 2024-11-22 10:45:43 +01:00
Colin Darie
9abac909df
test: various fix due to recent refactor 2024-11-22 10:45:42 +01:00
Colin Darie
f6be8eb823
chore(pagination): remove redondant symbols with dsfr paginator 2024-11-22 10:45:42 +01:00
Colin Darie
0c533113be
style: update groupes for reaffactation in new design table 2024-11-22 10:45:42 +01:00
Colin Darie
7e9e57cb17
style: update instructeurs to new design table 2024-11-22 10:45:42 +01:00
Colin Darie
bae0009120
refactor(admin): fix exports invitation list, also use dsfr toggle 2024-11-22 10:45:42 +01:00
Colin Darie
77f88bbbbe
style(admin): fix archives table 2024-11-22 10:45:42 +01:00
Colin Darie
9bec007dfa
refactor(download): remove useless turbo of menu since it's not dynamic anymore 2024-11-22 10:45:41 +01:00
Colin Darie
eabc43ce53
refactor: minor improvements 2024-11-22 10:45:41 +01:00
Colin Darie
605c550e6c
style(procedures): all layout responsivness 2024-11-22 10:45:41 +01:00
Colin Darie
8ebdb00fc2
fix(procedures): turbo force server, fix table JS style 2024-11-22 10:45:41 +01:00
Colin Darie
5d6e35c540
style(dossiers): customize table above 2024-11-22 10:45:41 +01:00
Colin Darie
b2a575a460
style(dossiers): nice display rendering for dossier numbers 2024-11-22 10:45:41 +01:00
Colin Darie
e7768bbf4b
refactor(dossiers): table in new dsfr design
- remove obsolete css
- handle check / check all dsfr UI
- min height hack does not work anymore (pending a new solution)
2024-11-22 10:45:41 +01:00
Colin Darie
753c602802
chore(js): patch dsfr/table to use data attr instead of name on checkbox 2024-11-22 10:45:39 +01:00
Colin Darie
af6dd67cef
chore(css): remove legacy dsfr hacks 2024-11-22 10:45:11 +01:00
Colin Darie
35a17cc2c6
refactor(dsfr): all procedures table to v1.12 2024-11-22 10:45:11 +01:00
Colin Darie
8b68350e0c
fix: betagouv => demarches-simplifiees github organization 2024-11-22 10:45:11 +01:00
Colin Darie
c6ab4f7f91
chore(footer): update footer links order 2024-11-22 10:45:10 +01:00
Colin Darie
f638ab5618
chore: bump dsfr 1.11.2 => 1.12.1 2024-11-22 10:45:07 +01:00
Paul Chavard
87c05c5887
Merge pull request #11055 from Tom-Hubrecht/package-resolution
chore(package.json): Remove old resolutions
2024-11-21 17:15:40 +01:00
mfo
cd98eb88f5
Merge pull request #11065 from mfo/US/bad-start-of-breadcrumb-as-an-instructeur
ETQ instructeur, la racine du fil d'ariane devrait renvoyer sur la liste des demarches
2024-11-21 10:16:13 +00:00
mfo
d78faf9612
fix(breadcrumb): ETQ user having an instructeur and an admin, when i am connected as an instructeur, root of breadcrumb returns to instructeur_procedures_path, not root_path which is admin_procedures_path 2024-11-21 11:01:36 +01:00
mfo
5d1f852593
Merge pull request #11063 from mfo/US/fix-gestion-des-instructeurs
ETQ instructeur, le sous menu de gestion de démarche devrait être homogène
2024-11-21 10:00:20 +00:00
mfo
08bd2895ef
fix(header.procedure_management): item gestion des instructeurs was not well formated 2024-11-21 10:43:15 +01:00
Paul Chavard
998670433e
Merge pull request #11060 from tchak/improve-some-revision-methods
refactor(type_de_champ): improve and clean helper methods
2024-11-20 10:11:26 +00:00
Colin Darie
6acbeba63f
Merge pull request #11061 from colinux/drop-contact-empty-file
ETQ usager je ne peux pas soumettre le form de contact si la PJ n'est pas un fichier
2024-11-20 09:43:10 +00:00
Kara Diaby
c1d8a738d2
Merge pull request #11004 from demarches-simplifiees/feat/10932_instructor_navigation
ETQ instructeur, je navigue facilement entre les différentes rubriques d'une démarche
2024-11-20 09:37:55 +00:00
Kara Diaby
99e4dfae9d
Utilise le bon menu déroulant du DSFR 2024-11-20 09:26:18 +00:00
Paul Chavard
71009094a4
refactor(type_de_champ): improve and clean helper methods 2024-11-20 10:18:51 +01:00
Colin Darie
e52aae420a
fix(contact): drop piece jointe not file 2024-11-19 17:21:52 +01:00
Kara Diaby
1601ca7bb9
Retire le bouton télécharger tous les dossiers 2024-11-19 15:24:41 +00:00
Kara Diaby
172d81856b
Fix après retours 2024-11-19 15:24:41 +00:00
Kara Diaby
cdceddafe1
Fixe les tests 2024-11-19 15:24:41 +00:00
Kara Diaby
e81f829545
Ajoute le liseret indicatif de la section en cours. Retire le bouton retour, géré dans une autre PR 2024-11-19 15:24:40 +00:00
Kara Diaby
29a2975752
Adapte les breadcrumbs sur l'interface instructeur 2024-11-19 15:24:40 +00:00
Kara Diaby
21f696a6e5
Ajoute le bouton retour dans l'interface instructeur 2024-11-19 15:24:40 +00:00
Kara Diaby
e3473fbe91
Ajout des dropdowns dans l'interface instructeur pour une meilleure navigation 2024-11-19 15:24:40 +00:00
Kara Diaby
baa7a1b227
Modifie les locales 2024-11-19 15:24:40 +00:00
Colin Darie
f25b1361ee
fix(profile): senticify profiles list 2024-11-19 15:52:48 +01:00
Colin Darie
c541ed7c93
feat(profile): keep procedure id context between admin & instructeur profile 2024-11-19 15:52:48 +01:00
Colin Darie
e459f68ddb
refactor: account dropdown as component 2024-11-19 15:37:15 +01:00
LeSim
5a2ab37049
Merge pull request #11052 from demarches-simplifiees/fix_linked_list_filter_again
ETQ instructeur: modification de l'id de column liste liée pour faire satisfaire le waf
2024-11-19 13:02:54 +01:00
simon lehericey
38e998c279
fix: allow previous id with -> to work 2024-11-19 12:12:55 +01:00
simon lehericey
aa0b7f53ef
small comment explaining why we need to ensure used columns are present in procedure.columns 2024-11-19 12:12:55 +01:00
simon lehericey
fa64e8f112
fix: change > char in favor of . in linked_drop_column.column_id
Rails `'>'.to_json` produce `\u003e` because of an html entity escaping system to work around some bugs in browser (see dd8f7185fa/activesupport/lib/active_support/json/encoding.rb (L43) )

But our waf dislike `\u003e` and reject xhr request with such char
2024-11-19 12:12:55 +01:00
mfo
c65fcf0a29
Merge pull request #11058 from mfo/US/readd-json-export
ETQ instructeur, je peux exporter mes dossiers au format geojson
2024-11-19 09:29:13 +00:00
mfo
3903593b90
fix(export): re-add missing geojson export 2024-11-19 10:20:18 +01:00
mfo
aeced409ff
Merge pull request #11057 from mfo/US/fix-autoarchive-stalled
ETQ DS, je souhaite ne pas envoyer plus de mail que prévu quand une demarche se clos a une date prévue
2024-11-18 15:39:28 +00:00
mfo
1ed0599137
Merge pull request #11042 from demarches-simplifiees/update-routage-a-partir-d-un-champ
ETQ administrateur j'ai davantage d'informations sur le routage à partir d'un champ
2024-11-18 12:20:05 +00:00
mfo
8a01a881d1
Merge pull request #11056 from mfo/US/fix-zip-export
ETQ instructeur, je souhaite pouvoir créer un modèle d'export zip
2024-11-18 11:56:43 +00:00
mfo
babdf9536f
fix(auto_archive_procedure_job): AutoArchiveProcedureJob may take longer than its cron delay [everyminutes], when it takes more than one minute, we re-enqueue the same mails 2024-11-18 12:49:05 +01:00
mfo
2894897ad1
fix(export_template.zip): link must have kind param 2024-11-18 11:15:55 +01:00
Tom Hubrecht
071e9e025f
chore(package.json): Remove old resolutions 2024-11-18 10:35:34 +01:00
mfo
92639be88b
Merge pull request #11049 from mfo/US/more-rna-rnf-data
ETQ instructeur, je souhaite pouvoir chercher par nom d'association/fondation
2024-11-18 09:00:50 +00:00
Paul Chavard
28ca26b7ce
Merge pull request #11054 from tchak/fix-drop-down-other
fix(champ): no crash when drop_down_list with other champ value_json is nil
2024-11-18 09:00:47 +00:00
Paul Chavard
5cf90eb103
fix(champ): no crash when drop_down_list with other champ value_json is nil 2024-11-18 09:51:06 +01:00
mfo
9a70a9526d
feat(rna/rnf): expose rnf/rna title 2024-11-15 17:10:48 +01:00
mfo
cfd568b98d
feat(rna): also store rna title 2024-11-15 17:10:48 +01:00
mfo
a9237bf7f1
feat(rnf): also store rnf title 2024-11-15 17:10:48 +01:00
Eric Leroy-Terquem
bccef87cbf
wording(routing): updates after UI reviews 2024-11-15 11:41:37 +01:00
Mathieu Magnin
80c1a1af2c
Remove not used param 2024-11-15 11:07:04 +01:00
Mathieu Magnin
96bbcd68ea
[#9513] Move path related things in a ProcedurePathConcern 2024-11-15 11:07:04 +01:00
Eric Leroy-Terquem
61c8fa4601
refactor(simple routing): move button index in the component 2024-11-15 11:03:52 +01:00
Eric Leroy-Terquem
304fb9ecef
feat(simple routing): add options of list tdcs in tooltip 2024-11-15 11:03:51 +01:00
Eric Leroy-Terquem
4e8200aaf7
feat(routing): add types of routables champs 2024-11-15 11:03:51 +01:00
Eric Leroy-Terquem
05b28fb75d
feat(routing): add flash modal after simple routing configurated 2024-11-15 11:03:51 +01:00
Eric Leroy-Terquem
b006a87730
feat(simple routing): add alert info 2024-11-15 11:03:51 +01:00
Eric Leroy-Terquem
551f166873
style(simple routing): update view 2024-11-15 11:03:50 +01:00
krichtof
4b740f8f29
Merge pull request #10591 from demarches-simplifiees/9827-export-select
ETQ instructeur, je peux créer un modèle d'export tabulaire
2024-11-15 05:55:17 +00:00
Paul Chavard
cab8c351c5
Merge pull request #11046 from tchak/fix-validation-after-rebase
fix(champ): do not validate champs with changed type
2024-11-14 17:45:18 +00:00
Paul Chavard
5fa697df95
refactor(pdf): use projected champs when render pdf 2024-11-14 17:10:09 +01:00
LeSim
38ca9aaa92
Merge pull request #11037 from demarches-simplifiees/remove_old_procedure_presentation_methods
Tech: supprime les méthodes de relative aux procedure_presentations du controller instructeur. Attention, casse des migrations
2024-11-14 16:07:59 +00:00
Paul Chavard
ea5340d71a
fix(champ): do not validate champs with changed type 2024-11-14 16:53:56 +01:00
mfo
9f2aff3459
feat(export.dossier_id): not a number, a string. 2024-11-14 15:31:24 +01:00
mfo
ac6f5ba025
feat(export.datetime): ensure to cast date and time 2024-11-14 15:31:24 +01:00
mfo
6cdd801326
feat(export.linked_drop_down_list): render compound value 2024-11-14 15:31:24 +01:00
mfo
1fccf0fd18
feat(export.numbers): cast to float, otherwise it is implicitly casted
as string
2024-11-14 14:45:43 +01:00
simon lehericey
db053d36c9
fix: give format to repetition 2024-11-14 14:45:43 +01:00
mfo
e563d81b7e
feat(export.type): ensure right cast type on export. ods expecting boolean value a 0||1 2024-11-14 14:45:42 +01:00
mfo
8792cb3cfd
feat(type_de_champ_commune): add custom columns for iso export
feat(export.type): ensure right cast type on export

Co-Authored-By: LeSim <mail@simon.lehericey.net
2024-11-14 14:45:42 +01:00
mfo
3b5acaad4c
feat(ExportedColumn): use dedicated formatter for exported column 2024-11-14 14:45:42 +01:00
mfo
ed3b1bc046
feat(pj): add specialized column for PieceJustifiativeChamp 2024-11-14 14:45:42 +01:00
mfo
c209cac62f
feat(export_template): use in export service 2024-11-14 14:45:41 +01:00
mfo
f014006542
dry(export_template_form): extract checkbox component 2024-11-14 14:45:41 +01:00
Christophe Robillard
9530099d23
improve factories
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:41 +01:00
Christophe Robillard
15cea714c1
extract methods from dossier to dossier_export_concern
Co-authored-by: mfo <mfo@users.noreply.github.com>
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-11-14 14:45:41 +01:00
Christophe Robillard
10706a2712
add dropdown component for traditional or with export_template export
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:41 +01:00
Christophe Robillard
6d074abc3f
no validation if tabular export template
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:40 +01:00
Christophe Robillard
ffd1a15d91
add, edit and destroy export template with exported_columns
Co-authored-by: mfo <mfo@users.noreply.github.com>
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-11-14 14:45:40 +01:00
Christophe Robillard
f383e1c502
prepare export template to be used for tabular template
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:40 +01:00
Christophe Robillard
16b8995191
extend procedure.all_revision_types_de_champ
for header section

Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:39 +01:00
Christophe Robillard
94b3655ff7
add exported_columns to export template model
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:39 +01:00
Christophe Robillard
b2c3887520
add exported_column with its type
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:35 +01:00
Paul Chavard
e1e497bd7b
Merge pull request #10900 from tchak/refactor-dossier-rebase
ETQ dev, je ne veux pas qu'un rebase change le type d'un champ
2024-11-14 10:40:33 +00:00
Paul Chavard
942fc42af2
refactor(dossier): rebase should not change champ type 2024-11-14 11:32:12 +01:00
Paul Chavard
81eeff2474
cleanup: remove unused code 2024-11-14 11:32:12 +01:00
Mathieu Magnin
19e46ac619
Merge pull request #11038 from demarches-simplifiees/fix_404_as_500_in_production
Corrige les 404 qui finissaient en erreur 500 en production
2024-11-14 10:19:15 +00:00
LeSim
d30c0e0263
Merge pull request #11039 from demarches-simplifiees/work_on_enum_filter
ETQ Instructeur: corrections sur les filtres des champs choix multiples et liste liée
2024-11-13 15:37:58 +00:00
LeSim
02b71d0c46
Merge pull request #11040 from demarches-simplifiees/fix_sva_dossiers_tableau
ETQ Instructeur: cache la colonne de filtrage décision avant du SVA/SVR
2024-11-13 13:37:54 +00:00
simon lehericey
d2c3c91fa7
fix: hide sva decision before column 2024-11-13 10:44:51 +01:00
simon lehericey
e94fd6db4c
fix: filtering on linked_drop_down_column 2024-11-13 10:22:29 +01:00
simon lehericey
09793420fb
fix: make enums filter work if champs.enums contains the searched value among others 2024-11-12 17:49:07 +01:00
simon lehericey
50677e982c
refactor: simplify and sanitize filter_ilike 2024-11-12 17:40:55 +01:00
simon lehericey
343ad1a81c
refactor: simplify filter_enum 2024-11-12 17:01:38 +01:00
Paul Chavard
0617f4c3e8
Merge pull request #11027 from tchak/refactor-champ-same-type
refactor(champ): add is_type? method
2024-11-12 13:05:20 +00:00
Paul Chavard
8db85b4de3
Merge pull request #11029 from tchak/refactor-type-de-champ-predicates
refactor(type_de_champ): cleanup type predicate methods
2024-11-12 13:04:50 +00:00
simon lehericey
cdc45cd6af
clean: ignore obsolete procedure_presentation columns 2024-11-12 13:52:09 +01:00
Mathieu Magnin
7fbe5dda98
Capture exception on sentry if something is wrong 2024-11-12 13:32:49 +01:00
Mathieu Magnin
1e7b5a56e4
Fix the hidden error: 'private method 'current_user' called for an instance of ErrorsController' 2024-11-12 13:26:41 +01:00
simon lehericey
947ef3498b
clean: remove old procedure_presentation methods from procedures_controller 2024-11-12 12:33:10 +01:00
LeSim
22ab0f4eca
Merge pull request #11025 from demarches-simplifiees/add-spec-for-sorted-by-labels
Ajout d'un test suite au bug de tri par labels
2024-11-12 11:17:42 +00:00
Paul Chavard
bacdedec2e
refactor(champ): add is_type? method 2024-11-12 12:10:25 +01:00
Paul Chavard
dc6bad40fe
refactor(type_de_champ): cleanup type predicate methods 2024-11-12 12:02:08 +01:00
LeSim
f2b33677f8
Merge pull request #11036 from colinux/add-users-unconfirmed-email-index
Tech: ajoute index sur `users#unconfirmed_email`
2024-11-12 10:51:45 +00:00
LeSim
e84071a14a
Merge pull request #11035 from demarches-simplifiees/use_new_controller_to_sort_notification
Tech: déplace le le tri par notification vers le controller dédié
2024-11-12 10:18:52 +00:00
Colin Darie
92f2d2901d
chore(schema): add unconfirmed_email index to users 2024-11-12 11:17:18 +01:00
simon lehericey
ec9a88a64e
simplify new 2024-11-12 10:30:35 +01:00
simon lehericey
b3fd3e6570
move last call to procedure_presentation controller 2024-11-12 10:30:35 +01:00
LeSim
72d8e43b2a
Merge pull request #11034 from demarches-simplifiees/fix_json_projection
Instructeur: corrige l'affichage de données api dans le tableau d'une démarche
2024-11-12 08:38:41 +00:00
simon lehericey
6f010cd2c5
fix: dossier projection for json column 2024-11-12 09:28:00 +01:00
Eric Leroy-Terquem
00302b858c
Merge pull request #11032 from demarches-simplifiees/catch-minimagick-error
Technique : gestion d'une erreur de ImageProcessorJob
2024-11-08 13:19:37 +00:00
LeSim
5c3b8f1e1c
Merge pull request #11026 from demarches-simplifiees/inject_options_in_column
Tech: injecte les options des colonnes de type `enum`, retire scope et value_column du new
2024-11-08 09:06:58 +00:00
Paul Chavard
bc7f39a053
Merge pull request #11030 from tchak/fix-image-processor-error
fix(process_image): sometimes last is nil 🤷‍♂️
2024-11-07 20:50:49 +00:00
simon lehericey
1424fca469
other option for groupe instructeurs injection 2024-11-07 18:11:43 +01:00
simon lehericey
08fb49d176
factorize departements and regions options 2024-11-07 18:11:43 +01:00
simon lehericey
aa8ce15c2a
you know what ? value_column is a column 2024-11-07 18:11:43 +01:00
simon lehericey
8599dd829a
remove obsolete column.to_json 2024-11-07 18:11:43 +01:00
simon lehericey
17531b73b7
internalize value_column inside champ_column 2024-11-07 18:11:42 +01:00
simon lehericey
9d976b8d95
move filtering logic inside champ_column 2024-11-07 18:11:42 +01:00
simon lehericey
055069755a
small cleaning in column_concern_spec 2024-11-07 18:11:42 +01:00
simon lehericey
32d3ec2dc3
add shortcut for DossierColumn.new 2024-11-07 18:11:41 +01:00
simon lehericey
9fd3a460cd
remove scope arg from column.new 🎉 2024-11-07 18:11:41 +01:00
simon lehericey
5532a8a48f
small cleaning in filter_value_component 2024-11-07 18:11:41 +01:00
simon lehericey
60947f2b97
use it in filter_value_component 2024-11-07 18:11:41 +01:00
simon lehericey
1277500069
inject groupe_instructeurs when possible 2024-11-07 18:11:40 +01:00
simon lehericey
e2bc45dc4a
inject dossier_state at build time 2024-11-07 18:11:40 +01:00
simon lehericey
2b6cc49541
inject dossier_labels at dossier_labels_column build time 2024-11-07 18:11:40 +01:00
simon lehericey
f5227f9609
move options_for_select from champ_column to column 2024-11-07 18:11:40 +01:00
simon lehericey
f8dc1d1533
use column.options_for_select 2024-11-07 18:11:39 +01:00
simon lehericey
92e29c6e13
one if less deep 2024-11-07 18:11:39 +01:00
simon lehericey
cd3e645046
sort departement options 2024-11-07 18:11:39 +01:00
simon lehericey
690d2c6258
inject options in champ_column 2024-11-07 18:11:39 +01:00
simon lehericey
db2e4cf802
inject options_for_select for json_column 2024-11-07 18:11:38 +01:00
simon lehericey
49d3661441
inject options_for_select for linked_drop_down_column 2024-11-07 18:11:38 +01:00
simon lehericey
9e5713f470
a champ_column can have options_for_select 2024-11-07 18:11:38 +01:00
simon lehericey
2c8ee1f2c1
clean: use groupe_instructeur? 2024-11-07 18:11:38 +01:00
Eric Leroy-Terquem
523c56f60b
fix(image processing): catch minimagick error caused by png path 2024-11-07 17:25:23 +01:00
Paul Chavard
ebf839f37b
fix(process_image): sometimes last is nil 🤷‍♂️ 2024-11-07 12:50:42 +01:00
Lisa Durand
a0bd85f247
fix order by label name 2024-11-07 11:39:32 +01:00
Paul Chavard
ae7260829d
Merge pull request #11022 from tchak/fix-image-processor-blob-not-found-error
ETQ dev, je souhaite ignorer les erreurs MiniMagick connues
2024-11-07 10:11:32 +00:00
Eric Leroy-Terquem
510799bf23
Merge pull request #10957 from demarches-simplifiees/update-configuration-routage-interface-v2
ETQ administrateur j'ai une nouvelle interface de configuration du routage
2024-11-07 09:15:56 +00:00
Eric Leroy-Terquem
5376b70167
feat(routing): update names of groupe instructeurs created with custom routing 2024-11-07 09:12:14 +01:00
Eric Leroy-Terquem
5c53c6b86c
feat(routing): add modal once custom routing is configurated 2024-11-07 09:12:13 +01:00
Eric Leroy-Terquem
7caadc3b40
refactor(routing): rename routage_custom to custom_routing 2024-11-07 09:12:13 +01:00
Eric Leroy-Terquem
b511eb2db7
feat(instruction routage choice): update view 2024-11-07 09:12:13 +01:00
Eric Leroy-Terquem
f53af82f14
feat(instruction routage choice): add back link instead of menu 2024-11-07 09:12:13 +01:00
Eric Leroy-Terquem
5ff09d1f9e
clean(wording): use right character for apostrophe 2024-11-07 09:12:13 +01:00
Eric Leroy-Terquem
1e99c122b7
feat(instruction options management): add link to go back to procedure 2024-11-07 09:12:12 +01:00
Lisa Durand
27f14954b6
add-spec-for-sorted-by-labels 2024-11-06 16:30:46 +01:00
LeSim
bbe6ab6b3e
Merge pull request #11024 from demarches-simplifiees/fix-sorted-by-label
bug sur le tableau si on trie par ordre de labels
2024-11-06 14:27:39 +00:00
Lisa Durand
52ffe3c89a
fix-sorted-by-label 2024-11-06 15:18:06 +01:00
Paul Chavard
a9bb228f8e
fix(image_processor): discard job on known errors 2024-11-06 15:03:50 +01:00
Paul Chavard
f88de46d8d
fix(image_processor): a blob can be deleted at any time while processing 2024-11-06 11:59:25 +01:00
LeSim
4be4f5136e
Merge pull request #11021 from demarches-simplifiees/small_fixes_on_columns
Tech: petits correctifs sur les colonnes
2024-11-06 10:05:37 +00:00
simon lehericey
dae9a40c5c
fix: the option is mandatory in an enum filter 2024-11-06 10:55:48 +01:00
Colin Darie
90c2e09863
Merge pull request #11019 from colinux/replace-scss-lint
ETQ tech: remplace scss-lint par prettier
2024-11-06 09:54:09 +00:00
simon lehericey
f942675782
send full messages to sentry 2024-11-06 10:52:23 +01:00
Paul Chavard
a4bd2aac0e
Merge pull request #10982 from tchak/refactor-used_by_roules
ETQ dev je ne veux pas que TypeDeChamp expose `revision` et `procedure`
2024-11-05 21:05:07 +00:00
Paul Chavard
5182af820a
refactor(type_de_champ): type_de_champ should not expose revision or procedure 2024-11-05 21:57:05 +01:00
Paul Chavard
df0dbc1321
cneanup(tdc): this behavior moved 2024-11-05 21:57:05 +01:00
Paul Chavard
580002e5f5
cleanup: remove dead code 2024-11-05 21:57:05 +01:00
Paul Chavard
c0da8d1556
refactor(tdc): tdc.columns should take procedure instead of procedure_id 2024-11-05 21:57:04 +01:00
Paul Chavard
3ce36222b4
refactor(procedure): refactor procedure publish methods 2024-11-05 21:55:08 +01:00
Colin Darie
0eb28b9607
fix(css): apply prettier 2024-11-05 19:02:31 +01:00
Colin Darie
8e3ca472ff
chore: replace scss-lint (deprecated) by prettier 2024-11-05 18:57:48 +01:00
Colin Darie
1d2c8e15b2
Merge pull request #11018 from colinux/ignore-invalid-images
ETQ tech, réduit l'impact d'images invalides sur sentry
2024-11-05 16:21:37 +00:00
Eric Leroy-Terquem
3f43e3433a
Merge pull request #10918 from demarches-simplifiees/gallery_v2_add_origins
ETQ instructeur je vois dans la galerie les pjs issues des avis, annotations privées et justificatifs de décision
2024-11-05 16:01:32 +00:00
Colin Darie
e2f3f236de
chore(image): don't try to process empty images 2024-11-05 16:57:59 +01:00
Colin Darie
2656ec18af
chore(image): ignore invalid images files / formats 2024-11-05 16:57:16 +01:00
Eric Leroy-Terquem
efef61c34c
feat(gallery): add attachments from justificatif motivation 2024-11-05 16:53:41 +01:00
Eric Leroy-Terquem
17aaa7b32c
feat(gallery): display right tag for annotation privée 2024-11-05 16:53:41 +01:00
Eric Leroy-Terquem
2e2d2afecb
feat(gallery): add attachments from commentaires from experts 2024-11-05 16:53:40 +01:00
Eric Leroy-Terquem
ad98bafeca
feat(gallery): notify instructeur if pieces jointes added in avis 2024-11-05 16:53:40 +01:00
Eric Leroy-Terquem
8d8e290659
db(migration): add last_avis_piece_jointe_updated_at to dossiers 2024-11-05 16:53:40 +01:00
Eric Leroy-Terquem
d10df6e17c
feat(gallery): add attachments from avis 2024-11-05 16:53:40 +01:00
LeSim
e95e86faae
Merge pull request #9952 from demarches-simplifiees/better_api_token_edition
Admin: permet d'éditer la liste des démarches accessibles par un jeton d'api
2024-11-05 14:37:51 +00:00
simon lehericey
775e423914
can remove a demarche 2024-11-05 15:24:50 +01:00
simon lehericey
bc583e0fe2
can add a demarche 2024-11-05 15:24:50 +01:00
Corinne Durrmeyer
1e18b66012
Merge pull request #11016 from demarches-simplifiees/a11y-miscellaneous
Corrige diverses coquilles
2024-11-05 14:23:15 +00:00
simon lehericey
928c12e065
update using turbo 2024-11-05 15:05:00 +01:00
simon lehericey
b7af591e8d
extract libelle_id_procedures 2024-11-05 15:05:00 +01:00
Eric Leroy-Terquem
a2446c429a
Merge pull request #10935 from demarches-simplifiees/update-instruction-options-interface
ETQ admin j'ai une nouvelle interface pour les options de l'instruction
2024-11-05 14:00:46 +00:00
Eric Leroy-Terquem
d979bf6c68
feat(instruction options management): add routable champs by category 2024-11-05 14:41:37 +01:00
Eric Leroy-Terquem
264594fd58
feat(instruction options management): update alert info and confirmation 2024-11-05 14:41:37 +01:00
mfo
9ec59669c3
Merge pull request #10989 from mfo/US/fix-navigation-after-add-instructeur
ETQ instructeur, après avoir invité un instructeur sur ma démarche, je souhaite pouvoir continuer a naviguer dans ma liste d'instructeur
2024-11-05 13:39:06 +00:00
Corinne Durrmeyer
d44d8f526e
fix(trad) Correct misspelled key 2024-11-05 14:36:15 +01:00
Corinne Durrmeyer
82963efb60
fix(typo) Correct misspelled attribute 2024-11-05 14:25:07 +01:00
Corinne Durrmeyer
4ad4f9be0b
fix(outdated code) Remove useless condition 2024-11-05 14:23:08 +01:00
Corinne Durrmeyer
95acc0adb6
Add context to delete button 2024-11-05 14:17:22 +01:00
Eric Leroy-Terquem
c10bec342a
Merge pull request #11012 from demarches-simplifiees/update-export-administration-info
ETQ superadmin je peux générer les exports adaptés pour la newsletter
2024-11-05 12:44:45 +00:00
mfo
47f2194e92
fix(Administrateurs::GroupesInstructeur#add_instructeur): re-rendering a template lead to miss usage of pagination. redirect after add_instructeur 2024-11-05 11:34:05 +01:00
Corinne Durrmeyer
d61078d01a
Merge pull request #11003 from demarches-simplifiees/a11y-improve-hint-restitution
ETQ usager, utilisant un lecteur d'écran je veux être informé du nombre de caractères restants ou en trop dans un textarea
2024-11-05 10:01:20 +00:00
Colin Darie
594fc517d1
Merge pull request #10943 from colinux/feat-admin-prefill-service
ETQ admin mes informations de nouveau service sont pré-remplies à partir d'API publiques
2024-11-05 09:54:53 +00:00
Paul Chavard
d1565a67a0
Merge pull request #11011 from demarches-simplifiees/US/extract-pj-column
ETQ tech, je peux acceder aux pj via les columns
2024-11-05 09:39:25 +00:00
Colin Darie
4e80f16b9f
Merge pull request #10974 from demarches-simplifiees/remove_empty_brouillon
Tech: ajoute un scope pour détecter les brouillons vides
2024-11-05 09:32:16 +00:00
Corinne Durrmeyer
d0bb869549
Merge pull request #11009 from demarches-simplifiees/a11y-rnf-rna
ETQ usager utilisant un lecteur d'écran, je veux être informé du résultat retourné par la recherche d'un numéro RNF
2024-11-05 09:30:04 +00:00
Eric Leroy-Terquem
ddb238ccd0
Merge pull request #11007 from demarches-simplifiees/can-condition-on-pays-champ
ETQ admin je peux conditionner / router depuis un champ pays
2024-11-05 09:26:20 +00:00
mfo
9d13ebb3ff
feat(pj): add specialized column for attachments 2024-11-05 10:09:59 +01:00
Eric Leroy-Terquem
2ff224ec47
refactor(manager data exports): extract method to generate csv 2024-11-05 10:00:14 +01:00
Eric Leroy-Terquem
d5de21fac4
feat(manager data exports): add exports for newsletter 2024-11-05 10:00:14 +01:00
Eric Leroy-Terquem
7cf81d3e9b
refactor(manager data exports): renaming methods 2024-11-05 10:00:14 +01:00
LeSim
4f0713a764
Merge pull request #11005 from demarches-simplifiees/work_on_json_path_column
ETQ Instructeur, je peux voir et filtrer sur les données retournées par API
2024-11-05 08:46:44 +00:00
Lisa Durand
c462425db2
Merge pull request #10976 from demarches-simplifiees/feat-admin-can-modify-labels
ETQ instructeur, je veux pouvoir apposer un label à un dossier (part 2)
2024-11-05 08:39:40 +00:00
simon lehericey
c364be12f1
rework ChampColumn.value 2024-11-05 09:38:29 +01:00
simon lehericey
ea57a97c06
introduce tdc_type 2024-11-05 09:38:27 +01:00
simon lehericey
52aaff5ffc
breaking: simplify linked_drop_down_column column_id 2024-11-05 09:38:27 +01:00
simon lehericey
0b2bc68d48
remove unused type_de_champ_private string 2024-11-05 09:38:27 +01:00
simon lehericey
7e9b68ed0e
fix projection 2024-11-05 09:38:27 +01:00
simon lehericey
8507733250
use champ_column.stable_id 2024-11-05 09:38:27 +01:00
simon lehericey
74e6834ce2
use path instead of value_column in linked_drop_down 2024-11-05 09:38:27 +01:00
simon lehericey
de8cad888e
LinkedDropDownColumn is also a ChampColumn by the way 2024-11-05 09:38:26 +01:00
simon lehericey
9d6304e7d4
TitreIdentite is a ChampColumn 2024-11-05 09:38:26 +01:00
simon lehericey
a4617abb0e
rework JSONPathColumn to be a ChampColumn 2024-11-05 09:38:26 +01:00
simon lehericey
d03d5d0dae
add ChampColumn 2024-11-05 09:38:26 +01:00
Corinne Durrmeyer
d1c9da0a0a
fix(RNA) Add translation of missing error message 2024-11-04 17:05:03 +01:00
Corinne Durrmeyer
a3c3db5434
fix(outdated code) Remove useless class 2024-11-04 17:05:02 +01:00
Corinne Durrmeyer
2b3ad15f07
fix(fr-hint-text) Ensures that screen readers can read the hyphens in the RNF example 2024-11-04 17:05:02 +01:00
Corinne Durrmeyer
f59834015f
fix(RNF verification) Return search results to assistive technology 2024-11-04 17:05:02 +01:00
Lisa Durand
dcf56616c3
rename ProcedureLabel by Label part 2 2024-11-04 16:48:47 +01:00
Lisa Durand
468c159b52
handle label color translation and class name 2024-11-04 16:48:47 +01:00
Lisa Durand
9595730fde
feedback PR - prettier url and other style improvement 2024-11-04 16:48:47 +01:00
Lisa Durand
507ea70398
improve color selection for Admin and improve generic label lists 2024-11-04 16:48:47 +01:00
Lisa Durand
725a97da7e
admin can modify procedure labels 2024-11-04 16:48:46 +01:00
Lisa Durand
35dee477ea
rename ProcedureLabel by Label 2024-11-04 16:48:44 +01:00
Lisa Durand
1a3f73eb01
dont display tags on show if no label in procedure 2024-11-04 16:48:11 +01:00
Lisa Durand
84c2965edf
fix scss linter 2024-11-04 16:48:11 +01:00
Colin Darie
fd38288cf8
fix(label): don't html_safe user label from bdd 2024-11-04 16:48:11 +01:00
Lisa Durand
e723c9e365
create generic label for procedure in controller instead of using a hook 2024-11-04 16:48:11 +01:00
Lisa Durand
f68f4c88eb
correction after first review 2024-11-04 16:48:11 +01:00
Lisa Durand
c0dc487732
add css to custom tags and display labels with correct UI 2024-11-04 16:48:11 +01:00
Lisa Durand
9ab49a08b1
remove old badge css and only use DSFR 2024-11-04 16:48:11 +01:00
Lisa Durand
3a45524d39
add column label to procedure table 2024-11-04 16:48:00 +01:00
simon lehericey
a5b8b936d5
a column can override its column_id 2024-11-04 16:34:38 +01:00
Lisa Durand
d0b1292060
instructeur can add and delete labels on dossier show 2024-11-04 16:05:35 +01:00
Lisa Durand
2006dd283f
create dossier_labels 2024-11-04 16:05:35 +01:00
Lisa Durand
96cfb6cc43
create generic labels for old and new procedure 2024-11-04 16:05:35 +01:00
Lisa Durand
9dd224c3c7
create procedure_labels 2024-11-04 16:05:31 +01:00
Colin Darie
8b3634ea76
refactor(service): dedicated route for prefill from siret 2024-11-04 15:13:42 +01:00
Colin Darie
384d089cb3
feat(service): prefill first service with AgentConnect siret 2024-11-04 12:50:49 +01:00
Colin Darie
7742703081
refactor(service): concurrent prefill API calls 2024-11-04 12:50:49 +01:00
Colin Darie
065d380b70
feat(service): prefill type organisme from API Entreprise 2024-11-04 12:50:49 +01:00
Colin Darie
68cca71318
feat(service): prefill contact information UI interactions 2024-11-04 12:50:49 +01:00
Colin Darie
21dc77e587
fix(input): don't show success feedback when value was not set 2024-11-04 12:48:13 +01:00
Colin Darie
8dc47c1b93
feat(service): prefill contact information from annuaire service public 2024-11-04 12:48:13 +01:00
Colin Darie
a4054053f7
refactor(admin): move siret input up 2024-11-04 12:48:13 +01:00
Corinne Durrmeyer
f457c174ee
fix(character_limit) Return number of remaining or excess characters to screen reader 2024-11-04 12:17:34 +01:00
Corinne Durrmeyer
d7c97f5775
fix(fr-hint-text) Ensures that screen readers can read the point in the decimal number 2024-11-04 12:17:32 +01:00
Corinne Durrmeyer
1c99a7c187
fix(character_limit_base) Displays the number of characters recommended for everyone 2024-11-04 12:15:11 +01:00
Corinne Durrmeyer
83c942c338
Merge pull request #10993 from demarches-simplifiees/a11y-specific-fields
ETQ usager, je veux que le titre du modèle de pièce jointe reprenne l'intitulé visible
2024-11-04 10:47:00 +00:00
Paul Chavard
ef8f74c708
Merge pull request #10971 from tchak/refactor-champ-value-blank
refactor(champ): move champ.blank? implementation to type_de_champ
2024-11-04 10:28:45 +00:00
Paul Chavard
415be4f9ea
feat(type_de_champ): test value casts 2024-11-04 11:16:05 +01:00
Paul Chavard
aeb1d1c53a
refactor(champ): move champ.blank? implementation to type_de_champ 2024-11-04 11:16:05 +01:00
Eric Leroy-Terquem
30aa0b71d0
feat(routing): can create simple routing with pays tdc 2024-11-04 11:09:58 +01:00
Eric Leroy-Terquem
b29893a843
feat(conditional): can condition and route with pays tdc 2024-11-04 11:09:37 +01:00
Paul Chavard
b02f95336f
Merge pull request #11006 from tchak/no-more-java
refactor(column): no more java 🎉 get_value -> value
2024-11-04 08:56:33 +00:00
Paul Chavard
7fddec484d
refactor(column): no more java 🎉 get_value -> value 2024-10-31 21:36:13 +01:00
Paul Chavard
af33e6a0e9
Merge pull request #10997 from tchak/only-create-fillable-columns
ETQ dev, je ne veux pas de colonnes sur les champs où ça n'a pas de sens
2024-10-31 16:14:13 +00:00
Paul Chavard
503da1d160
chore: implement special columns 2024-10-31 13:57:23 +01:00
Paul Chavard
e9991573e7
chore: columns on some champs at this point do not make sense 2024-10-31 13:29:15 +01:00
Paul Chavard
e2ace4f6bd
chore: only create columns on fillable champs 2024-10-31 13:29:15 +01:00
LeSim
10e3faec92
Merge pull request #10990 from demarches-simplifiees/simplify_procedure_presentation_update
Tech: extrait la mise à jour du procedure_presentation dans son propre controller
2024-10-31 10:23:14 +00:00
simon lehericey
f27598f235
fix: assign_to.procedure_presentation should return an ActiveModel::Errors if needed
the caller will then calls `errors.full_messages`
2024-10-31 11:03:06 +01:00
simon lehericey
59b7b3dc91
tag old methods to be remove in a next pr 2024-10-31 11:03:06 +01:00
simon lehericey
c28087ba3b
move human_value_for_filter to filter_buttons_component 2024-10-31 11:03:06 +01:00
simon lehericey
f50e63ea40
remove useless conversion 2024-10-31 11:03:06 +01:00
simon lehericey
1268f323cb
move filter button to component and use plug it to new route 2024-10-31 11:03:06 +01:00
simon lehericey
a0671a1321
remove prefix, use status in controller 2024-10-31 10:54:29 +01:00
simon lehericey
b4ed393a55
extract column_filter_value 2024-10-31 10:54:28 +01:00
simon lehericey
c8332b5e22
column: add more identifier 2024-10-31 10:54:28 +01:00
simon lehericey
13356f26c3
remove procedure from component signature 2024-10-31 10:54:28 +01:00
simon lehericey
d421d41e16
plug refresh_column_filter to dedicated controller 2024-10-31 10:54:28 +01:00
simon lehericey
7ed0b91351
plug column_filter, column_picker, column_header in new controller 2024-10-31 10:54:28 +01:00
simon lehericey
d8e63221b5
extract a procedure_presentation controller 2024-10-31 10:26:43 +01:00
mfo
11d4465bf5
Merge pull request #10992 from demarches-simplifiees/align-column-naming-and-prepare-columns-for-export
WIP – tech: ETQ instructeur, amélioration du nommage des colonnes pour les filtres/display/export. préparation du nommage des colonnes a exporter
2024-10-31 06:13:38 +00:00
simon lehericey
ab9a0fc34f
remove extraneous flatten compact 2024-10-30 18:34:11 +01:00
simon lehericey
5981de90a2
use Columns::DossierColumn 2024-10-30 18:30:38 +01:00
simon lehericey
96cd4fda72
ensure exported columns existed in main columns function 2024-10-30 18:28:25 +01:00
simon lehericey
d618f7cc0f
only expose chorus col when necessary 2024-10-30 18:28:25 +01:00
simon lehericey
92a863d48c
remove_all as there is no some_usager_columns 2024-10-30 18:28:25 +01:00
simon lehericey
2181a917a2
move col def to private when possible 2024-10-30 18:28:25 +01:00
mfo
656080538b
review(pull/10591#discussion_r1818942794): remove tested enum labels 2024-10-30 18:28:25 +01:00
mfo
26a078bc45
feat(naming): enhance naming of dates columns. 2024-10-30 18:28:24 +01:00
mfo
fa50e21101
review(pull/10591#discussion_r1818919818): export without user id 2024-10-30 18:28:24 +01:00
mfo
cbb9854f4c
review(pull/10591#discussion_r1818916426): extract groupe_instructeurs_column and followers_instructeurs_email_column 2024-10-30 18:28:24 +01:00
mfo
3bed049a29
tech(style): prefix columns builders by their table, easier to understand 2024-10-30 18:28:24 +01:00
mfo
fc45e537cf
review(pull/10591#discussion_r1818914395): extract and dry archived/motivation column 2024-10-30 18:28:24 +01:00
mfo
d9fc48ad70
review(10591#discussion_r1818752344): homogenize interface for columns builders 2024-10-30 18:28:24 +01:00
mfo
8afe4374c7
review(pull/10591#discussion_r1818744664): extract some column builder 2024-10-30 18:28:23 +01:00
Christophe Robillard
df71c6a689
align columns naming and order for filter and add for export
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-30 18:28:23 +01:00
LeSim
0e589fc7ad
Merge pull request #10984 from demarches-simplifiees/fix-image-processor-job-errors
Technique : gestion des cas d'erreurs de ImageProcessorJob
2024-10-30 14:43:43 +00:00
Corinne Durrmeyer
f96673e325
Merge pull request #10998 from demarches-simplifiees/a11-map-missing-trad
ETQ usager, je veux que le composant carte soit traduit sur la version anglaise
2024-10-30 14:09:20 +00:00
Corinne Durrmeyer
861514dba9
Add translations to card component 2024-10-30 14:53:01 +01:00
Paul Chavard
0b5803dae6
Merge pull request #10994 from tchak/column-get-value
feat(column): add column get_value
2024-10-30 11:29:48 +00:00
mfo
54c9e46df0
feat(shared/_piece_justificative_template): forward traduction for better naming of download title element
Co-Authored-By: Corinne Durrmeyer <corinne@inseo.fr>
2024-10-30 09:51:05 +01:00
Paul Chavard
c6329ef10a
feat(column): add column get_value 2024-10-30 08:10:50 +01:00
Corinne Durrmeyer
f72c55631c
fix(trad): Add traduction to supporting document 2024-10-29 16:47:16 +01:00
Corinne Durrmeyer
340595cc86
fix(trad): Remove useless entries 2024-10-29 12:37:21 +01:00
Corinne Durrmeyer
6230346472
fix(trad): Typo 2024-10-29 12:27:44 +01:00
Corinne Durrmeyer
10909c8879
Merge pull request #10965 from demarches-simplifiees/a11y-process-screen-2
Restitution des bandeau de statut (erreur ou succès)
2024-10-28 10:34:38 +00:00
mfo
2429f11d5c
fix(spec): fill_in(label) search by grep like, so if another label contains your label, you got an Ambiguous match 2024-10-28 10:39:36 +01:00
mfo
af878ca5b7
Merge pull request #10988 from mfo/US/fix-exports-recasting-simple-to-multiple
Correctif: ETQ instructeur je peux exporter des mes dossiers au format xlsx même si le formulaire usager a changer
2024-10-28 08:55:55 +00:00
mfo
e24caeb4e2
Merge pull request #10986 from demarches-simplifiees/typo
Admin: corrige une typo dans le panneau d'inélégibilité
2024-10-25 14:06:47 +00:00
mfo
d66487138f
fix(sentry#6013588148): allowing recasting from drop_down_list to multiple_drop_down_list raises due to call to .selected_options 2024-10-25 13:49:32 +02:00
simon lehericey
6898287dac
fix: typo in ineligibilite panel 2024-10-25 11:07:35 +02:00
LeSim
ee3ee8f78c
Merge pull request #10985 from tchak/fix-email-checker
fix(email-checker): success can have no suggestions
2024-10-25 09:05:13 +00:00
Eric Leroy-Terquem
93fcd4ad49
fix(image processing): do not uninterlace if no png path 2024-10-24 18:48:27 +02:00
Eric Leroy-Terquem
4dc13cc56c
fix(image processing): process only authorized image and pdf types 2024-10-24 18:48:27 +02:00
Eric Leroy-Terquem
e6845cd94d
fix(image processing): handle case of blob without attachments 2024-10-24 18:48:27 +02:00
Paul Chavard
406516a346
fix(email-checker): success can have no suggestions 2024-10-24 13:17:54 +02:00
LeSim
69e1b1be41
Merge pull request #10983 from demarches-simplifiees/fix_empty_filter
Instructeur: corrige les pb d'affichage des listes de dossiers dans le cas de fitre vide
2024-10-24 10:28:17 +00:00
simon lehericey
d32a4a24d9
fix: do not allow empty filter in views 2024-10-24 12:06:33 +02:00
simon lehericey
b22f049318
fix: do not allow empty filter in models 2024-10-24 12:06:32 +02:00
Paul Chavard
c56aa67297
Merge pull request #10980 from colinux/helpscout-more-validation
ETQ tech, réduit le bruit Helpscout sur Sentry
2024-10-24 09:31:51 +00:00
Eric Leroy-Terquem
56b1355f71
Merge pull request #10970 from demarches-simplifiees/add-multicombobox-in-instructeur-interface
ETQ instructeur je peux ajouter plusieurs instructeurs à la fois
2024-10-24 07:38:42 +00:00
Colin Darie
eaa3350b77
feat(contact): delete contact forms when max attempts has been reached 2024-10-23 17:05:27 +02:00
Colin Darie
4b48ee02cd
fix(helpscout): limit retries to a few hours 2024-10-23 16:58:15 +02:00
Colin Darie
84ae13eb6b
fix(helpscout): don't create conversation with an empty attachment 2024-10-23 16:57:54 +02:00
mfo
84870615d8
feat(flash_messages): dry up code and ensure turbo_force: :server otherwise morphing does not refresh page with new attrs 2024-10-23 16:13:30 +02:00
Corinne Durrmeyer
dd362055df
Remove useless code 2024-10-23 14:58:21 +02:00
Corinne Durrmeyer
f3d0968da1
Enable restitution of morphed messages 2024-10-23 14:57:55 +02:00
Corinne Durrmeyer
c91d8698bd
Remove useless note for screen readers 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
536160f83e
Remove useless aria-live attribute 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
e21ebc75e1
Explain context of the 'revoke authorization' link to assistive technologies 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
fd049f6025
Improve status message delivery to assistive technologies 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
4e64eb1af5
Hide pesudo-element content from assistive technologies 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
48f1cd4a4a
Enhance contrast of notification dot 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
d86673156f
Specify current stage in title 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
b0b1cdbbeb
Remove duplicate id 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
a1abaa4ac2
Replace span by div & tab-index by tabindex 2024-10-23 14:00:23 +02:00
Paul Chavard
1b188f65b0
Merge pull request #10977 from tchak/champ-oui-non-improve-format-on-export
ETQ Instructeur, je veux pouvoir faire la différence entre un champ Oui/Non vide et “Non”
2024-10-23 09:24:57 +00:00
Benoit Queyron
2b8e2b41da
Merge pull request #10968 from demarches-simplifiees/tech-nettoyage-options-header-section
Tech: task, nettoyage des options des header_section
2024-10-23 09:23:53 +00:00
Paul Chavard
05913b4409
Merge pull request #10978 from tchak/fix-some-sentry-js-errors
fix(js): fix sentry errors
2024-10-23 09:23:22 +00:00
benoitqueyron
1169dae310
task: clean header_section options 2024-10-23 10:35:07 +02:00
Mathieu Magnin
ba54890632
Merge pull request #10967 from demarches-simplifiees/fix-10966
Fix 500 when email is malformed
2024-10-23 07:23:07 +00:00
Paul Chavard
b5c7e78bbf
fix(js): fix sentry errors 2024-10-22 22:14:45 +02:00
Paul Chavard
08490bfb82
ETQ Instructeur, je veux pouvoir faire la difference entre un champ Oui/Non vide et “Non” 2024-10-22 21:18:17 +02:00
Eric Leroy-Terquem
fa449d3e41
fix(instructeurs test): avoid duplication of instructor with same email 2024-10-22 17:33:31 +02:00
Eric Leroy-Terquem
81cbda0553
feat(instructeurs): can add many instructeurs 2024-10-22 17:31:31 +02:00
LeSim
f04e052dc9
Merge pull request #10959 from thibpoullain/fix/procedure_minimal_admin
🛠️ Fix | Procedure minimal admins presence
2024-10-22 15:11:34 +00:00
Thibaut Poullain
b969c1717f
🛠️ Fix | add test to the minimal admin presence for procedure 2024-10-22 17:01:57 +02:00
Thibaut Poullain
5195ebd5c7
🛠️ Fix | Procedure minimal admins presence 2024-10-22 17:01:57 +02:00
Paul Chavard
857f68c912
Merge pull request #10975 from tchak/refactor-export-repetition
refactor(export): do not use dossier.champs in export
2024-10-22 12:34:29 +00:00
Benoit Queyron
4844696f5c
Merge pull request #10973 from demarches-simplifiees/etq-admin-bug-affichage-service
ETQ Admin: amélioration de l'affichage des services
2024-10-22 12:04:51 +00:00
Paul Chavard
51a8c3cf98
refactor(export): do not use dossier.champs in export 2024-10-22 12:31:40 +02:00
simon lehericey
0137763d42
feat: add empty_brouillon scope 2024-10-22 12:03:03 +02:00
benoitqueyron
9a55cd8002
correction affichage service au dsfr 2024-10-21 18:36:01 +02:00
Paul Chavard
0e95381002
Merge pull request #10958 from tchak/refactor-champ-value
refactor(champ): move champ value format methods from TypeDeChamp class to instance
2024-10-21 11:55:17 +00:00
Paul Chavard
94b06cb50f
fix(logic): we need to expose raw typed values for champs 2024-10-21 13:09:49 +02:00
Paul Chavard
5024b5b549
refactor(champs): no need to project empty champs for tag 2024-10-21 13:09:49 +02:00
Paul Chavard
1ded040730
fix(iban): format iban through type_de_champ 2024-10-21 13:09:49 +02:00
Paul Chavard
02934188b4
refactor(champ): move champ value format methods from TypeDeChamp class to instance 2024-10-21 13:09:49 +02:00
Eric Leroy-Terquem
cdaa94d5f6
Merge pull request #10963 from demarches-simplifiees/fix-pdf-preview-display
Technique: affiche les vignettes de pdf dans la galerie en l'absence de ImageMagick et pdftoppm sur les machines web
2024-10-21 08:40:58 +00:00
Paul Chavard
79711f6901
Merge pull request #10969 from tchak/fix-dossier-preloader-with-champs-outside-of-revision
fix(dossier): fix preloader with champs outside of revision
2024-10-21 08:11:17 +00:00
Paul Chavard
fb07bdb8aa
fix(dossier): fix preloader with champs outside of revision 2024-10-18 18:17:17 +02:00
Eric Leroy-Terquem
cef89aeb04
Merge pull request #10964 from demarches-simplifiees/fix-follows-with-nil-pieces-jointes-seen-at
Correctif : met à jour des follows avec un `attribut pieces_jointes_seen_at` nul
2024-10-18 15:06:43 +00:00
Eric Leroy-Terquem
d17b913ccc
db(task): set a date_time to pieces_jointes_seen_at for remaining follows 2024-10-18 16:43:28 +02:00
Mathieu Magnin
478103b01a
[#10966] Fix 500 when email is malformed 2024-10-18 16:22:13 +02:00
Eric Leroy-Terquem
6888a3da94
fix(gallery): display pdf previews without ImageMagick and pdftoppm installed in web machines 2024-10-18 15:06:04 +02:00
Corinne Durrmeyer
fcb868c6a8
Merge pull request #10893 from demarches-simplifiees/a11y-form-errors
Améliore la restitution des message d'erreur lors d'une soumission en erreur
2024-10-17 10:37:32 +00:00
Paul Chavard
4e8336ce88
Merge pull request #10897 from tchak/refactor-dossier-diff-merge
ETQ dev, je ne veux plus de méthode `champs_for_revision`
2024-10-17 09:54:08 +00:00
Paul Chavard
0529718c4b
refactor(dossier): the end of champs_for_revision 2024-10-17 11:33:24 +02:00
Paul Chavard
dd97c2fffd
refactor(dossier): diff and merge 2024-10-17 11:33:24 +02:00
Paul Chavard
8c8bb870fc
refactor(dossier): filled champs 2024-10-17 11:33:24 +02:00
Paul Chavard
ad7458a12f
Merge pull request #10931 from tchak/better-handle-api-entreprise-jobs
fix(api_entreprise): better handle api entreprise errors
2024-10-17 09:30:09 +00:00
LeSim
d22ae1f76f
Merge pull request #10956 from demarches-simplifiees/fix_filter_on_enums
ETQ Instructeur, je peux à nouveau filtrer sur les types de champ choix multiple
2024-10-17 07:39:44 +00:00
simon lehericey
7963746ed7
fix: suggest multiple_drop_down options on the filter component 2024-10-16 18:09:52 +02:00
simon lehericey
4059bfdc11
fix: make filter works on multiple_drop_down_list 2024-10-16 18:09:51 +02:00
Colin Darie
5522efc3e5
Merge pull request #10954 from tchak/fix-dossier-merge-with-multiple-rows
ETQ usager, fix soumission d'un dossier en construction quand multiples lignes de champs répétables ont été modifiées
2024-10-16 15:00:26 +00:00
LeSim
6862f6c6bd
Merge pull request #10875 from demarches-simplifiees/add_id_to_column_third_part
Utilisation des colonnes dans l'affichage et le filtrage
2024-10-16 14:53:30 +00:00
Paul Chavard
c417614695
fix(dossier): fix apply_diff with multiple changed rows 2024-10-16 14:15:26 +02:00
Colin Darie
3b9efbc5ca
Merge pull request #10949 from colinux/bump-rails-7.0.8.5
Tech: bump rails 7.0.8.4 => 7.0.8.5
2024-10-16 08:45:09 +00:00
Colin Darie
871ae074c3
chore: bump rails 7.0.8.4 => 7.0.8.5
Fix multiple low CVE
2024-10-16 09:35:37 +02:00
Eric Leroy-Terquem
f7bd2fb68d
Merge pull request #10942 from demarches-simplifiees/fix-import-groupes-instructeurs
Correctif : ETQ admin je peux importer des groupes d'instructeurs
2024-10-15 19:57:50 +00:00
Mathieu Magnin
04bbf09097
Merge pull request #10939 from demarches-simplifiees/fix-10919
Correction bug champ carto
2024-10-15 18:13:13 +00:00
Eric Leroy-Terquem
ea27d3208f
feat(groupes management): add import component 2024-10-15 18:04:33 +02:00
Colin Darie
eda687e52c
Merge pull request #10941 from colinux/fix-crisp-help-csp
ETQ admin je peux voir les pages d'aides disponibles dans crisp
2024-10-15 14:38:38 +00:00
Colin Darie
e552a5cbf5
fix(crisp): csp for crisp iframe help 2024-10-15 16:23:23 +02:00
simon lehericey
5621edcca8
remove unused filtered? method 2024-10-15 16:09:09 +02:00
simon lehericey
f850924dc0
remove procedure_presentation from export 2024-10-15 16:09:09 +02:00
simon lehericey
71bcbbc440
remove useless snapshot 2024-10-15 16:09:09 +02:00
simon lehericey
b5ed8c9b61
export cache_key based on column 2024-10-15 16:09:08 +02:00
simon lehericey
954d232a47
add filtered and sorted columns to export 2024-10-15 16:09:08 +02:00
simon lehericey
603c2a108e
remove useless Export.by_key procedure_presentation arg 2024-10-15 16:09:08 +02:00
simon lehericey
d1530b40a1
use the filter_service 2024-10-15 16:09:08 +02:00
simon lehericey
4d7715fbb6
extract filter and sort function to a filter_service 2024-10-15 16:09:08 +02:00
simon lehericey
16e93a217b
reset procedure_presentation if a pb occurs with a column deserialization 2024-10-15 16:09:07 +02:00
mfo
112d49cb51
tech(deadcode): remove unused constant on ProcedurePresentation 2024-10-15 16:09:07 +02:00
simon lehericey
e41326dad5
tech(clean): remove sva_columns(for_filters)
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:07 +02:00
simon lehericey
3677f3b2d3
tech(clean): remove Column classname: attribute
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:07 +02:00
simon lehericey
30fcb75da4
extract dossier_state_column 2024-10-15 16:09:07 +02:00
mfo
242ab78235
clean(deadcode): remove unused current_filters method 2024-10-15 16:09:07 +02:00
simon lehericey
14483270ba
default default_displayed_column 2024-10-15 16:09:06 +02:00
simon lehericey
0a54db6db5
remove human_to_filter 2024-10-15 16:09:06 +02:00
simon lehericey
b2754cd26c
move validations concern to filtered_column
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:06 +02:00
simon lehericey
6b5efbda07
remove now unused code 2024-10-15 16:09:06 +02:00
simon lehericey
14fe11b612
use displayed_columns ! 2024-10-15 16:09:06 +02:00
simon lehericey
7e4ca07df2
use filtered_column to filter !
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:05 +02:00
simon lehericey
4c5d7e2950
remove now useless add_filters and remove_filters 2024-10-15 16:09:05 +02:00
simon lehericey
72c389161a
remove filter using generic add_filter methods 2024-10-15 16:09:05 +02:00
simon lehericey
175f303399
display filter tags 2024-10-15 16:09:05 +02:00
simon lehericey
e9c11a95f1
directly write in new filter columns 2024-10-15 16:09:05 +02:00
simon lehericey
d54ab64e40
add filtered_column type 2024-10-15 16:09:05 +02:00
simon lehericey
4e0d3c2df1
improve Column not found error message 2024-10-15 15:48:41 +02:00
simon lehericey
3e73ff0d35
small refactors 2024-10-15 15:48:41 +02:00
Mathieu Magnin
4b5235e42f
[#10919] Fix tests 2024-10-15 15:32:46 +02:00
Mathieu Magnin
097074fdc7
Merge pull request #10865 from demarches-simplifiees/fix-10799
ETQ Admin / Instructeur je veux être savoir si le jeton api entreprise d'une démarche a expiré ou va expirer prochainement
2024-10-15 13:25:20 +00:00
Paul Chavard
d13c475170
fix(api_entreprise): better handle api entreprise errors 2024-10-15 15:24:37 +02:00
Benoit Queyron
c8f69283cc
Merge pull request #10713 from demarches-simplifiees/etq-admin-bug-message-info-character-limit
Tech : amélioration de la gestion des types_de_champ.options
2024-10-15 13:02:33 +00:00
Paul Chavard
8ddec687e6
Merge pull request #10873 from tchak/refactor-repetition-remove-parent_id
ETQ dev, je ne veux plus avoir de relation entre les champs et leur parent
2024-10-15 13:00:52 +00:00
Mathieu Magnin
029a75404d
[#10799] Fixes after @E-L-T review's 2024-10-15 14:40:51 +02:00
Mathieu Magnin
6bdc641cdf
[#10799] Fix after Marlène's review 2024-10-15 14:40:51 +02:00
Mathieu Magnin
dfa3276cb6
[#10799] Missing test 2024-10-15 14:40:50 +02:00
Mathieu Magnin
4266a76db6
[#10799] Move test in right file 2024-10-15 14:40:50 +02:00
Mathieu Magnin
c897893e8a
[#10799] Remove dead code 2024-10-15 14:40:50 +02:00
Mathieu Magnin
e172f3ed6c
[#10799] Fix tests 2024-10-15 14:40:50 +02:00
Mathieu Magnin
f26ff30538
[#10799] Add maintenance task to fill api_entreprise_token_expires_at for previous data 2024-10-15 14:40:50 +02:00
Mathieu Magnin
6b326b634e
[#10799] Modifications after Marlene's comments 2024-10-15 14:40:50 +02:00
Mathieu Magnin
687617cb08
[#10799] Add test 2024-10-15 14:40:50 +02:00
Mathieu Magnin
64297f9ee8
[#10799] Add error on procedure#show if api entreprise token is expiring 2024-10-15 14:40:50 +02:00
Mathieu Magnin
99a1b68185
[#10799] reorder methods A->Z 2024-10-15 14:40:49 +02:00
Mathieu Magnin
2bf773b0b7
[#10799] Add warning badges when token is expiring 2024-10-15 14:40:49 +02:00
Mathieu Magnin
ec2c913ab4
[#10799] Display token error on related card 2024-10-15 14:40:49 +02:00
Mathieu Magnin
703a722c54
[#10799] Handle the case when api_entreprise_token is not nil then set to nil 2024-10-15 14:40:49 +02:00
Mathieu Magnin
7009eed9d7
[#10799] Move api entreprise token logic in a concern 2024-10-15 14:40:49 +02:00
Mathieu Magnin
39fdb8ddbb
[#10799] Display a warning about token expiration on token form page 2024-10-15 14:40:49 +02:00
Mathieu Magnin
2d9854dc01
[#10799] Declare api_entreprise_token_expires_at attribute and feed it on save 2024-10-15 14:40:49 +02:00
benoitqueyron
e88d84cf57
ajout d'un nettoyage des options des types_de_champ lors de la publication d'une procedure ou d'une nouvelle revision 2024-10-15 14:40:33 +02:00
benoitqueyron
4f62590b7a
ProcedureRevision#compare_type_de_champ: fix bug comparaison character_limit chaine vide vs nil 2024-10-15 14:40:33 +02:00
benoitqueyron
3c5749e45a
TypeDeChamp: purge notice explicative lors d'un changement de type_champ 2024-10-15 14:40:33 +02:00
simon lehericey
b588b77571
TypeDeChamp: amélioration de la gestion des drop_down_options 2024-10-15 14:40:15 +02:00
Mathieu Magnin
49c9f274e4
[#10919] When data in geo_area is invalid do not crash when .label is called 2024-10-15 14:37:32 +02:00
krichtof
222038d9de
Merge pull request #10934 from demarches-simplifiees/groupe_instructeur_dependent_export_template
ETQ admin, je peux supprimer un groupe instructeur qui contient des export templates
2024-10-15 11:43:30 +00:00
Paul Chavard
1cd4c7a885
Merge pull request #10936 from tchak/add-playwright-to-update-script
chore(update): add playwright to update script
2024-10-15 10:52:21 +00:00
Corinne Durrmeyer
89d31ddf11
Improve rendering of “n°” by assistive technologies 2024-10-15 12:18:23 +02:00
Paul Chavard
7d7821c26b
chore(update): add playwright to update script 2024-10-15 12:03:00 +02:00
Corinne Durrmeyer
8ca1f82b01
Place focus on error block on page reload 2024-10-15 11:58:45 +02:00
Corinne Durrmeyer
fbb7bd7989
Adds title before error list & remove useless link 2024-10-15 11:58:45 +02:00
Paul Chavard
bd32f5693d
refactor(repetition): remove parent_id 2024-10-15 11:42:36 +02:00
Christophe Robillard
47a4f40939
destroy export_templates when destroy groupe_instructeur 2024-10-15 11:18:58 +02:00
mfo
e7080c1ad1
Merge pull request #10927 from mfo/US/renormalize_department_code_and_name
amelioration ETQ tech, je souhaite que les composants d'adresses soient normalisés en anglais
2024-10-15 07:49:16 +00:00
mfo
366c02dbb7
fix(typo): use english for normalized addresses component 2024-10-15 09:13:05 +02:00
Colin Darie
ed6a254135
Merge pull request #10930 from colinux/fix-dropdown-list-filter-length
ETQ instructeur je peux filtrer un champ "choix simple" avec un long libellé d'option
2024-10-14 19:18:35 +00:00
Colin Darie
95c434d91a
Merge pull request #10929 from mfo/US/reliable-fetch-strict
ETQ tech, fait tourner sidekiq en mode "strict" avec reliable fetch
2024-10-14 19:15:40 +00:00
Colin Darie
1c32a30b80
fix(filters): drop down list filters can have much longer values.
Notre infra supporte des urls d'au moins 8000 caractères, probablement
plus encore, donc on est large.
2024-10-14 16:01:48 +02:00
Eric Leroy-Terquem
809ddb67c0
Merge pull request #10878 from demarches-simplifiees/update-routage-interface
ETQ admin j'ai accès à une nouvelle interface de gestion des instructeurs
2024-10-14 13:21:38 +00:00
Eric Leroy-Terquem
3ed7e7d2e0
feat(instructeurs management): update notification alert if procedure is published 2024-10-14 15:14:07 +02:00
Eric Leroy-Terquem
b75f2125de
refactor(import component): remove path duplication 2024-10-14 15:14:06 +02:00
Eric Leroy-Terquem
60be8d68fc
test(instructeurs management): update tests 2024-10-14 15:14:06 +02:00
Eric Leroy-Terquem
7af934daf5
feat(instructeurs import): display submit button only if file uploaded 2024-10-14 15:14:06 +02:00
Eric Leroy-Terquem
ec7aea50b3
style(instructeurs management): update instructeurs view 2024-10-14 15:13:58 +02:00
Eric Leroy-Terquem
ee71a8479f
refactor(instructeurs import): extract import in a component 2024-10-14 15:13:57 +02:00
Eric Leroy-Terquem
822f856ae9
feat(instructeurs management): update instructeur import for groupe instructeur page 2024-10-14 15:13:47 +02:00
Eric Leroy-Terquem
1f6d76a4dd
feat(instructeurs management): can export instructeurs if procedure not routed 2024-10-14 15:13:36 +02:00
Eric Leroy-Terquem
ec2f7c2405
feat(instructeurs import): add copy paste hint 2024-10-14 15:13:35 +02:00
Eric Leroy-Terquem
cdd9157927
feat(instructeurs import): add notification alert 2024-10-14 15:13:35 +02:00
Eric Leroy-Terquem
c68e0b5f1a
style(instructeurs import): update import card 2024-10-14 15:13:35 +02:00
Eric Leroy-Terquem
af1fd34256
feat(instructeurs import): can import instructeurs even if procedure not published 2024-10-14 15:13:35 +02:00
Eric Leroy-Terquem
59fe8b64c4
wording(instructeurs management): update translations 2024-10-14 15:13:35 +02:00
Colin Darie
bac54ba214
Merge pull request #10928 from colinux/perf-admin-index
ETQ admin, améliore un peu la vitesse de chargement de la liste des démarches
2024-10-14 11:34:48 +00:00
mfo
c8e745a697
feat(Sidekiq): reliable-fetch in strict mode 2024-10-14 12:35:51 +02:00
Colin Darie
df0e0e9c3e
perf(admin): remove N+1 on procedures index about instructeurs or groupe instructeurs count 2024-10-14 12:27:01 +02:00
Kara Diaby
8e1b636901
Merge pull request #10876 from demarches-simplifiees/feat/10333
ETQ admin, dans la page "toutes les démarches", je veux que les tags soient harmonisés
2024-10-14 08:45:59 +00:00
Colin Darie
4336c444ba
style(combo): better vertical spacing between tags list and input 2024-10-14 10:30:16 +02:00
Colin Darie
9e27295a36
fix(admin): all procedures really filtered by tags 2024-10-14 10:26:47 +02:00
Colin Darie
ef5d196f80
fix(admin): homogeneize wording tags => thèmes/thématiques 2024-10-14 10:26:47 +02:00
Kara Diaby
2c85757289
Créé la liste de nouveaux tags en base et les associe aux démarches 2024-10-14 10:26:47 +02:00
Kara Diaby
953ccbcfb6
Mise à jour des tests 2024-10-14 10:26:47 +02:00
Kara Diaby
1c651b4c93
Les admins ont la possibilité de filtrer les démarches par liste prédéfinie dans la page toutes les démarches 2024-10-14 10:26:47 +02:00
Kara Diaby
fd7dcc7048
Les admins peuvent associer une démarche à une thématique prédéfinie 2024-10-14 10:26:46 +02:00
Kara Diaby
f025e08336
Ajoute la table procedure tags et la liaison entre procedure et procedures tags 2024-10-14 10:26:46 +02:00
Paul Chavard
32d8cbfe48
Merge pull request #10923 from tchak/graphql-siret-address-optimize
fix(graphql): parse_etablissement_address is slow (up to 300ms) – bypasse it when possible
2024-10-14 08:14:51 +00:00
Paul Chavard
960385831e
Merge pull request #10904 from tchak/remove-some-complex-champs-from-prefill
chore(prefill): remove unused prefill support on complex champs
2024-10-14 08:11:30 +00:00
Paul Chavard
b027839721
fix(graphql): parse_etablissement_address is slow (300ms) – bypasse it when possible 2024-10-14 09:23:35 +02:00
Paul Chavard
8266f7ff6c
Merge pull request #10922 from demarches-simplifiees/fix_10921
Gestion de nouveaux codes d'erreur dans l'API Entreprise
2024-10-11 15:37:48 +00:00
Paul Chavard
f0d334ea69
Merge pull request #10916 from tchak/graphql-fix-n+1
fix(graphql): n+1 on procedure and france_connect_informations
2024-10-11 15:20:53 +00:00
Mathieu Magnin
2222b6ff2d
[#10921] Extend error handling to cover new error codes 2024-10-11 16:16:17 +02:00
Eric Leroy-Terquem
ba330bfa98
Merge pull request #10797 from demarches-simplifiees/gallery_v2
ETQ instructeur je vois la provenance des pièces jointes ainsi que leur date d'ajout ou de mise à jour
2024-10-11 11:23:19 +00:00
Eric Leroy-Terquem
3b054c5369
refactor(views): do not use instance variable in views 2024-10-11 13:14:20 +02:00
Eric Leroy-Terquem
3397beb71d
refactor(gallery test): use freeze_time instead of Timecop 2024-10-11 13:14:19 +02:00
Paul Chavard
a3375be7c5
fix(graphql): n+1 on procedure and france_connect_informations 2024-10-11 12:20:24 +02:00
Eric Leroy-Terquem
72ae654ce7
style(pieces jointes): update UI 2024-10-11 11:20:47 +02:00
Eric Leroy-Terquem
bca2b79c70
refactor(dossier): use dossier method to set dossier 2024-10-11 11:20:47 +02:00
Eric Leroy-Terquem
838dc0a9e3
perf(dossier): cache gallery attachments 2024-10-11 11:20:47 +02:00
Eric Leroy-Terquem
c6ab05dcc5
fix(gallery): display pieces_jointes tab if any attachments 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
4f42e00f4e
refactor(gallery): move methods in private 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
3bc232e81e
feat(gallery): update gallery item badge class after seen 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
d9f604e8ce
feat(gallery): notify instructeur if pieces jointes updates 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
5153b9a3ff
db(migration): add pieces_jointes_seen_at to follows 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
0006b6f504
db(migration): add pieces jointes updates to dossiers 2024-10-11 10:41:05 +02:00
Eric Leroy-Terquem
bc237152e7
feat(gallery): add origin tag to gallery item 2024-10-11 10:41:05 +02:00
Eric Leroy-Terquem
df08617387
feat(gallery): add badge for date of created_at or updated_at 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
3560d73b58
refactor(gallery): use gallery component in gallery demande 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
664ef63e74
refactor(gallery): extract gallery_link method 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
2882af43aa
refactor(gallery): extract representation_url_for method 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
bae752f1aa
refactor(gallery): add attachment_gallery_item component 2024-10-11 10:41:03 +02:00
Colin Darie
6b1c6a796a
Merge pull request #10909 from mfo/US/expires-dossiers-by-night
ETQ tech, je souhaite que les jobs asynchrone expirant les dossiers terminés se fassent en pleine nuit
2024-10-11 07:22:18 +00:00
Colin Darie
6f336f52a6
Merge pull request #10891 from demarches-simplifiees/dependabot/npm_and_yarn/sentry/browser-8.33.0
chore(deps): bump @sentry/browser from 8.20.0 to 8.33.0
2024-10-11 07:20:47 +00:00
mfo
7c84937c8c
ETQ tech, je souhaite que les jobs asynchrone expirés les dossiers terminés se fassent en pleinne nuit 2024-10-10 18:09:04 +02:00
Colin Darie
111ebbf20a
Merge pull request #10910 from colinux/fix-image-process-job-queue
ETQ opérateur, je ne veux pas que la génération de vignettes et filigranes impactent trop d'autres jobs
2024-10-10 15:24:12 +00:00
mfo
a13297f499
Merge pull request #10911 from colinux/fix-non-critical-mail-queue
ETQ opérateur, les mails non critiques devraient être envoyés sous ~15min et pas potentiellement des heures
2024-10-10 15:22:22 +00:00
dependabot[bot]
0a60114e4c
chore(deps): bump @sentry/browser from 8.20.0 to 8.33.0
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 8.20.0 to 8.33.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.20.0...8.33.0)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-10 17:18:39 +02:00
Colin Darie
0e5d77f15b
fix(job): image process => low queue 2024-10-10 17:14:57 +02:00
Colin Darie
7f18db6c91
fix(job): non crirtical mail must be sent into < 15min, not hours 2024-10-10 17:14:28 +02:00
Colin Darie
da5de8d97a
Merge pull request #10913 from colinux/ci-ubuntu-22
ETQ tech, la CI tourne sur ubuntu 22.04 et pas 24.04
2024-10-10 14:41:37 +00:00
Colin Darie
bae6f92f3a
ci: run on ubuntu 22.04 (latest is now 24.04) 2024-10-10 15:16:21 +02:00
mfo
eee9efd52e
Merge pull request #10907 from mfo/reschedule_dossier_operation_log_move_to_cold_storage_job
ETQ tech, je souhaite que les jobs asynchrone pour deplacer les objets dans le stockage à froid se fassent en pleinne nuit
2024-10-10 09:33:43 +00:00
Colin Darie
71d2f7a353
Merge pull request #10908 from colinux/fix-job-queues
ETQ opérateur, remplace les queues pour 2 autres jobs
2024-10-10 09:33:01 +00:00
Colin Darie
c48ad8c003
fix(job): missed changed queues 2024-10-10 11:24:01 +02:00
mfo
d729c2f193
tech(perf): reschedule this job at 4am when our workers does not do anything 2024-10-10 11:21:05 +02:00
mfo
fc37bbaa4a
Merge pull request #10906 from mfo/US/reword-queueing
amelioration : ETQ operateur j'aimerais simplifier/optimiser la gestion des tâches asynchrones
2024-10-10 07:47:59 +00:00
mfo
b8b727f06b
feat(default.queues): mailers that are not critical are low, otherwise critical. analysis is default, purge is low 2024-10-10 09:31:20 +02:00
Colin Darie
9ef445a4a1
Merge pull request #10905 from tchak/fix-api-entreprise-sentry-error
ETQ Usager, je veux pouvoir déposer mon dossier même si le service des SIRET n'est pas disponible
2024-10-09 14:13:47 +00:00
LeSim
163fa42007
Merge pull request #10869 from demarches-simplifiees/add_id_to_column_second_part
Tech: utilise les objets `SortedColumn`
2024-10-09 13:05:50 +00:00
Colin Darie
fbb9405e50
Merge pull request #10863 from colinux/maintenance-tasks-template
ETQ dev, je peux programmer des maintenance tasks à jouer lors de leur déploiement
2024-10-09 12:16:56 +00:00
mfo
c449892bbe
Merge pull request #10888 from demarches-simplifiees/US/exports-on-sidekiq
ETQ tech, on souhaite tout passer sur sidekiq
2024-10-09 12:15:38 +00:00
Colin Darie
da1bf573e3
chore(task): noop maintenance task verifying automatic run on deploy 2024-10-09 13:44:18 +02:00
Colin Darie
efa744c227
chore(task): deprecate after party tasks 2024-10-09 13:44:17 +02:00
Colin Darie
9eb9e80232
chore(doc): more information about many maintenance tasks 2024-10-09 13:44:17 +02:00
Colin Darie
0d5b0e81e7
chore(dev): on update, run maintenance tasks configured on deploy 2024-10-09 13:44:17 +02:00
Colin Darie
cae5d8afed
feat(task): task enqueueing a maintenance task runnable on deploy 2024-10-09 13:44:17 +02:00
Colin Darie
2127f8cef1
refactor: remove dead deploy code 2024-10-09 13:44:17 +02:00
Colin Darie
d0f77d0aab
feat(task): with_statement_timeout helper for long running collection or process query 2024-10-09 13:44:17 +02:00
Colin Darie
c0ae02f458
feat(tasks): use our task template, with example doc 2024-10-09 13:44:16 +02:00
Colin Darie
cbc13c4c5c
feat(tasks): prefix tasks with timestamp 2024-10-09 13:44:16 +02:00
Paul Chavard
668aba8986
fix(api-entreprise): do not raise an error when the service is unavailable 2024-10-09 12:47:26 +02:00
Paul Chavard
e56bc9d35b
chore(prefill): remove unused prefill support on complex champs 2024-10-09 12:11:42 +02:00
simon lehericey
34b0379203
procedure.find_column raise NotFound to fit AR interface 2024-10-09 09:23:06 +02:00
simon lehericey
14809b35af
add comments 2024-10-09 09:21:44 +02:00
simon lehericey
450420aa81
cache columns per request using Current 2024-10-08 22:51:26 +02:00
simon lehericey
249ddf291f
update_displayed_fields can use sorted_column 2024-10-08 22:51:26 +02:00
simon lehericey
4f0cac251d
use sorted_column to sort dossier 2024-10-08 22:51:26 +02:00
simon lehericey
ba91f2f66e
remove now useless validation 2024-10-08 22:51:25 +02:00
simon lehericey
da98aa556b
use update(sorted_column:) and remove obsolete update_sort(column_id:, order:) 2024-10-08 22:51:25 +02:00
simon lehericey
b7ecff4f0d
change route to update_sort with sorted_column params 2024-10-08 22:51:25 +02:00
simon lehericey
76fee12653
remove now unused procedure_presentation.opposite_order_for 2024-10-08 22:51:25 +02:00
simon lehericey
7349dd183a
notified_toggle_component use sorted_column 2024-10-08 22:51:24 +02:00
simon lehericey
22cbf725ec
column_table_header compute update_sort_path 2024-10-08 22:51:24 +02:00
simon lehericey
b582a2afc6
column_table_header_component use sorted_column 2024-10-08 22:51:18 +02:00
simon lehericey
21533f91e3
add storted_column_type 2024-10-08 22:47:37 +02:00
simon lehericey
9652cf78c3
add default_sorted_column 2024-10-08 22:47:37 +02:00
simon lehericey
305b31e53b
add sorted_column 2024-10-08 22:47:37 +02:00
simon lehericey
693629afc8
add column type 2024-10-08 22:47:36 +02:00
Paul Chavard
d51d3fd8ad
Merge pull request #10881 from tchak/fix-graphql-api-entreprise-adresse
graphql(personne_morale): return full address
2024-10-08 15:36:51 +00:00
mfo
29500ebc48
Merge pull request #10899 from mfo/US/fix-n-plus-one-on-instructeur-demande
tech: ETQ instructeur, ma page pour visualiser un dossier se charge plus vite
2024-10-08 14:56:25 +00:00
mfo
02590b3a73
Revert "clean(delayed_jobs): remove dependencies and all occurences"
This reverts commit 90ca937b7131575816d72e35e2c48f9d82e9a5e6.

ReRevert me in order to remove all delayed job occurences. But we keep
this dependencie for our instances at least for a year
2024-10-08 16:44:09 +02:00
mfo
5eec93bc8c
clean(delayed_jobs): remove dependencies and all occurences 2024-10-08 16:43:57 +02:00
mfo
ab8ac78ccb
tech(sidekiq): use sidekiq by default, clean transition code 2024-10-08 16:43:57 +02:00
mfo
5cba847d10
perf(Instructeurs/Dossiers#demande): remove n+1 2024-10-08 14:47:34 +02:00
LeSim
c072ee7226
Merge pull request #10850 from demarches-simplifiees/add_id_to_column
Tech: utilise des colonnes id dans les `ProcedurePresentation`
2024-10-08 07:41:48 +00:00
simon lehericey
d5a722c143
weird frozen_string bug 2024-10-07 22:09:21 +02:00
simon lehericey
a418cf6632
remove_filter double_write 2024-10-07 22:09:21 +02:00
simon lehericey
870d67e844
add_filter double write 2024-10-07 22:09:21 +02:00
simon lehericey
5f6d8e93ca
update_display double write 2024-10-07 22:09:20 +02:00
simon lehericey
98c2b7e954
update_sort double write 2024-10-07 22:09:20 +02:00
simon lehericey
a7ebe23504
migrate procedure_presentation to column 2024-10-07 22:09:20 +02:00
simon lehericey
0abee08329
add filters for 2024-10-07 22:09:20 +02:00
simon lehericey
3d79c6176e
add columns_ids to procedure_presentations table 2024-10-07 22:09:20 +02:00
simon lehericey
e3697bd976
colonne.id = { procedure_id:, column_id: }.to_json
because:
- id should be a string as other id
- id need procedure_id to allow ColumnType.deserialize(id) -> Column as the columns are built by a procedure
2024-10-07 22:09:20 +02:00
simon lehericey
a8b41e90cc
remove make_id 2024-10-07 21:47:03 +02:00
simon lehericey
3740a79219
add procedure_id to column.id 2024-10-07 21:46:59 +02:00
simon lehericey
3c7521a428
extract dossier_id_column, notifications_column 2024-10-07 15:49:58 +02:00
simon lehericey
c6559577f1
remove old comment 2024-10-07 14:50:35 +02:00
benoitqueyron
e374143422
front: ajustement de l'espacement du bloc des options 2024-10-07 13:46:42 +02:00
Paul Chavard
73eed5d2a3
Merge pull request #10894 from tchak/fix-projected-champs-with-updated-at
fix(dossier): projected champs should have updated_at
2024-10-07 08:21:20 +00:00
Paul Chavard
274e43c5e6
fix(dossier): projected champs should have updated_at 2024-10-05 22:22:04 +02:00
Paul Chavard
5cbdfd8677
Merge pull request #10882 from tchak/playwright-bun
chore(playwright): run playwright using bunx instead of default npx
2024-10-05 08:58:19 +00:00
Paul Chavard
70699a681d
Merge pull request #10889 from tchak/fix-dossier-follow-should-bump-updated-at
ETQ intégrateur d’API, je veux que le dossier soit remonté comme modifié quand ses instructeurs changent
2024-10-05 08:58:05 +00:00
Paul Chavard
21b6974def
Merge pull request #10872 from tchak/refactor-explicit-default-champs
ETQ dev, je voudrais que les champs par défaut des dossiers soient créés explicitement. Moins de callbacks – moins de magie !
2024-10-04 13:11:02 +00:00
Paul Chavard
7a39267473
refactor(spec): champs_* -> project_champs_* 2024-10-04 12:29:50 +02:00
Paul Chavard
ecbf985147
refactor(dossier): champs_* -> project_champs_* 2024-10-04 12:05:55 +02:00
Paul Chavard
8fdf5cbe80
refactor(dossier): explicitly build default values - less callbacks, less magic 2024-10-04 12:05:54 +02:00
Paul Chavard
25977fd97d
ETQ intégrateur d’API, je veux que le dossier soit remonté comme modifié quand ses instructeurs changent 2024-10-03 18:10:04 +02:00
mfo
5879d54145
Merge pull request #10866 from mfo/US/fix-filter-ilike
amelioration : ETQ instructeur, je souhaite pouvoir filtrer les dossiers sur mon tableau de bord fonction des choix simple/multiple/etc.. sans conflit parmis les autres valeurs de ces même choix simple/multiple/etc...
2024-10-03 13:08:49 +00:00
Colin Darie
ecb3133cb9
Merge pull request #10886 from colinux/manager-fix-accessible-actions
ETQ super-admin, corrige l'affichage de certains boutons d'actions dans le manager
2024-10-03 10:14:16 +00:00
Colin Darie
853cddd043
fix(manager): regression on accesible actions introduced in 0ccb18 2024-10-03 11:48:24 +02:00
Colin Darie
3923e316e1
Merge pull request #10883 from colinux/helpscout-instructeur-notif
ETQ support je vois dans HS lorsqu'un instructeur a désactivé ses notifications
2024-10-03 09:12:15 +00:00
Colin Darie
5dfbf480f1
Merge pull request #10884 from colinux/update-charlock
Tech: bump charlock_holmes 0.7.7 => 0.7.9
2024-10-03 09:12:01 +00:00
Colin Darie
e39bb4b04d
Merge pull request #10887 from colinux/manager-emails-parallelize
ETQ super-admin la page qui liste les emails envoyés d'un usager va (peut-être) un plus vite
2024-10-03 09:11:45 +00:00
Colin Darie
366c95af7d
refactor(manager): parallelize sent emails retrieval 2024-10-03 10:42:47 +02:00
Corinne Durrmeyer
19cd42ac8c
Merge pull request #10879 from demarches-simplifiees/a11y-fix-process-home-connected
Corrige les défaut d'accessibilité de l'étape 1 d'une démarche
2024-10-03 08:37:31 +00:00
Colin Darie
a933e45e7b
feat(helpscout): warn when instructeur disabled notifs 2024-10-03 10:03:34 +02:00
Corinne Durrmeyer
dbb34d2b36
Merge pull request #10822 from demarches-simplifiees/a11y-fix-process-create-account-bis
Corrige les défaut d'accessibilité de la page de création de compte accessibilité
2024-10-01 09:18:04 +00:00
Colin Darie
7c2f383b7a
chore(bundle): bump charlock_holmes 0.7.7 => 0.7.9
solves installation on latest linux
2024-10-01 11:05:06 +02:00
Corinne Durrmeyer
480c8f493e
Remove nav when empty 2024-10-01 10:16:03 +02:00
Corinne Durrmeyer
5c6eb69c43
Remove .fr-grid-row.fr-grid-row--gutters when empty 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
2885a25aba
Remove alt content from illustrative images 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
35e5d1849e
Add asterisk explanation 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
243971c865
Center submit button 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
c88096859a
Avoid loss of focus on .suspect-email closure 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
3de79e99e0
Prevent comment from being displayed in html 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
2598bb99d0
Add forgotten title 2024-10-01 10:13:07 +02:00
Paul Chavard
9aee925ab1
chore(playwright): run playwright using bunx instead of default npx
without this change, specs fail on systems without node installed
2024-09-30 21:13:32 +02:00
Paul Chavard
da2312152d
graphql(personne_morale): return full address 2024-09-30 16:44:14 +02:00
LeSim
ca6b413e23
Merge pull request #10880 from demarches-simplifiees/bump_deps
Tech: mise à jour de webrick
2024-09-30 16:43:22 +02:00
simon lehericey
63ebdcedf4
bump webrick 2024-09-30 16:33:43 +02:00
LeSim
ebb4763c86
Merge pull request #10826 from demarches-simplifiees/drop_down_clean_second_part
Tech: nettoyage des listes déroulantes seconde partie
2024-09-30 14:20:21 +00:00
simon lehericey
fb66434a15
remove empty option at the start of default options 2024-09-30 15:37:02 +02:00
simon lehericey
c638ac0261
rename drop_down_list_value -> drop_down_option_from_text 2024-09-30 15:37:02 +02:00
simon lehericey
5fc0eb11f5
rename remaining drop_down_list_enabled_non_empty_options(other: true) -> drop_down_options_with_other 2024-09-30 15:37:02 +02:00
simon lehericey
532f0f48fa
replace drop_down_list_enabled_non_empty_options by drop_down_options when possible 2024-09-30 15:37:02 +02:00
simon lehericey
cfb03fc747
remove enabled_non_empty_options indirection 2024-09-30 15:37:01 +02:00
simon lehericey
8b5f689a67
use drop_down_options when possible 2024-09-30 15:37:01 +02:00
simon lehericey
77b754a08d
no more empty case 2024-09-30 15:37:01 +02:00
simon lehericey
5a19cc1a09
remove drop_down_list_value reader 2024-09-30 15:37:01 +02:00
Corinne Durrmeyer
a000c3335e
Remove useless search button 2024-09-30 14:45:38 +02:00
Corinne Durrmeyer
741df66107
Remove autocomplete=false attributes 2024-09-30 10:51:52 +02:00
Corinne Durrmeyer
9490886206
Adding asterisk to mandatory field 2024-09-28 10:23:17 +02:00
Corinne Durrmeyer
1bff9b3147
Improve hyphenation in help menu 2024-09-28 08:21:06 +02:00
Corinne Durrmeyer
2baf953cd0
Remove fieldset without legend 2024-09-28 08:21:06 +02:00
Corinne Durrmeyer
0b081aea30
Remove useless aria-labelledby (due to legend element) 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
02d9e4438f
Hide autosubmit button to ATs 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
56adb34890
Internationalize title and specify current stage 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
1762e359d8
Add asterisk explanation above the form 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
a451088077
Fix rendering bug in Voice Over 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
7dd941a25c
Add missing space below UserProcedureFilterComponent 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
3be3babb24
Include link content in its title 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
479ccb16c8
Remove inappropriate aria-controls attribute 2024-09-28 08:21:05 +02:00
Paul Chavard
483076970c
Merge pull request #10874 from tchak/deprecated-valid_action
chore: valid_action? -> accessible_action?
2024-09-27 16:32:31 +00:00
Paul Chavard
0ccb188aac
chore: valid_action? -> accessible_action? 2024-09-27 16:39:46 +02:00
Paul Chavard
2a80091c1b
Merge pull request #10715 from tchak/refactor-repetition
ETQ dev, je souhaite que les méthodes de manipulation des répétitions soient consolidées et tiennent compte des projections
2024-09-27 09:58:49 +00:00
Paul Chavard
a8e605f4b3
chore: clean some dead code 2024-09-27 11:35:29 +02:00
Paul Chavard
084a68a121
refactor(repetition): consolidate repetition manipulation methods 2024-09-27 11:34:06 +02:00
Paul Chavard
9167e9a4da
Merge pull request #10871 from colinux/update-stable-logo
ETQ service public qui référence ses plateformes, affiche un logo pour DS
2024-09-26 19:33:16 +00:00
Colin Darie
632321c739
chore(publiccode): reference stable logo
Closes #10851
2024-09-26 17:41:21 +02:00
mfo
47495a6558
Merge pull request #10868 from mfo/US/fix-414-again
correctif: ETQ instructeur, j'aimerais pouvoir modifier mes modèles d'export, meme sur des démarches avec beaucoup de champs bis
2024-09-26 15:02:32 +00:00
Mathieu Magnin
5e0ebb69f8
Merge pull request #10779 from demarches-simplifiees/fix-10753
ETQ Mainteneur je veux marqué les emails des instructeurs qui se sont connectés il y a < 5 mois comme vérifiés
2024-09-26 13:07:04 +00:00
mfo
010963faa4
fix(export_template#preview): avoid 414 responses, using get method is not a good option for procedure with a lot of types_de_champ, otherwise we reach http get size limit 2024-09-25 15:26:22 +02:00
mfo
afe98704e9
feat(async): re-order priority jobs 2024-09-24 21:35:00 +02:00
mfo
08ec45443d
BREAKING(sidekiq.queues): rationalize queues. now have critical, default, low
Dear instances, make sure to update your sidekiq processes. Indead, we are adopting a new strategy for daemons that process our background
jobs.

Now their is only 3 queues on sidekiq (still, we keep archive/export on delayed job for now).

The big idea : allow any worker to deal with any queue (capacity mgmt) :
- critical: must be procesed now
- default: will be processed asap
- low: do it after everything else

FYI: we had 50% of our server capacity on reserved queues. Leading to
bottle neck processing (reserved queues/worker not processing other
queues). We HAD TO fix it. Sorry for the inconvenience

TBH, this is an idea of Colin Darie <colin@darie.eu>. I'm just pushing
it forward.

Co-Authored-By: Colin Darie <colin@darie.eu>
2024-09-24 21:29:11 +02:00
mfo
c02e4fff57
tech(brakeman): bypass sec warning, indead, rails sanitize queries when using where("anything = ?", value) synthax 2024-09-24 20:57:13 +02:00
mfo
75063ae31e
fix(filter): filtering types_de_champs by enum should not ilike. nows it search by exact match since enum are normalized so findable with simple where 2024-09-24 20:48:10 +02:00
mfo
1339e10280
bug(filter): filtering types_de_champs.value with ilike is trickier than expected. indead, some enum might overlap on word ex: Favorable, Defavorable. Searching with ilike Favorable finds Defavorable 2024-09-24 20:48:10 +02:00
mfo
b30cbf3032
tech(doc): explain which columns are ilikable for user/individual 2024-09-24 20:48:09 +02:00
mfo
51ce0cd562
clean(filter): avis column are not filterable, not needed to ilike them 2024-09-24 20:47:43 +02:00
mfo
284bdc5b2b
clean(deadcode): their is no column for avis.label. so clean this one 2024-09-24 20:47:09 +02:00
mfo
0cbb296e7d
Merge pull request #10864 from mfo/US/fix-export-template-with-lots-of-types-de-champs
correctif: ETQ instructeur, j'aimerais pouvoir modifier mes modèles d'export, meme sur des démarches avec beaucoup de champs
2024-09-24 16:37:37 +00:00
mfo
b117bc9774
fix(export_template#preview): avoid 414 responses, using get method is not a good option for procedure with a lot of types_de_champ, otherwise we reach http get size limit 2024-09-24 18:07:18 +02:00
Lisa Durand
e1d9ea2a66
Merge pull request #10859 from demarches-simplifiees/improve-dossier-transfer-ldu
Améliorer le mail si un usager sans compte DS reçoit un transfert de dossier
2024-09-24 13:49:45 +00:00
Colin Darie
f700024df0
Merge pull request #10862 from colinux/fix-sva-with-complex-pending-corrections
ETQ usager: corrige la date prévisionnelle SVA lorsqu'il y a un mélange de demandes de corrections résolues et en attente
2024-09-24 12:35:26 +00:00
Colin Darie
99534ef834
Merge pull request #10812 from colinux/date-last-updated-at-tag
ETQ admin, créé les balises "date de mise à jour" du dossier et "date prévisionnelle SVA/SVR"
2024-09-24 12:21:07 +00:00
Colin Darie
b50d42fbb4
fix(sva): when there were resolved corrections and a pending correction 2024-09-24 12:48:09 +02:00
Colin Darie
e48b845e66
Merge pull request #10860 from mfo/US/fix-queue-typo
fix(typo): mailerS
2024-09-24 09:44:02 +00:00
Lisa Durand
463e3e1538
improve email wording for transfert with DS account 2024-09-24 11:31:00 +02:00
Colin Darie
2b07826202
fix(sva): add sva/svr decision date tag for relevant template emails
Closes #10033
2024-09-24 11:28:18 +02:00
Colin Darie
861f7359b1
feat(attestation): support last champ updated at as tag
closes #9825
2024-09-24 11:28:17 +02:00
mfo
ee19268720
fix(typo): mailerS 2024-09-24 11:24:02 +02:00
Colin Darie
cae524b6bd
Merge pull request #10828 from demarches-simplifiees/CamilyaDellali-patch-2
Update FAQ comment-dupliquer-un-dossier-deja-depose.fr.
2024-09-24 08:47:52 +00:00
Colin Darie
b6534e8b80
Update doc/faqs/usager/comment-dupliquer-un-dossier-deja-depose.fr.md 2024-09-24 10:35:42 +02:00
Colin Darie
655e4be0e7
Merge pull request #10858 from colinux/attestation-v2-better-v1-ording
ETQ admin, explique mieux que l'attestation v1 reste fonctionnelle alors que j'ai accès à la v2
2024-09-24 08:35:09 +00:00
Mathieu Magnin
af0692163b
Merge pull request #10839 from demarches-simplifiees/fix-10837
ETQ Administrateur, si j'oublie de renseigner le SIRET de mon service, je souhaite recevoir un message d'erreur explicite pour m'alerter.
2024-09-24 08:31:47 +00:00
Colin Darie
e7f5217211
chore(attestation): improve wording about v1/v2 switch 2024-09-24 10:18:00 +02:00
mfo
12ef66c2b0
Merge pull request #10847 from mfo/US/clean-db
amélioration : ETQ tech je souhatie que ma base de donnée ne stock pas de donnée inutile
2024-09-24 08:12:09 +00:00
mfo
a71e83dabe
clean(db): remove ignored column 2024-09-24 10:04:04 +02:00
mfo
7f19111997
Merge pull request #10857 from mfo/US/move-batch-operation-jobs-to-higher-priority-queue
amelioration: ETQ operateur d'instance, je souhaite que les jobs de batch soient prioritaire par rapport aux jobs de vignette
2024-09-24 07:42:51 +00:00
mfo
0cfa9d6719
fix(batch): this is a hotfix, please be nice we just want to allow our
infra to deal with BatchOperation when their is a big load
2024-09-24 09:34:37 +02:00
Eric Leroy-Terquem
063a2fc13e
Merge pull request #10853 from demarches-simplifiees/fix-adding-admin-or-instructor-from-manager
Correctif : ETQ super admin je peux m'ajouter à une démarche si je suis déjà soit administrateur soit instructeur
2024-09-24 07:14:58 +00:00
Eric Leroy-Terquem
7625ec5c8f
fix(manager): can add to super admin both roles of administrator and instructor if he is already one of them 2024-09-24 09:05:38 +02:00
Eric Leroy-Terquem
f16addd080
test(manager): nominal case of #add_administrateur_and_instructor 2024-09-24 09:05:37 +02:00
mfo
5b268fff29
Merge pull request #10855 from mfo/US/fix-resolve
ETQ administrateur je ne souhatie pas que mes usagers aient une demande de correction suite à un depot de dossier trop ancien
2024-09-24 06:48:41 +00:00
Paul Chavard
09fb256042
Merge pull request #10849 from tchak/fix-copy-past-in-combobox
fix(combobox): can copy past multiple values in restricted multi select combobox
2024-09-24 06:13:04 +00:00
Paul Chavard
3e9a51d9b8
fix(combobox): don’t output undefined className 2024-09-23 21:49:24 +02:00
Paul Chavard
fb07a0ca54
fix(combobox): can copy past multiple values in restricted multi select combobox 2024-09-23 21:49:24 +02:00
mfo
9d46514467
fix(resolve_pending_correction): role back pending_correction for champs
without external_id
2024-09-23 21:15:14 +02:00
Paul Chavard
e35584811c
Merge pull request #10852 from tchak/fix-export-with-row_ids
fix(champ): improve row_id validation and remove it during export
2024-09-23 15:38:51 +00:00
Paul Chavard
b5eb87de6a
fix(champ): improve row_id validation and remove it during export 2024-09-23 17:06:33 +02:00
Paul Chavard
8bf6272c9b
Merge pull request #10848 from tchak/update-bun-lockfile
fix(bun): update lockfile
2024-09-23 15:33:08 +02:00
Paul Chavard
7a60023237
fix(bun): update lockfile 2024-09-23 15:32:10 +02:00
mfo
b9f9255e32
Merge pull request #10825 from mfo/US/drop-other-unused-indices
amelioration ETQ tech/ops, on souhaite ne pas avoir d'index non utilisé (et plus maintenu) - bis
2024-09-23 13:17:23 +00:00
mfo
7adbdaa4de
tech(clean): unused index and column 2024-09-23 14:53:37 +02:00
Paul Chavard
0321226130
Merge pull request #10845 from tchak/update-maplibre
chore(maplibre): update
2024-09-23 12:53:34 +00:00
Paul Chavard
95176b8a00
chore(maplibre): update 2024-09-23 14:45:36 +02:00
Paul Chavard
b1c0b4de20
Merge pull request #10840 from tchak/fix-pagination-links
fix some playwright specs
2024-09-23 12:27:54 +00:00
Paul Chavard
4ab9ef1f3f
Merge pull request #10842 from tchak/revert-du-revert-de-refactoring-champs
Revert "Revert "Merge pull request #10771""
2024-09-23 12:27:04 +00:00
Lisa Durand
f18b71a36b
remove invisible and unused transfer_all feature 2024-09-23 14:22:54 +02:00
Lisa Durand
ba76ef0a6d
make the email verification message more generic to fit the flow 2024-09-23 14:15:02 +02:00
mfo
d16a40b6aa
Merge pull request #10836 from mfo/US/fix-mistake-changing-dossier-repasser-en-construciton
ETQ administrateur, je ne souhaite pas voir des dossiers en instruction repasser en construction pour une donnée qui ne m'est pas necessaire
2024-09-23 11:54:56 +00:00
Colin Darie
6800205ffe
Merge pull request #10682 from demarches-simplifiees/a11y-fix-process-screen-1
Corrige les défaut d'accessibilité de la page d'accueil d'une démarche
2024-09-23 11:21:11 +00:00
Colin Darie
84fbb4c6ad
fix: heading level of france connect title depends on context 2024-09-23 13:11:13 +02:00
Lisa Durand
f6f70a5c2b
Merge pull request #10818 from demarches-simplifiees/remove-unused-hidden-at-for-dossiers-V2-ldu
[Tech] Retirer la colonne obsolète 'hidden_at' des dossiers (part 2)
2024-09-23 09:14:49 +00:00
Lisa Durand
0272f79c6a
migration to remove hidden_at from dossiers 2024-09-23 10:58:36 +02:00
Paul Chavard
3429a72f53
fix(dossier): do not show repetitions in header sections summary 2024-09-23 10:51:38 +02:00
Paul Chavard
6254b50de9
Revert "Revert "Merge pull request #10771 from tchak/refactor-champs-revert""
This reverts commit 10a1ae5534.
2024-09-23 10:21:07 +02:00
Paul Chavard
b6aac5f80b
Merge pull request #10844 from tchak/change-rnf-api-endpoint
fix(rnf): change RNF api endpoint
2024-09-23 07:05:19 +00:00
Colin Darie
c2bd493d05
Merge pull request #10843 from demarches-simplifiees/dependabot/bundler/puma-6.4.3
chore(deps): bump puma from 6.4.2 to 6.4.3
2024-09-22 12:41:51 +00:00
Mathieu Magnin
cf0eeeabfe
Merge pull request #10830 from demarches-simplifiees/CamilyaDellali-patch-4
Update FAQ - je-veux-changer-mon-adresse-email.fr.md
2024-09-20 15:27:45 +00:00
Mathieu Magnin
2cf6aec7b8
Merge pull request #10831 from demarches-simplifiees/CamilyaDellali-patch-5
Update mon-dossier-a-ete-depose-par-un-tiers-et-je-souhaite-y-acceder…
2024-09-20 15:22:47 +00:00
Mathieu Magnin
d1eb4b3343
Merge branch 'main' into CamilyaDellali-patch-2 2024-09-20 17:10:24 +02:00
Mathieu Magnin
6713da67c0
Update doc/faqs/usager/comment-dupliquer-un-dossier-deja-depose.fr.md 2024-09-20 17:10:02 +02:00
Mathieu Magnin
cbdc51b9ac
typo 2024-09-20 17:08:47 +02:00
Mathieu Magnin
ff5cda9619
do not change slug 2024-09-20 17:06:29 +02:00
Mathieu Magnin
d77580498c
typo 2024-09-20 17:06:11 +02:00
Mathieu Magnin
e12b9bd52a
Merge pull request #10832 from demarches-simplifiees/CamilyaDellali-patch-6
Update FAQ je-souhaite-obtenir-un-duplicata-cerfa-02-neph.fr.md
2024-09-20 15:05:10 +00:00
Mathieu Magnin
ec16b76b86
Merge pull request #10833 from demarches-simplifiees/CamilyaDellali-patch-7
Update FAQ je-souhaite-m-inscrire-a-l-epreuve-du-permis-de-conduire.f…
2024-09-20 15:04:52 +00:00
Mathieu Magnin
34bb70d220
Merge pull request #10827 from demarches-simplifiees/CamilyaDellali-patch-1
Update comment-deposer-un-autre-dossier-pour-une-meme-demarche.fr.md
2024-09-20 15:00:37 +00:00
Mathieu Magnin
eee7f32c69
Merge pull request #10829 from demarches-simplifiees/CamilyaDellali-patch-3
Update FAQ mon-dossier-a-ete-depose-par-un-tiers-et-je-souhaite-y-acc…
2024-09-20 14:59:45 +00:00
Paul Chavard
e4ac781b54
fix(rnf): remove deprecated status attribute 2024-09-20 16:58:51 +02:00
Paul Chavard
92cc8bb415
fix(rnf): change RNF api endpoint 2024-09-20 16:58:50 +02:00
dependabot[bot]
0ca357c314
chore(deps): bump puma from 6.4.2 to 6.4.3
Bumps [puma](https://github.com/puma/puma) from 6.4.2 to 6.4.3.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.4.2...v6.4.3)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 14:51:26 +00:00
Paul Chavard
d17ab771db
Merge pull request #10824 from mfo/US/drop-unussed-big-index
amelioration ETQ tech/ops, on souhaite ne pas avoir d'index non utilisé (et plus maintenu)
2024-09-20 14:22:39 +00:00
Corinne Durrmeyer
7dcb2fbe23
Merge pull request #10838 from demarches-simplifiees/a11y-fix-password-security-alert
Ajoute la vocalisation du composant d'analyse de complexicité du mot de passe pour les technologies d'assistance
2024-09-20 14:05:49 +00:00
Mathieu Magnin
e9b5c4a615
[#10837] Add an explicit message when SIRET is not valid on service 2024-09-20 15:44:46 +02:00
Paul Chavard
356dae446c
fix(spec): make pagination links clickable 2024-09-20 15:24:41 +02:00
Paul Chavard
0aba2456cd
fix(spec): scroll to combobox before filling 2024-09-20 15:24:13 +02:00
Corinne Durrmeyer
d79fb43635
Add forgotten hint 2024-09-20 15:07:43 +02:00
Corinne Durrmeyer
6e960d2b21
Remove useless attributes 2024-09-20 15:07:16 +02:00
Corinne Durrmeyer
6f7e7f43d6
Password complexity : Adds component vocalization for ATs 2024-09-20 14:32:17 +02:00
mfo
3b3c845b2e
fix(fix_champs_commune_having_value_but_not_external_id): only asks for update for dossier en construction 2024-09-20 14:30:42 +02:00
LeSim
28b8c8bf84
Merge pull request #10835 from demarches-simplifiees/add-opendata-attribute-on-manager
Add opendata attribute on manager
2024-09-20 11:29:16 +00:00
mfo
ada5ceeeec
fix(data): revert pending_correction for champs commune not having external_id, was a mistake. mine 2024-09-20 11:54:11 +02:00
Mathieu Magnin
a11fb0081e
Add opendata attribute on manager 2024-09-20 11:30:12 +02:00
CamilyaDellali
149daf7187
Update FAQ je-souhaite-m-inscrire-a-l-epreuve-du-permis-de-conduire.fr.md 2024-09-20 11:26:39 +02:00
CamilyaDellali
e3f43a04b2
Update FAQ je-souhaite-obtenir-un-duplicata-cerfa-02-neph.fr.md 2024-09-20 11:24:58 +02:00
CamilyaDellali
2be29ddced
Update mon-dossier-a-ete-depose-par-un-tiers-et-je-souhaite-y-acceder.fr.md 2024-09-20 11:17:27 +02:00
CamilyaDellali
4e414de14f
Update FAQ - je-veux-changer-mon-adresse-email.fr.md 2024-09-20 11:15:07 +02:00
CamilyaDellali
fdde7bbb97
Update FAQ mon-dossier-a-ete-depose-par-un-tiers-et-je-souhaite-y-acceder.fr.md 2024-09-20 11:06:24 +02:00
CamilyaDellali
53f7b7bb5e
Update comment-dupliquer-un-dossier-deja-depose.fr. 2024-09-20 10:58:33 +02:00
CamilyaDellali
4e9f93e160
Update comment-deposer-un-autre-dossier-pour-une-meme-demarche.fr.md 2024-09-20 10:55:15 +02:00
mfo
cd8c55b161
Merge pull request #10814 from demarches-simplifiees/fix-10813
[bug] Ne pas afficher de 500 quand value_json d'un champ SIRET est nil
2024-09-19 15:22:45 +00:00
mfo
ca26143ce3
tech(db): drop unused index 2024-09-19 17:05:32 +02:00
mfo
b7a898e390
Merge pull request #10823 from mfo/US/add-missing-indexes-on-deleted-dossier-and-france-connect-informations
Amelioration: ETQ ops/tech, je souhaite soulager la base de donnée des requetes gourmandes
2024-09-19 14:02:39 +00:00
mfo
2714480e0a
perf(idx): add missing indexes 2024-09-19 15:18:45 +02:00
Corinne Durrmeyer
2c69f93edd
Remove time slot from telephone link 2024-09-19 14:15:58 +02:00
Corinne Durrmeyer
c950925a57
Distinguish links from content 2024-09-19 14:15:54 +02:00
Corinne Durrmeyer
6cd91015cf
Update spec file 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
acdd259e1d
Uniform title with link content 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
019b1e389f
Add missing h2 to footer 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
aa0e469dc5
Replace h2 with h3 in france connect component 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
5d6c97eb2f
Replace p.fr-callout__text with div to avoid unauthorised nesting 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
b301ad9109
Hide decorative content from TA 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
3962c24892
Empty alt attribute for decorative images 2024-09-19 14:15:50 +02:00
LeSim
77a84358a0
Merge pull request #10821 from demarches-simplifiees/revert_champs_refactor
Tech: Revert "Merge pull request #10771 from tchak/refactor-champs-revert"
2024-09-19 11:19:18 +02:00
simon lehericey
10a1ae5534
Revert "Merge pull request #10771 from tchak/refactor-champs-revert"
This reverts commit c902061ebf, reversing
changes made to b4ed11c788.
2024-09-19 11:09:01 +02:00
Lisa Durand
5b31aca888
improve transfer mail for user without account 2024-09-18 17:19:26 +02:00
LeSim
6b322d61ca
Merge pull request #10776 from demarches-simplifiees/ac_2fa
ETQ Instructeur, je dois utiliser le 2fa pour le fournisseur d'identité Agent Connect / Mon Compte Pro
2024-09-18 12:48:39 +00:00
LeSim
d32124d732
Merge pull request #10807 from demarches-simplifiees/slow_drop_down_cleaning
Tech: simplification de la logique des champs listes
2024-09-18 12:46:15 +00:00
Lisa Durand
3d50f9363f
Merge pull request #10741 from demarches-simplifiees/secu-improve-complexity-password-ldu
[sécu] Améliorer la complexité des mots de passe pour tous les users
2024-09-18 12:40:17 +00:00
simon lehericey
05238912cf
record amr for stat 2024-09-18 14:40:12 +02:00
simon lehericey
47852bfafb
add amr column 2024-09-18 14:40:11 +02:00
simon lehericey
363f70a3fc
add feature flipping, just in case 2024-09-18 14:40:11 +02:00
simon lehericey
cd2d772cd0
feature(agent_connect_2fa): add intermediate pages to improve UX 2024-09-18 14:40:11 +02:00
simon lehericey
6f5135a6b2
refactor: extract agent_connect logout_url to a agent_connect_service 2024-09-18 14:40:11 +02:00
simon lehericey
1706feec3d
feature(agent_connect_2fa): do not log AC/MonComptePro agent without 2fa 2024-09-18 14:40:10 +02:00
simon lehericey
5f25756ae2
ask for amr (Authentication Methods References) 2024-09-18 14:40:10 +02:00
simon lehericey
1e9982927a
add identity_provider id scope 2024-09-18 14:40:10 +02:00
simon lehericey
c0fe06ceb7
refactor: simplify ZxcvbnService 2024-09-18 12:57:58 +02:00
Lisa Durand
214a0daca1
small wording adjustment 2024-09-18 12:57:51 +02:00
LeSim
2d37cfbfb8
Merge pull request #10817 from demarches-simplifiees/fix-db-seeds
Correctif : ajoute une assignation manquante dans `db/seeds.rb`
2024-09-18 09:18:41 +00:00
Lisa Durand
3469eeea17
fix tests 2024-09-18 11:09:14 +02:00
LeSim
c89e60d5fa
Merge pull request #10793 from demarches-simplifiees/remove_virtual_attribute_in_code
Tech: retire la protection contre les colonnes virtuelles
2024-09-18 08:38:20 +00:00
Eric Leroy-Terquem
8e2c5bfd56
fix(seeds): fix typo 2024-09-18 10:30:05 +02:00
simon lehericey
d3667bbd6c
remove empty value in drop_down_list in db 2024-09-18 10:26:01 +02:00
simon lehericey
061c9cc6f3
remove default empty value in drop_down_list 2024-09-18 10:26:00 +02:00
simon lehericey
51e192939c
pack drop_down stuff together 2024-09-18 10:08:12 +02:00
simon lehericey
85684e3bea
homogenize render? if not options 2024-09-18 10:08:12 +02:00
simon lehericey
f1a606da6d
one less indirection 2024-09-18 10:08:12 +02:00
simon lehericey
b3ad237fa1
simplify drop_down_list_value 2024-09-18 10:08:12 +02:00
simon lehericey
2f64fe5e4c
one less indirection 2024-09-18 10:08:12 +02:00
simon lehericey
f046f31dcc
remove_disabled_options 2024-09-18 10:08:11 +02:00
LeSim
38ced210a9
Merge pull request #10815 from demarches-simplifiees/dependabot/bundler/devise-two-factor-6.0.0
chore(deps): bump devise-two-factor from 5.0.0 to 6.0.0
2024-09-18 09:41:51 +02:00
dependabot[bot]
ede6708540
chore(deps): bump devise-two-factor from 5.0.0 to 6.0.0
Bumps [devise-two-factor](https://github.com/tinfoil/devise-two-factor) from 5.0.0 to 6.0.0.
- [Changelog](https://github.com/devise-two-factor/devise-two-factor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tinfoil/devise-two-factor/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: devise-two-factor
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 21:33:38 +00:00
Mathieu Magnin
bfb7b59033
[#10813] When value_json of champ SIRET is nil do not crash 2024-09-17 19:05:36 +02:00
Colin Darie
39ebaadf03
Merge pull request #10811 from colinux/fix-stats-nav-bar
ETQ usager, pas d'erreur sur la page stats quand je viens de la page commencer (à cause de la navbar)
2024-09-17 16:05:24 +00:00
Mathieu Magnin
3a7faeaa5e
Merge pull request #10810 from demarches-simplifiees/add-test-for-jwt-field
Add a spec file for the JWT Administrate Field
2024-09-17 15:01:53 +00:00
Mathieu Magnin
587b79ce54
Add a spec file for the JWT Administrate Field 2024-09-17 16:45:45 +02:00
mfo
1e0391c9dc
Merge pull request #10806 from mfo/US/fix-number-not-number-in-filters
Correctif: ETQ instructeur, la recherche par numéro de dossier ne doit accepter que des numero
2024-09-17 14:39:08 +00:00
Colin Darie
79a1d9b99d
fix(navbar): never fail request on broken navbar logic 2024-09-17 16:18:16 +02:00
Colin Darie
b68b340d81
fix(stats): nav bar profile logic when fallbacking on referer context without request 2024-09-17 15:59:24 +02:00
Lisa Durand
1d0be04f2a
Merge pull request #10809 from demarches-simplifiees/design-improve-fc-email-page-ldu
[Design] Amelioration du design de la page de confirmation du mail de France Connect
2024-09-17 13:47:02 +00:00
Eric Leroy-Terquem
969706163b
Merge pull request #10641 from demarches-simplifiees/move-image-treatment-to-jobs
Technique : déplace les traitements d‘images côté jobs
2024-09-17 13:43:51 +00:00
mfo
ebb51e8128
fix(filters): filter by dossier should only accept number 2024-09-17 15:18:23 +02:00
Lisa Durand
edc4f826f2
small design improvement for FC email page 2024-09-17 15:01:01 +02:00
Mathieu Magnin
f9994245f1
Merge pull request #10808 from demarches-simplifiees/fix-missing-expiration
Fix missing expiration after refacto
2024-09-17 12:34:05 +00:00
Mathieu Magnin
8384be12a0
Fix missing expiration after refacto 2024-09-17 14:26:06 +02:00
Paul Chavard
c902061ebf
Merge pull request #10771 from tchak/refactor-champs-revert
Champ related cleanups and refactoring (bis)
2024-09-17 10:02:51 +00:00
Paul Chavard
3fef831524
move child? method for clarity 2024-09-17 10:29:34 +02:00
Paul Chavard
54132df77d
dossier(champ): validate presence of row_ids 2024-09-17 10:29:34 +02:00
Paul Chavard
33e502234e
refactor(dossier loader): simplify all the things 2024-09-17 10:29:34 +02:00
Paul Chavard
2ba356bc68
cleanup(prefill): remove unused validation 2024-09-17 10:29:34 +02:00
Paul Chavard
c94d1b7eea
cleanup: more concistent methods usage 2024-09-17 10:29:34 +02:00
Paul Chavard
f02ec3da82
cleanup in spec 2024-09-17 10:29:34 +02:00
Paul Chavard
a474cf4590
refactor(attestation): unspecified_champs_for_dossier based on types_de_champ 2024-09-17 10:29:34 +02:00
Paul Chavard
54926db89b
refactor(champ): more concistent champ_for_update usage 2024-09-17 10:29:34 +02:00
Paul Chavard
988025ba69
refactor(champs): validate only champs in current revision 2024-09-17 10:29:34 +02:00
Paul Chavard
df83322f0c
refactor(apiv1): use dossier preloader on api v1 2024-09-17 10:29:34 +02:00
Paul Chavard
ed4fbc887a
refactor(dossier): remove unused scopes 2024-09-17 10:29:34 +02:00
Paul Chavard
3817f334c9
refactor(repetition): use less champs and public_id methods 2024-09-17 10:29:34 +02:00
Mathieu Magnin
b4ed11c788
Merge pull request #10800 from demarches-simplifiees/fix-10798
[#10798] ETQ Superadmin, je veux savoir sur le Manager si une démarche a un jeton d'api entreprise configuré
2024-09-17 07:59:59 +00:00
Mathieu Magnin
7ace670010
[#10798] fix tests 2024-09-17 09:47:46 +02:00
Mathieu Magnin
910f0db7ba
[#10753] fix missing condition on created at 2024-09-17 09:35:35 +02:00
Lisa Durand
fdb2ebd5d1
inject more french dictionnaries to zxcvbn lib 2024-09-17 09:31:47 +02:00
mfo
36247a4b6d
Merge pull request #10770 from demarches-simplifiees/US/fix-timeouting-task-fixing-champs-commune
ETQ operateur DS, je souhaite pouvoir corriger les champs de type commune ayant de la bad data
2024-09-17 07:17:47 +00:00
Paul Chavard
9924b2d640
Merge pull request #10804 from tchak/better_drop_down_other_option
Drop down other label set to 'Enter another option' instead of 'Other'
2024-09-16 15:12:14 +00:00
Paul Chavard
34a05d0bf0
Merge pull request #10462 from demarches-simplifiees/can-filter-from-repetition-content
ETQ instructeur je peux filtrer à partir du contenu d'un bloc répétable
2024-09-16 14:59:05 +00:00
Paul Chavard
e7bc7c4783
feat(procedure): can filter from repetion content 2024-09-16 16:46:49 +02:00
mfo
7bbf04b9b5
Merge pull request #10774 from mfo/US/fix-PG-NumericValueOutOfRange
correctif: ETQ instructeur, si j'ai essayé de filtrer mes dossiers par numéro et que j'ai saisi un numero superieur à 2147483647, ma page ne doit pas planter
2024-09-16 14:43:59 +00:00
Christian Lautier
17bbc474ff
Drop down other label set to 'Enter another option' instead of 'Other' 2024-09-16 16:41:46 +02:00
mfo
18137b176c
fix(fix_champs_commune_having_value_but_not_external_id_task): timeouting despite classic pattern to find all champs for a specific type. lighten request by selecting only :id and processing batches 2024-09-16 16:38:46 +02:00
mfo
6af07dd721
data(fix): backfill invalid procedure presentation filters having a value greater than pg max integer 2024-09-16 16:36:02 +02:00
mfo
4bd518f85e
Merge pull request #10802 from mfo/US/fix-rnf-with-removed-fondation
Correctif: ETQ usager/instructeur, je souhaite pouvoir visualiser les dossiers ayant un champ fondation dont celle ci a ete supprimé du registre
2024-09-16 13:48:05 +00:00
Paul Chavard
e9009025f6
Merge pull request #10736 from demarches-simplifiees/fix-notif-to-instructeurs-when-import
Correctif: lors de l‘import en masse d'instructeurs, les nouveaux instructeurs reçoivent un lien pour vérifier leur email
2024-09-16 13:31:33 +00:00
Colin Darie
3a3993f2e1
chore: attempt to inject our french dictionnary to new zxcvbn lib
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2024-09-16 15:28:15 +02:00
Lisa Durand
030bfa6651
disable submit button on page loading 2024-09-16 15:28:15 +02:00
Lisa Durand
1a75e27097
change min_length password from 8 to 12 2024-09-16 15:28:14 +02:00
Lisa Durand
22e06bc5eb
change password complexity library and setup 2024-09-16 15:28:14 +02:00
Lisa Durand
0b0e47b7cd
change passwords in specs 2024-09-16 15:28:11 +02:00
Lisa Durand
71e03203aa
add password complexity for expert 2024-09-16 15:23:43 +02:00
Lisa Durand
766a5608bb
remove unused views 2024-09-16 15:23:43 +02:00
Lisa Durand
00a155b896
add password complexity for instructeur, user and password change 2024-09-16 15:23:43 +02:00
Paul Chavard
dd199eb02d
Merge pull request #10791 from demarches-simplifiees/clean_virtual_column
Tech: suppression de l'attribut maintenant obsolète `virtual` des données des procédures présentations
2024-09-16 13:22:38 +00:00
mfo
e2ec5118f4
fix(champs.rnf): some foundations was removed from the registry. lucky us [or good archi ? :D], we kept api data 2024-09-16 14:24:40 +02:00
Paul Chavard
ae7971bdea
Merge pull request #10801 from tchak/api-entreprise-get-foreign-address
fix(api-entreprise): save libelle_commune_etranger and libelle_pays_etranger in db
2024-09-16 11:04:27 +00:00
Paul Chavard
763fdc95d9
Merge pull request #10720 from tchak/capybara-playwright-driver
use playwright driver
2024-09-16 10:56:25 +00:00
Paul Chavard
f5fdef0600
fix(api-entreprise): save libelle_commune_etranger and libelle_pays_etranger in db 2024-09-16 12:55:59 +02:00
Paul Chavard
20af103bf5
run some tests in selenium 2024-09-16 12:31:10 +02:00
Paul Chavard
a57d8f2df8
fix failing spec 2024-09-16 12:31:10 +02:00
Paul Chavard
1577fdd6af
add playwright debug helper 2024-09-16 12:31:10 +02:00
Paul Chavard
6d752fa0d1
spec(js): run axe specs in chrome for now 2024-09-16 12:31:10 +02:00
Paul Chavard
142c789e76
use playwright driver 2024-09-16 12:31:10 +02:00
Paul Chavard
7b1c882498
spec(js): cleanup js tags 2024-09-16 12:31:10 +02:00
Colin Darie
58037f21cd
Merge pull request #10778 from colinux/sharerd-controller-nav-bar-profile
UX: améliore la détection du type de profile utilisé pour la nav bar
2024-09-16 08:01:03 +00:00
Mathieu Magnin
539853255d
Missing frozen_string_literal 2024-09-13 16:52:42 +02:00
Mathieu Magnin
ce22adf811
[#10798] Indicate in manager if api_entreprise_token is present / valid / expired 2024-09-13 16:47:31 +02:00
Paul Chavard
240640226a
Merge pull request #10796 from tchak/fix-graphql-playground
graphql(playground): fix acl
2024-09-13 13:33:50 +00:00
Paul Chavard
f00ba04fb9
graphql(playground): fix acl 2024-09-13 14:28:13 +02:00
mfo
52610010b7
Merge pull request #10794 from mfo/US/fix-normalized-international-adresse
correctif: ETQ usager une adresse internationnale ne fait pas planter la page
2024-09-13 12:13:11 +00:00
Paul Chavard
c0a6dd143e
Merge pull request #10780 from demarches-simplifiees/clean_drop_down_data
Technique: nettoyage des options ignorées des types de champ drop_down_list
2024-09-13 10:49:47 +00:00
mfo
7a78fdc913
fix(normalized_address): should not raise an error for addresses without code postal 2024-09-13 11:19:05 +02:00
mfo
eb3d2cb20c
bug(normalized_address): should not raise an error for addresses without code postal 2024-09-13 11:17:16 +02:00
simon lehericey
bc7d91751d
Revert "fix: ignore virtual data in column initialization"
This reverts commit 4289aa2cf5.
2024-09-13 11:00:08 +02:00
simon lehericey
317c4344fc
clean: tdc.drop_down_options 2024-09-13 10:39:48 +02:00
simon lehericey
eddbe77c09
remove virtual column attribute from procedure_presentation data 2024-09-13 10:26:52 +02:00
Mathieu Magnin
d8a0adc6ed
Merge pull request #10772 from demarches-simplifiees/fix-10751
ETQ Instructeur, jamais connecté, je ne veux pas recevoir 10 mails si j'ai été ajouté à 10 groupes
2024-09-13 08:08:16 +00:00
Paul Chavard
7286fb9ef2
Merge pull request #10775 from tchak/improuve-chromedriver-config
spec(selenium): improve chromedriver config
2024-09-12 18:46:11 +00:00
Colin Darie
8dfddba433
Merge pull request #10584 from colinux/attestation-render-list
ETQ admin, améliore l'affichage de champ choix multiple et répétitions dans les attestations v2
2024-09-12 14:40:32 +00:00
Lisa Durand
697e2328e3
Merge pull request #10777 from demarches-simplifiees/improve-wording-reset-link-pwd-ldu
ETQ usager, améliore la page après envoi du mot de passe oublié
2024-09-12 14:37:48 +00:00
Colin Darie
f6744adbde
fix: never show 'guest' profile name
it's just a hack to tell we don't known the actual profile
2024-09-12 10:00:19 +02:00
Colin Darie
d566186954
fix: coherent nav bar profile for super admins 2024-09-12 10:00:19 +02:00
Colin Darie
16e1daac9b
fix(recherche): respects nav bar profile context 2024-09-12 10:00:18 +02:00
Colin Darie
0309e0f6b2
refactor(profile): generalize profile from referrer or for user 2024-09-12 10:00:18 +02:00
Mathieu Magnin
dfbc132911
[#10753] fix test that fails on CI 2024-09-11 20:22:38 +02:00
Mathieu Magnin
a99fae168c
[#10751] Allow sending a new invitation if the user's previous one has expired 2024-09-11 18:45:15 +02:00
Mathieu Magnin
790177c758
[#10751] Only send the first invitation mail to the instructeur if email is not verified (from admin controller) 2024-09-11 18:45:15 +02:00
Mathieu Magnin
d7811fca40
[#10751] Only send the first invitation mail to the instructeur if email is not verified 2024-09-11 18:45:15 +02:00
Mathieu Magnin
678c9ea6bc
[#10753] Mark email as verified for users who signed in at least once in the last 5 months. 2024-09-11 18:43:33 +02:00
Colin Darie
b5c024cca5
Merge pull request #10768 from colinux/disable-admin-hide-instructeur-toggle
ETQ tech c'est finalement par le manager qui définit si le flag pour masquer l'email des instructeurs
2024-09-11 15:29:06 +00:00
Colin Darie
0201feec65
feat(manager): can hide instructeurs email from procedure 2024-09-11 17:20:58 +02:00
Colin Darie
615b4a6bc4
fix(afterparty): use actual procedure ids and not gate ids 2024-09-11 17:20:58 +02:00
Colin Darie
b987688d19
refactor: disable auto hide instructeurs toggle by admin 2024-09-11 17:20:57 +02:00
Colin Darie
09cafdb15f
Merge pull request #10745 from colinux/helpscout-delete-old-customers
ETQ opérateur, je supprime les contacts HS > 2 ans
2024-09-11 15:19:33 +00:00
Lisa Durand
966c110df8
add strong tags to highlight email and application name 2024-09-11 15:26:58 +02:00
mfo
8a54650f93
Merge pull request #10727 from mfo/US/validate-fk-champs-dossiers
correctif, ETQ opérateur de DS, je souhaite garantir la consistence des données entre champs et dossiers (pas de champs sans dossier)
2024-09-11 13:06:27 +00:00
Lisa Durand
abbbb09180
make reset link page clearer 2024-09-11 11:41:11 +02:00
Paul Chavard
701e71cbbf
spec(selenium): improve chromedriver config 2024-09-10 21:31:30 +02:00
mfo
02bbf26d3f
feat(ProcedurePresentation): validates that ProcedurePresentation.filters using a value casted as an integer [search by id] is not out of pg integer range 2024-09-10 17:47:50 +02:00
mfo
8ebb076a29
bug(ProcedurePresentation.filtered_ids): using numbers bigger than pg limit should not raise an error 2024-09-10 17:15:35 +02:00
Colin Darie
4e1e189989
Merge pull request #10769 from colinux/typo-region
ETQ instructeur, corrections de typos dans les sous-filtres SIRET
2024-09-10 14:59:24 +00:00
Colin Darie
6240d54fd4
fix: unbreakable space for better look in filters 2024-09-10 12:36:13 +02:00
Colin Darie
40b5eb5ea7
fix: typo region => région 2024-09-10 12:29:53 +02:00
Colin Darie
3e1bcb35d6
Merge pull request #10767 from demarches-simplifiees/fix_init_column_with_virtual_keyword
Tech: corrige l'utilisation de la donnée `virtual` des procedures presentations lors de l'initialisation de column
2024-09-09 14:44:58 +00:00
simon lehericey
4289aa2cf5
fix: ignore virtual data in column initialization 2024-09-09 16:37:22 +02:00
Colin Darie
ab3139c2ed
Merge pull request #10680 from demarches-simplifiees/a11y-fix-demarche-header
Refonte du menu d'aide
2024-09-09 14:17:50 +00:00
LeSim
305c238249
Merge pull request #10764 from demarches-simplifiees/colinux-patch-1
ETQ usager, la FAQ "Comment trouver ma démarche" est enrichie
2024-09-09 13:44:30 +00:00
Colin Darie
53f1e67107
Merge pull request #10765 from bzg/main
chore(publiccode.yml): Add fundedBy
2024-09-09 15:51:18 +02:00
Bastien Guerry
4fd20897a0 chore(publiccode.yml): Add fundedBy 2024-09-09 13:32:44 +02:00
Colin Darie
6efdf75251
Améliore FAQ comment trouver ma démarche 2024-09-09 12:40:32 +02:00
mfo
5ab57a32ce
Merge pull request #10762 from mfo/US/export-when-tdc-change
Correctif, ETQ instructeur exportant mes dossiers, je souhaite retrouver la valeur saisie par les usagers quand les types de champ ont changés de type mais que les données restent compatible
2024-09-09 09:26:42 +00:00
mfo
7ec17ff7f5
fix(dossier.export): should not use default value when types_de_champ changed to a similar one 2024-09-09 11:00:01 +02:00
Colin Darie
7c30ab87bc
Merge pull request #10712 from colinux/rails-7-finalize-defaults
Rails 7.0 : finalise la migration des defaults
2024-09-09 08:08:27 +00:00
Colin Darie
977e47fa74
Merge pull request #10757 from mfo/US/fix-required-dossier-link-with-missing-dossier
correct: ETQ administrateur, je souhaite que les types de champ liens vers un dossier pointent vers un dossier valide si ils sont obligatoire
2024-09-09 07:28:48 +00:00
LeSim
7b80f24928
Merge pull request #10724 from demarches-simplifiees/bump_rexml
Tech: maj la dépendance rexml
2024-09-09 07:25:04 +00:00
Colin Darie
6e9fb7f247
Merge pull request #10740 from colinux/debug-email-verified
ETQ tech et super-admin, je veux voir rapidement si un user a son email verifié
2024-09-09 07:23:32 +00:00
simon lehericey
b21b3d5d81
bump rexml 2024-09-09 09:10:35 +02:00
Colin Darie
5d4cafc18f
Merge pull request #10722 from colinux/migrates-otp-secrets
Tech: task pour copier les secrets OTP vers les encrypted attributes
2024-09-09 07:08:30 +00:00
Colin Darie
1515e67651
Merge pull request #10760 from demarches-simplifiees/fix_unverified_admin_email
ETQ Administrateur, je peux recevoir des mails lorsque je valide mon compte depuis le mail d'invitation
2024-09-09 07:07:26 +00:00
Colin Darie
4f180520c2
Merge pull request #10763 from demarches-simplifiees/auto-restart-after-update
Auto restart rails after bin/update
2024-09-09 07:06:46 +00:00
Mathieu Magnin
956c812e6e
Auto restart rails after bin/update 2024-09-06 17:21:27 +02:00
Mathieu Magnin
71d43078ee
Merge pull request #10743 from demarches-simplifiees/fix-10742
ETQ instructeur mon adresse email est automatiquement vérifiée quand je me connecte par AgentConnect
2024-09-06 14:26:54 +00:00
mfo
ad33934059
bug(dossier.export): lose value of champ when updating the type de champ from integer_number -> decimal_number 2024-09-06 16:25:56 +02:00
mfo
fcc2b10198
tech(state): define initial state reported by Patrick, cf: https://mattermost.incubateur.net/betagouv/pl/9epn7spg4tg3pbh8jgakafhnmh 2024-09-06 16:25:14 +02:00
Mathieu Magnin
628be7c703
update => update! 2024-09-06 16:18:25 +02:00
Mathieu Magnin
22473adec7
[#10742] Set email as verified when instructeur signs in with Agent Connect 2024-09-06 16:18:11 +02:00
Mathieu Magnin
8d68bebaed
Merge pull request #10761 from demarches-simplifiees/fix-10754
ETQ Instructeur, si je n'ai pas vérifié mon email je dois quand même recevoir un email avec login token
2024-09-06 14:14:54 +00:00
LeSim
723ea310ba
Merge pull request #10758 from demarches-simplifiees/fix-10752
ETQ Instructeur je veux avoir mon email vérifié si je reset mon mdp
2024-09-06 13:36:29 +00:00
Mathieu Magnin
ced80bf23d
rewrite test with "expect to change" syntax
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-09-06 15:12:15 +02:00
Eric Leroy-Terquem
41ee00ebc3
Merge pull request #10755 from demarches-simplifiees/remove_gallery_demande_feature_flag
Technique : retire le feature flag gallery_demande
2024-09-06 13:00:54 +00:00
Mathieu Magnin
d1749c2baf
[#10754] verify email when using login token 2024-09-06 14:56:44 +02:00
simon lehericey
277c1a17c6
set verified_email when admin set its password from email link 2024-09-06 14:51:48 +02:00
Mathieu Magnin
95eb9ef9d4
[#10754] bypass unverified mail protection for login token emails 2024-09-06 14:15:06 +02:00
mfo
915779c9b0
Merge pull request #10749 from mfo/US/commune-without-insee
correctif: ETQ administrateur/instructeur, je souhaite que les champs de type commune aient tjr un code insee afin de router de maniere fiable
2024-09-06 11:44:00 +00:00
Mathieu Magnin
9e843a3df4
[#10752] set email verified after password reset 2024-09-06 12:06:05 +02:00
mfo
eb8b9a13ca
fix(Champs::DossierLinkChamp): when required, should point to existing dossier 2024-09-06 11:23:12 +02:00
Eric Leroy-Terquem
765281e1c3
chore(flipper): remove gallery_demande feature flag 2024-09-06 10:46:28 +02:00
Eric Leroy-Terquem
7dc853ad1c
refactor(instructeurs import): extract notify_instructeurs method 2024-09-06 10:00:17 +02:00
Eric Leroy-Terquem
d361ce2e38
fix(instructeurs import): send confirmation link if new instructeurs 2024-09-06 10:00:17 +02:00
mfo
657fb0ebf4
feat(Maintenance.communes): backfill missing external_id for communes champs in error 2024-09-06 09:29:28 +02:00
mfo
99b31b0cc8
db(seed): create user_fixer when seeding db, owner of instance will have to reset password 2024-09-06 08:37:08 +02:00
mfo
7a97ef656b
env(add): add ENV["MAINTENANCE_INSTRUCTEUR_EMAIL"] which will be used by our maintenance task to fix data, this email will be visible to users, in audit log etc... 2024-09-06 08:37:08 +02:00
mfo
ace2f4382f
tech(refactor): DataSources::CommuneController, move request methods to fetch and format commune searched by postal_code or name 2024-09-06 08:37:08 +02:00
mfo
5abba5a166
feat(Champs::CommuneChamp): ensure presence of external_id since some of Champs::CommuneChamp.external_id are missing while .value is present 🔥 2024-09-06 08:37:08 +02:00
Colin Darie
328844dabf
feat(task): delete contacts without activity since 2 years 2024-09-05 10:50:42 +02:00
LeSim
9fd53b182a
Merge pull request #10570 from demarches-simplifiees/feat/10425
ETQ Usager se connectant par FC, je dois confirmer mon mail
2024-09-05 08:07:23 +00:00
Kara Diaby
7bc43bd94b
Merge pull request #10721 from demarches-simplifiees/feat/10671
ETQ admin la non divulgation d'email des instructeurs n'est plus sous feature flag
2024-09-04 18:02:00 +00:00
Colin Darie
247bb6f8c6
refactor(attestation): hide libelle of empty repetitions 2024-09-04 17:42:04 +02:00
Kara Diaby
9cebac1d99
Supprime la vérification par feature flag et utilise la vérif par booléen au booléen 2024-09-04 15:00:03 +00:00
Kara Diaby
c86ad15b8c
Ajoute hide_instructeurs_identity sur Procedures et dans l'interface admin 2024-09-04 15:00:03 +00:00
Colin Darie
9f9720d65b
fix(attestation): delete empty paragraphs 2024-09-04 15:04:07 +02:00
Kara Diaby
07ea31fc4c
Add aria accessibility regarding the hidden class on partial choose email 2024-09-04 08:08:02 +00:00
Kara Diaby
0b4a9bb3bb
fixe les tests suite au changement de wording sur les layouts 2024-09-04 08:08:01 +00:00
Kara Diaby
ff88a0a2a6
Fix add requested_email column to france_connect_information table Lint error 2024-09-04 08:08:01 +00:00
Kara Diaby
08fb6c856e
Fix choose email screen 2024-09-04 08:08:01 +00:00
simon lehericey
ce095479b7
fix password reset with bad password scenario 2024-09-04 08:08:01 +00:00
simon lehericey
eaef5c7e39
readapt name and logic 2024-09-04 08:08:01 +00:00
simon lehericey
94be599401
add requested_email column to france_connect_information table 2024-09-04 08:07:57 +00:00
mfo
c0970693f3
fix(associate_user.with_existing_one): does not leak existing email when trying to choose an alternative email with france connect 2024-09-04 08:05:54 +00:00
Kara Diaby
b6d0502f39
modifications après dernière review 2024-09-04 08:05:54 +00:00
mfo
3cd5d778ca
a11y(particulier/merge): no empty legend, ensure to link fieldset with legend 2024-09-04 08:05:54 +00:00
mfo
03d425859d
feat(particulier#confirm_email): nicer 2024-09-04 08:05:54 +00:00
mfo
88a4619dcb
feat(particulier#associate_user): catch email already taken and redirect to reset password 2024-09-04 08:05:53 +00:00
mfo
828f491c14
feat(france_connect#choose_email): prevent bad email 2024-09-04 08:05:53 +00:00
mfo
fe69ada7d9
a11y(particulier/choose_email): no empty legend, ensure to link fieldset with legend 2024-09-04 08:05:53 +00:00
Kara Diaby
337f88575d
Modifications sur la méthode after_confirmation dans le modèle user 2024-09-04 08:05:53 +00:00
Kara Diaby
a4b8d816de
Tests 2024-09-04 08:05:53 +00:00
Kara Diaby
d6defce137
Ajoute un mailer pour l'envoi du lien de confirmation de mail customisé 2024-09-04 08:05:52 +00:00
Kara Diaby
6a9c489c7f
routes 2024-09-04 08:05:52 +00:00
Kara Diaby
9c41c9a08f
Model FC : au lieu de valider le mail on envoie une demande de confirmation par mail 2024-09-04 08:05:52 +00:00
Kara Diaby
f531ba65f2
locales 2024-09-04 08:05:52 +00:00
Kara Diaby
c51cf7e048
Layout : ajoute les vues pour confirmer le mail fc ou en choisir un autre 2024-09-04 08:05:52 +00:00
Kara Diaby
fb5968bf25
France connect particulier controller : permet de gérer le cas ou le mail n'est pas connu de DS
Signed-off-by: Kara Diaby <kdiaby.pro@gmail.com>
2024-09-04 08:05:51 +00:00
Colin Darie
1524f5ba16
feat(maintenance): add task to copy super admin OTP secrets to Rails 7 encrypted attributes 2024-09-03 19:25:32 +02:00
mfo
0b8212f151
Merge pull request #10738 from mfo/US/fix-not-expanded-type-de-champ-textarea
ETQ usager, j'aimerais avoir les champs de type texte long d'une hauteur differente des champs de type texte court
2024-09-03 15:24:25 +00:00
Lisa Durand
27c8abfb4b
Merge pull request #10734 from demarches-simplifiees/cannot-publish-with-test-service-ldu
ETQ Admin, je ne dois pas pouvoir publier une démarche avec les informations du service de test
2024-09-03 15:00:30 +00:00
Colin Darie
bd1a888c5b
feat(manager): list email verified at 2024-09-03 16:51:17 +02:00
Colin Darie
d29cf3d222
refactor(activation): more readable condition 2024-09-03 16:51:00 +02:00
mfo
a3050348e2
fix(autoresize_controller.ts): ensure to bind autoresize-textarea when element is visible, otherwise it is not expanded by 5 rows as expected by default
cleaner ts implementation

Co-authored-by: Colin Darie <colin@darie.eu>
2024-09-03 16:41:08 +02:00
LeSim
845a4582d3
Merge pull request #10733 from demarches-simplifiees/fix_flaky_spec
Tech: corrige une autre spec non fiable
2024-09-03 12:47:53 +00:00
LeSim
44d5704af2
Merge pull request #10735 from demarches-simplifiees/go_bye_bye_virtual
Tech: retire l'attribut virtual des colonnes
2024-09-03 07:18:13 +00:00
simon lehericey
e0daf1032d
rename virtual_dates by non_displayable_dates 2024-09-02 17:27:35 +02:00
simon lehericey
245f7bb975
remove column.virtual params 2024-09-02 17:25:46 +02:00
simon lehericey
3c7c58623f
replace virtual: true by displayable: false 2024-09-02 17:25:22 +02:00
Lisa Durand
0da8d9449d
use other siret for factory 2024-09-02 17:13:43 +02:00
simon lehericey
523e4fff41
spec: fix flaky 2024-09-02 16:52:25 +02:00
Lisa Durand
b5051a25d9
it displays an alert if using test service before publishing a procedure 2024-09-02 16:52:21 +02:00
Colin Darie
4db4cf1513
fix(attestation): don't render block levels presentation elements into a p 2024-09-02 16:11:02 +02:00
Colin Darie
c9956c4881
feat(attestation): better presentation of repetition champs 2024-09-02 16:11:02 +02:00
Colin Darie
09581ad028
feat(attestation): render multiple drop down list as list 2024-09-02 15:23:11 +02:00
Colin Darie
ae207ac2e6
chore(attestation): link to new test dossier 2024-09-02 15:23:11 +02:00
Colin Darie
8e1cfd50dd
feat(procedure): improve dossier_for_preview with last dossier, excluding hidden by user 2024-09-02 15:23:10 +02:00
Colin Darie
31cc6578aa
Merge pull request #10725 from colinux/admin-minor-renaming
ETQ admin, renomme *Pour aller plus loin* en *Autres paramètres*
2024-09-02 13:20:52 +00:00
Colin Darie
8f60909155
chore(admin): rename 'Pour aller plus loin' => 'Autres paramètres'
Closes #9844
2024-09-02 15:12:41 +02:00
Colin Darie
cb902732be
Merge pull request #10710 from demarches-simplifiees/remove-unused-hidden-at-for-dossiers-ldu
[Tech] Retirer la colonne obsolète 'hidden_at' des dossiers (part 1)
2024-09-02 12:41:28 +00:00
mfo
f171727140
Merge pull request #10703 from mfo/US/dry-rna-rnf-siret-addresses-view
ETQ instructeur, je souhaite acceder aux information liées à l'adresses des champs RNA/RNF/SIRET
2024-09-02 12:25:54 +00:00
mfo
622b3d0ff2
Merge pull request #10732 from mfo/US/unflack_expert_spec
Tech : corrige un test qui bagotait (expert_spec:141)
2024-09-02 12:25:34 +00:00
mfo
810068e5a8
fix(spec): no more flackyness on ./spec/system/experts/expert_spec.rb:141 2024-09-02 11:14:32 +02:00
mfo
0ffb7cd886
Merge pull request #10731 from mfo/US/fix-spec
Tech : corrige un test cassé
2024-09-02 08:54:02 +00:00
mfo
7c3dd84e9f
fix(spec): broken 2024-09-02 09:55:17 +02:00
Colin Darie
46547cb2cd
Merge pull request #10729 from mfo/US/fix-errored-data
ETQ usager, je souhaite que me dossier soit debloqué
2024-08-30 17:45:04 +02:00
mfo
3a33d8af45
fix(data): unlock broken dossier due to bad release 2024-08-30 17:37:05 +02:00
Colin Darie
fb184ce372
Merge pull request #10728 from demarches-simplifiees/revert-10711-refactor-champ-related-cleanups
Revert "Champ related cleanups and refactoring"
2024-08-30 16:52:18 +02:00
Colin Darie
e7443c2308
Revert "Champ related cleanups and refactoring" 2024-08-30 16:43:30 +02:00
Eric Leroy-Terquem
37a018880b
chore: generate representations coming from ActionText in background 2024-08-30 16:37:19 +02:00
mfo
b79860229e
tech(data): validate fk between champs.dossier_id and dossiers.id 2024-08-30 15:13:40 +02:00
Eric Leroy-Terquem
4d0961d3ec
chore: remove uninterlacing from web machines 2024-08-30 14:28:43 +02:00
Eric Leroy-Terquem
0511a84abf
chore: move uninterlace to image processor job 2024-08-30 14:28:43 +02:00
Eric Leroy-Terquem
00c905a615
chore: generate variant for procedure logo in background 2024-08-30 14:28:42 +02:00
LeSim
7693d216d8
Merge pull request #10726 from mfo/fix-delete-orphaned
correctif : ETQ tech je souhaite que a tache qui détruit les champs sans dossier fonctionne
2024-08-30 12:00:36 +00:00
mfo
818e16b234
fix(delete_orphaned_champs_with_missing_dossier): must reload champ before destroying when plucked. also rescue error when repetition chidren is destroyed after parent 2024-08-30 11:39:50 +02:00
LeSim
ad6aa84774
Merge pull request #10723 from demarches-simplifiees/multiple_urls
Ajoute la possibilité d'avoir plusieurs urls pour une démarche (HACK à ne pas utiliser)
2024-08-29 16:08:54 +00:00
simon lehericey
6677f31652
use path_rewrite in commencer controller 2024-08-29 17:01:40 +02:00
simon lehericey
516205efd9
add path_rewrite model 2024-08-29 16:15:07 +02:00
Colin Darie
5859ea4a23
chore: load rails 7.0 defaults 2024-08-28 13:58:59 +02:00
Colin Darie
ca7100c7af
chore(encryption): task rotating api particulier token encrypted attributes 2024-08-28 13:58:59 +02:00
Colin Darie
3ac671576b
chore(encryption): rotate key with new default digest (SHA256) 2024-08-28 13:58:59 +02:00
Colin Darie
98ff68f923
chore: rotate cookies with SHA256 hash 2024-08-28 13:58:59 +02:00
Colin Darie
ced61b4613
chore: config cache format to rails 7 2024-08-28 13:58:58 +02:00
mfo
a784b01ff1
Merge pull request #10718 from mfo/US/change_delete_orphaned_champs_from_maintenance_task_to_after_party
ETQ Tech, je souhaite pouvoir lancer une tache de migration avec un PG_STATEMENT_TIMEOUT personnalisable
2024-08-27 11:54:44 +00:00
mfo
bab8fc2d29
fix(delete_orphaned_champs): maintenance tasks with custom PG_STATEMENT_TIMEOUT is not a good fit. change implementation to after_party 2024-08-27 13:43:28 +02:00
mfo
0771d207f3
Merge pull request #10716 from mfo/US/fix-bad-data
ETQ instance DS, je souhaite que l'intégrité des données entre les champs et les dossiers soient garantie par une contrainte en base de donnée
2024-08-26 14:23:25 +00:00
mfo
1d84c0f55b
fix(champs.orphaned): add maintenance task to clean orphaned champs where dossier is missing 2024-08-26 16:00:59 +02:00
mfo
ccddf885f6
fix(data): add missing foreign key on production between champs.dossier_id and dossier.id, use validate: false to delay validation 2024-08-26 15:56:05 +02:00
Paul Chavard
7b4d1e4c03
Merge pull request #10711 from tchak/refactor-champ-related-cleanups
Champ related cleanups and refactoring
2024-08-26 13:10:50 +00:00
Paul Chavard
79c9784d17
refactor(dossier loader): simplify all the things 2024-08-26 14:53:56 +02:00
Paul Chavard
bb288337bf
cleanup(prefill): remove unused validation 2024-08-26 14:53:56 +02:00
Paul Chavard
3ef6f450da
cleanup: more concistent methods usage 2024-08-26 14:53:56 +02:00
Paul Chavard
32bf3ec9db
cleanup in spec 2024-08-26 14:53:56 +02:00
Paul Chavard
5edb8749c0
refactor(attestation): unspecified_champs_for_dossier based on types_de_champ 2024-08-26 14:53:56 +02:00
Paul Chavard
1aee7ab1d2
refactor(champ): more concistent champ_for_update usage 2024-08-26 14:53:56 +02:00
Paul Chavard
f7cd7e615d
refactor(champs): validate only champs in current revision 2024-08-26 14:53:56 +02:00
Paul Chavard
8ccf2bed4c
refactor(apiv1): use dossier preloader on api v1 2024-08-26 14:53:56 +02:00
Paul Chavard
701a28302e
refactor(dossier): remove unused scopes 2024-08-26 14:53:56 +02:00
Paul Chavard
bb2f590d18
refactor(repetition): use less champs and public_id methods 2024-08-26 14:53:56 +02:00
Eric Leroy-Terquem
8ec2b38d8a
Merge pull request #9944 from demarches-simplifiees/can-route-by-address
ETQ admin je peux conditionner / router depuis un champ adresse
2024-08-26 09:45:11 +00:00
Eric Leroy-Terquem
fade633828
feat(routing): can create simple routing with address tdc 2024-08-26 11:16:47 +02:00
Eric Leroy-Terquem
8b4b4d7cb7
feat(conditional): can condition and route on address champ 2024-08-26 11:16:46 +02:00
mfo
340828c3d3
Merge pull request #10714 from mfo/US/fix-populate-siret-value-json-missing-dossier
Correctif, ETQ Tech, je souhaite que la tache qui peuple les adresses normalisées des champs siret ne plante pas a cause de bad data sur les champs
2024-08-26 08:43:18 +00:00
mfo
03a72ccf06
fix(PopulateSiretValueJSONTask): some bad data prevent the task to finish 2024-08-26 10:10:34 +02:00
Lisa Durand
8722a10d63
fix specs 2024-08-22 17:54:24 +02:00
Lisa Durand
b586f23009
remove hidden at column from dossiers 2024-08-22 17:36:41 +02:00
Lisa Durand
8e7e8d9624
Merge pull request #10705 from demarches-simplifiees/email-expert-need-confirmation-ldu
ETQ expert, je dois confirmer mon mail
2024-08-22 12:53:52 +00:00
Paul Chavard
6a642c350e
Merge pull request #10709 from colinux/cojo-date-hint-localized
ETQ usager, j'ai une indication sur le format de date à saisir en fonction de mon navigateur
2024-08-22 10:12:19 +00:00
Lisa Durand
fae81d0a58
fix test 2024-08-22 12:09:29 +02:00
Colin Darie
e46f09dfb9
feat(cojo): date format hint is localized, depending on browser 2024-08-22 11:05:35 +02:00
mfo
70983c50f9
spec(normalized_address): add simple spec 2024-08-22 10:37:31 +02:00
mfo
8a42c6a7ad
Merge pull request #10708 from mfo/US/format-rna
ETQ tech je souhaite que les champs RNA ne puissent pas contenir d'espace sans quoi nos appels d'API remontent un URI::InvalidURIError
2024-08-22 08:36:38 +00:00
mfo
76f9373af5
fix(RNA.pattern): allows RNA with letters too, some territories can have letters too 2024-08-22 10:24:03 +02:00
mfo
53cbb1cace
fix(PopulateRnaJsonValue): some procedure had been deleted, can not find them 2024-08-22 10:24:03 +02:00
mfo
22e50d4c9e
fix(data): normalize invalid Champs::RNAChamp.values in db 2024-08-22 10:24:03 +02:00
mfo
abb2fa159c
feat(Champ.rna): avoid spaces that breaks API calls 2024-08-22 10:23:56 +02:00
Colin Darie
bd4c31684d
Merge pull request #10386 from colinux/frozen-strings
Tech(perf): frozen string literals partout
2024-08-22 07:51:39 +00:00
mfo
7182a4e8d0
feat(identite_entreprise): prefer champ.value_json in order to ensure good department 2024-08-22 09:45:27 +02:00
mfo
fdff699d51
feat(champ.rnf/rna/siret): render normalized address the same way 2024-08-22 09:45:27 +02:00
Colin Darie
ebdc91f7ed
test(coverage): group manager controllers 2024-08-22 09:26:49 +02:00
Colin Darie
2b9fe12079
test(dolist): add some specs and remove unsupported email sent with attachments 2024-08-22 09:26:49 +02:00
Colin Darie
3c3bc4a657
chore(coverage): ignore deployment rake tasks 2024-08-22 09:26:49 +02:00
Colin Darie
659d35e11f
test: fix for mutable string 2024-08-22 09:26:49 +02:00
Colin Darie
6d9a7648e2
fix(test): disable frozen string in siret concern because it's a literal string in spec 2024-08-22 09:26:49 +02:00
Colin Darie
992c61b51a
fix: as of parsby 1.1, IO can be mutated during parsing
See 534f8a95b4/lib/parsby.rb (L572C11-L572C17)

Trace:
IOError: not modifiable string
    # parsby-1.1.1/lib/parsby.rb:572:in `ungetc'
    # parsby-1.1.1/lib/parsby.rb:572:in `ungetc'
    # parsby-1.1.1/lib/parsby.rb:539:in `block in restore'
    # parsby-1.1.1/lib/parsby.rb:539:in `each'
2024-08-22 09:26:48 +02:00
Colin Darie
77fb0553fc
chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
Colin Darie
edeb9a46ec
fix(rubocop): better perf in local 2024-08-22 09:26:16 +02:00
Colin Darie
3796210928
Merge pull request #10707 from colinux/fix-unpublished-changes-button
ETQ admin: corrige le nouveau bouton de publication d'une démarche
2024-08-21 15:48:45 +00:00
Colin Darie
4c1e67bd65
Merge pull request #10704 from mfo/US/fix-populate-rna-maintenance-task
Correctif: tache de maintenance des données RNA pour permettre la recherche
2024-08-21 15:45:18 +00:00
Colin Darie
eccfde848f
feat(admin): disable publish button when there are errors 2024-08-21 17:38:07 +02:00
Colin Darie
d0837c58f5
fix(admin): publish modifications button must be PUT 2024-08-21 17:38:07 +02:00
Colin Darie
6efd9ae747
refactor(admin): rename procedures/_unpublished_changes_{navbar,sticky} partial 2024-08-21 17:38:04 +02:00
mfo
0ed5206d9f
fix(PopulateRNAJSONValueTask): edge case, one champ raises an URI::InvalidURIError 2024-08-21 16:36:22 +02:00
Lisa Durand
3cf3dc4623
make email confirmation more generic 2024-08-21 16:23:56 +02:00
Lisa Durand
ea354d46c4
Create new invitation email if expert not confirm 2024-08-21 16:19:51 +02:00
Kara Diaby
9ed2de9bb7
Merge pull request #10702 from demarches-simplifiees/feat/10208
ETQ Admin je suis prévenu que ma modification de formulaire aura besoin d'être publiée
2024-08-21 10:53:46 +00:00
Kara Diaby
4a93579e71
Ajoute une sticky navbar si il y a une modification de démarche déjà publiée 2024-08-21 10:23:02 +00:00
mfo
ec9a03ac17
Merge pull request #10693 from mfo/US/filter-by-json-path-3
ETQ instructeur, je peux filtrer par les donnée de champs issues d'API, a commencer par RNA/RNF SIRET
2024-08-21 09:50:47 +00:00
Paul Chavard
1d15689989
Merge pull request #10701 from tchak/refactor-virtual-displayable
refactor(columns): rename virtual to displayable
2024-08-21 09:37:51 +00:00
mfo
42b9ac1737
spec(filter): with rna enum 2024-08-21 10:23:56 +02:00
mfo
575c4cbdff
clean(spec): procedure_filters_spec.rb, less tdc by default 2024-08-21 10:23:56 +02:00
mfo
750842f742
feat(Column::JSONPathColumn): allow search by json path column
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-08-21 10:23:39 +02:00
Colin Darie
c1f4bd0ba3
Merge pull request #10700 from colinux/fix-persisting-pp-error
ETQ instructeur, n'affiche pas 2 fois le message de réinitialisation du tableau de dossiers
2024-08-21 07:23:15 +00:00
Paul Chavard
271602082b
refactor(columns): rename virtual to displayable 2024-08-20 18:46:19 +02:00
Colin Darie
8c6a7a8528
fix(instructeur): don't display twice pp error on get requests 2024-08-20 18:30:20 +02:00
Colin Darie
8cdd7ef4df
Merge pull request #10699 from mfo/US/hotfix-pp
Correctif: rattrape les données inconsistantes pour la présentation des tableaux instructeurs qui se font detruire a la 1ere connection
2024-08-20 16:16:26 +00:00
Colin Darie
6b9af51e31
Merge pull request #10698 from colinux/fix-strftime-on-non-numeric-field
ETQ instructeur, ne plante pas en essayant de formater une date quand c'est pas une date
2024-08-20 15:59:02 +00:00
mfo
3662e38366
hotfix(ProcedurePresentation): backfill invalid procedure presentation private tabel name for type de champs private 2024-08-20 17:58:55 +02:00
Colin Darie
fe2e8ae793
fix(instructeur): never try to strftime on non date value 2024-08-20 17:33:04 +02:00
Colin Darie
6b6cf091e0
Merge pull request #10697 from colinux/fix-row-deleted-dossier
ETQ instructeur, corrige l'affichage expliquant la raison pour laquelle l'usager a supprimé (ou expiré) un dossier
2024-08-20 15:20:39 +00:00
Lisa Durand
49e9d4a683
Merge pull request #10627 from demarches-simplifiees/simplify-tabs-supprimes-ldu
[UX] Simplifier l'interface avec un onglet unique pour les dossiers supprimés
2024-08-20 14:50:42 +00:00
Colin Darie
b2931a9dde
fix(instructeur): dossier hidden by user reason interpolation 2024-08-20 16:15:13 +02:00
Colin Darie
f50d4948e4
Merge pull request #10696 from colinux/fix-xss-galery
Sécurité: évite une injection XSS par le nom des PJ qui trompait les navigateurs
2024-08-20 14:06:19 +00:00
Colin Darie
87cc8a7241
fix(dossier): render PJ champ respects profile context 2024-08-20 15:52:30 +02:00
Colin Darie
e6c2926426
fix(xss): injection from pj malicious filename would trick browser and lead to XSS injection 2024-08-20 15:51:54 +02:00
Lisa Durand
16864cc868
fix test 2024-08-20 15:47:09 +02:00
Paul Chavard
686000d6cb
fix spec 2024-08-20 15:26:15 +02:00
Lisa Durand
286758e933
create component to display deleted dossiers 2024-08-20 15:26:15 +02:00
Lisa Durand
5281ab966a
add deleted dossiers in menu for instructeurs 2024-08-20 15:26:15 +02:00
Lisa Durand
066a2bea85
use main navigation to display deleted dossier for user 2024-08-20 15:26:14 +02:00
Lisa Durand
95a8f1458b
fix specs 2024-08-20 15:26:14 +02:00
Lisa Durand
a0a9270a61
remove deleted dossier from filter and search 2024-08-20 15:26:14 +02:00
Lisa Durand
30df5aa89a
add page link and page to access deleted dossier historique 2024-08-20 15:26:14 +02:00
Lisa Durand
ab483a8959
simplifie tabs supprimes and reduce to one 2024-08-20 15:26:09 +02:00
Colin Darie
e4d460965f
Merge pull request #10690 from mfo/US/normalize-addresses-for-rnf-rna-siret
ETQ Tech, les adresses des champs siret / rna / rnf sont normalisées pour une recherche homogène via les filtres
2024-08-20 10:11:48 +00:00
mfo
92ffd69bf1
doc(instance): explicite quand/comment faire tourner ces taches 2024-08-20 11:37:21 +02:00
Colin Darie
1e53e3bfef
Merge pull request #10661 from demarches-simplifiees/feat/10460
ETQ admin, je veux que l'email du déposant ne puisse pas être similaire à l'email du mandataire
2024-08-20 09:34:03 +00:00
Colin Darie
66bf0cca6e
Merge pull request #10688 from colinux/delete-yabeda-rails
Tech: remove yabeda-rails et yabeda-graphql
2024-08-20 09:26:39 +00:00
LeSim
befe74b801
Merge pull request #9758 from demarches-simplifiees/purge_supprimer_dol
Tech: quand un dossier est définitivement supprimé, on ne garde que le log (DOL) concernant sa suppression
2024-08-20 09:26:33 +00:00
Colin Darie
4a8a591377
Merge pull request #10692 from demarches-simplifiees/dependabot/bundler/fugit-1.11.1
chore(deps): bump fugit from 1.10.1 to 1.11.1
2024-08-20 09:20:32 +00:00
mfo
bc7264ee08
Merge pull request #10625 from demarches-simplifiees/US/cleanup-procedure-presentation
ETQ tech, je souhaite isoler le concept des colonnes extractable/cherchable/affichable d'une demarche
2024-08-20 09:04:23 +00:00
Colin Darie
3b3697a67e
Merge pull request #10691 from colinux/fix-attestation-footer
ETQ usager, l'attestation v2 gère mieux les pieds de page
2024-08-20 08:57:25 +00:00
simon lehericey
28b338452a
feat(dossier_purge): when the dols are purged, only keep supprimer dol but destroy its data
Note, the only remaining data are dossier_id, automatic_operation, digest and bill_id, created_at
2024-08-20 10:55:32 +02:00
simon lehericey
92da869662
spec: Dossier.purge_discarded 2024-08-20 10:55:32 +02:00
Colin Darie
e314365083
chore: remove yabeda-graphql 2024-08-20 10:53:28 +02:00
Colin Darie
ea667d49ad
chore: remove yabeda-rails 2024-08-20 10:53:28 +02:00
mfo
a66bd46082
data(backfill): Champs::SiretChamp.value_json [±1.4M occurences] 2024-08-20 10:31:23 +02:00
mfo
917f25dcfd
data(backfill): Champs::RnaChamp.value_json [±7.5k occurences] 2024-08-20 10:31:23 +02:00
mfo
4bf5725d6d
data(backfill): Champs::RnfChamp.value_json [±400 occurences] 2024-08-20 10:31:23 +02:00
mfo
d866309d45
feat(rnf/rna/siret): normalize address in champs.value_json 2024-08-20 10:31:23 +02:00
Paul Chavard
ba92216504
Merge pull request #10614 from tchak/graphql-only-allow-saved-queries-without-token
secu(graphql): without a token, only saved queries are allowed
2024-08-20 08:11:48 +00:00
LeSim
d4329bce7f
Merge pull request #10388 from demarches-simplifiees/hide_notification_filter_on_unfollowed_dossiers
ETQ Instructeur, je ne veux pas qu'on me propose de filtrer par notification des dossiers non suivi
2024-08-20 07:37:04 +00:00
dependabot[bot]
e54d9ab6dc
chore(deps): bump fugit from 1.10.1 to 1.11.1
Bumps [fugit](https://github.com/floraison/fugit) from 1.10.1 to 1.11.1.
- [Changelog](https://github.com/floraison/fugit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/floraison/fugit/compare/v1.10.1...v1.11.1)

---
updated-dependencies:
- dependency-name: fugit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 17:31:26 +00:00
Colin Darie
e35809db28
fix(attestation): html format expand a4 background even if because there is a single page 2024-08-19 18:36:35 +02:00
Colin Darie
1dbd198092
fix(attestation): footer must be in before flexible content in order to be repeated on each page 2024-08-19 18:35:23 +02:00
Colin Darie
b33f542cf4
fix(attestation): nowrap footers & pages counter 2024-08-19 16:15:29 +02:00
mfo
dba6f9b3aa
refactor(Facet): to column 🚀 2024-08-19 15:46:14 +02:00
mfo
b910705353
move tdc facets builder to tdc 2024-08-19 15:30:08 +02:00
mfo
2a0537134d
fix(spec): should have been updated with facet concern sig 2024-08-19 15:30:08 +02:00
mfo
b6464c1963
tech: use facet_id to sort fields 2024-08-19 15:30:08 +02:00
mfo
743ff8c8a9
extract Instructeurs::FacetTableHeaderComponent wrapping sort logic 2024-08-19 15:30:08 +02:00
mfo
31255b69cc
move/rename faceting components within their instructeur ns 2024-08-19 15:30:08 +02:00
simon lehericey
61051771a7
stay the old way for the moment ? 2024-08-19 15:30:07 +02:00
simon lehericey
ef63579e2e
clean facets_concern 2024-08-19 15:30:07 +02:00
mfo
60c6c86d70
ProcedurePresentation.displayable_fields_for_select -> InstructeurFacetPickerComponent.displayable_fields_for_select 2024-08-19 15:29:59 +02:00
mfo
41ea39abb1
ProcedurePresentation.filterable_fields_options -> InstructeurFilterComponent.filterable_fields_options 2024-08-19 15:29:59 +02:00
simon lehericey
379c9fb812
procedure should provide its facets 2024-08-19 15:29:59 +02:00
simon lehericey
e19f1bd8c2
sortable? -> sorted_by 2024-08-19 15:29:59 +02:00
simon lehericey
14c5c26bb6
rubocop 2024-08-19 15:29:59 +02:00
simon lehericey
c5c2d5782d
lets keep it private 2024-08-19 15:29:59 +02:00
simon lehericey
7a1c25271d
small refactors 2024-08-19 15:29:56 +02:00
simon lehericey
772424ff5e
move field_enum to instructeur filter component 2024-08-19 15:28:36 +02:00
simon lehericey
73293b0d06
give facet object instead of field_id to instructeur_filter_component 2024-08-19 15:28:36 +02:00
simon lehericey
437e632f6a
move facet_find to Facet.find 2024-08-19 15:28:36 +02:00
simon lehericey
969282e453
remove last field_hash 2024-08-19 15:28:36 +02:00
simon lehericey
305b8c13c7
! BREAKING : break previous filter by type_de_champ_private
simplify type_de_champ_private -> type_de_champ, fix spec, add facet_spec
2024-08-19 15:28:36 +02:00
simon lehericey
2239172fac
move facets list to facets 2024-08-19 15:28:36 +02:00
simon lehericey
49eaf10bce
fields -> facets 2024-08-19 15:28:36 +02:00
simon lehericey
5c09581228
move id to facet and search_by facet_id 2024-08-19 15:28:34 +02:00
mfo
41eb99ce5a
fix(dossier_projection_service.rb): do not fwd internal id_value_h to the view by deep duping fields 2024-08-19 15:27:50 +02:00
mfo
b3cb3e974e
refactor(Facet): extract Facet from ProcedurePresentation
Co-Authored-By: LeSim <mail@simon.lehericey.net>

clean(code): no comment 🎶
2024-08-19 15:27:39 +02:00
Kara Diaby
88cd4a94dd
Ajoute la validation sur le modèle Individual 2024-08-19 12:51:39 +00:00
Kara Diaby
61525b6c2b
test 2024-08-19 12:51:39 +00:00
Kara Diaby
ae6d338304
Ajout des clés de traduction 2024-08-19 12:51:38 +00:00
simon lehericey
9d847ef57a
fix: do not show notifications filter on unfollowed dossiers 2024-08-19 11:46:42 +02:00
LeSim
4387077068
Merge pull request #10687 from colinux/bump-rexml-3.3.5
Tech: bump rexml 3.3.2 => 3.3.5
2024-08-19 09:41:33 +00:00
Colin Darie
9ebce9ecee
chore(bundle): bump rexml 3.3.2 => 3.3.5
Fix CVE-2024-41123 https://github.com/advisories/GHSA-r55c-59qm-vjw6
2024-08-19 11:14:15 +02:00
Corinne Durrmeyer
9e87662c8f
Distinguish links from content 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
e358f196e9
Change help__content to help-content to conform linting Regex 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
4e1332431b
Update sepc files 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
bbfcb689d3
Change help menu design pattern (offline pages) 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
bc95b5b323
Change help menu design pattern (instructor pages) 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
33eece94fd
Change help menu design pattern (user pages) 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
399f020047
Replace span with h1 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
70908483a1
Include link content in title attribute 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
5501be17c6
Remove legacy code 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
87ab67fee5
Replace aria-label with visually-hidden label 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
f3bca9bfeb
Replace paragraphs with list 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
e847e9263e
Add label to icons carrying information 2024-08-14 09:56:51 +02:00
Benoit Queyron
385277d5a0
Merge pull request #10685 from demarches-simplifiees/bug-instructeur-dossier-repousser-expiration-et-restaurer
fix(dossiers supprimés instructeurs): wrong http verb
2024-08-13 16:14:04 +00:00
benoitqueyron
ae87fd72fd
views/instructeurs/procedures/_dossiers_actions: fix http verb 2024-08-12 17:11:03 +02:00
Benoit Queyron
289da2d3bb
Merge pull request #10683 from demarches-simplifiees/etq-usager-bug-affichage-message-info-dosssier
ETQ usager (amélioration) - je ne veux pas de bug d'affichage de message d'information dans la liste des dossiers
2024-08-08 12:49:04 +00:00
benoitqueyron
67d9ef2eac
fix alert info on dossiers_list & deleting the delete procedure button for published procedure 2024-08-07 17:23:51 +02:00
Paul Chavard
065000cae3
Merge pull request #10674 from colinux/really-fix-rnf
ETQ usager, permet de saisir un champ RNF en ignorant les espaces/tabulations
2024-08-01 18:09:21 +00:00
Colin Darie
9d1bc790cf
Merge pull request #10675 from colinux/fix-contact-form-deletion
Tech: permet la suppression des ContactForm d'users ayant des dossiers
2024-08-01 19:51:48 +02:00
Colin Darie
c2159ca0bf
fix(contact): allow deletion of contact form of users having dossiers 2024-08-01 19:44:44 +02:00
Colin Darie
720a312b00
fix(rnf): really normalize spaces
Fix #10653
2024-08-01 18:54:50 +02:00
Colin Darie
3660e01d76
Merge pull request #10673 from tchak/fix-rnf-champ
fix(rnf): no crash on identifiers with spaces
2024-08-01 16:07:53 +00:00
Paul Chavard
25d4e7dfee
fix(rnf): no crash on identifiers with spaces 2024-08-01 18:00:46 +02:00
Colin Darie
3501208191
Merge pull request #10672 from colinux/fix-contact-with-user
ETQ utilisateur, fix l'envoi à HS du form de contact quand on est déjà connecté
2024-08-01 15:24:51 +00:00
Colin Darie
3469527637
fix(contact): use user email when no email was specified 2024-08-01 16:43:28 +02:00
Paul Chavard
45d5e79e55
Merge pull request #10670 from tchak/feat-graphql-desarchiver
feat(graphql): add desarchiver mutation
2024-08-01 13:26:25 +00:00
Paul Chavard
807d43a9a7
feat(graphql): add desarchiver mutation 2024-08-01 09:50:01 +02:00
Colin Darie
3b82621229
Merge pull request #10644 from colinux/fix-helpscout-invalid-email
ETQ utilisateur, le form de contact détecte les typos d'email et valide les champs avant de l'envoyer à HS
2024-07-31 17:00:35 +00:00
Colin Darie
e415c79ade
refactor(contact): builtin piece jointe attachment 2024-07-31 17:08:02 +02:00
Colin Darie
4b6d3ee16d
refactor(contact): support => contact 2024-07-31 17:08:02 +02:00
Colin Darie
e71c1781a9
fix(contact): add missing notices locales 2024-07-31 17:08:02 +02:00
Colin Darie
5af32b46f4
refactor(contact): form is persisted in db before pushed to HS 2024-07-31 17:08:01 +02:00
Colin Darie
4bc0a04106
chore(schema): add contact_forms 2024-07-31 17:08:01 +02:00
Colin Darie
665289f7d0
Merge pull request #10668 from colinux/fix-flipper-strict
Tech: initialise vraiment les nouveaux feature flags
2024-07-31 15:01:38 +00:00
Colin Darie
99fd12beb8
fix(flipper): really setup missing (not enabled) feature 2024-07-31 16:08:04 +02:00
Colin Darie
a316600e7a
chore(flipper): update config for flipper 1.3 2024-07-31 16:08:01 +02:00
Colin Darie
cb6e243643
chore(bundle): update flipper 1.2.2 => 1.3.0 2024-07-31 16:07:46 +02:00
Colin Darie
ff62e99e7b
refactor(contact): suggest email correction, strict email validation, fix admin form 2024-07-31 11:23:17 +02:00
Colin Darie
49be3a797a
refactor(input): don't duplicate hint logic 2024-07-31 11:23:17 +02:00
Colin Darie
90e6c8a6f6
Merge pull request #10603 from demarches-simplifiees/bug-input-pj-apres-suppression
ETQ Admin (bug), je veux pouvoir modifier des PJ sans recharger la page
2024-07-30 12:14:11 +00:00
Colin Darie
a41f03ef92
Merge pull request #10667 from colinux/fix-dossier-expire-download
ETQ usager : correctif pour télécharger un dossier expiré
2024-07-30 12:13:39 +00:00
Colin Darie
e467be1dbc
fix(dossier): can download an expired dossier 2024-07-30 14:06:43 +02:00
Paul Chavard
bced38eb78
Merge pull request #10665 from demarches-simplifiees/a11y-fix-suspect-email
Accessibilité : Assure la restitution par les TA du bloc de suggestion de l'adresse mail
2024-07-30 09:53:01 +00:00
Corinne Durrmeyer
edf9c8807f
Update spec file 2024-07-30 11:42:29 +02:00
Corinne Durrmeyer
523a295be0
Replace aria-live with focus shift 2024-07-30 11:42:29 +02:00
Paul Chavard
9d7d7da85a
Merge pull request #10572 from demarches-simplifiees/add-pj-from-messagerie-to-gallery
ETQ instructeur je peux voir les pjs envoyées par la messagerie dans l‘onglet "pièces jointes"
2024-07-30 09:35:14 +00:00
Paul Chavard
f6a34f1b4c
Merge pull request #10600 from DavidBruant/patch-1
Clarification du message pour se créer un compte à partir d'une adresse email
2024-07-30 11:33:46 +02:00
Paul Chavard
791b55ab1b
Merge pull request #10663 from sylvinus/fix-404-a11y
fix: missing https:// in link
2024-07-30 11:33:10 +02:00
Paul Chavard
337eaff3f0
Merge pull request #10602 from demarches-simplifiees/fix-routing-fields-list
Correctif : ouvre l‘assistant de routage à tous les types de champ conditionnables
2024-07-30 09:01:24 +00:00
Benoit Queyron
81932915c6
suppresion du form_object_name dans input_id 2024-07-30 10:39:12 +02:00
Paul Chavard
4e180f8f05
Merge pull request #10642 from mfo/US/api.dossier_modifier_annotation_drop_down_list
Amélioration, ETQ consommateur de l'API graphql, je souhaite pouvoir modifier une annotation de type choix simple
2024-07-30 08:25:05 +00:00
Paul Chavard
9aa86031cc
Merge pull request #10660 from colinux/fix-attestation-draft
ETQ admin sur une démarche en brouillon, l'attestation v2 est créé en brouillon si on a déjà une v1 active
2024-07-30 08:12:55 +00:00
Paul Chavard
12c11c563f
Merge pull request #10656 from colinux/fix-when-removing-all-displayed-fields
ETQ instructeur, pas d'erreur quand on veut enlever la dernière colonne affichée dans le tableau
2024-07-30 08:11:02 +00:00
Paul Chavard
c559028990
Merge pull request #10649 from colinux/fix-attestation-titles-multilines
ETQ usager mon attestation v2 n'a pas ses titres chevauchés lorsqu'ils passent sur 2 lignes
2024-07-30 08:09:17 +00:00
Sylvain Zimmer
8d1f67e7f7 Fix missing https:// in link 2024-07-30 09:58:17 +02:00
Paul Chavard
b9e9ece5e5
Merge pull request #10664 from tchak/fix-sva-svr-test-failing-on-some-dates
fix(sva/svr): fix spec with arbitrary date
2024-07-30 07:46:59 +00:00
Paul Chavard
b81f69580b
fix(sva/svr): fix spec with arbitrary date 2024-07-30 09:35:15 +02:00
Colin Darie
8d70f68146
fix(attestation): link to published v1 from v2 2024-07-29 17:06:55 +02:00
Colin Darie
2689bc6721
fix(attestation): build v2 draft on draft procedure when a v1 is published 2024-07-29 17:06:54 +02:00
Paul Chavard
906103255a
Merge pull request #10658 from tchak/update-js-deps
chore(npm): update dependencies
2024-07-29 12:37:57 +00:00
Colin Darie
25014a71b8
Merge pull request #10659 from colinux/fix-devise-confirmation-leak
ETQ usager, redirige les utilisateurs déjà confirmés qui réutilisent le lien de confirmation
2024-07-29 12:15:21 +00:00
Colin Darie
a6554aa7bf
fix(users): don't expose email of accounts already confirmed 2024-07-29 12:07:02 +02:00
Paul Chavard
d2535196bd
chore(npm): update dependencies 2024-07-29 11:07:46 +02:00
Paul Chavard
2fe40343a7
Merge pull request #10646 from colinux/faq-allow-custom-image-attributes
Accessibilité: permet au markdown FAQ d'intégrer n'importe quel attribut html dans les `<img>`
2024-07-29 08:27:04 +00:00
Colin Darie
7c51c38f15
fix(seo): disallow anonymous pages which could contain token or email 2024-07-29 09:48:46 +02:00
Corinne Durrmeyer
59582f8d3d
Hide decorative images from AT (admin FAQ) 2024-07-26 18:25:41 +02:00
Corinne Durrmeyer
388b799218
Hide decorative images from AT (instructor FAQ) 2024-07-26 18:25:34 +02:00
Corinne Durrmeyer
1a5991d109
Hide decorative images from AT (user FAQ) 2024-07-26 18:25:24 +02:00
Corinne Durrmeyer
afa43ef84c
Merge pull request #10654 from demarches-simplifiees/a11y-forgotten-password
Améliore l'accessibilité de la page mot de passe oublié
2024-07-26 14:08:42 +00:00
Colin Darie
6a6e643771
fix(instructeurs): don't fail when removing all displayed fields 2024-07-26 15:55:02 +02:00
LeSim
11208aa6b9
Merge pull request #10655 from colinux/fix-export-template-truncate
Tech : fix migration with `execute`
2024-07-26 12:24:52 +00:00
Colin Darie
96489e5802
fix(schema): execute must explicitly ensure safety 2024-07-26 14:12:45 +02:00
LeSim
12c174f6cf
Merge pull request #10548 from demarches-simplifiees/choose_pjs_to_export
ETQ Instructeur, je peux choisir les pjs que j'exporte
2024-07-26 11:43:02 +00:00
simon lehericey
0dbeb822e4
layout: add possibiilty to export outdated pjs 2024-07-26 13:34:51 +02:00
simon lehericey
62b64f5d2d
conquer the world 2024-07-26 13:34:50 +02:00
simon lehericey
e9abdcbbf1
make it beautiful 2024-07-26 13:34:50 +02:00
simon lehericey
57f698853f
some layouts 2024-07-26 13:34:50 +02:00
simon lehericey
393db312c2
a little js 2024-07-26 13:34:50 +02:00
simon lehericey
c4403bffeb
work on controller 2024-07-26 13:34:50 +02:00
simon lehericey
30e79b735d
route: allow standard path helper to work
for example `form_with model: [:instructeur, procedure, export_template]`
2024-07-26 13:34:49 +02:00
simon lehericey
248da3a896
work on validator 2024-07-26 13:34:49 +02:00
simon lehericey
057868a48e
small work on tiptap 2024-07-26 13:34:49 +02:00
simon lehericey
f973c59c9a
stop exporting bills with export_template 2024-07-26 13:34:49 +02:00
simon lehericey
33244f6d70
adapt pieces_justificatives_service to new export_template.attachment_path 2024-07-26 13:34:49 +02:00
simon lehericey
8906a59635
simplify export_template model and spec 2024-07-26 13:34:49 +02:00
simon lehericey
977cfc87ce
Add export_item type 2024-07-26 13:31:06 +02:00
simon lehericey
24109a0128
add exportables_pieces_jointes_for_all_versions and outdated to pj_list_concern 2024-07-26 13:31:06 +02:00
simon lehericey
106698a242
add dedicated dossier_folder, export_pdf, pjs columns to export model
Destroy all previous incompatible ExportTemplate
2024-07-26 13:31:06 +02:00
simon lehericey
53a48f963d
tdc: add libelle_as_filename 2024-07-26 13:31:05 +02:00
Paul Chavard
b7bdf0be92
Merge pull request #10652 from tchak/fix-dsfr-theme-switch
fix(dsfr): theme switch is back
2024-07-26 11:26:38 +00:00
Corinne Durrmeyer
190addd317
Merge pull request #10647 from demarches-simplifiees/a11y-authentification-page
Améliore l'accessibilité de la page d'authentification
2024-07-26 09:38:18 +00:00
Corinne Durrmeyer
a415775e17
Merge pull request #10632 from demarches-simplifiees/a11y-fix-faq-content
Améliore l'accessibilité des pages de contenu de la FAQ
2024-07-26 09:18:02 +00:00
Corinne Durrmeyer
8057f050f4
Apply DSFR instead of custom classes 2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
f596216208
Remove code legacy 2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
07b4d59426
Add forgetten alt attribute 2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
444a96a5ee
Prevent buttons from overflowing their container 2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
6383dc359b
Remove useless aria-labelledby attribute 2024-07-26 10:52:42 +02:00
Paul Chavard
25c4d6d237
fix(dsfr): theme switch is back 2024-07-26 10:43:59 +02:00
Paul Chavard
b9000eeb65
Merge pull request #10651 from tchak/fix-rebase-with-new-pj
fix(rebase): avoid errors when adding pj champs to a new revision
2024-07-25 18:35:57 +00:00
Paul Chavard
11cb856921
Merge pull request #10635 from tchak/improuve-combobox
feat(combobox): improve style and menu trigger mode
2024-07-25 18:29:41 +00:00
Paul Chavard
223317fb5a
fix(rebase): avoid errors when adding pj champs to a new revision 2024-07-25 18:29:01 +02:00
Lisa Durand
e93ea356ab
Merge pull request #10488 from demarches-simplifiees/improve-mails-for-deleted-dossiers-ldu
[usager] Laisser un délai avant suppression des dossiers expirés
2024-07-25 15:14:30 +00:00
Paul Chavard
821861867c
Merge pull request #10650 from tchak/fix-update-service-info
fix(dossier): fix crash when dossier has no service
2024-07-25 15:11:53 +00:00
Paul Chavard
8f313a036e
fix(dossier): fix crash when dossier has no service 2024-07-25 17:04:31 +02:00
Lisa Durand
4f7b0c93d0
fix multiple errors from creation of dedicated method to restore and extend 2024-07-25 16:55:00 +02:00
Colin Darie
30b7dd0dce
fix(attestation): don't overlap multilines titles 2024-07-25 16:33:46 +02:00
Corinne Durrmeyer
c4afbfcbf1
Update spec files 2024-07-25 12:24:25 +02:00
Colin Darie
a4d97c6526
Merge pull request #10645 from colinux/fix-csp-duplicate-domain
Tech: ne liste pas 2x le même domaine dans les CSP
2024-07-25 09:31:36 +00:00
Corinne Durrmeyer
e98dbf3898
Move expected format of email field to <span class='fr-hint-text'> 2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
280a25928c
Standardize example address for email fields 2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
1b9ba64f7e
Remove code legacy (agent connect page) 2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
f8974921c9
Add asterisk explanation (agent connect page) 2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
280da9fd6c
Remove unnecessary lists around link & button (agent connect page) 2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
2e3ee18a32
Prevent image overflow 2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
6bb9d708ab
Remove code legacy 2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
0ea4159027
Place catchphrase in a single paragraph 2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
96f1f101a9
Remove unnecessary lists around link & button 2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
1eb012924b
Add asterisk explanation 2024-07-25 11:07:19 +02:00
Paul Chavard
2a225013ff
Merge pull request #10636 from tchak/improuve-dynamic-routage
refactor(routing_roules): simplify refresh conditions
2024-07-25 08:29:27 +00:00
Benoit Queyron
3493736133
Merge pull request #10624 from demarches-simplifiees/usager-remonter-bouton-nouveau-dossier
ETQ usager - je veux pouvoir accéder plus facilement au bouton "nouveau dossier"
2024-07-25 07:20:45 +00:00
Colin Darie
efa5122ce0
feat(a11y): allow trusted markdown (FAQ) to set any custom attributes in img 2024-07-24 19:13:08 +02:00
Colin Darie
f8cb41215a
fix(csp): don't list twice same connect whitelist domain 2024-07-24 19:04:25 +02:00
Paul Chavard
65dffd0e19
feat(combobox): improve style and menu trigger mode 2024-07-24 19:00:17 +02:00
Paul Chavard
634d78e369
chore(dsfr): only load dsfr js we use 2024-07-24 19:00:17 +02:00
LeSim
bb89c03679
Merge pull request #10643 from demarches-simplifiees/phishing_alert
Mainteneur: ajoute une tache pour reinitialiser et prevenir des victimes d'hameconnage
2024-07-24 18:41:03 +02:00
simon lehericey
746ff92118
Add PhishingAlert maintenance task and mailer 2024-07-24 18:10:57 +02:00
mfo
e63b777bd9
feat(api.dossier.modifier_annotation): stop validation only with graphql schema, also validate with our validations methods 2024-07-24 17:48:00 +02:00
Lisa Durand
4b1e743ecf
fix wrong method on projected dossier 2024-07-24 17:19:59 +02:00
Lisa Durand
7da3e05752
small refacto to simplify scope 2024-07-24 17:07:48 +02:00
Lisa Durand
b820577461
create a method to extend and restore 2024-07-24 17:07:48 +02:00
Lisa Durand
ae1a6e1b3d
improve hidden_by_expired scope 2024-07-24 17:07:47 +02:00
Lisa Durand
5c26073af7
small refacto with hidden_by_expired? method 2024-07-24 17:07:47 +02:00
Lisa Durand
df13e53815
small refactos from Sim review 2024-07-24 17:07:47 +02:00
Lisa Durand
94e1f048ce
fix tabs count 2024-07-24 17:07:47 +02:00
Lisa Durand
eb3b928cf2
change scope to include new column for expiring dossiers 2024-07-24 17:07:47 +02:00
Lisa Durand
0dcdcb5643
add column hidden_by_expired_at 2024-07-24 17:07:41 +02:00
Lisa Durand
954ab39de8
remove badge supprimé and display state dossier badge 2024-07-24 17:06:31 +02:00
Lisa Durand
0bf1790682
change wording to clarify emails 2024-07-24 17:06:31 +02:00
Lisa Durand
1441855fe8
fix query for instructeur tabs count 2024-07-24 17:06:31 +02:00
Lisa Durand
2d66a67564
use automatic flag for dossier operation log 2024-07-24 17:06:31 +02:00
Lisa Durand
9346020889
dont use depreciated column hidden_at 2024-07-24 17:06:30 +02:00
Lisa Durand
8b88fafc25
add correct action for instructeur 2024-07-24 17:06:30 +02:00
Lisa Durand
c2abceaa72
hide expired dossiers instead of delete them 2024-07-24 17:06:30 +02:00
mfo
8e6c5d1567
api(mutation.dossier_modifier_annotation_drop_down_list): add mutation to change drop_down_list annotations value 2024-07-24 15:02:24 +02:00
Benoit Queyron
aae87fce0a
ajustement test dossier_action 2024-07-24 14:54:27 +02:00
Paul Chavard
5aee51d5ac
refactor(routing_roules): simplify refresh conditions 2024-07-24 12:53:26 +02:00
Benoit Queyron
420ebc70f9
remontee bouton dossier en cours + icones 2024-07-24 12:33:01 +02:00
Eric Leroy-Terquem
3dd6a59101
Merge pull request #10634 from demarches-simplifiees/remove_piece_justificative_file_not_visible
ETQ superadmin je peux supprimer les pjs associées aux champs non visibles avec une maintenance task
2024-07-24 08:03:30 +00:00
Eric Leroy-Terquem
d8d2094909
db(task): remove pj files for not visible champs 2024-07-24 09:21:12 +02:00
Corinne Durrmeyer
adba85755d
Update spec file 2024-07-23 12:20:54 +02:00
Corinne Durrmeyer
4233c9aee5
Force line breaks in pre 2024-07-23 11:18:02 +02:00
Corinne Durrmeyer
54a32a2e97
Add content to link title attributes 2024-07-23 11:18:02 +02:00
Eric Leroy-Terquem
e79a3b6aa2
Merge pull request #10430 from demarches-simplifiees/routing-when-autosave-dossier
ETQ usager je vois les infos de contact de mon groupe instructeur avant dépôt du dossier, une fois le(s) champ(s) de routage rempli(s)
2024-07-23 08:31:14 +00:00
Eric Leroy-Terquem
a04749c3ef
fix a flaky test 2024-07-23 10:23:54 +02:00
Eric Leroy-Terquem
e413c0881e
chore(routing): update turbo stream only if champ used by routing rules has been updated 2024-07-23 10:23:54 +02:00
Eric Leroy-Terquem
78d1572c8f
test(routing): test routing on autosave 2024-07-23 10:23:54 +02:00
Eric Leroy-Terquem
f30057e585
feat(routing): replace contact information with turbo_stream 2024-07-23 10:23:54 +02:00
Eric Leroy-Terquem
f860745629
feat(routing): route when autosave of champ used by routing rules 2024-07-23 10:23:53 +02:00
Colin Darie
60ba6a2241
Merge pull request #10628 from colinux/helpscout-robust-api-limit
Tech: essaie de contourner les crash aléatoires sur le non respect du rate limit
2024-07-23 07:26:51 +00:00
Paul Chavard
bf1a057ac3
Merge pull request #10569 from demarches-simplifiees/refactor-remove-champ-factories
refactor: remove champ factories
2024-07-22 13:56:55 +00:00
Colin Darie
4f5f860405
fix(helpscout): rate limit respect 1 minute window 2024-07-22 15:12:54 +02:00
Paul Chavard
229483d16c
refactor(champ): remove type_de_champ_id and champ factories 2024-07-22 13:53:45 +02:00
Paul Chavard
860e06256f
Merge pull request #10618 from tchak/db-change-champs-index
chore(champs): replace unique index
2024-07-22 10:20:46 +00:00
Paul Chavard
d6f9e57e77
secu(graphql): without a token, only persisted queries are allowed 2024-07-22 11:39:32 +02:00
Paul Chavard
c31321d695
chore(graphql): API::V2::DossiersController is not using tokens 2024-07-22 11:38:11 +02:00
Paul Chavard
38243434d2
refactor(graphql): add graphql_error helper 2024-07-22 11:38:11 +02:00
Paul Chavard
406d05a47a
chore(spec): remove duplicated specs 2024-07-22 11:38:11 +02:00
Paul Chavard
7687b55dd1
chore(champs): replace unique index 2024-07-22 11:36:56 +02:00
LeSim
583bad01d2
Merge pull request #10626 from demarches-simplifiees/bad_advice
Correction sur les avis
2024-07-22 09:26:54 +00:00
simon lehericey
bb6c43cbb9
do not give bad advice 2024-07-22 11:15:27 +02:00
Colin Darie
d4a9b63b00
Merge pull request #10622 from demarches-simplifiees/a11y-fix-faq-page
Accessibilité: Amélioration de la page FAQ
2024-07-22 09:06:59 +00:00
Eric Leroy-Terquem
5fbe2daca2
db(maintenance task): create representations for pjs sent by messagerie 2024-07-22 10:07:40 +02:00
Eric Leroy-Terquem
3bbcda9c04
refactor(dossier): refactor pieces jointes 2024-07-22 10:07:39 +02:00
Eric Leroy-Terquem
3516bae008
feat(gallery): create representations for pjs sent by messagerie 2024-07-22 10:07:39 +02:00
Eric Leroy-Terquem
59ddaf5b0b
feat(gallery): add pjs from messagerie to gallery 2024-07-22 10:07:39 +02:00
Benoit Queyron
5434e0a4d6
remonter bouton nouveau dossier 2024-07-19 10:02:02 +02:00
Paul Chavard
b66d83ab08
Merge pull request #10621 from tchak/polyfill-intl-listformat
fix(intl): polyfill intl-listformat
2024-07-18 13:36:50 +00:00
Corinne Durrmeyer
cdbdcffa5b
Remove empty <p>. 2024-07-18 12:06:40 +02:00
Paul Chavard
f7c5f8fb14
fix(intl): polyfill intl-listformat 2024-07-18 09:33:07 +02:00
LeSim
1ba82d6231
Merge pull request #10619 from demarches-simplifiees/dependabot/bundler/rexml-3.3.2
chore(deps): bump rexml from 3.3.0 to 3.3.2
2024-07-17 09:33:16 +00:00
dependabot[bot]
129c5de6db
chore(deps): bump rexml from 3.3.0 to 3.3.2
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.0 to 3.3.2.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.3.0...v3.3.2)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-17 00:04:04 +00:00
Paul Chavard
be83f2c7d1
Merge pull request #10609 from tchak/champs-selection-multiple-combobox
Utiliser les nouvelles combobox pour les champs de sélection multiple
2024-07-16 13:17:41 +00:00
Paul Chavard
888be8df89
feat(champs): use new combobox for champs selection multiple 2024-07-16 15:10:45 +02:00
Paul Chavard
d640ab8428
fix(combobox): dispatch change event on multiple combo changes 2024-07-16 15:10:45 +02:00
Paul Chavard
f88fb3babc
Merge pull request #10613 from tchak/refactor-remove_piece_justificative_file_not_visible
refactor(dossier): use each instead of filter with side effects
2024-07-16 13:06:55 +00:00
Paul Chavard
0b6fefa582
Merge pull request #10617 from tchak/fix-non-unique-champs
chore(champs): task to move non unique champs to a bad_data stream
2024-07-16 12:25:41 +00:00
Paul Chavard
6e37a3faf1
chore(champs): task to move non unique champs to a bad_data stream 2024-07-16 14:17:12 +02:00
mfo
64811d836a
Merge pull request #10616 from mfo/US/enhance-siret-champ
Amélioration, ETQ usager je souhaite pouvoir copier/coller un siret contenant des espaces
2024-07-16 09:50:08 +00:00
mfo
23d9c62245
feat(champ.siret): allow copy/paste from web 2024-07-16 11:29:54 +02:00
Benoit Queyron
79ba52317a
limitation des params selon le type de PJ 2024-07-16 10:59:57 +02:00
Benoit Queyron
ec24ce3dad
ajustement test PJ dossier en construction 2024-07-16 10:51:17 +02:00
Paul Chavard
42ed6d7c87
refactor(dossier): use each instead of filter with side effects 2024-07-16 09:03:56 +02:00
Lisa Durand
7630cc39fa
Merge pull request #10595 from demarches-simplifiees/email-mandant-need-confirmation-ldu
ETQ Mandant, je dois confirmer mon mail avant de recevoir des notifs
2024-07-15 14:00:38 +00:00
Lisa Durand
e9f5389f83
resent email if link too old and better style email 2024-07-15 12:00:03 +02:00
Lisa Durand
3eabcb0736
add tests 2024-07-15 11:56:18 +02:00
mfo
b55ed262ed
Merge pull request #10607 from mfo/US/fix-invisible-pj
Amélioration: ETQ usager, je souhaite que les PJs d'un champ qui n'est plus visible ne soient pas soumise a l'administration
2024-07-15 09:36:01 +00:00
mfo
ad8a664fe4
Merge pull request #10608 from mfo/US/fix-regexp-error
Correctif: ETQ administrateur je souhaite qu'un type de champ expression régulière ne bloque pas l'edition de ma demarche
2024-07-15 09:34:16 +00:00
mfo
1cd539297f
feat(dossier.passer_en_construction!): clean up PJ for champs that are not visible [condition is false] 2024-07-15 11:28:59 +02:00
Paul Chavard
ef93d4f89c
Merge pull request #10599 from tchak/fix-vite-build-optimization
fix(vite): we have to use en-US beacuse en-GB dose not exists
2024-07-15 08:09:08 +00:00
mfo
19268345db
fix(tdc.expression_reguliere): invalid regexp shows nice error message 2024-07-15 09:59:50 +02:00
mfo
29d36973ba
bug(tdc.expression_reguliere): invalid regexp should not raise error 2024-07-15 09:54:44 +02:00
Paul Chavard
b9e487171f
fix(vite): we have to use en-US beacuse en-GB dose not exists 2024-07-15 09:24:18 +02:00
Benoit Queyron
249da03287
adaptation attestation v2 2024-07-12 20:14:13 +02:00
LeSim
2e13943c5d
Merge pull request #10606 from tchak/menu-combobox
feat(combobox): trigger menu on focus
2024-07-12 18:36:07 +02:00
LeSim
116137af94
Merge pull request #10605 from tchak/improuve-champ-education
fix(education): query annuaire education in the browser
2024-07-12 18:35:20 +02:00
Benoit Queyron
dbacbd8ae2
ajustement pour PJ attestation 2024-07-12 18:08:51 +02:00
Paul Chavard
00df0305fd
feat(combobox): trigger menu on focus 2024-07-12 17:44:12 +02:00
Paul Chavard
f74e8d9c56
disable test untill we can figure out what to do 2024-07-12 17:32:34 +02:00
Paul Chavard
d6e0d83c5d
fix(education): query annuaire education in the browser 2024-07-12 17:32:34 +02:00
Paul Chavard
91b398d039
fix(education): improve some settings to make champ education more reliable 2024-07-12 17:32:34 +02:00
mfo
fe37f1acfe
Merge pull request #10604 from mfo/US/fix-race-with-lock
pan pan
2024-07-12 14:56:33 +00:00
mfo
d5c8b7464c
fix(users.update_email): optimistic 2024-07-12 15:42:50 +02:00
Benoit Queyron
2a955a0f8c
correction du test sur l'état de l'input 2024-07-12 11:36:43 +02:00
Benoit Queyron
88710969bb
correction du test sur la suppression de la PJ d'un dossier 2024-07-12 11:17:51 +02:00
Benoit Queyron
3e4aa0cde3
disabled input with PJ and insert input when PJ is deleted 2024-07-11 17:33:52 +02:00
Eric Leroy-Terquem
f31f70e9b9
feat(routing): configurate routage custom if no simple_routable_types_de_champ 2024-07-11 14:55:03 +02:00
Eric Leroy-Terquem
ea8112b8b3
fix(routing): open routing wizard to all conditionable types 2024-07-11 14:55:03 +02:00
Eric Leroy-Terquem
70d9d72a59
refactor(routing): extract configurate_routage_custom method 2024-07-11 12:17:46 +02:00
Eric Leroy-Terquem
60ff785009
refactor(type de champ): rename routable_types in simple_routable_types 2024-07-11 12:17:46 +02:00
Eric Leroy-Terquem
52d8f8ed00
Merge pull request #10601 from demarches-simplifiees/fix-pj-maintenance-tasks
Technique : rattrape les erreurs active storage lors de la création des variants et previews
2024-07-11 09:12:32 +00:00
Eric Leroy-Terquem
ad7f01f97b
fix(maintenance task): catch active storage errors 2024-07-11 10:37:00 +02:00
David Bruant
9603c6ecc3
Clarification du message pour se créer un compte à partir d'une adresse email 2024-07-11 09:46:28 +02:00
Paul Chavard
6dc8496d3d
Merge pull request #10598 from tchak/fix-spectaql
fix spectaql
2024-07-10 21:16:27 +00:00
Paul Chavard
bbe12b0d40
fix spectaql 2024-07-10 20:53:12 +02:00
mfo
67fab15159
Merge pull request #10597 from tchak/update-coldwired
chore(npm): update coldwired
2024-07-10 16:47:16 +00:00
Paul Chavard
a7634dd8b0
chore(npm): update coldwired 2024-07-10 18:15:49 +02:00
Eric Leroy-Terquem
21f542a3f7
Merge pull request #10596 from demarches-simplifiees/create_representations_with_maintenance_task
Technique : crée des variants et previews via une maintenance task
2024-07-10 15:48:38 +00:00
Eric Leroy-Terquem
c7173c432b
fix(db): remove failing after parties 2024-07-10 17:38:05 +02:00
Eric Leroy-Terquem
30da11823b
db(task): create previews for pjs in one week 2024-07-10 17:38:05 +02:00
Eric Leroy-Terquem
c9d74c46d1
db(task): create variants for pjs in one week 2024-07-10 17:38:04 +02:00
Lisa Durand
72f840e393
Merge pull request #10579 from demarches-simplifiees/instructeur-invitation-include-typo-suggestion-ldu
ETQ admin et instructeur, lorsque je gère ma liste d'instructeurs sur une démarche, je suis guidé pour eviter les typos
2024-07-10 14:48:49 +00:00
Benoit Queyron
ceedbe9c45
Merge branch 'main' into bug-input-pj-apres-suppression 2024-07-10 16:35:07 +02:00
Benoit Queyron
9e4b7cc84e
liaison for label/input 2024-07-10 16:33:39 +02:00
Lisa Durand
7539d2ddea
fix specs 2024-07-10 16:11:38 +02:00
mfo
4fce812dea
Merge pull request #10589 from tchak/update-js
chore(npm): update dependencies
2024-07-10 13:27:27 +00:00
mfo
d492bc509d
Merge pull request #10593 from colinux/demande-experts-layout
ETQ expert, la vue d'un dossier respecte le bon layout
2024-07-10 13:03:02 +00:00
Lisa Durand
42633c0012
Merge branch 'main' of github.com:betagouv/demarches-simplifiees.fr into instructeur-invitation-include-typo-suggestion-ldu 2024-07-10 14:58:55 +02:00
Lisa Durand
3b138d5bb7
add confirmation for tiers email 2024-07-10 10:57:26 +02:00
LeSim
08a7c59ecb
Merge pull request #10594 from tchak/fix-disable-aria-components-locales-optimization
fix(react): disable aria components locales optimization
2024-07-10 10:35:58 +02:00
Paul Chavard
d1cbf766ab
fix(react): disable arai components locales optimization 2024-07-10 10:18:04 +02:00
Paul Chavard
6016ec6049
chore(npm): update dependencies 2024-07-09 22:30:13 +02:00
Colin Darie
a020aefa05
fix(expert): demande layout like in instructeurs view 2024-07-09 19:36:59 +02:00
mfo
f3690d8890
Merge pull request #10587 from tchak/refactor-no-validate-on-format
refactor(champ): remove call to validation from value formatting code
2024-07-09 14:31:10 +00:00
Colin Darie
0cf153dd20
Merge pull request #10592 from tchak/fix-combobox
fix(combobox): allow for null emptyFilterKey and fix setSelection
2024-07-09 14:26:33 +00:00
Paul Chavard
9468471164
fix(combobox): allow for null emptyFilterKey and fix setSelection 2024-07-09 16:18:39 +02:00
Colin Darie
6b5aa697cf
Merge pull request #10590 from colinux/cojo-with-dash
ETQ usager, je peux saisir le numéro d'accréditation COJO avec le suffixe `-01`
2024-07-09 11:08:53 +00:00
Colin Darie
142ed6f762
fix(cojo): fetch external data when "-01" suffix is typed, even if its deleted later by .to_i 2024-07-09 12:49:22 +02:00
Benoit Queyron
76a8e71fd5
Merge pull request #10511 from demarches-simplifiees/bug-PJ-multiples-desactivees
ETQ usager: je ne peux ajouter qu'une unique PJ pour les anciennes procédures qui l'exigent
2024-07-08 14:29:39 +00:00
Benoit Queyron
ebea9e3818
find champ by dossier stable_id row_id 2024-07-08 16:09:29 +02:00
Benoit Queyron
fc385208db
update test 2024-07-08 16:09:25 +02:00
Benoit Queyron
4bee40caa4
suppresion de la logique hidden 2024-07-08 16:09:23 +02:00
Benoit Queyron
70c1d30fe4
disabled attribut on input 2024-07-08 16:09:21 +02:00
Benoit Queyron
a2389f14af
annulation des modifs précédentes 2024-07-08 16:09:20 +02:00
Benoit Queyron
bfd455986f
ajout de la condition sur PJ uniquement autorisee 2024-07-08 16:09:18 +02:00
Benoit Queyron
a46ebea4ee
détachement de l'attribut for dans le label d'une PJ avec l'id de l'input 2024-07-08 16:09:09 +02:00
Paul Chavard
96e49d54cd
reafctor(logic): remove tests and accept unspecified behaviour 2024-07-08 15:44:30 +02:00
Paul Chavard
133689b4d3
refactor(champ): remove call to validation from value formatting code 2024-07-08 15:39:28 +02:00
Colin Darie
f954d07cf6
Merge pull request #10577 from colinux/alert-procedure-draft
ETQ usager et admin, je suis prévenu au moment de commencer un dossier sur une démarche ou révision en test
2024-07-08 09:43:57 +00:00
Paul Chavard
09db22f81c
Merge pull request #10586 from tchak/combo-distinct-values
fix(combobox): allow non unique lists of options
2024-07-08 09:43:15 +00:00
Colin Darie
3e9cb6f388
Merge pull request #10576 from colinux/secure-cookies
Tech: cookies avec flag `secure` et `httponly`
2024-07-08 09:33:30 +00:00
Colin Darie
ba6fdc4748
feat: /commencer alert about draft procedure 2024-07-08 11:32:37 +02:00
Colin Darie
28e8c786fa
chore: don't wrap "en test" tag/breadcrumb 2024-07-08 11:32:37 +02:00
Colin Darie
029db3b1cb
refactor(alert): standard methods order 2024-07-08 11:32:36 +02:00
Colin Darie
06c93f0c0f
Merge pull request #10575 from colinux/fix-demande-alignemnts
ETQ usager, corrige l'alignement de la page demande d'un dossier en construction
2024-07-08 09:31:10 +00:00
Paul Chavard
7ead0a82de
fix(combobox): allow non unique lists of options 2024-07-08 10:27:56 +02:00
mfo
75a6c8b4b6
Merge pull request #10555 from mfo/US/normalize-number-cahmp
tech: Normalisation des champs de type number/decimal pr enlever les espace blanc à la saisi
2024-07-08 07:31:29 +00:00
Paul Chavard
70cbcd0962
Merge pull request #10585 from tchak/superstruct
refactor(js): use superstruct instead of zod
2024-07-06 06:55:34 +00:00
Paul Chavard
14a1bfa1a3
refactor(js): use superstruct instead of zod 2024-07-05 16:07:41 +02:00
Paul Chavard
fea8d8971b
Merge pull request #10404 from tchak/update-react-and-coldwired
chore(js): update coldwired, react and combobox
2024-07-05 11:57:20 +00:00
Paul Chavard
c6f1d16451
feat(combobox): reset value on form reset 2024-07-05 09:36:33 +02:00
Paul Chavard
89fb0abe6e
fix(spec): fix system test 2024-07-05 09:36:33 +02:00
Paul Chavard
ecc847ae3d
chore(vite): add vite-bundle-visualizer 2024-07-05 09:36:33 +02:00
Paul Chavard
e2ba14583c
chore(combobox): remove old styles 2024-07-05 09:36:33 +02:00
Paul Chavard
c17351e50a
refactor(combo): use new multicombobox 2024-07-05 09:36:33 +02:00
Paul Chavard
9f9243499c
refactor(combobox): fix specs 2024-07-05 09:36:33 +02:00
Paul Chavard
8d6dc625f3
refactor(dossier): instructeur filter 2024-07-05 09:36:33 +02:00
Paul Chavard
dc6af4fb85
refactor(champ): update champ chorus 2024-07-05 09:36:33 +02:00
Paul Chavard
f0f88ef3f0
refactor(champ): update champ drop_down_list 2024-07-05 09:36:33 +02:00
Paul Chavard
cb01f15570
refactor(champ): update champ commune 2024-07-05 09:36:33 +02:00
Paul Chavard
4e8b29b21c
refactor(js): remove old code 2024-07-05 09:36:33 +02:00
Paul Chavard
2f2edfdfc7
refactor(champ): update champ carte 2024-07-05 09:36:33 +02:00
Paul Chavard
f1f1af4e61
refactor(champ): update champ annuaire education 2024-07-05 09:36:33 +02:00
Paul Chavard
79a65a4847
refactor(champ): update champ address 2024-07-05 09:36:33 +02:00
Paul Chavard
df34784d5c
feat(js): implement react aria combobox 2024-07-05 09:36:33 +02:00
Paul Chavard
1e11ad4ce6
chore(js): update coldwired and react 2024-07-05 09:36:33 +02:00
mfo
a8573febaa
clean(spec): remove since its now forced by a before_validation 2024-07-05 09:34:26 +02:00
krichtof
316a33f97b
Merge pull request #10583 from demarches-simplifiees/10582-update-zones
ETQ Admin, je peux associer ma démarche aux zones Autorité indépendante et Chambre parlementaire
2024-07-05 02:36:57 +00:00
Christophe Robillard
7c6e90df58
add Autorité indépendante and Chambre parlementaire zones 2024-07-04 18:56:37 +02:00
Lisa Durand
8ff2bbbaab
fix specs 2024-07-04 14:41:37 +02:00
Lisa Durand
67be27e18f
add typo detection and suggestion for instructeur adding instructeur 2024-07-04 13:56:02 +02:00
mfo
c50f949acd
feat(Champs::number*): normalize values by stripping spaces. 2024-07-04 09:56:23 +02:00
Lisa Durand
f163c04da6
add typo detection and suggestion for admin adding instructeurs 2024-07-03 16:53:23 +02:00
Lisa Durand
c8906d20b8
add reusable code in concern for typo detection email 2024-07-03 16:09:34 +02:00
Colin Darie
990dfbcf9e
chore(cookies): cookies http only 2024-07-03 11:54:10 +02:00
Colin Darie
1eb0bdb4ae
chore: cookies with "secure" flag (only transmitted through https) 2024-07-03 11:18:16 +02:00
Colin Darie
ca55fc9c40
style(demande): fix horizontal alignements en construction 2024-07-03 10:24:06 +02:00
Colin Darie
68cf6b58a3
Merge pull request #10574 from colinux/fix-experts-invits
ETQ admin, fix l'invitation d'experts n'ayant pas de compte DS
2024-07-02 17:33:11 +02:00
Colin Darie
b3ccfc16c4
Merge pull request #10547 from colinux/mandatory-by-default
ETQ admin, un nouveau champ est obligatoire par défaut
2024-07-02 14:26:29 +00:00
Colin Darie
a53fc0fac9
fix(admin): invitation for experts not having an account 2024-07-02 16:15:24 +02:00
Colin Darie
b2514dd16c
Merge pull request #10567 from colinux/fix-hardcoded-name
Tech: corrige le nom de l'application hardcodé dans un email
2024-07-02 12:36:19 +00:00
Colin Darie
a4852bff3d
Merge pull request #10573 from colinux/fix-attestation-v2-eraser
ETQ admin, ne détruit pas l'attestation v1 en allant sur la page pour préparer une v2
2024-07-02 12:35:58 +00:00
Colin Darie
5e25547b7b
fix(attestation): don't delete v1 published when building a v2 2024-07-02 14:10:23 +02:00
Colin Darie
d609b6b71f
Merge pull request #10489 from tchak/feat-export-administration-info
feat(manager): export administrators and instructeurs list
2024-07-02 10:01:28 +00:00
Paul Chavard
1bc714a81a
feat(manager): export administrators and instructeurs list 2024-07-02 11:07:39 +02:00
Lisa Durand
337689333e
Merge pull request #10559 from demarches-simplifiees/change-button-print-to-download-for-user-ldu
ETQ usager, je veux pouvoir télécharger mon dossier sans avoir à passer par le bouton "imprimer"
2024-07-02 08:54:16 +00:00
Eric Leroy-Terquem
6ea42b3d56
Merge pull request #10556 from demarches-simplifiees/create_representations_after_party
Technique : crée des variants et prévisualisations des pjs pour les dossiers récents
2024-07-02 08:34:05 +00:00
Eric Leroy-Terquem
5397c84918
clean: remove failing maintenance tasks 2024-07-02 09:58:28 +02:00
Eric Leroy-Terquem
d731829896
db(after party): create representations for latest dossiers 2024-07-02 09:58:28 +02:00
Eric Leroy-Terquem
2b0c53cd82
Merge pull request #10565 from demarches-simplifiees/add-demarches-publiees-page-in-manager
ETQ superadmin, je peux accéder aux informations essentielles des dernières démarches publiées
2024-07-02 07:46:30 +00:00
Colin Darie
eee6e5e651
Merge pull request #10483 from colinux/fast-tests
Tech (tests): default administrateur fixtures
2024-07-01 21:35:11 +00:00
Colin Darie
2041623ded
test: merge similar examples 2024-07-01 22:36:31 +02:00
Colin Darie
9e80962ea5
test: default administrateur as fixtures 2024-07-01 22:36:31 +02:00
Lisa Durand
8b4e12a407
replace wording, use download instead of print 2024-07-01 17:20:55 +02:00
Colin Darie
f40b71f450
test(type_de_champ): mandatory by default, like schema 2024-07-01 17:00:49 +02:00
Colin Darie
867e4105cb
Merge pull request #10561 from colinux/hide-demande-xl-sidebar
ETQ instructeur, le sommaire sur la page demande s'affiche uniquement sur les écrans XL
2024-07-01 10:10:48 +00:00
mfo
896ee76d74
Merge pull request #10524 from mfo/US/expert-invitation-by-admin
ETQ administrateur, lorsque je gère ma liste d'expert invités sur une démarche, je suis guidé pour eviter les typos
2024-07-01 09:59:15 +00:00
Colin Darie
eb6fafa400
Merge pull request #10568 from colinux/fix-helpscout-limit-int
Tech (helpscout): corrige encore plus mieux le rate limiting
2024-07-01 09:14:13 +00:00
mfo
77bf93dfc2
feat(experts_procedures#create): link to typo errors 2024-07-01 11:01:38 +02:00
Colin Darie
4e1e19c2e7
chore(bundle): +test-prof 2024-07-01 10:56:19 +02:00
Colin Darie
327ebf106f
fix(mailer): hardcoded application name 2024-07-01 10:55:58 +02:00
Colin Darie
0adadf77fa
fix(helpscout): rate limit compared to integer
Signed-off-by: Colin Darie <colin@darie.eu>
2024-07-01 10:54:31 +02:00
mfo
e6a3f210d4
fix(experts_procedures#create): ensure to reload expert list after addition 2024-07-01 10:46:06 +02:00
Lisa Durand
159cc942f6
Merge pull request #10549 from demarches-simplifiees/new-instructeur-need-mail-confirmation-ldu
ETQ nouvel instructeur, je dois confirmer mon mail
2024-07-01 08:45:57 +00:00
mfo
ced634295e
clean(tech): EmailChecker, use class method, not instance 2024-07-01 10:40:55 +02:00
Colin Darie
d36d7b0d48
chore(instructeurs): sections summary only on xl screens 2024-07-01 10:32:44 +02:00
Eric Leroy-Terquem
0a70c6b90f
manager: add a page for demarches publiees 2024-06-28 18:20:05 +02:00
Corinne Durrmeyer
0d744a0eb7
Merge pull request #10538 from demarches-simplifiees/a11y-fix-unordered-list
Correction des listes mal structurées
2024-06-28 09:57:28 +00:00
Corinne Durrmeyer
e2dfabd61a
Merge pull request #10563 from demarches-simplifiees/a11y-fix-legal-notice-page
Améliore l'accessibilité des mentions légales
2024-06-28 09:56:36 +00:00
Corinne Durrmeyer
6cd5bdf1f0
Merge pull request #10553 from demarches-simplifiees/a11y-fix-contact-page
Améliore l'accessibilité de la page de contact
2024-06-28 09:29:23 +00:00
Corinne Durrmeyer
ee44a61ef2
Fix typo 2024-06-28 11:24:26 +02:00
Corinne Durrmeyer
43c8ea7bee
Replace a series of <p> with a <dl> 2024-06-28 11:24:26 +02:00
Corinne Durrmeyer
0065d8933e
Combine address in a single paragraph 2024-06-28 11:09:46 +02:00
Corinne Durrmeyer
9e54a0dbb4
Invert term and description 2024-06-28 10:38:22 +02:00
Corinne Durrmeyer
5f2e9659ad
Remove useless line breaks 2024-06-28 10:38:22 +02:00
Corinne Durrmeyer
229c48de7b
Replace <ul> by <dl> on landing pages 2024-06-28 10:38:22 +02:00
Corinne Durrmeyer
900d17d269
Skiplink : Remove useless list 2024-06-28 10:38:22 +02:00
Lisa Durand
9f03b4cfee
correct typos and remove agent connect suggestion in mail 2024-06-27 17:43:30 +02:00
Lisa Durand
b43b06cf3e
send correct mail if invitation from instructeur 2024-06-27 17:30:36 +02:00
Lisa Durand
1b2d4368ae
place button to the left 2024-06-26 18:24:20 +02:00
Lisa Durand
772ae47521
change print to download button for user 2024-06-26 16:47:53 +02:00
Lisa Durand
75403ba949
add specs 2024-06-26 10:57:40 +02:00
mfo
bc6e2a40ba
Merge pull request #10554 from mfo/US/fix-export-decimal
ETQ admin/instructeur, je souhaite récupérer la valeur d'un type de champ decimal même si la valeur est précédé et ou suivi d'espace blanc
2024-06-26 02:06:39 +00:00
mfo
cfda807b66
fix(data): decimal number having spaces are no more exportable 2024-06-25 21:17:46 +02:00
Colin Darie
48e5a237e3
chore(schema): change default types_de_champ#mandatory from false to true 2024-06-25 17:17:21 +02:00
mfo
476c7df160
bug(Champs::DecimalNumberChamp.for_export): should be able to cast a number wrapped with a string having leading/trailing spaces 2024-06-25 17:05:33 +02:00
Colin Darie
2b80a91cce
Merge pull request #10551 from colinux/fix-helpscout-task
Tech (helpscout): améliore la gestion du rate limit
2024-06-25 15:01:01 +00:00
Corinne Durrmeyer
52b78a51d5
Restrict document selection to authorized types only 2024-06-25 16:57:06 +02:00
Corinne Durrmeyer
e71d330143
Remove icon to prevent it being vocalized by assistive technologies 2024-06-25 16:57:06 +02:00
Corinne Durrmeyer
d82e84d711
Add expected data type to email field 2024-06-25 16:57:06 +02:00
Corinne Durrmeyer
07f063829e
Remove forbidden attribute 2024-06-25 16:57:06 +02:00
Corinne Durrmeyer
19813162db
Update titles 2024-06-25 16:57:06 +02:00
Colin Darie
22a4f471e5
fix(helpscout): rate limit take into deletions into account 2024-06-25 16:45:41 +02:00
Colin Darie
828c539469
Merge pull request #10546 from colinux/fix-flaky-brouillon
Tests: fix JS log events
2024-06-25 14:12:52 +00:00
Lisa Durand
d7893b9102
instructeur need to confirm mail after invitation 2024-06-25 15:14:26 +02:00
mfo
554141bb67
fix(spec): broken 2024-06-25 14:52:01 +02:00
mfo
f83c565297
fix(expert_procedure): flash once 2024-06-25 14:42:00 +02:00
mfo
afa9821edb
perf(InvitationWithTypoComponent): check email once from controller, forward actuel/suggestion email from ctrl to view 2024-06-25 14:37:54 +02:00
mfo
4771c45bce
clean(InvitationWithTypoComponent): simplier interface 2024-06-25 14:36:41 +02:00
mfo
2bb7584246
feat(administrateurs/experts_procedures#create): avoid typo on expert
list management
2024-06-25 14:04:01 +02:00
Corinne Durrmeyer
9cbf1d3341
Merge pull request #10545 from demarches-simplifiees/a11y-fix-focus-visibility
Restaure la visibilité de la prise de focus dans le sélecteur de langue
2024-06-24 14:56:31 +00:00
Colin Darie
c5008e42af
chore: disable partial inserts so we can change default column values 2024-06-24 16:48:11 +02:00
Colin Darie
52ec509c15
Merge pull request #10433 from colinux/faqs-wording
FAQ: précise périmètre d'application de DS
2024-06-24 14:41:05 +00:00
Colin Darie
b552138c48
chore(faq): update screenshots mentionning demarches.gouv.fr 2024-06-24 16:29:33 +02:00
Colin Darie
76c8792ced
chore(faq): make "comment trouver ma démarche" the first FAQ 2024-06-24 16:29:33 +02:00
Colin Darie
417cac5b83
feat(faq): dynamic substitutions support
Ce code avait été initalement codé, mais le contenu de la FAQ n'en a à
ce stade plus besoin. On le garde sous le coude car c'est peu touchy
et ça pourrait bientôt resservir.
2024-06-24 16:29:32 +02:00
Colin Darie
e9920c76d5
feat(faq): can add dsfr alert from markdown 2024-06-24 16:28:35 +02:00
Colin Darie
55cc48b785
test: JS_LOG allows multiple events 2024-06-24 15:29:56 +02:00
Colin Darie
af5ba81e97
chore(bundle): update selenium-devtools and fix JS log events 2024-06-24 15:29:55 +02:00
Corinne Durrmeyer
5bcd849d0b
Restore focus visibility 2024-06-24 14:35:15 +02:00
Colin Darie
169f07cadd
Merge pull request #10543 from mfo/US/fix-invite-guest
Correctif: ETQ usager, je souhaite pouvoir envoyer une invitation à un email qui n'est pas deja un usager DS
2024-06-24 10:53:16 +00:00
mfo
0e3ab79b28
fix(invite_mailer.invite_guest): bypass_unverified_mail_protection! for guests otherwise they will never receive the email
Co-Authored-By: Colin Darie <colin@darie.eu>
2024-06-24 12:45:51 +02:00
Eric Leroy-Terquem
1ab77cede9
Merge pull request #10512 from demarches-simplifiees/safer-gallery
Technique : mise à jour de la galerie et transformation des images uniquement côté jobs
2024-06-24 10:16:57 +00:00
Colin Darie
a1edbd08a2
Merge pull request #10496 from tchak/fix-graphql-allow-requests-with-no-token
fix(graphql): use null_session forgery protection on graphql controller to allow open data requests
2024-06-24 10:11:35 +00:00
Colin Darie
93c73e319c
Merge pull request #10541 from demarches-simplifiees/dark-mode-fix-admin-contact
Adapte le titre de la page contact admin pour le dark mode
2024-06-24 10:10:58 +00:00
Colin Darie
a18a04f538
Merge pull request #10542 from demarches-simplifiees/fix-url-page-expert-ldu
ETQ admin: Corrige l'url pour accéder à la documentation sur la page expert
2024-06-24 10:10:31 +00:00
Eric Leroy-Terquem
c94c2f55c8
task(pj): create representations for latest pieces jointes 2024-06-24 11:13:37 +02:00
Eric Leroy-Terquem
b638b2e45a
feat(gallery): gallery in demande page only for instructeurs 2024-06-24 11:13:37 +02:00
Eric Leroy-Terquem
0c95a098a5
feat(gallery): do not create representations in web machines 2024-06-24 11:13:36 +02:00
Colin Darie
ccf5b255ed
Merge pull request #10465 from colinux/attestations-v2-prod
ETQ admin je peux activer la délivrance des attestations v2 (sous feature flag)
2024-06-24 08:56:31 +00:00
Lisa Durand
edf98d6cd5
change url to access page expert documentation 2024-06-24 10:50:15 +02:00
Kara Diaby
a2f225c1b0
Adapte le titre de la page contact admin pour le dark mode 2024-06-24 10:19:05 +02:00
Colin Darie
5ac2315b5a
Merge pull request #10535 from mfo/US/page-procedure-show
Améliroation, ETQ instructeur le nombre de dossier par page passe de 25 a 100
2024-06-24 08:14:56 +00:00
Colin Darie
a80a1fefd4
Merge pull request #10532 from colinux/mailer-logo-size
Emails: réduit légèrement la taille du nom du logo ds.fr
2024-06-24 07:39:02 +00:00
mfo
9b63543afa
Merge pull request #10537 from demarches-simplifiees/a11y-fix-titles
Pied de page - correction des titres de liens
2024-06-22 04:07:43 +00:00
mfo
5d0d6e1bbc
Merge pull request #10518 from demarches-simplifiees/distinct_cron_tab
Tech: lance les jobs à des horaires légèrements différents pour faciliter le débug
2024-06-22 03:30:21 +00:00
simon lehericey
7c1b26930b
tech: move cron tab to specific time 2024-06-21 17:15:01 +02:00
mfo
4e67255405
feat(instructeurs/procedure#show): increase dossier page size but keep request count same 2024-06-21 16:50:08 +02:00
Corinne Durrmeyer
390844c92b
Merge pull request #10533 from demarches-simplifiees/a11y-fix-mobile-menu-overflow
Supprime le débordement du menu en version mobile sur les terminaux de faible largeur
2024-06-21 14:47:53 +00:00
mfo
2ee6f2350a
Merge pull request #10536 from mfo/US/summary-in-instructeur-demande
ETQ instructeur, je peux naviguer dans le formulaire de l'usager via un sommaire, idem pour les annotations privées.
2024-06-21 14:44:50 +00:00
Corinne Durrmeyer
d34aabe4dc
Fix linting error: Avoid defining in attributes hash for static class names 2024-06-21 16:19:32 +02:00
mfo
4c5e0c245c
tech(spec): perf, instructeurs/procedures#show, start tracking request count on procedure show 2024-06-21 16:19:32 +02:00
Corinne Durrmeyer
b9ba2d9a01
Align contents of language selector list 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
8cfef1bc8f
Add space between button edge and content 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
f3181f1f5e
Moves separating margin 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
f12f7c15e5
Remove border on when there is one item only 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
d8f7269f70
Align links & buttons in mobile version 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
df94e11c4f
Prevents menu overflow in mobile version 2024-06-21 16:11:54 +02:00
mfo
2f6772c879
tech(review): add missing sticky behaviour to summary for instructeur
Co-Authored-By: LeSim <mail@simon.lehericey.net>
2024-06-21 16:03:58 +02:00
Corinne Durrmeyer
e5532eb74f
Add hreflang=fr attribute to links pointing to French content 2024-06-21 15:48:32 +02:00
Corinne Durrmeyer
4ba2da5799
Update titles 2024-06-21 15:41:59 +02:00
Corinne Durrmeyer
1d872fb28f
Remove useless titles 2024-06-21 15:41:59 +02:00
Corinne Durrmeyer
517c87b078
Use the translation for the etalab license 2024-06-21 15:41:59 +02:00
Corinne Durrmeyer
5745923007
Add hreflang=fr attribute to links pointing to French content 2024-06-21 15:41:59 +02:00
Corinne Durrmeyer
ff6f26b920
Remove useless class 2024-06-21 15:09:42 +02:00
Corinne Durrmeyer
efae3c3116
Replace title by <abbr> 2024-06-21 15:09:42 +02:00
Corinne Durrmeyer
45d92a3ae8
Merge pull request #10523 from demarches-simplifiees/update-accessibility-statement
Mise à jour de la décalaration d'accessibilité
2024-06-21 12:49:23 +00:00
mfo
4caeecadff
Merge pull request #10534 from mfo/US/fix-ineligibilite-rules-check-without-rules
Correctif: ETQ admin, je ne peux pas activer l'inéligibilité des dossiers sans règles d'inéligibilité
2024-06-21 09:47:43 +00:00
mfo
d46dc7055d
feat(instructeurs/dossiers): add summary to dossier.champs and dossier.champ_private views, also extract summary in
two component. one of type de champ editor. one for viewable champs
2024-06-21 11:06:45 +02:00
Corinne Durrmeyer
aefd7fd351
Update accessibility statement content 2024-06-21 10:47:22 +02:00
mfo
5a5ebfb235
Merge pull request #10531 from mfo/US/add-champ-summary-to-annotations
ETQ administrateur, je peux naviguer dans l'editeur des annotations en utilisant le sommaire façon editeur des champs du formulaire
2024-06-21 08:34:12 +00:00
mfo
25ffd902ff
feat(admin/annotations): add link to show annotations history 2024-06-21 05:50:24 +02:00
mfo
6eaf870cbf
feat(administrateurs/procedure#annotations): add summary 2024-06-21 05:50:24 +02:00
mfo
43a7364229
Merge pull request #10522 from mfo/US/fix-submitted-dossier-error
Correctif: ETQ admin, j'aimerais pouvoir modifier le message de confirmation de dépôt de dossier
2024-06-21 03:22:48 +00:00
Colin Darie
372c732458
Merge pull request #10513 from colinux/helpscount-api
ETQ opérateur je peux supprimer les vieilles conversations helpscout
2024-06-20 19:57:46 +00:00
mfo
84cdeaa4cc
Merge pull request #10527 from mfo/US/fix-eligibilite-rules-caching-champs.visible
fix(eligibilite_rules): checking for eligibilites rules should not cache champs.visible
2024-06-20 14:11:11 +00:00
mfo
24d7b0b014
fix(ineligibilite_rules): prevent admin to enable ineligibilite rules without rules 2024-06-20 15:35:36 +02:00
mfo
cbe8d92f81
Merge pull request #10530 from demarches-simplifiees/a11y-fix-nav
Correction de la structure de navigation
2024-06-20 13:25:54 +00:00
Colin Darie
395dd5046a
Merge pull request #10519 from colinux/fix-see-more
Correctif ETQ usager : bouton "Afficher toutes les erreurs" s'affiche en français
2024-06-20 13:20:59 +00:00
mfo
9adb1bcf49
fix(ineligibilite_rules): cache bust champs.visible after checking for ineligibilite rules
Update app/models/dossier.rb

Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-06-20 15:20:32 +02:00
Colin Darie
617c0e4c8f
fix(attestation): sticky header don't overlap above preview 2024-06-20 14:31:05 +02:00
Colin Darie
666b51fa9c
fix(textarea): merge data controllers from opts & autoresize 2024-06-20 14:31:05 +02:00
Colin Darie
f2669fbca8
fix(attestation): fix unspecified_attestation_champs for v2 2024-06-20 14:15:06 +02:00
Colin Darie
a2c0379127
test(attestation): preview pdf 2024-06-20 14:15:06 +02:00
Colin Darie
70aee9c9de
refactor(autosave): extract in component, better wording for attestation 2024-06-20 14:15:06 +02:00
Colin Darie
ce998f7864
feat(attestation): already published without publication when procedure is draft 2024-06-20 14:15:06 +02:00
Colin Darie
5bda9d0c63
test(attestation): fix wording after rebase 2024-06-20 14:15:05 +02:00
Colin Darie
cf58c48843
feat(attestation): can toggle activation 2024-06-20 14:15:05 +02:00
Colin Darie
cd07ee173f
feat(attestation): can reset draft attestation 2024-06-20 14:15:05 +02:00
Colin Darie
a540f8dccb
feat(attestation): can render & attach attestations v2 2024-06-20 14:15:05 +02:00
Colin Darie
ffd8c5617a
chore(attestation): card link to v2 if exist 2024-06-20 11:08:16 +02:00
Colin Darie
151b3f83ed
chore(attestation): publish button on sticky header 2024-06-20 11:08:16 +02:00
Colin Darie
11d29f5574
chore(attestation): publish a v2 attestation 2024-06-20 11:08:15 +02:00
Colin Darie
4af6957237
fix(attestation): dup keep all attributes 2024-06-20 11:08:15 +02:00
Colin Darie
c5c24c01d8
chore(attestation): procedure#attestation_template always returns the published attestation 2024-06-20 11:08:15 +02:00
Colin Darie
45fcfd2d16
chore(attestation): backfill all current attestation templates v2 as draft 2024-06-20 11:08:15 +02:00
Colin Darie
ad3c5a7493
chore(schema): add attestation_templates#state 2024-06-20 11:08:15 +02:00
Colin Darie
038df4e7e6
style(mailer): reduce app name logo size 2024-06-20 09:46:14 +02:00
mfo
d7f953f08c
Merge pull request #10525 from colinux/stats-dark
Pages stats au DSFR, déclinées en thème sombre et adaptées aux mobiles
2024-06-19 07:04:20 +00:00
mfo
84caed6c30
Merge pull request #10526 from mfo/US/fix-IncompleteParseError
tech(mail_checker): rescue Mail::Field::IncompleteParseError
2024-06-19 07:03:22 +00:00
Corinne Durrmeyer
e5959b6081
Update test file 2024-06-18 15:13:54 +02:00
Corinne Durrmeyer
20d6a37d85
Remve useless title 2024-06-18 14:39:08 +02:00
Corinne Durrmeyer
044ee25a41
Remove useless <nav> 2024-06-18 14:35:09 +02:00
Corinne Durrmeyer
e3a5944ccc
Standardisation: Replace 'account' by 'profile' 2024-06-18 14:24:54 +02:00
Corinne Durrmeyer
31bf30830d
Place the menu in the <nav> tag in desktop version 2024-06-18 14:24:54 +02:00
mfo
8cbf4753ff
bug(ineligibilite_rules): caching champs.visible without re-validation afterward means we can skip conditions 2024-06-17 16:40:31 +02:00
mfo
d1e983ed97
fix(EmailCheckerController): with partial email, should not raise error 2024-06-17 13:25:28 +02:00
Colin Darie
2252064259
style: cleanup stats.scss 2024-06-17 11:59:02 +02:00
Colin Darie
c288d340d8
style(stats): better responsive & dark theme for procedure stats 2024-06-17 11:59:01 +02:00
Colin Darie
266a7dbcdd
style(stats): better responsiveness & dark theme 2024-06-17 11:59:01 +02:00
Colin Darie
5a7316bc5b chore(css): import segmented controls 2024-06-17 10:36:46 +02:00
Benoit Queyron
06b8194359
Merge pull request #10502 from demarches-simplifiees/etq-usager-bouton-jdma
ETQ usager : j'accède au bouton JDMA depuis la page Merci et depuis le mail de dépôt de dossier
2024-06-14 16:31:12 +00:00
Benoit Queyron
ee35dba37e
linter check 2024-06-14 18:04:16 +02:00
Benoit Queyron
cf787d322a
linter check 2024-06-14 17:43:13 +02:00
Benoit Queyron
98782f8bf0
suggestion de Colin
Co-authored-by: Colin Darie <colin@darie.eu>
2024-06-14 17:37:05 +02:00
Colin Darie
321409eb25
Merge pull request #10514 from colinux/redis-timeout
Tech: réduit le connect timeout de redis d'1s à 0.2s
2024-06-14 11:40:06 +00:00
Colin Darie
eaee4164a6
Merge pull request #10515 from colinux/contact-form-async
ETQ opérateur, le form de contact devient asynchrone et l'antivirus passe sur les PJ
2024-06-14 10:29:24 +00:00
Colin Darie
234d337e49
Merge pull request #10520 from colinux/fix-kredis-default-connection
Tech (kredis): configure la connection `shared` qui est celle par défaut
2024-06-14 10:08:32 +00:00
Colin Darie
2dda5e44f9
chore(kredis): use default shared connection name, fixing dossier index debounce 2024-06-14 11:53:36 +02:00
mfo
2e1e1c060b
fix(dossier_submitted_message#edit): missing dossier for preview 2024-06-14 11:42:42 +02:00
Colin Darie
e6d761b915
fix(dossier): see_more errors missing translation 2024-06-14 10:36:55 +02:00
Benoit Queyron
7a9b1a5763
Merge pull request #10517 from demarches-simplifiees/traduction-lien-connexion
ETQ Admin, Instructeur: fix traduction dans la page lien envoyé
2024-06-14 08:15:21 +00:00
Colin Darie
29e9268175
Merge pull request #10516 from colinux/dossier-not-index-autosave
Tech: n'indexe plus les dossiers en autosave
2024-06-13 13:21:09 +00:00
Colin Darie
6fde2ede06
Merge pull request #10510 from colinux/tech-candies
Tech : 2 petites choses pratiques
2024-06-13 13:05:43 +00:00
Colin Darie
e283f2d8cd
chore(search): don't index on autosave 2024-06-13 14:12:00 +02:00
Benoit Queyron
88c957806f fix link faq 2024-06-13 14:01:05 +02:00
Colin Darie
a1469b04fe
refactor(support): create HS conversation in async and run virus scanner on attachments 2024-06-13 13:27:51 +02:00
Colin Darie
ae5937b22a
chore(sidekiq): concise transition and avoid typos by not (re)opening classes 2024-06-13 13:27:50 +02:00
Benoit Queyron
d124127f10 ajustements de front avec la page confirmation 2024-06-13 12:35:02 +02:00
Benoit Queyron
44cb588c42 mise en page & traduction page session 2024-06-13 12:08:37 +02:00
Colin Darie
939bc37eab
test(vcr): automatically redact bearer tokens 2024-06-13 11:16:53 +02:00
Colin Darie
9d4113befb
feat(helpscout): delete old conversations 2024-06-13 11:16:52 +02:00
Colin Darie
f504e7968d chore(redis): reduce connect timeout from 1s to 0.2s
Prevent web workers from being stalled when Redis is down.
2024-06-12 19:31:50 +02:00
Benoit Queyron
97ef01b075
Merge branch 'main' into etq-usager-bouton-jdma 2024-06-11 18:09:01 +02:00
Benoit Queyron
0ea8877927 update branch 2024-06-11 17:56:04 +02:00
Benoit Queyron
c5fa25ee78 unless to if condition 2024-06-11 17:45:51 +02:00
mfo
069cb04e17
Merge pull request #10508 from mfo/US/fix-annotation-having-condition-on-public-tdc-with-smaller-position-than-the-annotation
ETQ admin, je veux que mes conditions d'annotations privées ne soient pas en erreur pour des raisons d'ordre
2024-06-11 14:19:30 +00:00
mfo
06a870a083 fix(draft_types_de_champ_private.condition): condition must be validated with upper_tdcs. considering that types_de_champ_private can have a condition using a types_de_champ_public, we have to include all types_de_champs_public plus only types_de_champs_private.upper_tdcs 2024-06-11 16:05:45 +02:00
mfo
8cb902821f bug(draft_types_de_champ_private.condition): condition must be validated with upper_tdcs. considering that types_de_champ_private can have a condition using a types_de_champ_public, we have to include all types_de_champs_public plus only types_de_champs_private.upper_tdcs 2024-06-11 16:05:45 +02:00
Colin Darie
89cea04cfd
chore(git): ignore system or local files 2024-06-11 14:48:13 +02:00
Colin Darie
7553a5fc52
test: don't trace coverage by default in local machines 2024-06-11 14:46:23 +02:00
Colin Darie
ed3630e621
Merge pull request #10506 from colinux/fix-clipboad-targets
Bouton copier/coller: améliore support quand le clipboard n'est pas disponible
2024-06-11 09:59:38 +00:00
mfo
f6a5e932b8
Merge pull request #10292 from mfo/US/elligible-on-submit
ETQ administrateur, je peux ajouter des conditions d'eligibilité auxquelles les dossiers doivent correspondre sans quoi l'usager ne peut déposer son dossier
2024-06-11 09:46:25 +00:00
mfo
03381c05b3
Merge pull request #10499 from mfo/US/email-check-with-levenshtein
tech: ETQ usager je souhaite une verification de mes mails plus efficace
2024-06-11 08:55:28 +00:00
mfo
8e3d45b0b1
review(pr): some enhancement, tx @colinux
Co-Authored-By: Colin Darie <colin@darie.eu>
2024-06-11 10:48:10 +02:00
mfo
4d6b8d9536
Merge pull request #10507 from demarches-simplifiees/fix-clone-monavis
ETQ admin: je souhaite que le lien JDMA soit réinitialisé lors du clonage d'une procédure
2024-06-11 08:23:03 +00:00
mfo
f819da8921
tech(clean): simplify implementation of eligibilite rules, code, enhance wording and test coverage 2024-06-11 09:57:36 +02:00
mfo
a011576757
feat(procedure_revision.validates): ineligibilite_rules 2024-06-11 09:39:21 +02:00
mfo
e3a24d53ea
tech(refactor): procedure::error_summary and dossier::ErrorsFullMessagesComponent use same behaviour to compact/expand errors 2024-06-11 09:39:20 +02:00
mfo
c480bc00c3
feat(Users/Dossiers#submit_brouillon_or_en_construction): prevent transition to en_construction if ineligibilite_rules matches. pop error nicely 2024-06-11 09:32:54 +02:00
mfo
178685b34b
feat(TypeDeChampEditor): prevent to destroy a type de champ used by inligibilite rules 2024-06-11 09:32:54 +02:00
mfo
be5f580237
feat(Users/Dossiers#update): track changes live and pop modal when ineligibilite_rules matches 2024-06-11 09:32:54 +02:00
mfo
2210db3b81
feat(Dossier::EditFooterComponent): disable submit button when inligibilite_rules matches 2024-06-11 09:32:54 +02:00
mfo
5644692448
feat(Logic.computable?): add computable? to know if a ineligibilite_rules set is computable 2024-06-11 09:32:53 +02:00
mfo
5de4ce889f
feat(ProcedureRevision.ineligibilites_rules): keep track of changes and show it to admin for republication 2024-06-11 09:32:53 +02:00
mfo
aca3e38859
feat(ProcedureRevision.ineligibilite_rules): add ineligibilite_rules management to procedure revision based on conditional logic 2024-06-11 09:32:53 +02:00
mfo
12d23f1498
feat(Procedure::Cards::IneligibleDossier): add an ineligibilite dossier card to procedure dashboard 2024-06-11 09:32:53 +02:00
mfo
810d272be2
feat(procedure_revision): add ineligibilite columns 2024-06-11 09:32:53 +02:00
mfo
080a818164
Merge pull request #10497 from mfo/US/download-dossier-on-merci
Amélioration: ETQ usager, je souhaite pouvoir télécharger mon dossier sur la page de confirmation de dépôt
2024-06-11 07:11:25 +00:00
Eric Leroy-Terquem
c893f8de99
Merge pull request #10505 from colinux/fix-api-v1-commentaire-pj
API v1: fix régression commentaire -> attachment url qui avait sauté
2024-06-10 14:04:44 +00:00
Eric Leroy-Terquem
bffca0cfe2
Merge pull request #10504 from demarches-simplifiees/more-error-catching-in-gallery
Correctif (galerie) : catche les erreurs de type ActionViewTemplate
2024-06-10 13:50:45 +00:00
Eric Leroy-Terquem
603bb97679
fix(gallery): catch StandardError 2024-06-10 15:41:23 +02:00
Benoit Queyron
a8e382d0d0 fix(clone): le lien monavis est reinitialise lors du clonage 2024-06-10 14:55:51 +02:00
Colin Darie
1d4a8795c8
fix(clipboard): if unsupported, don't hide element when button is on another target 2024-06-10 14:28:50 +02:00
Benoit Queyron
ef2a021971 fix condition si monavis est nil 2024-06-10 13:06:54 +02:00
Colin Darie
915aec6894
chore(apiv1): fix regression with attachment url in commentaire 2024-06-10 13:06:31 +02:00
mfo
ab522a3e40
Merge pull request #10503 from mfo/US/fix-condition-validator-on-private-champ-using-public-tdc
Correctif: ETQ admin, je souhaite pouvoir utiliser des champs public pour conditionner une annotation privée
2024-06-10 09:33:22 +00:00
Benoit Queyron
1ee667af75 fix(brakeman): maj avec le nouvel appel dans la vue 2024-06-10 11:26:37 +02:00
mfo
27b86f9848
fix(TypesDeChamp::ConditionValidator): allow to use types_de_champ_public on condition for types_de_champ_private 2024-06-10 11:26:01 +02:00
Benoit Queyron
0983f35dfd ajout d'un helper pour la source 2024-06-10 11:09:55 +02:00
mfo
d2ccea700b
bug(TypesDeChamp::ConditionValidator): should allow to use types_de_champ_public on condition for types_de_champ_private 2024-06-10 09:35:29 +02:00
Benoit Queyron
d7a19bd421 ajout du JDMA au mail de depot de dossier (avec nb_source=email) 2024-06-07 18:20:28 +02:00
mfo
66eb3dc821
feat(email_check): change strategy to check email, dropping email_buttler package and using a custom EmailChecker 2024-06-07 16:09:32 +02:00
mfo
c813c02975
feat(EmailChecker.check): add class to search for typo in email addresses 2024-06-07 15:13:50 +02:00
Benoit Queyron
a9b56459c8 on fait ouvrir dans un nouvel onglet 2024-06-07 12:52:27 +02:00
Benoit Queyron
0f1c1302a9 on affiche uniquement si JDMA activé 2024-06-07 12:32:55 +02:00
Benoit Queyron
f106e558c0 pour le site nb_source=site 2024-06-07 12:25:30 +02:00
mfo
ae103e049c
feat(DossiersController#merci): add download link 2024-06-06 17:35:02 +02:00
Colin Darie
fe0619af7f
Merge pull request #10296 from demarches-simplifiees/container-contact
ETQ usager, améliore le thème sombre et responsivité de la page contact
2024-06-06 15:33:29 +00:00
Colin Darie
1846ab469c
Merge pull request #10495 from colinux/activejob-log-request-id
Tech: log request_id enqueueing a job
2024-06-06 15:32:57 +00:00
Paul Chavard
2ecaee6fe2
fix(graphql): use null_session forgery protection on graphql controller to allow open data requests 2024-06-06 16:29:34 +02:00
Eric Leroy-Terquem
204953b1ee
Merge pull request #10449 from demarches-simplifiees/fix-gallery-with-pdf-previews-and-variants-for-exotic-formats
ETQ instructeur, dans la galerie, je peux prévisualiser des pdfs et voir des images au format rare
2024-06-06 13:01:24 +00:00
Kara Diaby
e1002beaca Met le conteneur au DSFR pour assurer la responsive sur la page contact 2024-06-06 10:46:40 +00:00
Eric Leroy-Terquem
48c092a74a
test(gallery): test gallery helper 2024-06-06 12:17:56 +02:00
Colin Darie
bb3e53a6fe
chore(job): log request_id enqueueing a job 2024-06-06 12:07:19 +02:00
Eric Leroy-Terquem
f6e54a540b
chore(gallery): add activestorage error catching in job 2024-06-06 12:01:42 +02:00
Eric Leroy-Terquem
ffc0ddc446
chore(gallery): add activestorage error catching in front 2024-06-06 12:01:41 +02:00
Eric Leroy-Terquem
f73a1e1d54
refactor(gallery): add helper methods 2024-06-06 12:01:41 +02:00
Eric Leroy-Terquem
05ad5dcbd6
feat(gallery): display large variant for rare image types 2024-06-06 12:01:40 +02:00
Eric Leroy-Terquem
f3795ebc98
feat(gallery): add pdf previews 2024-06-06 12:01:40 +02:00
Benoit Queyron
ed496a45b4 ajout du texte introductif du bouton JDMA dans merci 2024-06-06 11:53:08 +02:00
Colin Darie
3a4e8b2a32
Merge pull request #10464 from demarches-simplifiees/remove-card-for-historique-modifications-V2
[admin] Simplifier interface en déplacant la tuile de modifs de l'historique du formulaire
2024-06-06 07:41:21 +00:00
Colin Darie
d9451aa64b
Merge pull request #10463 from demarches-simplifiees/reorganize-config-expert-ldu
[admin] améliorer configuration des experts invités
2024-06-06 07:16:49 +00:00
mfo
4cba334fcc
Merge pull request #10491 from colinux/rails-7.0.8.4
Tech (sécurité): rails 7.0.8.3 => 7.0.8.4
2024-06-05 17:08:31 +00:00
Benoit Queyron
f15e4a2be3
Merge pull request #10470 from demarches-simplifiees/modfier-couleur-bloc-bienvenu
fix(asset cards): background none for welcome card admin in darkmode
2024-06-05 16:47:42 +00:00
mfo
7e7b17e875
Merge pull request #10493 from mfo/US/ensure-order-on-avis-list
Amélioration, ETQ instructeur, je souhaite que les avis soient ordonnancés dans plus recent au plus ancien
2024-06-05 15:57:28 +00:00
mfo
73fe247c3d feat(avis): ensure consistent ordering, use ASC ordering to give back most recent avis first 2024-06-05 17:50:32 +02:00
Kara Diaby
e3492fc44a
Merge pull request #10492 from demarches-simplifiees/fix-sql-request-all-procedures
Correctif ETQ admin je peux consulter la page "toutes les démarches" sans zone sélectionnée
2024-06-05 15:19:35 +00:00
Kara Diaby
cb5ba455eb Fixe bug sur toutes les démarches 2024-06-05 14:13:44 +00:00
Colin Darie
728a28134c
chore(bundle): rails 7.0.8.3 => 7.0.8.4 2024-06-05 09:40:54 +02:00
mfo
5ef29a2f31
Merge pull request #10479 from mfo/us/enhance-procedure-validation
ETQ Admin, les erreurs liés aux formulaire usager et instructeurs sont plus consistantes
2024-06-05 05:14:45 +00:00
Paul Chavard
994804e22d
Merge pull request #10486 from tchak/fix-api-preremplissage
fix(api): public api v1 should not inherit from api v1
2024-06-04 17:01:33 +00:00
Paul Chavard
f55cadc806
Merge pull request #10487 from tchak/feat-graphql-discard-message
feat(graphql): messages can be discarded through api
2024-06-04 16:26:45 +00:00
mfo
ef3ca9839b feat(procedure.validation): extract validation context: types_de_champ_public_editor, types_de_champ_private_editor and publication [combining both contextes]. validate conditions, headers_sections, regexp on type_de_champ_private too. dry validation 2024-06-04 18:25:24 +02:00
Paul Chavard
9753a91db6
feat(graphql): messages can be discarded through api 2024-06-04 17:41:26 +02:00
mfo
f508921d2f
Merge pull request #10478 from mfo/US/faster.spec.admin_procedure_as_manager
ETQ tech, j'aimerais que la suite de test aille plus vite
2024-06-04 13:34:36 +00:00
mfo
f14c88a54a clean(spec): speed, avoid using with_all_champs factory. takes too much time when not needed 2024-06-04 15:34:34 +02:00
mfo
f98517852f feat(spec.procedure_administrateurs_spec): les navigation and cases 2024-06-04 15:34:34 +02:00
krichtof
45814fdbfb
Merge pull request #10454 from demarches-simplifiees/9827-add-specs
corrige quelques bugs de la feature export template (renommage dans le zip)
2024-06-04 13:18:12 +00:00
Colin Darie
a15604b057
Merge pull request #10485 from colinux/fix-groupe-inst-mailer
Tech: fix l'envoi d'emails d'ajout à un groupe instructeurs
2024-06-04 13:01:46 +00:00
Colin Darie
ec269a568c
fix(mailer): fix delivery prevented with bcc 2024-06-04 14:27:04 +02:00
Benoit Queyron
febcbf0d5a using dsfr class for spacing 2024-06-04 13:45:59 +02:00
Paul Chavard
bf3455bbf0
fix(api): public api v1 should not inherit from api v1 2024-06-04 10:43:37 +02:00
Christophe Robillard
ac23d5fb41 convert date with dash for export renaming 2024-06-04 10:32:14 +02:00
Paul Chavard
395967e0a1
Merge pull request #10415 from tchak/champs-updated-by
feat(champ): add updated_by column
2024-06-03 19:58:58 +00:00
Paul Chavard
68c15ba99f
feat(champ): add updated_by column 2024-06-03 18:45:16 +02:00
Paul Chavard
9de97c8593
Merge pull request #10484 from tchak/update-js-dependencies
chore(npm): update build dependencies
2024-06-03 12:39:41 +00:00
LeSim
57e9cccbbd
Merge pull request #10481 from demarches-simplifiees/super_admin_can_unblock_email
ETQ SuperAdmin, je peux débloquer les emails d'un usager
2024-06-03 09:58:48 +00:00
Paul Chavard
010ebb1a23
chore(npm): update build dependencies 2024-06-03 11:36:42 +02:00
Kara Diaby
256b7074a4
Merge pull request #10482 from demarches-simplifiees/fix-bug-all-procedures-page
Fix BUG - Ajoute la méthode Acronomyze comme helper
2024-06-03 08:37:22 +00:00
Kara Diaby
8e093e88c2 Ajoute la méthode Acronomyze comme helper pour être utilisé sur la page toutes les démarches 2024-06-03 07:50:09 +00:00
Paul Chavard
27f15bbe07
Merge pull request #10070 from tchak/remove-vite-legacy
chore(js): remove vite legacy build
2024-05-31 19:56:17 +00:00
simon lehericey
72f7c1d632
Feat(SuperAdmin): super admin can unblock email 2024-05-31 16:30:22 +02:00
LeSim
3eafc6bfdc
Merge pull request #10461 from demarches-simplifiees/infra_email_confirmation_2
ETQ Mainteneur, les emails non vérifiés ne sont pas envoyés
2024-05-31 13:16:00 +00:00
simon lehericey
819fa2cde2
feat(User): always allow reset_password_instructions 2024-05-31 14:53:50 +02:00
simon lehericey
7c514e3585
feat(user): always allow invitation mail 2024-05-31 14:53:50 +02:00
simon lehericey
5d259ec47b
refactor(user): rename invite! -> invite_instructeur! 2024-05-31 14:53:49 +02:00
simon lehericey
8104157da6
feat(user): always allow devise mail 2024-05-31 14:53:49 +02:00
simon lehericey
607fbf5287
feat(user): block unverified_email from being sent 2024-05-31 14:53:49 +02:00
Paul Chavard
d44822cc1c
chore(js): remove vite legacy build 2024-05-31 14:17:59 +02:00
Paul Chavard
659600adba
Merge pull request #10476 from tchak/fix-do-not-inline-svg
fix(css): do not inline all DSFR svg
2024-05-31 09:00:21 +00:00
LeSim
abd2dae7a0
Merge pull request #10472 from demarches-simplifiees/block_dubious_email_adresse
Tech: block l'envoi de mails à des adresses douteuses
2024-05-31 08:32:43 +00:00
mfo
84c2ded2a8
Merge pull request #10477 from mfo/US/fix-broken-batch-operation-spec
fix(spec): maj broken spec on main
2024-05-31 07:01:03 +00:00
mfo
a278aac92f fix(spec): maj broken spec on main 2024-05-31 08:24:55 +02:00
Paul Chavard
60c1eb51c5
fix(css): do not inline all DSFR svg 2024-05-30 22:19:23 +02:00
Paul Chavard
a39d736d8c
Merge pull request #10474 from tchak/lazy-stimulus-plugins
chore(js): lazy load lightbox and tiptap
2024-05-30 19:29:56 +00:00
Benoit Queyron
ab54b60489 add dsfr callout 2024-05-30 18:17:08 +02:00
Lisa Durand
ee203d1afc reorganize page config expert invites 2024-05-30 17:50:08 +02:00
Lisa Durand
1bc7cfd917 remove card historique des modifications 2024-05-30 17:47:57 +02:00
Lisa Durand
a900718299
Merge pull request #10459 from demarches-simplifiees/rename-footer-button-for-admin-ldu
[admin] Harmoniser navigation dans l'interface de configuration
2024-05-30 15:28:27 +00:00
LeSim
73e6a25d22
Merge pull request #10471 from demarches-simplifiees/fix_strange_bulk_email_queue_name
Tech: corrige le nom par defaut de la bulk_email_queue
2024-05-30 15:05:19 +00:00
Lisa Durand
4446d6d62a remove footer for admin pages with sticky footer 2024-05-30 17:05:01 +02:00
Lisa Durand
291271f04b fix linter and specs 2024-05-30 17:05:01 +02:00
Lisa Durand
2659d0f966 create component for footer 2024-05-30 17:05:01 +02:00
Lisa Durand
123a038c19 page accuse lecture 2024-05-30 17:05:01 +02:00
Lisa Durand
0df4b480fb page fin de depot 2024-05-30 17:05:01 +02:00
Lisa Durand
ba8b05ed6a page MonAvis 2024-05-30 17:05:01 +02:00
Lisa Durand
6f0cf19f0d page SVA SVR 2024-05-30 17:05:01 +02:00
Lisa Durand
06c784eb03 page api token 2024-05-30 17:05:01 +02:00
Lisa Durand
125c4a45fc page annotations 2024-05-30 17:05:01 +02:00
Lisa Durand
918b1312db page confi emails 2024-05-30 17:05:01 +02:00
Lisa Durand
233d6ee823 page avis externes 2024-05-30 17:05:01 +02:00
Lisa Durand
45fbbf774d page zones 2024-05-30 17:05:01 +02:00
Lisa Durand
1cec1b91c1 page modifications historique 2024-05-30 17:05:01 +02:00
Lisa Durand
659e4ffb61 page instructeurs 2024-05-30 17:05:01 +02:00
Lisa Durand
18585ce422 page administrateurs 2024-05-30 17:05:01 +02:00
Lisa Durand
1fe59c165f page service 2024-05-30 17:05:01 +02:00
Lisa Durand
10ac3fe693 page champs formulaire 2024-05-30 17:05:01 +02:00
Lisa Durand
9634cce8cd page presentation 2024-05-30 17:05:01 +02:00
Paul Chavard
8273870a2c
Merge pull request #10455 from tchak/feat-graphql-timestamps
feat(graphql): expose last_champ_updated_at and last_champ_private_updated_at on api
2024-05-30 13:42:57 +00:00
Benoit Queyron
eb70d63892 remove css fix 2024-05-30 13:47:01 +02:00
simon lehericey
14294af5dc
tech: block dubious emails address 2024-05-30 12:35:04 +02:00
Paul Chavard
43c3d706ac
chore(js): lazy load lightbox and tiptap 2024-05-30 12:25:32 +02:00
simon lehericey
bcf3c0ff34
fix(jobs): fix default bulk_email_queue name 2024-05-30 10:24:52 +02:00
Paul Chavard
f2b3ffed5a
Merge pull request #10469 from tchak/task-commune-codes-batch
chore(task): run commune code fix on all champs of a procedure
2024-05-29 19:34:48 +00:00
Benoit Queyron
bd94c575d7 linter check 2024-05-29 17:35:40 +02:00
Benoit Queyron
823ee11d84 fix(asset cards): background none for welcome card admin in darkmode 2024-05-29 17:03:09 +02:00
Christophe Robillard
9f504dbefd precise export template source for zip exports 2024-05-29 16:09:13 +02:00
Paul Chavard
704cd60e04
chore(task): run commune code fix on all champs of a procedure 2024-05-29 15:56:49 +02:00
Kara Diaby
2371705efc
Merge pull request #10437 from demarches-simplifiees/feat/10332
Amélioration de la page toutes les démarches :  Quick Wins
2024-05-29 13:50:04 +00:00
Christophe Robillard
fc90648c79 fix: regenerate export from export template 2024-05-29 15:42:49 +02:00
Christophe Robillard
0ed166f510 export_template feature flag scoped by procedure 2024-05-29 14:38:05 +02:00
Christophe Robillard
acf6579aa4 add missing specs to export template 2024-05-29 14:38:05 +02:00
Paul Chavard
ed2f615f2b
Merge pull request #10468 from tchak/fix-handle-missing-siret-information
fix(dossier): handle missing siret information when dossier passe en instruction
2024-05-29 12:19:30 +00:00
Kara Diaby
db0b32a99a Test la méthode parsed_latest_zone_labels 2024-05-29 11:45:31 +00:00
Kara Diaby
7281f3ec1a SQL pour renvoyer les zones dans ProcedureDetail 2024-05-29 11:45:31 +00:00
Kara Diaby
47aa3b7d4a Affichage des zones directement dans le tableau et suppression du nombre d'administrateurs 2024-05-29 11:45:31 +00:00
Paul Chavard
de209954e1
Merge pull request #10466 from tchak/fix-supprimes_recemment-should-include-archived
fix(instructeur): supprimes_recemment should include archived dossiers
2024-05-29 11:09:41 +00:00
Paul Chavard
bdee62adc3
Merge pull request #10467 from tchak/fix-multi-termine-batch
fix(dossier): batch operations to termine dossier should send emails
2024-05-29 11:09:30 +00:00
Paul Chavard
eb9aad27c3
fix(dossier): handle missing siret information when dossier passe en instruction 2024-05-29 13:09:04 +02:00
Paul Chavard
5154231ccf
fix(dossier): batch operations to termine dossier should send emails 2024-05-29 11:31:58 +02:00
Paul Chavard
b06934b8d3
fix(instructeur): supprimes_recemment should include archived dossiers 2024-05-29 11:03:46 +02:00
Eric Leroy-Terquem
3b96970e05
Merge pull request #10379 from demarches-simplifiees/add-lightgallery-license
Technique : ajout de la license key pour la galerie de pièces jointes
2024-05-29 08:19:16 +00:00
Eric Leroy-Terquem
4d34d6d4c5
chore(gallery): add lightgallery license key 2024-05-29 09:59:27 +02:00
Christophe Robillard
d61203e57c remove dead code 2024-05-28 19:14:57 +02:00
Christophe Robillard
c0a95ab525 add specs to pieces_justificatives_service 2024-05-28 18:25:48 +02:00
Christophe Robillard
bc4deb1fc2 add specs to export templates controller 2024-05-28 18:25:38 +02:00
Christophe Robillard
d9f7b6d1df fix dossier directory for etablissement when export with export template 2024-05-28 18:25:38 +02:00
Christophe Robillard
2267ec98cf fix dossier directory for attestation when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
4232cc98c7 fix dossier directory for motivation when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
08c079ca0b fix dossier directory for avis when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
ce6ebf3589 fix dossier directory for commentaire when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
06cbb65d4e spec: simplify export template factory 2024-05-28 18:25:37 +02:00
Christophe Robillard
5846fb4417 fix spec titles 2024-05-28 18:25:37 +02:00
LeSim
0b609402ee
Merge pull request #10456 from demarches-simplifiees/infra_email_confirmation
Mise en place de l 'infrastructure de rejet d'envoi de mails non confirmés
2024-05-27 15:48:42 +00:00
simon lehericey
555df3a6d8
feat(User): add maintenance task to backfill email_verified_at 2024-05-27 17:24:56 +02:00
simon lehericey
1cf9535bea
feat(User): verify mandat email during creation 2024-05-27 17:24:56 +02:00
simon lehericey
dbf6459b4b
feat(User): add email_verified_at column to individual (in case of mandant) 2024-05-27 17:24:56 +02:00
simon lehericey
fa06d17169
Feat(user): set email_verified_at when setting confirmed_at 2024-05-27 17:24:56 +02:00
simon lehericey
841c1cc845
Feat(user): verify user email during devise confirmation 2024-05-27 17:24:55 +02:00
simon lehericey
bc8e3c35dd
Feat(User): add email_verified_at column 2024-05-27 17:24:55 +02:00
Paul Chavard
dbfd5eed8b
Merge pull request #10340 from tchak/refactor-dossier-champ-by-stable-id-next
refactor(champs): update champs by public_id [remove dead code]
2024-05-27 12:38:37 +00:00
Paul Chavard
a8398a71b1
feat(graphql): expose last_champ_updated_at and last_champ_private_updated_at on api 2024-05-27 10:34:29 +02:00
Paul Chavard
1bca3c123b
chore(dossier): remove legacy update attributes 2024-05-27 10:33:37 +02:00
Colin Darie
8431771a61
Merge pull request #10448 from colinux/increase-search-debounce-delay
Tech: limite l'engorgement des DossierIndexSearchTermsJob
2024-05-27 08:18:37 +00:00
Colin Darie
3617368a35
fix(search): increase debounce delay because of too frequent brouillon updates 2024-05-27 09:57:05 +02:00
Colin Darie
eaf9773e9e
chore(job): DossierIndexSearchTerms in low_priority queue 2024-05-27 09:55:24 +02:00
mfo
c2c4c46c95
Merge pull request #10414 from demarches-simplifiees/fix-contact-callout
Page de contact - suppression des paragraphes vides
2024-05-24 08:26:14 +00:00
mfo
1b2cd09737
Merge pull request #10387 from demarches-simplifiees/recompute_blob_checksum
Tech: ajoute une maintenance task pour recalculer les checksums de pj erronées
2024-05-24 08:20:42 +00:00
Corinne Durrmeyer
e866aced92 Remove empty <p> 2024-05-24 10:19:32 +02:00
Colin Darie
2c07f0260c
Merge pull request #10443 from colinux/fix-toggle-2-lines
Tech (css): maintient les labels de toggle sur une seule ligne
2024-05-23 10:04:58 +00:00
Colin Darie
fa91987e3d fix(toggle): class markup & label on left for attestation v2 2024-05-23 11:39:56 +02:00
Colin Darie
ab4b201fcb fix(toggle): render label in 1 line 2024-05-23 11:38:27 +02:00
krichtof
2761d18de0
Merge pull request #10217 from demarches-simplifiees/9827-export-rename
ETQ instructeur, je peux renommer le contenu de mon export zip
2024-05-23 09:34:22 +00:00
simon lehericey
0869168bd3
spec: test champs_id_row_index 2024-05-23 10:07:36 +02:00
Christophe Robillard
4fb03e3967
fix: remove useless code 2024-05-23 10:01:30 +02:00
simon lehericey
d3b700326d
spec: fix 2024-05-23 10:01:29 +02:00
simon lehericey
e38999efda
perf(pj service): compute row_id without extraneous requests 2024-05-23 10:01:29 +02:00
simon lehericey
8628ec1621
perf(spec): new record !
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2024-05-23 10:01:29 +02:00
simon lehericey
6184b33a18
perf(preloader): preloader use batch for batches 2024-05-23 10:01:29 +02:00
simon lehericey
ca12a56e6a
perf(zip): give champ to avoid seeking stable_id 2024-05-23 10:00:42 +02:00
simon lehericey
a7e29c4ea6
perf(spec): new count ! 2024-05-23 10:00:42 +02:00
simon lehericey
9effa9e030
perf(zip): preload_dossier earlier 2024-05-23 10:00:42 +02:00
simon lehericey
fa7d5cfa33
fix test 2024-05-23 10:00:41 +02:00
simon lehericey
080bcd8628
refactor: DossierPreloader rename includes_for_dossier -> includes_for_champ 2024-05-23 10:00:41 +02:00
simon lehericey
e8a175d310
refactor: be explicite with memoization 2024-05-23 10:00:41 +02:00
simon lehericey
420520489d
refactor(tags_substitution): simplify 2024-05-23 10:00:41 +02:00
simon lehericey
d60e7906e0
refactor: memoize flat_tags 2024-05-23 10:00:41 +02:00
simon lehericey
e0c867f222
refactor: rename 2024-05-23 10:00:40 +02:00
simon lehericey
3af1cee240
refactor: simplify 2024-05-23 10:00:40 +02:00
simon lehericey
1c0bd3e0e5
refactor: remove unused data 2024-05-23 10:00:40 +02:00
simon lehericey
43fb1ddeb5
refactor: remove target in tags 2024-05-23 10:00:40 +02:00
simon lehericey
fe5c655a52
spec(perf): count sql queries for 10 dossiers 2024-05-23 10:00:40 +02:00
simon lehericey
585810553f
refactor(suffix): be consistent with index suffix 2024-05-23 10:00:39 +02:00
simon lehericey
b656867836
refactor(pj_service): do not query for pj_index 2024-05-23 10:00:39 +02:00
simon lehericey
6d757db20b
fix: champ.row_index and test pjs_for_champs 2024-05-23 10:00:39 +02:00
simon lehericey
1b734aeaed
refactor: simplify preview 2024-05-23 10:00:39 +02:00
simon lehericey
c51792b936
refactor(UI): move extension warning near pjs 2024-05-23 10:00:39 +02:00
simon lehericey
4a900d8121
refactor(UI): add file extension and number to preview 2024-05-23 10:00:38 +02:00
simon lehericey
2dffa9aaa2
refactor: extract preview 2024-05-23 10:00:38 +02:00
simon lehericey
c8b3b4b45a
refactor: renaming 2024-05-23 10:00:38 +02:00
simon lehericey
6445337be7
refactor(pj_list): extract pj list in a concern and simplify 2024-05-23 10:00:38 +02:00
Christophe Robillard
e235131c4c
add export template feature flag 2024-05-23 10:00:38 +02:00
Christophe Robillard
cec73e07a5
move preview to be aligned with form 2024-05-23 10:00:37 +02:00
Christophe Robillard
213522f23f
remove useless tiptap controller 2024-05-23 10:00:37 +02:00
Christophe Robillard
40d7b81e16
add some explanations for export template 2024-05-23 10:00:37 +02:00
Christophe Robillard
4e1552a9eb
add sample messagerie in preview 2024-05-23 10:00:37 +02:00
Christophe Robillard
565f6f44e5
make private some methods 2024-05-23 10:00:37 +02:00
Christophe Robillard
aeb4bd2ff1
add original-filename tag 2024-05-23 10:00:36 +02:00
Christophe Robillard
8e8057ddd3
add some specs to export template 2024-05-23 10:00:36 +02:00
Christophe Robillard
9f715e84d5
add i18n for export template 2024-05-23 10:00:36 +02:00
Christophe Robillard
43c862ed4d
list export templates for groupes instructeur of current instructeur 2024-05-23 10:00:36 +02:00
Christophe Robillard
2c28d97f3f
destroy export_template 2024-05-23 10:00:35 +02:00
Christophe Robillard
93f1fd5ebf
add export template lists 2024-05-23 10:00:35 +02:00
Christophe Robillard
be0c0311c5
use export template for admin archives 2024-05-23 10:00:35 +02:00
Christophe Robillard
4a79ecf301
add new export template link 2024-05-23 10:00:35 +02:00
Christophe Robillard
5aac2ecdc4
rename editor css class
Co-authored-by: Colin Darie <colin@darie.eu>
2024-05-23 10:00:35 +02:00
Christophe Robillard
fd9335f129
style editor tags 2024-05-23 10:00:35 +02:00
Christophe Robillard
2a4bfdd40b
can use export template from export_dropdown_component 2024-05-23 10:00:34 +02:00
Christophe Robillard
357c07456c
generate export with export_template 2024-05-23 10:00:34 +02:00
Christophe Robillard
7a39752630
rename root directory in zip export 2024-05-23 10:00:34 +02:00
Christophe Robillard
7661b8b1b2
add export_template to exports 2024-05-23 10:00:34 +02:00
Christophe Robillard
a12d6b4af0
preview content export 2024-05-23 10:00:33 +02:00
Christophe Robillard
f5813b4e55
create and update export templates 2024-05-23 10:00:33 +02:00
Christophe Robillard
95c308dc51
add specific tags 2024-05-23 10:00:33 +02:00
Christophe Robillard
a248eba641
export template: set default values 2024-05-23 10:00:33 +02:00
Christophe Robillard
dbf46b1f02
extract DOSSIER_ID_TAG 2024-05-23 10:00:32 +02:00
Christophe Robillard
bbb6309b4f
procedure: add pieces_jointes_exportables_list 2024-05-23 10:00:32 +02:00
Christophe Robillard
25ab2420fe
validate export template 2024-05-23 10:00:32 +02:00
Christophe Robillard
24922605cd
add pj for export template 2024-05-23 10:00:32 +02:00
Christophe Robillard
d1c3b84ea2
add export template model 2024-05-23 10:00:32 +02:00
Christophe Robillard
474eb18016
add export template migration 2024-05-23 10:00:31 +02:00
Christophe Robillard
93ad0f4bda
[tiptap] convert tiptap json to path 2024-05-23 10:00:31 +02:00
Colin Darie
b3c2b46bb1
Merge pull request #10441 from colinux/image-processor-sidekiq
Tech: transition ImageProcessorJob to sidekiq
2024-05-23 06:26:03 +00:00
Colin Darie
08a25e60b4
chore(sidekiq): transition ImageProcessorJob to sidekiq 2024-05-22 16:43:07 +02:00
Paul Chavard
c405b3cf77
Merge pull request #10439 from tchak/improuve-react-types
chore(ts): improuve some types
2024-05-22 13:49:45 +00:00
Eric Leroy-Terquem
958215f0ea
Merge pull request #10440 from demarches-simplifiees/keep-variants-but-not-pdf-previews
Correctif : conserve les variants d'images mais retire les prévisualisations de pdf
2024-05-22 12:35:44 +00:00
Eric Leroy-Terquem
47fe6ccf6c
fix(gallery): keep variants but rollback pdf previews 2024-05-22 13:57:47 +02:00
Paul Chavard
ff98fd351f chore(bun): add interactive update command 2024-05-22 09:21:25 +02:00
Paul Chavard
dd81baabe2 chore(ts): improuve some types 2024-05-22 08:53:51 +02:00
Colin Darie
dfc1563cfd
Merge pull request #10435 from mfo/fix-clone-private-attachment
Correctif: ETQ usager, lorsque je clone mon dossier, je ne clone pas les PJs des annotations privées
2024-05-21 19:19:06 +00:00
Colin Darie
dac83f1be5
Merge pull request #10428 from colinux/ci-timeout
Tech (CI): agressive timeout because system tests sometimes hang forever
2024-05-21 16:09:59 +00:00
mfo
885cc5429a
Merge pull request #10436 from colinux/rails-7.0.8.3
Tech (sécurité): update rails 7.0.8.1 => 7.0.8.3
2024-05-21 12:47:54 +00:00
mfo
29ef5b313c
fix(data): clean Champs::PieceJustificativeChamp for annotations that had been cloned 2024-05-21 14:35:51 +02:00
Colin Darie
684cbe7745 chore(bundle): rails 7.0.8.1 => 7.0.8.3 2024-05-21 11:53:07 +02:00
Lisa Durand
1ff641ed34
Merge pull request #10356 from govpf/feature/better_place_for_the_move_champ_after_in_champ_editor
ETQ Administrateur les actions sur un champ dans l'editeur (déplacement, suppression,...) sont rassemblés en bas de chaque champ
2024-05-21 09:11:46 +00:00
mfo
4ea601de79
fix(champs.pj.clone): stop cloning private piece_justificative_file when user clone his dossier 2024-05-21 09:50:27 +02:00
mfo
4629092ab6
Merge pull request #10423 from mfo/fix-maintenance-task-for-tiers
Correctif: MaintenanceTask pour corriger les dossiers declarés pour un tiers mais sans avoir renseigné les infos du tiers
2024-05-21 07:19:53 +00:00
Colin Darie
c2b1d7aaaf
Merge pull request #10261 from colinux/ignore-search-terms-2
Tech (perf): ignore les `search_terms` colonnes pour ne plus les select à chaque query et debounce l'indexation
2024-05-21 07:07:10 +00:00
Christian Lautier
602cf92901 Champ editor: Move champ header to footer 2024-05-17 16:15:37 -10:00
Colin Darie
63949eea64
Merge pull request #10429 from demarches-simplifiees/dependabot/bundler/rexml-3.2.7
chore(deps): bump rexml from 3.2.6 to 3.2.7
2024-05-17 09:13:51 +00:00
Eric Leroy-Terquem
f7060aefc7
Merge pull request #10364 from demarches-simplifiees/rotate-image-auto-ldu
ETQ instructeur, les images sont tournées dans le bon sens et je peux prévisualiser les PDF
2024-05-17 09:11:27 +00:00
Lisa Durand
7cfd9becc8
avoid performing job if attachment is created on existed blob 2024-05-17 11:03:40 +02:00
Lisa Durand
affb1820d8
add PDF preview in view for gallery 2024-05-17 11:03:39 +02:00
Lisa Durand
93c3761107
add specs 2024-05-17 11:03:39 +02:00
Lisa Durand
b4a7b4bfbd
create a job for all image treatments 2024-05-17 11:03:38 +02:00
Lisa Durand
fce2c03015
fix spec changing fake image file extension 2024-05-17 11:03:38 +02:00
Lisa Durand
96238da249
add service to rotate jpg attachment automatically 2024-05-17 11:03:37 +02:00
dependabot[bot]
d65bc883cb
chore(deps): bump rexml from 3.2.6 to 3.2.7
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.6 to 3.2.7.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.7)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 21:48:44 +00:00
Colin Darie
0c9006e953
ci: agressive timeout because system tests sometimes hang forever 2024-05-16 22:15:32 +02:00
Colin Darie
c794f654ea
Merge pull request #10426 from colinux/fix-accuse-lecture-procedure-draft
ETQ admin corrige l'acceptation de dossier d'une démarche brouillon avec accusé de lecture
2024-05-16 18:36:27 +00:00
Colin Darie
55ee9cd6bf
Merge pull request #10422 from colinux/better-sanitize-stats-year
Tech (carte): ignore silencieusement les params invalides
2024-05-16 17:53:17 +00:00
Colin Darie
3d52601155
fix(carte): gracefully ignore invalid year and kind params
Empêche d'envoyer une date invalide à PG et polluer les logs.
2024-05-16 16:58:42 +02:00
Colin Darie
2d57ec4056 fix(accuse-lecture): don't crash on dossier acceptance when procedure is still draft 2024-05-16 16:18:35 +02:00
Colin Darie
b74319b3ee
Merge pull request #10137 from colinux/faqs
Internalisation de la FAQ
2024-05-16 11:16:19 +00:00
Colin Darie
a41ba205d0
chore(faq): translate english interface (not faq content) 2024-05-16 12:26:06 +02:00
Colin Darie
64de0cb146
refactor(faq): update links to new internal links 2024-05-16 11:43:59 +02:00
Colin Darie
965afbd18c
fix(brakeman): false positive params not rendered 2024-05-16 11:43:59 +02:00
Colin Darie
8d99e28da5
chore(faq): cache I/O on showing faq 2024-05-16 11:43:58 +02:00
Colin Darie
b0503b4f28
chore(faq): cache depends on app version 2024-05-16 11:43:58 +02:00
Colin Darie
0581c67d6c
refactor: extract ApplicationVersion version from sentry 2024-05-16 11:43:58 +02:00
Colin Darie
21507cf524
test(faqs): service & controller specs 2024-05-16 11:43:58 +02:00
Colin Darie
d05aee0c67
feat(faq): variabilize application name, host, contact_email 2024-05-16 11:43:58 +02:00
Colin Darie
472a9ae2ef
chore(faq): more faq 2024-05-16 11:43:58 +02:00
Colin Darie
d855c94fbf
feat(faq): breadcrumb 2024-05-16 11:43:57 +02:00
mfo
a01bbd68c7
fix(backfill_invalid_dossiers): not tested, typo 2024-05-16 09:48:05 +02:00
Colin Darie
7a5cb7dbd2
feat(faq): can render images 2024-05-16 09:39:23 +02:00
Colin Darie
08c237c028
feat(faq): list FAQs 2024-05-16 09:39:21 +02:00
Colin Darie
ae78224bac
feat(faq): link siblings FAQs of same category 2024-05-16 09:39:01 +02:00
Colin Darie
1e3c70feb8
chore(faq): show more simple FAQ 2024-05-16 09:35:20 +02:00
Colin Darie
9af2c4f244
feat: show a simple FAQ 2024-05-16 09:35:19 +02:00
Colin Darie
66b4a1f8b8
chore(bundle): +front_matter_parser 2024-05-16 09:35:19 +02:00
Paul Chavard
1d2550e69d
Merge pull request #10421 from tchak/fix-some-n+1
fix(dossier): fix n+1 on header sections
2024-05-15 16:12:50 +00:00
Colin Darie
9f359b4b99
Merge pull request #10148 from ralmn/db-port
chore: expose postgres port
2024-05-15 16:12:36 +00:00
Mathieu HIREL
bc0c068ed7 chore: expose postgres port 2024-05-15 17:57:56 +02:00
Paul Chavard
b12627f074 fix(dossier): fix n+1 on header sections 2024-05-15 17:57:44 +02:00
Colin Darie
241da41c4c
Merge pull request #10419 from colinux/switch-domain-feature-user
Tech: l’affichage du bandeau .gouv.fr sticky à l'user
2024-05-15 15:41:48 +00:00
Paul Chavard
b93dfd3335
Merge pull request #10371 from tchak/refactor-dossier-champ-by-stable-id-view
refactor(champs): change views to use new urls with stable_id and row_id
2024-05-15 14:58:56 +00:00
Paul Chavard
bcd3f3b471 refactor(champs): change views to use new urls with stable_id and row_id 2024-05-15 16:51:26 +02:00
mfo
6e71a20257
Merge pull request #10420 from mfo/US/fix-for-tiers
ETQ usager, je ne peux pas mettre mon dossier dans un etat invalide en essayant le bouton deposer pour un mandataire sans remplir les autres champs du mandataire
2024-05-15 13:04:21 +00:00
mfo
68a624be9e
fix(data): backfill invalid dossier for tiers without tiers info 2024-05-15 14:42:37 +02:00
mfo
50735919c8
fix(for_tiers): do not update for_tiers column to render the form. otherwise user could switch to dossier.for_tiers without filling mandataire required fields when he updates his identity 2024-05-15 14:36:52 +02:00
Colin Darie
7f25f1eba1
chore: switch domain feature sticky to user 2024-05-15 10:27:31 +02:00
Lisa Durand
40e952e8d2
Merge pull request #10417 from demarches-simplifiees/follow-up-accuse-lecture-ldu
[ETQ admin] Je veux comprendre pourquoi je ne peux pas personnaliser mes mails si l'accusé de lecture est activé
2024-05-15 07:42:19 +00:00
Christian Lautier
55a4c73f4a Stick to DSFR design. 2024-05-14 08:17:26 -10:00
Christian Lautier
592f040ada Procedure champ editor: place the 'Move champ after' selection in the champ's header. 2024-05-14 08:17:26 -10:00
Colin Darie
b93d9fa992
Merge pull request #10416 from demarches-simplifiees/dependabot/bundler/nokogiri-1.16.5
chore(deps): bump nokogiri from 1.16.4 to 1.16.5
2024-05-14 11:59:44 +00:00
Lisa Durand
5195c8a56f add explanation and desactivate links for email customisation if AR is activated 2024-05-14 11:40:53 +02:00
dependabot[bot]
700ce205be
chore(deps): bump nokogiri from 1.16.4 to 1.16.5
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.4 to 1.16.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.4...v1.16.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 23:51:22 +00:00
Paul Chavard
175064181e
Merge pull request #10412 from tchak/fix-champ-type-de-champ-mismatch
fix(champ): champ value formatters should check champ type
2024-05-13 15:26:29 +00:00
Paul Chavard
a1db089681 fix(champ): champ value formatters should check champ type 2024-05-13 17:00:46 +02:00
Colin Darie
d4e6e2effa
Merge pull request #10413 from demarches-simplifiees/fix-typo
Corrige des fautes de frappe
2024-05-13 14:43:43 +00:00
mfo
ef4fb441e0
Merge pull request #10393 from demarches-simplifiees/fix-page-listing-titles
Amélioration de la hiérarchie de titres sur les pages de listing et suppression d'un lien vide
2024-05-13 14:31:30 +00:00
mfo
928c3c4016
Merge pull request #10396 from demarches-simplifiees/fix-missing-label
Restaurer l'affichage du label "Filtrer par démarche" sur les pages Usager
2024-05-13 14:31:27 +00:00
Corinne Durrmeyer
b81c6db96d
Update .rb file, fix specs 2024-05-13 16:21:16 +02:00
Corinne Durrmeyer
8d9b701120
Replace aria_hidden by aria-hidden 2024-05-13 16:05:14 +02:00
Colin Darie
cb85d62d78
Merge pull request #10411 from tchak/fix-dossier-projection
fix(dossier): fix projected value on linked_drop_down_list
2024-05-13 13:58:54 +00:00
Colin Darie
71c1d7ac9a
feat(brouillon): index search terms debounced when updating brouillon 2024-05-13 15:55:39 +02:00
Corinne Durrmeyer
8fd6f58beb
feat(fix-typo) : Correct incorrect abbreviations 2024-05-13 15:55:22 +02:00
Paul Chavard
f766a6fb5e fix(dossier): fix projected value on linked_drop_down_list 2024-05-13 15:32:04 +02:00
Corinne Durrmeyer
e4979bc1a1
Specifie the function of the submit button 2024-05-13 15:30:46 +02:00
Corinne Durrmeyer
3c6133276b
Replace autosubmit by submit button 2024-05-13 15:30:46 +02:00
Corinne Durrmeyer
beda1814c8
Improve searchbar layout 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
df489cc688
Modify id and for values to avoid conflict due to duplicate identifiers 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
6f1b41b1a7
Remove .fr-search-bar .fr-label styles. And unse .sr-only instead 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
03409a798f
Display 'Filter by procedure' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
32114c0132
Modify 'Search a file' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
ac6b552acb
Modify 'Filter by procedure' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
93c7b3f817
Fix typo 2024-05-13 15:30:45 +02:00
Colin Darie
4f69b35ee2
Merge pull request #10410 from colinux/fix-export-mismatch-tdc
Tech: tag sentry `procedure` sur le job d'exports pour faciliter le debuggage
2024-05-13 14:46:37 +02:00
Colin Darie
dbcc17b5d4
Merge pull request #10409 from colinux/fix-attestation-departement
Correctif: génération des attestations pour les champs départements
2024-05-13 14:46:23 +02:00
Colin Darie
c790ab9065
Merge pull request #10399 from demarches-simplifiees/nice_delimiter
ETQ Administrateur, je vois le numero de ma démarche avec un separateur de millier
2024-05-13 12:25:19 +00:00
Colin Darie
1615b8ea28
chore(export): set sentry tag procedure id 2024-05-13 14:01:43 +02:00
Colin Darie
a07e492f3c
Merge pull request #10408 from demarches-simplifiees/cni_are_not_api_exposed
ETQ Admin, ds m'informe que les titres d'identité ne sont pas disponible par zip ni api
2024-05-13 11:32:48 +00:00
Colin Darie
ea821e1eac fix: departement_type_de_champ#champ_value_for_tag bad signature 2024-05-13 13:29:30 +02:00
Colin Darie
e01f5b7993
refactor(search): index search terms only when necessary 2024-05-08 10:35:04 +02:00
Corinne Durrmeyer
907bc8d97d
Instructor : Remove empty link 2024-05-07 16:28:19 +02:00
Corinne Durrmeyer
74f1f19a15
Expert : Standardize title 2024-05-07 16:28:19 +02:00
Corinne Durrmeyer
c518018020
Admin - Add main title 2024-05-07 16:28:19 +02:00
Corinne Durrmeyer
4a9213455a
Admin - Improve titles on listing pages 2024-05-07 16:28:18 +02:00
Corinne Durrmeyer
2dc6e3fbc3
Instructor - Improve titles on listing pages 2024-05-07 16:28:18 +02:00
Corinne Durrmeyer
f0544d77e9
User - Improve titles on listing pages 2024-05-07 16:28:18 +02:00
mfo
88d628f40f
Merge pull request #10407 from mfo/US/quickfix-info-gouv-fr-url
ETQ usager, je suis redirigé vers le site de info.gouv.fr et non gouvernement.fr
2024-05-07 13:51:24 +00:00
simon lehericey
24a8257e47
ux: cni are not exposed by zip or api 2024-05-07 14:49:43 +02:00
mfo
ec1c030eae feat(urls): move from gouvernement.fr to info.gouv.fr 2024-05-07 14:23:05 +02:00
Kara Diaby
57c0fa0933
Merge pull request #10405 from demarches-simplifiees/feat/10403
BUGFIX : La démarche modèle clonée n'est plus modèle
2024-05-07 09:56:46 +00:00
Kara Diaby
3bebff1177 TEsts 2024-05-07 09:49:29 +00:00
Kara Diaby
b048a2b042 BUGFIX : La démarche modèle clonée n'est plus modèle 2024-05-07 09:49:29 +00:00
mfo
9518982166
Merge pull request #10346 from mfo/US/permit-to-disable-tiers-bloc
ETQ administrateur, je souhaite pouvoir conditionner l'affichage du bloc " Pour un bénéficiaire : membre de la famille, proche, mandant, professionnel en charge du suivi du dossier…"
2024-05-07 09:23:07 +00:00
mfo
15e464d246
Merge pull request #10309 from mfo/US/section_component_use_html_with_semantic_meaning
tech(a11y): Les champs répétables n'englobent pas leurs champs enfant dans un `fieldset` si il n'y a qu'un seul champ enfant. Idem pour les checkbox uniques
2024-05-07 07:52:22 +00:00
Colin Darie
280467f656
Merge pull request #10402 from colinux/fix-procedure-close-empty-warn
ETQ usager: pas d'alerte vide sur les anciennes démarches closes sans raison
2024-05-06 17:09:41 +00:00
Colin Darie
6733b2884f
feat(search): index mandataire name 2024-05-06 18:58:52 +02:00
Colin Darie
39b0327237
refactor(search): rename update search terms => index search terms 2024-05-06 18:57:39 +02:00
Colin Darie
797bd6b94b
fix(search): preload before updating search terms because we access all champs 2024-05-06 18:57:04 +02:00
Colin Darie
4408824882
fix(dossier): update search terms when etablissement or individual changed 2024-05-06 18:57:03 +02:00
Colin Darie
ee465b38ff
feat(search): debounce update search terms 2024-05-06 18:57:00 +02:00
Colin Darie
5a2ddcb471
test: faster dossier clone spec by merging similar it 2024-05-06 17:16:34 +02:00
Colin Darie
2e763d5e92
perf(search): ignore search_terms columns, use raw sql instead 2024-05-06 17:16:34 +02:00
Colin Darie
300264bf10
fix: procedure closed details link on 'Plus d'informations' words 2024-05-06 16:41:37 +02:00
Eric Leroy-Terquem
cb3581dd79
Merge pull request #10389 from demarches-simplifiees/update-gallery-demande-ui
ETQ instructeur et usager : mise à jour UI de la galerie
2024-05-06 14:00:03 +00:00
mfo
84c1a485e5 feat(Procedure.for_tiers_enabled): allow super admin to disable for_tiers 2024-05-06 15:56:22 +02:00
mfo
b40cc2a54e feat(individual.validation): add missing strict_email validation 2024-05-06 15:56:22 +02:00
mfo
f6046d801f feat(individual_form_component): add missing required on notification method 2024-05-06 15:56:22 +02:00
mfo
95de0d6239 tech(refactor): identity blocks 2024-05-06 15:56:22 +02:00
Eric Leroy-Terquem
3d5e0043a6
refacto: remove unused small variant 2024-05-06 15:52:06 +02:00
Eric Leroy-Terquem
db8de9e657
fix(gallery): display attachments tab only if attachments in dossier 2024-05-06 15:52:06 +02:00
Eric Leroy-Terquem
479fdb9dbe
feat(gallery): can close gallery when clicking on browser back button 2024-05-06 15:52:05 +02:00
Eric Leroy-Terquem
c6a2cb0240
style(gallery): update gallery demande UI 2024-05-06 15:52:05 +02:00
Kara Diaby
e5b6a28e0b
Merge pull request #9986 from demarches-simplifiees/feat/4408
ETQ Usager / Instructeur, je souhaite ajouter plusieurs Pj d'un coup dans la messagerie
2024-05-06 13:27:01 +00:00
Colin Darie
0dd4bafdfd refactor(pj): more readable as_multiple logic 2024-05-06 09:49:02 +00:00
Colin Darie
9e3bf50e61 chore(messagerie): mention multiple files are possible 2024-05-06 09:49:02 +00:00
Colin Darie
6748551240 chore(messagerie): add missing label on comment form 2024-05-06 09:49:02 +00:00
Colin Darie
3b7b18ef90 style(pj-messagerie): same spacing as in PJ champ 2024-05-06 09:49:02 +00:00
Colin Darie
5374100866 fix(messagerie): fix submit for gestionnaires 2024-05-06 09:49:02 +00:00
Kara Diaby
46bec10aa2 lib 2024-05-06 09:49:02 +00:00
Kara Diaby
2612b0a2d1 tests 2024-05-06 09:49:02 +00:00
Kara Diaby
5488067801 api 2024-05-06 09:49:02 +00:00
Kara Diaby
be056a1258 tasks 2024-05-06 09:49:02 +00:00
Kara Diaby
bf622eb3ed service and serializer 2024-05-06 09:49:02 +00:00
Kara Diaby
b69d8249c5 controller 2024-05-06 09:49:02 +00:00
Kara Diaby
981e7ff244 javascript 2024-05-06 09:49:02 +00:00
Kara Diaby
7092583b0a layout 2024-05-06 09:49:02 +00:00
Kara Diaby
bec9af90e8 models 2024-05-06 09:49:02 +00:00
Kara Diaby
1e9b7fbbb6 components 2024-05-06 09:49:02 +00:00
simon lehericey
c9fbe6d5cc
ui: add html delimiter to procedure numbre 2024-05-03 15:57:48 +02:00
LeSim
3b623e6b0c
Merge pull request #10394 from demarches-simplifiees/fix-procedure-pagination
Amélioration du wording de la pagination des éléments affichés sur une seule page
2024-05-03 09:45:17 +00:00
Corinne Durrmeyer
828ab1514b
Update test files 2024-05-03 11:23:39 +02:00
Corinne Durrmeyer
ec99ef51d6
Standardize the pagination of procedures displayed on a single page 2024-05-03 11:01:51 +02:00
Corinne Durrmeyer
717166f61c
Fix typo 2024-05-03 10:18:05 +02:00
Eric Leroy-Terquem
aeb807ca86
Merge pull request #10375 from demarches-simplifiees/variants-for-thumbnails
Correctif(galerie): réduit la taille des images miniatures dans les pages /demande et /pieces_jointes
2024-04-30 07:35:23 +00:00
Eric Leroy-Terquem
4b53808b5c
fix(gallery): add variants on thumbnails 2024-04-29 21:35:20 +02:00
simon lehericey
d2987582f1
chore(blob): add maintenance task to recompute blob checksum 2024-04-29 10:06:33 +02:00
Colin Darie
396384cfa9
Merge pull request #10385 from demarches-simplifiees/dependabot/bundler/sidekiq-7.2.4
chore(deps): bump sidekiq from 7.2.2 to 7.2.4
2024-04-27 16:28:14 +00:00
dependabot[bot]
c62141fac0
chore(deps): bump sidekiq from 7.2.2 to 7.2.4
Bumps [sidekiq](https://github.com/sidekiq/sidekiq) from 7.2.2 to 7.2.4.
- [Changelog](https://github.com/sidekiq/sidekiq/blob/main/Changes.md)
- [Commits](https://github.com/sidekiq/sidekiq/compare/v7.2.2...v7.2.4)

---
updated-dependencies:
- dependency-name: sidekiq
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-26 22:23:39 +00:00
Paul Chavard
5e503af7a6
Merge pull request #10383 from tchak/fix-rollback-ubunto-change
Revert "fix(ci): attempt to fix ci runs"
2024-04-25 17:56:40 +00:00
Paul Chavard
1c4af65338
Merge pull request #10382 from tchak/fix-commune-champ-task
fix(task): fix BackfillCommuneCodeFromNameTask
2024-04-24 16:04:04 +00:00
mfo
91f07f86e4
fix(Champ.checkbox): single checkbox should not be wrapped in fieldset. single checkbox uses fr-checkbox not fr-radio
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-24 18:00:40 +02:00
mfo
64dcd2b0d2
fix(repetition): useless fieldset 2024-04-24 17:37:58 +02:00
Paul Chavard
b1e9b9539b Revert "fix(ci): attempt to fix ci runs"
This reverts commit 95a2f96040.
2024-04-24 16:30:41 +02:00
Paul Chavard
0f6b39d5ca fix(task): fix BackfillCommuneCodeFromNameTask 2024-04-24 16:22:20 +02:00
Paul Chavard
fe3dc57fc2
Merge pull request #10370 from tchak/refactor-format-champ-move-to-type_de_champ
refactor(export): move formatting logic to type de champ
2024-04-24 11:54:42 +00:00
Paul Chavard
24d48b5d8f
Merge pull request #10380 from tchak/update-vite-config
chore(vite): use native esm modules and remove vite warning
2024-04-24 11:54:32 +00:00
Paul Chavard
eba13ab1b5 chore(vite): use native esm modules and remove vite warning 2024-04-24 13:27:41 +02:00
Paul Chavard
ecd8ea9ee5 refactor(dossier): use new serialization in dossier project service 2024-04-24 13:27:20 +02:00
Paul Chavard
244dcfcc23 refactor(export): improuve specs 2024-04-24 13:27:20 +02:00
Paul Chavard
39364961ab refactor(export): expose new interface on type de champ and use it in champs 2024-04-24 13:27:20 +02:00
Paul Chavard
371b8b0b46 refactor(export): remove old formatting code from champs 2024-04-24 13:27:20 +02:00
Paul Chavard
99834e0cf5 refactor(export): move formatting logic to type de champ 2024-04-24 13:27:20 +02:00
Paul Chavard
b239b6e4ea
Merge pull request #10381 from tchak/fix-ci-ubuntu
fix(ci): attempt to fix ci runs
2024-04-24 11:14:30 +00:00
Paul Chavard
95a2f96040 fix(ci): attempt to fix ci runs 2024-04-24 12:33:37 +02:00
Colin Darie
16611afafe
Merge pull request #10378 from colinux/ruby-3.3.1
Tech: upgrade ruby 3.3.0 => 3.3.1 et quelques gems
2024-04-24 07:35:50 +00:00
Colin Darie
7036871d88
Merge pull request #10373 from kleph/update_prometheus_doc
doc(metrics): strongly suggest using local address in prometheus exporter doc
2024-04-24 06:33:07 +00:00
Paul Chavard
94c4a9c314
Merge pull request #10377 from tchak/refactor-patron
chore(patron): build real demarche and dossier for page patron
2024-04-24 06:26:27 +00:00
LeSim
c4a0d00b73
Merge pull request #10376 from tchak/move-spec
chore(spec): move spec in the correct folder
2024-04-23 20:06:55 +00:00
Paul Chavard
42336b235e chore(spec): move spec in the correct folder 2024-04-23 21:57:00 +02:00
Paul Chavard
ea42dec5a4 chore(patron): build real demarche and dossier for page patron 2024-04-23 21:56:14 +02:00
Colin Darie
bad8951a27
chore(bundler): Update sentry from 5.16.1 to 5.17.3 2024-04-23 19:36:34 +02:00
Colin Darie
c66a856e1d
chore(bundle): Update webmock from 3.20.0 to 3.23.0 2024-04-23 19:36:33 +02:00
Colin Darie
627f4eb8fd
chore(bundle): Update view_component from 3.10.0 to 3.12.1 2024-04-23 19:36:32 +02:00
Colin Darie
2b8f344b12
chore(bundle): Update turbo-rails from 2.0.2 to 2.0.5 2024-04-23 19:36:31 +02:00
Colin Darie
44743c1b81
chore(bundle): Update strong_migrations from 1.7.0 to 1.8.0 2024-04-23 19:36:30 +02:00
Colin Darie
039ae8314d
chore(bundle): Update spring from 4.1.3 to 4.2.1 2024-04-23 19:36:29 +02:00
Colin Darie
8add74cdca
chore(bundle): Update skylight from 6.0.3 to 6.0.4 2024-04-23 19:36:28 +02:00
Colin Darie
682e71b16e
chore(bundle): Update shoulda-matchers from 6.1.0 to 6.2.0 2024-04-23 19:21:17 +02:00
Colin Darie
6567f0f18d
chore(bundle): Update selenium-devtools from 0.121.0 to 0.123.0 2024-04-23 19:21:16 +02:00
Colin Darie
32393e967d
chore(bundle): Update rubocop-rspec from 2.26.1 to 2.29.1 2024-04-23 19:21:15 +02:00
Colin Darie
f50038da40
chore(bundle): Update rubocop-rails from 2.23.1 to 2.24.1 2024-04-23 19:21:13 +02:00
Colin Darie
d7cd30efbe
chore(bundle): Update rubocop-performance from 1.20.2 to 1.21.0 2024-04-23 19:21:12 +02:00
Colin Darie
9d346cf655
chore(bundle): Update rubocop from 1.60.2 to 1.63.3 2024-04-23 19:21:11 +02:00
Colin Darie
009b22a9a2
chore(bundle): Update rspec-rails from 6.1.1 to 6.1.2 2024-04-23 19:21:10 +02:00
Colin Darie
ce01fff0ba
chore(bundle): Update redis from 5.1.0 to 5.2.0 2024-04-23 19:21:09 +02:00
Colin Darie
e67895fcf5
chore(bundle): Update rails-i18n from 7.0.8 to 7.0.9 2024-04-23 19:21:08 +02:00
Colin Darie
7af9dfc4be
chore(bundle): Update phonelib from 0.8.7 to 0.8.8 2024-04-23 19:21:06 +02:00
Colin Darie
ae4afd83c0
chore(bundle): Update pg from 1.5.4 to 1.5.6 2024-04-23 19:21:05 +02:00
Colin Darie
a6fc278ef3
chore(bundle): Update maintenance_tasks from 2.6.0 to 2.7.0 2024-04-23 19:21:04 +02:00
Colin Darie
0b0b73c061
chore(bundle): Update listen from 3.8.0 to 3.9.0 2024-04-23 19:21:03 +02:00
Colin Darie
c132f29ed3
chore(bundle): Update jwt from 2.7.1 to 2.8.1 2024-04-23 19:21:02 +02:00
Colin Darie
3f4c230e55
chore(bundle): Update json_schemer from 2.1.1 to 2.2.1 2024-04-23 19:21:01 +02:00
Colin Darie
bbbf3d3813
chore(bundle): Update irb from 1.11.2 to 1.12.0 2024-04-23 19:21:00 +02:00
Colin Darie
a235cf22f6
chore(bundle): Update fugit from 1.9.0 to 1.10.1 2024-04-23 19:20:33 +02:00
Colin Darie
aa1afeb744
chore(bundle): Update chartkick from 5.0.5 to 5.0.6 2024-04-23 19:20:17 +02:00
Colin Darie
22335ac43b chore(bundle): minor indirect dependencies updates 2024-04-23 19:19:31 +02:00
Colin Darie
fb32ce6346 chore(bundler): bring back devise fixed stable 2024-04-23 18:59:35 +02:00
Colin Darie
d24180aa5f chore: update bundler 2.5.4 => 2.5.9 2024-04-23 18:58:20 +02:00
Colin Darie
6f98c5605f
chore: upgrade ruby 3.3.0 => 3.3.1 2024-04-23 18:52:31 +02:00
LeSim
6c70a3db28
Merge pull request #10374 from colinux/watermark-dj
ETQ instructeur: rétablit l'affichage du filigrane des Titres d'identité
2024-04-23 15:22:28 +00:00
Colin Darie
9658a0ca47
fix(watermark): fix watermark text
Current attributes are not set in jobs
2024-04-23 14:59:46 +02:00
kleph
f6b117ce73
doc(metrics): strongly suggest using local address in prometheus exporter doc 2024-04-23 14:47:27 +02:00
Paul Chavard
9d5a4a79bb
Merge pull request #10372 from tchak/fix-dossier-projection-service
fix(dossier): fix and optimize dossier projection service
2024-04-23 12:05:06 +00:00
Paul Chavard
2bc076e1fb fix(dossier): fix and optimize dossier projection service 2024-04-23 11:38:53 +02:00
mfo
5d61444852
Merge pull request #10369 from mfo/US/playground-for-everyone
ETQ developpeur, je souhaite pouvoir utiliser le playground même si je ne suis pas administrateur
2024-04-23 09:27:55 +00:00
mfo
62a2aee923 feat(api.playground): playground is accessible to anyone. allow user to fill in headers 2024-04-23 11:19:38 +02:00
Paul Chavard
cd0c891c16
Merge pull request #10368 from tchak/fix-lock-file
chore(npm): update lock file
2024-04-23 08:52:55 +00:00
LeSim
9ae734c122
Merge pull request #10365 from tchak/refactor-dossier-champ-by-stable-id-attribute-keys
refactor(champs): do not depend on attributes hash key in old code
2024-04-23 07:18:08 +00:00
Eric Leroy-Terquem
311320a513
Merge pull request #10367 from demarches-simplifiees/fix-gallery
Correctif galerie : affichage pdf + feature flag sur galerie dans la page demande
2024-04-23 07:08:19 +00:00
Paul Chavard
621844dfa6 chore(bun): make lock file visible to git diff 2024-04-23 08:56:22 +02:00
Colin Darie
5348543dbe
fix(demande): pj thumbnail with loading="lazy" 2024-04-22 22:33:51 +02:00
Paul Chavard
1a0db08eef chore(npm): update lock file 2024-04-22 22:00:01 +02:00
Eric Leroy-Terquem
388470f186
fix(gallery): add a feature flag on gallery demande 2024-04-22 20:55:13 +02:00
Eric Leroy-Terquem
6ad6196098
fix(gallery): allow pdf iframes in the PJ gallery 2024-04-22 20:16:07 +02:00
Paul Chavard
95bb09a1f8 refactor(champs): do not depend on attributes hash key in old code 2024-04-22 18:38:59 +02:00
Colin Darie
32a2191c5c
Merge pull request #10366 from colinux/codecov-information
Tech: codecov only informational
2024-04-22 16:06:05 +00:00
Colin Darie
25bf996377
ci: codecov only informational 2024-04-22 17:57:44 +02:00
Colin Darie
c1d6c94df7
Merge pull request #10363 from colinux/simplecov
Tech: active le code coverage avec simplecov & codecov
2024-04-22 14:08:02 +00:00
Colin Darie
2bf53abcf6
ci: upload coverage reports to codecov 2024-04-22 15:44:19 +02:00
Colin Darie
fa569c8bb4
ci: enable simplecov 2024-04-22 15:30:06 +02:00
Paul Chavard
f4f5416dd3
Merge pull request #10328 from tchak/refactor-dossier-champ-by-stable-id-controller
refactor(champs): update champs by public_id [controllers]
2024-04-22 12:23:16 +00:00
LeSim
f38de0f5d5
Merge pull request #10362 from demarches-simplifiees/fix_concerns_spec_folder
Tech: corrige le chemin des tests spec/models/concerns
2024-04-22 12:09:27 +00:00
Paul Chavard
741712141a refactor(champs): add new champs controllers urls with stable_id and row_id 2024-04-22 13:55:02 +02:00
Paul Chavard
1021a31f7b refactor(dossier): use update_champs_private and update_champs_public methods 2024-04-22 13:55:02 +02:00
Paul Chavard
ee57d00507 refactor(champs): add new champ find strategy 2024-04-22 13:55:02 +02:00
Paul Chavard
fbd48abc9c refactor(graphql): use champ_for_update method 2024-04-22 13:55:02 +02:00
Paul Chavard
25e009df78 refactor(prefill): use champ_for_update method 2024-04-22 13:55:01 +02:00
Paul Chavard
0c7bc6b555 feat(dossier): add methods to upsert champ values 2024-04-22 13:55:01 +02:00
Paul Chavard
c479d46b47 refactor(champs): extract dossier champ related methods in to a concern 2024-04-22 13:55:01 +02:00
LeSim
1588d1b12c
Merge pull request #10361 from demarches-simplifiees/still_moving_jobs
Tech: deplace d'autres jobs sur sidekiq
2024-04-22 10:52:20 +00:00
simon lehericey
cd808864b6
chore(spec): fix missing s in path 2024-04-22 11:59:28 +02:00
simon lehericey
b6e1e1a04b
chore(sidekiq): move more jobs to sidekiq 2024-04-22 11:54:24 +02:00
Colin Darie
c52ff5cdeb
Merge pull request #10357 from demarches-simplifiees/fix_dolist_gouv_sender
Tech: pour le prestataire de mail dolist, choisit le bon sender_id en fonction du domaine utilisé (migration gouv.fr)
2024-04-22 09:43:34 +00:00
Eric Leroy-Terquem
51f9fa2f90
Merge pull request #10281 from demarches-simplifiees/gallery
ETQ instructeur et usager je peux voir les pièces jointes dans une galerie
2024-04-22 09:22:58 +00:00
Lisa Durand
a0b172566d
feat(gallery): small ui adjustments 2024-04-22 11:09:12 +02:00
Eric Leroy-Terquem
321d198f64
feat(gallery): add gallery to demande page 2024-04-22 11:09:12 +02:00
Eric Leroy-Terquem
29dea52a7e
chore: add truncate option to show and download component 2024-04-22 11:09:11 +02:00
Eric Leroy-Terquem
7c6c3608c9
feat(gallery): use authorized content types 2024-04-22 11:09:11 +02:00
Eric Leroy-Terquem
f02cb19fd4
feat(gallery): display pieces jointes in a gallery 2024-04-22 11:09:10 +02:00
Colin Darie
a30d202971
Merge pull request #10352 from colinux/sva-visible
ETQ admin, tout le monde voit la tuile pour activer le SVA/SVR
2024-04-22 08:26:58 +00:00
Paul Chavard
5788997519
Merge pull request #10347 from tchak/cleanup-dossier-user
fix(dossier): always use user_email_for instead of user.email
2024-04-22 08:22:51 +00:00
Paul Chavard
761ecf95b1
Merge pull request #10348 from demarches-simplifiees/fix_cron_operations_signature
Tech: repare le job de signature des operations
2024-04-22 08:22:38 +00:00
Paul Chavard
7d4148202c
Merge pull request #10265 from tchak/yabeda-graphql
chore(yabeda): add graphql metrics
2024-04-22 08:21:51 +00:00
simon lehericey
c5264973fc
chore(yabeda): add yabeda puma 2024-04-22 09:56:56 +02:00
Eric Leroy-Terquem
e4d517bf10
Merge pull request #10311 from demarches-simplifiees/allow-rerouting-of-dossier-if-routing-configured-after-procedure-publication
ETQ tech je peux re-router les dossiers d'une démarche si le routage a été configuré après publication - suite
2024-04-22 07:55:30 +00:00
simon lehericey
3042759aa0
chore(yabeda): add yabeda rails 2024-04-22 09:55:25 +02:00
simon lehericey
fcbd3d94d1
chore(yabeda): use webrick and check enabled flag 2024-04-22 09:35:35 +02:00
Paul Chavard
3dbb2266d2 chore(yabeda): add graphql metrics 2024-04-22 09:34:40 +02:00
simon lehericey
45fa700561
fix: choose dolist sender depending on the mail domain 2024-04-19 10:59:04 +02:00
simon lehericey
2745be5672
chore: remove old code 2024-04-19 08:48:17 +02:00
simon lehericey
a10a59b265
perf: only load id digest 2024-04-19 08:48:17 +02:00
simon lehericey
8f8b63ac6a
fix: load the dols day by day 2024-04-19 08:48:17 +02:00
Colin Darie
63aecdd85a chore(sva): always enable card but form submit needs feature flag 2024-04-18 16:09:36 +02:00
Paul Chavard
6644f8157f fix(dossier): always use user_email_for instead of user.email 2024-04-18 10:21:32 +02:00
Eric Leroy-Terquem
3349d72912
task(routing): add a new task to reset forced_groupe_instructeur value 2024-04-12 10:37:26 +02:00
Eric Leroy-Terquem
21b6c68761
fix re_routing rake tasks 2024-04-12 10:28:31 +02:00
Eric Leroy-Terquem
84ab6d08b8
feat(routing): make assignment mode auto when all dossiers are reaffected to defaut groupe. so that all dossiers can be re routed 2024-04-12 10:27:21 +02:00
3442 changed files with 61346 additions and 32023 deletions

View file

@ -1,52 +0,0 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
globals: {
process: true,
gon: true
},
plugins: ['prettier', 'react-hooks'],
extends: [
'eslint:recommended',
'prettier',
'plugin:react/recommended',
'plugin:react-hooks/recommended'
],
env: {
es6: true,
browser: true
},
rules: {
'prettier/prettier': 'error',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'error',
'react/prop-types': 'off',
'react/no-deprecated': 'off'
},
settings: {
react: { version: 'detect' }
},
overrides: [
{
files: ['.eslintrc.js', 'vite.config.ts', 'postcss.config.js'],
env: { node: true }
},
{
files: ['**/*.ts', '**/*.tsx'],
plugins: ['@typescript-eslint'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
'prettier'
],
rules: {
'prettier/prettier': 'error',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'error',
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-unused-vars': 'error'
}
}
]
};

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
*.lockb binary diff=lockb

View file

@ -10,7 +10,7 @@ on:
jobs: jobs:
linters: linters:
name: Linters name: Linters
runs-on: ubuntu-latest runs-on: ubuntu-22.04
services: services:
postgres: postgres:
image: postgis/postgis:14-3.3 image: postgis/postgis:14-3.3
@ -33,7 +33,7 @@ jobs:
js_tests: js_tests:
name: JavaScript tests name: JavaScript tests
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -51,9 +51,15 @@ jobs:
run: | run: |
bun run test bun run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
unit_tests: unit_tests:
name: Unit tests name: Unit tests
runs-on: ubuntu-latest runs-on: ubuntu-22.04
timeout-minutes: 20
env: env:
RUBY_YJIT_ENABLE: "1" RUBY_YJIT_ENABLE: "1"
services: services:
@ -75,7 +81,8 @@ jobs:
- name: Install build dependancies - name: Install build dependancies
# - fonts pickable by ImageMagick # - fonts pickable by ImageMagick
# - rust for YJIT support # - rust for YJIT support
run: sudo apt-get update && sudo apt-get install -y gsfonts rustc redis-server # - poppler-utils for pdf previews
run: sudo apt-get update && sudo apt-get install -y gsfonts rustc redis-server poppler-utils
- name: Setup the app runtime and dependencies - name: Setup the app runtime and dependencies
uses: ./.github/actions/ci-setup-rails uses: ./.github/actions/ci-setup-rails
@ -100,9 +107,15 @@ jobs:
name: rspec-results-${{ github.job }}-${{ strategy.job-index }} name: rspec-results-${{ github.job }}-${{ strategy.job-index }}
path: tmp/rspec_${{ github.job }}_${{ strategy.job-index }}.junit.xml path: tmp/rspec_${{ github.job }}_${{ strategy.job-index }}.junit.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
system_tests: system_tests:
name: System tests name: System tests
runs-on: ubuntu-latest runs-on: ubuntu-22.04
timeout-minutes: 20
env: env:
RUBY_YJIT_ENABLE: "1" RUBY_YJIT_ENABLE: "1"
services: services:
@ -124,6 +137,9 @@ jobs:
- name: Setup the app runtime and dependencies - name: Setup the app runtime and dependencies
uses: ./.github/actions/ci-setup-rails uses: ./.github/actions/ci-setup-rails
- name: Setup playwright
run: bunx playwright install chromium
- name: Pre-compile assets - name: Pre-compile assets
uses: ./.github/actions/ci-setup-assets uses: ./.github/actions/ci-setup-assets
@ -144,10 +160,15 @@ jobs:
name: rspec-results-${{ github.job }}-${{ strategy.job-index }} name: rspec-results-${{ github.job }}-${{ strategy.job-index }}
path: tmp/rspec_${{ github.job }}_${{ strategy.job-index }}.junit.xml path: tmp/rspec_${{ github.job }}_${{ strategy.job-index }}.junit.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
save_test_reports: save_test_reports:
name: Save test reports name: Save test reports
needs: [unit_tests, system_tests] needs: [unit_tests, system_tests]
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

6
.gitignore vendored
View file

@ -18,17 +18,23 @@ public/downloads
doc/*.svg doc/*.svg
uploads/* uploads/*
.byebug_history .byebug_history
.DS_Store
*.swp
.envrc
.env .env
.tool-versions
storage/ storage/
/node_modules /node_modules
/yarn-error.log /yarn-error.log
yarn-debug.log* yarn-debug.log*
.yarn-integrity .yarn-integrity
/.vscode /.vscode
/.zed
/.idea /.idea
/public/assets /public/assets
/spec/support/spec_config.local.rb /spec/support/spec_config.local.rb
/config/initializers/config.local.rb /config/initializers/config.local.rb
/coverage
# Local Netlify folder # Local Netlify folder
.netlify .netlify

View file

@ -1,4 +0,0 @@
module.exports = {
singleQuote: true,
trailingComma: 'none'
};

View file

@ -11,7 +11,7 @@ inherit_mode:
- Include - Include
AllCops: AllCops:
TargetRubyVersion: 3.2 TargetRubyVersion: 3.3
DisabledByDefault: true DisabledByDefault: true
SuggestExtensions: false SuggestExtensions: false
NewCops: enable NewCops: enable
@ -23,6 +23,8 @@ AllCops:
- "bin/*" - "bin/*"
- "node_modules/**/*" - "node_modules/**/*"
- "vendor/**/*" - "vendor/**/*"
- "storage/**/*"
- "tmp/**/*"
DS/AddConcurrentIndex: DS/AddConcurrentIndex:
Enabled: true Enabled: true
@ -1175,7 +1177,7 @@ Style/FormatStringToken:
EnforcedStyle: template EnforcedStyle: template
Style/FrozenStringLiteralComment: Style/FrozenStringLiteralComment:
Enabled: false Enabled: true
Style/GlobalVars: Style/GlobalVars:
Enabled: true Enabled: true
@ -1495,8 +1497,7 @@ Style/WhileUntilModifier:
Enabled: false Enabled: false
Style/WordArray: Style/WordArray:
Enabled: true Enabled: false
EnforcedStyle: brackets
Style/YodaCondition: Style/YodaCondition:
Enabled: true Enabled: true

View file

@ -1 +1 @@
3.3.0 3.3.2

View file

@ -1,264 +0,0 @@
exclude:
- 'app/assets/stylesheets/reset.scss'
- 'app/assets/stylesheets/direct_uploads.scss'
- 'app/assets/stylesheets/dsfr_override.scss'
- 'app/assets/stylesheets/manager.scss'
linters:
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false
BemDepth:
enabled: false
max_elements: 1
BorderZero:
enabled: true
convention: none
# To enable later
ChainedClasses:
enabled: false
ColorKeyword:
enabled: true
# To enable later
ColorVariable:
enabled: false
Comment:
enabled: true
style: silent
DebugStatement:
enabled: true
DeclarationOrder:
enabled: true
DisableLinterReason:
enabled: false
DuplicateProperty:
enabled: true
ElsePlacement:
enabled: true
style: same_line
EmptyLineBetweenBlocks:
enabled: true
ignore_single_line_blocks: false
EmptyRule:
enabled: true
ExtendDirective:
enabled: false
FinalNewline:
enabled: true
present: true
HexLength:
enabled: true
style: long
HexNotation:
enabled: true
style: uppercase
HexValidation:
enabled: true
# To enable later
IdSelector:
enabled: false
# To enable later
ImportantRule:
enabled: false
ImportPath:
enabled: false
leading_underscore: false
filename_extension: false
Indentation:
enabled: true
allow_non_nested_indentation: false
character: space
width: 2
LeadingZero:
enabled: true
style: include_zero
MergeableSelector:
enabled: false
force_nesting: true
NameFormat:
enabled: true
allow_leading_underscore: false
convention: hyphenated_lowercase
# To enable later
NestingDepth:
enabled: false
max_depth: 3
ignore_parent_selectors: false
# To enable later
PlaceholderInExtend:
enabled: false
PrivateNamingConvention:
enabled: false
prefix: _
PropertyCount:
enabled: false
include_nested: false
max_properties: 10
PropertySortOrder:
enabled: false
ignore_unspecified: false
min_properties: 2
separate_groups: false
PropertySpelling:
enabled: true
extra_properties:
- scroll-padding
disabled_properties: []
# To enable later
PropertyUnits:
enabled: false
global: [
'ch', 'em', 'ex', 'rem', # Font-relative lengths
'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths
'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths
'deg', 'grad', 'rad', 'turn', # Angle
'ms', 's', # Duration
'Hz', 'kHz', # Frequency
'dpi', 'dpcm', 'dppx', # Resolution
'%'] # Other
properties: {}
PseudoElement:
enabled: false # otherwise rules on ::marker fails
# To enable later
QualifyingElement:
enabled: false
allow_element_with_attribute: false
allow_element_with_class: false
allow_element_with_id: false
# To enable later
SelectorDepth:
enabled: false
max_depth: 3
SelectorFormat:
enabled: true
# hyphenated_lowercase + any dsfr selector which are not hyphenated
convention: ^(?:fr-[^A-Z]+|[^_A-Z]+)$
Shorthand:
enabled: false
allowed_shorthands: [1, 2, 3, 4]
SingleLinePerProperty:
enabled: true
allow_single_line_rule_sets: false
SingleLinePerSelector:
enabled: true
SpaceAfterComma:
enabled: true
style: one_space
SpaceAfterComment:
enabled: true
style: one_space
allow_empty_comments: true
SpaceAfterPropertyColon:
enabled: true
style: one_space
SpaceAfterPropertyName:
enabled: true
SpaceAfterVariableColon:
enabled: true
style: one_space
SpaceAfterVariableName:
enabled: true
SpaceAroundOperator:
enabled: true
style: one_space
SpaceBeforeBrace:
enabled: true
style: space
allow_single_line_padding: false
SpaceBetweenParens:
enabled: true
spaces: 0
StringQuotes:
enabled: true
style: double_quotes
TrailingSemicolon:
enabled: true
TrailingWhitespace:
enabled: true
TrailingZero:
enabled: true
# To enable later
TransitionAll:
enabled: false
UnnecessaryMantissa:
enabled: true
UnnecessaryParentReference:
enabled: true
UrlFormat:
enabled: true
UrlQuotes:
enabled: true
VariableForProperty:
enabled: false
properties: []
VendorPrefix:
enabled: true
identifier_list: base
additional_identifiers: []
excluded_identifiers: []
ZeroUnit:
enabled: false
Compass::*:
enabled: false

30
.simplecov Normal file
View file

@ -0,0 +1,30 @@
# frozen_string_literal: true
SimpleCov.start "rails" do
enable_coverage :branch
command_name "RSpec process #{Process.pid}"
if ENV["CI"] # codecov compatibility
require 'simplecov-cobertura'
formatter SimpleCov::Formatter::CoberturaFormatter
else
formatter SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::SimpleFormatter,
SimpleCov::Formatter::HTMLFormatter
])
end
add_filter "/channels/" # not used
groups.delete("Channels")
add_filter "/lib/tasks/deployment/"
add_group "Components", "app/components"
add_group "API", ["app/graphql", "app/serializers"]
add_group "Manager", ["app/dashboards", "app/fields", "app/controllers/manager"]
add_group "Models", ["app/models", "app/validators"]
add_group "Policies", "app/policies"
add_group "Services", "app/services"
add_group "Tasks", ["app/tasks", "lib/tasks"]
end

13
Gemfile
View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'rails', '~> 7.0.8' # allows update to security fixes at any time gem 'rails', '~> 7.0.8' # allows update to security fixes at any time
@ -17,6 +19,7 @@ gem 'anchored'
gem 'bcrypt' gem 'bcrypt'
gem 'bootsnap', '>= 1.4.4', require: false # Reduces boot times through caching; required in config/boot.rb gem 'bootsnap', '>= 1.4.4', require: false # Reduces boot times through caching; required in config/boot.rb
gem 'browser' gem 'browser'
gem 'capybara-playwright-driver'
gem 'charlock_holmes' gem 'charlock_holmes'
gem 'chartkick' gem 'chartkick'
gem 'chunky_png' gem 'chunky_png'
@ -26,7 +29,7 @@ gem 'deep_cloneable' # Enable deep clone of active record models
gem 'delayed_cron_job', require: false # Cron jobs gem 'delayed_cron_job', require: false # Cron jobs
gem 'delayed_job_active_record' gem 'delayed_job_active_record'
gem 'delayed_job_web' gem 'delayed_job_web'
gem 'devise', git: 'https://github.com/heartcombo/devise.git', ref: "edffc79bf05d7f1c58ba50ffeda645e2e4ae0cb1" # Gestion des comptes utilisateurs, drop ref on next release: 4.9.4 gem 'devise'
gem 'devise-i18n' gem 'devise-i18n'
gem 'devise-two-factor' gem 'devise-two-factor'
gem 'discard' gem 'discard'
@ -37,6 +40,7 @@ gem 'flipper'
gem 'flipper-active_record' gem 'flipper-active_record'
gem 'flipper-active_support_cache_store' gem 'flipper-active_support_cache_store'
gem 'flipper-ui' gem 'flipper-ui'
gem 'front_matter_parser'
gem 'fugit' gem 'fugit'
gem 'geocoder' gem 'geocoder'
gem 'geo_coord', require: "geo/coord" gem 'geo_coord', require: "geo/coord"
@ -94,6 +98,7 @@ gem 'sidekiq'
gem 'sidekiq-cron' gem 'sidekiq-cron'
gem 'skylight' gem 'skylight'
gem 'spreadsheet_architect' gem 'spreadsheet_architect'
gem 'string-similarity'
gem 'strong_migrations' # lint database migrations gem 'strong_migrations' # lint database migrations
gem 'sys-proctable' gem 'sys-proctable'
gem 'turbo-rails' gem 'turbo-rails'
@ -106,7 +111,7 @@ gem 'webrick', require: false
gem 'yabeda-prometheus' gem 'yabeda-prometheus'
gem 'yabeda-sidekiq' gem 'yabeda-sidekiq'
gem 'zipline' gem 'zipline'
gem 'zxcvbn-ruby', require: 'zxcvbn' gem 'zxcvbn'
group :test do group :test do
gem 'axe-core-rspec' # accessibility rspec matchers gem 'axe-core-rspec' # accessibility rspec matchers
@ -122,6 +127,9 @@ group :test do
gem 'selenium-devtools' gem 'selenium-devtools'
gem 'selenium-webdriver' gem 'selenium-webdriver'
gem 'shoulda-matchers', require: false gem 'shoulda-matchers', require: false
gem 'simplecov', require: false
gem 'simplecov-cobertura', require: false
gem "test-prof"
gem 'timecop' gem 'timecop'
gem 'vcr' gem 'vcr'
gem 'webmock' gem 'webmock'
@ -139,7 +147,6 @@ group :development do
gem 'rubocop-performance', require: false gem 'rubocop-performance', require: false
gem 'rubocop-rails', require: false gem 'rubocop-rails', require: false
gem 'rubocop-rspec', require: false gem 'rubocop-rspec', require: false
gem 'scss_lint', require: false
gem 'stackprof' gem 'stackprof'
gem 'web-console' gem 'web-console'
end end

View file

@ -6,65 +6,53 @@ GIT
json (>= 2.5) json (>= 2.5)
sidekiq (~> 7.0) sidekiq (~> 7.0)
GIT
remote: https://github.com/heartcombo/devise.git
revision: edffc79bf05d7f1c58ba50ffeda645e2e4ae0cb1
ref: edffc79bf05d7f1c58ba50ffeda645e2e4ae0cb1
specs:
devise (4.9.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
responders
warden (~> 1.2.3)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
aasm (5.5.0) aasm (5.5.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
acsv (0.0.1) acsv (0.0.1)
actioncable (7.0.8.1) actioncable (7.0.8.7)
actionpack (= 7.0.8.1) actionpack (= 7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailbox (7.0.8.1) actionmailbox (7.0.8.7)
actionpack (= 7.0.8.1) actionpack (= 7.0.8.7)
activejob (= 7.0.8.1) activejob (= 7.0.8.7)
activerecord (= 7.0.8.1) activerecord (= 7.0.8.7)
activestorage (= 7.0.8.1) activestorage (= 7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
mail (>= 2.7.1) mail (>= 2.7.1)
net-imap net-imap
net-pop net-pop
net-smtp net-smtp
actionmailer (7.0.8.1) actionmailer (7.0.8.7)
actionpack (= 7.0.8.1) actionpack (= 7.0.8.7)
actionview (= 7.0.8.1) actionview (= 7.0.8.7)
activejob (= 7.0.8.1) activejob (= 7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
net-imap net-imap
net-pop net-pop
net-smtp net-smtp
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (7.0.8.1) actionpack (7.0.8.7)
actionview (= 7.0.8.1) actionview (= 7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
rack (~> 2.0, >= 2.2.4) rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (7.0.8.1) actiontext (7.0.8.7)
actionpack (= 7.0.8.1) actionpack (= 7.0.8.7)
activerecord (= 7.0.8.1) activerecord (= 7.0.8.7)
activestorage (= 7.0.8.1) activestorage (= 7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
globalid (>= 0.6.0) globalid (>= 0.6.0)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
actionview (7.0.8.1) actionview (7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
@ -79,26 +67,26 @@ GEM
activemodel (>= 5.2.0) activemodel (>= 5.2.0)
activestorage (>= 5.2.0) activestorage (>= 5.2.0)
activesupport (>= 5.2.0) activesupport (>= 5.2.0)
activejob (7.0.8.1) activejob (7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (7.0.8.1) activemodel (7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
activerecord (7.0.8.1) activerecord (7.0.8.7)
activemodel (= 7.0.8.1) activemodel (= 7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
activestorage (7.0.8.1) activestorage (7.0.8.7)
actionpack (= 7.0.8.1) actionpack (= 7.0.8.7)
activejob (= 7.0.8.1) activejob (= 7.0.8.7)
activerecord (= 7.0.8.1) activerecord (= 7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
marcel (~> 1.0) marcel (~> 1.0)
mini_mime (>= 1.1.0) mini_mime (>= 1.1.0)
activestorage-openstack (1.6.0) activestorage-openstack (1.6.0)
fog-openstack (>= 1.0.9) fog-openstack (>= 1.0.9)
marcel marcel
rails (>= 5.2.2) rails (>= 5.2.2)
activesupport (7.0.8.1) activesupport (7.0.8.7)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
minitest (>= 5.1) minitest (>= 5.1)
@ -148,7 +136,7 @@ GEM
erubi (~> 1.4) erubi (~> 1.4)
parser (>= 2.4) parser (>= 2.4)
smart_properties smart_properties
bigdecimal (3.1.6) bigdecimal (3.1.7)
bindata (2.5.0) bindata (2.5.0)
bindex (0.8.1) bindex (0.8.1)
bootsnap (1.18.3) bootsnap (1.18.3)
@ -156,7 +144,7 @@ GEM
brakeman (6.1.2) brakeman (6.1.2)
racc racc
browser (5.3.1) browser (5.3.1)
builder (3.2.4) builder (3.3.0)
capybara (3.40.0) capybara (3.40.0)
addressable addressable
matrix matrix
@ -169,6 +157,10 @@ GEM
capybara-email (3.0.2) capybara-email (3.0.2)
capybara (>= 2.4, < 4.0) capybara (>= 2.4, < 4.0)
mail mail
capybara-playwright-driver (0.5.2)
addressable
capybara
playwright-ruby-client (>= 1.16.0)
capybara-screenshot (1.0.26) capybara-screenshot (1.0.26)
capybara (>= 1.0, < 4) capybara (>= 1.0, < 4)
launchy launchy
@ -179,14 +171,14 @@ GEM
marcel (~> 1.0) marcel (~> 1.0)
nokogiri (~> 1.10, >= 1.10.4) nokogiri (~> 1.10, >= 1.10.4)
rubyzip (>= 1.3.0, < 3) rubyzip (>= 1.3.0, < 3)
charlock_holmes (0.7.7) charlock_holmes (0.7.9)
chartkick (5.0.5) chartkick (5.0.6)
choice (0.2.0) choice (0.2.0)
chunky_png (1.4.0) chunky_png (1.4.0)
clamav-client (3.2.0) clamav-client (3.2.0)
coercible (1.0.0) coercible (1.0.0)
descendants_tracker (~> 0.0.1) descendants_tracker (~> 0.0.1)
concurrent-ruby (1.2.3) concurrent-ruby (1.3.4)
connection_pool (2.4.1) connection_pool (2.4.1)
content_disposition (1.0.0) content_disposition (1.0.0)
crack (1.0.0) crack (1.0.0)
@ -195,6 +187,7 @@ GEM
crass (1.0.6) crass (1.0.6)
css_parser (1.16.0) css_parser (1.16.0)
addressable addressable
csv (3.3.0)
daemons (1.4.1) daemons (1.4.1)
date (3.3.4) date (3.3.4)
deep_cloneable (3.2.0) deep_cloneable (3.2.0)
@ -213,9 +206,15 @@ GEM
sinatra (>= 1.4.4) sinatra (>= 1.4.4)
descendants_tracker (0.0.4) descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1) thread_safe (~> 0.3, >= 0.3.1)
devise (4.9.4)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
responders
warden (~> 1.2.3)
devise-i18n (1.12.0) devise-i18n (1.12.0)
devise (>= 4.9.0) devise (>= 4.9.0)
devise-two-factor (5.0.0) devise-two-factor (6.0.0)
activesupport (~> 7.0) activesupport (~> 7.0)
devise (~> 4.0) devise (~> 4.0)
railties (~> 7.0) railties (~> 7.0)
@ -223,6 +222,7 @@ GEM
diff-lcs (1.5.1) diff-lcs (1.5.1)
discard (1.3.0) discard (1.3.0)
activerecord (>= 4.2, < 8) activerecord (>= 4.2, < 8)
docile (1.4.0)
dotenv (2.8.1) dotenv (2.8.1)
dotenv-rails (2.8.1) dotenv-rails (2.8.1)
dotenv (= 2.8.1) dotenv (= 2.8.1)
@ -239,8 +239,8 @@ GEM
dumb_delegator (1.0.0) dumb_delegator (1.0.0)
email_validator (2.2.4) email_validator (2.2.4)
activemodel activemodel
erubi (1.12.0) erubi (1.13.0)
et-orbi (1.2.7) et-orbi (1.2.11)
tzinfo tzinfo
ethon (0.16.0) ethon (0.16.0)
ffi (>= 1.15.0) ffi (>= 1.15.0)
@ -257,19 +257,20 @@ GEM
faraday-net_http (3.1.0) faraday-net_http (3.1.0)
net-http net-http
ffi (1.16.3) ffi (1.16.3)
flipper (1.2.2) flipper (1.3.0)
concurrent-ruby (< 2) concurrent-ruby (< 2)
flipper-active_record (1.2.2) flipper-active_record (1.3.0)
activerecord (>= 4.2, < 8) activerecord (>= 4.2, < 8)
flipper (~> 1.2.2) flipper (~> 1.3.0)
flipper-active_support_cache_store (1.2.2) flipper-active_support_cache_store (1.3.0)
activesupport (>= 4.2, < 8) activesupport (>= 4.2, < 8)
flipper (~> 1.2.2) flipper (~> 1.3.0)
flipper-ui (1.2.2) flipper-ui (1.3.0)
erubi (>= 1.0.0, < 2.0.0) erubi (>= 1.0.0, < 2.0.0)
flipper (~> 1.2.2) flipper (~> 1.3.0)
rack (>= 1.4, < 4) rack (>= 1.4, < 4)
rack-protection (>= 1.5.3, <= 4.0.0) rack-protection (>= 1.5.3, < 5.0.0)
rack-session (>= 1.0.2, < 3.0.0)
sanitize (< 7) sanitize (< 7)
fog-core (2.4.0) fog-core (2.4.0)
builder builder
@ -283,8 +284,9 @@ GEM
fog-core (~> 2.1) fog-core (~> 2.1)
fog-json (>= 1.0) fog-json (>= 1.0)
formatador (1.1.0) formatador (1.1.0)
fugit (1.9.0) front_matter_parser (1.0.1)
et-orbi (~> 1, >= 1.2.7) fugit (1.11.1)
et-orbi (~> 1, >= 1.2.11)
raabro (~> 1.4) raabro (~> 1.4)
geo_coord (0.2.0) geo_coord (0.2.0)
geocoder (1.8.2) geocoder (1.8.2)
@ -333,7 +335,7 @@ GEM
highline (3.0.1) highline (3.0.1)
htmlentities (4.3.4) htmlentities (4.3.4)
http_accept_language (2.1.1) http_accept_language (2.1.1)
i18n (1.14.4) i18n (1.14.6)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
i18n-tasks (1.0.13) i18n-tasks (1.0.13)
activesupport (>= 4.0.2) activesupport (>= 4.0.2)
@ -355,16 +357,16 @@ GEM
invisible_captcha (2.2.0) invisible_captcha (2.2.0)
rails (>= 5.2) rails (>= 5.2)
io-console (0.7.2) io-console (0.7.2)
irb (1.11.2) irb (1.12.0)
rdoc rdoc
reline (>= 0.4.2) reline (>= 0.4.2)
job-iteration (1.4.1) job-iteration (1.7.0)
activejob (>= 5.2) activejob (>= 5.2)
jquery-rails (4.6.0) jquery-rails (4.6.0)
rails-dom-testing (>= 1, < 3) rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0) railties (>= 4.2.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
json (2.7.1) json (2.8.2)
json-jwt (1.16.6) json-jwt (1.16.6)
activesupport (>= 4.2) activesupport (>= 4.2)
aes_key_wrap aes_key_wrap
@ -372,12 +374,15 @@ GEM
bindata bindata
faraday (~> 2.0) faraday (~> 2.0)
faraday-follow_redirects faraday-follow_redirects
json_schemer (2.1.1) json_schemer (2.2.1)
base64
bigdecimal
hana (~> 1.3) hana (~> 1.3)
regexp_parser (~> 2.0) regexp_parser (~> 2.0)
simpleidn (~> 0.2) simpleidn (~> 0.2)
jsonapi-renderer (0.2.2) jsonapi-renderer (0.2.2)
jwt (2.7.1) jwt (2.8.1)
base64
kaminari (1.2.2) kaminari (1.2.2)
activesupport (>= 4.1.0) activesupport (>= 4.1.0)
kaminari-actionview (= 1.2.2) kaminari-actionview (= 1.2.2)
@ -404,16 +409,17 @@ GEM
letter_opener (~> 1.7) letter_opener (~> 1.7)
railties (>= 5.2) railties (>= 5.2)
rexml rexml
listen (3.8.0) listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.0)
lograge (0.14.0) lograge (0.14.0)
actionpack (>= 4) actionpack (>= 4)
activesupport (>= 4) activesupport (>= 4)
railties (>= 4) railties (>= 4)
request_store (~> 1.0) request_store (~> 1.0)
logstash-event (1.2.02) logstash-event (1.2.02)
loofah (2.22.0) loofah (2.23.1)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.12.0) nokogiri (>= 1.12.0)
mail (2.8.1) mail (2.8.1)
@ -421,17 +427,18 @@ GEM
net-imap net-imap
net-pop net-pop
net-smtp net-smtp
maintenance_tasks (2.6.0) maintenance_tasks (2.10.0)
actionpack (>= 6.0) actionpack (>= 6.1)
activejob (>= 6.0) activejob (>= 6.1)
activerecord (>= 6.0) activerecord (>= 6.1)
csv
job-iteration (>= 1.3.6) job-iteration (>= 1.3.6)
railties (>= 6.0) railties (>= 6.1)
zeitwerk (>= 2.6.2) zeitwerk (>= 2.6.2)
marcel (1.0.2) marcel (1.0.4)
matrix (0.4.2) matrix (0.4.2)
memory_profiler (1.0.1) memory_profiler (1.0.1)
method_source (1.0.0) method_source (1.1.0)
mime-types (3.5.2) mime-types (3.5.2)
mime-types-data (~> 3.2015) mime-types-data (~> 3.2015)
mime-types-data (3.2024.0206) mime-types-data (3.2024.0206)
@ -439,25 +446,25 @@ GEM
rake rake
mini_magick (4.12.0) mini_magick (4.12.0)
mini_mime (1.1.5) mini_mime (1.1.5)
mini_portile2 (2.8.5) mini_portile2 (2.8.8)
minitest (5.22.2) minitest (5.25.4)
msgpack (1.7.2) msgpack (1.7.2)
multi_json (1.15.0) multi_json (1.15.0)
mustermann (3.0.0) mustermann (3.0.0)
ruby2_keywords (~> 0.0.1) ruby2_keywords (~> 0.0.1)
net-http (0.4.1) net-http (0.4.1)
uri uri
net-imap (0.4.10) net-imap (0.4.17)
date date
net-protocol net-protocol
net-pop (0.1.2) net-pop (0.1.2)
net-protocol net-protocol
net-protocol (0.2.2) net-protocol (0.2.2)
timeout timeout
net-smtp (0.4.0.1) net-smtp (0.5.0)
net-protocol net-protocol
nio4r (2.7.0) nio4r (2.7.3)
nokogiri (1.16.2) nokogiri (1.17.1)
mini_portile2 (~> 2.8.2) mini_portile2 (~> 2.8.2)
racc (~> 1.4) racc (~> 1.4)
openid_connect (2.3.0) openid_connect (2.3.0)
@ -474,14 +481,17 @@ GEM
validate_url validate_url
webfinger (~> 2.0) webfinger (~> 2.0)
orm_adapter (0.5.0) orm_adapter (0.5.0)
parallel (1.24.0) parallel (1.26.3)
parsby (1.1.1) parsby (1.1.1)
parser (3.3.0.5) parser (3.3.6.0)
ast (~> 2.4.1) ast (~> 2.4.1)
racc racc
pdf-core (0.9.0) pdf-core (0.9.0)
pg (1.5.4) pg (1.5.6)
phonelib (0.8.7) phonelib (0.8.8)
playwright-ruby-client (1.46.0)
concurrent-ruby (>= 1.1.6)
mime-types (>= 3.0)
prawn (2.4.0) prawn (2.4.0)
pdf-core (~> 0.9.0) pdf-core (~> 0.9.0)
ttfunk (~> 1.7) ttfunk (~> 1.7)
@ -501,16 +511,16 @@ GEM
premailer (~> 1.7, >= 1.7.9) premailer (~> 1.7, >= 1.7.9)
prometheus-client (4.2.2) prometheus-client (4.2.2)
promise.rb (0.7.4) promise.rb (0.7.4)
psych (5.1.2) psych (5.2.0)
stringio stringio
public_suffix (5.0.4) public_suffix (5.0.5)
puma (6.4.2) puma (6.4.3)
nio4r (~> 2.0) nio4r (~> 2.0)
pundit (2.3.1) pundit (2.3.1)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
raabro (1.4.0) raabro (1.4.0)
racc (1.7.3) racc (1.8.1)
rack (2.2.8.1) rack (2.2.10)
rack-attack (6.7.0) rack-attack (6.7.0)
rack (>= 1.0, < 4) rack (>= 1.0, < 4)
rack-mini-profiler (3.3.1) rack-mini-profiler (3.3.1)
@ -527,25 +537,27 @@ GEM
rack (~> 2.2, >= 2.2.4) rack (~> 2.2, >= 2.2.4)
rack-proxy (0.7.7) rack-proxy (0.7.7)
rack rack
rack-session (1.0.2)
rack (< 3)
rack-test (2.1.0) rack-test (2.1.0)
rack (>= 1.3) rack (>= 1.3)
rack_session_access (0.2.0) rack_session_access (0.2.0)
builder (>= 2.0.0) builder (>= 2.0.0)
rack (>= 1.0.0) rack (>= 1.0.0)
rails (7.0.8.1) rails (7.0.8.7)
actioncable (= 7.0.8.1) actioncable (= 7.0.8.7)
actionmailbox (= 7.0.8.1) actionmailbox (= 7.0.8.7)
actionmailer (= 7.0.8.1) actionmailer (= 7.0.8.7)
actionpack (= 7.0.8.1) actionpack (= 7.0.8.7)
actiontext (= 7.0.8.1) actiontext (= 7.0.8.7)
actionview (= 7.0.8.1) actionview (= 7.0.8.7)
activejob (= 7.0.8.1) activejob (= 7.0.8.7)
activemodel (= 7.0.8.1) activemodel (= 7.0.8.7)
activerecord (= 7.0.8.1) activerecord (= 7.0.8.7)
activestorage (= 7.0.8.1) activestorage (= 7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
bundler (>= 1.15.0) bundler (>= 1.15.0)
railties (= 7.0.8.1) railties (= 7.0.8.7)
rails-controller-testing (1.0.5) rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1) actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1)
@ -559,24 +571,24 @@ GEM
activesupport (>= 4.2) activesupport (>= 4.2)
choice (~> 0.2.0) choice (~> 0.2.0)
ruby-graphviz (~> 1.2) ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.6.0) rails-html-sanitizer (1.6.1)
loofah (~> 2.21) loofah (~> 2.21)
nokogiri (~> 1.14) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
rails-i18n (7.0.8) rails-i18n (7.0.9)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8) railties (>= 6.0.0, < 8)
rails-pg-extras (5.3.1) rails-pg-extras (5.3.1)
rails rails
ruby-pg-extras (= 5.3.1) ruby-pg-extras (= 5.3.1)
railties (7.0.8.1) railties (7.0.8.7)
actionpack (= 7.0.8.1) actionpack (= 7.0.8.7)
activesupport (= 7.0.8.1) activesupport (= 7.0.8.7)
method_source method_source
rake (>= 12.2) rake (>= 12.2)
thor (~> 1.0) thor (~> 1.0)
zeitwerk (~> 2.5) zeitwerk (~> 2.5)
rainbow (3.1.1) rainbow (3.1.1)
rake (13.1.0) rake (13.2.1)
rake-progressbar (0.0.5) rake-progressbar (0.0.5)
rb-fsevent (0.11.2) rb-fsevent (0.11.2)
rb-inotify (0.10.1) rb-inotify (0.10.1)
@ -584,19 +596,19 @@ GEM
rdoc (6.6.3.1) rdoc (6.6.3.1)
psych (>= 4.0.0) psych (>= 4.0.0)
redcarpet (3.6.0) redcarpet (3.6.0)
redis (5.1.0) redis (5.2.0)
redis-client (>= 0.17.0) redis-client (>= 0.22.0)
redis-client (0.20.0) redis-client (0.22.1)
connection_pool connection_pool
regexp_parser (2.9.0) regexp_parser (2.9.2)
reline (0.4.2) reline (0.5.3)
io-console (~> 0.5) io-console (~> 0.5)
request_store (1.5.1) request_store (1.5.1)
rack (>= 1.4) rack (>= 1.4)
responders (3.1.1) responders (3.1.1)
actionpack (>= 5.2) actionpack (>= 5.2)
railties (>= 5.2) railties (>= 5.2)
rexml (3.2.6) rexml (3.3.9)
rodf (1.2.0) rodf (1.2.0)
builder (>= 3.0) builder (>= 3.0)
rubyzip (>= 1.0) rubyzip (>= 1.0)
@ -614,48 +626,50 @@ GEM
rspec-mocks (3.13.0) rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0) rspec-support (~> 3.13.0)
rspec-rails (6.1.1) rspec-rails (6.1.2)
actionpack (>= 6.1) actionpack (>= 6.1)
activesupport (>= 6.1) activesupport (>= 6.1)
railties (>= 6.1) railties (>= 6.1)
rspec-core (~> 3.12) rspec-core (~> 3.13)
rspec-expectations (~> 3.12) rspec-expectations (~> 3.13)
rspec-mocks (~> 3.12) rspec-mocks (~> 3.13)
rspec-support (~> 3.12) rspec-support (~> 3.13)
rspec-retry (0.6.2) rspec-retry (0.6.2)
rspec-core (> 3.3) rspec-core (> 3.3)
rspec-support (3.13.0) rspec-support (3.13.1)
rspec_junit_formatter (0.6.0) rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0) rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.60.2) rubocop (1.69.0)
json (~> 2.3) json (~> 2.3)
language_server-protocol (>= 3.17.0) language_server-protocol (>= 3.17.0)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.3.0.2) parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0) regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.36.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0) unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.30.0) rubocop-ast (1.36.1)
parser (>= 3.2.1.0) parser (>= 3.3.1.0)
rubocop-capybara (2.20.0) rubocop-capybara (2.20.0)
rubocop (~> 1.41) rubocop (~> 1.41)
rubocop-factory_bot (2.25.1) rubocop-factory_bot (2.25.1)
rubocop (~> 1.41) rubocop (~> 1.41)
rubocop-performance (1.20.2) rubocop-performance (1.21.0)
rubocop (>= 1.48.1, < 2.0) rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails (2.23.1) rubocop-rails (2.24.1)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
rack (>= 1.1) rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0) rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (2.26.1) rubocop-rspec (2.29.1)
rubocop (~> 1.40) rubocop (~> 1.40)
rubocop-capybara (~> 2.17) rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22) rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
ruby-graphviz (1.2.5) ruby-graphviz (1.2.5)
rexml rexml
ruby-next-core (1.0.2) ruby-next-core (1.0.2)
@ -673,14 +687,9 @@ GEM
nokogiri (>= 1.6.2) nokogiri (>= 1.6.2)
rexml rexml
xmlenc (>= 0.7.1) xmlenc (>= 0.7.1)
sanitize (6.1.0) sanitize (6.1.2)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.12.0) nokogiri (>= 1.12.0)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sassc (2.4.0) sassc (2.4.0)
ffi (~> 1.9) ffi (~> 1.9)
sassc-rails (2.1.2) sassc-rails (2.1.2)
@ -689,34 +698,34 @@ GEM
sprockets (> 3.0) sprockets (> 3.0)
sprockets-rails sprockets-rails
tilt tilt
scss_lint (0.60.0)
sass (~> 3.5, >= 3.5.5)
selectize-rails (0.12.6) selectize-rails (0.12.6)
selenium-devtools (0.121.0) selenium-devtools (0.126.0)
selenium-webdriver (~> 4.2) selenium-webdriver (~> 4.2)
selenium-webdriver (4.17.0) selenium-webdriver (4.22.0)
base64 (~> 0.2) base64 (~> 0.2)
logger (~> 1.4)
rexml (~> 3.2, >= 3.2.5) rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0) rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0) websocket (~> 1.0)
sentry-delayed_job (5.16.1) sentry-delayed_job (5.17.3)
delayed_job (>= 4.0) delayed_job (>= 4.0)
sentry-ruby (~> 5.16.1) sentry-ruby (~> 5.17.3)
sentry-rails (5.16.1) sentry-rails (5.17.3)
railties (>= 5.0) railties (>= 5.0)
sentry-ruby (~> 5.16.1) sentry-ruby (~> 5.17.3)
sentry-ruby (5.16.1) sentry-ruby (5.17.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
sentry-sidekiq (5.16.1) sentry-sidekiq (5.17.3)
sentry-ruby (~> 5.16.1) sentry-ruby (~> 5.17.3)
sidekiq (>= 3.0) sidekiq (>= 3.0)
shoulda-matchers (6.1.0) shoulda-matchers (6.2.0)
activesupport (>= 5.2.0) activesupport (>= 5.2.0)
sib-api-v3-sdk (9.1.0) sib-api-v3-sdk (9.1.0)
addressable (~> 2.3, >= 2.3.0) addressable (~> 2.3, >= 2.3.0)
json (~> 2.1, >= 2.1.0) json (~> 2.1, >= 2.1.0)
typhoeus (~> 1.0, >= 1.0.1) typhoeus (~> 1.0, >= 1.0.1)
sidekiq (7.2.1) sidekiq (7.2.4)
concurrent-ruby (< 2) concurrent-ruby (< 2)
connection_pool (>= 2.3.0) connection_pool (>= 2.3.0)
rack (>= 2.2.4) rack (>= 2.2.4)
@ -728,6 +737,15 @@ GEM
simple_xlsx_reader (1.0.4) simple_xlsx_reader (1.0.4)
nokogiri nokogiri
rubyzip rubyzip
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-cobertura (2.1.0)
rexml
simplecov (~> 0.19)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
simpleidn (0.2.1) simpleidn (0.2.1)
unf (~> 0.1.4) unf (~> 0.1.4)
sinatra (3.2.0) sinatra (3.2.0)
@ -735,13 +753,13 @@ GEM
rack (~> 2.2, >= 2.2.4) rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.2.0) rack-protection (= 3.2.0)
tilt (~> 2.0) tilt (~> 2.0)
skylight (6.0.3) skylight (6.0.4)
activesupport (>= 5.2.0) activesupport (>= 5.2.0)
smart_properties (1.17.0) smart_properties (1.17.0)
spreadsheet_architect (5.0.0) spreadsheet_architect (5.0.0)
caxlsx (>= 3.3.0, < 4) caxlsx (>= 3.3.0, < 4)
rodf (>= 1.0.0, < 2) rodf (>= 1.0.0, < 2)
spring (4.1.3) spring (4.2.1)
spring-commands-rspec (1.0.4) spring-commands-rspec (1.0.4)
spring (>= 0.9.1) spring (>= 0.9.1)
sprockets (4.2.1) sprockets (4.2.1)
@ -752,8 +770,9 @@ GEM
activesupport (>= 5.2) activesupport (>= 5.2)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
stackprof (0.2.26) stackprof (0.2.26)
stringio (3.1.0) string-similarity (2.1.0)
strong_migrations (1.7.0) stringio (3.1.2)
strong_migrations (1.8.0)
activerecord (>= 5.2) activerecord (>= 5.2)
swd (2.0.3) swd (2.0.3)
activesupport (>= 3) activesupport (>= 3)
@ -766,13 +785,14 @@ GEM
temple (0.8.2) temple (0.8.2)
terminal-table (3.0.2) terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3) unicode-display_width (>= 1.1.1, < 3)
thor (1.3.0) test-prof (1.3.3)
thor (1.3.2)
thread_safe (0.3.6) thread_safe (0.3.6)
tilt (2.3.0) tilt (2.3.0)
timecop (0.9.8) timecop (0.9.8)
timeout (0.4.1) timeout (0.4.1)
ttfunk (1.7.0) ttfunk (1.7.0)
turbo-rails (2.0.2) turbo-rails (2.0.5)
actionpack (>= 6.0.0) actionpack (>= 6.0.0)
activejob (>= 6.0.0) activejob (>= 6.0.0)
railties (>= 6.0.0) railties (>= 6.0.0)
@ -784,13 +804,13 @@ GEM
unf (0.1.4) unf (0.1.4)
unf_ext unf_ext
unf_ext (0.0.9.1) unf_ext (0.0.9.1)
unicode-display_width (2.5.0) unicode-display_width (2.6.0)
uri (0.13.0) uri (0.13.0)
validate_url (1.0.15) validate_url (1.0.15)
activemodel (>= 3.0.0) activemodel (>= 3.0.0)
public_suffix public_suffix
vcr (6.2.0) vcr (6.2.0)
view_component (3.10.0) view_component (3.12.1)
activesupport (>= 5.2.0, < 8.0) activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
method_source (~> 1.0) method_source (~> 1.0)
@ -816,11 +836,11 @@ GEM
activesupport activesupport
faraday (~> 2.0) faraday (~> 2.0)
faraday-follow_redirects faraday-follow_redirects
webmock (3.20.0) webmock (3.23.0)
addressable (>= 2.8.0) addressable (>= 2.8.0)
crack (>= 0.3.2) crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0) hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.8.1) webrick (1.8.2)
websocket (1.2.10) websocket (1.2.10)
websocket-driver (0.7.6) websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
@ -846,13 +866,13 @@ GEM
anyway_config (>= 1.3, < 3) anyway_config (>= 1.3, < 3)
sidekiq sidekiq
yabeda (~> 0.6) yabeda (~> 0.6)
zeitwerk (2.6.13) zeitwerk (2.7.1)
zip_tricks (5.6.0) zip_tricks (5.6.0)
zipline (1.5.0) zipline (1.5.0)
actionpack (>= 6.0, < 8.0) actionpack (>= 6.0, < 8.0)
content_disposition (~> 1.0) content_disposition (~> 1.0)
zip_tricks (>= 4.2.1, < 6.0) zip_tricks (>= 4.2.1, < 6.0)
zxcvbn-ruby (1.2.0) zxcvbn (0.1.11)
PLATFORMS PLATFORMS
ruby ruby
@ -878,6 +898,7 @@ DEPENDENCIES
browser browser
capybara capybara
capybara-email capybara-email
capybara-playwright-driver
capybara-screenshot capybara-screenshot
charlock_holmes charlock_holmes
chartkick chartkick
@ -888,7 +909,7 @@ DEPENDENCIES
delayed_cron_job delayed_cron_job
delayed_job_active_record delayed_job_active_record
delayed_job_web delayed_job_web
devise! devise
devise-i18n devise-i18n
devise-two-factor devise-two-factor
discard discard
@ -900,6 +921,7 @@ DEPENDENCIES
flipper-active_record flipper-active_record
flipper-active_support_cache_store flipper-active_support_cache_store
flipper-ui flipper-ui
front_matter_parser
fugit fugit
geo_coord geo_coord
geocoder geocoder
@ -967,7 +989,6 @@ DEPENDENCIES
rubocop-rspec rubocop-rspec
saml_idp saml_idp
sassc-rails sassc-rails
scss_lint
selenium-devtools selenium-devtools
selenium-webdriver selenium-webdriver
sentry-delayed_job sentry-delayed_job
@ -979,13 +1000,17 @@ DEPENDENCIES
sidekiq sidekiq
sidekiq-cron sidekiq-cron
simple_xlsx_reader simple_xlsx_reader
simplecov
simplecov-cobertura
skylight skylight
spreadsheet_architect spreadsheet_architect
spring spring
spring-commands-rspec spring-commands-rspec
stackprof stackprof
string-similarity
strong_migrations strong_migrations
sys-proctable sys-proctable
test-prof
timecop timecop
turbo-rails turbo-rails
typhoeus typhoeus
@ -1000,7 +1025,7 @@ DEPENDENCIES
yabeda-prometheus yabeda-prometheus
yabeda-sidekiq yabeda-sidekiq
zipline zipline
zxcvbn-ruby zxcvbn
BUNDLED WITH BUNDLED WITH
2.5.4 2.5.23

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# A sample Guardfile # A sample Guardfile
# More info at https://github.com/guard/guard#readme # More info at https://github.com/guard/guard#readme

View file

@ -1,3 +1,3 @@
web: RAILS_QUEUE_ADAPTER=delayed_job bin/rails server -p 3000 web: bin/rails server -p 3000
jobs: bin/rake jobs:work jobs: bin/rake jobs:work
vite: bin/vite dev vite: bin/vite dev

View file

@ -38,6 +38,8 @@ Pour faire tourner sidekiq, vous aurez besoin de :
- redis - redis
- lightgallery : une license a été souscrite pour soutenir le projet, mais elle n'est pas obligatoire si la librairie est utilisée dans le cadre d'une application open source.
#### Développement #### Développement
- rbenv : voir https://github.com/rbenv/rbenv-installer#rbenv-installer--doctor-scripts - rbenv : voir https://github.com/rbenv/rbenv-installer#rbenv-installer--doctor-scripts
@ -62,7 +64,7 @@ Selenium::WebDriver::Chrome.path = "/Applications/Brave Browser.app/Contents/Mac
Webdrivers::Chromedriver.required_version = "103.0.5060.53" Webdrivers::Chromedriver.required_version = "103.0.5060.53"
``` ```
Il est également possible de faire une installation et mise à jour automatique lors de l'exécution de `bin/update` en définissant la variable d'environnement `UPDATE_WEBDRIVER`. Les binaires seront installés dans le repertoire `~/.local/bin/` qui doit être rajouté manuellement dans le path. Il est également possible de faire une installation et mise à jour automatique lors de l'exécution de `bin/update` en définissant la variable d'environnement `UPDATE_WEBDRIVER`. Les binaires seront installés dans le repertoire `~/.local/bin/` qui doit être rajouté manuellement dans le path.
### Création des rôles de la base de données ### Création des rôles de la base de données
@ -142,7 +144,7 @@ Pour exécuter les tests de l'application, plusieurs possibilités :
- Afficher les logs js en error issus de la console du navigateur `console.error('coucou')` - Afficher les logs js en error issus de la console du navigateur `console.error('coucou')`
JS_LOG=error bin/rspec spec/system JS_LOG=debug,log,error bin/rspec spec/system
- Augmenter la latence lors de tests end2end pour déceler des bugs récalcitrants - Augmenter la latence lors de tests end2end pour déceler des bugs récalcitrants
@ -192,3 +194,5 @@ La compatibilité est testée par Browserstack.<br>[<img src="app/assets/images/
[![View performance data on Skylight](https://badges.skylight.io/status/zAvWTaqO0mu1.svg)](https://oss.skylight.io/app/applications/zAvWTaqO0mu1) [![View performance data on Skylight](https://badges.skylight.io/status/zAvWTaqO0mu1.svg)](https://oss.skylight.io/app/applications/zAvWTaqO0mu1)
Nous utilisons Skylight pour suivre les performances de notre application. Nous utilisons Skylight pour suivre les performances de notre application.
Par ailleurs, nous utilisons [Yabeda](https://github.com/yabeda-rb/yabeda) pour exporter des métriques au format prometheus pour Sidekiq. L'activation se fait via la variable d'environnement `PROMETHEUS_EXPORTER_ENABLED` voir config/env.example.optional .

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Add your own tasks in files placed in lib/tasks ending in .rake, # Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -1,4 +1,4 @@
@import "placeholders"; @import 'placeholders';
html, html,
body { body {
@ -6,11 +6,21 @@ body {
scroll-behavior: smooth; scroll-behavior: smooth;
} }
// Forces line breaks to prevent buttons from overflowing their container
input[type='submit'] {
white-space: normal;
}
.page-wrapper { .page-wrapper {
position: relative; position: relative;
min-height: 100%; min-height: 100%;
} }
// Wrap text in pre tag
pre {
white-space: pre-wrap;
}
// Mobile Safari doesn't bubble mouse events by default, unless: // Mobile Safari doesn't bubble mouse events by default, unless:
// //
// - the target element of the event is a link or a form field. // - the target element of the event is a link or a form field.
@ -28,3 +38,7 @@ body {
.container { .container {
@extend %container; @extend %container;
} }
react-fragment {
display: block;
}

View file

@ -1,5 +1,5 @@
@import "colors"; @import 'colors';
@import "constants"; @import 'constants';
// floats // floats
.pull-left { .pull-left {
@ -37,7 +37,7 @@
} }
.text-right { .text-right {
text-align: right; text-align: right !important;
} }
.text-sm { .text-sm {
@ -142,7 +142,6 @@
} }
} }
// who known // who known
.highlighted { .highlighted {
background-color: var( background-color: var(
@ -194,13 +193,29 @@
// using $direction.key as css modifier, $direction.values to set css properties // using $direction.key as css modifier, $direction.values to set css properties
// scale it using $steps // scale it using $steps
$directions: ( $directions: (
"t": ("margin-top"), 't': (
"r": ("margin-right"), 'margin-top'
"b": ("margin-bottom"), ),
"l": ("margin-left"), 'r': (
"x": ("margin-left", "margin-right"), 'margin-right'
"y": ("margin-top", "margin-bottom"), ),
"": ("margin") 'b': (
'margin-bottom'
),
'l': (
'margin-left'
),
'x': (
'margin-left',
'margin-right'
),
'y': (
'margin-top',
'margin-bottom'
),
'': (
'margin'
)
); );
$steps: (0, 1, 2, 3, 4, 5, 6, 7, 8); $steps: (0, 1, 2, 3, 4, 5, 6, 7, 8);
@ -215,13 +230,29 @@ $steps: (0, 1, 2, 3, 4, 5, 6, 7, 8);
} }
$directions: ( $directions: (
"t": ("padding-top"), 't': (
"r": ("padding-right"), 'padding-top'
"b": ("padding-bottom"), ),
"l": ("padding-left"), 'r': (
"x": ("padding-left", "padding-right"), 'padding-right'
"y": ("padding-top", "padding-bottom"), ),
"": ("padding") 'b': (
'padding-bottom'
),
'l': (
'padding-left'
),
'x': (
'padding-left',
'padding-right'
),
'y': (
'padding-top',
'padding-bottom'
),
'': (
'padding'
)
); );
$steps: (0, 1, 2, 3, 4, 5, 6, 7, 8); $steps: (0, 1, 2, 3, 4, 5, 6, 7, 8);

View file

@ -1,26 +1,26 @@
$light-blue: #1C7EC9; $light-blue: #1c7ec9;
$lighter-blue: #C3D9FF; $lighter-blue: #c3d9ff;
$black: #333333; $black: #333333;
$white: #FFFFFF; $white: #ffffff;
$grey: #888888; $grey: #888888;
$light-grey: #F8F8F8; $light-grey: #f8f8f8;
$dark-grey: #666666; $dark-grey: #666666;
$border-grey: #CCCCCC; $border-grey: #cccccc;
$dark-red: #A10005; $dark-red: #a10005;
$medium-red: rgba(161, 0, 5, 0.9); $medium-red: rgba(161, 0, 5, 0.9);
$light-red: #ED1C24; $light-red: #ed1c24;
$lighter-red: #F52A2A; $lighter-red: #f52a2a;
$background-red: #FFDFDF; $background-red: #ffdfdf;
$green: darken(#169862, 5%); $green: darken(#169862, 5%);
$old-green: #15AD70; $old-green: #15ad70;
$lighter-green: lighten($old-green, 30%); $lighter-green: lighten($old-green, 30%);
$light-green: lighten($old-green, 25%); $light-green: lighten($old-green, 25%);
$dark-green: darken($old-green, 20%); $dark-green: darken($old-green, 20%);
$orange: #F28900; $orange: #f28900;
$orange-bg: lighten($orange, 35%); $orange-bg: lighten($orange, 35%);
$yellow: #FEF3B8; $yellow: #fef3b8;
$light-yellow: #FFFFDE; $light-yellow: #ffffde;
$blue-france-700: #00006D; $blue-france-700: #00006d;
$blue-france-500: #000091; $blue-france-500: #000091;
$blue-france-400: #7F7FC8; $blue-france-400: #7f7fc8;
$g700: #383838; $g700: #383838;

View file

@ -1,4 +1,4 @@
@import "constants"; @import 'constants';
@mixin horizontal-padding($value) { @mixin horizontal-padding($value) {
padding-left: $value; padding-left: $value;
@ -22,4 +22,3 @@
background-image: image-url($image-url); background-image: image-url($image-url);
} }
} }

View file

@ -1,6 +1,6 @@
@import "colors"; @import 'colors';
@import "mixins"; @import 'mixins';
@import "constants"; @import 'constants';
%horizontal-list { %horizontal-list {
list-style-type: none; list-style-type: none;
@ -27,7 +27,8 @@
} }
} }
%container { // TODO: switch to new design with preview in two view not in two column https://github.com/betagouv/demarches-simplifiees.fr/issues/7882 %container {
// TODO: switch to new design with preview in two view not in two column https://github.com/betagouv/demarches-simplifiees.fr/issues/7882
@include horizontal-padding($default-padding); @include horizontal-padding($default-padding);
max-width: $page-width + 2 * $default-padding; max-width: $page-width + 2 * $default-padding;
margin-left: auto; margin-left: auto;

View file

@ -11,9 +11,9 @@
trix-editor { trix-editor {
min-height: 10em; min-height: 10em;
background-color: #FFFFFF; background-color: #ffffff;
} }
[data-fr-theme="dark"] .trix-button-group button { [data-fr-theme='dark'] .trix-button-group button {
background: var(--background-action-high-blue-france) !important; background: var(--background-action-high-blue-france) !important;
} }

View file

@ -1,5 +1,5 @@
@import "constants"; @import 'constants';
@import "colors"; @import 'colors';
.instructeur-wrapper { .instructeur-wrapper {
.select-instructeurs { .select-instructeurs {

View file

@ -1,5 +1,5 @@
@import "colors"; @import 'colors';
@import "constants"; @import 'constants';
#agentconnect { #agentconnect {
.agent { .agent {
@ -10,7 +10,7 @@
} }
.box { .box {
background-color: #F2F2F9; background-color: #f2f2f9;
padding: $default-padding; padding: $default-padding;
ul { ul {

View file

@ -1,4 +1,4 @@
@import "placeholders"; @import 'placeholders';
@keyframes fade-in-down { @keyframes fade-in-down {
0% { 0% {

View file

@ -1,19 +0,0 @@
@import "constants";
table.archive-table {
.text-right {
text-align: right;
}
.center {
text-align: center;
}
td {
padding: 3 * $default-spacer $default-spacer;
}
a.button {
background-image: none; // remove DSFR underline
}
}

View file

@ -1,5 +1,5 @@
@import "colors"; @import 'colors';
@import "constants"; @import 'constants';
.attachment-error, .attachment-error,
.attachment-upload-error { .attachment-upload-error {
@ -8,7 +8,7 @@
&::before { &::before {
box-shadow: inset 2px 0 0 0 var(--border-plain-error); box-shadow: inset 2px 0 0 0 var(--border-plain-error);
height: 100%; height: 100%;
content: ""; content: '';
left: -0.75rem; left: -0.75rem;
position: absolute; position: absolute;
width: 2px; width: 2px;
@ -26,7 +26,7 @@
} }
.attachment-multiple:not(.fr-downloads-group), .attachment-multiple:not(.fr-downloads-group),
.attachment-multiple.fr-downloads-group[data-controller=replace-attachment] { .attachment-multiple.fr-downloads-group[data-controller='replace-attachment'] {
ul { ul {
list-style-type: none; list-style-type: none;
padding-inline-start: 0; padding-inline-start: 0;
@ -49,9 +49,8 @@
} }
} }
.attachment-multiple.fr-downloads-group.destroyable { .attachment-multiple.fr-downloads-group.destroyable ul,
ul { ul[data-file-input-reset-target='fileList'] {
list-style-type: none; list-style-type: none;
padding-inline-start: 0; padding-inline-start: 0;
}
} }

View file

@ -1,20 +1,20 @@
@font-face { @font-face {
font-family: "Marianne"; font-family: 'Marianne';
src: url("marianne-regular.ttf"); src: url('marianne-regular.ttf');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Marianne"; font-family: 'Marianne';
src: url("marianne-bold.ttf"); src: url('marianne-bold.ttf');
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Marianne"; font-family: 'Marianne';
src: url("marianne-thin.ttf"); src: url('marianne-thin.ttf');
font-weight: 100; // weasy print n"accepte pas lighter font-weight: 100; // weasy print n"accepte pas lighter
font-style: normal; font-style: normal;
} }
@ -25,8 +25,9 @@
@bottom-center { @bottom-center {
font-size: 8pt; font-size: 8pt;
content: counter(page) " / " counter(pages); content: counter(page) ' / ' counter(pages);
margin-top: 17mm; margin-top: 17mm;
white-space: nowrap;
} }
@bottom-left { @bottom-left {
@ -41,11 +42,12 @@
flex-direction: column; flex-direction: column;
justify-content: space-between; // This will push the footer down justify-content: space-between; // This will push the footer down
max-width: 21cm; max-width: 21cm;
height: 29.7cm; min-height: 29.7cm;
padding: 17mm; padding: 17mm;
margin: 0 auto; margin: 0 auto;
background: #FFFFFF; background: #ffffff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); // Optional: for better visualization box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); // Optional: for better visualization
position: relative;
} }
} }
@ -140,13 +142,11 @@
h2 { h2 {
margin: 0; margin: 0;
line-height: 8pt;
} }
h3 { h3 {
font-size: 10pt; // same as text font-size: 10pt; // same as text
font-weight: bold; font-weight: bold;
line-height: 4pt;
} }
li p { li p {
@ -167,9 +167,31 @@
} }
} }
.footer { footer {
position: running(footer); position: running(footer);
font-size: 7pt; font-size: 7pt;
font-weight: 100; font-weight: 100;
white-space: nowrap;
@media screen {
position: absolute;
bottom: 0;
}
}
.tdc-repetition li {
margin-bottom: 5mm;
padding-left: 3mm;
dl {
display: grid;
grid-template-columns: auto 1fr;
gap: 1mm 10mm;
}
.invisible {
visibility: hidden;
height: 0;
}
} }
} }

View file

@ -1,4 +1,4 @@
@import "constants"; @import 'constants';
#attestation-edit { #attestation-edit {
.attestation-preview { .attestation-preview {
@ -20,7 +20,7 @@
min-height: 400px; min-height: 400px;
} }
.editor { .tiptap-editor {
// Visual zones // Visual zones
.header .flex-1, .header .flex-1,
h1 { h1 {
@ -63,17 +63,6 @@
li p { li p {
margin-bottom: 0; margin-bottom: 0;
} }
// Tags
.fr-menu__list {
max-height: 500px;
}
.fr-tag:not(.fr-menu .fr-tag) {
// style span rendered by tiptap like a button/link tag
color: var(--text-action-high-blue-france);
background-color: var(--background-action-low-blue-france);
}
} }
// scss-lint:disable SelectorFormat // scss-lint:disable SelectorFormat

View file

@ -1,5 +1,5 @@
@import "colors"; @import 'colors';
@import "constants"; @import 'constants';
#attestation-template-edit { #attestation-template-edit {
.text-active { .text-active {

View file

@ -1,7 +1,7 @@
@import "colors"; @import 'colors';
@import "constants"; @import 'constants';
@import "placeholders"; @import 'placeholders';
@import "mixins"; @import 'mixins';
#auth, #auth,
#agentconnect { #agentconnect {
@ -48,15 +48,15 @@
} }
.sign-in-form .form { .sign-in-form .form {
input[type="email"] { input[type='email'] {
margin-bottom: $default-spacer; margin-bottom: $default-spacer;
} }
input[type="password"] { input[type='password'] {
margin-bottom: $default-spacer; margin-bottom: $default-spacer;
} }
input[type="checkbox"] { input[type='checkbox'] {
margin-bottom: 0; margin-bottom: 0;
} }
} }

View file

@ -1,5 +1,5 @@
@import "colors"; @import 'colors';
@import "constants"; @import 'constants';
.autosave { .autosave {
position: relative; position: relative;

View file

@ -1,34 +0,0 @@
@import "colors";
@import "constants";
.badge {
padding: 0 5px;
font-size: 14px;
font-weight: bold;
text-align: center;
white-space: nowrap;
border-radius: 100px;
background-color: rgba(0, 0, 0, 0.08);
vertical-align: top;
&.baseline {
vertical-align: baseline;
}
&.warning {
background-color: $orange;
color: #FFFFFF;
}
}
.badge-group {
display: flex;
.fr-badge {
margin-right: $default-spacer;
}
.fr-badge:last-child {
margin-right: 0;
}
}

View file

@ -6,8 +6,8 @@
right: -35px; right: -35px;
transform: rotate(45deg); transform: rotate(45deg);
width: 150px; width: 150px;
background-color: #008CBA; background-color: #008cba;
color: #FFFFFF; color: #ffffff;
padding: 5px; padding: 5px;
font-size: 15px; font-size: 15px;
font-weight: 700; font-weight: 700;

View file

@ -1,6 +1,6 @@
@import "colors"; @import 'colors';
@import "constants"; @import 'constants';
@import "placeholders"; @import 'placeholders';
.button { .button {
@extend %outline; @extend %outline;
@ -11,7 +11,7 @@
border: 1px solid $border-grey; border: 1px solid $border-grey;
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 20px;
background-color: #FFFFFF; background-color: #ffffff;
color: $black; color: $black;
text-align: center; text-align: center;
-webkit-appearance: none; -webkit-appearance: none;
@ -29,7 +29,7 @@
} }
&.primary { &.primary {
color: #FFFFFF; color: #ffffff;
border-color: $blue-france-700; border-color: $blue-france-700;
background-color: $blue-france-700; background-color: $blue-france-700;
@ -41,10 +41,10 @@
&.secondary { &.secondary {
color: $blue-france-700; color: $blue-france-700;
border-color: $blue-france-700; border-color: $blue-france-700;
background-color: #FFFFFF; background-color: #ffffff;
&:hover:not(:disabled) { &:hover:not(:disabled) {
color: #FFFFFF; color: #ffffff;
background: $blue-france-700; background: $blue-france-700;
} }
} }
@ -52,10 +52,10 @@
&.danger { &.danger {
color: $black; color: $black;
border-color: $border-grey; border-color: $border-grey;
background-color: #FFFFFF; background-color: #ffffff;
&:hover:not(:disabled) { &:hover:not(:disabled) {
color: #FFFFFF; color: #ffffff;
border-color: $medium-red; border-color: $medium-red;
background-color: $medium-red; background-color: $medium-red;
@ -66,35 +66,35 @@
} }
&.accepted { &.accepted {
color: #FFFFFF; color: #ffffff;
border-color: $green; border-color: $green;
background-color: $green; background-color: $green;
&:hover:not(:disabled) { &:hover:not(:disabled) {
color: $green; color: $green;
background-color: #FFFFFF; background-color: #ffffff;
} }
} }
&.without-continuation { &.without-continuation {
color: #FFFFFF; color: #ffffff;
border-color: $black; border-color: $black;
background-color: $black; background-color: $black;
&:hover:not(:disabled) { &:hover:not(:disabled) {
color: $black; color: $black;
background-color: #FFFFFF; background-color: #ffffff;
} }
} }
&.refused { &.refused {
color: #FFFFFF; color: #ffffff;
border-color: $dark-red; border-color: $dark-red;
background-color: $dark-red; background-color: $dark-red;
&:hover:not(:disabled) { &:hover:not(:disabled) {
color: $dark-red; color: $dark-red;
background-color: #FFFFFF; background-color: #ffffff;
} }
} }
@ -151,10 +151,8 @@
.dropdown-button { .dropdown-button {
white-space: nowrap; white-space: nowrap;
&::after { [aria-hidden='true'].fr-ml-2v::after {
content: ""; content: '';
margin-left: $default-spacer;
font-weight: bold;
} }
&.icon-only { &.icon-only {
@ -174,13 +172,12 @@
} }
} }
[data-fr-theme='dark'] .dropdown-content {
[data-fr-theme="dark"] .dropdown-content {
border: none; border: none;
background: var(--background-action-low-blue-france); background: var(--background-action-low-blue-france);
} }
[data-fr-theme="dark"] .dropdown-items { [data-fr-theme='dark'] .dropdown-items {
li { li {
&:not(.inactive) { &:not(.inactive) {
&:hover, &:hover,
@ -197,7 +194,7 @@
.dropdown-content { .dropdown-content {
border: 1px solid $border-grey; border: 1px solid $border-grey;
background: #FFFFFF; background: #ffffff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
position: absolute; position: absolute;
right: 0; right: 0;
@ -243,6 +240,57 @@ ul.dropdown-items {
margin-bottom: 0; margin-bottom: 0;
} }
// Apply custom styles to DSFR fr-translate component
.fr-translate__btn.fr-btn.help-btn::before {
content: none;
}
.help-content.fr-menu ul.fr-menu__list {
--text-decoration: underline;
text-align: left;
font-size: 1rem;
@media (min-width: 62em) {
font-size: 0.875rem;
padding: 0;
width: 360px;
}
}
.help-content.fr-menu ul.fr-menu__list li {
padding: 0.75rem 1rem;
@media (min-width: 62em) {
padding-right: 1rem;
padding-left: 1rem;
}
}
.help-content.fr-menu ul.fr-menu__list li:not(:last-child) {
@media (min-width: 62em) {
border-bottom: 1px solid $border-grey;
}
}
.help-content.fr-menu ul.fr-menu__list {
h1,
p {
font-size: inherit;
line-height: inherit;
}
dd {
word-break: break-word;
}
}
.help-content a[href]:hover,
.help-content a[href]:active {
@media (hover: hover) and (pointer: fine) {
--text-decoration: none;
}
}
.dropdown-items { .dropdown-items {
li { li {
display: flex; display: flex;
@ -294,7 +342,7 @@ ul.dropdown-items {
// Make child links fill the whole clickable area // Make child links fill the whole clickable area
> a, > a,
.dropdown-items-link { .dropdown-items-link {
display: flex; display: flex;
flex-grow: 1; flex-grow: 1;
margin: -$default-padding; margin: -$default-padding;
@ -317,7 +365,7 @@ ul.dropdown-items {
} }
p + h4, p + h4,
p + p, { p + p {
margin-top: $default-spacer; margin-top: $default-spacer;
} }
} }
@ -326,7 +374,11 @@ ul.dropdown-items {
padding: 2 * $default-spacer; padding: 2 * $default-spacer;
&.large { &.large {
width: 340px; width: 90vw;
@media (min-width: 62em) {
width: 40vw;
}
} }
ul { ul {
@ -345,3 +397,7 @@ ul.dropdown-items {
content: none !important; content: none !important;
} }
} }
.back-btn {
line-height: 1.75rem;
}

View file

@ -1,8 +1,7 @@
@import "colors"; @import 'colors';
@import "constants"; @import 'constants';
[data-fr-theme='dark'] .card {
[data-fr-theme="dark"] .card {
background: none; background: none;
border: 1px solid var(--background-action-low-blue-france); border: 1px solid var(--background-action-low-blue-france);
} }
@ -11,7 +10,7 @@
padding: ($default-spacer * 3) ($default-spacer * 2); padding: ($default-spacer * 3) ($default-spacer * 2);
border: 1px solid $border-grey; border: 1px solid $border-grey;
margin-bottom: $default-spacer * 4; margin-bottom: $default-spacer * 4;
background: #FFFFFF; background: #ffffff;
.card-title { .card-title {
font-weight: bold; font-weight: bold;
@ -51,6 +50,7 @@
&.no-list { &.no-list {
ul { ul {
list-style: none !important; list-style: none !important;
padding-left: 0;
} }
} }

View file

@ -1,5 +1,5 @@
@import "colors"; @import 'colors';
@import "constants"; @import 'constants';
.fr-tile-subtitle { .fr-tile-subtitle {
min-height: 7rem; min-height: 7rem;

View file

@ -1,6 +1,4 @@
@import "colors"; @import 'colors';
@import "constants";
.areas { .areas {
margin-bottom: 10px; margin-bottom: 10px;
@ -10,60 +8,49 @@
} }
} }
.form [data-react-component-value='MapEditor'] [data-reach-combobox-input] { .ds-ctrl button {
margin-bottom: 0; color: $dark-grey;
}
.map-style-control { &.on,
position: absolute; &:hover {
bottom: 4px; background-color: rgba(0, 0, 0, 0.05);
left: 10px;
img {
width: 100%;
}
button {
padding: 0;
border: none;
cursor: pointer;
> div {
position: absolute;
bottom: 5px;
left: 5px;
}
}
.map-style-panel {
z-index: 1;
padding: $default-spacer;
margin-bottom: $default-spacer;
ul {
list-style: none;
padding: $default-spacer;
padding-bottom: 0;
margin-bottom: -$default-spacer;
label {
font-size: 12px;
font-weight: normal;
}
}
} }
} }
.cadastres-selection-control { .react-aria-popover {
z-index: 1; &[data-placement='top'] {
position: absolute; --origin: translateY(8px);
top: 135px; }
left: 10px;
button { &[data-placement='bottom'] {
&.on, --origin: translateY(-8px);
&:hover { }
background-color: rgba(0, 0, 0, 0.05);
} &[data-placement='right'] {
--origin: translateX(-8px);
}
&[data-placement='left'] {
--origin: translateX(8px);
}
&[data-entering] {
animation: popover-slide 200ms;
}
&[data-exiting] {
animation: popover-slide 200ms reverse ease-in;
}
}
@keyframes popover-slide {
from {
transform: var(--origin);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
} }
} }

View file

@ -1,5 +1,5 @@
@import "constants"; @import 'constants';
@import "colors"; @import 'colors';
table.cnaf { table.cnaf {
margin: 2 * $default-padding 0 $default-padding $default-padding; margin: 2 * $default-padding 0 $default-padding $default-padding;
@ -7,7 +7,7 @@ table.cnaf {
caption { caption {
font-weight: bold; font-weight: bold;
margin-left: - $default-padding; margin-left: -$default-padding;
margin-bottom: $default-spacer; margin-bottom: $default-spacer;
text-align: left; text-align: left;
} }

View file

@ -1,4 +1,4 @@
@import "colors"; @import 'colors';
.code-block { .code-block {
background-color: $black; background-color: $black;

View file

@ -1,5 +1,5 @@
@import "constants"; @import 'constants';
@import "colors"; @import 'colors';
.code-example { .code-example {
background-color: var(--background-contrast-grey); background-color: var(--background-contrast-grey);
@ -13,7 +13,6 @@
margin-right: auto; margin-right: auto;
padding: $default-padding; padding: $default-padding;
} }
} }
pre { pre {

View file

@ -1,4 +1,4 @@
@import "constants"; @import 'constants';
.commencer { .commencer {
@media (max-width: 62em) { @media (max-width: 62em) {

Some files were not shown because too many files have changed in this diff Show more