-
Notifications
You must be signed in to change notification settings - Fork 10
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
1.10.0 #184
Conversation
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
Co-authored-by: Pierre-Yves Lapersonne <dev@pylapersonne.info>
Lokalise: Translations update
* implementing google sdk * Move dissmiss views to resetApp function * add selected type of drive connection view * add SelectSharedDrive view * mock shared drives * create drive folder view * basic implemantation of d-drive library * re-use successLoginView * navigate from select shared drive to success * final tweaks * move google signIn to next button * refactor buttonViews function in serverSelection class * move gDrive login logic to separate function * create gDrive repository and update view models * add gdrive url to TellaURL list * add isValid constraint when creating a folder in gDrive * fix hardcoded strings, add space to VStacks and overall refactor * add serverConnectinoType extension for successLoginView * add domain model for shared drives * add combine in gDriveRepository * add combine to the rest of the gDrive endpoints * remove toast if user is not authenticated * add async await for gDrive methods * implementing google sdk * basic implemantation of d-drive library * final tweaks * add isValid constraint when creating a folder in gDrive * implementing google sdk * basic implemantation of d-drive library * create folder in g-drive * save server connection * save shared drive connection and remove edit option from gDrive connection item * some fixes after rebase * refactor folder creation logic * fix rebase conflicts * disable gDrive connection if is already connected * fix rebase conflicts * fix create folder and remove token if the user remove a gDrive connection * fix issues after rebase with develop * add navbar to gDrive views * add translations * remove void from async auth function in gDrive repository * refactor sharedDriveView * move selected shared drive action to vm * add state manager to shared drive view model * add state management in create folder * move viewModelState into a separate file * fix issue in server selection * move restoreSignIn to a private method inside the repository * add no token error localization * apply DI to gDriveRepository * move mimeTypes to constants * some refactors on gDriveSeverViewModel and state management * change state management on gDriveAuthVM * change onChange for onReceive * Update Toast display * add drive to homeView * add pageView navigation inside gDriveView * add title and description to gDriveDraftView * create folder inside the root folder * fix to supports all drives * create report folder with title and description * add files to GDrive report * create unify draft view * create a general baseReportsViewModel to handle list item navigation * add isValid constraint to GDriveDraftVM * save gDrive draft report * Fix server subclassing (#165) * Fix server subclassing * Initialize allowMultiple to false * create base report class and get GDrive drafts * add gDriveList and show files saved in draft * Remove accessToken from Webserver * Create reusable report component * update and delete draft report * save outbox and submitted report * fix UI bug on connection view and merge with latest draft changes * Fix PR comments * Update report id * make report to conform with reusable report component * make gDriveViewModel to conform with reportMainViewModel * Remove unused code * refactor tellaData and fix navigation between cells * add DraftMainViewModel * add server list menu on draft view * Update Report classes * Add serverId to BaseReport * create OutboxMainVM * add GDriveOutboxVM * add submitMainViewModel and implement it on tella reports and drive reports * Update ReportFile class, Move redundant functions to DraftMainViewModel * track progress update on gDrive * show proper status of uploading * add folderId to gDriveReport * implement pause and resume * add queue to send files sequentially * persist outbox files progress * prevent duplicated files * fix no root folder error * show offline error when is not connected to internet * Centralise updateProgressInfos in OutboxMainViewModel * fix drive encoding when adding and updating drive reports * only update files when tracking progress * Remove unused code * Centralise fillReportVM function in SubmittedMainViewModel class * Refactor code to start uploading report from draft * fix duplicated files issue in shared drive and fix some bugs * remove everything related to drive server after deleting the connection * fix UI errors * change client id and add navigation fix * organize files and folder structure * add remaining localizable strings * pause submission when app enter bg mode or user exit the app * fix localizable issues * improve sign in state on GDriveAuthVM * remove environmentObjects for mainAppModel * fix wording for page component * remove BaseReportsVM * rename reportMainViewModel to ReportsMainViewModel * remove EnvironmentObject from AddFilesToDraftView * add debounceInterval to pause/resume to prevent app crashes * fix design feedback * fix localizableSettings format * remove unused error * fix connection item title and change db version * add some fixes to deleteServerTexts * fix localizable strings * change disabling button to isValid in outbox details * hotfix for large files * remove server protocol and replace print for debugLog * remove generic from draft report * remove drive report files when deleting a report * add missing localizable strings * move Components/connections to CommonConnectionReport * simplify serverArray logic in HomeView * add struct for simplifying upload file function params * add new initializer to ReportFile class * remove server from driveOutboxVM * move processing of vault files to parent method * refactor initializers in reportViewModel * fix thread issues in pause/resume * remove environmentObject * remove report initializaiton in submitReport method on tellaweb * remove isUploading from drive repository * small fix in submitReport method for google drive * convert fileURL method into an asynchronous operation * check if drive upload queue is empty before removing an item * refactor drive errors * add rest of localizable errors * add folder name to driveserver * change db version to apply folder name changes * preven duplicated folder name * Allow only one instace of Uwazi (#172) * rollback to db version 6 * remove hardcoded client id and fix logical error in server list * fix bug in uwazi card * Add TellaConfig * Refactor APIError errorMessage, remove optionnal message * Remove unused code * more fixes * update g-drive server * fix edge case in drive server connection * refactor errors in gDrive * refactor errors * parse auth drive error as APIError * remove TellaConfig * re create tella config file * add tella config to project configuration * Select server view : Fix next button action (#176) * Fix next button action * Fix next button action --------- Co-authored-by: gus valbuena <gusvalbuena@guss-MacBook-Pro.local> Co-authored-by: Dhekra Rouatbi <dhekra.rouatbi@gmail.com> Co-authored-by: gus valbuena <gusvalbuena@guss-MBP.fibertel.com.ar> Co-authored-by: rimKtarii <rim@wearehorizontal.org> Co-authored-by: dhekra-rouatbi <91288060+dhekra-rouatbi@users.noreply.github.com> Co-authored-by: Rimktarii <167132396+Rimktarii@users.noreply.github.com>
* Update GDrive ServerId * Update GDrive ReportId * Update GDrive ReportId * Update GDrive ReportId
Lokalise: Translations update
add vietnamese localization
fix primary documents issue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For more information on contributing to Tella source code, see the Contributor Guidelines.
Type of change
Description:
Select the type of change(s) made in this pull request:
Fixes #issue-number
Proposed changes