Commit graph

15147 commits

Author SHA1 Message Date
Pierre de La Morinerie
d0723b684b
Merge pull request #7422 from betagouv/fix-patron-page
Technique : correction d'une exception sur la page /patron
2022-05-31 15:16:20 +02:00
Pierre de La Morinerie
2b90d7cc01 helpers: allow champ without persisted dossier
This fixes the /patron page. I also added an end-to-end test
to avoid breaking this page in the future.
2022-05-31 15:12:29 +02:00
mfo
854274cae3
Merge pull request #7369 from betagouv/US/ensure_current_user_is_expert_email
feat(targeted_user_link): add targeted user link to wrap expert invitation in order to avoid access issue when the expert is connected with another account
2022-05-31 14:55:26 +02:00
Martin
cb890343ff feat(targeted_user_link): add targeted user link to wrap expert invitation in order to avoid access issue when the expert is connected with another account
feat(user.merge): ensure to merge user.targeted_user_link

Update app/models/targeted_user_link.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>

Update app/models/targeted_user_link.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>

Update app/models/targeted_user_link.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>

feat(db/create_targeted_user_links): ensure not null with fk
2022-05-31 14:50:31 +02:00
Paul Chavard
bc68b29336
Merge pull request #7425 from betagouv/bump_rake
bump rake
2022-05-31 14:01:10 +02:00
simon lehericey
c5081c0a1c bump rake 2022-05-31 13:55:59 +02:00
Paul Chavard
b6b3284fba
Merge pull request #7426 from tchak/fix-clone-with-blocks
fix(revision): fix clone démarches with repetitions
2022-05-31 13:55:35 +02:00
Paul Chavard
c0a253078c fix(revision): fix clone démarches with repetitions 2022-05-31 13:28:56 +02:00
Paul Chavard
9faca4b670
Merge pull request #7362 from tchak/refactor-remove-types-de-champ
Remove TypeDeChamp#types_de_champ
2022-05-31 09:05:36 +02:00
Paul Chavard
02675a104d fix(revision): fix tests to use new revison system 2022-05-31 08:58:53 +02:00
Paul Chavard
a36672239d refactor(revision): rename find_or_clone_type_de_champ 2022-05-31 08:58:53 +02:00
Paul Chavard
6f98def288 refactor(revision): remove old code 2022-05-31 08:58:53 +02:00
Pierre de La Morinerie
721b5fd0ec
Merge pull request #7419 from betagouv/publicode-releasedate
publiccode.yml : ajout du lien vers la dernière release
2022-05-31 08:14:57 +02:00
Christophe Robillard
7a593963aa [doc] expose link to find releaseDate 2022-05-31 08:09:41 +02:00
Pierre de La Morinerie
ad89f4cfba
Merge pull request #7413 from tchak/refactor-messages-autosave
refactor(stimulus): use stimulus in message forms
2022-05-31 08:07:27 +02:00
Paul Chavard
906eea188e refactor(stimulus): use stimulus in message forms 2022-05-30 18:21:32 +02:00
mfo
8eb4cf6d51
Merge pull request #7401 from betagouv/US/fix-destroyed-claimant-email-access
fix(avis#instruction): avoid claiment(nil).email.
2022-05-30 15:46:06 +02:00
Martin
25a0daf0a2 fix(avis#instruction): use safer claiment.email with a simple helper 2022-05-30 15:42:36 +02:00
Martin
91f1fa4ffb bug(avis#instruction): fail when claimant had been destroyed during a merge 2022-05-30 15:42:36 +02:00
Kara Diaby
d140d8c263
Merge pull request #7417 from betagouv/feat/7414
ETQ Admin, lorsque j'archive une démarche, je souhaite indiquer s'il existe une nouvelle démarche
2022-05-30 15:00:01 +02:00
Kara Diaby
51b8d8f254 tests 2022-05-30 14:40:49 +02:00
Kara Diaby
4d7392e70f locales 2022-05-30 14:40:49 +02:00
Kara Diaby
ece4297214 routes 2022-05-30 14:40:49 +02:00
Kara Diaby
1c271fef83 layout 2022-05-30 14:40:49 +02:00
Kara Diaby
37272f90a0 controller 2022-05-30 14:40:49 +02:00
Kara Diaby
3b0603d290
Merge pull request #7377 from betagouv/feat/7335
ETQ Admin, lorsque je publie une démarche, je souhaite indiquer si elle en remplace une autre
2022-05-27 11:25:35 +02:00
Kara Diaby
00c6e152f5 tests 2022-05-26 12:45:05 +02:00
Kara Diaby
180a5d9ae7 locales 2022-05-26 12:45:05 +02:00
Kara Diaby
8df81b365e layout 2022-05-26 12:45:05 +02:00
Kara Diaby
36aff57f24 model 2022-05-26 12:45:05 +02:00
Kara Diaby
3c5808fe03 controller 2022-05-26 12:45:05 +02:00
Kara Diaby
0381444770 migration 2022-05-26 12:45:05 +02:00
Pierre de La Morinerie
d21896b1e3
Merge pull request #7409 from betagouv/estimated-completion-time-admin
Administrateur : affichage de la durée estimée de la démarche dans l'éditeur de champs (derrière un feature-flag)
2022-05-26 11:41:21 +02:00
Pierre de La Morinerie
c738d7d07f js: display estimated duration in champ editor 2022-05-25 21:50:49 +02:00
Pierre de La Morinerie
3bd637fc56 js: add estimateFillDuration query 2022-05-25 21:50:49 +02:00
Pierre de La Morinerie
6596ea0bab js: support payload-less requests 2022-05-25 21:50:49 +02:00
Pierre de La Morinerie
ac6ae94c93 controllers: add a TypesDeChamp#estimate_fill_duration action 2022-05-25 21:50:49 +02:00
Pierre de La Morinerie
736ef10bb3 spec: cleanup system/types_de_champ_spec.rb 2022-05-25 21:50:49 +02:00
Pierre de La Morinerie
28bc50bc56
Merge pull request #6844 from betagouv/publiccode
doc: add publiccode.yml
2022-05-25 16:24:18 +02:00
Pierre de La Morinerie
964b613066 publicode.yml: suppression des lignes vides 2022-05-25 16:17:01 +02:00
Christophe Robillard
34f570b837 doc: add publiccode.yml 2022-05-25 16:17:01 +02:00
krichtof
299e29a6e6
Merge pull request #7327 from betagouv/manager-dubious-procedures
Liste les démarches douteuses depuis le manager
2022-05-25 14:56:52 +02:00
Christophe Robillard
b6d0d1a101 remove old FindDubiousProceduresJob from delayed_job table 2022-05-25 14:44:53 +02:00
Christophe Robillard
a12ab09f8f add i18n for dubious procedures 2022-05-25 14:44:53 +02:00
Christophe Robillard
f14cd7b022 remove warning mail for dubious procedures 2022-05-25 14:44:53 +02:00
Christophe Robillard
fd98247b48 [manager] add list of dubious procedures 2022-05-25 14:44:53 +02:00
Pierre de La Morinerie
cd5ef9b202
Merge pull request #7352 from betagouv/estimated-completion-time
Usager : affichage du temps estimé pour remplir la démarche (derrière un feature flag)
2022-05-25 10:46:13 +02:00
Pierre de La Morinerie
8936461d5b app: cache the duration estimate for published procedures 2022-05-25 10:39:18 +02:00
Pierre de La Morinerie
3e91a16895 app: display estimated fill duration on procedure description 2022-05-25 10:39:15 +02:00
Pierre de La Morinerie
3b57d98692 model: add estimated_fill_duration to type_de_champ 2022-05-25 10:37:59 +02:00