summaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* Do not reload the filelist on first openRoeland Jago Douma2017-05-041-1/+10
| | | | | | | | | | | | | | | | Fixes: #4644 Without this patch the filelist would always reload. However since not all the correct data was set yet it would often: 1. fireoff a propfind to ../webdav/ 2. fireoff a propfind to ../webdav/<PATH> When just opening the file list those are the same so the result is just fine. However if opening a direct link it means that there is a race condition on which finishes first. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove dependency on jquery-migrate.js for browser detectionMorris Jobke2017-05-011-1/+1
| | | | | | * ref #4628 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make sure mountType is actually definedRoeland Jago Douma2017-04-281-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow apps to set custom mount typesRobin Appelman2017-04-281-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #4519 from nextcloud/downstream-27703Morris Jobke2017-04-261-0/+8
|\ | | | | Reload file list when leaving hidden state
| * Reload file list when leaving hidden stateVincent Petry2017-04-261-0/+8
| | | | | | | | | | | | | | | | Whenever a file list is already initialized and was hidden when switching to another file list in the navigation bar, if the user comes back to this list it gets redisplayed. At this point the list needs to be refreshed to be able to reflect any potential file changes done from the other lists.
* | Fix closing details view when viewing file in folderDaniel Calviño Sánchez2017-04-251-0/+1
|/ | | | | | | | | | | | The Files app active view is set to "files" in silent mode to avoid an unneeded load of the "/" directory. However, this also prevents the details view from being automatically closed, so it has to be explicitly closed by the Goto plugin; the approach used is the same that would have been used by OCA.Files.App._onNavigationChanged if not silenced. Fixes #1448 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* properly reload favorites listRobin Appelman2017-04-211-0/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Explain local linkJos Poortvliet2017-04-131-1/+1
| | | | | | | | | | The local link is a clever thing and the clients should support this imho but it might not be clear to all users. For one, the term 'local link' is a bit odd. Local with respect to what? It links directly to the file or folder, so direct link seems to make more sense to me. And we should explain the difference with a public link. So this PR: * renames local link to direct link * adds a short explanation, noting it only works for users who have access to this file/folder. As other links are called public link you could also consider calling this 'private link', I suppose. But the links we sent by mail to ppl could also be called 'private link' (they are for one user, who git it by email) so I think it might be confusing. What do @nextcloud/designers think? Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update comments to NextcloudMorris Jobke2017-04-111-1/+1
| | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* share api expanded by tags (#26583)Michael Jobst2017-04-111-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | * 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 #4153 from nextcloud/fix-uploadJoas Schilling2017-04-061-1/+2
|\ | | | | Fix upload of folders in Chrome
| * Fix upload of folders in ChromeMorris Jobke2017-04-061-1/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Some more hardeningJoas Schilling2017-04-041-6/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | file-upload.js modified : Remaining upload time correctedSarthikaDhawan2017-04-041-1/+10
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge file view JS filesLukas Reschke2017-03-241-0/+29
| | | | | | Removes 26 requests on the file list loading Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* added quit option in commentstabview.jsnoveens2017-03-236-62/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added quit option in notif in app.js added quit option in notif in file-upload.js added quit option in notif in fileinfomodel.js added quit option in notif in filelist.js added quit option in notif in filelist.js added quit option in notif in tagsplugin.js added quit option in notif in statusmanager.js added quit option in notif in external.js added quit option in notif in versionstabview.js added quit option in notif in notification.js changes according to the latest review. timeout removed since there is a button to close it translation capability added typo fixed test files updated small errors fixed Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix grammarLukas Reschke2017-03-201-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add ignore_files to config,Felix Heidecke2017-03-201-0/+3
| | | | | | | | | | | | | | | | test files against ignore_files list on upload fix typo and indentation Move blacklist declaration to lib/public/Files/FileInfo.php, Rename *ignored to *blacklisted Mocked blacklist_files for testing Mocked blacklist_files for testing Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove single quotes around search query like in user searchJoas Schilling2017-03-151-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* dont preserve mtime when uploading trough the web interfaceRobin Appelman2017-03-131-5/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Correct incorrectly typed X-OC-Mtime headerStefan Schneider2017-03-101-1/+1
| | | | Signed-off-by: Stefan Schneider <stefan.schneider@squareweave.com.au>
* filelist only refreshed if directory changesnoveens2017-03-021-0/+5
| | | | | | | | | | | | | | | | check introduced at another method comment added to explain one check comment added to explain one check unit tests added small fixes in unit tests missing semicolon added Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix typoMorris Jobke2017-02-281-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Replace deprecated $.tipsy(...) by $.tooltip(...)Christoph Wurst2017-02-272-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fixed path in other folders searchMarcin2017-02-211-2/+2
| | | Signed-off-by: Marcin Czarnecki <marcin.czarnecki@protonmail.com>
* open the sidebar when opening a permalinkRobin Appelman2017-01-231-0/+5
| | | | | | Also works for search results Signed-off-by: Robin Appelman <robin@icewind.nl>
* Popover positionning and classesJohn Molakvoæ (skjnldsv)2017-01-222-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fit newFileMenu to css guidelinesJohn Molakvoæ (skjnldsv)2017-01-222-9/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #2776 from nextcloud/prevent-quotes-from-being-a-problemMorris Jobke2017-01-171-1/+9
|\ | | | | Escape the name for the jquery selector
| * Escape the name for the jquery selectorJoas Schilling2016-12-201-1/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fixed size issues on main detail view and disappearing of share recipients ↵Michael Jobst2016-12-234-13/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#26603) * fixed size issues on main detail view and disappearing of share recipients * Changes due to code comments * Moved reloadProperties() to FileInfoModel * Solved Scrutinizer issues * Bugfix: undefined value used on error * check if options are set for FileInfoModel.initialize() Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #2763 from nextcloud/fix_maindetailsview_favorite_star-patchLukas Reschke2016-12-232-35/+3
|\ \ | | | | | | [downstream] Fix maindetailsview favorite star patch
| * | OC.Uploader does not have a 'state' method, therefore theChristoph Wurst2016-12-231-31/+0
| | | | | | | | | | | | | | | | | | dead code can be removed Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Style modifications of favorite star on main detail view (#26658)Michael Jobst2016-12-191-4/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | * Style modifications of favorite star on main detail view * Removed unused opacity change on mouse over * favorite star title fixed * favorite star opacity should always be .7 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* / Just use moment to comupte the time left for the upload - translations are ↵Thomas Müller2016-12-221-37/+3
|/ | | | | | delivered as part of moment.js - fixes #26804 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix showConflictpflug2016-12-191-1/+12
| | | | | | | use getFullFileName to show conflicting file add original.directory to make fileExists happy Signed-off-by: Andreas Pflug <dev@admin4.org>
* fix type in jsdocArthur Schiwon2016-12-061-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #2444 from nextcloud/detect-also-a-400-statusChristoph Wurst2016-12-011-1/+1
|\ | | | | Catch status code 400
| * Catch status code 400Lukas Reschke2016-12-011-1/+1
| | | | | | | | | | | | In case the server returns a statuscode 400 we should also gracefully return to the home directory. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #2435 from nextcloud/sidebar-preview-non-previewRoeland Jago Douma2016-12-011-3/+12
|\ \ | |/ |/| allow registering sidebar preview handlers for mimetypes that dont co…
| * allow registering sidebar preview handlers for mimetypes that dont come with ↵Robin Appelman2016-12-011-3/+12
| | | | | | | | | | | | server side previews Signed-off-by: Robin Appelman <robin@icewind.nl>
* | remove js debug statements in sidebar text preview generatorRobin Appelman2016-11-301-5/+1
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #768 from nextcloud/s3-objectstoreRobin Appelman2016-11-181-1/+1
|\ | | | | Add S3 objectstore backend
| * add comment for non empty text fileRobin Appelman2016-11-161-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Dont create 0 byte text filesRobin Appelman2016-11-161-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | use copy icon for local link rather than link icon to prevent confusion with ↵Jan-Christoph Borchardt2016-11-171-2/+2
| | | | | | | | | | | | sharing Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Merge pull request #2123 from nextcloud/downstream-26522Joas Schilling2016-11-161-2/+6
|\ \ | |/ |/| Skip hidden files when counting visible files in list
| * Skip hidden files when counting visible files in list (#26522)Vincent Petry2016-11-141-2/+6
| | | | | | | | | | | | The file list UI logic that renders the next page doesn't properly exclude hidden files when not shown. This fix makes sure that only rows that are actually visible are counted when rendering a page, this makes sure that the page will always have enough elements displayed.
* | disabling dropping on dragging objects temporarilyMichael Jobst2016-11-141-1/+5
|/ | | | better solution