Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: upgrading pdf.js to 2.4.456 chore: upgrading electron to 9.0.3 feat: automatic rotation of JPG according to EXIF now native in chrome 81

Ilian Sapundshiev9dbcd42de7c8
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 62f6d8f47..b9a33acfb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,7 +17,7 @@
- 🌟 updating Greek and French translations
- 🌟 upgrading to Electron 7.3.0
- πŸ› fixing long file extension in grid perspective row view
-- πŸ› fix renaming files from dialog #1134 [#1021](https://github.com/tagspaces/tagspaces/issues/1021)
+- πŸ› fix renaming files from dialog [#1134](https://github.com/tagspaces/tagspaces/issues/1134)
- πŸ› disabling drag and drop from cloud to local location and vice versa
- πŸ› fix opening directory in file manager on Windows
- πŸ› correcting the way of tagging for custom data tag [#1124](https://github.com/tagspaces/tagspaces/issues/1124)
@@ -30,7 +30,7 @@
- 🌟 global search with mix of local and cloud locations
- πŸ› fix uploading file to s3 from windows
- πŸ› fix handling object storage on windows
-- πŸ› fix collecting tags from current location #1111
+- πŸ› fix collecting tags from current location [#1111](https://github.com/tagspaces/tagspaces/issues/1111)
- πŸ› various issues with the global search, removing duplicates from the global search results
## Version 3.5.2 / 2020.04.19
diff --git a/app/services/electron-io.ts b/app/services/electron-io.ts
index f973ee809..a646cc6a1 100644
--- a/app/services/electron-io.ts
+++ b/app/services/electron-io.ts
@@ -823,7 +823,15 @@ export default class ElectronIO {
};
openFile = (filePath: string): void => {
- this.electron.shell.openItem(filePath);
+ this.electron.shell
+ .openPath(filePath)
+ .then(() => {
+ console.log('File successfully opened ' + filePath);
+ return true;
+ })
+ .catch(e => {
+ console.log('Opening path ' + filePath + ' failed with ' + e);
+ });
};
openUrl = (url: string): void => {
diff --git a/app/third-party.txt b/app/third-party.txt
index d87957d6b..67b44f570 100644
--- a/app/third-party.txt
+++ b/app/third-party.txt
@@ -9436,7 +9436,7 @@ THE SOFTWARE.
The following software may be included in this product: electron. A copy of the source code may be downloaded from https://github.com/electron/electron. This software contains the following license and notice below:
-Copyright (c) 2013-2019 GitHub Inc.
+Copyright (c) 2013-2020 GitHub Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/package.json b/package.json
index 82a04f119..6ffe93d31 100644
--- a/package.json
+++ b/package.json
@@ -166,7 +166,7 @@
"css-loader": "^2.1.0",
"detect-port": "^1.3.0",
"devtron": "^1.4.0",
- "electron": "7.3.0",
+ "electron": "9.0.3",
"electron-builder": "^22.4.0",
"electron-devtools-installer": "^2.2.4",
"enzyme": "^2.8.2",
@@ -261,7 +261,7 @@
"open-location-code": "^1.0.3",
"open-location-code-typescript": "^1.4.0",
"path": "^0.12.7",
- "pdfjs-dist": "^2.3.200",
+ "pdfjs-dist": "^2.4.456",
"rc-table": "^6.4.0",
"react": "^16.13.1",
"react-color": "^2.17.3",
diff --git a/yarn.lock b/yarn.lock
index cd0214961..34ab8c070 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6464,10 +6464,10 @@ electron-window-state@^5.0.3:
jsonfile "^4.0.0"
mkdirp "^0.5.1"
- version "7.3.0"
- resolved "https://registry.yarnpkg.com/electron/-/electron-7.3.0.tgz#b4e1bd1efe32314534dba9b60ea5cc688216f3b3"
- integrity sha512-uG3WVhyawWXBUJN+f5GkdCq8z5r+XsvpLLAyUuPo+DL2PXt57YI1wEXc5qTJq9hzlLAcGOlU/4+8pSkYBWOn1A==
+ version "9.0.3"
+ resolved "https://registry.yarnpkg.com/electron/-/electron-9.0.3.tgz#72a7ea08abadd494794735d90666d1b95fc90d28"
+ integrity sha512-rY59wy50z0oWp/q69zq0UIzvtcM5j2BJbLAwEoLfVNS3DLt9wDZqRqSIBvLEBl+xWbafCnRA9haEqi7ssM94GA==
dependencies:
"@electron/get" "^1.0.1"
"@types/node" "^12.0.12"
@@ -10638,7 +10638,7 @@ loader-runner@^2.4.0:
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357"
integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==
[email protected], loader-utils@^1.0.0, loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3:
[email protected], loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7"
integrity sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==
@@ -11648,11 +11648,6 @@ nice-try@^1.0.4:
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
-node-ensure@^0.0.0:
- version "0.0.0"
- resolved "https://registry.yarnpkg.com/node-ensure/-/node-ensure-0.0.0.tgz#ecae764150de99861ec5c810fd5d096b183932a7"
- integrity sha1-7K52QVDemYYexcgQ/V0Jaxg5Mqc=
-
node-fetch-npm@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7"
@@ -12899,13 +12894,10 @@ pbkdf2@^3.0.3:
safe-buffer "^5.0.1"
sha.js "^2.4.8"
-pdfjs-dist@^2.3.200:
- version "2.3.200"
- resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-2.3.200.tgz#2920dc28ae7f2b8313cd6d6223c97ae85ac07eac"
- integrity sha512-+8wBjU5h8LPZOIvR9X2uCrp/8xWQG1DRDKMLg5lzGN1qyIAZlYUxA0KQyy12Nw5jN7ozulC6v97PMaDcLgAcFg==
- dependencies:
- node-ensure "^0.0.0"
- worker-loader "^2.0.0"
+pdfjs-dist@^2.4.456:
+ version "2.4.456"
+ resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-2.4.456.tgz#0eaad2906cda866bbb393e79a0e5b4e68bd75520"
+ integrity sha512-yckJEHq3F48hcp6wStEpbN9McOj328Ib09UrBlGAKxvN2k+qYPN5iq6TH6jD1C0pso7zTep+g/CKsYgdrQd5QA==
pend@~1.2.0:
version "1.2.0"
@@ -15111,7 +15103,7 @@ scheduler@^0.15.0:
loose-envify "^1.1.0"
object-assign "^4.1.1"
-schema-utils@^0.4.0, schema-utils@^0.4.5:
+schema-utils@^0.4.5:
version "0.4.7"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.7.tgz#ba74f597d2be2ea880131746ee17d0a093c68187"
integrity sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==
@@ -17698,14 +17690,6 @@ worker-farm@~1.3.1:
errno ">=0.1.1 <0.2.0-0"
xtend ">=4.0.0 <4.1.0-0"
-worker-loader@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/worker-loader/-/worker-loader-2.0.0.tgz#45fda3ef76aca815771a89107399ee4119b430ac"
- integrity sha512-tnvNp4K3KQOpfRnD20m8xltE3eWh89Ye+5oj7wXEEHKac1P4oZ6p9oTj8/8ExqoSBnk9nu5Pr4nKfQ1hn2APJw==
- dependencies:
- loader-utils "^1.0.0"
- schema-utils "^0.4.0"
-
wrap-ansi@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85"