aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* Fixed download file from URL error messagesVincent Petry2013-12-121-1/+6
| | | | | | | | - L10N now converted to string to make them work with json_encode - Added specific error message when server doesn't allow fopen on URLs - Fixed client side to correctly show error message in a notification - Added OCP\JSON::encode() method to encode JSON with support for the OC_L10N_String values
* Merge pull request #6090 from ganomi/summaryfixganomi2013-11-281-1/+1
|\ | | | | Fix filellist/rename/summary problem
| * Fix filellist/rename/summary problemganomi2013-11-271-1/+1
| | | | | | | | | | Fixes #6055 This contribution is MIT licensed!
* | Merge pull request #6089 from owncloud/files-mimetyperefreshafterrenameFrank Karlitschek2013-11-281-2/+17
|\ \ | | | | | | Redetect mime type whenever extension is renamed
| * | Update file list entry on renameVincent Petry2013-11-271-2/+17
| |/ | | | | | | | | | | Whenever a file is renamed, if the extension changes, the mime type and preview might change. This fix passes the updated info to the client that updates it.
* / New file box now has default file name + extensionVincent Petry2013-11-281-3/+13
|/ | | | | | | | | | | Whenever a user creates a file or folder in the web UI, the input field will contain a default file name, pre-selected up to the extension for easier typing. The purpose is mostly to prevent users creating text files without an extension. Fixes #6045
* Merge pull request #5641 from owncloud/filestrash-emptytrashBjörn Schießle2013-11-251-2/+3
|\ | | | | Deleting all files in trash now only sends a single flag
| * Deleting all files in trash now only sends a single flagVincent Petry2013-11-111-2/+3
| | | | | | | | | | | | | | | | To prevent having to send the list of all files for deletion, only set a flag "allfiles". This should make it a bit smoother when deleting 5000+ files. Also fixes some "empty trash" message issues.
* | Fixed delete action to show error message as notificationVincent Petry2013-11-191-1/+11
| |
* | fix filtering number like filenames in filelistJörn Friedrich Dreyer2013-11-181-1/+1
| | | | | | forward port of https://github.com/owncloud/core/commit/847ad6c40b951cbd3d187e3c72cb55dc3acd6951
* | Fixed total dirs/files message hiding conditionVincent Petry2013-11-131-3/+3
| | | | | | | | Fixes #5829
* | Merge pull request #5804 from owncloud/files-selectionsummaryMorris Jobke2013-11-111-1/+1
|\ \ | |/ |/| Selection summary is now displayed properly
| * Selection summary is now displayed properlyVincent Petry2013-11-111-1/+1
| | | | | | | | Fixes #5775
* | Merge pull request #5769 from owncloud/files-changedirjseventMorris Jobke2013-11-111-0/+6
|\ \ | |/ |/| Added JS event for when the user changes the directory
| * Added JS event for when the user changes the directoryVincent Petry2013-11-081-0/+6
| | | | | | | | | | This enables apps to detect directory changes which might be caused by the user using the browser back button.
* | Increased upload error delay to 10 secondsVincent Petry2013-11-081-6/+5
|/ | | | | | | Fixes #5662 Also made it use OC.Notification instead of directly access the notification HTML element.
* Fixed totalDirs JS errorVincent Petry2013-11-071-2/+2
|
* Merge pull request #5399 from frisco82/fixDownloadOverQuotaMorris Jobke2013-11-061-35/+30
|\ | | | | Do not count the size of shared folder on total
| * Do not count the size of shared folder on totalRamiro Aparicio2013-11-061-35/+30
| | | | | | | | | | | | Changed all array access to dot notation Split comment in a second line
* | Fixed storage stats to be based on current directoryVincent Petry2013-11-062-7/+26
| | | | | | | | | | | | | | | | Previously, the storage statistics were always for the root dir. This means that the upload button would always show the limit for the root dir, even when uploading to a shared dir or external storage. This fix adds a "dir" argument to getstoragestats.php.
* | Update quota value in client after scan and uploadVincent Petry2013-11-063-13/+33
| | | | | | | | | | | | After uploading, the quota value wasn't refreshed. This fix refreshes the quota value after files have been scanned or uploaded.
* | calling getstoragestats.php only if a user is logged in because this call ↵Thomas Müller2013-11-051-17/+19
| | | | | | | | requires a user to be logged in
* | Merge pull request #5582 from owncloud/files-previewcachingThomas Müller2013-11-053-38/+66
|\ \ | | | | | | Append file etag to preview URLs
| * | Fixed preview URL + size while dragging an existing fileVincent Petry2013-10-281-2/+3
| | |
| * | Append file etag to preview URLsVincent Petry2013-10-283-36/+63
| |/ | | | | | | Fixes #5534
* | Merge pull request #5648 from owncloud/files-fixhidecontrolsinviewermodeMorris Jobke2013-10-311-0/+3
|\ \ | | | | | | Corretly hide "no permissions" message in controls in viewer mode
| * | Corretly hide "no permissions" message in controls in viewer modeVincent Petry2013-10-311-0/+3
| | | | | | | | | | | | Fixes #5622
* | | prefer closest over parentJörn Friedrich Dreyer2013-10-311-1/+1
| | | | | | | | | closest will search up the tree
* | | use data-file to retrieve filenameJörn Friedrich Dreyer2013-10-311-1/+1
|/ / | | | | | | forward port of https://github.com/owncloud/core/pull/5647#discussion-diff-7341163 trust me, I know what I'm doing
* | Merge pull request #5628 from owncloud/files-fixsummaryVicDeo2013-10-301-6/+7
|\ \ | | | | | | Fixed summary visibility check
| * | Fixed summary visibility checkVincent Petry2013-10-301-6/+7
| | | | | | | | | | | | | | | Now using the integer values to check whether to show the summary parts instead of trying to parse the html code.
* | | Prevent closing the create dropdown when right clicking in FirefoxVincent Petry2013-10-301-1/+5
|/ / | | | | | | | | | | | | Firefox sends a click event on the document when right clicking which makes pasting with right click into the field impossible. Fixes #5498
* / Added fix to correctly parse non-array error messagesVincent Petry2013-10-291-2/+7
|/ | | | Some apps like the antivirus app return messages in a non-array format.
* Merge branch 'master' into ↵Jörn Friedrich Dreyer2013-10-232-7/+22
|\ | | | | | | | | | | | | prevent_user_from_creating_or_renaming_to_an_existing_filename Conflicts: apps/files/js/filelist.js
| * Merge pull request #5310 from owncloud/hide_filestable-header_when_emptyChristopher Schäpers2013-10-221-4/+12
| |\ | | | | | | Hide files list header, when theres no files to see
| | * Fix mind-boggling emptycontent logickondou2013-10-211-1/+1
| | |
| | * Fix shared folder still showing fileheaderkondou2013-10-211-2/+2
| | |
| | * Improve updateEmptyContent logickondou2013-10-201-1/+1
| | |
| | * Create FileList.updateEmptyContent() and fix not showing emptycontent after ↵kondou2013-10-201-5/+10
| | | | | | | | | | | | deletion
| | * Hide files list header, when theres no files to seekondou2013-10-121-0/+3
| | |
| * | Merge pull request #5466 from owncloud/files-thumbnailloadingdelaystyleThomas Müller2013-10-221-2/+10
| |\ \ | | | | | | | | Fixed ugly white space while loading file thumbnail
| | * | Fixed ugly white space while loading file thumbnailVincent Petry2013-10-221-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Preview images are now pre-loaded before being set on the file element. This fixes #5135 and prevents a white space to be displayed while the thumbnails is being loaded.
* | | | use a more descriptive error message when the user tries to create '/Shared'Jörn Friedrich Dreyer2013-10-232-3/+3
| | | |
* | | | Merge branch 'master' into ↵Thomas Müller2013-10-221-3/+29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | prevent_user_from_creating_or_renaming_to_an_existing_filename Conflicts: apps/files/js/filelist.js
| * | | Added FileList.setViewerMode to hide controlsVincent Petry2013-10-221-0/+25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some files app embed themselves under the controls (like the text editor). The new method FileList.setViewerMode() makes it possible to properly show/hide the control buttons using the correct permissions. Apps using this approach must call setViewerMode(true) when starting and setViewerMode(false) upon closing to restore the controls. This is needed for #5284
* | | fixing js syntax errorThomas Müller2013-10-221-2/+2
| | |
* | | prevent user from creating or renaming sth. to an existing filenameJörn Friedrich Dreyer2013-10-223-433/+492
|/ / | | | | | | | | | | | | | | - show tooltip when violating naming constraints while typing - when target filename exists on server fallback to dialog to interrupt the users flow because something unexpected went wrong - fixes #5062 - also fixes some whitespace and codestyle issues in files js - uses css selector over filterAttr in touched js files
* | give getSelectedFilesTrash() a unique name for the trash.js to avoid ↵Bjoern Schiessle2013-10-181-5/+5
| | | | | | | | confusions with the same function in files.js
* | Fixed sharing status update for new/uploaded filesVincent Petry2013-10-173-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creating new files, folders or uploading files now have their sharing icon updated accordingly. For this, the global share status list that is cached in OC.Share.statuses is reused for new files. Performance should improve as the sharing list is now only loaded once per navigation session. In OC.Share, split loadIcons into loadIcons + updateIcons. Fixes #4977
* | Merge pull request #5262 from owncloud/files-ie8-conflictdialogbrokenfixMorris Jobke2013-10-161-1/+5
|\ \ | | | | | | Fixed conflict dialog in IE8