Commit graph

3301 commits

Author SHA1 Message Date
Eric Leroy-Terquem
60ff785009
refactor(type de champ): rename routable_types in simple_routable_types 2024-07-11 12:17:46 +02:00
Lisa Durand
7539d2ddea
fix specs 2024-07-10 16:11:38 +02: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
Benoit Queyron
ebea9e3818
find champ by dossier stable_id row_id 2024-07-08 16:09:29 +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
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
Paul Chavard
c17351e50a
refactor(combo): use new multicombobox 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
cb01f15570
refactor(champ): update champ commune 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
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
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
a53fc0fac9
fix(admin): invitation for experts not having an account 2024-07-02 16:15:24 +02:00
Colin Darie
5e25547b7b
fix(attestation): don't delete v1 published when building a v2 2024-07-02 14:10:23 +02:00
Paul Chavard
1bc714a81a
feat(manager): export administrators and instructeurs list 2024-07-02 11:07:39 +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
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
mfo
77bf93dfc2
feat(experts_procedures#create): link to typo errors 2024-07-01 11:01:38 +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
Eric Leroy-Terquem
0a70c6b90f
manager: add a page for demarches publiees 2024-06-28 18:20:05 +02:00
Lisa Durand
b43b06cf3e
send correct mail if invitation from instructeur 2024-06-27 17:30:36 +02:00
Lisa Durand
d7893b9102
instructeur need to confirm mail after invitation 2024-06-25 15:14:26 +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
2bb7584246
feat(administrateurs/experts_procedures#create): avoid typo on expert
list management
2024-06-25 14:04:01 +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
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
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
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
mfo
4e67255405
feat(instructeurs/procedure#show): increase dossier page size but keep request count same 2024-06-21 16:50:08 +02: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
24d7b0b014
fix(ineligibilite_rules): prevent admin to enable ineligibilite rules without rules 2024-06-20 15:35:36 +02: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
ce998f7864
feat(attestation): already published without publication when procedure is draft 2024-06-20 14:15:06 +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
11d29f5574
chore(attestation): publish a v2 attestation 2024-06-20 11:08:15 +02: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
2dda5e44f9
chore(kredis): use default shared connection name, fixing dossier index debounce 2024-06-14 11:53:36 +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
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
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
8e3d45b0b1
review(pr): some enhancement, tx @colinux
Co-Authored-By: Colin Darie <colin@darie.eu>
2024-06-11 10:48:10 +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
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
be5f580237
feat(Users/Dossiers#update): track changes live and pop modal when ineligibilite_rules matches 2024-06-11 09:32:54 +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
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
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
Paul Chavard
bf3455bbf0
fix(api): public api v1 should not inherit from api v1 2024-06-04 10:43:37 +02:00
Paul Chavard
68c15ba99f
feat(champ): add updated_by column 2024-06-03 18:45:16 +02:00
simon lehericey
72f7c1d632
Feat(SuperAdmin): super admin can unblock email 2024-05-31 16:30:22 +02:00
simon lehericey
5d259ec47b
refactor(user): rename invite! -> invite_instructeur! 2024-05-31 14:53:49 +02:00
Lisa Durand
ba8b05ed6a page MonAvis 2024-05-30 17:05:01 +02:00
Lisa Durand
06c784eb03 page api token 2024-05-30 17:05:01 +02:00
Kara Diaby
7281f3ec1a SQL pour renvoyer les zones dans ProcedureDetail 2024-05-29 11:45:31 +00: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
simon lehericey
1b734aeaed
refactor: simplify preview 2024-05-23 10:00:39 +02:00
simon lehericey
c8b3b4b45a
refactor: renaming 2024-05-23 10:00:38 +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
357c07456c
generate export with export_template 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
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
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
0581c67d6c
refactor: extract ApplicationVersion version from sentry 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
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
9af2c4f244
feat: show a simple FAQ 2024-05-16 09:35:19 +02: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
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
71c1d7ac9a
feat(brouillon): index search terms debounced when updating brouillon 2024-05-13 15:55:39 +02:00
Colin Darie
e01f5b7993
refactor(search): index search terms only when necessary 2024-05-08 10:35:04 +02:00
mfo
95de0d6239 tech(refactor): identity blocks 2024-05-06 15:56:22 +02:00
Kara Diaby
b69d8249c5 controller 2024-05-06 09:49:02 +00:00
Paul Chavard
ea42dec5a4 chore(patron): build real demarche and dossier for page patron 2024-04-23 21:56:14 +02: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
95bb09a1f8 refactor(champs): do not depend on attributes hash key in old code 2024-04-22 18:38:59 +02: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
Eric Leroy-Terquem
f02cb19fd4
feat(gallery): display pieces jointes in a gallery 2024-04-22 11:09:10 +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