Ce document en français.
The use of this software subjects you to our Terms Of Use and Data Protection Policy.
mDriveOOo is part of a Suite of LibreOffice and/or OpenOffice extensions allowing to offer you innovative services in these office suites.
This extension allows you to work in LibreOffice on your Microsoft oneDrive files, even while offline.
It uses Microsoft Graph API to synchronize your remote Microsoft oneDrive files with the help of a local HsqlDB 2.7.2 database.
This extension is seen by LibreOffice as a Content Provider responding to the URL: vnd-microsoft://*
.
Being free software I encourage you:
In short, to participate in the development of this extension. Because it is together that we can make Free Software smarter.
The mDriveOOo extension uses the OAuth2OOo extension to work.
It must therefore meet the requirement of the OAuth2OOo extension.
The mDriveOOo extension uses the jdbcDriverOOo extension to work.
It must therefore meet the requirement of the jdbcDriverOOo extension.
On Linux and macOS the Python packages used by the extension, if already installed, may come from the system and therefore may not be up to date.
To ensure that your Python packages are up to date it is recommended to use the System Info option in the extension Options accessible by:
Tools -> Options -> Internet -> mDriveOOo -> View log -> System Info
If outdated packages appear, you can update them with the command:
pip install --upgrade <package-name>
For more information see: What has been done for version 1.1.0.
It seems important that the file was not renamed when it was downloaded.
If necessary, rename it before installing it.
Install OAuth2OOo.oxt extension
You must first install this extension, if it is not already installed.
Install jdbcDriverOOo.oxt extension
You must install this extension, if it is not already installed.
Install mDriveOOo.oxt extension
Restart LibreOffice after installation.
Be careful, restarting LibreOffice may not be enough.
soffice
and using the key combination Ctrl + C
if after stopping LibreOffice, the terminal is not active (no command prompt).Open your Microsoft OneDrive:
In File -> Open enter in the first drop-down list:
or
And validate not by the Open button but by the Enter key.
If you don’t give your_email@your_provider, you will be asked for…
Anonymous Urls allow you to remain anonymous (your account does not appear in the Url) while named Urls allow you to access several accounts simultaneously.
After authorizing the OAuth2OOo application to access your Microsoft OneDrive files, your OneDrive files should appear!!! normally
LibreOffice 7.3.7.2 - Lubuntu 22.04 - Python version 3.10.12
LibreOffice 7.5.4.2(x86) - Windows 10 - Python version 3.8.16 (under Lubuntu 22.04 / VirtualBox 6.1.38)
LibreOffice 7.4.3.2(x64) - Windows 10(x64) - Python version 3.8.15 (under Lubuntu 22.04 / VirtualBox 6.1.38)
LibreOffice 24.8.0.3 (x86_64) - Windows 10(x64) - Python version 3.9.19 (under Lubuntu 22.04 / VirtualBox 6.1.38)
Does not work with OpenOffice see bug 128569. Having no solution, I encourage you to install LibreOffice.
I encourage you in case of problem
to create an issue
I will try to solve it
Integration and use of the new Hsqldb v2.5.1 system versioning.
Writing of a new Replicator interface, launched in the background (python Thread) responsible for:
Perform the necessary procedures when creating a new user (initial Pull).
Carry out pulls regularly (every ten minutes) in order to synchronize any external changes (Pull all changes).
Replicate on demand all changes to the hsqldb 2.5.1 database using system versioning (Push all changes).
Writing of a new DataBase interface, responsible for making all calls to the database.
Setting up a cache on the Identifiers, see method: _getUser(), allowing access to a Content (file or folder) without access to the database for subsequent calls.
Management of duplicate file/folder names by SQL Views: Child, Twin, Uri, and Title generating unique names if duplicates names exist.
Although this functionality is only needed for gDriveOOo, it is implemented globally…
Many other fix…
Using new scheme: vnd-microsoft:// as claimed by draft-king-vnd-urlscheme-03.txt
Creation of a Provider able to respond to the two types of Urls supported (named and anonymous).
Regular expressions (regex), declared in the UCB configuration file, are now used by OpenOffice/LibreOffice to send URLs to the appropriate ContentProvider.
Use of the new UNO struct DateTimeWithTimezone provided by the extension jdbcDriverOOo since its version 0.0.4.
Although this struct already exists in LibreOffice, its creation was necessary in order to remain compatible with OpenOffice (see Enhancement Request 128560).
The presence or absence of a trailing slash in the Url is now supported.
Implementation of the management of shared files as requested in the request for improvement, see issue 9.
The name of the shared folder can be defined before any connection in: Tools -> Options -> Internet -> mDriveOOo -> Handle shared documents in folder:
Many other fix…
The absence or obsolescence of the OAuth2OOo and/or jdbcDriverOOo extensions necessary for the proper functioning of mDriveOOo now displays an error message.
Many other things…
pip install requirements.txt
Add new language for internationalization…
Anything welcome…