Commit Graph

4959 Commits

Author SHA1 Message Date
samschott
0a86951531 [client] threadsafe init of SDK 2022-02-27 14:56:41 +01:00
Sam Schott
d4ab55617d [tests] delete creds after releasing test lock 2022-02-22 22:25:04 +01:00
Sam Schott
a3625bc33d [client] simplify init of SDK 2022-02-22 22:24:38 +01:00
Sam Schott
dee5296006 [utils.hashing] remove unused stream hasher 2022-02-21 23:36:37 +01:00
Sam Schott
3cb2517b49 [utils.integration] more expressive variable names 2022-02-21 23:31:37 +01:00
Sam Schott
b5e2596372 simplify utils.appdirs.get_home_dir() 2022-02-21 23:31:08 +01:00
samschott
f97bcad9ba
Merge pull request #611 from samschott/64-bit-inode-handling
Fix 64-bit inode handling
2022-02-21 22:54:31 +01:00
Sam Schott
d00140d40a [main] skip duplicate migration steps 2022-02-21 12:24:48 +01:00
Sam Schott
367aea2fe5 Revert "[main] remove upgrade scripts from < 1.5.0"
This reverts commit aa24599db9.
2022-02-21 12:16:14 +01:00
Sam Schott
19b89a81c7 Bump version: 1.6.0.dev0 → 1.6.0.dev1 2022-02-20 14:36:58 +01:00
Sam Schott
ff4b36f8e7 improve SQLLargeInt doc string 2022-02-20 14:04:14 +01:00
Sam Schott
2517432887 update changelog 2022-02-20 14:04:14 +01:00
Sam Schott
b3d7e0abe9 [models] store inode number as SqlLargeInt 2022-02-20 14:04:14 +01:00
Sam Schott
e1b4019db9 [database.types] add support for integers > 2**63 2022-02-20 14:04:14 +01:00
Sam Schott
8c8ae41e93 [tests] create some folders for inotify error test 2022-02-20 14:04:00 +01:00
Sam Schott
220011040d [tests] don't create separate test folder 2022-02-20 12:53:00 +01:00
Sam Schott
e96f13dfa9 API doc improvements 2022-02-19 20:02:08 +01:00
samschott
98cc09fdb7
Merge pull request #617 from samschott/separate-keyring
Separate OAuth flow from keyring storage
2022-02-19 19:34:17 +01:00
Sam Schott
b9f5c7203f [keyring] added enum doc strings 2022-02-19 19:33:12 +01:00
Sam Schott
d9d8481b2c update doc TOC 2022-02-19 17:04:17 +01:00
Sam Schott
e057deba64 update doc string 2022-02-19 16:03:40 +01:00
Sam Schott
9926bee6b8 [keyring] don't cache conf and state 2022-02-19 15:59:08 +01:00
Sam Schott
83b6090a4c [tests] simplify auth setup 2022-02-19 13:54:10 +01:00
Sam Schott
9d8bf41428 [tests] test config and state file on keyring changes 2022-02-19 13:53:55 +01:00
Sam Schott
75257288fd fix some state handling 2022-02-19 13:53:39 +01:00
Sam Schott
a45c68731a separate keyring interaction from oauth 2022-02-19 01:33:28 +01:00
Sam Schott
f714f4cd01 [oauth] narrow exception clauses 2022-02-18 12:13:49 +01:00
samschott
5c47ce9bbd
Merge pull request #614 from samschott/oauth-improvements
OAuth improvements
2022-02-18 12:04:22 +01:00
samschott
3c485c6d2d
Merge pull request #615 from samschott/test-improvements
Test improvements
2022-02-18 12:03:56 +01:00
Sam Schott
6d1c233d9c add oauth tests 2022-02-18 00:07:58 +01:00
Sam Schott
a4dab7243f [oauth] only set keyring when loading or saving creds
* remove public keyring setter
* don't set keyring when we are not linked
* remove migration code
2022-02-18 00:07:58 +01:00
Sam Schott
c5b7bd74d6 mypy ignore monkeypatching 2022-02-18 00:07:37 +01:00
Sam Schott
53d6b64371 test NotLinkedError in main API 2022-02-17 23:23:04 +01:00
Sam Schott
03e2dd9737 test recursive file_status 2022-02-17 23:22:18 +01:00
Sam Schott
920332e924 use mocking for linked status 2022-02-17 23:21:55 +01:00
Sam Schott
f8287210ff [tests] simplify linking 2022-02-17 00:51:55 +01:00
Sam Schott
5ddd49fe29 [client] better handling of connection error during link 2022-02-17 00:51:38 +01:00
Sam Schott
f83ba9e08e [oauth] linked status should only depend on auth token 2022-02-17 00:48:05 +01:00
samschott
db82555bf4
Merge pull request #606 from samschott/modernise-type-annotations
Modernise type annotations
2022-02-11 21:32:23 +01:00
Sam Schott
f45b9e02de run mypy on tests 2022-02-11 18:20:33 +01:00
Sam Schott
b068a07780 run mypy with py 3.7 2022-02-11 18:20:32 +01:00
Sam Schott
e1ac0f963f undo some backward-incompatible typing 2022-02-11 18:20:13 +01:00
Sam Schott
5dedc836a5 update pyupgrade version 2022-02-11 18:20:13 +01:00
Sam Schott
a1d0e07c45 added todo for typeddict 2022-02-11 18:20:13 +01:00
Sam Schott
f7f270b8e2 use modern type hint style 2022-02-11 18:20:13 +01:00
Sam Schott
1505aa1812 drop support for python 3.6 2022-02-11 18:20:13 +01:00
Sam Schott
fca84ea7e1 run online tests on py 3.10 2022-02-11 18:19:59 +01:00
Sam Schott
80b84eb91c remove Python 3.6 from test matrix 2022-02-11 13:32:08 +01:00
Sam Schott
216db5a18c more doc string improvements 2022-02-11 13:20:22 +01:00
Sam Schott
af1bf54bf6 [docs] small updates 2022-02-11 00:32:15 +01:00