Compare commits

..
5 Commits
Author SHA1 Message Date
fyears 5acd1551c9 change wording 2022-02-27 21:48:28 +08:00
fyears ef2c45a11d to 0.3.1 2022-02-27 21:45:38 +08:00
fyears c1771bb117 use arraybuffer instead of uint8array 2022-02-27 21:45:00 +08:00
fyears ddb86745dd add tmpl for fr 2022-02-27 21:14:20 +08:00
fyears 971719b710 add issue tmpl 2022-02-27 21:09:05 +08:00
11 changed files with 111 additions and 8 deletions
+65
View File
@@ -0,0 +1,65 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: dropdown
id: os
attributes:
label: What OS are you using?
multiple: true
options:
- Windows
- Linux
- macOS
- iOS (iPhone, iPad)
- Android
validations:
required: true
- type: dropdown
id: service
attributes:
label: What remote cloud services are you using?
multiple: true
options:
- S3
- OneDrive for personal
- Dropbox
- webdav
- others
validations:
required: true
- type: input
id: version-plugin
attributes:
label: Version of the plugin
description: What version of the plugin are you running?
validations:
required: false
- type: input
id: version-obsidian
attributes:
label: Version of Obsidian
description: What version of Obsidian are you running?
validations:
required: false
- type: checkboxes
id: ensure-no-sensitive-information
attributes:
label: Ensure no sensitive information
description: By submitting this issue, you ensure that no sensitive information is submitted in the issue.
options:
- label: I ensure that no sensitive information is submitted in the issue.
required: true
+1
View File
@@ -0,0 +1 @@
blank_issues_enabled: false
@@ -0,0 +1,37 @@
name: Feature Request
description: Some idea about new features
title: "[Feature Request]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-are-you-expecting
attributes:
label: What feature are you suggesting?
description: What feature are you suggesting?
validations:
required: true
- type: dropdown
id: service
attributes:
label: What remote cloud services are you using, or suggesting adding the feature to?
multiple: true
options:
- S3
- OneDrive for personal
- Dropbox
- webdav
- others
validations:
required: false
- type: checkboxes
id: ensure-no-sensitive-information
attributes:
label: Ensure no sensitive information
description: By submitting this issue, you ensure that no sensitive information is submitted in the issue.
options:
- label: I ensure that no sensitive information is submitted in the issue.
required: true
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"id": "remotely-save", "id": "remotely-save",
"name": "Remotely Save", "name": "Remotely Save",
"version": "0.3.0", "version": "0.3.1",
"minAppVersion": "0.12.15", "minAppVersion": "0.12.15",
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.", "description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
"author": "fyears", "author": "fyears",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "remotely-save", "name": "remotely-save",
"version": "0.3.0", "version": "0.3.1",
"description": "This is yet another sync plugin for Obsidian app.", "description": "This is yet another sync plugin for Obsidian app.",
"scripts": { "scripts": {
"dev2": "node esbuild.config.mjs", "dev2": "node esbuild.config.mjs",
+1 -1
View File
@@ -456,7 +456,7 @@ export const uploadToRemote = async (
let localContent = undefined; let localContent = undefined;
if (uploadRaw) { if (uploadRaw) {
if (typeof rawContent === "string") { if (typeof rawContent === "string") {
localContent = new TextEncoder().encode(rawContent); localContent = new TextEncoder().encode(rawContent).buffer;
} else { } else {
localContent = rawContent; localContent = rawContent;
} }
+1 -1
View File
@@ -690,7 +690,7 @@ export const uploadToRemote = async (
let localContent = undefined; let localContent = undefined;
if (uploadRaw) { if (uploadRaw) {
if (typeof rawContent === "string") { if (typeof rawContent === "string") {
localContent = new TextEncoder().encode(rawContent); localContent = new TextEncoder().encode(rawContent).buffer;
} else { } else {
localContent = rawContent; localContent = rawContent;
} }
+1 -1
View File
@@ -141,7 +141,7 @@ export const uploadToRemote = async (
let localContent = undefined; let localContent = undefined;
if (uploadRaw) { if (uploadRaw) {
if (typeof rawContent === "string") { if (typeof rawContent === "string") {
localContent = new TextEncoder().encode(rawContent); localContent = new TextEncoder().encode(rawContent).buffer;
} else { } else {
localContent = rawContent; localContent = rawContent;
} }
+1 -1
View File
@@ -182,7 +182,7 @@ export const uploadToRemote = async (
let localContent = undefined; let localContent = undefined;
if (uploadRaw) { if (uploadRaw) {
if (typeof rawContent === "string") { if (typeof rawContent === "string") {
localContent = new TextEncoder().encode(rawContent); localContent = new TextEncoder().encode(rawContent).buffer;
} else { } else {
localContent = rawContent; localContent = rawContent;
} }
+1 -1
View File
@@ -20,7 +20,7 @@ export class SyncAlgoV2Modal extends Modal {
const texts = [ const texts = [
"Welcome to use Remotely Save!", "Welcome to use Remotely Save!",
"From this version 0.3.0, a new algorithm has been developed, but it needs uploading extra meta data files _remotely-save-metadata-on-remote.{json,bin} to YOUR configured cloud destinations, besides your notes.", "From version 0.3.0, a new algorithm has been developed, but it needs uploading extra meta data files _remotely-save-metadata-on-remote.{json,bin} to YOUR configured cloud destinations, besides your notes.",
"So that, for example, the second device can know that what files/folders have been deleted on the first device by reading those files.", "So that, for example, the second device can know that what files/folders have been deleted on the first device by reading those files.",
+1 -1
View File
@@ -1,3 +1,3 @@
{ {
"0.3.0": "0.12.15" "0.3.1": "0.12.15"
} }