-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
Feature Request: Support the syncing of individual business shared files #1300
Comments
@justinabrahms Now why do you get this:
This is because the 'SharedWithMe' API call returns all items shared. This client, because of the current feature, excludes files because of the way that this feature is implemented. Files were excluded because of pattern matching issues between various elements, and, to keep the feature in part in-sync with Personal Shared Folders. Is there anyway to have the user share a specific folder with you - and you sync that folder rather than an individual file? The only real way to support syncing business shared individual files at present would be to re-write the entire feature so that they are correctly supported with pattern matching between file / folder designations. This would also require a complete re-write of how the folders are stored and represented locally. This would also open up a whole host of other questions & issues - if you have a list of files, and someone shares that file with you, with the same name as someone else, what happens - conflict? overwrite? fail? something else? Additionally, the OneDrive API (and Azure AD) is, at present, broken for when a file or folder is shared with you, from someone external to your organisation. The authentication process becomes null, thus, you cannot access the file or folder - until MS fix the API / Azure AD - that cannot be supported (see: #966) |
Thanks, abraunegg. Your reasoning makes sense. My intent was a "hey, I want this feature please". I still want the feature, even if it's a pain. That said, if you wanna WONTFIX it, that's cool too. Thanks for building the tool. :)
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
* Remove legacy & unused items for Shared Business Items * Add option: --list-shared-items * Add option: --sync-shared-files
@justinabrahms , @AnthonyAnkrah Firstly I apologise for this response is a long time in coming - however this Feature Request has now been completed. Important: Before you do anything else ... please first read the updated documentation for OneDrive Business Shared Items: https://github.com/abraunegg/onedrive/blob/Implement-Feature-Request-1300/docs/business-shared-items.md The entire feature has been re-written, how it is implemented has been changed - hopefully the documentation is clear enough on how to configure this feature going forward. If you want to test the PR, please use the instructions below:
All feedback - positive or negative (or something else) is highly appreciated. To run the PR, you need to run the client from the PR build directory:
To install the PR, you will need to perform When running the PR, your version should be: |
@justinabrahms , @AnthonyAnkrah Additionally, I want to roll this into 'alpha-5' , then create a 'beta' release :) so this is potentially the last major feature change before a v2.5.0 release. All feedback , good or bad is highly welcome. |
Closing this as code has been merged into 'alpha-5' to allow continued work to progress 'alpha-5' to 'beta' status. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi. Me from #1294 which got closed (whew! Quick turn around!)
Even if I create a file at
~/.config/onedrive/sync_list
with my file name in it, it never gets pulled down.I've tried this command:
The file I want is still seemingly excluded:
I want the file. It's not syncing. Even if I specify
*
as the entry insync_list
.As best I can tell, it's being excluded in this line of code:
onedrive/src/sync.d
Line 719 in 3ea16b6
This isn't the only file that's being excluded either. There are several.
The only commonality seems to be that they are docs shared with me and they have spaces in the name.
The text was updated successfully, but these errors were encountered: