dependabot[bot]
14e6ee79fa
build(deps): bump the common-golang-dependencies group with 1 update ( #3173 )
...
Bumps the common-golang-dependencies group with 1 update: [google.golang.org/api](https://github.com/googleapis/google-api-go-client ).
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.132.0...v0.133.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 17:48:19 -07:00
Robert Sammelson
46d5e0a24c
fix: mac tray icon ( #3170 )
2023-07-22 12:53:23 -07:00
Niraj Tolia
22d2d6dfc1
fix: upgrade electron-updater from 6.1.2 to 6.1.3 ( #3169 )
...
Snyk has created this PR to upgrade electron-updater from 6.1.2 to 6.1.3.
See this package in npm:
https://www.npmjs.com/package/electron-updater
See this project in Snyk:
https://app.snyk.io/org/ntolia/project/5873ddd0-25ef-4a90-8449-f10121a81cf2?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-07-21 17:08:20 -07:00
Niraj Tolia
e78fd3cdd2
fix: upgrade electron-updater from 6.1.1 to 6.1.2 ( #3150 )
...
Snyk has created this PR to upgrade electron-updater from 6.1.1 to 6.1.2.
See this package in npm:
https://www.npmjs.com/package/electron-updater
See this project in Snyk:
https://app.snyk.io/org/kopia/project/8d808158-51d1-4cf8-b3e0-40e912ecfd63?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-07-21 19:05:42 +00:00
Julio Lopez
ca6d6acad8
fix(ci): avoid hung CI jobs while notarizing the kopia app on MacOS ( #3168 )
...
Avoid hanging while notarizing the UI on MacOS for PRs in the same repo.
Unset various variables, including KOPIA_UI_NOTARIZE, when
FORCE_KOPIA_UI_SIGN is not specified
2023-07-21 11:33:40 -07:00
dependabot[bot]
ad9d51f3a9
build(deps-dev): bump the kopia-ui-npm-dependencies group ( #3167 )
...
Bumps the kopia-ui-npm-dependencies group in /app with 1 update: [electron](https://github.com/electron/electron ).
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v25.3.0...v25.3.1 )
---
updated-dependencies:
- dependency-name: electron
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: kopia-ui-npm-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 05:21:02 +00:00
Julio Lopez
a3dd754612
fix(deps): have dependabot ignore kopia/htmluibuild updates ( #3166 )
2023-07-20 21:48:26 -07:00
Christoph Anderson
90985b972e
fix(ci): add test for theme selection ( #3157 )
...
* - Added test for changing themes
- Encapsulated the creation of a test repository in a function
- Added test for changing the byte representation
- Added test for changing the pagination
* - Fixed byte representation test
* - Fixed lint
* - Another lint fix
---------
Co-authored-by: lupusA <lupuapps@gmail.com >
2023-07-20 19:44:00 -07:00
ashmrtn
2b73527b43
refactor(general): Cleaner error checking in retention tests ( #3164 )
...
* More robust error comparisons in retention tests
Update tests for retention to use `ErrorIs` checks instead of comparing
error messages.
* Use `require.NoError` in retention tests
Minor cleanup to reduce branches in code by using `require.NoError`
instead of if-blocks and `t.Fatal`.
2023-07-21 00:29:17 +00:00
Julio Lopez
d97679608e
fix(cli): preserve error exit code when '--json' output is specified ( #3163 )
...
Changes kopia's behavior to match the exit code that would
have been returned when the `--json` flag was not specified.
`kopia snapshot create my/path --json` terminates with a 0
status code in cases where
`kopia snapshot create my/path` terminates with a
non-zero exit code.
One such case is when there are permissions errors reading
files or directories to snapshot.
Adds end-to-end tests for snapshot create with '--json' flag
2023-07-20 06:39:40 -07:00
Jarek Kowalski
cb98abbc2c
feat(snapshots): added ability to use cron expressions to schedule snapshots ( #3149 )
...
* feat(snapshots): added ability to use cron expressions to schedule snapshots
We use `github.com/hashicorp/cronexpr` to parse and evaluate expressions,
as documented in https://github.com/hashicorp/cronexpr#implementation
* upgrade ui
* pr feedback
2023-07-19 19:26:17 -07:00
dependabot[bot]
94cd626ee7
build(deps): bump the common-golang-dependencies group with 1 update ( #3160 )
...
Bumps the common-golang-dependencies group with 1 update: [google.golang.org/api](https://github.com/googleapis/google-api-go-client ).
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.131.0...v0.132.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 18:23:24 -07:00
Julio Lopez
b0ce67b21b
test(providers): use target ref in repo checkout ( #3159 )
2023-07-18 17:30:26 -07:00
Julio Lopez
78e9aee70c
test(providers): split providers test workflow ( #3158 )
...
* Move core providers test to `providers-core.yml` workflow
* Add workflow for extra providers
* Allow manual runs of the workflows
2023-07-18 17:19:15 -07:00
Julio Lopez
e2ee231008
chore(deps): add Azure to common-golang dependabot group ( #3155 )
2023-07-18 07:24:12 -07:00
dependabot[bot]
ffa5b64e03
build(deps): bump the kopia-ui-npm-dependencies group ( #3156 )
...
Bumps the kopia-ui-npm-dependencies group in /app with 4 updates: [semver](https://github.com/npm/node-semver ), [@playwright/test](https://github.com/Microsoft/playwright ), [electron](https://github.com/electron/electron ) and [playwright](https://github.com/Microsoft/playwright ).
Updates `semver` from 7.5.3 to 7.5.4
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v7.5.3...v7.5.4 )
Updates `@playwright/test` from 1.35.1 to 1.36.1
- [Release notes](https://github.com/Microsoft/playwright/releases )
- [Commits](https://github.com/Microsoft/playwright/compare/v1.35.1...v1.36.1 )
Updates `electron` from 25.2.0 to 25.3.0
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v25.2.0...v25.3.0 )
Updates `playwright` from 1.35.1 to 1.36.1
- [Release notes](https://github.com/Microsoft/playwright/releases )
- [Commits](https://github.com/Microsoft/playwright/compare/v1.35.1...v1.36.1 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: kopia-ui-npm-dependencies
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: kopia-ui-npm-dependencies
- dependency-name: electron
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: kopia-ui-npm-dependencies
- dependency-name: playwright
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: kopia-ui-npm-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 07:10:39 +00:00
Christoph Anderson
ddd90fa27d
docs(site): Fix ransomware protection section ( #3139 )
...
* Fix ransomware protection section: fix for the code section for AWS
* Adjusted index for advanced section.
2023-07-17 22:40:44 -07:00
Julio Lopez
ba4558b715
chore(infra): run golangci_lint in Go version from go.mod ( #3154 )
...
Reverts to default behavior fro golangci_lint
2023-07-17 22:25:44 -07:00
Randy Sugianto (Yuku)
46c35e078f
fix: Update instructions to start server in BUILD.md ( #3037 )
...
server -> server start
2023-07-17 21:03:13 -07:00
dependabot[bot]
b6e1634e45
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore ( #3152 )
...
Bumps [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.6.1...sdk/azcore/v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
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>
2023-07-17 20:54:14 -07:00
dependabot[bot]
735d389632
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/storage/azblob ( #3153 )
...
Bumps [github.com/Azure/azure-sdk-for-go/sdk/storage/azblob](https://github.com/Azure/azure-sdk-for-go ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v1.0...v1.1 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
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>
2023-07-17 18:54:30 -07:00
dependabot[bot]
4d83428638
build(deps): bump the common-golang-dependencies group with 2 updates ( #3151 )
...
Bumps the common-golang-dependencies group with 2 updates: [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) and [google.golang.org/api](https://github.com/googleapis/google-api-go-client ).
Updates `github.com/minio/minio-go/v7` from 7.0.59 to 7.0.61
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.59...v7.0.61 )
Updates `google.golang.org/api` from 0.130.0 to 0.131.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.130.0...v0.131.0 )
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 18:50:17 -07:00
Julio Lopez
f962d93159
refactor(providers): use minio SDK credentials package in S3 STS test ( #3148 )
...
* refactor: return credentials.Value in createMinioSessionToken helper
* refactor: use minio SDK credentials package in STS test
* go mod tidy -compat=1.20 => removes dependency on AWS SDK v1 packages
* cleanup: unalias use of minio credentials package
2023-07-16 09:51:40 -07:00
Jarek Kowalski
d8a33bdd44
feat(ui): UI updates (Theming support, action fix) ( #3145 )
...
* feat(ui): UI updates (Theming support, action fix)
- theming support https://github.com/kopia/htmlui/pull/150
- actions fix https://github.com/kopia/htmlui/pull/163
* disable dark mode selector test
2023-07-13 21:36:08 -07:00
Raghuram Devarakonda
9f6b86ff33
docs(site): fix typo ( #3144 )
...
Corrects a couple of spelling mistakes.
2023-07-13 18:36:11 +00:00
Julio Lopez
c017d264b2
style(general): minor followups to #3041 ( #3141 )
...
* explicitly pass username and hostname instead of repo writer
* nit: name return values
2023-07-11 18:56:46 -07:00
Maxim Schuwalow
851fe6c193
feat(cli): add --override-source parameter to allow overriding source when snapshotting ( #3041 )
2023-07-11 17:34:30 -07:00
Christoph Anderson
f42c9fb521
Potential fix for TestLogFileMaxTotalSize. ( #3140 )
...
LessOrEquall will return true for edge cases.
Co-authored-by: lupusA <lupuapps@gmail.com >
2023-07-11 20:31:24 +00:00
lyndon
187ddd3ee1
fix(repository): fix s3 list bucket permission error ( #3072 )
...
Removes check for bucket existence
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-07-11 17:38:24 +00:00
dependabot[bot]
f53b595ba0
build(deps): bump the common-golang-dependencies group with 6 updates ( #3137 )
...
Bumps the common-golang-dependencies group with 6 updates:
| Package | Update |
| --- | --- |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | 0.10.0 to 0.11.0 |
| [golang.org/x/mod](https://github.com/golang/mod ) | 0.11.0 to 0.12.0 |
| [golang.org/x/net](https://github.com/golang/net ) | 0.11.0 to 0.12.0 |
| [golang.org/x/oauth2](https://github.com/golang/oauth2 ) | 0.9.0 to 0.10.0 |
| [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) | 0.129.0 to 0.130.0 |
| [google.golang.org/grpc](https://github.com/grpc/grpc-go ) | 1.56.1 to 1.56.2 |
Updates `golang.org/x/crypto` from 0.10.0 to 0.11.0
- [Commits](https://github.com/golang/crypto/compare/v0.10.0...v0.11.0 )
Updates `golang.org/x/mod` from 0.11.0 to 0.12.0
- [Commits](https://github.com/golang/mod/compare/v0.11.0...v0.12.0 )
Updates `golang.org/x/net` from 0.11.0 to 0.12.0
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.12.0 )
Updates `golang.org/x/oauth2` from 0.9.0 to 0.10.0
- [Commits](https://github.com/golang/oauth2/compare/v0.9.0...v0.10.0 )
Updates `google.golang.org/api` from 0.129.0 to 0.130.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.129.0...v0.130.0 )
Updates `google.golang.org/grpc` from 1.56.1 to 1.56.2
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.2 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 23:06:48 -07:00
dependabot[bot]
12373e9254
build(deps): bump github.com/aws/aws-sdk-go from 1.44.256 to 1.44.298 ( #3138 )
2023-07-11 00:10:57 +00:00
PhracturedBlue
368bdb52f9
docs(site): Add documentation about Ransomware Protection ( #2160 )
...
* Add documentation about Ransomware Protection
* Clarify support for GCS
* Fix typos and align #2179 with PR
* Remove FIXMEs. Add a paragraph on MFA
* Add comments on compliance mode and the irrevertable nature of object locks
* Add an extra section on Lifecycle management
* Remove collapsible section for better compatibility
2023-07-10 13:01:44 -07:00
Julio Lopez
537ab39236
chore(general): cleanup "stale" error naming ( #3129 )
...
Rename IsESTALE to IsStale to make it consistent with
the conventions in the Go ecosystem
Use errors.Is() instead of == comparison. It is more robust.
2023-07-06 10:59:58 -07:00
Julio Lopez
439fbbf022
fix(infra): use correct parameter for message in stale action ( #3126 )
2023-07-05 21:06:13 -07:00
Julio Lopez
392960a2b4
chore(infra): update stale workflow settings ( #3124 )
...
- add message to provide additional information when issues or
PRs are closed.
- exclude PRs and issues with the 'keep-open' label
- run twice a week
2023-07-05 18:54:17 -07:00
NickIAm
c367e9d429
chore(general): output content rewritten bytes to INFO ( #3061 )
...
It is useful information and not extremely verbose.
Log it at INFO level for quick reference.
2023-07-06 00:16:47 +00:00
dependabot[bot]
35b1c43c32
build(deps): bump the kopia-ui-npm-dependencies group in /app with 8 updates ( #3120 )
...
Dependabot couldn't find the original pull request head commit, 0e05e35b342c5b5aa6b1fb4122d87ba9c2cadb22.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 23:31:25 -07:00
Jarek Kowalski
53d799ee51
chore(ci): skip license check for non-dev dependencies since we don't ship those ( #3121 )
2023-07-03 22:59:01 -07:00
dependabot[bot]
4ea3f4a0c1
build(deps): bump the common-golang-dependencies group with 9 updates ( #3115 )
2023-07-04 00:42:15 +00:00
dependabot[bot]
c3965b1c69
build(deps): bump github.com/studio-b12/gowebdav ( #3116 )
2023-07-04 00:19:20 +00:00
dependabot[bot]
deeefa44e9
build(deps): bump github.com/klauspost/reedsolomon from 1.11.7 to 1.11.8 ( #3117 )
2023-07-04 00:18:29 +00:00
dependabot[bot]
b7adf6da77
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 ( #3119 )
2023-07-03 23:34:46 +00:00
PhracturedBlue
42aad38540
feat(repository): Implement retention time extension on S3 buckets using Object Locks ( #2179 )
...
* Implement ability to extend retention time on S3 buckets using Object Locks
* Move object-lock extension to maintenance.Params.
* Use a default function for unsupported extensions instead of duplicating code
* Fix potential lockup during object-lock extension
* Fix race condition. Add more code coverage
* rebase to V3
* Add checks to prevent user from setting Retention Period < Full Maintenance Interval
---------
Co-authored-by: Ashlie Martinez <ashmrtnz@alcion.ai >
2023-07-03 16:20:02 -07:00
Jarek Kowalski
a368a41973
chore(ci): typo fix ( #3118 )
2023-07-03 15:10:03 -07:00
Jarek Kowalski
25348a4820
chore(ci): group dependabot upgrades and switch to weekly ( #3103 )
2023-07-03 15:05:16 -07:00
dependabot[bot]
3b26da5463
build(deps-dev): bump playwright-core from 1.33.0 to 1.35.1 in /app ( #3104 )
2023-07-03 21:41:48 +00:00
Jarek Kowalski
d6aa6c9fbb
chore(ci): restore dependabot removed in PR3017 ( #3102 )
...
This reverts commit f9de453efc .
Turns out Snyk has many more quirks than Dependabot and our dependencies
have not been regularly updated.
2023-07-03 21:06:29 +00:00
Jarek Kowalski
cd69801082
chore(ci): fix npm audit failure by removing electron-first-run and upgrading electron and semver ( #3101 )
...
Fixed semi-manually:
```
npm remove electron-first-run
npm install electron@25.0.0
npm install semver@7.5.3
```
2023-07-03 20:25:28 +00:00
chaitalisg
d2ddda7114
test(general): Handle no space left errors in robustness tests ( #3043 )
...
* Handle no space left errors in robustness tests
* fix lint error
2023-06-20 16:33:55 +00:00
Jarek Kowalski
3eef67d2dc
chore(ci): bump gotestsum to v1.10.0 ( #3083 )
2023-06-18 13:26:24 -07:00