aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/share.js
Commit message (Collapse)AuthorAgeFilesLines
* Move files_sharing additionalscripts over to webpackRoeland Jago Douma2019-02-151-276/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Migrate link shares to arrayJohn Molakvoæ (skjnldsv)2018-11-011-7/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not show action menu if no actions are availableJohn Molakvoæ (skjnldsv)2018-08-151-3/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add room shares to DAV and recent files "share-types" propertyDaniel Calviño Sánchez2018-08-081-0/+2
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fixed jsunitJohn Molakvoæ (skjnldsv)2018-07-051-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Disable sidebar on deleted shareJohn Molakvoæ (skjnldsv)2018-07-051-3/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not add sharePermission logic in JSRoeland Jago Douma2018-04-261-14/+1
| | | | | | | We have a dedicated dav property. We should do all the magic in 1 place. Not several. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Show share owner avatars on all file listsJulius Härtl2018-02-091-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* rip out obsolete recipientsDisplayNameArthur Schiwon2017-11-231-35/+5
| | | | | | 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-0/+5
| | | | 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-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix share indicator handlingVincent Petry2017-04-261-7/+10
| | | | | Properly update the fileInfoModel with the updated share types, which also updates the file list row indicator properly
* Fix AdBlock blocking share icon, ref #866Jan-Christoph Borchardt2017-04-121-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* shares-circlesMaxence Lange2017-03-171-0/+2
| | | Signed-off-by: Maxence Lange <maxence@nextcloud.com>
* Fixed size issues on main detail view and disappearing of share recipients ↵Michael Jobst2016-12-231-8/+20
| | | | | | | | | | | | | | | | | | (#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>
* Display link share icon when toggling shareRoeland Jago Douma2016-11-301-1/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add an icon when the file is shared by mailJoas Schilling2016-11-301-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Listen to sharetab changesRoeland Jago Douma2016-11-071-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* refactor share permission logic into own method to reuse it for the share tabChristoph Wurst2016-11-071-13/+22
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* show whether the current folder was shared or notChristoph Wurst2016-11-071-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fixed disappearing of share info in file viewMichael Jobst2016-11-041-1/+6
|
* Display "Share" alt text for share action icon (#26158)Vincent Petry2016-09-261-0/+1
| | | | | | Downstreaming of https://github.com/owncloud/core/pull/26158 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* apps: Fix typos (found by codespell) (#23862)Stefan Weil2016-04-121-1/+1
| | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Fix displaying owner before share icon in file listVincent Petry2016-03-301-2/+3
| | | | Initial display of owner was missing
* Return remote shares in oc:share-types Webdav propertyVincent Petry2016-03-241-0/+2
| | | | | Fixes web UI to properly display the share status icon when an outgoing remote share exists
* Add webdav property for share info in PROPFIND responseVincent Petry2016-03-171-24/+33
|
* Make file actions use icon CSS classesRoeland Jago Douma2016-02-251-1/+1
| | | | This makes theming of file actions possible
* Reload list of shares on directory changeRoeland Jago Douma2016-02-111-0/+4
|
* File shares can't have create permissionsRoeland Jago Douma2015-12-141-0/+3
| | | | fixes #21187
* Parse share owner from Webdav to display in UIVincent Petry2015-11-221-1/+21
|
* Fix icon update to be more consistentVincent Petry2015-10-291-0/+7
| | | | Makes the details bar show the same icon as in the list.
* Still show share link when recipient but no share permissionVincent Petry2015-09-281-20/+10
| | | | | | | | This makes it possible for the recipient to still trigger the sidebar and share tab to see information about the share. In the case where the file is not shared and no permissions exists, no action icon will be displayed.
* Fix tabs order in files sidebarVincent Petry2015-09-281-1/+1
|
* Bring back the share icon and update its statusVincent Petry2015-09-161-7/+56
| | | | | Display share icon in file list row. Update share icon status when the sharing state changed.
* remove obsolete file actionArthur Schiwon2015-09-161-55/+0
|
* Add share dialog into share tabVincent Petry2015-09-161-3/+1
|
* Improve right sidebar tabs behaviorVincent Petry2015-08-141-0/+8
| | | | | | | | | | | Tab heads are not rendered if only one tab. The tab contents is updated on-demand. This means that if a tab is not visible it is not rendered at first. If the tab was already rendered through switching, its model will not get updated until the next time it becomes visible. This will prevent needless rerendering of invisible tab contents, especially considering that some tabs might need extra ajax requests.
* Remove share action display nameVincent Petry2015-08-101-1/+1
|
* Implement file actions dropdownVincent Petry2015-08-101-47/+49
| | | | | | File actions now have two types "inline" and "dropdown". The default is "dropdown". The file actions will now be shown in a dropdown menu.
* More fixes to the right sidebarVincent Petry2015-08-071-3/+0
| | | | | Sidebar now works in all file list views. Moved owner to share tab.
* Improved right sidebarVincent Petry2015-08-071-0/+7
| | | | | | | | Added owner info. Added animation, but causes scrollbal. Default file action now when clicking on name directly. Fixed icon. Added empty share tab.
* Merge pull request #17349 from owncloud/share-onlyshowstaticownerifavailableMorris Jobke2015-07-031-1/+1
|\ | | | | Do not show static share owner if not available
| * Do not show static share owner if not availableVincent Petry2015-07-021-1/+1
| | | | | | | | | | | | | | In some corner cases, an outgoing share exists but sharing is not allowed for the current user. This would cause the file list to break because the static text could not be rendered as the owner was undefined.
* | Do not register JS share plugin if core sharing API is disabledVincent Petry2015-07-021-0/+4
|/
* Disable JS plugin for sharing in public modeVincent Petry2015-01-261-1/+1
| | | | | This removes the logic that registers the share action and modifies the rows. Share actions aren't needed in the public file list.
* make Share button localized againVolkan Gezer2015-01-111-1/+1
| | | | it seems we have forgotten to use named FileAction
* Simple Plugin system for JavascriptVincent Petry2014-12-011-40/+34
|
* Merge pull request #9177 from owncloud/jsdocexperimentVincent Petry2014-11-131-3/+15
|\ | | | | Improved JS Docs + added build script for JS Docs
| * Improved Javascript docs for JSDocVincent Petry2014-10-311-3/+15
| | | | | | | | | | | | Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments.