summaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5378 from patschi/fix-5349Morris Jobke2017-06-131-1/+1
|\ | | | | Fix #5349, no themed icon when dragging folder
| * Fix #5349, no themed icon when dragging folderPatrik Kernstock2017-06-131-1/+1
| | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* | Put the quota bar to the bottomMorris Jobke2017-06-131-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Only set the active item when there is one (not the case for quota)Joas Schilling2017-06-131-1/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add quota to the files viewJoas Schilling2017-06-131-0/+4
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Trigger pre and post render events in MainFileInfoDetailsViewDaniel Calviño Sánchez2017-06-091-0/+4
| | | | | | | | | | | | The post-render event makes possible to modify the MainFileInfoDetailsView element once it has been rendered, which is needed by OCA.SystemTags.FilesPlugin to add the "Tags" label to the file details, while the pre-render event makes possible to detach added elements if needed before the MainFileInfoDetailsView is rendered again, as that removes the events from the child DOM elements even if they belong to other views. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Make possible to know the registered detail views in a details viewDaniel Calviño Sánchez2017-06-092-0/+25
| | | | | | | | In some cases, an app may need to act on a detail view registered by another app or the core, for example, to add extra elements to the element of the detail view. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Copy permalink directly on clickRoeland Jago Douma2017-05-231-9/+30
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make new file file tooltip error text changePhil Davis2017-05-211-0/+1
| | | | Signed-off-by: Phil Davis <phil@jankaritech.com>
* Make rename file tooltip error text changePhil Davis2017-05-211-0/+2
| | | | Signed-off-by: Phil Davis <phil@jankaritech.com>
* Merge pull request #4922 from nextcloud/verbose-uploadmenu-textMorris Jobke2017-05-171-2/+2
|\ | | | | Use more verbose text for upload menu
| * Use more verbose text for upload menuJan-Christoph Borchardt2017-05-161-2/+2
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Use proper mime icons for search resultsJulius Härtl2017-05-161-26/+4
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* 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>