Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* kick off dropbox * navigate to success view after connecting to dropbox * some tweaks after merge conflicts * add dropbox database methods * finish server connection * fix success navigation bug * get env vars from tellaConfig file * fix typo in dropboxDatabase * change server to DropboxServer in dropboxData * add localizable and move some strings to dropbox constants * change db versions * move setupDropbox function to dropbox repository * add empty message on successConnectionButtonContent * remove unused repository vars on serverSelectionView * merge dropboxAuthVM and dropboxServerVM * merge driveServerVM and driveAuthVM * add rootViewController to UIApplication extensions * Refactor Dropbox * change environment to ObservedObject in serverSelectionView * handle result of add dropbox server * change viewModelState to bool in gDrive server * kickoff report submission * fixes after merging * add dropbox db methods * add outbox details view * add updateReportStatus to dropbox methods * test file submission * add combine to dropbox report submission * implement submitted dropbox reports * add navigate to submitDetails after dropbox submission * fix database issue * update dropbox progress bar * save dropbox folder id in report * clear cancellables during pause and resume * implement chunk submission * change submitted to pause while filtering files to upload in dropbox outboxVM * resume chunk submission * unify dropbox upload * move error handling into a separate function in dropbox submission * add APIError to dropbox repository * add logic for re authenticate dropbox account * handle multiple dropbox errors * move dropbox error methods to a separate function * some fixes on dropbox error parser * refactor upload files params * handle network loss * fix issue with duplicate folders * add error localization for dropbox * remove offset from instance vault file and use bytesSent instead * handle error on handleURLRedirect * make dropboxErrorParser an extension of APIError * remove unused offset attr * remove old comment * move report creation logic to repository * remove static method from dropbox APIError extension * fix icon when showing re-connect warning * add prefixedWithSlash extension * fix network connectivity loss * refactor dropbox submit report params * Refactor database return type and add delete submitted reports to dropbox and gDrive * Refactor uploading a report functions * Refactor the report uploading functions * Delete unused code * Refactor uploadFileInChunks * Refactor uploadFileInChunks function * Refactor uploadFileInChunks function * Refactor uploadFileInChunks function * Refactor uploadFileInChunks function * Refactor uploadFileInChunks function * Refactor uploadFileInChunks function * Fix delete submitted reports * Draft view: Fill report * Draft view: validate report * Fix pause/resume bugs * Handle pause/resume * Refactor errors * Refactor error class * Improve code * Remov double push to submitted report * Replace upload request with task / remove initial state / improve code * Fix handle network loss * Update TellaDAtabase * Move setupDropbox to AppDelegate * Move signOut action to viewmodel * Load the VaultFile to URL asynchronously * Rename functions * Draft View: Add validator/error to title * Update submitted list title and update correct dropbox icon * Delete unused error parameter * Delete unused "== true" to check boolean type * Simplify if let sentence * Fix typo * update subject in Dropbox repo * Unify delete server return type * unify pause function in DropboxRepository * rename submit methods * Fix errors * Update dropbox functions name * Delete unused folderId param in server table * Delete performSubmission function * Refactor converting Reportfile to ReportVaultFiles function * Nextcloud report : Load files asynchronously * Fix folder name error in create folder when adding a connection * Remove unused ReportFileProtocol * Fix connection expired for reports * Fix showing infiniy toast issue * remove unused code * Remove unused code * Refactor initSubmission * Moving DropboxReportFile and NextcloudReportFile to ReportFileExtension * Correct the folders references * Centralise updateCurrentFile function * Centralise updateCurrentFile function * Centralise checkAllFilesAreUploaded function * Centralise handleSubmitReportCompletion function * Delete unused code * Fix uploading a small file * Fix uploading bugs * Update submitted status instead of uploaded status * Update uploadTasks dictionary with upload task * Fix Tella web login view --------- Co-authored-by: gus valbuena <[email protected]> Co-authored-by: rimKtarii <[email protected]> Co-authored-by: Dhekra Rouatbi <[email protected]> Co-authored-by: dhekra-rouatbi <[email protected]>
- Loading branch information