Jarek Kowalski
4a47bc3210
logging: switched from go-logging to zap ( #1376 )
...
This is much more efficient in terms of memory allocations
and speeds up backup due to less GC pressure.
Fixes #1345
2021-10-12 22:52:24 -07:00
Jarek Kowalski
8b760b66a8
logging: added memoization of Logger instances per context ( #1369 )
2021-10-09 05:02:18 -07:00
Z
46cf07aa7c
add simple selector for #1320 ( #1355 )
2021-10-04 22:41:25 -07:00
dependabot[bot]
cae1c44c9e
build(deps): bump @testing-library/react in /htmlui ( #1327 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 12.0.0 to 12.1.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.0.0...v12.1.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-03 18:13:12 -07:00
dependabot[bot]
118706cc27
build(deps): bump postcss from 8.3.6 to 8.3.8 in /htmlui ( #1323 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.3.6 to 8.3.8.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.3.6...8.3.8 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-03 17:16:02 -07:00
dependabot[bot]
2712ae1139
build(deps): bump bootstrap from 5.1.0 to 5.1.1 in /htmlui ( #1325 )
...
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: bootstrap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-02 11:18:04 -07:00
dependabot[bot]
6954ccdf28
build(deps): bump axios from 0.21.4 to 0.22.0 in /htmlui ( #1329 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.4 to 0.22.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.4...v0.22.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-01 22:59:01 -07:00
Jarek Kowalski
36027d7131
ui: fixed directory selector and browse buttons ( #1310 )
2021-09-21 18:51:24 -07:00
Jarek Kowalski
b7abeed4e5
ui: fixed showing empty result pages ( #1306 )
...
Fixes #1149
This is a more universal fix for #1297
2021-09-20 06:45:15 -07:00
Jarek Kowalski
e9a82c974f
ui: fix pagination after toggling 'show identical snapshots' ( #1302 )
2021-09-19 21:18:19 -07:00
Jarek Kowalski
6d40d2b7ad
ui: Added UI options to select shallow restore options ( #1301 )
2021-09-19 09:57:26 -07:00
Jarek Kowalski
928150fe6b
linter: upgrade to 1.42.1 ( #1292 )
2021-09-14 19:11:39 -07:00
Jarek Kowalski
7e68d8e4c1
Consolidated format version flags ( #1284 )
2021-09-08 18:44:03 -07:00
Jarek Kowalski
2721fba2e2
Upgraded remaining UI deps ( #1283 )
...
* htmlui: more upgrades
* app: more upgrades
2021-09-06 17:32:37 -07:00
Jarek Kowalski
6c83cc6a21
ui: upgraded all NPM dependencies for htmlui/ and app/ ( #1278 )
2021-09-06 17:04:30 -07:00
dependabot[bot]
17b430603d
build(deps): bump postcss from 8.3.5 to 8.3.6 in /htmlui ( #1217 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.3.5 to 8.3.6.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.3.5...8.3.6 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 21:12:21 -07:00
dependabot[bot]
adbf2131bb
build(deps): bump @testing-library/react in /htmlui ( #1169 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.2.7 to 12.0.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.2.7...v12.0.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-17 20:37:08 -07:00
Jarek Kowalski
42e5661bf4
ci: added license check using github.com/frapposelli/wwhrd ( #1200 )
...
* ci: added license check using github.com/frapposelli/wwhrd
* ci: also check NPM licenses
* readme: removed FOSSA badge
* Makefile: install NPM dependencies before license check
2021-07-17 09:58:25 -07:00
Jarek Kowalski
f605f52624
Upgraded bootstrap to v5 and react-bootstrap accordingly ( #1192 )
...
* htmlui: upgraded bootstrap to v5.0.2 and react-bootstrap to v5
* htmlui: fixed test warnings
* app: removed unused dependencies on bootstrap and react-bootstrap
* more style fixes
2021-07-10 22:09:23 -07:00
dependabot[bot]
a917027544
build(deps): bump postcss from 8.2.15 to 8.3.5 in /htmlui ( #1162 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.2.15 to 8.3.5.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.2.15...8.3.5 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-03 19:09:49 -07:00
dependabot[bot]
9ceb302c96
build(deps): bump @testing-library/jest-dom in /htmlui ( #1164 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.12.0 to 5.14.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.12.0...v5.14.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-03 19:07:44 -07:00
Jarek Kowalski
e15a79474c
azure: added support for using SAS Tokens instead of storage keys ( #1093 )
...
Fixes #1071
2021-05-22 12:43:55 -07:00
Jarek Kowalski
40510c043d
Support for content-level compression ( #1076 )
...
* cli: added a flag to create repository with v2 index features
* content: plumb through compression.ID parameter to content.Manager.WriteContent()
* content: expose content.Manager.SupportsContentCompression
This allows object manager to decide whether to create compressed object
or let the content manager do it.
* object: if compression is requested and the repo supports it, pass compression ID to the content manager
* cli: show compression status in 'repository status'
* cli: output compression information in 'content list' and 'content stats'
* content: compression and decompression support
* content: unit tests for compression
* object: compression tests
* testing: added integration tests against v2 index
* testing: run all e2e tests with and without content-level compression
* htmlui: added UI for specifying index format on creation
* cli: additional tests for 'content ls' and 'content stats'
* applied pr suggestions
2021-05-22 05:35:27 -07:00
Jarek Kowalski
5179ad2cd2
cli: test + misc improvements ( #1083 )
...
* cli: Added --max-examples-per-bucket flag to 'kopia snapshot estimate'
Added and cleaned up a bunch of unit tests.
Fixes #1054
* cli: misc tests to increase code coverage of the cli package
* ci: move code coverage run into separate GH job
2021-05-17 21:47:11 -07:00
Jarek Kowalski
90a11d4649
NPM package upgrades ( #1078 )
...
* npm: updated all packages
* npm: upgraded packages in app/
2021-05-16 16:19:06 -07:00
dependabot[bot]
42be5cd419
build(deps): bump react-table from 7.6.3 to 7.7.0 in /htmlui ( #1036 )
...
Bumps [react-table](https://github.com/tannerlinsley/react-table ) from 7.6.3 to 7.7.0.
- [Release notes](https://github.com/tannerlinsley/react-table/releases )
- [Changelog](https://github.com/tannerlinsley/react-table/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tannerlinsley/react-table/compare/v7.6.3...v7.7.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-16 15:23:31 -07:00
dependabot[bot]
56b5f6bb3b
build(deps): bump @testing-library/jest-dom in /htmlui ( #1038 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.11.10 to 5.12.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.10...v5.12.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-16 15:17:03 -07:00
Jarek Kowalski
0fb4ba41b5
ui: show a spinner when saving/deleting policy ( #1018 )
...
Fixes #999
2021-04-25 21:54:56 -07:00
Jarek Kowalski
a5e1ecbbad
ui: open .gitignore help in a new window ( #1016 )
...
Fixes #1011
2021-04-25 21:24:10 -07:00
Jarek Kowalski
069299f21d
Policy path validation ( #1006 )
...
* policy: added path validation to disallow non-root paths ending with slash or backslash
* ui: unified error alerts
2021-04-21 23:04:03 -07:00
Julio López
52240b7772
build(deps): bump @fortawesome/free-regular-svg-icons in /htmlui ( #971 )
...
Bumps [@fortawesome/free-regular-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 5.15.2 to 5.15.3.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.15.2...5.15.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 18:57:47 -07:00
Jarek Kowalski
f4347886b8
logging: simplified log levels ( #954 )
...
Removed Warning, Notify and Fatal:
* `Warning` => `Error` or `Info`
* `Notify` => `Info`
* `Fatal` was never used.
Note that --log-level=warning is still supported for backwards
compatibility, but it is the same as --log-level=error.
Co-authored-by: Julio López <julio+gh@kasten.io >
2021-04-09 07:27:35 -07:00
Jarek Kowalski
56fd511cb1
nit: fixed typo
2021-04-07 07:56:43 -07:00
dependabot[bot]
080e8067b6
build(deps): bump react-bootstrap from 1.4.3 to 1.5.2 in /htmlui ( #927 )
...
Bumps [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap ) from 1.4.3 to 1.5.2.
- [Release notes](https://github.com/react-bootstrap/react-bootstrap/releases )
- [Changelog](https://github.com/react-bootstrap/react-bootstrap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/react-bootstrap/react-bootstrap/compare/v1.4.3...v1.5.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-06 08:42:24 -07:00
dependabot[bot]
5e4b7757f8
build(deps): bump @testing-library/jest-dom in /htmlui ( #929 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.11.9 to 5.11.10.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.9...v5.11.10 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 21:44:09 -07:00
dependabot[bot]
3239f6e703
build(deps): bump @testing-library/react from 9.5.0 to 11.2.6 in /htmlui ( #923 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 9.5.0 to 11.2.6.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v9.5.0...v11.2.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 21:06:40 -07:00
dependabot[bot]
723e44e08b
build(deps): bump @fortawesome/free-solid-svg-icons in /htmlui ( #931 )
...
Bumps [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 5.15.2 to 5.15.3.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.15.2...5.15.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 23:25:56 -07:00
dependabot[bot]
3e59f238bf
build(deps): bump @fortawesome/fontawesome-svg-core in /htmlui ( #926 )
...
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) from 1.2.34 to 1.2.35.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 22:45:54 -07:00
Jarek Kowalski
16282b5b61
Makefile refactoring + publish scoop package ( #907 )
...
* Makefile: refactoring
- added signing of windows exe in a zip package
- removed Windows build from goreleaser
- removed homebrew from goreleaser
- enabled incremental builds
* ci: publish scoop package
2021-03-22 22:39:24 -07:00
Jarek Kowalski
fd623018cf
npm: upgrade react-scripts to 4.x ( #904 )
2021-03-21 22:15:55 -07:00
Jarek Kowalski
335ff79e78
CI refactoring ( #903 )
...
* ci: publish additional binaries as artifacts
* ci: install {htmlui,app}/node_modules as part of ci-setup
* ci: added retry to improve robustness of builds
* ci: continue-on-error for non-pull-requests
* ci: moved publish-packages to Stage And Publish Artifacts phase
2021-03-21 15:17:39 -07:00
Jarek Kowalski
7e79553fb2
ui: show the current username@hostname as it is connecting to repository ( #886 )
2021-03-14 13:13:54 -07:00
Jarek Kowalski
00807f9c49
Fixed error flicker - replaced fancy error Popover which flickers with a simple tooltip. ( #883 )
...
* nit: replaced class with className in divs
* htmlui: replaced fancy error Popover which flickers with simple tooltip.
Fixes #827
2021-03-12 20:17:43 -08:00
Jarek Kowalski
0d19194a92
htmlui: urlencode path components ( #882 )
...
Fixes #847
Fises #838
2021-03-12 19:27:57 -08:00
Jarek Kowalski
132e2eef50
New snapshot UX - streamlined snapshot creation and policy setting ( #878 )
...
* uitask: added support for reporting string progress info
* server: report current directory as task progress
* snapshot: created reusable Estimate() method to be used during upload, cli estimate and via API
* cli: switched to snapshotfs.Estimate()
* server: added API to estimate snapshot size
* kopia-ui: fixed directory selector
* htmlui: streamlined new snapshot flow and cleaned up policy setting
See https://youtu.be/8p6csuoB3kg
2021-03-10 23:04:55 -08:00
Julio López
e9fa4b8968
Bumps elliptic from 6.5.3 to 6.5.4. ( #875 )
...
* build(deps): bump elliptic from 6.5.3 to 6.5.4 in /app
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump elliptic from 6.5.3 to 6.5.4 in /htmlui
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 17:46:39 -08:00
Jarek Kowalski
1f1465f4ba
Improvements and cleanups for connecting to kopia server ( #870 )
...
* repo: refactored connect code set up cache for server repositories
- improved logic to close the cache on last connection
- preemptively add all contents with a prefix to the cache
- refactored how config is loaded and saved
Now cache dir will be stored as relative and resolved to absolute as
part of loading and saving the file, in all other places cache dir
is expected to be absolute.
* server: removed cache directory from the API and UI
This won't be easily available and does not seem useful to expose
anyway.
* cli: enabled cache commands for server repositories
* cli: added KOPIA_CACHE_DIRECTORY environment variable
This is used on two occassions - when setting up connection (it gets
persisted in the config) and later when opening (to override the
cache location from config). It makes setting up docker container with
mounted cache somewhat easier with one environment variable.
* cli: show cache size for the server cache
* tls: present more helpful error message that includes SHA256 fingerprint of the TLS server on mismatch
* server: return the name of user who attempted to login when authentication fails
2021-03-07 11:25:21 -08:00
Jarek Kowalski
ac9f85967a
Added first-class support for fs.ErrorEntry for directory entries that could not be read or are unknown/unsupported ( #852 )
...
* policy: added errorHandling.ignoreUnknownTypes flag (defaults to true)
* cli: get/set ignore-unknown-types policy flag
* htmlui: added UI for setting ignore-unknown-types
* htmlui: fixed typo
* fs: return fs.ErrorEntry when a directory entry is not recognized (localfs and repofs)
* upload: explicitly handle unknown entry types by treating them as ignored errors
2021-03-01 06:16:26 -08:00
Julio López
7bafe51dcc
Replace go-bindata with //go:embed ( #844 )
...
* Replace htmlui_fallback.go with go:embed
* Replace go-bindata generated UI with go:embed
* Update site Go version to 1.16
* Update BUILD.md to reflect workflow with go:embed
2021-02-23 01:09:40 -08:00
Jarek Kowalski
de840547e6
Improved upload reporting ( #832 )
...
* blob: refactored upload reporting
Instead of plumbing this through blob storage context, we are passing
and explicit callback that reports uploads as they happen.
* htmlui: improved counter presentation
* nit: added missing UI route which fixes Reload behavior on the Tasks page
2021-02-13 10:51:11 -08:00