Commit graph

461 commits

Author SHA1 Message Date
Christophe Robillard
822c754581 add namespace for populate_zones task 2021-12-16 17:20:06 +01:00
Christophe Robillard
882f92268c update zone to procedures 2021-12-16 17:20:06 +01:00
Christophe Robillard
84c648eef0 manual task for populating zones 2021-12-15 19:37:32 +01:00
Paul Chavard
a5b3bc1e79 fix(task): fix scope in set_dossiers_processed_at 2021-12-07 16:15:43 +01:00
Paul Chavard
612b3bd82d fix(task): use dossier.read_attribute instead of direct read 2021-12-07 13:36:59 +01:00
Paul Chavard
5e0f8a5816 task(type_de_champ): migrate type_de_champ parent_id 2021-12-06 21:45:54 +01:00
Martin
1bb868714c fix(spec/lint/review): lint and fix spec of previous commits, also fix based on tchak feedback 2021-12-06 07:05:17 +01:00
Martin
ce87878ff0 refactor(traitement.process_expired): move process expired to procedure 2021-12-03 16:32:36 +01:00
Christophe Robillard
5b8d872b6e populate zones 2021-12-02 19:16:11 +01:00
Pierre de La Morinerie
65c1966dc2 lib: fix after_party task name 2021-11-30 15:51:25 +01:00
Pierre de La Morinerie
103502931a tasks: populate Instructeur.bypass_email_login_token again
The task was run once in April 2021, but the new features enabled since
have not been synchronized.
2021-11-30 13:41:25 +01:00
Paul Chavard
68f6c01548 task(traitements): add depose_at to existing dossiers 2021-11-25 12:57:55 +03:00
Paul Chavard
18808358f9 fix(dossiers): add processed_at to processed dossiers 2021-11-11 09:37:09 +01:00
Paul Chavard
e4317e8c7e task(dossiers): delete MAE procedures expired dossiers 2021-11-04 10:00:26 +01:00
Paul Chavard
70c33afcfe fix(avis): remove avis without dossier 2021-10-06 18:10:55 +02:00
Pierre de La Morinerie
6271c41fef i18n: add automated check for unused locales (en only)
In a next PR we'll also check for french (and thus all locales).
2021-09-21 10:44:20 -05:00
Pierre de La Morinerie
580ae1c063 i18n: add automated check for inconsistent interpolations 2021-09-21 10:44:20 -05:00
Pierre de La Morinerie
bb4512d41e tasks: add check for missing french locales to the linter
This lint will fail if any locale defined in the code doesn't have
a french localized string.
2021-09-16 07:59:19 -05:00
Pierre de La Morinerie
9741108094 lib: remove the 'migrated' key on filters
In a9a4f6e2a8, a task to migrate
ProcedurePresentation's filters was added.

This task added a "migrated: true" key to all migrated filters.

Now that this task has run, we can safely remove the extra key.

In a previous version of this commit, the migration would fail for
invalid ProcedurePresentation records. This is now fixed.
2021-08-24 08:42:22 -05:00
Pierre de La Morinerie
6475cdff7a
Revert "Suppression de la clef "migrated": true sur les filtres des ProcedurePresentation" 2021-07-23 09:26:13 +02:00
Pierre de La Morinerie
fd74d9a062 lib: remove the 'migrated' key on filters
In a9a4f6e2a8, a task to migrate
ProcedurePresentation's filters was added.

This task added a "migrated: true" key to all migrated filters.

Now that this task has run, we can safely remove the extra key.
2021-07-20 16:51:32 +02:00
Pierre de La Morinerie
38c4da2deb lib: document ProgressReport usage 2021-07-20 16:51:32 +02:00
Pierre de La Morinerie
fda59c9231 lib: remove outdated tasks 2021-07-20 15:34:31 +02:00
Christophe Robillard
55efe367bf percentile returns always an integer 2021-06-17 16:31:53 +02:00
Paul Chavard
a0d4c9d54c Fix published revisions 2021-06-03 13:11:16 +02:00
Paul Chavard
55080706ce Convert geo_areas properties to jsonb 2021-05-24 11:57:00 +02:00
Paul Chavard
109e5e74b2 Use interval string representation 2021-05-11 15:29:41 +02:00
Paul Chavard
58a90eb4a6 fix update_all query 2021-05-11 14:53:41 +02:00
Paul Chavard
4a874a282c Add progress report 2021-05-11 14:08:51 +02:00
Paul Chavard
d0fe78351e Update lib/tasks/deployment/20210429172327_rename_conservation_extension.rake
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-05-11 14:08:51 +02:00
Paul Chavard
e1b3ea122c Update lib/tasks/deployment/20210429172327_rename_conservation_extension.rake
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-05-11 14:08:51 +02:00
Paul Chavard
1e0d6ea28f Rename en_construction_conservation_extension to conservation_extension 2021-05-11 14:08:51 +02:00
Pierre de La Morinerie
77b65f3aa0 tasks: remove older after_party tasks 2021-05-06 15:19:37 +02:00
Paul Chavard
bcbfcdc537 Revert "Merge pull request #6142 from tchak/enable_brouillon_extend_conservation"
This reverts commit 48eb4d9778, reversing
changes made to 5539d5cb8c.

# Conflicts:
#	app/models/dossier.rb
#	db/schema.rb
2021-05-04 16:03:29 +02:00
Paul Chavard
88db6fb661 rename en_construction_conservation_extension in conservation_extension 2021-04-29 19:50:30 +02:00
Pierre de La Morinerie
872f6b0153 lib: add migration helpers for making a column unique 2021-04-13 18:09:59 +02:00
simon lehericey
c683fad3f3 [#6084] add after_party task to fill missing data 2021-04-13 09:59:28 +02:00
simon lehericey
dbb1acbd75 add after_party task to populate bypass_email 2021-04-13 09:43:38 +02:00
kara Diaby
fdc6521d02 After party task to backfill experts_procedure_id on avis table 2021-03-24 09:23:26 +01:00
kara Diaby
81d4db2afc backfill missing experts_procedure_id on avis table 2021-03-23 15:15:34 +01:00
kara Diaby
1c134fdf09 after party task to clean existing data on avis table 2021-03-22 15:29:28 +01:00
Pierre de La Morinerie
1cb430a87a lib: remove unused AttestationClosedMailDiscrepancyMailer 2021-03-19 07:57:56 +01:00
kara Diaby
2325023b1a after party task to fill claimant_type on avis table 2021-03-18 11:38:52 +01:00
Paul Chavard
24138f4d2f fix n+1 on remove_invalid_geometries after_party 2021-03-16 18:25:14 +01:00
Paul Chavard
c37feba8d1 Remove invalid geo areas 2021-03-11 15:51:09 +01:00
kara Diaby
53ba442235 fix after party task 2021-03-10 09:04:23 +01:00
kara Diaby
6383e6b9e7 Revert "Revert "Claimant type to avis table""
This reverts commit f4fd220d43.
2021-03-10 08:48:55 +01:00
Kara Diaby
f4fd220d43
Revert "Claimant type to avis table" 2021-03-09 13:40:10 +01:00
kara Diaby
0870ebfd90 After party backfill claimant type on avis table 2021-03-09 10:15:19 +01:00
Pierre de La Morinerie
b0735aafe0 config: fix DynamicSmtpSettingsInterceptor warning again
This warning re-appeared when running mailer tests:

```
DISABLE_SPRING=1 bin/rspec spec/mailers/administration_mailer_spec.rb
```

It is now fixed properly, in a way recommanded by the documentation.
2021-03-04 22:52:19 +01:00