diff --git a/README.md b/README.md index 31d69d3..05b10bd 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The plugin is based on https://web.hypothes.is/, but modified to store the annot ## Getting Started Add the property `annotation-target` to the frontmatter of your obsidian note, with a value corresponding to the location of the EPUB/PDF file. -The location can either be a file in the vault (such as `Pdfs/mypdf.pdf`)), or online (such as `https://arxiv.org/pdf/2104.13478.pdf`) +The location can either be a file in the vault (such as `Pdfs/mypdf.pdf`), or online (such as `https://arxiv.org/pdf/2104.13478.pdf`) Then you can, in the open note pane, select "more options" (the three dots in the top right), and a new option "annotate" should be available. @@ -36,7 +36,7 @@ Minor edits to PREFIX, HIGHLIGHT, and POSTFIX are typically ok. But if the edits The COMMENT region can be freely edited. (but ensure that it is still part of the quote block.) -The TAGS region should consist of a comma-separated list of hypothesis tags. +The TAGS region should consist of a comma-separated list of obsidian tags. (like `#tag1, #tag2, #tag3`) ### Dark Mode @@ -59,6 +59,14 @@ You can make a [pull request](https://github.com/elias-sundqvist/obsidian-annota ## Changelog +### 0.0.6 (2021-08-30) *`file:` protocol support, various url fixes, privacy improvements, minor fixes* +* Fixed so that no initial http request is made to the hypothes.is servers. +* Hypothes.is performance trackers removed. +* No more error messages from the websocket api. +* The stored annotations no longer reference the sample pdf url, since that confused some users. (See issue #7) +* Initial support for `file:` protocol links added. (Has not been tested much yet.) +* The placeholder staus bar text has been removed (See issue #17) + ### 0.0.5 (2021-08-26) *Fixed EPUB bug, minor file restructuring* * The files necessary for the epub reader were `.gitignore`d, which prevented it from working in the previous releases. (See issue #6) * The code files has been moved to the `src` directiory so that the repo looks a bit less messy. diff --git a/manifest.json b/manifest.json index f22581b..2078bab 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-annotator", "name": "Annotator", - "version": "0.0.5", + "version": "0.0.6", "minAppVersion": "0.9.12", "description": "This is a sample plugin for Obsidian. It allows you to open and annotate PDF and EPUB files.", "author": "Obsidian", diff --git a/package.json b/package.json index e113bcb..50ae12e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-annotator", - "version": "0.0.5", + "version": "0.0.6", "description": "This is a sample plugin for Obsidian (https://obsidian.md)", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 570ba0e..da5c934 100644 --- a/versions.json +++ b/versions.json @@ -3,5 +3,6 @@ "0.0.2": "0.9.12", "0.0.3": "0.9.12", "0.0.4": "0.9.12", - "0.0.5": "0.9.12" + "0.0.5": "0.9.12", + "0.0.6": "0.9.12" } diff --git a/yarn.lock b/yarn.lock index be703f0..07762b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1642,6 +1642,13 @@ mkdirp@^0.5.0, mkdirp@^0.5.3: dependencies: minimist "^1.2.5" +mock-websocket@^0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/mock-websocket/-/mock-websocket-0.0.7.tgz#eba3fb000207bfdf37dbf266669187ad7dffd52d" + integrity sha512-msBc5kX1yIL8E/oMSFY2oTAWb2l3Wo6wYtXdvIY5fxP6925gIaiYOCKqGUK+ybQE59Z0m4Tv0uEpBU6BvH5q5Q== + dependencies: + url-parse "^1.4.4" + moment@2.29.1: version "2.29.1" resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" @@ -1927,6 +1934,11 @@ punycode@^2.1.0: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== +querystringify@^2.1.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" + integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== + queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" @@ -2034,6 +2046,11 @@ require-from-string@^2.0.2: resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== +requires-port@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" + integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= + resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" @@ -2074,6 +2091,11 @@ rimraf@^3.0.2: dependencies: glob "^7.1.3" +rollup-plugin-analyzer@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-analyzer/-/rollup-plugin-analyzer-4.0.0.tgz#96b757ed64a098b59d72f085319e68cdd86d5798" + integrity sha512-LL9GEt3bkXp6Wa19SNR5MWcvHNMvuTFYg+eYBZN2OIFhSWN+pEJUQXEKu5BsOeABob3x9PDaLKW7w5iOJnsESQ== + rollup-plugin-base64@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/rollup-plugin-base64/-/rollup-plugin-base64-1.0.1.tgz#b3529b94d23baeb66e1e3bffd04477fa792985eb" @@ -2444,7 +2466,7 @@ type-fest@^0.20.2: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== -typescript@^4.2.4: +typescript@4.2.4: version "4.2.4" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961" integrity sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg== @@ -2471,6 +2493,14 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" +url-parse@^1.4.4: + version "1.5.3" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.3.tgz#71c1303d38fb6639ade183c2992c8cc0686df862" + integrity sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ== + dependencies: + querystringify "^2.1.1" + requires-port "^1.0.0" + util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"