From d606be34592e4d4ca8ef7e199c99d81812d7ba73 Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 20 Dec 2021 19:11:12 +0000 Subject: [PATCH 001/106] chore(deps): update dependency netlify-cli to v8.2.3 (#1224) Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1224 Co-authored-by: renovate Co-committed-by: renovate --- package.json | 2 +- yarn.lock | 218 +++++++++++---------------------------------------- 2 files changed, 47 insertions(+), 173 deletions(-) diff --git a/package.json b/package.json index d0a12b8fb..b22d9f25f 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "express": "4.17.2", "faker": "5.5.3", "jest": "27.4.5", - "netlify-cli": "8.2.1", + "netlify-cli": "8.2.3", "postcss": "8.4.5", "postcss-preset-env": "7.0.2", "rollup": "2.61.1", diff --git a/yarn.lock b/yarn.lock index 2d75fa46b..01236eefd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2167,20 +2167,20 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" -"@netlify/build@^20.3.1": - version "20.3.1" - resolved "https://registry.yarnpkg.com/@netlify/build/-/build-20.3.1.tgz#f245b3928240e0929375bdecce659c26c43e9939" - integrity sha512-MS+XV/6W6ptKS+4TkYnrtrwPuyaat/kgxQLo6KuNW00ic3wBUIomPRZpE9MosbpJ5jO23Trzax70/pZuDzFvng== +"@netlify/build@^25.0.3": + version "25.0.3" + resolved "https://registry.yarnpkg.com/@netlify/build/-/build-25.0.3.tgz#4885a1676e773b1fdd83393b3f055fd0a46fa978" + integrity sha512-NPL8h6GxpRGC1wjKlx2O9bss1pzgFhChw99onsX8HBlgExZIvhb7Z+o0ch4EQ2/TCxzPRBwfWCwrHEnhHQGEhg== dependencies: "@bugsnag/js" "^7.0.0" - "@netlify/cache-utils" "^3.0.0" - "@netlify/config" "^16.0.0" - "@netlify/functions-utils" "^3.0.0" - "@netlify/git-utils" "^3.0.0" + "@netlify/cache-utils" "^4.0.0" + "@netlify/config" "^17.0.0" + "@netlify/functions-utils" "^4.0.0" + "@netlify/git-utils" "^4.0.0" "@netlify/plugin-edge-handlers" "^3.0.0" "@netlify/plugins-list" "^6.2.0" - "@netlify/run-utils" "^3.0.0" - "@netlify/zip-it-and-ship-it" "^5.2.0" + "@netlify/run-utils" "^4.0.0" + "@netlify/zip-it-and-ship-it" "^5.3.0" "@sindresorhus/slugify" "^1.1.0" ansi-escapes "^4.3.2" chalk "^4.1.2" @@ -2225,12 +2225,11 @@ uuid "^8.0.0" yargs "^15.3.1" -"@netlify/cache-utils@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@netlify/cache-utils/-/cache-utils-3.0.0.tgz#e9f1efb1b9c907741251216df7cd6afaf32f283e" - integrity sha512-UDBOHiP1uf3m8b/Pxz0v+kS/It6vWCSTJy4N9AhPUo5lcmpZgpu0kKyjKSmFBFeM8tafHM31thZvMZl8wH+Cgw== +"@netlify/cache-utils@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@netlify/cache-utils/-/cache-utils-4.0.0.tgz#a48beb7b2d51263c64caccaa4f8f92c50b5def6c" + integrity sha512-8BNDYMkkrkmlfwNaSeRqOhGu8lETc2ixM6bmvDAXuE5TcNNAActWcWurocwS419HNwyTw1kSEUKLp6Vx5/wiBg== dependencies: - array-flat-polyfill "^1.0.1" cpy "^8.1.0" del "^5.1.0" get-stream "^6.0.0" @@ -2242,13 +2241,11 @@ path-exists "^4.0.0" readdirp "^3.4.0" -"@netlify/config@^16.0.0": - version "16.0.0" - resolved "https://registry.yarnpkg.com/@netlify/config/-/config-16.0.0.tgz#1fa3fb553acc1735c7d1b9d4fa9c1a728de97688" - integrity sha512-6kIrvCeRKmJNIekPdrKdgjyDnSutioofC4ABfeDZgaNROJdjjHTRx1FqBFv1k8nBhOs7RcV9WkX89wZ7waW57g== +"@netlify/config@^17.0.0": + version "17.0.0" + resolved "https://registry.yarnpkg.com/@netlify/config/-/config-17.0.0.tgz#29fd7a28d3ed77d8d3eea2fb66df8780f5077482" + integrity sha512-nm6Xls6Q4CGQlnckBNczdSY6jF/X7lCOZCfULyFE/mRivLqQ46eZOUXDIWYMWMrxNozjMiRfiSrMvlbm8ZV2LA== dependencies: - "@ungap/from-entries" "^0.2.1" - array-flat-polyfill "^1.0.1" chalk "^4.1.2" cron-parser "^4.1.0" deepmerge "^4.2.2" @@ -2263,9 +2260,9 @@ js-yaml "^4.0.0" make-dir "^3.1.0" map-obj "^4.0.0" - netlify "^8.0.4" - netlify-headers-parser "^4.0.1" - netlify-redirect-parser "^11.0.3" + netlify "^10.0.0" + netlify-headers-parser "^6.0.0" + netlify-redirect-parser "^13.0.0" omit.js "^2.0.2" p-locate "^5.0.0" path-exists "^4.0.0" @@ -2275,10 +2272,10 @@ validate-npm-package-name "^3.0.0" yargs "^15.3.0" -"@netlify/config@^17.0.0": - version "17.0.0" - resolved "https://registry.yarnpkg.com/@netlify/config/-/config-17.0.0.tgz#29fd7a28d3ed77d8d3eea2fb66df8780f5077482" - integrity sha512-nm6Xls6Q4CGQlnckBNczdSY6jF/X7lCOZCfULyFE/mRivLqQ46eZOUXDIWYMWMrxNozjMiRfiSrMvlbm8ZV2LA== +"@netlify/config@^17.0.1": + version "17.0.1" + resolved "https://registry.yarnpkg.com/@netlify/config/-/config-17.0.1.tgz#69b4e9832129f566af59e2edfaf6041089edb535" + integrity sha512-3i1efAKWSww6enE0uzwovmKPX0q0mCLezW/R79gsCg+vyadkg0GdaFTN2Q7ASdYuUyQ8EolySE0rsLQTaYzm1A== dependencies: chalk "^4.1.2" cron-parser "^4.1.0" @@ -2325,19 +2322,19 @@ read-pkg-up "^7.0.1" semver "^7.3.4" -"@netlify/functions-utils@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@netlify/functions-utils/-/functions-utils-3.0.0.tgz#f790bd4c079b6de995aa023cbe1c294bcdc13d55" - integrity sha512-EOWPf+gLMJLMbZ9jQjAVfezNKCoJiDWVNKeeLYGX/6RmfCPV1XWoV4DtmeStUTz1txMuKLfqtjlbHSm1M6W/hg== +"@netlify/functions-utils@^4.0.0": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@netlify/functions-utils/-/functions-utils-4.0.1.tgz#17dc04d5e93d9f0b22343ec2fa3f3d4c42541aee" + integrity sha512-ldtU/IEvTGIFjCFeDdThZxU9QkEFtAZngLi/a6xTnmM3GyqJ1pWkYiI2oIeXlqP1YX7q6iRpLR+MKj8M8SC6Zg== dependencies: - "@netlify/zip-it-and-ship-it" "^4.30.0" + "@netlify/zip-it-and-ship-it" "^5.3.0" cpy "^8.1.0" path-exists "^4.0.0" -"@netlify/git-utils@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@netlify/git-utils/-/git-utils-3.0.0.tgz#e34951880e09b1f9011412883f8aac6030e3ef40" - integrity sha512-dfK8B3Lt/wHwdo8GL+gqGKesCYoiqZYQu3hIdQA0zPhIgRvm7W3fgfskSwlke8Zt3g11EesiGxrzUNIjsd7HpQ== +"@netlify/git-utils@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@netlify/git-utils/-/git-utils-4.0.0.tgz#c5d0dc171735c1f702dce55b051e22c5941fa4da" + integrity sha512-CZGyItsvmX9dBbzoxS6JUSKJzYKM/RfLQHeq18dombL1sk0jxsWcXdwKfZUGqw98T11uGz6JDPQUp/oUw2rNuA== dependencies: execa "^5.1.1" map-obj "^4.0.0" @@ -2423,7 +2420,7 @@ "@netlify/local-functions-proxy-win32-ia32" "1.1.1" "@netlify/local-functions-proxy-win32-x64" "1.1.1" -"@netlify/open-api@^2.5.2", "@netlify/open-api@^2.6.0": +"@netlify/open-api@^2.6.0": version "2.6.0" resolved "https://registry.yarnpkg.com/@netlify/open-api/-/open-api-2.6.0.tgz#128c8d66ac8798e9f60824ca9857735c368090b6" integrity sha512-VfYLiEXJIVIn25wrwNB/O+QkM3xPgCVcGSKZxM/i+oPCOgBK+4PEieRtfqhF4vXXwwOi68VaRWU7P3aRnb3nIA== @@ -2487,14 +2484,14 @@ "@netlify/routing-local-proxy-linux-x64" "^0.34.1" "@netlify/routing-local-proxy-win32-x64" "^0.34.1" -"@netlify/run-utils@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@netlify/run-utils/-/run-utils-3.0.0.tgz#ec8c45c89d9094caee74a18284160d1b9d617098" - integrity sha512-CaHpFDHYe4sYjJ/KnbCKo2qx19PSHktFcRfafJU0de2YrJ3K/J0Q6s7ZIjSzRjKUb0PIEq2ivgMPi3jAHNy9kA== +"@netlify/run-utils@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@netlify/run-utils/-/run-utils-4.0.0.tgz#c15e7ea183130b91067fb374fb694eae23a3e2d4" + integrity sha512-ZeQFp1VmSMfrKaV2A13HJ2b7UJBHf7DUvzAcNjjJdbugD8wCDs5l00rRZeLhyl48AIZl9ki+RpsATZ/j6qKn+g== dependencies: execa "^5.1.1" -"@netlify/zip-it-and-ship-it@5.3.0": +"@netlify/zip-it-and-ship-it@5.3.0", "@netlify/zip-it-and-ship-it@^5.3.0": version "5.3.0" resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.0.tgz#d19b8ffd86247025269aae86a88b5fea1ac5f451" integrity sha512-ZaHjN0wTtsmJr2NIquHr16T6A3wquKB7PFLodcjlinS57DatSr4exb3V02QrxuDbTD36VS2kiYfiZ8ueTXH/3Q== @@ -2533,85 +2530,6 @@ unixify "^1.0.0" yargs "^16.0.0" -"@netlify/zip-it-and-ship-it@^4.30.0": - version "4.30.0" - resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-4.30.0.tgz#4dba4115cfeb6e1eef963a2e44cf027d6982275a" - integrity sha512-GcUsdgdm7gJDoVhGwd9tGhINHmVzMUdSldKYEIdspetcGa5jRlphpUVg+7vr9kzNDed2wGmqHNs30DMbrTOFqA== - dependencies: - "@babel/parser" "^7.15.7" - "@netlify/esbuild" "^0.13.6" - "@vercel/nft" "^0.17.0" - archiver "^5.3.0" - array-flat-polyfill "^1.0.1" - common-path-prefix "^3.0.0" - cp-file "^9.0.0" - del "^6.0.0" - elf-cam "^0.1.1" - end-of-stream "^1.4.4" - es-module-lexer "^0.9.0" - execa "^5.0.0" - filter-obj "^2.0.1" - find-up "^5.0.0" - glob "^7.1.6" - is-builtin-module "^3.1.0" - junk "^3.1.0" - locate-path "^6.0.0" - make-dir "^3.1.0" - merge-options "^3.0.4" - minimatch "^3.0.4" - p-map "^4.0.0" - path-exists "^4.0.0" - pkg-dir "^5.0.0" - precinct "^8.2.0" - read-package-json-fast "^2.0.2" - require-package-name "^2.0.1" - resolve "^2.0.0-next.1" - semver "^7.0.0" - tmp-promise "^3.0.2" - toml "^3.0.0" - typescript "^4.4.3" - unixify "^1.0.0" - yargs "^16.0.0" - -"@netlify/zip-it-and-ship-it@^5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.2.0.tgz#c225edd06f4d6251066512e79cde7c950137bc87" - integrity sha512-YcLj5zcStVYPtPn1SNCjD5dXRpZ1HoAweywCOGNSAcOM6fn489IAaiXpkdmhA8oghBS5ukaP09lOZmJ9LD1m/A== - dependencies: - "@babel/parser" "^7.15.7" - "@netlify/esbuild" "^0.13.6" - "@vercel/nft" "^0.17.0" - archiver "^5.3.0" - common-path-prefix "^3.0.0" - cp-file "^9.0.0" - del "^6.0.0" - elf-cam "^0.1.1" - end-of-stream "^1.4.4" - es-module-lexer "^0.9.0" - execa "^5.0.0" - filter-obj "^2.0.1" - find-up "^5.0.0" - glob "^7.1.6" - is-builtin-module "^3.1.0" - junk "^3.1.0" - locate-path "^6.0.0" - make-dir "^3.1.0" - merge-options "^3.0.4" - minimatch "^3.0.4" - p-map "^4.0.0" - path-exists "^4.0.0" - pkg-dir "^5.0.0" - precinct "^8.2.0" - read-package-json-fast "^2.0.2" - require-package-name "^2.0.1" - resolve "^2.0.0-next.1" - semver "^7.0.0" - tmp-promise "^3.0.2" - toml "^3.0.0" - typescript "^4.4.3" - unixify "^1.0.0" - yargs "^16.0.0" - "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -3386,11 +3304,6 @@ "@typescript-eslint/types" "5.7.0" eslint-visitor-keys "^3.0.0" -"@ungap/from-entries@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@ungap/from-entries/-/from-entries-0.2.1.tgz#7e86196b8b2e99d73106a8f25c2a068326346354" - integrity sha512-CAqefTFAfnUPwYqsWHXpOxHaq1Zo5UQ3m9Zm2p09LggGe57rqHoBn3c++xcoomzXKynAUuiBMDUCQvKMnXjUpA== - "@vercel/nft@^0.17.0": version "0.17.0" resolved "https://registry.yarnpkg.com/@vercel/nft/-/nft-0.17.0.tgz#28851fefe42fae7a116dc5e23a0a9da29929a18b" @@ -4034,11 +3947,6 @@ arr-union@^3.1.0: resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= -array-flat-polyfill@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/array-flat-polyfill/-/array-flat-polyfill-1.0.1.tgz#1e3a4255be619dfbffbfd1d635c1cf357cd034e7" - integrity sha512-hfJmKupmQN0lwi0xG6FQ5U8Rd97RnIERplymOv/qpq8AoNKPPAnxJadjFA23FNWm88wykh9HmpLJUUwUtNU/iw== - array-flatten@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" @@ -10147,13 +10055,13 @@ nested-error-stacks@^2.0.0, nested-error-stacks@^2.1.0: resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61" integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug== -netlify-cli@8.2.1: - version "8.2.1" - resolved "https://registry.yarnpkg.com/netlify-cli/-/netlify-cli-8.2.1.tgz#ed9d6454284c5171269cd42fec87b4fa393a694c" - integrity sha512-Qg9MMbAdPMFZUJQj2vEFTyFedIKDQwYFLn58bTr2TDKDIAfKHKccjtPnlM7fd2AiXuub0GoZKCmPyt7fwifk3A== +netlify-cli@8.2.3: + version "8.2.3" + resolved "https://registry.yarnpkg.com/netlify-cli/-/netlify-cli-8.2.3.tgz#7c05ab1401abd70293ffb18c10d297f310e82a11" + integrity sha512-QD7q53OeuMcajwkYgNYg00X4iRSXTTOtL0yuq0z95ijbmnTmKyWieLwIA8941yRMCNqUexrg3d+LfO1xx4tUzw== dependencies: - "@netlify/build" "^20.3.1" - "@netlify/config" "^17.0.0" + "@netlify/build" "^25.0.3" + "@netlify/config" "^17.0.1" "@netlify/framework-info" "^7.0.0" "@netlify/local-functions-proxy" "^1.1.1" "@netlify/plugin-edge-handlers" "^3.0.0" @@ -10260,17 +10168,6 @@ netlify-cli@8.2.1: winston "^3.2.1" write-file-atomic "^3.0.0" -netlify-headers-parser@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/netlify-headers-parser/-/netlify-headers-parser-4.0.1.tgz#9de04da20d990e6e1b6b4a5621d160b90ce7592d" - integrity sha512-Wq1ZKXLv8xnTmzWhjbkFnzIAAmas7GhtrFJXCeMfEoeGthuSekcEz+IMfpSDjhL/X3Ls5YIk9SuNUf/5/+TlEQ== - dependencies: - escape-string-regexp "^4.0.0" - is-plain-obj "^3.0.0" - map-obj "^4.2.1" - path-exists "^4.0.0" - toml "^3.0.0" - netlify-headers-parser@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/netlify-headers-parser/-/netlify-headers-parser-6.0.0.tgz#9ba844ef973227c48d01671796dff58435d341f3" @@ -10282,16 +10179,6 @@ netlify-headers-parser@^6.0.0: path-exists "^4.0.0" toml "^3.0.0" -netlify-redirect-parser@^11.0.3: - version "11.0.3" - resolved "https://registry.yarnpkg.com/netlify-redirect-parser/-/netlify-redirect-parser-11.0.3.tgz#29bedbb7e81bc6ead691d7052b7bf515525dc3c1" - integrity sha512-L16LibuCzfXT/9sAuy4ovarZ23y1JVhCIa5zqGo96Z3d2RgM9EJ0ZeLNdzsG7zABm2za5FLaM/XItfm33FcZsw== - dependencies: - filter-obj "^2.0.2" - is-plain-obj "^3.0.0" - path-exists "^4.0.0" - toml "^3.0.0" - netlify-redirect-parser@^13.0.0: version "13.0.0" resolved "https://registry.yarnpkg.com/netlify-redirect-parser/-/netlify-redirect-parser-13.0.0.tgz#a7d66dc515a47efd1e7b57b441808c6f0fb9148b" @@ -10320,19 +10207,6 @@ netlify@^10.0.0: p-wait-for "^3.2.0" qs "^6.9.6" -netlify@^8.0.4: - version "8.0.4" - resolved "https://registry.yarnpkg.com/netlify/-/netlify-8.0.4.tgz#2dcb785b527b5799f55c041f402ae6b842466bd9" - integrity sha512-v0iG/u5y3GDP+H50SEbQHUdYHTNMNKtoxUP9cBbt2H0i4rpCcebQAQ1AKEwbpxF8sCO0+ywXIqpGiOd5Wwzjew== - dependencies: - "@netlify/open-api" "^2.5.2" - lodash.camelcase "^4.3.0" - micro-api-client "^3.3.0" - node-fetch "^2.6.1" - omit.js "^2.0.2" - p-wait-for "^3.2.0" - qs "^6.9.6" - no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" From 2ce260bcf1a0a2354400a07c8822dc5290dc4696 Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 20 Dec 2021 20:30:51 +0000 Subject: [PATCH 002/106] chore(deps): update typescript-eslint monorepo to v5.8.0 (#1225) Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1225 Co-authored-by: renovate Co-committed-by: renovate --- package.json | 4 +-- yarn.lock | 82 ++++++++++++++++++++++++++-------------------------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index b22d9f25f..c9a4b9a7b 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "@fortawesome/vue-fontawesome": "3.0.0-5", "@types/flexsearch": "0.7.2", "@types/jest": "27.0.3", - "@typescript-eslint/eslint-plugin": "5.7.0", - "@typescript-eslint/parser": "5.7.0", + "@typescript-eslint/eslint-plugin": "5.8.0", + "@typescript-eslint/parser": "5.8.0", "@vitejs/plugin-legacy": "1.6.4", "@vitejs/plugin-vue": "2.0.1", "@vue/eslint-config-typescript": "9.1.0", diff --git a/yarn.lock b/yarn.lock index 01236eefd..a88905b04 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3208,13 +3208,13 @@ dependencies: "@types/node" "*" -"@typescript-eslint/eslint-plugin@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.7.0.tgz#12d54709f8ea1da99a01d8a992cd0474ad0f0aa9" - integrity sha512-8RTGBpNn5a9M628wBPrCbJ+v3YTEOE2qeZb7TDkGKTDXSj36KGRg92SpFFaR/0S3rSXQxM0Og/kV9EyadsYSBg== +"@typescript-eslint/eslint-plugin@5.8.0": + version "5.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.8.0.tgz#52cd9305ceef98a5333f9492d519e6c6c7fe7d43" + integrity sha512-spu1UW7QuBn0nJ6+psnfCc3iVoQAifjKORgBngKOmC8U/1tbe2YJMzYQqDGYB4JCss7L8+RM2kKLb1B1Aw9BNA== dependencies: - "@typescript-eslint/experimental-utils" "5.7.0" - "@typescript-eslint/scope-manager" "5.7.0" + "@typescript-eslint/experimental-utils" "5.8.0" + "@typescript-eslint/scope-manager" "5.8.0" debug "^4.3.2" functional-red-black-tree "^1.0.1" ignore "^5.1.8" @@ -3222,53 +3222,53 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.7.0.tgz#2b1633e6613c3238036156f70c32634843ad034f" - integrity sha512-u57eZ5FbEpzN5kSjmVrSesovWslH2ZyNPnaXQMXWgH57d5+EVHEt76W75vVuI9qKZ5BMDKNfRN+pxcPEjQjb2A== +"@typescript-eslint/experimental-utils@5.8.0": + version "5.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.8.0.tgz#0916ffe98d34b3c95e3652efa0cace61a7b25728" + integrity sha512-KN5FvNH71bhZ8fKtL+lhW7bjm7cxs1nt+hrDZWIqb6ViCffQcWyLunGrgvISgkRojIDcXIsH+xlFfI4RCDA0xA== dependencies: "@types/json-schema" "^7.0.9" - "@typescript-eslint/scope-manager" "5.7.0" - "@typescript-eslint/types" "5.7.0" - "@typescript-eslint/typescript-estree" "5.7.0" + "@typescript-eslint/scope-manager" "5.8.0" + "@typescript-eslint/types" "5.8.0" + "@typescript-eslint/typescript-estree" "5.8.0" eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/parser@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.7.0.tgz#4dca6de463d86f02d252e681136a67888ea3b181" - integrity sha512-m/gWCCcS4jXw6vkrPQ1BjZ1vomP01PArgzvauBqzsoZ3urLbsRChexB8/YV8z9HwE3qlJM35FxfKZ1nfP/4x8g== +"@typescript-eslint/parser@5.8.0": + version "5.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.8.0.tgz#b39970b21c1d7bc4a6018507fb29b380328d2587" + integrity sha512-Gleacp/ZhRtJRYs5/T8KQR3pAQjQI89Dn/k+OzyCKOsLiZH2/Vh60cFBTnFsHNI6WAD+lNUo/xGZ4NeA5u0Ipw== dependencies: - "@typescript-eslint/scope-manager" "5.7.0" - "@typescript-eslint/types" "5.7.0" - "@typescript-eslint/typescript-estree" "5.7.0" + "@typescript-eslint/scope-manager" "5.8.0" + "@typescript-eslint/types" "5.8.0" + "@typescript-eslint/typescript-estree" "5.8.0" debug "^4.3.2" -"@typescript-eslint/scope-manager@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.7.0.tgz#70adf960e5a58994ad50438ba60d98ecadd79452" - integrity sha512-7mxR520DGq5F7sSSgM0HSSMJ+TFUymOeFRMfUfGFAVBv8BR+Jv1vHgAouYUvWRZeszVBJlLcc9fDdktxb5kmxA== +"@typescript-eslint/scope-manager@5.8.0": + version "5.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.8.0.tgz#2371095b4fa4c7be6a80b380f4e1b49c715e16f4" + integrity sha512-x82CYJsLOjPCDuFFEbS6e7K1QEWj7u5Wk1alw8A+gnJiYwNnDJk0ib6PCegbaPMjrfBvFKa7SxE3EOnnIQz2Gg== dependencies: - "@typescript-eslint/types" "5.7.0" - "@typescript-eslint/visitor-keys" "5.7.0" + "@typescript-eslint/types" "5.8.0" + "@typescript-eslint/visitor-keys" "5.8.0" "@typescript-eslint/types@4.33.0": version "4.33.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72" integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ== -"@typescript-eslint/types@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.7.0.tgz#2d4cae0105ba7d08bffa69698197a762483ebcbe" - integrity sha512-5AeYIF5p2kAneIpnLFve8g50VyAjq7udM7ApZZ9JYjdPjkz0LvODfuSHIDUVnIuUoxafoWzpFyU7Sqbxgi79mA== +"@typescript-eslint/types@5.8.0": + version "5.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.8.0.tgz#e7fa74ec35d9dbe3560d039d3d8734986c3971e0" + integrity sha512-LdCYOqeqZWqCMOmwFnum6YfW9F3nKuxJiR84CdIRN5nfHJ7gyvGpXWqL/AaW0k3Po0+wm93ARAsOdzlZDPCcXg== -"@typescript-eslint/typescript-estree@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.7.0.tgz#968fad899050ccce4f08a40cd5fabc0798525006" - integrity sha512-aO1Ql+izMrTnPj5aFFlEJkpD4jRqC4Gwhygu2oHK2wfVQpmOPbyDSveJ+r/NQo+PWV43M6uEAeLVbTi09dFLhg== +"@typescript-eslint/typescript-estree@5.8.0": + version "5.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.8.0.tgz#900469ba9d5a37f4482b014ecce4a5dbb86cb4dd" + integrity sha512-srfeZ3URdEcUsSLbkOFqS7WoxOqn8JNil2NSLO9O+I2/Uyc85+UlfpEvQHIpj5dVts7KKOZnftoJD/Fdv0L7nQ== dependencies: - "@typescript-eslint/types" "5.7.0" - "@typescript-eslint/visitor-keys" "5.7.0" + "@typescript-eslint/types" "5.8.0" + "@typescript-eslint/visitor-keys" "5.8.0" debug "^4.3.2" globby "^11.0.4" is-glob "^4.0.3" @@ -3296,12 +3296,12 @@ "@typescript-eslint/types" "4.33.0" eslint-visitor-keys "^2.0.0" -"@typescript-eslint/visitor-keys@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.7.0.tgz#e05164239eb7cb8aa9fa06c516ede480ce260178" - integrity sha512-hdohahZ4lTFcglZSJ3DGdzxQHBSxsLVqHzkiOmKi7xVAWC4y2c1bIMKmPJSrA4aOEoRUPOKQ87Y/taC7yVHpFg== +"@typescript-eslint/visitor-keys@5.8.0": + version "5.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.8.0.tgz#22d4ed96fe2451135299239feedb9fe1dcec780c" + integrity sha512-+HDIGOEMnqbxdAHegxvnOqESUH6RWFRR2b8qxP1W9CZnnYh4Usz6MBL+2KMAgPk/P0o9c1HqnYtwzVH6GTIqug== dependencies: - "@typescript-eslint/types" "5.7.0" + "@typescript-eslint/types" "5.8.0" eslint-visitor-keys "^3.0.0" "@vercel/nft@^0.17.0": From 4cbacafbbb54174f1b6214446ea6174302c871c1 Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 20 Dec 2021 22:23:49 +0000 Subject: [PATCH 003/106] chore(deps): update dependency netlify-cli to v8.2.4 (#1226) Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1226 Co-authored-by: renovate Co-committed-by: renovate --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index c9a4b9a7b..8edd214fa 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "express": "4.17.2", "faker": "5.5.3", "jest": "27.4.5", - "netlify-cli": "8.2.3", + "netlify-cli": "8.2.4", "postcss": "8.4.5", "postcss-preset-env": "7.0.2", "rollup": "2.61.1", diff --git a/yarn.lock b/yarn.lock index a88905b04..a1325345f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2167,10 +2167,10 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" -"@netlify/build@^25.0.3": - version "25.0.3" - resolved "https://registry.yarnpkg.com/@netlify/build/-/build-25.0.3.tgz#4885a1676e773b1fdd83393b3f055fd0a46fa978" - integrity sha512-NPL8h6GxpRGC1wjKlx2O9bss1pzgFhChw99onsX8HBlgExZIvhb7Z+o0ch4EQ2/TCxzPRBwfWCwrHEnhHQGEhg== +"@netlify/build@^26.0.0": + version "26.0.0" + resolved "https://registry.yarnpkg.com/@netlify/build/-/build-26.0.0.tgz#8929860daa106a98b80574fe5af4e417b808f68f" + integrity sha512-YA5Hnse9RgT/1YBpYrQ9OvJo4S+WQ7qnWp1XkCintN27MRf0OX4y76GPmiZlUxBMiSTiiJm2wScYoUdnunmFiQ== dependencies: "@bugsnag/js" "^7.0.0" "@netlify/cache-utils" "^4.0.0" @@ -10055,12 +10055,12 @@ nested-error-stacks@^2.0.0, nested-error-stacks@^2.1.0: resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61" integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug== -netlify-cli@8.2.3: - version "8.2.3" - resolved "https://registry.yarnpkg.com/netlify-cli/-/netlify-cli-8.2.3.tgz#7c05ab1401abd70293ffb18c10d297f310e82a11" - integrity sha512-QD7q53OeuMcajwkYgNYg00X4iRSXTTOtL0yuq0z95ijbmnTmKyWieLwIA8941yRMCNqUexrg3d+LfO1xx4tUzw== +netlify-cli@8.2.4: + version "8.2.4" + resolved "https://registry.yarnpkg.com/netlify-cli/-/netlify-cli-8.2.4.tgz#920244833b1daf7d4ac956eca0fe03cc4f4d9b28" + integrity sha512-jtmjVK3dCD7TMNA46dp+zM5UG6pIY5RC1Gs+tU0kdafWH+BIv78egeOHSt9TPmEJMrp29xqqgITVXo43XWsEQw== dependencies: - "@netlify/build" "^25.0.3" + "@netlify/build" "^26.0.0" "@netlify/config" "^17.0.1" "@netlify/framework-info" "^7.0.0" "@netlify/local-functions-proxy" "^1.1.1" From d9fa0dd2bce9726d3746a3979287fadb907a2a53 Mon Sep 17 00:00:00 2001 From: renovate Date: Tue, 21 Dec 2021 07:36:28 +0000 Subject: [PATCH 004/106] chore(deps): update dependency sass to v1.45.1 (#1227) Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1227 Co-authored-by: renovate Co-committed-by: renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8edd214fa..f67354d32 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "postcss-preset-env": "7.0.2", "rollup": "2.61.1", "rollup-plugin-visualizer": "5.5.2", - "sass": "1.45.0", + "sass": "1.45.1", "slugify": "1.6.4", "ts-jest": "27.1.2", "typescript": "4.5.4", diff --git a/yarn.lock b/yarn.lock index a1325345f..d7548d741 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12057,10 +12057,10 @@ safe-stable-stringify@^1.1.0: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sass@1.45.0: - version "1.45.0" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.45.0.tgz#192ede1908324bb293a3e403d1841dbcaafdd323" - integrity sha512-ONy5bjppoohtNkFJRqdz1gscXamMzN3wQy1YH9qO2FiNpgjLhpz/IPRGg0PpCjyz/pWfCOaNEaiEGCcjOFAjqw== +sass@1.45.1: + version "1.45.1" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.45.1.tgz#fa03951f924d1ba5762949567eaf660e608a1ab0" + integrity sha512-pwPRiq29UR0o4X3fiQyCtrESldXvUQAAE0QmcJTpsI4kuHHcLzZ54M1oNBVIXybQv8QF2zfkpFcTxp8ta97dUA== dependencies: chokidar ">=3.0.0 <4.0.0" immutable "^4.0.0" From 063592ca3de68a3dd679e1458018f6e850f8a787 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 21 Dec 2021 08:02:03 +0000 Subject: [PATCH 005/106] fix: auth and move logic to router (#1201) Co-authored-by: Dominik Pschenitschni Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1201 Reviewed-by: konrad Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/App.vue | 8 +++-- src/components/home/contentAuth.vue | 30 ++++++++++--------- src/components/home/contentNoAuth.vue | 41 -------------------------- src/main.ts | 2 +- src/router/{index.js => index.ts} | 42 ++++++++++++++++++++------- 5 files changed, 54 insertions(+), 69 deletions(-) delete mode 100644 src/components/home/contentNoAuth.vue rename src/router/{index.js => index.ts} (94%) diff --git a/src/App.vue b/src/App.vue index 823fa284d..e0b53d243 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,8 +6,10 @@ - - + + + + @@ -31,7 +33,7 @@ import KeyboardShortcuts from './components/misc/keyboard-shortcuts/index.vue' import TopNavigation from './components/home/topNavigation.vue' import ContentAuth from './components/home/contentAuth.vue' import ContentLinkShare from './components/home/contentLinkShare.vue' -import ContentNoAuth from './components/home/contentNoAuth.vue' +import NoAuthWrapper from '@/components/misc/no-auth-wrapper.vue' import Ready from '@/components/misc/ready.vue' import {setLanguage} from './i18n' diff --git a/src/components/home/contentAuth.vue b/src/components/home/contentAuth.vue index 313d79548..d3f0dc8a9 100644 --- a/src/components/home/contentAuth.vue +++ b/src/components/home/contentAuth.vue @@ -64,21 +64,25 @@ const route = useRoute() // hide menu on mobile watch(() => route.fullPath, () => window.innerWidth < 769 && store.commit(MENU_ACTIVE, false)) +// FIXME: this is really error prone // Reset the current list highlight in menu if the current route is not list related. -watch(() => route.fullPath, () => { +watch(() => route.name as string, (routeName) => { if ( - [ - 'home', - 'namespace.edit', - 'teams.index', - 'teams.edit', - 'tasks.range', - 'labels.index', - 'migrate.start', - 'migrate.wunderlist', - 'namespaces.index', - ].includes(route.name) || - route.name.startsWith('user.settings') + routeName && + ( + [ + 'home', + 'namespace.edit', + 'teams.index', + 'teams.edit', + 'tasks.range', + 'labels.index', + 'migrate.start', + 'migrate.wunderlist', + 'namespaces.index', + ].includes(routeName) || + routeName.startsWith('user.settings') + ) ) { store.dispatch(CURRENT_LIST, null) } diff --git a/src/components/home/contentNoAuth.vue b/src/components/home/contentNoAuth.vue deleted file mode 100644 index 25a843d15..000000000 --- a/src/components/home/contentNoAuth.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/src/main.ts b/src/main.ts index 48a6590d3..d497bbee3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -133,8 +133,8 @@ if (window.SENTRY_ENABLED) { import('./sentry').then(sentry => sentry.default(app, router)) } -app.use(router) app.use(store) +app.use(router) app.use(i18n) app.mount('#app') \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.ts similarity index 94% rename from src/router/index.js rename to src/router/index.ts index cb049928b..21e4a96a3 100644 --- a/src/router/index.js +++ b/src/router/index.ts @@ -1,4 +1,6 @@ -import { createRouter, createWebHistory } from 'vue-router' +import { createRouter, createWebHistory, RouteLocation } from 'vue-router' +import {saveLastVisited} from '@/helpers/saveLastVisited' +import {store} from '@/store' import HomeComponent from '../views/Home' import NotFoundComponent from '../views/404' @@ -573,16 +575,34 @@ const router = createRouter({ ], }) -// bad example if using named routes: -router.resolve({ - name: 'bad-not-found', - params: { pathMatch: 'not/found' }, -}).href // '/not%2Ffound' +router.beforeEach((to) => { + return checkAuth(to) +}) -// good example: -router.resolve({ - name: 'not-found', - params: { pathMatch: ['not', 'found'] }, -}).href // '/not/found' +function checkAuth(route: RouteLocation) { + const authUser = store.getters['auth/authUser'] + const authLinkShare = store.getters['auth/authLinkShare'] + + if (authUser || authLinkShare) { + return + } + + // Check if the user is already logged in and redirect them to the home page if not + if ( + ![ + 'user.login', + 'user.password-reset.request', + 'user.password-reset.reset', + 'user.register', + 'link-share.auth', + 'openid.auth', + ].includes(route.name as string) && + localStorage.getItem('passwordResetToken') === null && + localStorage.getItem('emailConfirmToken') === null + ) { + saveLastVisited(route.name as string, route.params) + return {name: 'user.login'} + } +} export default router \ No newline at end of file From d86eb9ea0b609df79d5702bf5acd1881bae917bf Mon Sep 17 00:00:00 2001 From: renovate Date: Tue, 21 Dec 2021 14:29:51 +0000 Subject: [PATCH 006/106] chore(deps): update dependency netlify-cli to v8.3.0 (#1228) Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1228 Co-authored-by: renovate Co-committed-by: renovate --- package.json | 2 +- yarn.lock | 125 +++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 112 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index f67354d32..6fd439906 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "express": "4.17.2", "faker": "5.5.3", "jest": "27.4.5", - "netlify-cli": "8.2.4", + "netlify-cli": "8.3.0", "postcss": "8.4.5", "postcss-preset-env": "7.0.2", "rollup": "2.61.1", diff --git a/yarn.lock b/yarn.lock index d7548d741..5bc87e96f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2167,10 +2167,10 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" -"@netlify/build@^26.0.0": - version "26.0.0" - resolved "https://registry.yarnpkg.com/@netlify/build/-/build-26.0.0.tgz#8929860daa106a98b80574fe5af4e417b808f68f" - integrity sha512-YA5Hnse9RgT/1YBpYrQ9OvJo4S+WQ7qnWp1XkCintN27MRf0OX4y76GPmiZlUxBMiSTiiJm2wScYoUdnunmFiQ== +"@netlify/build@^26.0.1": + version "26.0.1" + resolved "https://registry.yarnpkg.com/@netlify/build/-/build-26.0.1.tgz#01859e3a1cdeffb9df929f103f98cc9d82c126b4" + integrity sha512-D7XVyILb1oMY/Ms3RDh98V9+NNJuU+2MunWOU6f78lB9ONQozrNBr04bgbzYdHBwLs1m7DAgv5hxiS8MEw6qNg== dependencies: "@bugsnag/js" "^7.0.0" "@netlify/cache-utils" "^4.0.0" @@ -2180,7 +2180,7 @@ "@netlify/plugin-edge-handlers" "^3.0.0" "@netlify/plugins-list" "^6.2.0" "@netlify/run-utils" "^4.0.0" - "@netlify/zip-it-and-ship-it" "^5.3.0" + "@netlify/zip-it-and-ship-it" "^5.3.1" "@sindresorhus/slugify" "^1.1.0" ansi-escapes "^4.3.2" chalk "^4.1.2" @@ -2425,6 +2425,11 @@ resolved "https://registry.yarnpkg.com/@netlify/open-api/-/open-api-2.6.0.tgz#128c8d66ac8798e9f60824ca9857735c368090b6" integrity sha512-VfYLiEXJIVIn25wrwNB/O+QkM3xPgCVcGSKZxM/i+oPCOgBK+4PEieRtfqhF4vXXwwOi68VaRWU7P3aRnb3nIA== +"@netlify/open-api@^2.7.0": + version "2.7.0" + resolved "https://registry.yarnpkg.com/@netlify/open-api/-/open-api-2.7.0.tgz#d8147396a0c41b5e9de1f52889004ad2a1d59163" + integrity sha512-WzedpLK6XFs67naFDX1K3QWk3GKlUQVCuIlMuXb0dWvJvfB71R/Njk1bq0FqVllIWw2RRCQMkCIywEABbnB2Yg== + "@netlify/plugin-edge-handlers@^3.0.0": version "3.0.0" resolved "https://registry.yarnpkg.com/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.0.tgz#c81b3449b509ebaed075c535013441f85e9db372" @@ -2491,7 +2496,46 @@ dependencies: execa "^5.1.1" -"@netlify/zip-it-and-ship-it@5.3.0", "@netlify/zip-it-and-ship-it@^5.3.0": +"@netlify/zip-it-and-ship-it@5.3.1": + version "5.3.1" + resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.1.tgz#d88491fc6398c3bb6427125ede4c32cda24c1f16" + integrity sha512-J8owr4lft/uKrozivDmIzKKe5IQ6zTWKyemdwljYDMTh2UrCwEH5u35X17zqO5LCS7FJ6uyCy5yBtBUrqdAtMA== + dependencies: + "@babel/parser" "^7.15.7" + "@netlify/esbuild" "^0.13.6" + "@vercel/nft" "^0.17.0" + archiver "^5.3.0" + common-path-prefix "^3.0.0" + cp-file "^9.0.0" + del "^6.0.0" + elf-cam "^0.1.1" + end-of-stream "^1.4.4" + es-module-lexer "^0.9.0" + execa "^5.0.0" + filter-obj "^2.0.1" + find-up "^5.0.0" + glob "^7.1.6" + is-builtin-module "^3.1.0" + junk "^3.1.0" + locate-path "^6.0.0" + make-dir "^3.1.0" + merge-options "^3.0.4" + minimatch "^3.0.4" + p-map "^4.0.0" + path-exists "^4.0.0" + pkg-dir "^5.0.0" + precinct "^8.2.0" + read-package-json-fast "^2.0.2" + require-package-name "^2.0.1" + resolve "^2.0.0-next.1" + semver "^7.0.0" + tmp-promise "^3.0.2" + toml "^3.0.0" + typescript "^4.4.3" + unixify "^1.0.0" + yargs "^16.0.0" + +"@netlify/zip-it-and-ship-it@^5.3.0": version "5.3.0" resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.0.tgz#d19b8ffd86247025269aae86a88b5fea1ac5f451" integrity sha512-ZaHjN0wTtsmJr2NIquHr16T6A3wquKB7PFLodcjlinS57DatSr4exb3V02QrxuDbTD36VS2kiYfiZ8ueTXH/3Q== @@ -2530,6 +2574,45 @@ unixify "^1.0.0" yargs "^16.0.0" +"@netlify/zip-it-and-ship-it@^5.3.1": + version "5.4.0" + resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.4.0.tgz#c083895a7e5873747e51a4287ac1da3f2423ac48" + integrity sha512-JVUr7S6GTHnPpwtD+g/+qzhKvhXwXoHGeisaHt1YYARRRd+XdvwFYo8yY2JzT7hM26uz99tpKwzDSfcL+WR1rQ== + dependencies: + "@babel/parser" "^7.15.7" + "@netlify/esbuild" "^0.13.6" + "@vercel/nft" "^0.17.0" + archiver "^5.3.0" + common-path-prefix "^3.0.0" + cp-file "^9.0.0" + del "^6.0.0" + elf-cam "^0.1.1" + end-of-stream "^1.4.4" + es-module-lexer "^0.9.0" + execa "^5.0.0" + filter-obj "^2.0.1" + find-up "^5.0.0" + glob "^7.1.6" + is-builtin-module "^3.1.0" + junk "^3.1.0" + locate-path "^6.0.0" + make-dir "^3.1.0" + merge-options "^3.0.4" + minimatch "^3.0.4" + p-map "^4.0.0" + path-exists "^4.0.0" + pkg-dir "^5.0.0" + precinct "^8.2.0" + read-package-json-fast "^2.0.2" + require-package-name "^2.0.1" + resolve "^2.0.0-next.1" + semver "^7.0.0" + tmp-promise "^3.0.2" + toml "^3.0.0" + typescript "^4.4.3" + unixify "^1.0.0" + yargs "^16.0.0" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -10055,19 +10138,19 @@ nested-error-stacks@^2.0.0, nested-error-stacks@^2.1.0: resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61" integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug== -netlify-cli@8.2.4: - version "8.2.4" - resolved "https://registry.yarnpkg.com/netlify-cli/-/netlify-cli-8.2.4.tgz#920244833b1daf7d4ac956eca0fe03cc4f4d9b28" - integrity sha512-jtmjVK3dCD7TMNA46dp+zM5UG6pIY5RC1Gs+tU0kdafWH+BIv78egeOHSt9TPmEJMrp29xqqgITVXo43XWsEQw== +netlify-cli@8.3.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/netlify-cli/-/netlify-cli-8.3.0.tgz#99717c8e38d3ed0351a8c21345179ccc46830a22" + integrity sha512-XnTCuCkGMQtSzoTLOedgT9QtHMoFPA9r/NeFaKewg/JmDLO48oSmzICf/Bh6Wnvc1k3KJ2hU/0gDyNGBtoR7Mw== dependencies: - "@netlify/build" "^26.0.0" + "@netlify/build" "^26.0.1" "@netlify/config" "^17.0.1" "@netlify/framework-info" "^7.0.0" "@netlify/local-functions-proxy" "^1.1.1" "@netlify/plugin-edge-handlers" "^3.0.0" "@netlify/plugins-list" "^6.2.0" "@netlify/routing-local-proxy" "^0.34.1" - "@netlify/zip-it-and-ship-it" "5.3.0" + "@netlify/zip-it-and-ship-it" "5.3.1" "@octokit/rest" "^18.0.0" "@sindresorhus/slugify" "^1.1.0" ansi-styles "^5.0.0" @@ -10127,7 +10210,7 @@ netlify-cli@8.2.4: minimist "^1.2.5" mock-require "^3.0.3" multiparty "^4.2.1" - netlify "^10.0.0" + netlify "^10.1.0" netlify-headers-parser "^6.0.0" netlify-redirect-parser "^13.0.0" netlify-redirector "^0.2.1" @@ -10158,6 +10241,7 @@ netlify-cli@8.2.4: strip-ansi-control-characters "^2.0.0" tabtab "^3.0.2" tempy "^1.0.0" + terminal-link "^2.1.1" through2-filter "^3.0.0" through2-map "^3.0.0" to-readable-stream "^2.1.0" @@ -10207,6 +10291,19 @@ netlify@^10.0.0: p-wait-for "^3.2.0" qs "^6.9.6" +netlify@^10.1.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/netlify/-/netlify-10.1.0.tgz#fb7dc14ab96e382f013f50df993d7e4af0353364" + integrity sha512-c6ljxmQKc6CHXVlkAvxQc+YrI7vqnm2rHocucGflycRIm981sWkEM/GzMirF4ykgPAeMGltLBhFdjOO7OTI2Hw== + dependencies: + "@netlify/open-api" "^2.7.0" + lodash.camelcase "^4.3.0" + micro-api-client "^3.3.0" + node-fetch "^2.6.1" + omit.js "^2.0.2" + p-wait-for "^3.2.0" + qs "^6.9.6" + no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" @@ -12903,7 +13000,7 @@ term-size@^2.1.0: resolved "https://registry.yarnpkg.com/term-size/-/term-size-2.2.1.tgz#2a6a54840432c2fb6320fea0f415531e90189f54" integrity sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg== -terminal-link@^2.0.0: +terminal-link@^2.0.0, terminal-link@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== From 7ebca9afc5afd879faf1c6d1dc4aaa945bf775ae Mon Sep 17 00:00:00 2001 From: Michaelpalacce Date: Tue, 21 Dec 2021 16:29:49 +0000 Subject: [PATCH 007/106] feat/alphabetical-sort (#1162) Alphabetical sorting. Disables re-ordering when applied. Does not work with the search button as expected, but neither do the filters tbh... Works fine with the search in the filters menu. I know we talked about having a dropdown but since this is pretty much finished I thought I'd submit a PR. I am a bit short on time these days but may submit a new PR to add the dropdown ( should be simple enough ) Co-authored-by: Stefan Genov Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1162 Reviewed-by: konrad Reviewed-by: Dominik Pschenitschni Co-authored-by: Michaelpalacce Co-committed-by: Michaelpalacce --- src/components/list/partials/filters.vue | 48 ++++++++++++++++-------- src/components/tasks/mixins/taskList.js | 1 - src/i18n/lang/en.json | 1 + src/views/list/views/List.vue | 24 ++++++++---- 4 files changed, 50 insertions(+), 24 deletions(-) diff --git a/src/components/list/partials/filters.vue b/src/components/list/partials/filters.vue index 039061ac3..cbbb82f14 100644 --- a/src/components/list/partials/filters.vue +++ b/src/components/list/partials/filters.vue @@ -1,23 +1,24 @@