Commit graph

778 commits

Author SHA1 Message Date
simon lehericey
c1171cfd8b add id_token to instructeur
We use instructeur to store the id_token as the instructeur may have (in the migration and in the future) multiple agent connect information
2024-03-18 14:02:52 +01:00
Kara Diaby
09d479321b corrections après retours 2024-03-18 11:50:29 +00:00
Kara Diaby
e9fab486fb migration 2024-03-18 11:50:29 +00:00
Paul Chavard
8abe3fce79 add stable_id and stream 2024-03-18 11:34:55 +01:00
Martin
41eb906d86 Revert "Merge pull request #10121 from mfo/US/rails-pg-extra"
This reverts commit f0053af54f, reversing
changes made to ca413a1035.
2024-03-18 11:20:14 +01:00
mfo
f0053af54f
Merge pull request #10121 from mfo/US/rails-pg-extra
tech(rails-pg-extras): add rails pg extra
2024-03-15 16:15:51 +00:00
simon lehericey
277ac1259a feat(file retrieval): create agent connect information 2024-03-15 14:35:14 +01:00
Martin
dacbcdc8bc tech(rails-pg-extras): add rails pg extra 2024-03-15 08:19:45 +01:00
Eric Leroy-Terquem
c147d9b36c db(migration): add closing notifications to procedure 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
6651b36fe4 db(migration): add closing_reason and closing_details to procedure 2024-03-07 19:00:46 +01:00
Eric Leroy-Terquem
1f0e2030be db(migration): add procedure_id to bulk_messages 2024-02-28 16:07:27 +01:00
Colin Darie
28d414a19d chore(schema): fix api_tokens#expires_at position 2024-02-19 09:29:41 +01:00
Colin Darie
aa7d3a7656
chore(schema): migrate flipper value string to text 2024-02-19 09:28:26 +01:00
Martin
72a3f6e89c refactor(export/archives): holds user profile asking for the archive or export 2024-02-16 11:23:38 +01:00
mfo
4dfb3b86ef
Merge pull request #10000 from mfo/US/groupe-instructeur-manageable-for-routee-procedure
ETQ administrateur, je peux gerer la liste des instructeurs même si le routage est activé sur ma démarche
2024-02-16 09:26:06 +00:00
Martin
c719a42f8a feat(procedure.instructeurs_self_management_enabled): backfill instructeurs_self_management_enabled since routing_enabled is not one of the option conditionning it 2024-02-16 10:08:36 +01:00
seb-by-ouidou
fba3cbe331 feat: as gestionnaire, contact gestionnaire of parent groupe 2024-02-13 11:19:52 +01:00
Colin Darie
6ab3fa1cf4
fix(rubocop): Rails/RedundantActiveRecordAllMethod 2024-02-12 09:33:18 +01:00
Colin Darie
0da2843f26
fix(rubocop): Rails/FindEach 2024-02-12 09:33:17 +01:00
Colin Darie
70e92f7c6b
Merge pull request #9903 from colinux/attestation-ux
ETQ admin, je peux tester l'attestation v2
2024-02-06 08:09:53 +00:00
Colin Darie
6945e34a4a fix(schema): resync columns options for commentaires 2024-02-02 14:58:00 +01:00
seb-by-ouidou
46c19014f9 feat: notify administrateur and gestionnaire by email when new commentaire + for administrateur highlight card and commentaires if any unread 2024-02-02 12:52:36 +01:00
Colin Darie
1123222b36
chore(schema): add version to attestation_templates 2024-01-31 17:03:59 +01:00
Colin Darie
1c3254755d
chore(schema): add official layout to attestation templates 2024-01-31 17:03:55 +01:00
Colin Darie
e05565fe52
chore(schema): add label_logo label_direction to attestation_templates 2024-01-31 17:03:45 +01:00
Kara Diaby
46748091a6 Permet au Support de marquer une démarche comme modèle et de filtrer dans toutes les démarches 2024-01-31 09:30:14 +00:00
Kara Diaby
7f37be71bd migration 2024-01-31 09:30:14 +00:00
seb-by-ouidou
6cd8b6d2df feat: for gestionnaire highlight card and commentaires if any unread 2024-01-29 18:23:39 +01:00
simon lehericey
1b2601f32c add expiration_notices_sent_at [date] column to api_token 2024-01-26 10:08:36 +01:00
simon lehericey
28e4e1be2e features(api): add expires_at to api_token 2024-01-25 10:51:58 +01:00
simon lehericey
352924ed52 features(api): add ip_ranges to api_tokens 2024-01-25 10:51:58 +01:00
seb-by-ouidou
a6ca4b668e feat: answer message to administrateur as gestionnaire 2024-01-22 14:36:38 +01:00
simon lehericey
90f145e17a add email_merge_token to france connect information 2024-01-11 11:33:38 +01:00
seb-by-ouidou
c45e2eaccc feat: write message to gestionnaires as administrateur 2024-01-09 13:25:04 +01:00
simon lehericey
b127f13515 feature(api): add stored_ips column 2023-12-21 16:01:10 +01:00
Kara Diaby
6ced107403 Migration 2023-12-12 22:35:11 +00:00
Christophe Robillard
116ba085bf add from_support column to dossier_transfer_logs 2023-11-28 12:17:03 +01:00
Christophe Robillard
dc22f245de add from_support column to dossier_transfer 2023-11-28 11:57:28 +01:00
Colin Darie
e3a1192d96 fix(migration): mismatch rails version definition 2023-11-20 11:22:28 +01:00
Colin Darie
34788bc800 fix(schema): add missing index administrateurs#groupe_gestionnaire_id 2023-11-20 11:22:28 +01:00
Colin Darie
bb4a2b84b9 fix(schema): add missing index exports#instructeur_id 2023-11-20 11:22:28 +01:00
Colin Darie
79c6b99802 fix(schema): remove foreign keys and index references but not existing in production 2023-11-20 11:22:24 +01:00
Colin Darie
d5f8ee2f84 fix(schema): update and fix schema with new rails 7 precision behavior 2023-11-20 11:16:57 +01:00
Martin
e99f9b5c17 amelioration(data): ajoute un index sur users.last_signed_in_at 2023-11-17 11:33:14 +01:00
Martin
b08609af48 tech(users.inactive_close_to_expiration_notice_sent_at): ajoute une colonne pour suivre la date de notification avant suppression du compte usager inactif 2023-11-17 11:33:14 +01:00
simon lehericey
f6b10731d3 add json_body to attestation template 2023-11-15 10:35:16 +01:00
Colin Darie
06a8684bfd chore(schema): dossiers#for_procedure_preview not nullable 2023-11-10 15:41:30 +01:00
Kara Diaby
f692a9e5e4 Migration : re_instructed_at à Dossier et ajoute le re_instructed_mails 2023-11-10 08:46:13 +00:00
mfo
b61fa88fe0
Merge pull request #9621 from mfo/US/type-de-champs-ej
amelioration(chorus): ETQ admin, je peux ajouter un type de champ EngagementJuridique
2023-11-09 14:40:49 +00:00
mfo
87c3615774 review(tech): utilise un code unique pr les elements de l'autocomplete, corrections de typos, amelioration du code
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-11-09 11:10:17 +01:00
Colin Darie
3ac1688fe4
chore(schema): add announces_seen_at to users 2023-11-08 18:23:14 +01:00
Colin Darie
ff8ed6016e
feat(announce): super admin can create announce 2023-11-08 18:22:11 +01:00
Colin Darie
0d626f1811
chore(schema): create release_notes 2023-11-08 18:20:00 +01:00
krichtof
a6ea607e7a
Merge pull request #9566 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_children_management
Feature ouidou/admin creation delegation gestionnaire page children management
2023-11-08 15:13:10 +00:00
Paul Chavard
d93c624164 feat(traitement): add browser information 2023-11-08 00:09:38 +01:00
seb-by-ouidou
78c487d512 fix: add schema modification 2023-10-26 11:39:46 +00:00
seb-by-ouidou
528c51cb5e feat: US4.3.9 children management 2023-10-26 10:46:18 +00:00
Christophe Robillard
2b061dc2aa add departement_to_services migration 2023-10-25 18:41:03 +02:00
mfo
ebea269f79
Merge pull request #9420 from mfo/US/chorus-tile
amelioration(tuile.chorus): ETQ admin, je peux saisir le cadre budgetaire d'une demarche de subvention pour faciliter le rapprochement d'un export DS a un export Chorus
2023-10-24 12:57:26 +00:00
Martin
d8f50700fc tech(model.procedure): ajoute une a la table procedures la colonne chorus (jsonb) 2023-10-19 07:14:27 +02:00
Paul Chavard
7a01889563 use maintenance tasks gem 2023-10-10 15:11:08 +02:00
Colin Darie
b11495a7a6
chore(schema): fixup failed migrations, ensure exports->instructeurs foreign key exists 2023-10-10 11:00:27 +02:00
simon lehericey
360de43b7f fix linter 2023-10-10 10:06:19 +02:00
Martin
28c5a5b790 correctif(deploy): separe les migration d'ajout de colonne et de reference 2023-10-09 16:42:04 +02:00
Colin Darie
760005de35
chore(schema): add dossiers_count & instructeur_id to exports 2023-10-09 11:23:12 +02:00
seb-by-ouidou
44b4b5d0ab feat: rename admins_group_manager to gestionnaire 2023-10-03 13:51:57 +02:00
seb-by-ouidou
e2f792b44b FEAT: init admins group 2023-10-03 13:51:57 +02:00
Colin Darie
de7d60e18e
chore(schema): remove exports unicity constraint
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 15:23:28 +02:00
seb-by-ouidou
d29bbf6d4f
Merge branch 'main' into feature-ouidou/existing_procedure_hidden_as_template 2023-09-21 15:53:38 +02:00
seb-by-ouidou
0d2cd0fe5d feat(procedure): hide as template 2023-09-19 11:21:27 +00:00
Christophe Robillard
46dec40543 add contact information model 2023-09-08 11:04:06 +02:00
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
Eric Leroy-Terquem
cdbaf987c0 db(routing): remove migrated champ routage columns 2023-08-01 16:59:22 +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
735c504c0f fix(postgis): do not try to create postgis extension if it is already created or it is disabled 2023-07-18 18:01:29 +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
Lisa Durand
9338a73362 add possibility to override generated pj list by admin 2023-06-22 09:50:38 +02:00
Colin Darie
d41d69d167 fix(schema): missing column addition declaration in ce1429b 2023-06-19 23:59:06 +02:00
Eric Leroy-Terquem
ce1429b850 migration : add forced_group_instructeur_to_dossier 2023-06-15 14:14:47 +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
a03f8b2ea4 fix(schema): dossier_corrections foreign keys in separate migration 2023-06-05 12:42:06 +02:00
Colin Darie
ec37611807
fix(schema): drop drop_down_lists migration not reversible 2023-06-02 16:16:15 +02:00
Colin Darie
5ab44fc7a9
chore: rename dossier_resolution => dossier_correction 2023-06-02 16:16:14 +02: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
Lisa Durand
a20ec44841
Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description
[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
2023-05-30 09:45:32 +00:00
Lisa Durand
7340206f81 rollback - add just one new field and use actual description field 2023-05-24 11:31:24 +02:00
Lisa Durand
4a51a9a351 add two more fields for procedure description what et and for_who 2023-05-22 15:36:48 +02:00
Christophe Robillard
34540d34e9 create default_zones_administrateurs 2023-05-16 09:40:53 +02:00