demarches-normaliennes/app/lib
simon lehericey f0b0e7fd9a Switch to usage of zip unix binary to create archive. Also use a dedicated queue for DelayedJob
use dedicated archives queue

As the used disk space will increase, we want a fined grain control

move zip logic in dedicated method

zip

wip

wip

fix(spec): pass spec in green

tech(improvements): avoid File.delete(folder), favor FileUtils.remove_entry_secure which is safer. Also wrap most of code that open file within blocks so it is cleaned when the block ends. Lastly use  attachement.download to avoid big memory pressure [download in chunk, write in chunk] otherwise big file [124>1GO] are loaded in memory. what if we run multiple jobs/download in parallel ?

fix(spec): try to retry with grace

clean(procedure_archive_service_spec.rb): better retry [avoid to rewrite on open file]

lint(things): everything
2021-12-13 16:37:04 +01:00
..
active_job add the good retry_on StaleObjectError 2021-11-05 13:32:21 +01:00
active_storage Switch to usage of zip unix binary to create archive. Also use a dedicated queue for DelayedJob 2021-12-13 16:37:04 +01:00
api_address Add api address external data fetch 2021-02-17 19:10:16 +01:00
api_education Fix api education wrong data type 2021-06-08 12:25:24 +02:00
api_entreprise remove insee_api_v3 feature 2021-04-06 18:23:14 +02:00
api_geo Revert "Revert "Merge pull request #4552 from tchak/champ-communes"" 2020-01-14 18:46:07 +01:00
api_particulier feat(api particulier): add Pole Emploi adapter 2021-12-08 10:36:11 +01:00
asn1 Add poor man’s ASN1 parsing 2019-06-17 16:16:28 +02:00
database lib: add migration helpers for making a column unique 2021-04-13 18:09:59 +02:00
helpscout feat(helpscout): add a tag to messages submited through contact form 2021-12-09 11:47:13 +01:00
mailjet manager: add Mailjet emails to the sent emails list 2021-04-13 10:58:30 +02:00
pipedrive fix demandes adapter when no demandes 2020-07-07 09:24:23 +02:00
sendinblue purge old sendinblue mails 2021-08-20 08:52:39 +02:00
typhoeus/cache typhoeus: add a cache store for successful requests 2018-12-10 11:41:07 +01:00
universign Add Universign timestamp API query 2019-06-17 16:16:28 +02:00
utils Switch to usage of zip unix binary to create archive. Also use a dedicated queue for DelayedJob 2021-12-13 16:37:04 +01:00
biz_dev.rb move to only one pipedrive account 2019-08-28 12:16:25 +02:00
sent_mail.rb manager: fix SendInBlue emails 2021-04-13 10:57:26 +02:00