Jottalib

Latest version: v0.5.1

Safety actively analyzes 621907 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6

Bug fixes



Changed

- Add suport for folder download and file checksumming in jotta-download. Code by antonhagg
- Add session timeout and retries, from antonhagg

0.5.1

Bug fixes

- Check that we actually know from what byte to resume in the case of Incomplete files. Previously this would abort e.g. `jotta-scanner`, because it pulled file listings in a way that doesn't return incomplete file sizes. See issue 104 and 81. Thanks, cowai and jnylen for reports.
- When resuming uploads, restart upload if seeking in the source file fails. Related to the issue above.
- When encountering really large JFSFileDirLists, we now buffer the xml to disk to prevent lxml from bombing out on memory errors. 87
- Make sure all HTTP headers are strings. This fixes an issue that surfaced when `requests>2.10` tightened up their api, and consequently all our uploads would fail. It's good now, though :) Thank you eiaro for you report.


Changed

- The url escape logic is less buggy now, see 117

0.5

Regressions

Jottacloud has *changed the web API*, unfortunately this has dire effects for
the parts of our code that relies on web methods. The following `jottalib` methods are now
raising `NotImplementedError`.


- `JFS.restore()`
- `JFS.share()`


Investigations to update to the new API are underway. ***Help and patches are welcome.***


Bug fixes

- All code paths concerning the handling of bytestrings/unicode conversions are reviewed and we are doing things the right way now, eliminating a lot of encoding bugs.
- Never fail on file name encoding surprises. Fall back to decoding to ascii and drop curious characters.
- Remove pinning on `certifi`, see 96.
- Update monitor.py, to pass along `dry_run` argument to `_new`, see 106. Thanks for the fix, nuth!!
- Don't assume non strings have .name member. See issue 100. Thank you, thusoy
- Don't use utf-8 in console output on windows, from issue 85. Code by antonhagg
- Add .state property to file tuples returned from JFSFileDirList()
- Revamp logic in `JFS.JFSFileDirList` to be more resilient to unexpected file objects. See 88


Changed

- Update duplicity backend, as per 108. Default mount point for backups is now `Jotta/Archive`. Thanks, jkaberg!
- Add logging option to `jotta-share`, see 94. Thanks for the suggestion, jnylen!
- Better support for incomplete files in ls, see 82. Thank you for the code, thusoy
- Add `jotta-cat` for easy viewing of files.
- Add new method to get a list of the last changed files: `JFS.getLatest()`. See 51
- Set Jottacloud timestamp to mtime of the file we are uploading.
- Add `JFS.JFSCorruptFile` class, for - you guessed it - corrupt files
- Add `JFS.JFSsearchresult` class, to wrap search results
- Add dependency on chardet, to be more smart when encountering unknown file name encodings
- Add some code to bridge our way to python3 compability

0.4.2

Bug fixes

- Fix bug in installation script that left out `jottalib.contrib`.

0.4.1

Bug fixes

- Fix Unicode error in md5 hash routine, see 79. Thanks malinkb for the reports.
- Don't fail if `xattr` is not installed

Changed

- jotta-scanner: The default behaviour is now to never delete remote files, unless explicitly told so
by way of one of the new flags `--prune-files`, `--prune-folders` or `--prune-all`
See discussion in https://github.com/havardgulldahl/jottalib/pull/80. By cowai.

0.4

BREAKING CHANGES

- Some modules and scripts have been renamed. We realise this might cause inconvenience for some, but it has been long time coming.
o `jottacloudclientscanner.py` and `jottacloudclientmonitor.py` are long gone. Their new names are `jotta-scanner` and `jottalib-monitor` once you install it.
o Developers: The modules are also renamed: `jottalib.scanner` and `jottalib.monitor` are your new friends.

- `.netrc` parsing has changed. Update your entry to read **jottacloud.com**, instead of **jottacloud**


Changed

- A lot of new tests added, and some small bugs caught and fixed.

Bug fixes

- URLs are now properly escaped, see bug25, by cowai / Ari Selseng

Added

- Consistent paths, by mortenlj, see bug39
- jotta-scanner can keep checksums in `xattr` file attributes, if supported. This speeds up things.
- New strategy to cache dir entries for `fuse`, see 3fe71b237db4ea45bedadc4784225c889cbf8e91
- A lot of cli tools by thusoy/ Tarjei Husøy.
- Better logging messages by forsberg / Erik Forsberg
- Beginning of proper py3 support, by ttyridal / Torbjørn Tyridal
- Methods to create mountpoints and devices, by ttyridal
- Add support for exclude patterns, see 44 by mortenlj


Thanks to all contributors!

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.