summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax
Commit message (Collapse)AuthorAgeFilesLines
* Fix uploading when free space is unlimitedVincent Petry2016-03-071-1/+1
| | | | | | A federated share can report unlimited quota as -3, so the ajax/upload.php code needs to be adjusted to block uploads when the free space is unlimited.
* Defer quota check in web UI when overwriting shared fileVincent Petry2016-02-171-2/+6
| | | | | | | | When receiving a shared file, the quota for that file counts in the owner's storage, not the current user's storage. To make it possible to overwrite the file even when the current user doesn't have enough space, the quota check is deferred for such files.
* Happy new year!Thomas Müller2016-01-124-4/+5
|
* Merge pull request #11131 from owncloud/use-phpini-wrapperThomas Müller2015-12-071-1/+1
|\ | | | | Replacing ini_get instances with inigetwrapper usages
| * Replacing ini_get instances with inigetwrapper usagesClark Tomlinson2015-11-231-1/+1
| |
* | Move files/ajax/scan.php to background jobLukas Reschke2015-11-281-94/+0
| | | | | | | | The background job will now be executed in chunks of 500 users all 10 minutes.
* | Skip unavailable storages in scannerRobin Appelman2015-11-271-1/+1
| |
* | Dont output paths in scan.phpRobin Appelman2015-11-251-8/+0
|/
* Make public link share page work with Webdav and add operationsVincent Petry2015-11-221-5/+2
| | | | | | | | The public page now uses the public.php/webdav endpoint. Also enabled more file operations like rename, move, delete and create folder from the public page, which are now all possible thanks to the public.php/webdav endpoint.
* Make files app use Webdav for most operationsVincent Petry2015-11-225-400/+0
|
* update licence headers via scriptMorris Jobke2015-10-053-1/+2
|
* allow ".." in folder namesIndividual IT Services2015-09-141-1/+1
| | | | ".." are valid in folder names, only ".." by itself is invalid fix for #18987
* Prevent scanner going crazy with unavailable storagesVincent Petry2015-08-241-4/+8
|
* Merge pull request #17175 from owncloud/add-download-feedbackMorris Jobke2015-07-301-0/+11
|\ | | | | Add loading spinner to download icon
| * Add proper download started feedbackMorris Jobke2015-07-071-0/+11
| | | | | | | | | | | | | | | | * this code adds a cookie when a special get parameter is set * the content of this get parameter is used as value for the cookie * the cookie expires after 20 seconds * the JS code checks every 500 milliseconds for the cookie -> if the cookie is set the request returned and the download is started
* | Remove ajax/mimeicon.php and its routeRoeland Jago Douma2015-07-091-27/+0
|/
* update license headers and authorsMorris Jobke2015-06-257-7/+1
|
* Verify if path existsLukas Reschke2015-06-181-0/+4
| | | | We need to check if the path exists and throw an error instead of handling this situation ungraciously.
* Catch exceptions in files ajax callsVincent Petry2015-06-034-21/+59
|
* fix filepickerMorris Jobke2015-04-131-2/+24
| | | | | | * add ability to filter for mimetype * fixes #15526 * fixes #11563
* Update license headersJenkins for ownCloud2015-03-2611-40/+275
|
* adding storage specific filename verification - refs #13640Thomas Müller2015-03-092-32/+20
|
* remove $content parameterThomas Müller2015-03-021-7/+4
|
* Remove "Download from URL" featureLukas Reschke2015-03-021-107/+14
| | | | Fixes https://github.com/owncloud/core/issues/13326
* Revert "Updating license headers"Morris Jobke2015-02-2611-269/+42
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-2311-42/+269
|
* Merge pull request #14199 from owncloud/cast-type-manuallyMorris Jobke2015-02-1911-24/+24
|\ | | | | Manually type-cast all AJAX files
| * Do not change behaviour of 'false'Joas Schilling2015-02-131-2/+2
| |
| * Manually type-case all AJAX filesLukas Reschke2015-02-1311-26/+26
| | | | | | | | | | | | This enforces proper types on POST and GET arguments where I considered it sensible. I didn't update some as I don't know what kind of values they would support :see_no_evil: Fixes https://github.com/owncloud/core/issues/14196 for core
* | Merge pull request #13505 from owncloud/streamline-scanning-codeThomas Müller2015-02-191-1/+5
|\ \ | | | | | | Streamline auth and CSRF check in scan.php
| * | Streamline auth and CSRF check in scan.phpLukas Reschke2015-01-201-1/+5
| | | | | | | | | | | | Furthermore a not logged-in user was able to access this page before which resulted in a Fatal PHP error since the filesystem could not get setup properly.
* | | Ensure that passed argument is always a stringLukas Reschke2015-02-131-1/+1
| |/ |/| | | | | | | | | Some code paths called the `normalizePath` functionality with types other than a string which resulted in unexpected behaviour. Thus the function is now manually casting the type to a string and I corrected the usage in list.php as well.
* | Merge pull request #13502 from owncloud/streamline-authentication-in-newfileMorris Jobke2015-02-071-6/+3
|\ \ | | | | | | Streamline CSRF and login check
| * | Streamline CSRF and login checkLukas Reschke2015-01-201-6/+3
| |/ | | | | | | Let's make this consistent with other pieces of the code to make it easier to auditable.
* / Catch exception properlyLukas Reschke2015-02-041-1/+6
|/ | | | | | `\OCA\Files\Helper::buildFileStorageStatistics` might throw an exception from `OC_Helper::getStorageInfo`, previously this lead to a uncatched exception being thrown when invoking this methods. This was user triggable by for example calling `/index.php/apps/files/ajax/delete.php` with a not existing dir (for example `dir=asdf/../&allfiles=true`)
* Remove stripslashes() from newfolder.phpLukas Reschke2015-01-191-2/+1
|
* Check for existence of $_GET keysLukas Reschke2015-01-141-2/+2
| | | | `$dir` may for example very well not get passed at well.
* Get rid of `stripslashes()`Lukas Reschke2015-01-135-9/+8
| | | | This conversions are actually totally unneeded and probably left-overs from ages where the safe_mode was still a valid thing.
* Merge pull request #13279 from owncloud/upload-original-nameMorris Jobke2015-01-121-2/+2
|\ | | | | Send the proper original name for uploaded files
| * Send the proper original name for uploaded filesRobin Appelman2015-01-121-2/+2
| |
* | Check for existence of $_GET keysLukas Reschke2015-01-091-5/+5
|/ | | | Otherwise PHP errors are thrown in the error log.
* Verify existence of $_GET keyLukas Reschke2015-01-091-1/+3
| | | | | | | | Otherwise when the file without any specified mimetype was accessed the error log was flooded with entries such as "Undefined index: mime", there can be multiple issues found about this in the forum and our bugtracker. To test this access `/index.php/apps/files/ajax/mimeicon.php` with and without `$_GET['mime']`. Fixes itself.
* Add error handling to getstoragestats.phpRobin Appelman2015-01-061-1/+5
|
* Only populate tags in main file listVincent Petry2014-12-181-0/+1
| | | | | | Moved populateTags to be done on the main file list. This prevents the public file list to go through the same code and cause an error when there is no user.
* Merge pull request #12698 from owncloud/handle_readonly_shared_filesMorris Jobke2014-12-121-6/+18
|\ | | | | Handle readonly shared files
| * show readonly message in file conflict dialog, make it always selectedJörn Friedrich Dreyer2014-12-111-6/+18
| |
* | Skip headers that can not be splitVictor Dubiniuk2014-12-081-0/+3
|/
* Check if files are deletable before trying to delete themRobin Appelman2014-11-261-1/+3
|
* Merge pull request #12421 from ↵Morris Jobke2014-11-261-3/+3
|\ | | | | | | | | owncloud/issue/6101-remove-namespace-permission-constants Issue/6101 remove namespace permission constants
| * Replace deprecated constant with new class constantJoas Schilling2014-11-251-3/+3
| |