Mathieu Magnin
5c45754341
Merge pull request #11156 from demarches-simplifiees/fix-current-user-triggers-authentication
...
Tech : Correction d'un comportement étrange sur la connexion par email / mot de passe
2024-12-19 16:03:48 +00:00
Mathieu Magnin
cfb7dcbb51
Override current_user by checking if a user is already authenticated to avoid triggering authentication if it is not the case https://github.com/heartcombo/devise/issues/5602\#issuecomment-1876164084
2024-12-19 12:02:28 +01:00
simon lehericey
9fff0087a9
fix: an invite cannot submit a fork (server side)
2024-12-19 11:05:44 +01:00
simon lehericey
6e8e5a82b1
refactor: remove forbid_invite_submission!
...
submit_brouillon is only allowed for owner, so
- submit_brouillon is removed from ACTIONS_ALLOWED_TO_OWNER_OR_INVITE
- now that ensure_ownership! is trigger for a invite submit, the now duplicate forbid_invite_submission is removed
2024-12-19 10:22:44 +01:00
Mathieu Magnin
6e1a3b73ea
Merge pull request #11137 from demarches-simplifiees/fix-10952
...
ETQ Instructeur avec un compte en beta.gouv.fr ou modernisation.gouv.fr je suis automatiquement redirigé vers une connexion ProConnect
2024-12-17 16:00:40 +00:00
Colin Darie
009e426c31
fix(dossier): show ineligibilite message on update
2024-12-17 11:38:49 +01:00
Mathieu Magnin
9e03f94085
[ #10952 ] Tests
2024-12-12 15:45:14 +01:00
Paul Chavard
56b0b156bf
refactor(champs): update specs
2024-12-09 10:06:13 +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
Paul Chavard
1f5dd3bd02
refactor(dossier): cleanup user controller
2024-11-26 14:30:23 +01:00
Paul Chavard
7a39267473
refactor(spec): champs_* -> project_champs_*
2024-10-04 12:29:50 +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
simon lehericey
cd2d772cd0
feature(agent_connect_2fa): add intermediate pages to improve UX
2024-09-18 14:40:11 +02:00
Lisa Durand
0b0e47b7cd
change passwords in specs
2024-09-16 15:28: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
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
Mathieu Magnin
d1749c2baf
[ #10754 ] verify email when using login token
2024-09-06 14:56:44 +02:00
Mathieu Magnin
9e843a3df4
[ #10752 ] set email verified after password reset
2024-09-06 12:06:05 +02:00
simon lehericey
6677f31652
use path_rewrite in commencer controller
2024-08-29 17:01:40 +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
Lisa Durand
fae81d0a58
fix test
2024-08-22 12:09:29 +02:00
Colin Darie
77fb0553fc
chore: enable freeze string literals by comment
2024-08-22 09:26:48 +02:00
Colin Darie
a6554aa7bf
fix(users): don't expose email of accounts already confirmed
2024-07-29 12:07:02 +02:00
Corinne Durrmeyer
c4afbfcbf1
Update spec files
2024-07-25 12:24:25 +02:00
Paul Chavard
229483d16c
refactor(champ): remove type_de_champ_id and champ factories
2024-07-22 13:53:45 +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
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
Colin Darie
f40b71f450
test(type_de_champ): mandatory by default, like schema
2024-07-01 17:00:49 +02: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
be5f580237
feat(Users/Dossiers#update): track changes live and pop modal when ineligibilite_rules matches
2024-06-11 09:32:54 +02: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
simon lehericey
1cf9535bea
feat(User): verify mandat email during creation
2024-05-27 17:24:56 +02:00
Paul Chavard
1bca3c123b
chore(dossier): remove legacy update attributes
2024-05-27 10:33:37 +02:00
Christophe Robillard
357c07456c
generate export with export_template
2024-05-23 10:00:34 +02:00
Colin Darie
71c1d7ac9a
feat(brouillon): index search terms debounced when updating brouillon
2024-05-13 15:55:39 +02:00
Paul Chavard
1021a31f7b
refactor(dossier): use update_champs_private and update_champs_public methods
2024-04-22 13:55:02 +02:00
Colin Darie
3c7018fd31
fix: don't set preferred domain on signup/signin unless feature is enabled
2024-04-09 10:04:18 +02:00
LeSim
22830fd7f6
Merge pull request #10275 from demarches-simplifiees/fix_api_entreprise_status
...
Tech: corrige le mécanisme de surveillance des fournisseurs d entreprise.api.gouv.fr
2024-04-08 08:08:38 +00:00
simon lehericey
e82a8787d5
dirty fix: avoid changing preferred domain
2024-04-05 15:26:12 +02:00
simon lehericey
e994738a2e
add and use api_insee_up?
2024-04-05 12:26:44 +02:00
Colin Darie
f768801b7d
feat(registration): set preferred host on signup/signin
2024-03-21 13:15:36 +01:00
simon lehericey
759d729bf3
use AC autoconf discovery end_session_endpoint
2024-03-19 21:17:44 +01:00
simon lehericey
dca3727253
proper agent connect logout mechanism
2024-03-18 14:02:53 +01:00
Kara Diaby
30df608a99
tests
2024-03-18 11:50:29 +00:00
Colin Darie
ee92668611
Merge pull request #9930 from demarches-simplifiees/add-external-link-to-procedure
...
ETQ admin lorsque je clos une démarche je peux alerter les usagers et je crée une page de fermeture si la démarche n'est pas redirigée dans DS
2024-03-12 15:03:30 +00:00
Colin Darie
0d2f5547e0
Merge pull request #10076 from mfo/US/fix-expert-dossier-export
...
correctif(Export.export): ETQ expert téléchargeant un dossier et toutes ses PJs, la messagerie n'est pas dans l'export quand la procedure ne l'autorise pas. L'export ne contient pas les annotations privées
2024-03-12 14:09:48 +00:00
Eric Leroy-Terquem
d800213920
feat(procedure): add closing details page
2024-03-11 15:48:28 +01:00
Martin
0e54ca314d
bug(rebase): rebase a dossier when its repetition had been removed on newer version of published_revision crashes
2024-03-08 15:46:11 +01:00