summaryrefslogtreecommitdiffstats
path: root/apps/files
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Ensure that passed argument is always a stringLukas Reschke2015-06-011-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.
* Add OC_Response::setContentLengthHeader() for Apache PHP SAPI workaround.Andreas Fischer2015-04-041-1/+1
| | | | | | | | | | | Do not send Content-Length headers with a value larger than PHP_INT_MAX (2147483647) on Apache PHP SAPI 32-bit. PHP will eat them and send 2147483647 instead. When X-Sendfile is enabled, Apache will send a correct Content-Length header, even for files larger than 2147483647 bytes. When X-Sendfile is not enabled, ownCloud will not send a Content-Length header. This prevents progress bars from working, but allows the actual transfer to work properly.
* show spinner on file upload in IE8, 9Morris Jobke2014-12-191-0/+15
|
* Merge pull request #12624 from nazar-pc/stable7Vincent Petry2014-12-123-8/+11
|\ | | | | Backport of #11524 into stable7
| * Merge pull request #11524 from nazar-pc/patch-1Vincent Petry2014-12-043-8/+11
| | | | | | | | Page size calculation based on real page height
* | Merge pull request #12663 from zinks-/l10n-fr-backportMorris Jobke2014-12-101-4/+4
|\ \ | | | | | | Patched french translation (backported from master)
| * | Patched french translation (backported from master)Thomas Imbreckx2014-12-051-4/+4
| |/
* | Add js unit testRobin Appelman2014-12-101-7/+27
| |
* | Dont show the delete button for selected files if one of the selected files ↵Robin Appelman2014-12-101-2/+12
| | | | | | | | is not deletable
* | Check if files are deletable before trying to delete themRobin Appelman2014-12-101-1/+3
| |
* | Skip headers that can not be splitVictor Dubiniuk2014-12-101-0/+3
|/
* Don't show favicon to prevent iteration through subfoldersLukas Reschke2014-11-261-1/+1
| | | | The codepath for generating the favicons iterates through subnodes and if one of those nodes is unavailable is throwing a 503 exception. Since these favicons don't have any use except of "making a tool for developers looking nicer" I consider it feasible to remove them.
* Correctly restore previous root mount point after testingJoas Schilling2014-11-191-2/+12
| | | | | | Conflicts: tests/lib/cache/file.php tests/lib/cache/usercache.php
* JS unit tests fix - use toBeUndefined() instead of toEqual(null)Morris Jobke2014-11-071-7/+7
|
* Use body element when animating scroll in public pageVincent Petry2014-10-151-1/+7
| | | | | | | | In the public page the scroll container is the window instead of a div. The $(window) object doesn't support animating the scroll property, so the $('body') element is used instead. Backport of 704ffaa6a37730f02a3359e8e8f0a0070f0e0d31 from master
* Add support for keys in the info.xmlLukas Reschke2014-10-091-0/+3
| | | | This allows to have links to different doc base URLs
* Fix file size comparator return valuebrumsoel2014-10-081-1/+1
|
* Merge pull request #11375 from owncloud/fix_files_external_amazon_s3_stat_callVincent Petry2014-10-081-0/+3
|\ | | | | Fix files external amazon s3
| * log exceptions when listing filesJörn Friedrich Dreyer2014-10-011-0/+3
| |
* | Merge pull request #11457 from owncloud/stable7-fix-rename-positionVincent Petry2014-10-071-2/+2
|\ \ | | | | | | fix position of rename field, fix #10867
| * | fix position of rename field, fix #10867Jan-Christoph Borchardt2014-10-071-2/+2
| | |
* | | reduce bottom padding in filelist, fix perceived glitching, fix #11213Jan-Christoph Borchardt2014-10-071-1/+1
|/ /
* / fix position and style of sort indicatorJan-Christoph Borchardt2014-10-071-5/+9
|/
* Show a proper error message when trying to scan the filesystem for a non ↵Robin Appelman2014-09-241-1/+5
| | | | existing user
* Do only follow HTTP and HTTPS redirectsLukas Reschke2014-09-231-2/+6
| | | | | | | | | | | | | | | We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server) Get final redirect manually using get_headers() Migrate to HTTPHelper class and add unit tests Conflicts: apps/files/ajax/newfile.php lib/private/files/storage/dav.php lib/private/server.php lib/private/util.php lib/public/iservercontainer.php
* Use secure mimetype for content deliveryLukas Reschke2014-09-151-1/+1
| | | | Adds some hardening against potential CSP bypassed.
* Catch exceptions when moving filesVincent Petry2014-09-081-4/+10
| | | | | | | | | | When moving files on storages that don't expose permissions, the storage itself might throw an exception when the permission is denied. This fix ensures that exceptions are caught and forwarded to the client instead of just hanging. Backport of e43c9b84c42a8b3f4fb25a950123fbcc060d1a5a from master
* Scroll to new file/folder after addingVincent Petry2014-09-052-5/+10
| | | | | When creating a new file from the menu, the list now scrolls to that file.
* Fixed scrollto for search resultsVincent Petry2014-09-052-22/+36
| | | | | | | | Now passing the "scrollto" URL argument to the file list class which will also automatically scroll and highlight the matching element. This code is triggered by the search box when in a different folder and also by the activity app.
* Added permission check for drag and dropVincent Petry2014-09-053-2/+35
| | | | | | | | | | When dropping files onto a read-only folder, a notification is now shown instead of attempting to upload. This for both the drag for upload and drag from inside the file list cases. Backport of f1bfe35cda2f11d1b38726cf2d4f879427b2c8d5 from master
* Highlight every uploaded files and scroll down to the last onepdessauw2014-09-043-0/+82
| | | | Backport of 0d078e48ce71d35bf240ec2b3d48a37f1b96115a from master
* remove obsolete 'Download preparing' message for zip downloads, fix #3755Jan-Christoph Borchardt2014-08-191-1/+0
|
* set incognitoMode to true, getUser should always return false during public ↵Bjoern Schiessle2014-08-191-1/+3
| | | | upload
* Fixed folder icon update routine when share owner existsVincent Petry2014-08-181-16/+6
| | | | | | | Whenever a folder has a "data-share-owner" attribute, the icon is now properly updated to a shared folder icon. Backport of 607ea636be4a5a48b6abec8df3eaefe20fe4a1ba from master
* Compare upload limit against biggest fileOliver Gasser2014-08-151-4/+7
| | | | | When uploading multiple files from the web interface, compare the PHP upload limit against the largest file, not against the sum of all files.
* new unit test addedBjoern Schiessle2014-08-141-4/+42
|
* no error if we try to delete a file which no longer existsBjoern Schiessle2014-08-141-1/+2
|
* no special action for folder named 'Shared' neededBjoern Schiessle2014-08-141-1/+1
|
* add error message if user wants to rename a file which no longer existsBjoern Schiessle2014-08-142-4/+18
|
* trigger lazy loading earlier, fix #9823Jan-Christoph Borchardt2014-08-141-1/+1
|
* check quota when trying to download a file via new -> webJörn Friedrich Dreyer2014-08-131-0/+23
|
* remove obsolete code commentmiicha2014-08-111-2/+0
|
* Fix display of checkboxes in Pale Moonmiicha2014-08-071-2/+3
| | | | | In Pale Moon (24.7.1) the checkboxes in the file list are not in the responding line on the icon but all of them are next to the "select all" checkbox. This fix should not change anything in Firefox and chromium (on windows) but as the comment states it has to be checked on KDE/Qt. BTW why is position absolute naccessary? For my understanding relative is exactly what you want to use in such a case...
* Fix preview animation on uploadingVincent Petry2014-07-251-2/+4
| | | | | When adding/uploading files, the preview is now animated. When loading a list of files directly the preview is displayed directly.
* Backport of sorting fix from masterRemco Brenninkmeijer2014-07-233-29/+58
| | | | | | | | | | | | | Changed default sorting except for names. Show sorting icons when hovering over Cleanup of unnecesary addition Fixed comments from PVince81 Corrected (Netbeans?) inserted spaces While busy cleaning, also removed extra enters Adjusted tests for new default sorting Sorting triangles pointing up for ascending, down for descending Backport + squash of 1a65d09..319caa7 from master
* Added mountType attribute and adapted Delete action textVincent Petry2014-07-143-5/+28
| | | | | | | | | | | | | | Added mountType attribute for files/folder to indicated whether they are regular, external or shared. The client side then adapts the "Delete" action hint text based on this information. Only the mount roots must have the delete icon hint adapted. To make this detectable on the client side, the mountType can now be null, "shared", "shared-root", "external" or "external-root". This also gives room to icon customization on the client side.
* Propagate file action changes to the file listsVincent Petry2014-07-105-37/+96
| | | | | | | | | Whenever an app needs to register an event late, it does that on the original file actions object. Since the file actions that the file list work on is a merged list, not the original one, the registration event needs to be propagated there as well.
* Upload abortion is now detected within the OC_Connector_Sabre_File::put()Thomas Müller2014-07-081-1/+0
| | | | | | OC_Connector_Sabre_AbortedUploadDetectionPlugin is pointless Adding unit test testUploadAbort()
* Add machine readable error messages to OC\JSONRobin Appelman2014-07-042-2/+35
| | | | | | | | | | Reload the files app in case of authentication errors, expired tokens or disabled app Reloading will triger the full server side handeling of those errors formatting fix missing semicolon + some jshint warnings