Bug 62437

Summary: OneDrive Integration Request
Product: LibreOffice Reporter: rover0069
Component: LibreofficeAssignee: Mihai Varga <mihai.mv13>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium CC: bfo.bugmail, jorendc, librelegal, LibreOffice, lo_bugs, philipz85, ribotb, vmiklos
Version: 4.4.0.0.beta1   
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=62769
Whiteboard: BSA
i915 platform: i915 features:

Description rover0069 2013-03-17 14:15:53 UTC
Problem description: I would like to see integration with Microsoft SkyDrive

Steps to reproduce:
1. ....
2. ....
3. ....

Current behavior:
I can save and open Files locally on the system
Expected behavior:
I would like to be able to save and open files directly from MS SkyDrive, this would be particularly usful for Portable versions and Linux versions of LibreOffice
              
Operating System: Windows 8
Version: 4.0.1.2 release
Comment 1 Jorendc 2013-04-08 19:43:27 UTC
Hi,

Thanks for reporting.
This is also mentioned on the GSoC (Google summer of code) idea page https://wiki.documentfoundation.org/Development/Gsoc/Ideas#Connection_to_SharePoint_and.2For_Google_Drive_and.2For_Microsoft_SkyDrive 
Therefore it is a valid request (mark it as NEW).

Kind regards,
Joren
Comment 2 bfoman 2014-06-20 20:42:45 UTC
Service renamed.
Comment 3 Jay Philips 2014-09-25 23:20:54 UTC
As part of GSoC 2014, Mihai Varga has been working on OneDrive and Sharepoint 2013 integration, though it doesnt seem to be merged yet into the latest master build. More details can be found at http://mihai-varga.github.io/
Comment 4 Luc 2014-11-24 08:36:08 UTC
The release notes of 4.4 mention OneDrive access should be integrated.
However OneDrive cannot be found in the File->Open dialog.
The screenshots of Mihai cannot be found in the 4.4 executable.
http://mihai-varga.github.io/. The release notes and content of 4.4 do not match.
Comment 5 Mihai Varga 2014-11-24 15:26:27 UTC
This feature has not yet been merged into master because the OneDrive connection is not robust enough, because of the way the Microsoft authentication page is created (it requires javascript to load) the authentication on the libcmis side is not entirely automatic. As you will see, you will be prompted to visit an URL in the browser and retrieve an authentication code from there.

So in order to make the OneDrive connection work you need to do the following:

1. Have a Microsoft web application or create one here https://account.live.com/developers/applications/index

2. Apply the patches I've made here [under Mihai Varga (mihai.mv13@gmail.com)] http://cgit.freedesktop.org/libreoffice/core/log/?h=feature/gsoc14-libcmis2

3. You can set here the client ID and client secret  http://cgit.freedesktop.org/libreoffice/core/commit/?h=feature/gsoc14-libcmis2&id=002f33224802da1820f3152a030833b11ec77a9b or you can set it at compile time

4. Checkout the latest version of libcmis http://sourceforge.net/p/libcmis/code/ci/master/tree/ , archive it in a tar.gz and rename the archive by adding it's MD5 hash in front
something like  22f8a85daf4a012180322e1f52a7563b-libcmis-0.4.1.tar.gz (this is the older version) and replace the old one

5. Update the reference to the tarball here http://cgit.freedesktop.org/libreoffice/core/tree/download.lst#n24

I hope this helps.
Comment 6 Julien Nabet 2014-12-02 21:22:15 UTC
*** Bug 86528 has been marked as a duplicate of this bug. ***
Comment 7 Miklos Vajna 2014-12-16 08:36:39 UTC
I've merged feature/gsoc14-libcmis2 to master and libreoffice-4-4.
Comment 8 Mike §chinagl 2014-12-20 22:52:06 UTC
This bug fix comes with LibreOffice 4.4 (release notes https://wiki.documentfoundation.org/ReleaseNotes/4.4) 

It is possible to connect to OneDrive directly from LibreOffice. blog entry (Mihai Varga, 2014)
Comment 9 Mateusz 2015-01-18 08:33:50 UTC
Hey

I checked LO 4.4 RC2 ( Build ID: a3603970151a6ae2596acd62b70112f4d376b990 ) and there is no OneDrive connection. Is this feature rejected?
Comment 10 Mihai Varga 2015-01-19 13:48:43 UTC
Hi Mateusz,

I'm afraid LO 4.4 RC2 has not yet been configured with a OneDrive application. That is, no OneDrive client_id or client_secret has been provided during configuration. 

The only solution for now is to create an OneDrive application and manually build LO.
Comment 11 Mateusz 2015-01-19 22:04:33 UTC
What a pity! Can users expect that this feature will completed at the time of release of LO 4.4?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.