aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Set "share_with" field to the ID of the circleDaniel Calviño Sánchez2018-03-161-2/+10
| | | | | | | | | | | When a share is shared with a circle the "share_with" field returned by the API endpoint was always set to the name of the circle. However, the name is not enough to identify a circle. The Circles app now provides the ID of the circle in the "shared with" field of a Share, so this commit modifies the API endpoint to set the "share_with" field to the ID of the circle when provided by the Circles app. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #8255 from nextcloud/bugfix/noid/group-display-nameblizzz2018-03-151-10/+54
|\ | | | | Full implement group display names
| * Fix group displaynames in activityJoas Schilling2018-03-081-10/+54
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use label for better focus on external shareJohn Molakvoæ (skjnldsv)2018-03-071-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Fixed ext share style and use varable for popover heightJohn Molakvoæ (skjnldsv)2018-03-071-2/+6
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Improved inline confirm icon with opacity and fixed ext share loading stateJohn Molakvoæ (skjnldsv)2018-03-071-2/+2
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #8373 from nextcloud/right-header-stdrdMorris Jobke2018-03-071-2/+6
|\ | | | | New standard for top right header
| * Fixed public templateJohn Molakvoæ (skjnldsv)2018-03-071-2/+6
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | fixup! Sharing: redirect to download after authentification if requestedJohn Molakvoæ (skjnldsv)2018-03-011-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Fixed testsJohn Molakvoæ (skjnldsv)2018-02-281-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | fixup! Sharing: redirect to download after authentification if requestedJohn Molakvoæ (skjnldsv)2018-02-281-2/+9
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Sharing: redirect to download after authentification if requestedJohn Molakvoæ (skjnldsv)2018-02-281-4/+7
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove unused static sharing helper codeRoeland Jago Douma2018-02-271-170/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7363 from nextcloud/default-share-permsMorris Jobke2018-02-272-28/+37
|\ | | | | Let the admin configure the default share permissions
| * share api: use default permission of no permission is givenBjoern Schiessle2018-02-271-28/+35
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * add share permissions to settings pageBjoern Schiessle2018-02-271-0/+2
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Fix files_sharing testsJulius Härtl2018-02-271-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add missing phpdoc for public APIJulius Härtl2018-02-271-10/+10
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add phpdoc, typehints and sanitize HTMLJulius Härtl2018-02-272-6/+27
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Use PublicTemplateResponse for files_sharingJulius Härtl2018-02-273-1/+116
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #8335 from nextcloud/remove-unused-importMorris Jobke2018-02-143-3/+0
|\ | | | | Remove unused import statements
| * Remove unused import statementsMorris Jobke2018-02-143-3/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Simplify return statementMorris Jobke2018-02-131-3/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Show open graph preview in WhatsAppRoeland Jago Douma2018-02-121-0/+11
| | | | | | | Whatsapp is picky about the size of the open graph images. So we do some special handling. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use ::class statement instead of stringMorris Jobke2018-01-296-8/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-263-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Simplify ternary operator statementsMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8063 from nextcloud/inline-valueJoas Schilling2018-01-262-6/+2
|\ | | | | Return value immediately instead of assigning to a one-time variable
| * Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-262-6/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix array method usages with a proper callMorris Jobke2018-01-251-1/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-231-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* return correct mount type for federated sharesBjoern Schiessle2018-01-111-0/+10
| | | | | | fix https://github.com/nextcloud/server/issues/6584 Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Also cache invalid DiscoveryService responseRoeland Jago Douma2017-12-131-1/+1
| | | | | | | | * Cache it for a day so we will retry eventually * Cache the status.php response as well so we will try it once a day as well Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* delay calculating the shared cache root until it's usedRobin Appelman2017-12-041-17/+27
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use the correct root for shared jail when the source storage is also a jailRobin Appelman2017-11-101-1/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Change @georgehrke's emailMorris Jobke2017-11-064-1/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-0633-8/+124
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7030 from nextcloud/proper_og_imageRoeland Jago Douma2017-11-011-1/+6
|\ | | | | Use the new direct endpoint for the OpenGraph image
| * Use the new direct endpoint for the og:imageRoeland Jago Douma2017-10-311-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Some providers had issues when using the preview link (since it was double encoded). Now we actually serve the max size preview so it looks better The image isn't cropped anymore so supporting platforms can just embed the whole image. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge branch 'master' into autocomplete-guiArthur Schiwon2017-11-011-2/+6
|\|
| * Do not error when downloading from a numeric public subfolderRoeland Jago Douma2017-10-301-0/+4
| | | | | | | | | | | | Fixes #6820 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Updated OpenGraph title to display folder name instead of a nextcloud ↵Sascha Sambale2017-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | standard text When sharing a folder via Facebook, WhatsApp or any other platform that makes use of OpenGraph, the display title was "Nextcloud - a safe home for all your data" and the description was the actual name of the folder. This should not be the case, so the display title has been changed to display the folder name and the description now displays the former OpenGraph title. Signed-off-by: Sascha Sambale <mastixmc@gmail.com> Fixing whitespaces and empty line.
* | fix sharerecipientssorter testsArthur Schiwon2017-10-271-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix sortingArthur Schiwon2017-10-261-4/+14
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | ensure that sorting is stableArthur Schiwon2017-10-221-2/+17
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | AutoCompletion backendArthur Schiwon2017-10-221-0/+85
|/ | | | | | | | | | * introduce a Controller for requests * introduce result sorting mechanism * extend Comments to retrieve commentors (actors) in a tree * add commenters sorter * add share recipients sorter Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #6328 from nextcloud/split-sharees-api-logicblizzz2017-10-041-578/+36
|\ | | | | Splits off the logic from sharees endpoint thus making it available from within Nc/via PHP.
| * shareeAPIController unit test clean up and last fixesArthur Schiwon2017-09-261-0/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * remove unused methodArthur Schiwon2017-09-261-22/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>