Compare commits

..
9 Commits
Author SHA1 Message Date
fyears 12d09a30ef 0.1.3 2021-11-15 23:37:33 +08:00
fyears 3fdc443ecf more cors 2021-11-15 23:36:58 +08:00
fyears 0700af855d ignore more 2021-11-15 23:36:44 +08:00
fyears d3b81ca3dc 0.1.2 2021-11-15 10:06:40 +08:00
fyears 2a572fb1bd remove unusused cm 2021-11-15 10:06:10 +08:00
fyears 76f90ea375 normalize id 2021-11-15 09:56:41 +08:00
fyears d753617628 go to 0.1.0 2021-11-15 09:52:54 +08:00
fyears 69c9686ce8 bump 0.0.17 2021-11-15 01:03:57 +08:00
fyears b3e3022751 correct sources 2021-11-15 01:03:25 +08:00
6 changed files with 30 additions and 27 deletions
+20 -17
View File
@@ -1,17 +1,20 @@
# Intellij
*.iml
.idea
# npm
node_modules
package-lock.json
# build
main.js
*.js.map
# obsidian
data.json
# hidden files
.*
# Intellij
*.iml
.idea
# npm
node_modules
package-lock.json
# build
main.js
*.js.map
# obsidian
data.json
# debug
logs.txt
# hidden files
.*
+1 -1
View File
@@ -36,7 +36,7 @@ As of November 2021, the plugin is considered in BETA stage. **DO NOT USE IT for
## Usage
- Prepare your S3 (-compatible) service information: [endpoint, region](https://docs.aws.amazon.com/general/latest/gr/s3.html), [access key id, secret access key](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-your-credentials.html), bucket name. The bucket should be empty and solely for syncing a vault.
- Configure (enable) [CORS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enabling-cors-examples.html) for requests from `app://obsidian.md`. It's unfortunately required, because the plugin sends requests from a browser-like envirement.
- Configure (enable) [CORS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enabling-cors-examples.html) for requests from `app://obsidian.md` and `capacitor://localhost` and `http://localhost`. It's unfortunately required, because the plugin sends requests from a browser-like envirement. And those addresses are tested and found on desktop and ios and android.
- Download and enable this plugin.
- Enter your infomation to the settings of this plugin.
- If you want to enable end-to-end encryption, also set a password in settings. If you do not specify a password, the files and folders are synced in plain, original content to the cloud.
+2 -2
View File
@@ -1,7 +1,7 @@
{
"id": "obsidian-remotely-Save",
"id": "obsidian-remotely-save",
"name": "Remotely Save",
"version": "0.0.16",
"version": "0.1.3",
"minAppVersion": "0.12.15",
"description": "Yet another unofficial plugin allowing users to sync notes between local device and the cloud service.",
"author": "fyears",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "obsidian-remotely-save",
"version": "0.0.16",
"version": "0.1.3",
"description": "This is yet another sync plugin for Obsidian app.",
"scripts": {
"dev": "webpack --mode development --watch",
+5 -5
View File
@@ -150,10 +150,10 @@ export default class RemotelySavePlugin extends Plugin {
this.addSettingTab(new RemotelySaveSettingTab(this.app, this));
this.registerCodeMirror((cm: CodeMirror.Editor) => {
this.cm = cm;
console.log("codemirror registered.");
});
// this.registerCodeMirror((cm: CodeMirror.Editor) => {
// this.cm = cm;
// console.log("codemirror registered.");
// });
// this.registerDomEvent(document, "click", (evt: MouseEvent) => {
// console.log("click", evt);
@@ -272,7 +272,7 @@ class RemotelySaveSettingTab extends PluginSettingTab {
});
s3Div.createEl("p", {
text: "You need to configure CORS to allow requests from origin app://obsidian.md",
text: "You need to configure CORS to allow requests from origin app://obsidian.md and capacitor://localhost and http://localhost",
});
s3Div.createEl("p", {
+1 -1
View File
@@ -1,3 +1,3 @@
{
"0.0.16": "0.12.15"
"0.1.3": "0.12.15"
}