Commit graph

383 commits

Author SHA1 Message Date
Christophe Robillard
969478b706 Envoie une notif aux followers_instructeurs le souhaitant
après chaque message déposé par l'usager
2020-04-09 14:17:07 +02:00
Paul Chavard
273cb8a8ff Add default to en_construction_conservation_extension 2020-03-26 13:03:26 +01:00
Paul Chavard
e60597aa30 Do not add default to en_construction_conservation_extension 2020-03-26 11:46:27 +01:00
clemkeirua
dadbcd7ede add dossier_construction_conservation_extension column 2020-03-24 18:10:51 +01:00
Paul Chavard
9243ae69df Add reason to DeletedDossier
# Conflicts:
#	db/schema.rb
2020-03-24 09:30:11 +01:00
Pierre de La Morinerie
6b83998e28 db: fix diff in schema.rb 2020-03-19 16:34:40 +01:00
Paul Chavard
7930bf8bf6 Add en_construction_close_to_expiration_notice_sent_at column 2020-03-18 15:25:02 +01:00
maatinito
cb6386eb3a database seed: administrateur no longer have email field 2020-03-17 17:03:34 -10:00
Christophe Robillard
91abcd7792 récupère les infos d'établissement avec infos non diffusables 2020-03-17 15:57:02 +00:00
Christophe Robillard
924702699f highlight routing criteria label when updated 2020-03-04 14:56:59 +01:00
kara Diaby
4a70a7fcc8 remove email_notifications_enabled column because of the new daily_email_notifications_enabled 2020-02-27 11:09:19 +01:00
kara Diaby
5dc5230791 Step1 : add new column to Assign_tos and make sure that the data is saved on form submit 2020-02-20 16:14:56 +01:00
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