Nick Craig-Wood
1ac6dacf0f
about: complete other providers and re-work internals
...
* Implement about for:
* local, crypt, cache, drive, swift, hubic, onedrive, pcloud, dropbox
* Implement `--json` and `---full` flag for `rclone about`
* change About interface to return a Usage structure
* Remove operations.About as it is too thin an interface
* Implement Integration test
Relates to #1138 and #1564
2018-04-17 21:53:27 +01:00
a-roussos
94e277d759
about: add new command 'about' to get quota info from a remote
...
Implemented for drive only.
Relates to #1138 and #1564 .
2018-04-17 21:50:14 +01:00
Nick Craig-Wood
3d5106e52b
drive: fix DirMove leaving a hardlinked directory behind #2245
...
This bug was introduced by the v3 API conversion in 07f20dd1fd
.
The problem was that dircache.FindPath doesn't work for the root directory.
This adds an internal error for dircache.FindPath being called with
the root directory. This makes a failing test, which the fix to the
drive backend fixes.
This also improves the DirCache integration test.
2018-04-15 10:12:21 +01:00
Nick Craig-Wood
ef412c1985
drive: fix misplaced log in dedupe MergeDirs
2018-04-13 13:23:55 +01:00
Nick Craig-Wood
e82452ce9a
drive: check Open calls for google error messages
...
This should also enable Open calls to retry properly
2018-04-11 20:55:58 +01:00
Stefan
a8267d1628
link: allow creating public link to files and folders - closes #1562
2018-03-29 09:10:19 +02:00
Stefan Breunig
4d553ef701
drive: when initialized with a filepath, optional features used incorrect root path – see #2182
2018-03-28 20:33:39 +02:00
Remus Bunduc
70f07fd3ac
fs: add ChangeNotify and backend support for it ( #2094 )
...
* fs: rename DirChangeNotify to ChangeNotify
* cache: switch to ChangeNotify
* ChangeNotify: keep order of notifications
2018-03-08 22:03:34 +02:00
Nick Craig-Wood
25bbc5d22b
drive: make --drive-auth-owner-only look in all directories
...
Previously it was ignoring directories which weren't owned by the user
which meant it was ignoring files owned by the user in those
directories.
2018-02-26 12:30:59 +00:00
Nick Craig-Wood
8a25ca786c
drive: add --drive-impersonate for service accounts #1491
2018-02-09 16:58:35 +00:00
nbuchanan
9aa8815990
drive: add --drive-use-created-date to use created date as modified date
2018-02-02 14:20:11 +00:00
Nick Craig-Wood
a6227f34e2
drive: request the export formats only when required #320
...
If the listing has no google docs in or the user uses
`--drive-skip-gdocs` then we don't fetch the export formats which
saves a transaction to drive.
2018-02-01 12:05:00 +00:00
Nick Craig-Wood
11fe3fdc16
drive: update docs to clarify access to "Computers" tab #1773
2018-01-30 16:28:55 +00:00
Fabian Möller
cf6d522d2f
drive: fix upload to existing file ( #2032 )
...
This fixes uploads to existing files for Google Drive introduced by #2007 .
Instead of updating the old file a new "Untitled" file would be created
in the root folder.
2018-01-30 14:37:06 +01:00
Nick Craig-Wood
a4fe2455ed
drive: add scope configuration and root folder selection
...
This allows:
* appdata access - Fixes #1799
* access to backup and sync folders - Fixes #1773
* drives.file access - Fixes #2000
* read only access - Fixes #337
2018-01-29 14:40:10 +00:00
Fabian Möller
f622017539
drive: use contains for name matching in list
...
Use contains for name matching in list to work around #1675 .
2018-01-29 14:18:49 +00:00
Fabian Möller
07f20dd1fd
drive: migrate to api v3
2018-01-29 12:00:02 +00:00
Fabian Möller
29286cc8b3
drive: fix single Drive Document as FS root
...
Allow using Drive Documents as FS root by doing a direcoty list during NewFS.
Fixes #1772
2018-01-26 09:59:36 +00:00
Nick Craig-Wood
25a41e1945
drive: fix missing error handler
2018-01-20 18:04:23 +00:00
Nick Craig-Wood
97c414f025
config/hash: rename more symbols after factoring into own package
2018-01-18 20:27:52 +00:00
Nick Craig-Wood
71722b5b95
config: factor Obscure and Reveal into its own package
2018-01-18 20:19:55 +00:00
Nick Craig-Wood
11da2a6c9b
Break the fs package up into smaller parts.
...
The purpose of this is to make it easier to maintain and eventually to
allow the rclone backends to be re-used in other projects without
having to use the rclone configuration system.
The new code layout is documented in CONTRIBUTING.
2018-01-15 17:51:14 +00:00
Nick Craig-Wood
60afda007b
Move dircache, oauthutil, rest and pacer modules into lib
2018-01-12 17:07:38 +00:00
Nick Craig-Wood
b8b620f5c2
Move all backends into backend directory
2018-01-12 17:07:38 +00:00