TagSpaces is an offline, open source, document manager with tagging support
v5.3.0
Ilian Sapundshiev94658329f7fd
diff --git a/app/containers/App.tsx b/app/containers/App.tsxindex 04c9fb7b1..2e37124c5 100644--- a/app/containers/App.tsx+++ b/app/containers/App.tsx@@ -96,6 +96,9 @@ const darkblueTheme = createTheme({secondary: {main: '#3bc8ff'},+ background: {+ default: '#001E3C'+ },divider: '#555'}});diff --git a/app/package.json b/app/package.jsonindex f3f4554a4..d65dec11d 100644--- a/app/package.json+++ b/app/package.json@@ -1,7 +1,7 @@{"name": "tagspaces","productName": "TagSpaces",- "version": "5.2.4",+ "version": "5.3.0","description": "Offline file organizer and browser with tagging support.","homepage": "https://www.tagspaces.org","main": "./main.prod.js",diff --git a/app/third-party.txt b/app/third-party.txtindex cd428a1d5..65ccc05b1 100644--- a/app/third-party.txt+++ b/app/third-party.txt@@ -210,22 +210,22 @@ Apache LicenseThe following NPM packages may be included in this product:- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]- - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]- @aws-amplify/[email protected]- @aws-amplify/[email protected]- - @aws-amplify/[email protected]+ - @aws-amplify/[email protected]These packages each contain the following license and notice below:@@ -1325,7 +1325,7 @@ The following NPM packages may be included in this product:- @aws-sdk/[email protected]- @aws-sdk/[email protected]- @aws-sdk/[email protected]- - @aws-sdk/[email protected]+ - @aws-sdk/[email protected]- @aws-sdk/[email protected]- @aws-sdk/[email protected]- @aws-sdk/[email protected]@@ -2963,7 +2963,7 @@ The following NPM packages may be included in this product:- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- - @babel/[email protected]+ - @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]@@ -3071,7 +3071,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.The following NPM package may be included in this product:- - @babel/[email protected]+ - @babel/[email protected]This package contains the following license and notice below:@@ -3127,6 +3127,37 @@ SOFTWARE.-----------+The following NPM package may be included in this product:++ - @babel/[email protected]++This package contains the following license and notice below:++The MIT License (MIT)++Copyright 2014-2020 Benjamin Tan <https://ofcr.se/>++Permission is hereby granted, free of charge, to any person obtaining+a copy of this software and associated documentation files (the+"Software"), to deal in the Software without restriction, including+without limitation the rights to use, copy, modify, merge, publish,+distribute, sublicense, and/or sell copies of the Software, and to+permit persons to whom the Software is furnished to do so, subject to+the following conditions:++The above copyright notice and this permission notice shall be+included in all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.++-----------+The following NPM package may be included in this product:- @babel/[email protected]@@ -3192,14 +3223,10 @@ The following NPM packages may be included in this product:- @codemirror/[email protected]- @codemirror/[email protected]- - @codemirror/[email protected]- - @codemirror/[email protected]- @codemirror/[email protected]- - @codemirror/[email protected]- @codemirror/[email protected]- @codemirror/[email protected]- @codemirror/[email protected]- - @codemirror/[email protected]These packages each contain the following license and notice below:@@ -3227,11 +3254,15 @@ THE SOFTWARE.------------The following NPM package may be included in this product:+The following NPM packages may be included in this product:- @codemirror/[email protected]+ - @codemirror/[email protected]+ - @codemirror/[email protected]+ - @codemirror/[email protected]+ - @codemirror/[email protected]-This package contains the following license and notice below:+These packages each contain the following license and notice below:MIT License@@ -5888,26 +5919,26 @@ This package contains the following license and notice below:The following NPM packages may be included in this product:- - @jest/[email protected]- - @jest/[email protected]- - @jest/[email protected]- - @jest/[email protected]+ - @jest/[email protected]+ - @jest/[email protected]+ - @jest/[email protected]+ - @jest/[email protected]- @jest/[email protected]- @jest/[email protected]- - @jest/[email protected]+ - @jest/[email protected]@@ -6071,7 +6102,6 @@ The following NPM packages may be included in this product:- @lezer/[email protected]- @lezer/[email protected]- @lezer/[email protected]- - @lezer/[email protected]These packages each contain the following license and notice below:@@ -6099,6 +6129,36 @@ THE SOFTWARE.-----------+The following NPM package may be included in this product:++ - @lezer/[email protected]++This package contains the following license and notice below:++MIT License++Copyright (C) 2018 by Marijn Haverbeke <[email protected]> and others++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.++-----------+The following NPM package may be included in this product:- @lezer/[email protected]@@ -6184,17 +6244,17 @@ SOFTWARE.The following NPM packages may be included in this product:- @mui/[email protected]- - @mui/[email protected]- - @mui/[email protected]+ - @mui/[email protected]+ - @mui/[email protected]- @mui/[email protected]- - @mui/[email protected]+ - @mui/[email protected]- @mui/[email protected]- - @mui/[email protected]- - @mui/[email protected]+ - @mui/[email protected]+ - @mui/[email protected]- @mui/[email protected]- - @mui/[email protected]+ - @mui/[email protected]- @mui/[email protected]- - @mui/[email protected]+ - @mui/[email protected]These packages each contain the following license and notice below:@@ -6224,7 +6284,7 @@ SOFTWARE.The following NPM package may be included in this product:- - @mui/[email protected]+ - @mui/[email protected]This package contains the following license and notice below:@@ -6605,7 +6665,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ANDThe following NPM packages may be included in this product:- @tagspaces/[email protected]- - @tagspaces/[email protected]+ - @tagspaces/[email protected]These packages each contain the following license and notice below:@@ -6696,7 +6756,7 @@ The following NPM packages may be included in this product:- @types/[email protected]- @types/[email protected]- @types/[email protected]- - @types/[email protected]+ - @types/[email protected]- @types/[email protected]- @types/[email protected]- @types/[email protected]@@ -6711,7 +6771,7 @@ The following NPM packages may be included in this product:- @types/[email protected]- @types/[email protected]- @types/[email protected]- - @types/[email protected]+ - @types/[email protected]These packages each contain the following license and notice below:@@ -7957,7 +8017,7 @@ SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -8167,7 +8227,7 @@ Apache LicenseThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -8720,7 +8780,7 @@ The following NPM packages may be included in this product:@@ -9402,7 +9462,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -10201,7 +10261,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -10365,7 +10425,7 @@ SOFTWARE.The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -10914,7 +10974,7 @@ SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -12490,7 +12550,7 @@ THE SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -14257,7 +14317,7 @@ The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -15356,7 +15416,7 @@ limitations under the License.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -15637,14 +15697,14 @@ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHEThe following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -16634,6 +16694,62 @@ terms above.-----------+The following NPM package may be included in this product:+++This package contains the following license and notice below:++Copyright JS Foundation and other contributors <https://js.foundation/>++Based on Underscore.js, copyright Jeremy Ashkenas,+DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>++This software consists of voluntary contributions made by many+individuals. For exact contribution history, see the revision history+available at https://github.com/lodash/lodash++The following license applies to all parts of this software except as+documented below:++====++Permission is hereby granted, free of charge, to any person obtaining+a copy of this software and associated documentation files (the+"Software"), to deal in the Software without restriction, including+without limitation the rights to use, copy, modify, merge, publish,+distribute, sublicense, and/or sell copies of the Software, and to+permit persons to whom the Software is furnished to do so, subject to+the following conditions:++The above copyright notice and this permission notice shall be+included in all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.++====++Copyright and related rights for sample code are waived via CC0. Sample+code is defined as all source code displayed within the prose of the+documentation.++CC0: http://creativecommons.org/publicdomain/zero/1.0/++====++Files located in the node_modules and vendor directories are externally+maintained libraries used by this software which have their own+licenses; we recommend you read them, as their terms may differ from the+terms above.++-----------+The following NPM package may be included in this product:@@ -16667,7 +16783,7 @@ SOFTWARE.The following NPM packages may be included in this product:@@ -16932,14 +17048,14 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.The following NPM packages may be included in this product:@@ -22737,7 +22853,7 @@ SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -23040,7 +23156,7 @@ THE SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -24382,7 +24498,6 @@ SOFTWARE.The following NPM packages may be included in this product:@@ -24391,7 +24506,6 @@ The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -24417,6 +24531,35 @@ THE SOFTWARE.-----------+The following NPM packages may be included in this product:+++These packages each contain the following license and notice below:++Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.++-----------+The following NPM package may be included in this product:@@ -24433,6 +24576,116 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI-----------+The following NPM package may be included in this product:+++This package contains the following license and notice below:++QR Code Generator+===++## Getting Started++1. Include qrcode.js in your html.+2. Prepare a place holder.+3. Generate QR and render it.++```html+<script type="text/javascript" src="qrcode.js"></script>+```+```html+<div id="placeHolder"></div>+```+```javascript+var typeNumber = 4;+var errorCorrectionLevel = 'L';+var qr = qrcode(typeNumber, errorCorrectionLevel);+qr.addData('Hi!');+qr.make();+document.getElementById('placeHolder').innerHTML = qr.createImgTag();+```+## API Documentation++### QRCodeFactory++#### qrcode(typeNumber, errorCorrectionLevel) => <code>QRCode</code>+Create a QRCode Object.++| Param | Type | Description |+| ---------------------| ------------------- | ---------------------------------------------- |+| typeNumber | <code>number</code> | Type number (1 ~ 40), or 0 for auto detection. |+| errorCorrectionLevel | <code>string</code> | Error correction level ('L', 'M', 'Q', 'H') |++#### qrcode.stringToBytes(s) : <code>number[]</code>+Encodes a string into an array of number(byte) using any charset.+This function is used by internal.+Overwrite this function to encode using a multibyte charset.++| Param | Type | Description |+| ------ | ------------------- | ---------------- |+| s | <code>string</code> | string to encode |++### QRCode++#### addData(data, mode) => <code>void</code>+Add a data to encode.++| Param | Type | Description |+| ------ | ------------------- | ---------------------------------------------------------- |+| data | <code>string</code> | string to encode |+| mode | <code>string</code> | Mode ('Numeric', 'Alphanumeric', 'Byte'(default), 'Kanji') |++#### make() => <code>void</code>+Make a QR Code.++#### getModuleCount() => <code>number</code>+The number of modules(cells) for each orientation.+_[Note] call make() before this function._++#### isDark(row, col) => <code>boolean</code>+The module at row and col is dark or not.+_[Note] call make() before this function._++| Param | Type | Description |+| ----- | ------------------- | ------------------- |+| row | <code>number</code> | 0 ~ moduleCount - 1 |+| col | <code>number</code> | 0 ~ moduleCount - 1 |++#### createDataURL(cellSize, margin) => <code>string</code>+#### createImgTag(cellSize, margin, alt) => <code>string</code>+#### createSvgTag(cellSize, margin) => <code>string</code>+#### createTableTag(cellSize, margin) => <code>string</code>+#### createASCII(cellSize, margin) => <code>string</code>+Helper functions for HTML.+ _[Note] call make() before these functions._++| Param | Type | Description |+| -------- | ------------------- | --------------------- |+| cellSize | <code>number</code> | default: 2 |+| margin | <code>number</code> | default: cellSize * 4 |+| alt | <code>string</code> | (optional) |++#### createSvgTag(opts) => <code>string</code>++| Param | Type | Description |+| ------------- | -------------------- | --------------------- |+| opts | <code>object</code> | default: {} |+| opts.cellSize | <code>number</code> | default: 2 |+| opts.margin | <code>number</code> | default: cellSize * 4 |+| opts.scalable | <code>boolean</code> | default: false |++#### renderTo2dContext(context, cellSize) => <code>void</code>++--++This implementation is based on JIS X 0510:1999.++The word 'QR Code' is registered trademark of DENSO WAVE INCORPORATED+<br/>http://www.denso-wave.com/qrcode/faqpatent-e.html++-----------+The following NPM package may be included in this product:@@ -24566,7 +24819,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -24602,7 +24855,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -24716,7 +24969,7 @@ SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -25243,7 +25496,7 @@ SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -25266,6 +25519,36 @@ yarn add react-native-gradle-plugin-----------+The following NPM package may be included in this product:+++This package contains the following license and notice below:++MIT License++Copyright (c) 2018 Giulia Corò, Franco Berton++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.++-----------+The following NPM packages may be included in this product:@@ -25593,7 +25876,7 @@ SOFTWARE.The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -25725,37 +26008,6 @@ SOFTWARE.------------The following NPM package may be included in this product:---This package contains the following license and notice below:--The MIT License (MIT)--Copyright 2014-2020 Benjamin Tan <https://ofcr.se/>--Permission is hereby granted, free of charge, to any person obtaining-a copy of this software and associated documentation files (the-"Software"), to deal in the Software without restriction, including-without limitation the rights to use, copy, modify, merge, publish,-distribute, sublicense, and/or sell copies of the Software, and to-permit persons to whom the Software is furnished to do so, subject to-the following conditions:--The above copyright notice and this permission notice shall be-included in all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.--------------The following NPM package may be included in this product:@@ -27390,7 +27642,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -27534,7 +27786,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -28041,7 +28293,7 @@ SOFTWARE.The following NPM packages may be included in this product:These packages each contain the following license and notice below: