summaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix sidebar interactionVincent Petry2015-09-281-13/+8
| | | | | | | | | - Clicking a file row or selecting it will open the sidebar. - When sidebar is open, its contents update with the last selection. - Dragging doesn't open the sidebar but does update its contents if it was open already. - Switching folders closes the sidebar. - Close sidebar when highlighted file got deleted/removed from list
* Prevent scanner going crazy with unavailable storagesVincent Petry2015-08-241-0/+3
|
* Merge pull request #18354 from owncloud/files-fixdndVincent Petry2015-08-191-1/+3
|\ | | | | Fix file drag and drop JS error
| * Fix file drag and drop JS errorVincent Petry2015-08-171-1/+3
| |
* | update jquery-visibility in files appMorris Jobke2015-08-171-2/+2
|/ | | | * ref #12877
* Merge pull request #18231 from owncloud/fix-show-shared-storage-full-temporaryVincent Petry2015-08-131-3/+2
|\ | | | | Show storage full warning for shared storages temporary
| * Show strage full warning for shared storages temporaryMorris Jobke2015-08-121-3/+2
| | | | | | | | | | | | | | * removed the setDefault call because then it will always be reshown * was added with ba475d486258c0b7ea86cd766814053df6c69170 * fixes #18208
* | replace tipsys with tooltipsHendrik Leppelsack2015-08-121-0/+2
|/
* Merge pull request #17175 from owncloud/add-download-feedbackMorris Jobke2015-07-301-1/+26
|\ | | | | Add loading spinner to download icon
| * move updateFileActionSpinner to OCA.Files.FileActionsMorris Jobke2015-07-221-20/+0
| |
| * refactor this to proper separation of concernsMorris Jobke2015-07-151-14/+28
| |
| * refactoring into proper methodsMorris Jobke2015-07-071-1/+32
| |
* | Merge pull request #17075 from owncloud/bootstrap-tooltipBernhard Posselt2015-07-231-2/+2
|\ \ | | | | | | Replace jQuery tipsy with bootstrap tooltip
| * | fix tipsy dependencyHendrik Leppelsack2015-07-081-2/+2
| |/
* / Make getMimeIcon use OC.MimeType.getIconUrlRoeland Jago Douma2015-07-091-12/+7
|/
* Add owner to the storage stats to enable better notificationsMorris Jobke2015-06-051-1/+15
| | | | | * getstoragestats.php returns now the owner and it's display name * show proper storage stats notifications for shared folders
* remove encryption specific code from files appBjoern Schiessle2015-04-071-17/+0
|
* Removing left overs from old encryption appThomas Müller2015-04-071-6/+0
|
* fixing js unit testsThomas Müller2015-03-091-8/+0
|
* adding storage specific filename verification - refs #13640Thomas Müller2015-03-091-7/+7
|
* Propertly restore thumbnail on cancel/rename/moveVincent Petry2014-12-171-4/+7
| | | | | Since the thumbnail is now in a div, the code that tries to change the thumbnail have been adapted here as well.
* Improved Javascript docs for JSDocVincent Petry2014-10-311-1/+4
| | | | | | Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments.
* Use function call for FileList.pageSizeNazar Mokrynskyi2014-10-151-1/+1
|
* Added permission check for drag and dropVincent Petry2014-09-041-1/+6
| | | | | | | | 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.
* decode filename for scrolltoJörn Friedrich Dreyer2014-06-051-1/+1
|
* use slide toggle for files appBernhard Posselt2014-06-051-7/+1
|
* Merge pull request #8695 from owncloud/jserrorfixesLukas Reschke2014-05-301-2/+3
|\ | | | | Fixed undefined object error that appears after a delay
| * Fixed undefined object error that appears after a delayVincent Petry2014-05-231-2/+3
| | | | | | | | Now binding properly with the file list instance object.
* | select webdav address on clickVolkan Gezer2014-05-301-0/+3
|/
* Merge pull request #8610 from owncloud/ie8-filesdndbugVincent Petry2014-05-161-1/+1
|\ | | | | Fix drag and drop in IE8
| * Fix drag and drop in IE8Vincent Petry2014-05-161-1/+1
| | | | | | | | | | For some reason IE8 didn't like the sort function, so using the one from underscore instead.
* | Fixed many issues, clean upVincent Petry2014-05-151-44/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixed upload and storage statistics - fixed infinite scroll to use the correct contain for scroll detection - fixed unit test that sometimes fail for rename case - controls are now sticky again - fixed selection overlay to be aligned with the table - fixed "select all" checkbox that had id conflicts - fixed public page - fixed global actions permissions detection - fix when URL contains an invalid view id - viewer mode now hides the sidebar (ex: text editor) - added unit tests for trashbin - clean up storage info in template (most is retrieved via ajax call now)
* | Namespacing for FileList, FileActions and trashbin appVincent Petry2014-05-151-345/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - FileList is now an instantiable class - FileActions is now in namespace - added App class for trashbin app - moved trashbin overrides into classes extending FileList - replaced many static calls with "this." or "self." to make the classes reusable/extendable - new URL parameter "view" to specify which view is shown, for example "files" or "trashbin" - added OC.Util.History utility class in core for handling history - moved URL handling/routing to OCA.Files.App - popstate will correctly update the current view and notify the view of the URL change so it can update the current dir - added JS unitt tests for the trashbin app - fixed public app to work with the new namespaces
* | Added app navigation for files appVincent Petry2014-05-151-0/+8
|/ | | | | | - Added links to trashbin and shared dir - Moved "WebDAV" settings block to the app nav's settings section - Added sidebar support in trashbin app as well
* typos, naming, remove unused code, identationThomas Müller2014-04-281-36/+27
|
* Fixed drag and drop into folder and onto breadcrumbVincent Petry2014-04-281-40/+20
| | | | | Fixed drag and drop code to use FileList.getSelectedFiles() instead of the visible DOM elements.
* Fixed drag shadow file sortingVincent Petry2014-04-281-0/+1
|
* Fixed selection to be based on FileList.filesVincent Petry2014-04-281-8/+4
| | | | | | | | | | The file selection is now based on the internal model array FileList.files instead of the visible checkboxes. This makes it possible to virtually select files that haven't been rendered yet (select all, then deselect a visible one) Added more unit tests for selection (with shift and ctrl as well)
* Fix file selection for infinite scrollingVincent Petry2014-04-281-199/+3
| | | | | | | - moved file selection code to FileList - fix selection summary when all files are selected - nextPage now auto-selects files if "select all" checkbox is checked - fixed trashbin to use the same selection logic as FileList
* we no longer need to handle the Shared folder different from any other folderBjoern Schiessle2014-04-231-4/+2
|
* Change from showHTML to showLukas Reschke2014-04-111-1/+1
| | | There is no need to use `showHTML` here.
* Merge pull request #8069 from ↵Björn Schießle2014-04-111-3/+3
|\ | | | | | | | | owncloud/fix-localization-issues-with-file-encrypt-app Fix some localization issues with file encryption/decryption strings
| * Fix some localization issues with file encryption/decription stringsVolkan Gezer2014-04-051-3/+3
| |
* | Merge pull request #8049 from owncloud/filepickersvgMorris Jobke2014-04-091-1/+1
|\ \ | |/ |/| Fix file picker SVG issues
| * Moved code to replace svg with png to OC.UtilVincent Petry2014-04-041-1/+1
| | | | | | | | | | | | | | | | | | - Moved code that replaces the "svg" extension for the given file to core as OC.Util.replaceSVGIcon. - Added unit test for OC.Util.replaceSVGIcon - Moved "replaceSVG" to OC.Util.replaceSVG and deprecated the global "replaceSVG" function. - Added alias for SVGSupport() as OC.Util.hasSVGSupport() (for now)
* | Show higher resolution previews for high dpi screensRobin Appelman2014-04-041-2/+4
|/
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-021-164/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files app: - removed file list template, now rendering list from JSON response - FileList.addFile/addDir is now FileList.add() and takes a JS map with all required arguments instead of having a long number of function arguments - added unit tests for many FileList operations - fixed newfile.php, newfolder.php and rename.php to return the file's full JSON on success - removed obsolete/unused undo code - removed download_url / loading options, now using Files.getDownloadUrl() for that - server side now uses Helper::getFileInfo() to prepare file JSON response - previews are now client-side only Breadcrumbs are now JS only: - Added BreadCrumb class to handle breadcrumb rendering and events - Added unit test for BreadCrumb class - Moved all relevant JS functions to the BreadCrumb class Public page now uses ajax to load the file list: - Added Helper class in sharing app to make it easier to authenticate and retrieve the file's real path - Added ajax/list.php to retrieve the file list - Fixed FileActions and FileList to work with the ajax list Core: - Fixed file picker dialog to use the same list format as files app
* fixing javascript error where $(Files.breadcrumbs[1]).get(0) returns ↵Thomas Müller2014-03-181-5/+8
| | | | undefined - happens on resize to a very small width
* Merge branch 'master' into fix-7307Thomas Müller2014-03-061-2/+5
|\ | | | | | | | | | | Conflicts: core/js/router.js settings/js/admin.js
| * don't allow to create a file or folder named 'Shared' in the root folder, ↵Bjoern Schiessle2014-03-051-2/+5
| | | | | | | | also exclude all combinations of lower and upper case letters