aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/sharedfilelist.js
Commit message (Collapse)AuthorAgeFilesLines
* fix: drop legacy sharing filesJohn Molakvoæ2023-07-111-541/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix preview cropJohn Molakvoæ2023-01-041-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Replace custom tooltips with native ones in files_sharingjulia.kirschenheuter2022-12-221-3/+1
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Fix renaming in shared with you file listVincent Petry2022-09-301-5/+0
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Replace files app ids to classesVincent Petry2022-07-261-3/+3
| | | | | | | | | | | Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Typing correctionsLouis Chemineau2022-01-111-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Revert OC.linkToOCS() calls back to old behaviourJoas Schilling2021-08-311-5/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix route path for pending remote sharesVincent Petry2021-07-271-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Use mimetype instead of type when defaulting in remote sharesVincent Petry2021-07-271-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Pending remote group share fixesVincent Petry2021-07-271-1/+7
| | | | | | | | Only remove reject share for remote group shares Also fix share indicator to appear for remote group shares as well. Fix pending remote share icon to be the one of a share. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Remove "Reject share" for pending remote sharesVincent Petry2021-07-271-0/+4
| | | | | | | In the list of pending shares, the option for rejecting the share has been removed. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Extend pending shares list to include remote sharesVincent Petry2021-07-271-1/+34
| | | | | | | And adjust the accept/decline actions to use the right endpoint for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Bump @nextcloud/router from 1.2.0 to 2.0.0dependabot[bot]2021-07-231-4/+4
| | | | | | | | | | Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-router/releases) - [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Indicate preview availability in share api responsesRichard Steinmetz2020-10-131-0/+1
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* 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