-
-
Notifications
You must be signed in to change notification settings - Fork 867
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
Implement OneDrive Business Shared Folders Support (Issue #459) #473
Conversation
abraunegg
commented
Apr 23, 2019
- Initial work on supporting OneDrive Business Shared Folders
* Inital work on supporting OneDrive Business Shared Folders
How to configure
What has been tested
What is not working yet |
* Handle local deletes where item resides on a different drive id
* Update --single-directory handling for OneDrive Business Shared Folders * Update debugging output * Update logging output as to why a 'change' was discarded * Fix bug where 'item path' contains 'syncFolderChildPath' would always be true as bad isItemRemote test was being used as qualifier
Further testing
|
@norbusan |
* Add readme on how to configure * Code cleanup
* Update shared folders readme * Fix crash when 5xx error is received when getDefaultRoot() is called * Update Business Shared Folder logic to handle when a local directory already exists but not synced * Update Business Shared Folder logic to handle namespace conflicts (2 different users sharing the same folder name)
* Update Business Shared Folder logic when handling existing items * Update readme
* Make codacy happy
* Some shared folders dont detail who it is shared by - not good for conflict resolution
* validate that parent reference id also exists before using
* add logic to look for shared folders where the shared folder is not the root folder being shared with us
* clean up merge
* update last ditch effort to match this onedrive shared folder
* Update to handle feature via config file
@norbusan
|
* Update documentation
* If sync_list contains a comment line, exclude this from sync_list processing * If business_shared_folders contains a comment line, exclude this from business_shared_folders processing
} | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The very same code appears in line 3481, and maybe other places, can we get rid of these duplications? (Not necessary for this PR, but could be a separate ;-) )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the comments I made, I haven't found anything suspicious by reading the code for now.
If you are content with your real-life testing please go ahead, otherwise send be credentials for a business account and a I will test, too.
* Update from 'master' and resolve conflicts
* Only scan the database using the unique list of drive ID's to avoid multiple DB queries if drive ID is present multiple times
* Update Makefile based on change in filename
* Merge 'master' and resolve conflicts
* Update functions to match codin style
* Update how entries are added to driveIDsArray to ensure they are unique
* Update logging output to reflect the correct path based on what is actually shared, not the full underlying parent path
* code simplification
* PR logging tweaks
* Add known issue details of an API issue which prevents shared folders from outside an organisation being configured to sync, as the API does not provide them in the API response.
* Update documentation
* Add response error handling for graphQuery
* Use right URL
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |