Sam Schott
e079edc999
[config] simplify version instructions
2022-02-07 13:25:42 +01:00
Sam Schott
465a049832
update changelog
2022-02-07 00:52:39 +01:00
samschott
114b3fa2ea
Unified database table for sync errors ( #600 )
...
* store sync errors in database instead of config file
* [errors] record from instead of dest paths
* [config] remove upload_errors and download_errors entries
* define PersistentMutableSet in config
* [sync] simplify clearing sync errors
* [utils.serializer] generalise serialisation
* simplify clearing database tables
* [utils.orm] simplify sql statements
* [utils.orm] store path as bytes
* [main] trigger reindex after update
* [utils.orm] use metaclass for Model
* [database] set some primary key columns to not nullable
* [utils.orm] introduce advanced query syntax
* [sync] fix rescan detection of deleted items
* [sync] prune upload errors when restarting sync
Co-authored-by: Sam Schott <ss2151@cam.ac.uk>
2022-02-07 00:45:10 +01:00
Sam Schott
2f0846afd4
Bump version: 1.5.3 → 1.6.0.dev0
2022-02-06 00:25:03 +01:00
Sam Schott
061c88cc9e
[tests] test async folder sharing
2022-02-04 22:18:26 +01:00
samschott
d23d805400
Merge pull request #599 from samschott/add-client-share-tests
...
Add test for `DropboxClient.share_dir()`
2022-02-04 20:27:26 +01:00
Sam Schott
11072ed07c
[tests] add test for DropboxClient.share_dir()
2022-02-04 19:02:59 +01:00
Sam Schott
59b8b343b3
[tests] update error tests
2022-02-03 22:45:24 +01:00
Sam Schott
e0aae632a8
[client] prepare for handling of family errors
2022-02-03 22:44:44 +01:00
Sam Schott
3065374727
[client] update handling of vault errors
2022-02-03 22:44:28 +01:00
Sam Schott
28a2fab879
[client] convert RelocationErrors to SyncError ...
...
... instead of PathError if the path itself is not malformed.
2022-02-03 22:43:40 +01:00
Sam Schott
16dea74bea
[errors] clearer doc string for PathError
2022-02-03 22:42:57 +01:00
Sam Schott
7e49e414ae
fixed typo in release notes
2022-01-30 13:25:44 +01:00
Sam Schott
bf70c7629d
install dev requirements for linting
...
this provides mypy stubs
2022-01-29 18:37:47 +01:00
Sam Schott
5e3b11f2b9
Bump version: 1.5.3.dev2 → 1.5.3
2022-01-29 18:02:23 +01:00
Sam Schott
f71522c911
bump gui requirements
2022-01-29 18:00:10 +01:00
Sam Schott
aa24599db9
[main] remove upgrade scripts from < 1.5.0
2022-01-29 17:58:47 +01:00
samschott
dc7ba91dd4
Merge pull request #595 from samschott/move-dir-fix
...
Fix passing relative paths to `maestral move-dir`
2022-01-28 23:35:36 +01:00
Sam Schott
141d6b646a
update changelog
2022-01-28 22:45:37 +01:00
Sam Schott
951321ab18
[main] improve inline comments
2022-01-28 22:43:36 +01:00
Sam Schott
ec3cee2e98
[cli] handle relative paths in maestral move-dir
2022-01-28 22:43:20 +01:00
Sam Schott
e171397ede
Bump version: 1.5.3.dev1 → 1.5.3.dev2
2022-01-28 20:49:16 +01:00
samschott
423f8a3fdc
Merge pull request #592 from samschott/update-error-handling
...
Update authentication error handling
2022-01-28 18:37:52 +01:00
Sam Schott
a4e6bd65c9
[tests] skip DMCA test for now
2022-01-28 17:57:49 +01:00
Sam Schott
9d680f1645
[client] enforce line length
2022-01-26 23:01:47 +01:00
Sam Schott
80f70d8366
[tests] remove obsolete test_server_error
2022-01-26 22:00:59 +01:00
Sam Schott
92d7995876
require dropbox >= 11.26.0 for error handling fixes
2022-01-26 21:14:30 +01:00
Sam Schott
c5a163138a
[tests] update error conversion tests
2022-01-26 21:14:13 +01:00
Sam Schott
e56ca8ea8a
[client] don't convert requests.HTTPError
2022-01-26 21:13:48 +01:00
Sam Schott
f966f36e90
[cli] improved help text for log show
command
2022-01-26 21:06:59 +01:00
Sam Schott
0b37442a3c
[client] handle dropbox.exceptions.HttpError
2022-01-26 19:04:07 +01:00
Sam Schott
70468879a9
[client] remove handling of auth errors
...
* `dropbox.oauth` exceptions are handled directly by `maestral.oauth` if required
* Http errors due to bad auth in `dropbox.Dropbox` routes are now handled properly by the SDK (since v11.26.0)
2022-01-26 19:03:39 +01:00
Sam Schott
0996a650c2
[client] add special handling of missing scope errors
2022-01-26 19:01:23 +01:00
Sam Schott
f1bd24d3fa
fix setup.cfg resource specification
2022-01-24 23:47:00 +01:00
Sam Schott
5926be8f78
use doc requirements file
2022-01-20 00:55:02 +01:00
Sam Schott
13a2220692
added sphinxext-opengraph to docs requirements
2022-01-20 00:49:06 +01:00
Sam Schott
6fd988a797
use readthedocs.yaml
2022-01-20 00:46:06 +01:00
Sam Schott
2975a6f99a
autoupdate pre-commit config
2022-01-19 17:56:48 +01:00
Sam Schott
4a0c9b4ce3
[manager] simplify malloc_trim declaration
2022-01-19 17:54:35 +01:00
samschott
575927b2bd
Merge pull request #585 from samschott/improve-connection-check
...
Improve connection check
2022-01-19 17:51:55 +01:00
Sam Schott
a496cde1a1
[manager] log connect error traceback during start
2022-01-19 17:05:35 +01:00
Sam Schott
6d52aa7b1e
[utils.integration] allow emitting log messages from check_connection
2022-01-19 17:01:38 +01:00
Sam Schott
22762845f2
[manager] use https://api.dropboxapi.com for connection check
2022-01-19 17:00:49 +01:00
samschott
4d58ce4507
Merge pull request #584 from samschott/cleanup
...
Minor code cleanup
2022-01-18 22:51:06 +01:00
Sam Schott
0591a35f5f
[sync] fix typos in doc strings
2022-01-18 20:51:10 +01:00
Sam Schott
3258d89f08
[sync] avoid duplicate code when checking if we need to upload
2022-01-18 20:50:53 +01:00
Sam Schott
ff4c9e18e9
[sync] rename _on_local_modified -> _on_local_file_modified
2022-01-18 20:26:36 +01:00
samschott
842d1a1dc4
Merge pull request #581 from samschott/symlink-handling
...
Improve symlink handling
2022-01-18 11:38:34 +01:00
Sam Schott
7db21b015d
[tests] don't follow symlinks in assert_synced
2022-01-18 10:40:12 +01:00
Sam Schott
c2d2b97403
fix package discovery
2022-01-17 22:42:05 +01:00