Eric Leroy-Terquem
bbb3823212
db(routing): remove routing criteria name column
2023-08-02 18:25:37 +02:00
Paul Chavard
e9cb50d09c
feat(api): add last_authenticated_at timestamp to api requests
2023-08-02 13:22:18 +02:00
Paul Chavard
fd24f283de
chore(schema): update timestamp
2023-08-02 11:43:30 +02:00
Colin Darie
f2afe5008f
chore(schema): remove dossier_corrections#kind, replaced in 5998cf
2023-07-27 16:31:48 +02:00
Colin Darie
5998cfe31f
refactor(correction): rename kind => reason with default correction => incorrect
2023-07-21 16:45:47 +02:00
Paul Chavard
573954c45f
feat(postgis): enable postgis
2023-07-18 18:01:29 +02:00
Eric Leroy-Terquem
5f5714678c
feat(DossierAsignment): create model
2023-07-18 16:54:00 +02:00
simon lehericey
c130f80a7d
feat(user): add blocket_at and block_reason columns
2023-07-18 13:46:27 +02:00
Colin Darie
1c977c72bf
chore(schema): +dossier_corrections#kind
2023-07-11 10:01:48 +02:00
Colin Darie
c3480f550d
chore(schema): +dossiers#sva_svr_decision_on, sva_svr_decision_triggered_at
2023-07-11 10:01:46 +02:00
Colin Darie
bb4a6e22ce
chore(schema): +procedures#sva_svr
2023-07-11 10:01:45 +02:00
Paul Chavard
a43c3fd19d
feat(procedure): add lien_notice_error and lien_dpo_error
2023-07-06 10:27:43 +02:00
Martin
5f8fce7997
amelioration(dossier.indexes): lors de sa suppression, un dossier nullifie les autre parent_dossier_id ayant son id. ça fait que la suppression des dossiers [ds le cas des expires] est LENT [3s pr executer la requete de nullification en dev]
2023-06-26 15:51:26 +02:00
Colin Darie
e1146eaa98
chore(schema): fix missing procedures#description_pj added in 9338a7
2023-06-22 23:12:07 +02:00
Colin Darie
d41d69d167
fix(schema): missing column addition declaration in ce1429b
2023-06-19 23:59:06 +02:00
Colin Darie
f34f4f23b0
Merge pull request #9127 from colinux/fix-schema-missing-column
...
ETQ dev fix colonne manquante dans schema.rb
2023-06-05 15:40:17 +00:00
Colin Darie
2c79ca94f5
chore(schema): create dossier_corrections
2023-06-02 16:13:15 +02:00
Colin Darie
15401749f5
fix(schema): missing procedures#description_target_audience introduced in 7340206
2023-06-02 12:31:39 +02:00
Christophe Robillard
34540d34e9
create default_zones_administrateurs
2023-05-16 09:40:53 +02:00
Christophe Robillard
a191f66508
add tchap hs to zone
2023-05-16 09:40:53 +02:00
Paul Chavard
025bd5beaf
feat(dossier): dossier can be forked for editing
2023-05-09 15:34:10 +02:00
Colin Darie
6616acb825
chore(super-admin): update devise-two-factor v5 with otp_secret encrypted attribute
2023-05-03 11:35:32 +02:00
Colin Darie
109504d9be
chore(schema): sync schema with production options
2023-05-03 11:35:31 +02:00
Colin Darie
42c1e32909
chore(schema): missing foreign key declarations
2023-05-03 11:35:31 +02:00
Colin Darie
7597d898a6
chore(schema): fix precision option for datetime columns
2023-05-03 11:35:31 +02:00
Nicolas Cavigneaux
5ee60cbb0c
chore: update and default initializer for Rails 7
2023-05-03 11:35:29 +02:00
Eric Leroy-Terquem
cade677355
feat(db): add defaut_groupe_instructeur_id column to procedures
2023-04-13 10:36:42 +02:00
Martin
a859bd0fbf
chore(données): supprime la table drop_down_lists
qui est inutilisée
2023-03-31 16:36:06 +02:00
Eric Leroy-Terquem
3ef6adccd6
feat(db): add routing column to groupe_instructeurs
2023-03-30 10:51:20 +02:00
Kara Diaby
ba8d78bd97
migration
2023-03-27 13:38:22 +02:00
Lisa Durand
a4a99a72ec
first step to add question in experts avis
2023-03-16 11:32:05 +01:00
Paul Chavard
64f79bb6d8
feat(api_token): add allowed_procedure_ids to api tokens
2023-03-15 19:09:49 +01:00
Christophe Robillard
bd92291f8a
cache dossiers count
2023-02-21 10:06:07 +01:00
Martin
b0a757a89d
chore(db): supprime un index non utilisé
2023-02-20 11:47:14 +01:00
Martin
514835af1c
correctif(db): force active_storage_attachments.blob fk on active_storage_blobs
2023-02-16 16:02:14 +01:00
sebastiencarceles
5417d3adea
add external id index to champs
2023-02-07 12:04:49 +01:00
Martin
2de9026c13
amelioration(dolist_api): forward le message_id afin de faciliter les investigations
2023-02-03 17:19:36 +01:00
Colin Darie
eb9cd90ee8
chore(schema): +procedure#estimated_duration_visible
2023-02-01 11:02:55 +01:00
Eric Leroy-Terquem
1b67f93c66
feat(avis): add reminded_at field to avis
2023-01-30 11:13:23 +01:00
Paul Chavard
dad393355b
chore(db): remove unused columns
2023-01-17 12:49:22 +01:00
Martin
3e6b82ed9e
amelioration(safe_mailer): ajoute au manager la fonction pour configurer le routage des mails sur un fournisseur unique
...
Update app/mailers/devise_user_mailer.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-01-11 17:32:24 +01:00
Martin
2f43ffc940
data(safe_mailer): ajout d'un object permetant d'orienter les mails vers un unique fournisseur au cas ou l'autre soit down
2023-01-11 17:13:05 +01:00
simon lehericey
bd3fbbce49
add schema and annotation
2023-01-11 11:19:24 +01:00
Paul Chavard
af33d5d65c
refactor(repetition): use row_id instead of row
2023-01-10 19:31:41 +01:00
Colin Darie
07167cead9
chore(schema): create email_events
2023-01-10 16:07:35 +01:00
Paul Chavard
dfe65136be
refactor(repetition): add row_id to champs
2023-01-05 18:04:54 +01:00
Paul Chavard
378f3c5fb0
use join table instead of arrays
2023-01-05 16:20:18 +01:00
Paul Chavard
6e18090fb3
refactor(virus_scan_result): use column instead of metadata on blob
2023-01-04 12:12:11 +01:00
Paul Chavard
d469bca0ae
refactor(watermark): use column instead of metadata on blob
2023-01-04 12:07:08 +01:00
Sébastien Carceles
20136b7ac8
feat(demarche): create and prefill a dossier with POST request ( #8233 )
...
* add base controller for public api
* add dossiers controller with basic checks
* create the dossier
* ensure content-type is json
* prefill dossier with given values
* mark a dossier as prefilled
When a dossier is prefilled, it's allowed not to have a user.
Plus, we add a secure token to the dossier, which we will need later to set a
user after sign in / sign up.
* set user as owner of an orphan prefilled dossier
When a visitor comes from the dossier_url answered by the public api,
the dossier is orphan:
- when the user is already authenticated: they become the owner
- when the user is not authenticated: they can sign in / sign up / france_connect
and then they become the owner
So here is the procedure:
- allow to sign in / sign up / france connect when user is unauthenticated
- set dossier ownership when the dossier is orphan
- check dossier ownership when the dossier is not
- redirect to brouillon path when user is signed in and owner
* mark the dossier as prefilled when it's prefilled
(even with a GET request, because it will be useful later on, for
exmample in order to cleanup the unused prefilled dossiers)
* system spec: prefilling dossier with post request
2023-01-03 14:46:10 +01:00