aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix "misplaced variables" warning of Psalm in PHPDoc statementsMorris Jobke2020-08-171-1/+1
| | | | | | Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [tx-robot] updated from transifexNextcloud bot2020-08-132-0/+2
|
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-123-10/+10
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #21954 from nextcloud/techdebt/noid/bootstrap-files_trashbinblizzz2020-08-075-94/+49
|\ | | | | Use IBootstrap for the files_trashbin app
| * Use IBootstrap for the files_trashbin appMorris Jobke2020-07-235-94/+49
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | [tx-robot] updated from transifexNextcloud bot2020-08-072-0/+20
| |
* | Merge pull request #22067 from nextcloud/dependabot/npm_and_yarn/variousMorris Jobke2020-07-312-6/+6
|\ \ | | | | | | Dependabot/npm and yarn/various
| * | Bump compiled filesJohn Molakvoæ (skjnldsv)2020-07-312-6/+6
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | fix object store trashbin handlingRobin Appelman2020-07-301-3/+10
|/ / | | | | | | | | | | object stores are "special" given how they interact with the cache on their own Signed-off-by: Robin Appelman <robin@icewind.nl>
* | [tx-robot] updated from transifexNextcloud bot2020-07-294-0/+6
| |
* | rollback cache rename if trashbin move failsRobin Appelman2020-07-231-0/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix moving files from external storage to object store trashbinRobin Appelman2020-07-231-2/+2
|/ | | | | | | | | | | | having the "cache rename" after the "storage move" caused the target to get the fileid from the source file, without taking care that the object is stored under the original file id. By doing the "cache rename" first, we trigger the "update existing file" logic while moving the file to the object store and the object gets stored for the correct file id Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #21658 from nextcloud/trashbin-configurable-sizeMorris Jobke2020-07-215-0/+159
|\ | | | | allow admin to configure the max trashbin size
| * allow admin to configure the max trashbin sizeRobin Appelman2020-07-075-0/+159
| | | | | | | | | | | | | | | | this allows an admin to configure the max trashbin size instead of always relying on the users quota. The trashbin size can be configured using the `occ trash:size` command and can be set both globally and per-user Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-203-3/+3
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | [tx-robot] updated from transifexNextcloud bot2020-07-192-8/+8
| |
* | Clean up container usage in files trashbinChristoph Wurst2020-07-161-2/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Compile assetsnpmbuildbot[bot]2020-07-141-1/+2
| | | | | | | | Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | [tx-robot] updated from transifexNextcloud bot2020-07-112-0/+30
| |
* | [tx-robot] updated from transifexNextcloud bot2020-07-092-4/+4
|/
* Bump bundlesJulius Härtl2020-07-071-2/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update class loadersJoas Schilling2020-07-062-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move files_trashbin to migrationsJoas Schilling2020-07-063-102/+88
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also always return in app commandsJoas Schilling2020-06-262-4/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update share type constant usageJoas Schilling2020-06-242-3/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [tx-robot] updated from transifexNextcloud bot2020-06-032-0/+10
|
* [tx-robot] updated from transifexNextcloud bot2020-06-022-0/+2
|
* [tx-robot] updated from transifexNextcloud bot2020-05-212-32/+32
|
* Bump app versions and requirementsJoas Schilling2020-05-071-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add locking to resolve concurent move to trashbin conflictsRobin Appelman2020-05-062-21/+81
| | | | | | | uses a lock to prevent two requests from moving a file to the trashbin concurrently (causing sql duplicate key errors) Signed-off-by: Robin Appelman <robin@icewind.nl>
* [tx-robot] updated from transifexNextcloud bot2020-05-012-2/+2
|
* Update license headers for 19Christoph Wurst2020-04-299-0/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [tx-robot] updated from transifexNextcloud bot2020-04-212-2/+2
|
* Bump css-loader from 3.4.1 to 3.5.2dependabot-preview[bot]2020-04-132-2/+2
| | | | | | | | | | 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>
* Merge pull request #20185 from azul/open-new_tabJohn Molakvoæ2020-04-113-2/+7
|\ | | | | Modify do_action so default ctrl-click opens tab
| * Allow opening files for editing in new tabsAzul2020-04-093-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Format code according to PSR2Christoph Wurst2020-04-101-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add visibility to all constantsChristoph Wurst2020-04-105-11/+11
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add visibility to all methods and position of static keywordChristoph Wurst2020-04-103-3/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Format control structures, classes, methods and functionChristoph Wurst2020-04-1016-33/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-102-5/+5
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Remove trailing and in between spacesChristoph Wurst2020-04-091-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-096-18/+18
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-095-5/+1
|/ | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-313-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [tx-robot] updated from transifexNextcloud bot2020-03-302-0/+12
|
* [tx-robot] updated from transifexNextcloud bot2020-03-292-2/+2
|
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-277-9/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-257-9/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-265-42/+42
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>