aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/ajax
Commit message (Collapse)AuthorAgeFilesLines
* Replace hardcoded status headers with calls to http_response_code()Morris Jobke2018-06-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move calls to \OCP\JSON to private \OC_JSONRoeland Jago Douma2018-03-221-5/+5
| | | | | | They should be properly fixed at some point. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecated URL functions for OCP\UtilRoeland Jago Douma2018-03-131-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move storagestats endpoint to proper controllerRoeland Jago Douma2018-03-131-40/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use proper method to log exceptionsMorris Jobke2018-03-121-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class statement instead of stringMorris Jobke2018-01-291-3/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix comparisons in the files appJoas Schilling2017-08-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* share api expanded by tags (#26583)Michael Jobst2017-04-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | * share api expanded by tags * Modified files_sharing JS Unit tests * modified tests. renamed request parameter. refactoring * Update Share20OCS.php Added missing function description * Update Helper.php Added missing function description * Update Helper.php implicit boolean conversion to !empty() * Update Share20OCSTest.php Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #1883 from nextcloud/downstream-26145Morris Jobke2016-10-251-5/+5
|\ | | | | Storage 503 message improvements
| * Storage 503 message improvementsVincent Petry2016-10-241-5/+5
| | | | | | | | | | "Storage not available" is now "Storage temporarily not available". Exceptions are now logged in DEBUG level, not FATAL.
* | Use Webdav PUT for uploads in the web browserVincent Petry2016-10-241-283/+0
|/ | | | | | | | | | | | | | - uses PUT method with jquery.fileupload for regular and public file lists - for IE and browsers that don't support it, use POST with iframe transport - implemented Sabre plugin to handle iframe transport and redirect the embedded PUT request to the proper handler - added RFC5995 POST to file collection with "add-member" property to make it possible to auto-rename conflicting file names - remove obsolete ajax/upload.php and obsolete ajax routes Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update with robinJoas Schilling2016-07-214-4/+4
|
* Fix apps/Joas Schilling2016-07-214-5/+9
|
* smaller files drop fixesArthur Schiwon2016-06-111-1/+7
| | | | | | * fix infinite spinner on blacklisted files * move HTML to template * indentation
* Make uploading possible via select and cleanup CSSLukas Reschke2016-06-091-0/+23
|
* Update license headersLukas Reschke2016-05-264-10/+10
|
* Http Range requests support in downloadsPiotr Filiciak2016-05-201-1/+10
| | | | Http range requests support is required for video preview
* 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.