Feature/store document locally (#109)
* feat: add Scanner activity with file upload
* feat: First version of the local storage
* fix: Make the download work
The first version was more like a proof of concept. This commit make the download work
* style: run ktfmt
* feat: Stop crashing in case of error
* feat: implement DocumentPreview for PDFs and images
* ci: fix proguard rules for new libraries
* style: Augment enum to avoid code repetition
* refactor: Use Coroutne instead of Thread
* fix: flickering, URI cache and better scanner file format
* fix: timezone aware tests
* refactor: Extract download image code in helper function
* fix: typo in signature
* fix: preserve aspect ratio for image previews
* feat: display the PDF preview in the document list
* test: Test download button and filter of intent result
* fix: use selected travel for file upload
* fix: update the test file of DocumentList with the ListTravelViewModel
* refactor: cleanup forgotten code
* fix: small bugs introduced with merge main
* fix: small bug introduced with merge main
---------
Co-authored-by: Sylvain Nérisson <sylvain.nerisson@epfl.ch>
Co-authored-by: RemIsMyWaifuu <160653991+RemIsMyWaifuu@users.noreply.github.com>