aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/sharedfilelist.js
Commit message (Collapse)AuthorAgeFilesLines
* Add pending share list to frontendJulius Härtl2020-01-071-1/+19
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Comply to eslintJohn Molakvoæ (skjnldsv)2019-10-011-337/+333
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #11967 from ↵Morris Jobke2018-10-231-6/+0
|\ | | | | | | | | nextcloud/fix-opening-a-section-again-in-the-files-app Fix opening a section again in the Files app
| * Remove event handler no longer neededDaniel Calviño Sánchez2018-10-211-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The custom handler for "URL changed" events were added to reload the file list whenever the sections for favorites and shares were opened; this was used to fix the problem of not reloading the file lists when opening them for a second time. However, besides that the handlers were not really necessary, and as the root of the bug was fixed in the previous commit those handlers are now removed. The file list for tags uses the handler for a different purpose, though, so that one was kept. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #11927 from stweil/cleanRoeland Jago Douma2018-10-191-5/+5
|\ \ | | | | | | Remove duplicate condition
| * | Remove duplicate conditionStefan Weil2018-10-191-6/+6
| |/ | | | | | | | | | | | | | | This fixes a warning from LGTM: Operands additionnalShares and additionnalShares are identical. Fix also the typo in the parameter name.
* / Add missing variable declarationsStefan Weil2018-10-191-1/+3
|/ | | | | | | | | This fixes errors from LGTM like the following one: Variable i is used like a local variable, but is missing a declaration. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Add missing semicolonsStefan Weil2018-10-191-1/+1
| | | | | | | | | This fixes some recommendations from LGTM: Avoid automated semicolon insertion (90% of all statements in the enclosing function have an explicit semicolon). Signed-off-by: Stefan Weil <sw@weilnetz.de>
* returning of $tr is expected, otherwise ending up in a JS errorArthur Schiwon2018-08-231-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove unexecutable codeArthur Schiwon2018-08-151-21/+4
| | | | | | | OCA.Sharing.SharedFileInfo was never defined and that stopped execution. Interestingly, FF never showed me an error. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Jsuinit fixesJohn Molakvoæ (skjnldsv)2018-07-171-3/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix share by/with checkJohn Molakvoæ (skjnldsv)2018-07-141-4/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed sharing coding style and display - Added all shares overviewJohn Molakvoæ (skjnldsv)2018-07-131-112/+71
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Fixed if condition Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Tiny start of the share overviewRoeland Jago Douma2018-07-131-19/+80
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Disable sidebar on deleted shareJohn Molakvoæ (skjnldsv)2018-07-051-0/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Js magic for deleted sharesJohn Molakvoæ (skjnldsv)2018-07-051-14/+34
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* recycle SharedFileInfo values in fileInfoArthur Schiwon2017-11-231-1/+21
| | | | | | | | | fileInfo is composed of data from sharing, however additional data is pulled when sidebar opens, e.g. the size. Then, existing data is overwritten by data from the other source (files). The data points that would be lost are not dirty however and still used, so we keep them. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* rip out obsolete recipientsDisplayNameArthur Schiwon2017-11-231-6/+11
| | | | | | also needs tests adjustements, and this also brings in natural sorting Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust tests and apply sortingArthur Schiwon2017-11-231-1/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix avatars in file rows of incoming sharesArthur Schiwon2017-11-231-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix avatars in file rows of outgoing sharesArthur Schiwon2017-11-231-0/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* share api expanded by tags (#26583)Michael Jobst2017-04-111-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Do reload shared viewsRoeland Jago Douma2017-04-111-0/+6
| | | | | | | | | | Fixes #4248 The magic introduced in #3686 caused the shared views not to be updated properly. Thus we just overwrite the _onUrlChange method in the sharedfilelist. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Simplify test code and don't show anything if no date is setMorris Jobke2016-07-071-1/+1
|
* Update header during update callbackMorris Jobke2016-07-071-5/+5
|
* Not set expiration date is represented as 0Morris Jobke2016-07-071-1/+4
|
* add "Never" if expiration date is not setMorris Jobke2016-07-071-2/+3
|
* Add expiration date to share by link viewMorris Jobke2016-07-071-0/+38
|
* Add webdav property for share info in PROPFIND responseVincent Petry2016-03-171-0/+10
|
* Make files app use Webdav for most operationsVincent Petry2015-11-221-3/+1
|
* Bring back delete permission in share overviewVincent Petry2015-10-291-10/+2
|
* Fix file list reload callback resultVincent Petry2015-10-271-4/+4
| | | | | | | | All reloadCallback must return either true for success or false in case of failure / non-existing folder. Some file lists only have a root folder (favorite, shares), so restrict the path to that to avoid having a wrong path in the breadcrumbs.
* Fix and extend unit testsRoeland Jago Douma2015-10-021-3/+7
|
* More fileinfoRoeland Jago Douma2015-10-021-4/+8
|
* Start to show remote shares in shared with you sectionRoeland Jago Douma2015-10-021-6/+59
|
* Share app no longer use the OCS API iconRoeland Jago Douma2015-07-061-1/+1
| | | | Switch to new javascript mimetype resolver
* Enable file icons & previews in "Shared ..." categoriesMorris Jobke2015-05-061-0/+1
| | | | | | * sharing API returns now the mimetype icon path * file previews are now lazyloaded by default (as the doc says) * fixes #16086
* Merge pull request #12795 from owncloud/files-layoutchangesMorris Jobke2014-12-131-0/+1
|\ | | | | Move file thumbnail element into the label tag
| * Move file thumbnail into the label elementVincent Petry2014-12-111-0/+1
| |
* | Simple Plugin system for JavascriptVincent Petry2014-12-011-0/+1
|/
* Remove delete button in shared with others listVincent Petry2014-11-191-2/+10
| | | | | | | | | Whenever a file is shared with others or with link, a delete button used to be visible that triggered a direct deletion. This button has been removed to avoid accidental deletion from people who might believe it was an unshare button. Unsharing is still possible inside the share dropdown.
* Improved Javascript docs for JSDocVincent Petry2014-10-311-6/+46
| | | | | | Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments.
* Show original path information in trashbin and sharing viewsRobin McCorkell2014-09-111-0/+6
| | | | Path will only be shown if in subdirectory, not in root.
* Client side sort for sharing overviewVincent Petry2014-08-151-0/+2
| | | | | Since the server doesn't support sorting, use client side sort directly instead of calling reload() first.
* update attributes for share with user list, file should always have delete ↵Bjoern Schiessle2014-07-281-0/+3
| | | | permissions, this means unshare in this context, and the overview page is always a root view
* Fix preview animation on uploadingVincent Petry2014-07-171-1/+0
| | | | | When adding/uploading files, the preview is now animated. When loading a list of files directly the preview is displayed directly.
* Added mountType attribute and adapted Delete action textVincent Petry2014-07-141-0/+1
| | | | | | | | | | | | | | Added mountType attribute for files/folder to indicated whether they are regular, external or shared. The client side then adapts the "Delete" action hint text based on this information. Only the mount roots must have the delete icon hint adapted. To make this detectable on the client side, the mountType can now be null, "shared", "shared-root", "external" or "external-root". This also gives room to icon customization on the client side.
* Merge pull request #9499 from owncloud/shares-hidetokenrecipientMorris Jobke2014-07-071-1/+3
|\ | | | | Do not show recipient for link shares in file list
| * Do not show recipient for link shares in file listVincent Petry2014-07-071-1/+3
| | | | | | | | | | | | | | | | In the "Shared with link" section, the share_with field can contain a value when a password was set. This fix prevents this value to be shown as it is not intended for the end user.
* | Fixed shared list sortingVincent Petry2014-07-071-3/+2
|/ | | | | Use Array.sort instead of underscore's sortBy() as they don't use the same method/function signature.