summaryrefslogtreecommitdiffstats
path: root/apps/files_external
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12090 from AdamWill/google-rename-deleteMorris Jobke2014-12-101-0/+12
|\ | | | | google: delete original after successful rename
| * google: delete original after successful renameAdam Williamson2014-11-301-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | [tx-robot] updated from transifexJenkins for ownCloud2014-12-104-0/+4
| |
* | Merge pull request #12708 from owncloud/l10nsavedThomas Müller2014-12-091-2/+2
|\ \ | | | | | | translated saved message in files external
| * | translated saved message in files externalVolkan Gezer2014-12-081-2/+2
| | |
* | | [tx-robot] updated from transifexJenkins for ownCloud2014-12-0922-8/+34
| | |
* | | Merge pull request #12577 from owncloud/public-mount-apiLukas Reschke2014-12-084-18/+48
|\ \ \ | |/ / |/| | Add a public api for apps to add mounts
| * | Use the mount config api for files_externalRobin Appelman2014-12-044-18/+48
| | |
* | | [tx-robot] updated from transifexJenkins for ownCloud2014-12-0868-68/+0
| | |
* | | Merge pull request #12668 from owncloud/keepspaceThomas Müller2014-12-071-1/+1
|\ \ \ | | | | | | | | Keep spaces out of the string
| * | | Keep spaces out of the stringVolkan Gezer2014-12-071-1/+1
| | | | | | | | | | | | Otherwise translators cannot notice them on Transifex.
* | | | [tx-robot] updated from transifexJenkins for ownCloud2014-12-072-2/+2
|/ / /
* | | Merge pull request #12166 from helmutschneider/aws-2.7.5Lukas Reschke2014-12-0551-254/+710
|\ \ \ | | | | | | | | Upgrade AWS sdk to 2.7.5. Fixes #12023
| * | | Upgrade AWS sdk to 2.7.5Johan Björk2014-11-1351-254/+710
| | | |
* | | | Merge pull request #12523 from owncloud/port-11747Vincent Petry2014-12-051-3/+28
|\ \ \ \ | | | | | | | | | | Only store user credentials when SMB_OC storage is enabled
| * | | | Only store user credentials when SMB_OC storage is enabledLukas Reschke2014-12-011-3/+28
| | |_|/ | |/| | | | | | | | | | | | | | Conflicts: apps/files_external/lib/smb_oc.php
* | | | [tx-robot] updated from transifexJenkins for ownCloud2014-12-052-2/+2
| |_|/ |/| |
* | | Remove last traces of travis integrationMorris Jobke2014-12-041-40/+0
|/ /
* | Merge pull request #6989 from AdamWill/google-1Robin Appelman2014-11-2657-6250/+11212
|\ \ | | | | | | Migrate Google Drive external storage app to v1.0.6-beta of the google-api-php-client library
| * | google: disable compression when curl is not availableAdam Williamson2014-11-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | update google-api-php-client to 1.0.6-betaAdam Williamson2014-11-0721-264/+1179
| | | | | | | | | | | | | | | | | | | | | Latest version with various bugfixes, also implements support for using curl instead of its own io class when available; this avoids the bug that causes severe excess bandwidth use due to some kind of zlib issue.
| * | scrutinizer fix: explicitly declare Google class property $clientAdam Williamson2014-11-061-0/+1
| | |
| * | scrutinizer fix: correct @return for getDriveFile()Adam Williamson2014-11-061-2/+3
| | |
| * | bump google lib to c6949531d2 (post 1.0.3-beta, including query separator fix)Adam Williamson2014-11-064-11/+38
| | | | | | | | | | | | | | | | | | | | | This is the upstream commit that merged my query separator fix. It's slightly after the 1.0.3-beta tag. I eyeballed the other post 1.0.3-beta changes and none of them looks like any kind of problem, so we may as well just use this upstream state.
| * | google drive: set access type to 'offline' when requesting tokenAdam Williamson2014-11-061-0/+1
| | | | | | | | | | | | | | | | | | We need to do this in order to be able to refresh the access token without prompting the user for their credentials every hour. This was the default in 0.6 of the Google library, but needs to be explicitly specified in 1.0.
| * | fix a bug in google-api-php-client: generates an auth url that doesn't workAdam Williamson2014-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted upstream as https://github.com/google/google-api-php-client/issues/76 Google's php lib has a function to generate a URL for OAuth2 authentication. It uses http_build_query() to generate the query part of the URL, and in PHP 5.3 or later, this uses an encoded ampersand - & - as the query separator, not a raw one. However, Google's OAuth server apparently can't handle encoded ampersands as separators and so it fails. This patch explicitly sets a raw ampersand as the separator. If Google decides to fix their OAuth server instead of merging this patch into google-api-php- client, we can drop this patch as soon as that happens.
| * | files_external/3rdparty: update google-api-php-client to 1.0.2-betaAdam Williamson2014-11-0653-6160/+10171
| | |
| * | Migrate Google Drive storage app to v1.0.0 of the client libraryAdam Williamson2014-11-062-25/+25
| | |
* | | Merge pull request #12411 from owncloud/unknown-command-windowsLukas Reschke2014-11-261-7/+2
|\ \ \ | | | | | | | | Replace some more "command -v" calls with the Helper method
| * | | Replace some more "command -v" calls with the Helper methodJoas Schilling2014-11-251-7/+2
| | | |
* | | | Replace deprecated constant with new class constantJoas Schilling2014-11-251-2/+2
|/ / /
* | | [tx-robot] updated from transifexJenkins for ownCloud2014-11-222-2/+2
| | |
* | | [tx-robot] updated from transifexJenkins for ownCloud2014-11-214-0/+70
| | |
* | | Merge pull request #12325 from owncloud/removeunneccessarylangLukas Reschke2014-11-205-78/+0
|\ \ \ | | | | | | | | cleanup languages. closes #11274
| * | | cleanup languages. closes #11274Volkan Gezer2014-11-205-78/+0
| | | |
* | | | Make apps/ extend the \Test\TestCase and fix overwritten methodsJoas Schilling2014-11-1915-44/+97
|/ / /
* | | Merge pull request #12290 from owncloud/ext-preventbreakageduetobugs2Lukas Reschke2014-11-191-0/+8
|\ \ \ | | | | | | | | Show warning when invalid user was passed
| * | | Show warning when invalid user was passedVincent Petry2014-11-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Do not remove dir entry if it has the same name as the parentVincent Petry2014-11-131-4/+1
| |_|/ |/| | | | | | | | | | | This fixes an issue when a subdir has the same name as its parent, it would get exluded from the list.
* | | Merge pull request #9177 from owncloud/jsdocexperimentVincent Petry2014-11-132-3/+36
|\ \ \ | | | | | | | | Improved JS Docs + added build script for JS Docs
| * | | Improved Javascript docs for JSDocVincent Petry2014-10-312-3/+36
| | | | | | | | | | | | | | | | | | | | | | | | Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments.
* | | | [tx-robot] updated from transifexJenkins for ownCloud2014-11-132-4/+4
| | | |
* | | | Merge pull request #12087 from AdamWill/google-touchVincent Petry2014-11-121-1/+4
|\ \ \ \ | |_|/ / |/| | | google: fix touch() when $mtime is set (Google wants RFC3339) #11267
| * | | fix touch() when $mtime is set (Google wants RFC3339) #11267Adam Williamson2014-11-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | [tx-robot] updated from transifexJenkins for ownCloud2014-11-112-6/+6
|/ / /
* | / [tx-robot] updated from transifexJenkins for ownCloud2014-11-092-14/+84
| |/ |/|
* | manage select2 via bowerMorris Jobke2014-11-061-2/+2
| |
* | [tx-robot] updated from transifexJenkins for ownCloud2014-11-052-0/+8
| |
* | [tx-robot] updated from transifexJenkins for ownCloud2014-11-022-4/+4
| |
* | test files external amazon s3 storage id migrationJörn Friedrich Dreyer2014-10-311-0/+117
| |