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
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
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
pedong
8d03a6747c
add lockable to User, Gestionnaire, administration, Administrateur
2019-07-29 17:48:44 +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
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
Nicolas Bouilleaud
ba48a1da6e
Ensure Follow dates can not be not null
...
* Add Follow.unfollowed_at
* Change the unicity constraint to gestionnaire/dossier AND unfollowed_at
2019-06-12 17:33:53 +02:00
Paul Chavard
3c4380251d
Add digest and timestamps to operation_logs
2019-05-14 14:31:03 +02:00
Pierre de La Morinerie
dd4eae7d62
admin: add a expects_multiple_submissions
property on procedures
2019-03-28 15:26:15 +01:00
simon lehericey
1644fd9059
Notification: add gestionnaire.procedures_with_email_notifications scope
2019-03-18 16:19:36 +01:00
Frederic Merizen
29a7ecb477
Remove unused column
...
The index in schema.rb is not directly related to this modification, it should
have been part of 2b763e4484
but was presumably
forgotten
2019-03-11 15:12:07 +01:00
Mathieu Magnin
2b763e4484
Add procedure_id index to type_de_piece_justificative
2019-02-27 15:45:45 +01:00
Mathieu Magnin
ff1f59a882
Add index Procedure_id on TypesDeChamp
2019-02-26 12:05:49 +01:00
simon lehericey
b9b83cca3a
use multiple trusted_device_token
2019-02-18 17:20:42 +01:00
simon lehericey
a7e068003a
[ fix #3427 ] Administration can soft delete a dossier
2019-02-14 18:09:08 +01:00
simon lehericey
cb4f843171
DossierOperationLog: add automatic operation column
2019-01-16 17:12:32 +01:00
gregoirenovel
edca75148a
Drop the now useless rna_informations table
2019-01-05 10:44:43 +01:00
gregoirenovel
0596d53ac2
Enable the Lint/UnusedBlockArgument cop
2019-01-03 10:53:50 +01:00
gregoirenovel
186e362701
Enable the Layout/SpaceInsideArrayLiteralBrackets
2019-01-03 10:53:50 +01:00
Paul Chavard
5d1c24f3d8
Add type de champ repetition models (with row)
2018-12-19 15:31:11 +01:00
gregoirenovel
8769e49e92
[ Fix #586 ] Add timestamps to tables where they were missing
2018-12-19 14:40:10 +01:00
gregoirenovel
27f4d9421f
Remove now useless carto tables
2018-12-19 10:29:11 +01:00
Paul Chavard
b927ab4568
Add user_id and gestionnaire_id to commentaires
2018-12-05 11:25:18 +01:00
Paul Chavard
fb57a07927
Add stable_id to types_de_champ
2018-11-29 11:41:13 +01:00
Paul Chavard
85e3eb04f4
Add DossierOperationLog model
2018-11-27 12:49:40 +01:00
gregoirenovel
9bff7afabb
[ Fix #233 ] Remove the champ_id column on commentaires
2018-11-22 12:44:19 +01:00
Paul Chavard
e63fd9d573
Add migrated flag to module_api_cartos
2018-11-20 10:53:14 +01:00
simon lehericey
36621bffeb
FlipFlop: enable for gestionnaire
2018-11-13 10:41:45 +01:00
simon lehericey
5690599289
Session: send a mail to confirm gestionnaire login
2018-11-13 10:41:45 +01:00
Paul Chavard
520dbc25c4
Drop procedure_paths table
2018-11-01 15:46:55 +01:00