Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add data_dir option to command using a client #9263

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cspell/custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ shortid
SignatureBytes
signingkey
SignKey
signtool
singlehtml
slughash
SmartCard
Expand Down
46 changes: 23 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ publish = false
repository = "https://github.com/Scille/parsec-cloud"
# We use the same version for all crates.
# This comment is used to prevent `taplo` from adding multiple spaces between the version and the comment.
version = "3.2.1-a.0+dev" # __PARSEC_VERSION__
version = "3.2.3-a.0+dev" # __PARSEC_VERSION__

[workspace.lints.clippy]
undocumented_unsafe_blocks = "deny"
Expand Down
39 changes: 38 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,46 @@
History
=======


.. towncrier release notes start

Parsec v3.2.2 (2024-12-16)
--------------------------

Features
~~~~~~~~

* Allows overwriting default config & data directory during CLI command
``invite claim``
(`#8937 <https://github.com/Scille/parsec-cloud/issues/8937>`__)

Bugfixes
~~~~~~~~

* Fix infinite loop during synchronization of a workspace when importing a file
using the CLI command ``workspace import``
(`#8941 <https://github.com/Scille/parsec-cloud/issues/8941>`__)

* Fix rare freeze when the folder displayed by the GUI is remotely modified.
(`#9002 <https://github.com/Scille/parsec-cloud/issues/9002>`__)

* Fix CLI command ``invite user`` generating a device invitation link instead of
a user invitation link.
(`#9186 <https://github.com/Scille/parsec-cloud/issues/9186>`__)

* Fix CLI command ``invite list`` crashing when listing more than one entry
(`#9176 <https://github.com/Scille/parsec-cloud/issues/9176>`__)

Parsec v3.2.1 (2024-12-03)
--------------------------

Bugfixes
~~~~~~~~

* Fix the server shutdown hanging indefinitely while a client is connected
through SSE.
(`#9099 <https://github.com/Scille/parsec-cloud/issues/9099>`__)



Parsec v3.2.0 (2024-11-22)
--------------------------
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PARSEC BUSINESS SOURCE LICENSE AGREEMENT

Business Source License 1.1
Licensor: Scille SAS
Licensed Work: Parsec v3.2.1-a.0+dev
Licensed Work: Parsec v3.2.3-a.0+dev
The Licensed Work is © 2016-2021 Scille SAS

Additional Use Grant: You may make production use of the Licensed Work, provided
Expand All @@ -19,7 +19,7 @@ Additional Use Grant: You may make production use of the Licensed Work, provided
2) use the Licensed Work for use in a governmental or any
for-profit entity with more than fifty (50) users.

Change Date: Nov 21, 2028
Change Date: Dec 15, 2028


Change License: GNU Affero General Public License, Version 3 (AGPLv3)
Expand Down
4 changes: 2 additions & 2 deletions bindings/electron/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libparsec_bindings_electron",
"version": "3.2.1-a.0+dev",
"version": "3.2.3-a.0+dev",
"description": "",
"main": "dist/libparsec.node",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions bindings/web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "libparsec_bindings_web",
"private": true,
"version": "3.2.1-a.0+dev",
"version": "3.2.3-a.0+dev",
"license": "BUSL-1.1",
"scripts": {
"build": "node scripts/build.js",
Expand Down
6 changes: 2 additions & 4 deletions cli/src/commands/device/export_recovery_device.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
// Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS

use std::path::PathBuf;

use libparsec::{DateTime, DeviceLabel};

use crate::utils::*;

crate::clap_parser_with_shared_opts_builder!(
#[with = config_dir, device, password_stdin]
#[with = client_opts]
pub struct Args {
/// Path where to save recovery device data
output: PathBuf,
output: std::path::PathBuf,
}
);

Expand Down
2 changes: 1 addition & 1 deletion cli/src/commands/invite/cancel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use libparsec::InvitationToken;
use crate::utils::*;

crate::clap_parser_with_shared_opts_builder!(
#[with = config_dir, device, password_stdin]
#[with = client_opts]
pub struct Args {
/// Invitation token
#[arg(short, long, value_parser = InvitationToken::from_hex)]
Expand Down
2 changes: 1 addition & 1 deletion cli/src/commands/invite/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use libparsec::{InvitationType, ParsecInvitationAddr};
use crate::utils::*;

crate::clap_parser_with_shared_opts_builder!(
#[with = config_dir, device, password_stdin]
#[with = client_opts]
pub struct Args {}
);

Expand Down
2 changes: 1 addition & 1 deletion cli/src/commands/invite/greet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use libparsec_client::Client;
use crate::utils::*;

crate::clap_parser_with_shared_opts_builder!(
#[with = config_dir, device, password_stdin]
#[with = client_opts]
pub struct Args {
/// Invitation token
#[arg(value_parser = InvitationToken::from_hex)]
Expand Down
2 changes: 1 addition & 1 deletion cli/src/commands/invite/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use libparsec::{authenticated_cmds::latest::invite_list::InviteListItem, Invitat
use crate::utils::*;

crate::clap_parser_with_shared_opts_builder!(
#[with = config_dir, device, password_stdin]
#[with = client_opts]
pub struct Args {}
);

Expand Down
Loading
Loading