valoq
3a8cc9edda
fix subcommand
2025-07-12 18:26:29 +02:00
valoq
a4ff65f44c
improve code structure
2025-07-12 18:20:15 +02:00
valoq
133f46a2c8
add missing parameter
2025-07-12 18:08:39 +02:00
valoq
78b993c500
complete disable-sandbox option
2025-07-12 17:25:25 +02:00
valoq
7f0d1e72ec
add disable-sandbox option
2025-07-12 16:58:21 +02:00
valoq
6ccc7a3972
allow multiple paths
2025-06-29 15:48:53 +02:00
valoq
1af69600ad
improve list restrictions
2025-06-29 14:22:28 +02:00
valoq
3799f9ee5b
fix edge cases
2025-06-29 13:26:10 +02:00
valoq
bf22fdaf50
complete decompress and list commands
2025-06-29 12:24:54 +02:00
valoq
a6b3e96df5
improve code structure
2025-06-29 12:10:20 +02:00
tommady
da9b32a366
Fix 7z BadSignature error when compressing and then listing ( #819 )
2025-05-17 13:00:25 -03:00
João Marcos
c8f97197c3
Give good error messages when archive extensions are invalid ( #817 )
...
+ simplify unit tests, don't require them to start the logger
+ unrelated TODOs
2025-05-06 00:08:38 -03:00
Amyspark
07967927dd
feat: Make bzip3 optout ( #814 )
...
Co-authored-by: João Marcos <marcospb19@hotmail.com>
2025-05-03 20:43:59 -03:00
tommady
1ff1932e3d
Merge folders in decompression ( #798 )
...
Signed-off-by: tommady <tommady@users.noreply.github.com>
2025-05-01 04:20:33 -03:00
Talison Fabio
c97bb6a2d6
feat: Add flag '--no-smart-unpack' to disable smart unpack ( #809 )
2025-04-28 11:03:50 -03:00
tommady
b9b1e11303
Store symlinks by default and add --follow-symlinks
to toggle it ( #789 )
2025-04-16 17:43:46 -03:00
Talison Fabio
c584170a24
tweak: replace '.tmp-ouch-' prefix with 'tmp-ouch-' for smart unpack ( #788 )
2025-04-08 11:53:31 -03:00
Talison Fabio
c6cbf6e157
perf: replace .count()
from iterators to more performative operations
2025-04-07 21:38:41 -03:00
Talison Fabio
3bf6aaa810
chore: improvements
2025-04-04 18:30:50 -03:00
Talison Fabio
081642724e
cargo clippy
2025-04-04 18:30:50 -03:00
Talison Fabio
bb22cbb738
fix: check valid empty directory
2025-04-04 18:30:50 -03:00
Talison Fabio
3258cbef5b
refactor: improve execute_decompression legibility
2025-04-04 18:30:50 -03:00
Talison Fabio
f65444d2fb
feat: add conditional smart_unpack when --dir is provided
2025-04-04 18:30:50 -03:00
Talison Fabio
4f9a786e57
feat: add flag to check when use specify --dir
2025-04-04 18:30:50 -03:00
Talison Fabio
31dd9eb923
feat: Add rename option in overwrite menu ( #779 )
...
* feat: Add generic Choice prompt implementation
* feat: use ChoicePrompt in user_wants_to_continue method
* feat: add "rename" option in ask_to_create_file method
* feat: check accessible mode for choises prompt
* feat: rename file in "ask_to_create_file" rename action
* feat: create "resolve_path" for smart_unpack to deal with rename
* feat: use resolve_path instead clear_path in smart_unpack
* fix: remove unused clear_path function
* chore: cargo fmt
* Add docs
* refactor: rename "resolve_path" method
* chore: fix ChoicePrompt doc
* doc: improve doc of resolve_path_conflict
* fix: out of bound when type answer bigger than some choice
* doc: improve rename_path docs
* chore: cargo fmt
* chore: revert user_wants_to_continue
* fix: update error message when find EOF in choise prompt response
* revert: update message error in ChoicePrompt instead Confirmation
* test: add overwrite and cancel tests
* test: Add rename test with "allow_piped_choice" new feature
* cargo fmt
* test: create test for autoincrement new renamed files
2025-03-30 19:19:21 -03:00
Pascal Hertleif
ecc05cdd60
feat: Add support for Brotli
...
Using https://crates.io/crates/brotli/7.0.0
#203
2025-02-12 13:59:18 -03:00
ttyS3
e1d7f1424a
refactor: improve code formatting in mod.rs
and logger.rs
2024-12-14 19:52:32 -03:00
ttyS3
77b01d170f
refactor(cli): move thread pool setup to command execution, use thread::spawn instead of rayon::spawn in the logger thread
2024-12-14 19:52:32 -03:00
ttyS3
5941afe66e
chore: remove decompress file params info to make ui_test_ok_decompress test case pass
2024-12-14 19:22:56 -03:00
ttyS3
353c360f6f
style: cargo fmt with nightly version
2024-12-14 19:22:56 -03:00
ttyS3
62f3d78f44
refactor(decompress): refactor function to use DecompressOptions struct to make linter happy (too_many_arguments)
2024-12-14 19:22:56 -03:00
ttyS3
55aa05b631
feat(cli): add option to remove source file after decompression
2024-12-14 19:22:56 -03:00
João Marcos P. Bezerra
7ea0625860
refac: simplify error treatment
2024-11-20 04:44:53 -03:00
João Marcos P. Bezerra
df6d2cea98
tweak: don't add period to end of each log
2024-11-18 00:32:17 -03:00
João Marcos P. Bezerra
e108e5b778
chore: improve message after moving file
2024-11-18 00:03:55 -03:00
João Marcos P. Bezerra
223f82d538
refac: simplify smart_unpack
2024-11-18 00:02:22 -03:00
João M. Bezerra
8edd8d2e1c
Replace .unwrap()
s by ?
2024-11-17 14:50:02 -03:00
Jonas Frei
32b50e9c7a
Added test code, handled BlockSize error, block size = 16MiB
...
Signed-off-by: Jonas Frei <freijon@pm.me>
2024-11-17 14:50:02 -03:00
Jonas Frei
ba9f9c00f3
Add support for bzip3
...
Closes #398
Signed-off-by: Jonas Frei <freijon@pm.me>
2024-11-17 14:50:02 -03:00
valoq
e2151c93d5
fix format to appease linter
2024-10-22 00:00:19 -03:00
valoq
83f28cf64a
change temporary path to a more unique name
2024-10-22 00:00:19 -03:00
João M. Bezerra
5dac8431f2
Fix --format
parsing extensions with dots
...
Also improve error reporting for `--format` with malformed or
unsupported extensions
This commit is very messy, as it also does an refac in the project,
which should ideally be in a separated commit
2024-09-07 00:24:50 -03:00
ttyS3
f8f1439ec5
style: cargo fmt
2024-09-06 21:47:03 -03:00
ttyS3
84f1ec4daf
refactor(zip): remove redundant password byte conversion
...
Simplify password handling by removing platform-specific code and utilizing ByteSlice for all conversions.
2024-09-06 21:47:03 -03:00
ttyS3
56f69e19a3
fix(archive): return result in list_archive functions
2024-09-06 21:47:03 -03:00
ttyS3
39cef75dfe
fix(error): return result in list_archive
...
Refactor list_archive functions to return results directly for better error handling.
2024-09-06 21:47:03 -03:00
ttyS3
67ca183a25
fix: fix windows build
2024-09-06 21:47:03 -03:00
ttyS3
2dad11d0ba
fix(password): update password handling for archives
...
Refactor password handling in archive functions to use &[u8] instead of impl AsRef<[u8]>. Include better error reporting for invalid UTF-8 passwords in 7z archives.
2024-09-06 21:47:03 -03:00
ttyS3
9b092fef71
style: cargo fmt
2024-09-06 21:47:03 -03:00
ttyS3
3392730d66
style: lint the code
2024-09-06 21:47:03 -03:00