Commit graph

371 commits

Author SHA1 Message Date
Christophe Robillard
82af0e4db8 supprime la colonne email des administrateurs 2020-02-17 15:01:40 +01:00
kara Diaby
0b8a59d5e9 Add the possibility to disable weekly email notifications (instructeur) && rename the column email_notifications_enabled to daily_email_notification_enabled 2020-02-12 13:02:31 +00:00
Christophe Robillard
7bb298722f remove unique constraint on admin emails 2020-02-04 16:21:42 +01:00
Paul Chavard
04ad829e3f Add canonical_procedure_id to procedures 2020-01-28 12:49:53 +01:00
Paul Chavard
fa2eea81aa Cleanup demarche archivee state 2020-01-07 11:13:42 +01:00
simon lehericey
d0939ae1a4 Add Export Model 2019-12-18 13:13:15 +01:00
simon lehericey
3afdf9e9ac Remove unused column 2019-12-11 17:07:26 +01:00
Paul Chavard
4a614f6f4f Add unpublished_at to procedures 2019-12-04 16:37:37 +01:00
simon lehericey
a79abfac79 Add brouillon_close_to_expiration_notice_sent_at column to Dossier 2019-12-03 17:18:53 +01:00
Paul Chavard
0d6675a2ae Fix schema timestamp 2019-11-28 18:22:06 +01:00
Paul Chavard
b29b6176c9 Add closed_at to procedures table 2019-11-28 16:07:14 +01:00
Paul Chavard
556ec351f3 Drop email on instructeurs 2019-11-13 15:38:44 +01:00
Pierre de La Morinerie
f8358b3ae9 instructeurs: create without providing the email 2019-11-04 10:44:24 +01:00
simon lehericey
c6513318b8 Revert "DB: drop active column from adminsitrateurs table"
This reverts commit 2cb8041560.
2019-10-28 14:59:58 +01:00
simon lehericey
2cb8041560 DB: drop active column from adminsitrateurs table 2019-10-24 18:32:48 +02:00
simon lehericey
7a922f46b2 Migration: add defaut value to routing critéria 2019-10-23 21:48:08 +02:00
clemkeirua
43424e4f4e merge with the work of paul, using 3 links 2019-10-22 09:51:14 +02:00
simon lehericey
6389a29f60 Add procedure routing criteria name 2019-10-16 10:30:55 +02:00
Nicolas Bouilleaud
780e157190 Add indexes to Dossier.state, Dossier.archived, Follow.unfollowed_at
We make a ton of queries on these attributes (for example in /procedures#index and /procedures#show). I think it should help.
2019-09-25 14:10:00 +02:00
Nicolas Bouilleaud
e9c6ed80e4 Migration: Index and make Procedure.path nonnull 2019-09-17 16:30:48 +02:00
Paul Chavard
8e44172e59 Remove unused columns and tables 2019-09-17 15:39:15 +02:00
Nicolas Bouilleaud
661b80777d Replace old migrations with a single “recreate_structure”
* copy-paste the description from schema.rb,
 * without the `force: :cascade` options (that drops the tables before recreating them).
* create a new migration with it
* give it the same timestamp as the last deleted migration, so that it exists in the schema_migration table and it is not run in production.
* (Also got rid of some stray changes in schema.rb for mon_avis and unconfirmed_email)
* Run rake db:migrate and make sure nothing moves
2019-09-16 14:44:37 +02:00
Paul Chavard
65e227c44b Migrate to flipper 2019-09-10 16:10:14 +02:00
simon lehericey
3cc8f0c792 Link Dossier and GroupeInstructeur 2019-09-03 06:47:02 +02:00
simon lehericey
97884c4349 Link AssignTo et GroupeInstructeur 2019-09-02 11:41:12 +02:00
simon lehericey
f296318072 Create GroupeInstructeur 2019-09-02 11:41:12 +02:00
simon lehericey
9fc63d923f Fix seeds.rb 2019-08-14 16:34:50 +02:00
simon lehericey
81f44fa76b Link user and administrateur 2019-08-14 15:06:15 +02:00
simon lehericey
dd4ffb926c Link user and instructeur 2019-08-13 15:15:16 +02:00
Nicolas Bouilleaud
17579ab8a5 Rename Gestionnaire to Instructeur in seeds.rb 2019-08-13 14:04:23 +02:00
simon lehericey
c681806f8d Rename gestionnaires to instructeurs in db 2019-08-12 13:47:01 +02:00
Pierre de La Morinerie
befee0ea57 Drop types_de_piece_justificative and pieces_justificatives tables
Now that the content of these tables has been migrated, we can drop
them.
2019-08-01 12:21:25 +02:00
Paul Chavard
6f3fde21f2
Merge pull request #4139 from Keirua/fix/confirm-on-delete-champ
#4137 - Ajout d'un confirm à la suppression d'un champ
2019-07-31 12:31:44 +02:00
pedong
5921da9397 add schema.rb updated 2019-07-29 17:48:44 +02:00
pedong
8d03a6747c add lockable to User, Gestionnaire, administration, Administrateur 2019-07-29 17:48:44 +02:00
Nicolas Bouilleaud
d06e2cd25f Fix schema.rb description after #4116
Always run migrations in the PR :)
2019-07-29 11:41:15 +02:00
clemkeirua
12f1a29b68 update tests 2019-07-25 11:13:30 +02:00
pedong
0f957ec77b [fixe #3974] add message for invite mail 2019-07-23 18:54:58 +02:00
clemkeirua
6d43465ee5 renammed into monavis_embed 2019-07-17 18:04:32 +02:00
clemkeirua
d8b63cd4c9 added 'monavis' inside the procedure and for users 2019-07-17 18:04:32 +02:00
Pierre de La Morinerie
2c8d953bb9 db: fix missing update to schema.rb 2019-07-11 16:45:32 +02:00
Pierre de La Morinerie
619f663e1a procedure: remove individual_with_siret column 2019-07-11 15:57:46 +02:00
Pierre de La Morinerie
a047ee356b procedure: remove expects_multiple_submissions column 2019-07-11 15:57:46 +02:00
simon lehericey
0f9fdf3f75 Activate device email change confirmation 2019-07-09 11:55:17 +02:00
Nicolas Bouilleaud
4d73275bab Drop Procedure.administrateur_id 2019-07-04 17:01:12 +02:00
Mathieu Magnin
b34f8fbe3d Add ActionText 2019-07-03 13:15:49 +02:00
Paul Chavard
46c1bbbc6f Official support for declarative demarches 2019-07-02 14:12:26 +02:00
simon lehericey
92bd382c64 [fix #4008] secured login for all gestionnaires 2019-07-01 15:06:39 +02:00
Nicolas Bouilleaud
f355f849a6 Add BillSignature Model 2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
be4c575622 Add Follow.unfollowed_at
The active scopes is used indirectly in the dossier<->gestionnaire associations: the existing tests in dossier and gestionnaire just work™.
2019-06-12 17:33:53 +02:00