summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed many issues, clean upVincent Petry2014-05-158-65/+156
| | | | | | | | | | | | | | | - 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-1510-305/+606
| | | | | | | | | | | | | | | | | - 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
* Files app navigation can now switchVincent Petry2014-05-152-3/+6
| | | | | | | | | - added new OCA.Files namespace for files classes - the sidebar can now switch between views/containers - the trashbin renders in its own container but currently doesn't work due to overrides - added app.js as entry point for JS code (ideally all other files should only contain classes and not trigger anything)
* Added navigation manager in files app for the sidebarVincent Petry2014-05-153-45/+12
| | | | | | | Apps can now register navigation items into the sidebar of the files app. For every sidebar item there is a container. The container's content is rendered based on the script name given at registration time.
* Added app navigation for files appVincent Petry2014-05-152-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
* Fixed trashbin to use correct classVincent Petry2014-05-151-1/+1
| | | | | It seems that \OC_Filesystemview has been removed. Now using the correct class \OC\Files\View()
* remove legacy aka deprecated code: OC_FilesystemViewThomas Müller2014-05-121-3/+3
|
* Merge pull request #8041 from owncloud/files-sortcolumnsVincent Petry2014-05-124-14/+22
|\ | | | | File list sorting by clicking on column headers
| * html input tag has no closing tagThomas Müller2014-04-281-2/+3
| |
| * Set default sort of trashbin to timestamp descendingVincent Petry2014-04-281-0/+1
| |
| * Add sorting to files list, trashbin and public filesVincent Petry2014-04-283-12/+18
| |
* | [tx-robot] updated from transifexJenkins for ownCloud2014-05-122-2/+5
| |
* | [tx-robot] updated from transifexJenkins for ownCloud2014-05-111-1/+1
| |
* | Merge pull request #8407 from owncloud/scale-pics-on-public-sharing-masterThomas Müller2014-05-051-2/+3
|\ \ | | | | | | Images on public sharing get downscaled to increase use experience - thi...
| * | Images on public sharing get downscaled to increase use experience - this ↵Thomas Müller2014-05-021-2/+3
| |/ | | | | | | | | | | | | | | | | | | | | will speed up loading time - adding keep aspect to core/ajax/preview.php - remove duplicate method Preview::show() - no more hard coded mimetype of preview - remove .png from the preview urls - keep old route preview.png for backwards compatibility - aspect preserving previews are now cached
* | Merge pull request #8377 from youngguns-nl/issue_8376Vincent Petry2014-05-021-1/+9
|\ \ | |/ |/| RecursiveDirectoryIterator does not work on NFS
| * refs #8376; spaces=>tabsSjors van der Pluijm2014-04-291-1/+1
| |
| * refs #8376; added comment and applied patch on other filesSjors van der Pluijm2014-04-281-1/+9
| |
* | Cleanup and fix trashbin "clear all files" operationVincent Petry2014-04-281-1/+1
| |
* | Fixed selection to be based on FileList.filesVincent Petry2014-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | 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 trashbin previews and "delete selected"Vincent Petry2014-04-282-4/+4
| |
* | Fix file selection for infinite scrollingVincent Petry2014-04-282-161/+128
| | | | | | | | | | | | | | - 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
* | Fix file summary to use the whole file listVincent Petry2014-04-283-2/+7
|/ | | | | | - moved the summary code into a new class FileSummary - FileSummary is calculated only once, then updated with add/remove - added new OC.Util namespace for JS utility functions
* Merge pull request #8247 from owncloud/l10n-files_trasbin-fixThomas Müller2014-04-221-4/+4
|\ | | | | Fix localization issues of files_trashbin
| * Fix localization issues of files_trashbinVolkan Gezer2014-04-171-4/+4
| |
* | [tx-robot] updated from transifexJenkins for ownCloud2014-04-191-0/+5
| |
* | Merge pull request #8189 from Xenopathic/misc_fixesRobin McCorkell2014-04-171-14/+14
|\ \ | |/ |/| Various fixes
| * Prevent error in files_trashbinRobin McCorkell2014-04-131-7/+9
| | | | | | | | | | | | | | | | | | | | `glob` can return FALSE when the directory is empty, instead of an empty array, causing an error at `foreach`. "Note: On some systems it is impossible to distinguish between empty match and an error." See http://www.php.net/manual/en/function.glob.php -> Return Values
| * Adjust logic for deciding if trashbin emptyRobin McCorkell2014-04-131-7/+5
| | | | | | | | | | | | Any error in opening the trashbin directory returns 'true' for isEmpty. An error is prevented by checking if the directory exists before trying to open it.
* | [tx-robot] updated from transifexJenkins for ownCloud2014-04-1648-96/+96
|/
* [tx-robot] updated from transifexJenkins for ownCloud2014-04-111-3/+3
|
* [tx-robot] updated from transifexJenkins for ownCloud2014-04-101-0/+1
|
* [tx-robot] updated from transifexJenkins for ownCloud2014-04-091-0/+2
|
* Disable sharing in trashbin appVincent Petry2014-04-081-0/+1
|
* [tx-robot] updated from transifexJenkins for ownCloud2014-04-081-0/+5
|
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-0212-333/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #7872 from owncloud/trash-disablestoragestatsBjörn Schießle2014-03-281-0/+5
|\ | | | | Do not retrieve storage stats for trash bin
| * Do not retrieve storage stats for trash binVincent Petry2014-03-281-0/+5
| |
* | Merge pull request #7107 from owncloud/load-apps-proper-masterThomas Müller2014-03-281-6/+0
|\ \ | | | | | | Load apps proper master
| * \ Merge branch 'master' into load-apps-proper-masterThomas Müller2014-03-2166-251/+334
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: apps/files/ajax/rawlist.php cron.php ocs/v1.php
| * | | remove superfluous $RUNTIME_APPTYPESThomas Müller2014-02-061-6/+0
| | | |
* | | | [tx-robot] updated from transifexJenkins for ownCloud2014-03-271-0/+1
| |_|/ |/| |
* | | Merge pull request #7768 from owncloud/trashempty-nocacheicewind19912014-03-241-17/+26
|\ \ \ | |_|/ |/| | Use a more efficient way to determine that the trashbin is empty that doesn't rely on the cache
| * | catch the case where files_trashbin/files doesn't existRobin Appelman2014-03-241-1/+4
| | |
| * | More robust way to check if the folder is emptyRobin Appelman2014-03-171-3/+6
| | |
| * | Use a more efficient way to determine that the trashbin is empty that ↵Robin Appelman2014-03-171-20/+23
| | | | | | | | | | | | doesn't rely on the cache
* | | Improve sorting performance of large lists of filesRobin Appelman2014-03-191-2/+6
|/ /
* | [tx-robot] updated from transifexJenkins for ownCloud2014-03-131-0/+15
| |
* | Merge pull request #7668 from owncloud/trashbin_predeleteVincent Petry2014-03-121-0/+1
|\ \ | | | | | | add preDelete hook for files_trashbin app
| * | add preDelete hook for files_trashbin appGeorg Ehrke2014-03-111-0/+1
| | |