Commit graph

189 commits

Author SHA1 Message Date
Frederic Merizen
7d382837d9 [Fix #2622] Change filters to proper JSONB 2018-09-24 19:39:01 +02:00
Frederic Merizen
1419e9b73f [#2622] Change sort to proper JSONB 2018-09-24 19:39:01 +02:00
Frederic Merizen
68608307ad [#2622] Change displayed_fields to proper JSONB 2018-09-24 19:39:01 +02:00
gregoirenovel
8fa3602bfc Remove a warning in the console task
Passing the environment's name as a regular
argument is deprecated and will be removed in the
next Rails version. Please, use the -e option
instead.
2018-09-23 22:29:55 +02:00
Frederic Merizen
42ca92466c [#1946] Send expiring dossier summary every month 2018-09-20 17:44:41 +02:00
gregoirenovel
2edc882a29 [Fix #1747] Add a new editorconfig lint task 2018-09-20 16:41:05 +02:00
gregoirenovel
0c9628c180 Fix some files according the the .editorconfig rules 2018-09-20 16:23:09 +02:00
gregoirenovel
516860c92e deploy_ha → deploy 2018-09-20 11:20:57 +02:00
gregoirenovel
e2b09df049 Extract the deploy_ha task in a dedicated file 2018-09-20 11:20:23 +02:00
gregoirenovel
fa2afe6820 Extract the lint task in a dedicated file 2018-09-20 11:19:55 +02:00
simon lehericey
46c29465a2 Import DB: fix location 2018-09-19 14:19:31 +02:00
Paul Chavard
7591878b89 Fix add path to procedures task 2018-09-18 18:26:54 +02:00
Paul Chavard
1cf65c1b89 Add task to fill procedures table path column 2018-09-18 13:21:18 +02:00
gregoirenovel
b5368ea72b Fix the 2018_09_12_fix_templates task 2018-09-18 10:41:55 +02:00
gregoirenovel
1b6e49b49e [Fix #2544] Add a task to fix now invalid templates 2018-09-17 17:27:40 +02:00
simon lehericey
f923881cef Support: fix task 2018-09-12 17:15:22 +02:00
simon lehericey
9612b76b85 Support: change ftap procedure 2018-09-12 15:22:26 +02:00
gregoirenovel
00ecae5f93 Procédure → Démarche 2018-09-05 15:46:24 +02:00
Frederic Merizen
580c6145d0 Migrate nutriscore dossiers from old procedure to new procedure 2018-08-29 19:40:02 +02:00
gregoirenovel
e96b6c4498 Remove now useless tasks 2018-08-28 09:56:43 +02:00
gregoirenovel
e9a262947f Migrate marks to ratings on feedbacks 2018-08-27 17:12:01 +02:00
Mathieu Magnin
db8e750f1a [ENV] Configure Api Entreprise token 2018-08-23 15:55:32 +02:00
Frederic Merizen
420f724796 [#2179] Rake task to retroactively generated denormalized search terms for Dossiers 2018-07-27 11:11:52 +02:00
Frederic Merizen
a429a38a38 Support task to delete a user account 2018-06-27 21:00:29 +02:00
Paul Chavard
b6255ba470 Fix cerfa to pj 2018-06-27 11:04:41 +02:00
Frederic Merizen
ec01194068 Rake task to remove champs with dossier_id = 0 (created by old preview) 2018-06-26 19:02:34 +02:00
Pierre de La Morinerie
956c3fe36c Replace hardcoded phone numbers by a CONTACT_PHONE constant 2018-06-25 11:51:15 +02:00
Frederic Merizen
14ef163a13 Support script to change procedure ownership 2018-06-19 12:14:17 +02:00
Mathieu Magnin
ae6e3e345e Task to unhide dossiers with instruction commencee 2018-06-19 10:05:00 +02:00
Pierre de La Morinerie
790704ef58 tasks: silence output of tasks during tests
Currently, when running specs, the output of rake tasks is spamming
the tests results.

This PR configures Rake so that it runs in quiet mode during specs. This
disables the internal messages of rake during tests.

However our own `puts` also need to be conditionned to the verbosity of
rake. Using a simple `rake_puts` helper allows the info messages to be
displayed when running the rake task manually, but not during tests.

Before:

```
$ bin/rspec spec/lib/rake
Randomized with seed 6544
1 Mails::ClosedMail to clean
cleaning Mails::ClosedMail #1
1 Mails::InitiatedMail to clean
cleaning Mails::InitiatedMail #1
1 Mails::ReceivedMail to clean
cleaning Mails::ReceivedMail #1
1 Mails::RefusedMail to clean
cleaning Mails::RefusedMail #1
1 Mails::WithoutContinuationMail to clean
cleaning Mails::WithoutContinuationMail #1
.....Champ 0/1
.Champ 0/1
.
```

After:

```
$ bin/rspec spec/lib/rake

Randomized with seed 6544
.......
```
2018-06-13 11:05:15 +02:00
Mathieu Magnin
aad109e376 Add task to scan old champs pj 2018-06-12 15:12:40 +02:00
Frederic Merizen
7c6b60bfcb Retroactively pre(?)activate users for gestionnaires and administrateurs 2018-06-08 10:49:31 +02:00
gregoirenovel
94b72eeb46 Fix a bug 2018-06-07 18:10:05 +02:00
gregoirenovel
8bd322f7b0 Fix a filename 2018-06-07 17:28:56 +02:00
gregoirenovel
d3e96b77dd Fix a bug in a task 2018-06-07 17:26:15 +02:00
gregoirenovel
96a4ebd860 Improve a task 2018-06-07 17:25:39 +02:00
gregoirenovel
4db432a4ca Remove Mailers module for app mailers 2018-06-07 17:23:12 +02:00
gregoirenovel
88aa325784 Fix a typo 2018-06-07 16:07:15 +02:00
gregoirenovel
161ad8151b Make the task name match the filename 2018-06-07 16:07:15 +02:00
gregoirenovel
478598f74c Add a task to destroy, regenerate, and send new attestations
For dossiers that were accepté, went back to
en instruction, and then were accepté again
2018-06-06 18:25:11 +02:00
gregoirenovel
bb3dcbbf22 Resend attestation for a procedure whose attestation template changed 2018-06-05 17:37:08 +02:00
Frederic Merizen
bfa601d832 [#1946] Temporarily allow legacy procedures not to have a retention time 2018-06-01 16:46:39 +02:00
simon lehericey
b998425005 Procedure: add rake task to set juridique_required to false for legacy procedures 2018-06-01 11:12:53 +02:00
gregoirenovel
23931a7591 Remove the contact_email locale 2018-06-01 00:00:11 +02:00
gregoirenovel
185f08f63e Add constants for email addresses 2018-06-01 00:00:11 +02:00
Mathieu Magnin
2f5e02c90e Do not download backup if exists 2018-05-31 13:59:16 +02:00
Frederic Merizen
44af4e95f1 [Fix #2002] Create missing accuse de reception messages 2018-05-31 12:03:50 +02:00
gregoirenovel
dc045bdefb [Fix #1808] Use &. where possible 2018-05-31 11:49:25 +02:00
Frederic Merizen
3fd0681a10 Enable compression for DB dump download 2018-05-30 15:40:35 +02:00
Paul Chavard
1e3bb352cd Convert CERFA to PJ 2018-05-29 15:00:24 +02:00