Commit graph

286 commits

Author SHA1 Message Date
Paul Chavard
84383fc3c1 Assigne admins to procedure.administrateurs 2019-02-20 17:10:57 +01:00
Mathieu Magnin
11078b7f71 Add rake task to activate publish draft 2019-02-19 17:50:11 +01:00
Mathieu Magnin
cf610bbd91
Merge branch 'dev' into enforce-rubocop-timezone 2019-02-18 17:41:41 +01:00
simon lehericey
9d92e43d8d [fix #3315] Migrate service organisme 2019-02-18 16:50:44 +01:00
Mathieu Magnin
dd27167c5d Enforce Timezone rule in Rubocop 2019-02-18 16:19:42 +01:00
Mathieu Magnin
f445d95166 Fix Macedoine 🇲🇰 2019-02-13 13:56:51 +01:00
simon lehericey
bdb529a879 remove unused force_asset_precompile during setup 2019-02-12 11:17:51 +01:00
Pierre de La Morinerie
bb1cc1eef8 tasks: delete dossiers without procedures
Fix #3279
2019-01-23 17:19:36 +01:00
simon lehericey
45db2d8e5a [#3268] Rake task to correct bad follows and logs 2019-01-21 14:17:17 +01:00
Pierre de La Morinerie
0b4c807292 tasks: prevent logs from being output to the console during tests 2019-01-08 13:51:35 +01:00
gregoirenovel
0e6db7106c admin → superadmin 2019-01-03 11:03:16 +01:00
gregoirenovel
324b65b7ad Improve the admin tasks 2019-01-03 11:02:57 +01:00
gregoirenovel
0c8b228fbf Enable the Lint/UselessAssignment cop 2019-01-03 10:53:50 +01:00
gregoirenovel
0596d53ac2 Enable the Lint/UnusedBlockArgument cop 2019-01-03 10:53:50 +01:00
gregoirenovel
baf7977786 Enable the Lint/StringConversionInInterpolation cop 2019-01-03 10:53:50 +01:00
gregoirenovel
386fbce776 Enable the Layout/SpaceBeforeBlockBraces cop 2019-01-03 10:53:50 +01:00
gregoirenovel
8b0b8162f0 Enable the Layout/SpaceAfterComma cop 2019-01-03 10:53:50 +01:00
Mathieu Magnin
908b1b71aa Task should not fail if service already exists 2018-12-20 16:57:59 +01:00
Mathieu Magnin
904d8d208b [Fix #3192] Fix data 2018-12-20 15:45:48 +01:00
Frederic Merizen
2a758d0759 [Fix #3196] Convert YAML to JSON 2018-12-19 23:17:55 +01:00
gregoirenovel
fba8d97256 Enable the Stlye/BlockDelimiters cop 2018-12-19 13:56:10 +01:00
gregoirenovel
a8f700b572 Enable the Style/FormatString cop 2018-12-19 13:56:10 +01:00
Pierre de La Morinerie
dfc5b9990d tasks: rename --libellé procédure-- to --libellé démarche-- 2018-12-19 13:37:59 +01:00
Frederic Merizen
832b4a61bc Drop CleverCloud Service for ActiveStorage 2018-12-19 10:36:02 +01:00
Frederic Merizen
97eb72a047 Cleanup: remove champ_pj feature flag 2018-12-18 11:11:23 +01:00
Frederic Merizen
57a136c861 Make champ PJ generally available 2018-12-18 11:11:23 +01:00
Frederic Merizen
c72216aafd [#2180] Batch fetch new PJ modification times
To speed up transfer
2018-12-08 15:58:32 +01:00
Frederic Merizen
270c7568fa [#2180] Avoid fetching old PJ modification times separately
Speeds up transfer
2018-12-08 15:55:40 +01:00
Frederic Merizen
7b18c51483 [#2180] Add separate notification for (slow) PJ listing 2018-12-08 15:38:45 +01:00
Frederic Merizen
84cfdcf617 [#2180] Fix edge cases for progress report 2018-12-07 16:45:14 +01:00
Frederic Merizen
8c64ab9995 [#2180] Remove dead files before fixing mime types
To avoid trying to fix the mime type of non-existing files
2018-12-07 15:30:10 +01:00
Frederic Merizen
907e87809b [#2180] Iterate over storage keys rather than blobs
To create less confusion on dev
2018-12-07 15:30:10 +01:00
Frederic Merizen
c6c8bea095 [#2180] Progress reporter that doesn't crash 2018-12-07 15:30:10 +01:00
Frederic Merizen
34bafacd49 [#2180] Transfer missing files from old to new pj storage 2018-12-05 16:27:36 +01:00
Frederic Merizen
9ceb4259b3 [#2180] Remove unused objects in new storage 2018-12-05 16:27:36 +01:00
Frederic Merizen
477af84186 [#2180] Fix MIME types 2018-12-05 16:27:36 +01:00
Frederic Merizen
045579f7ae [#2180] Empty skeleton for pj transfer cleanup task 2018-12-05 16:27:36 +01:00
Mathieu Magnin
55525af060 Add rake task to run after party with mina 2018-12-04 14:43:55 +01:00
Paul Chavard
c1a2506b01 Add stable ids to all types de champ 2018-11-29 11:41:13 +01:00
Paul Chavard
d11cef6b0c Add task to cleanup orphaned dossier_operation_logs 2018-11-28 17:10:29 +01:00
Paul Chavard
1897b2775c Remove old migration task 2018-11-27 16:11:25 +01:00
Pierre de La Morinerie
4e801b188c tasks: remove outdated footers in mail templates
Fix #1863
2018-11-27 15:32:02 +01:00
Paul Chavard
cf98e28178 Fix notifications on dossiers with migrated carto 2018-11-22 11:16:01 +01:00
Paul Chavard
44ca6a2d02 Task to migrate carto to champ carte 2018-11-20 10:53:14 +01:00
simon lehericey
7313ca0675 Rake: enable trusted_device for some gestionnaire 2018-11-13 10:41:45 +01:00
simon lehericey
2613d05a4f An admin has always a gestionnaire role 2018-11-13 10:41:45 +01:00
Paul Chavard
ebaecd1edd Fix nutriscore rake task 2018-11-08 14:45:09 +01:00
Frederic Merizen
0488c451ba Mass-process dossiers for procedure 8670 2018-11-07 15:04:34 +01:00
gregoirenovel
d0efccbd03 Remove the dev tasks, they’re now in ds-cli 2018-11-05 17:49:39 +01:00
Paul Chavard
3418419771 Remove path from archived procedures 2018-10-31 11:56:51 +01:00
Paul Chavard
78dc582588 Remove ProcedurePath 2018-10-30 12:01:45 +01:00
simon lehericey
9475795143 fix spec 2018-10-26 10:10:20 +00:00
simon lehericey
e684cec516 DateTime.new => Time.zone.local 2018-10-26 10:10:20 +00:00
simon lehericey
4b25d16f5a Time.zone.parse(_, options) => Time.zone.strptime(_, options) 2018-10-26 10:10:20 +00:00
simon lehericey
f620e4aee2 DateTime.parse => Time.zone.parse 2018-10-26 10:10:20 +00:00
simon lehericey
2238e5bd9f Time.now => Time.zone.now 2018-10-26 10:10:20 +00:00
simon lehericey
13ffa61435 DateTime.now => Time.zone.now 2018-10-26 10:10:20 +00:00
gregoirenovel
eb6132b5cb Move the setup task before the deploy task 2018-10-24 16:00:47 +02:00
gregoirenovel
916dd17873 domains_from_env → domains_for_stage 2018-10-24 16:00:07 +02:00
simon lehericey
a1d813aff4 Deploy: use fetch 2018-10-24 12:22:33 +02:00
simon lehericey
e63ba1b9cb Deploy: use domains_from_env for setup 2018-10-24 12:22:33 +02:00
simon lehericey
47697c5881 Deploy: extract domains_from_env function 2018-10-24 12:22:33 +02:00
simon lehericey
d3c74897f1 Deploy: use prod keyword for prod stage 2018-10-24 12:22:33 +02:00
simon lehericey
1433331fb5 Deploy: branch base on BRANCH var 2018-10-24 12:22:33 +02:00
simon lehericey
9ee1119656 Deploy: STAGE_NAME -> STAGE 2018-10-24 12:22:33 +02:00
simon lehericey
07ecb2509b case 2018-10-24 12:22:33 +02:00
Mathieu Magnin
8316ab8e51 When deploying read stage from environment 2018-10-24 12:22:33 +02:00
Mathieu Magnin
bffeeaf954 Configure mina for new infra 2018-10-24 12:22:33 +02:00
Frederic Merizen
bbdb446dfd [#2772] For unmigrated dossiers, make read-only access possible
and notify usager
2018-10-16 10:40:04 +02:00
Frederic Merizen
1e4ccda14c [#2772] Notify users that their dossier was restored 2018-10-16 10:40:04 +02:00
Frederic Merizen
3283cb1ae7 [#2772] Allow per-migrated-dossier callback 2018-10-16 10:40:04 +02:00
Frederic Merizen
bc22c97501 [#2772] Restore deleted dossiers for neph procedure 2018-10-16 10:40:04 +02:00
Frederic Merizen
f236e31c29 [#2772] Restore deleted dossiers for candidats libres procedure 2018-10-16 10:40:04 +02:00
Frederic Merizen
ecfacf8417 [#2772] Avoid touching champ update date 2018-10-16 10:40:04 +02:00
Frederic Merizen
1d0ce21555 [#2772] Migrate pieces justificatives 2018-10-16 10:40:04 +02:00
Frederic Merizen
840b049cdb [#2772] Allow untranslatable dossiers to be skipped 2018-10-16 10:40:04 +02:00
Frederic Merizen
dfe7f2cc45 [#2772] Also migrate private champs 2018-10-16 10:40:04 +02:00
Frederic Merizen
f7fcf46f0d [#2772] Avoid overriding initialize in subclasses 2018-10-16 10:40:04 +02:00
Frederic Merizen
6a3f7438d5 [#2772] Let migrator instantiate mapping from provided class 2018-10-16 10:40:04 +02:00
Frederic Merizen
968ccce7f0 [#2772] Move method to champ class 2018-10-16 10:40:04 +02:00
Frederic Merizen
11bd342897 [#2772] Helper methods can now be private 2018-10-16 10:40:04 +02:00
Frederic Merizen
55dfba68a3 [#2772] Extract method 2018-10-16 10:40:04 +02:00
gregoirenovel
9ba8b2da92 Remove all InviteGestionnaires 2018-10-10 10:29:08 +02:00
Frederic Merizen
88487bda6e Rake task to allow mass transfer of ownership 2018-10-10 05:36:28 +02:00
Frederic Merizen
5915449353 Add diagnostic message 2018-10-10 05:23:51 +02:00
Frederic Merizen
1a644a5159 mail -> email 2018-10-10 05:23:51 +02:00
simon lehericey
e5a1e8c95a Mailjet: i'm loving it 2018-10-09 17:53:14 +02:00
Frederic Merizen
8b9f1b1096 Support task to change a user's email 2018-10-06 14:17:39 +02:00
Frederic Merizen
da2333ca3e Rake task to change siret number 2018-10-06 13:49:01 +02:00
gregoirenovel
826117bcb4 Migrate now obsolete displayed fields, filters and sorts 2018-10-04 13:54:07 +02:00
gregoirenovel
c91a1cf474 Enable Style/SymbolArray 2018-10-03 12:15:48 +02:00
gregoirenovel
d9d4f6fe20 Enable Style/SymbolProc 2018-10-03 12:15:48 +02:00
gregoirenovel
6eeba14885 Enable Style/WordArray 2018-10-03 12:03:21 +02:00
gregoirenovel
1f4ef0074f Enable Style/ZeroLengthPredicate 2018-10-03 12:00:17 +02:00
simon lehericey
29e40fa061 [fix #2696] Rake: add task to fill empty instruction_at 2018-09-27 15:02:38 +02:00
simon lehericey
84abfa209c Api Token: encrypt current tokens 2018-09-27 10:14:32 +02:00
Frederic Merizen
3681cead81 Fix cosmétique 2018-09-25 15:00:06 +02:00
Frederic Merizen
9beaa293cd [#1421] Use delegation rather than STI for TypeDeChamp 2018-09-25 08:26:56 +02:00
Frederic Merizen
a48ffef9dc [#2613] Clean up procedure presentation with entreprise table 2018-09-24 20:19:26 +02:00
Frederic Merizen
7d382837d9 [Fix #2622] Change filters to proper JSONB 2018-09-24 19:39:01 +02:00