-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LEIP-164] Support attachments (#289)
* Fix typo * Support NIO through desugaring * Rename Default-/FileDao to Default-/FileIOHandler * [LEIP-174] Add classes for the File table * Add database migration and set version to 19 * Add update method to FileDao * Add MeasurementStatus UPLOADING * Refactor onPerformSync to lower complexity * Rename UPLOADING state to a more precise SYNCABLE_ATTACHMENTS * Enable NIO in desugaring in remaining modules * [LEIP-176] Upload attachments * Add locationTimestamp to File table * [LEIP-179] Wrap attachments as cyf * [LEIP-182] Add file counts to meta data * Fix upload progress when continuing with later attachments * Convert CapturingPersistenceBehaviour to kotlin * [LEIP-186] Mark database operations as suspend * [LEIP-184] Add filesSize to metadata * [LEIP-185] Fix resource failed to call end * Add FileDaoTest * Fix tests after changing dao functions to suspend * Convert ProtoTest to kotlin * Add ProtoTest.testWithFileAttachments * Fix SyncPerformerTest * Add SyncPerformerTest.testSendData_withAttachments * [LEIP-181] Add SyncAdapterTest.testOnPerformSync with/out existing attachments * Upgrade Cyface dependencies to beta1 * Upload the attachments to files endpoint * Fix tests * Ignore false-positive lint errors (we use desugaring for NIO) * Update code version * Upgrade serialization and uploader to final version * Fix typo * Adjust to renamed uploader interface * Rename measurement.file to .attachment in persistence * Rename measurement.files to .attachments
- Loading branch information
Showing
63 changed files
with
3,461 additions
and
1,063 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.