Commit graph

23900 commits

Author SHA1 Message Date
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
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