Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FireflyIII Importer: Adds support for server-side import #402

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

PokePango
Copy link
Contributor

Description

This pull request allows user to import CSV files from the server.

By default, the importer allows users to import CSV using the web interface. This interface doesn't surface big CSV files because of a 600 seconds processing limitation. This limitation doesn't exists from the server side, procedure is explained in the following documentation: https://docs.firefly-iii.org/how-to/data-importer/import/automated/

Config and transactions files need to be copied in /opt/fireflyiii/import directory.

New functionalities:

  • Added env variable IMPORT_DIR_ALLOWLIST=/import
  • Added directory /opt/fireflyiii/import
  • Added volume /opt/fireflyiii/import:/import.

How Has This Been Tested?

  • Ran sb install sandbox-fireflyiii_importer and sandbox-fireflyiii
  • Copied a .CSV file containing a high number of transactions (over 5000) in /opt/filreflyiii/import
  • Copied a .JSON config file
  • Successfully executed the import (over 1 hour of duration): docker exec -it fireflyiii-importer php artisan importer:import /import/xxx.json /import/xxx.csv

@owine owine merged commit 35e54b2 into saltyorg:master Dec 1, 2024
183 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants