summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers for 19Christoph Wurst2020-04-2936-2/+35
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19793 from nextcloud/bugfix/noid/link-to-federated-reshareMorris Jobke2020-04-272-7/+13
|\ | | | | Fix resharing of federated shares that were created out of links
| * Link shares have reshare permission if outgoing federated shares are enabledJulius Härtl2020-04-212-7/+13
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | [tx-robot] updated from transifexNextcloud bot2020-04-272-2/+90
| |
* | [tx-robot] updated from transifexNextcloud bot2020-04-262-0/+2
| |
* | Merge pull request #17623 from j3l11234/masterRoeland Jago Douma2020-04-241-0/+1
|\ \ | | | | | | Add support for download share on old android browser
| * | Add support for download share on old android browserj3l112342019-10-211-0/+1
| | | | | | | | | | | | Signed-off-by: j3l11234 <297259024@qq.com>
* | | make php-cs happyRobin Appelman2020-04-231-1/+0
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-232-0/+4
| | |
* | | Merge pull request #20575 from nextcloud/fix/sharing-suggestionsMorris Jobke2020-04-224-32/+33
|\ \ \ | | | | | | | | Fix Sharing recommendation user display
| * | | Fix Sharing recommendation user displayJohn Molakvoæ (skjnldsv)2020-04-214-32/+33
| | |/ | |/| | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-222-10/+6
| | |
* | | Merge pull request #20114 from ↵Roeland Jago Douma2020-04-212-76/+35
|\ \ \ | |/ / |/| | | | | | | | nextcloud/techdebt/noid/allow-some-apps-to-have-root-urls Allow some apps to have root URLs in their own routing file
| * | PHP CS fixesJoas Schilling2020-04-181-5/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Directly use the class to get the serviceJoas Schilling2020-04-181-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Fix creating the share controllerJoas Schilling2020-04-181-70/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Allow some apps to have root URLs in their own routing fileJoas Schilling2020-04-181-0/+31
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-212-6/+6
| | |
* | | Add method to storage backends to get directory content with metadataRobin Appelman2020-04-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently you need to use `opendir` and then call `getMetadata` for every file, which adds overhead because most storage backends already get the metadata when doing the `opendir`. While storagebackends can (and do) use caching to relief this problem, this adds cache invalidation dificulties and only a limited number of items are generally cached (to prevent memory usage exploding when scanning large storages) With this new methods storage backends can use the child metadata they got from listing the folder to return metadata without having to keep seperate caches. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-192-0/+2
|/ /
* | [tx-robot] updated from transifexNextcloud bot2020-04-182-0/+2
| |
* | [tx-robot] updated from transifexNextcloud bot2020-04-166-0/+96
| |
* | Also disallow ; in remote urlsJoas Schilling2020-04-142-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Properly display share error messagesJohn Molakvoæ (skjnldsv)2020-04-143-4/+6
| | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | Merge pull request #20446 from ↵Roeland Jago Douma2020-04-134-4/+4
|\ \ | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/css-loader-3.5.2 Bump css-loader from 3.4.1 to 3.5.2
| * | Bump css-loader from 3.4.1 to 3.5.2dependabot-preview[bot]2020-04-134-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.1 to 3.5.2. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.4.1...v3.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-132-4/+4
| | |
* | | Changing the translation catalog for "Share"Valdnet2020-04-123-3/+3
|/ / | | | | | | | | | | Change "files" to "files_sharing". Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | Merge pull request #20185 from azul/open-new_tabJohn Molakvoæ2020-04-111-8/+4
|\ \ | | | | | | Modify do_action so default ctrl-click opens tab
| * | Allow opening files for editing in new tabsAzul2020-04-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a file list files with a default action have an href that will trigger the action. This way ctrl-click and middle button click open the default action in a new tab. In order to achieve this a new param `openfile` was introduced to the files app. It will make the files app trigger the default action for the file in question. This also allows linking to file content rather than just the details display. Introduce fileList.getDefaultActionUrl() to create a link with that param set. It's overwritten in the trashbin fileList so that anchors continue to have `#` as a href. Fix the link generation for subfolders of public shares: 58a87d0 was the last commit that touched the linkTo function in public.js. It included the params as arguments to the generateUrl function. Turns out this completely ignores the dir parameter now. The inclusion was reverted in other places so revert it here as well. Also change `dir` to `path` in the param as that is respected when following the link. Add Test for the new link url for files with default action. Remove test for multiple selects with ctrl-click as that is not what we are doing anymore. Signed-off-by: Azul <azul@riseup.net>
| * | refactor: fileActions.getCurrentDefaultFileAction()Azul2020-04-081-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fileActions.getCurrentDefaultFileAction() returns the default file action for the currently selected file. There were a number of places querying for the mime, type and permissions of that file first to then query for the default action. Signed-off-by: Azul <azul@riseup.net>
* | | Merge pull request #20426 from nextcloud/techdebt/psr2John Molakvoæ2020-04-1120-91/+91
|\ \ \ | | | | | | | | It is done
| * | | Add visibility to all constantsChristoph Wurst2020-04-1015-51/+51
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Add visibility to all methods and position of static keywordChristoph Wurst2020-04-106-40/+40
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #20419 from nextcloud/dependabot/npm_and_yarn/variousJohn Molakvoæ2020-04-1112-56/+54
|\ \ \ \ | | | | | | | | | | Bump p-limit from 2.2.2 to 2.3.0, @nextcloud/auth from 1.2.2 to 1.2.3, @babel/preset-env from 7.8.7 to 7.9.5, @nextcloud/event-bus from 1.1.3 to 1.1.4, @nextcloud/password-confirmation from 1.0.0 to 1.0.1, @nextcloud/l10n from 1.2.2 to 1.2.3, @nextcloud/initial-state from 1.1.1 to 1.1.2, core-js from 3.6.4 to 3.6.5 …
| * | | | Bump core-js from 1.4.1 to 1.5.0John Molakvoæ (skjnldsv)2020-04-1012-56/+54
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | | | [tx-robot] updated from transifexNextcloud bot2020-04-114-0/+8
| |/ / / |/| | |
* | | | Format control structures, classes, methods and functionChristoph Wurst2020-04-1063-157/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Use elseif instead of else ifChristoph Wurst2020-04-1016-77/+77
|/ / / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-102-0/+4
| | |
* | | Merge pull request #20391 from nextcloud/refactor/spaces-cleanupChristoph Wurst2020-04-095-26/+24
|\ \ \ | | | | | | | | Remove all extra whitespace PSR2 does not like
| * | | Make sure there is exactly one newline after importsChristoph Wurst2020-04-091-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Make sure every file ends with an empty newlineChristoph Wurst2020-04-091-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Remove trailing and in between spacesChristoph Wurst2020-04-094-24/+24
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #20384 from nextcloud/techdebt/lowercase-keywordsChristoph Wurst2020-04-091-1/+1
|\ \ \ \ | |/ / / |/| | | Use php keywords in lowercase
| * | | Use php keywords in lowercaseChristoph Wurst2020-04-091-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-0915-40/+40
|/ / / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-0910-7/+3
| | | | | | | | | | | | | | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Fix (array) indent style to always use one tabChristoph Wurst2020-04-094-16/+16
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | [tx-robot] updated from transifexNextcloud bot2020-04-094-0/+8
| | |