| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Add SFTP public key authentication support
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for external files accessed via SFTP using public key exchange authentication.
Keys are generated automatically when the configuration is added, or can be regenerated on demand if a key is compromised.
Creation of a new configuration row now triggers focus on that row. This is used to trigger auto-configuration for SFTP keys.
Generated public keys are saved in user's data directory for easy retrieval by an external application.
Add controller for SFTP key generation AJAX
SFTP class initialisation no longer produces a warning if the password field is missing.
Add unit tests for SFTP with key authentication backend
|
|/
|
|
| |
This is needed for Dropbox and others that need a token.
|
|\
| |
| | |
Add mount specific options
|
| | |
|
|\ \
| | |
| | | |
first step to drop \OCP\Config:: in favour of IConfig
|
| |/ |
|
|/ |
|
| |
|
|\
| |
| | |
google: delete original after successful rename
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In GDrive, filenames aren't unique, and directories are just
special files - so you can have multiple files with the same
name, multiple directories with the same name, and even files
with the same names as directories.
OC doesn't handle this at all, though, and just wants to act
as if file and directory names *are* unique. So when renaming,
we must check if there's an existing object with the same
file or directory name before we commit the rename, and
explicitly delete it if the rename is successful. (Other
providers like dropbox do the same for files, but intentionally
don't do it for directories; we really need to do it for
directories too.)
A good way to observe this is to run the storage unit tests
and look at the state of the Drive afterwards. Without this
commit, there will be several copies of all the test files
and directories. After this commit, there's just one of each.
We can't just say "hey, Drive lets us do this, what's the
problem?" because we don't handle multiple-objects, same-name
cases - getDriveFile() just bails and prints an error if it
searches for the file or directory with a given name and gets
multiple results.
|
|\ \
| | |
| | | |
Add a public api for apps to add mounts
|
| |/ |
|
| |
| |
| | |
Otherwise translators cannot notice them on Transifex.
|
|/
|
|
|
| |
Conflicts:
apps/files_external/lib/smb_oc.php
|
|\
| |
| | |
Migrate Google Drive external storage app to v1.0.6-beta of the google-api-php-client library
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a slightly hacky workaround for
https://github.com/google/google-api-php-client/issues/59 .
There's a bug in the Google library which makes it go nuts on
file uploads and transfer *way* too much data if compression is
enabled and it's using its own IO handler (not curl). Upstream
'fixed' this (by disabling compression) for one upload
mechanism, but not for the one we use. The bug doesn't seem to
happen if the google lib detects that curl is available and
decides to use it instead of its own handler. So, let's disable
compression, but only if it looks like the Google lib's check
for curl is going to fail.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Replace some more "command -v" calls with the Helper method
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Show warning when invalid user was passed
|
| |/
| |
| |
| |
| |
| | |
Sometimes there are bugs that cause setupFS() to be called for
non-existing users. Instead of failing hard and breaking the instance,
this fix simply logs a warning.
|
| |
| |
| |
| |
| | |
This fixes an issue when a subdir has the same name as its parent, it
would get exluded from the list.
|
|/
|
|
|
|
|
|
|
|
| |
ownCloud passes us a Unix time integer, but the GDrive API wants
an RFC3339-formatted date. Actually it wants a single particular
RFC3339 format, not just anything that complies will do - it
requires the fractions to be specified, though RFC3339 doesn't.
This resolves issue #11267 (and was also noted by PVince81 in
reviewing PR #6989).
|
| |
|
|
|
|
| |
It's only reasonable to have proper type hinting here which might even help us to catch bugs.
|
|
|
|
| |
Otherwise the function is executed n times which is a lot of overhead
|
|
|
|
| |
There is not much sense in having these files marked executable, we should avoid that.
|
|\
| |
| | |
[master] Fix S3 connection regression
|
| | |
|
|\ \
| |/
|/| |
Fix S3 folder creation for new AWS API
|
| |
| |
| |
| | |
This also fixes the unit tests
|
|/
|
|
|
|
|
|
| |
Fixed the following external storages to not connect in the constructor,
but do it on-demand when getConnection() is called.
- S3
- SWIFT
- SFTP
|
| |
|
|
|
|
|
|
| |
Allow specifying a protocol in the host field when mounting another
ownCloud instance. Note that this was already possible with the WebDAV
config but this bug made it inconsistent.
|
|\
| |
| | |
Update etag of parent dir when adding/removing ext storage mount points
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|