statement that only support onedrive for personal currently

This commit is contained in:
fyears 2022-01-03 20:33:52 +08:00
parent 277793ccf4
commit 22bc74f4d7
2 changed files with 13 additions and 4 deletions

View File

@ -19,7 +19,7 @@ As of Jan 2022, the plugin is considered in BETA stage. **DO NOT USE IT for any
- Supports:
- Amazon S3 or S3-compatible
- Dropbox
- OneDrive
- OneDrive for personal
- Webdav
- **Obsidiain Mobile supported.** Vaults can be synced across mobile and desktop devices with the cloud service as the "broker".
- **[End-to-end encryption](./docs/encryption.md) supported.** Files would be encrypted using openssl format before being sent to the cloud **if** user specify a password.
@ -72,10 +72,11 @@ Additionally, the plugin author may occasionally visit Obsidian official forum a
- If you decide to authorize this plugin to connect to Dropbox, please go to plugin's settings, and choose Dropbox then follow the instructions.
- Password-based end-to-end encryption is also supported. But please be aware that **the vault name itself is not encrypted**.
### OneDrive
### OneDrive for personal
- **This plugin's function for OneDrive is not as mature as functions for S3.**
- **This plugin is NOT an official Microsoft / OneDrive product.** The plugin just uses Microsoft's [OneDrive's public API](https://docs.microsoft.com/en-us/onedrive/developer/rest-api).
- This plugin only works for "OneDrive for personal", and not works for "OneDrive for Business" (yet). See [#11](https://github.com/fyears/remotely-save/issues/11) to further details.
- After the authorization, the plugin can read your name and email, and read and write files in your OneDrive's `/Apps/remotely-save` folder.
- If you decide to authorize this plugin to connect to OneDrive, please go to plugin's settings, and choose OneDrive then follow the instructions.
- Password-based end-to-end encryption is also supported. But please be aware that **the vault name itself is not encrypted**.

View File

@ -157,6 +157,10 @@ export class OnedriveAuthModal extends Modal {
);
this.plugin.oauth2Info.verifier = verifier;
contentEl.createEl("p", {
text: "Currently only OneDrive for personal is supported. OneDrive for Business is NOT supported (yet).",
});
contentEl.createEl("p", {
text: "Visit the address in a browser, and follow the steps.",
});
@ -614,7 +618,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
"onedrive-hide",
this.plugin.settings.serviceType !== "onedrive"
);
onedriveDiv.createEl("h2", { text: "Remote For Onedrive" });
onedriveDiv.createEl("h2", { text: "Remote For Onedrive (for personal)" });
onedriveDiv.createEl("p", {
text: "Disclaimer: This app is NOT an official Microsoft / Onedrive product.",
cls: "onedrive-disclaimer",
@ -629,6 +633,10 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
}/${this.app.vault.getName()} on your Onedrive.`,
});
onedriveDiv.createEl("p", {
text: "Currently only OneDrive for personal is supported. OneDrive for Business is NOT supported (yet).",
});
const onedriveSelectAuthDiv = onedriveDiv.createDiv();
const onedriveAuthDiv = onedriveSelectAuthDiv.createDiv({
cls: "onedrive-auth-button-hide",
@ -829,7 +837,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
dropdown.addOption("s3", "S3 or compatible");
dropdown.addOption("dropbox", "Dropbox");
dropdown.addOption("webdav", "Webdav (beta)");
dropdown.addOption("onedrive", "OneDrive (alpha)");
dropdown.addOption("onedrive", "OneDrive for personal (alpha)");
dropdown
.setValue(this.plugin.settings.serviceType)
.onChange(async (val: SUPPORTED_SERVICES_TYPE) => {