summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
Commit message (Collapse)AuthorAgeFilesLines
* Bump composerRoeland Jago Douma2021-04-281-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [tx-robot] updated from transifexNextcloud bot2021-04-172-4/+4
|
* [tx-robot] updated from transifexNextcloud bot2021-03-268-0/+8
|
* Remove trash items from other trash backends when deleting allJulius Härtl2021-03-101-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* [tx-robot] updated from transifexNextcloud bot2021-03-062-6/+20
|
* [tx-robot] updated from transifexNextcloud bot2021-03-032-8/+8
|
* [tx-robot] updated from transifexNextcloud bot2021-02-252-16/+16
|
* [tx-robot] updated from transifexNextcloud bot2021-02-182-0/+14
|
* [tx-robot] updated from transifexNextcloud bot2021-01-302-6/+42
|
* [tx-robot] updated from transifexNextcloud bot2021-01-252-0/+2
|
* Do not obtain userFolder of a federated userRoeland Jago Douma2021-01-221-1/+1
| | | | | | | | Federated shares are somewhat special. So we can't move the files from the main user and we should try to get it from the intialized root already. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Only attempt to move to trash if a file is not in appdataJulius Härtl2020-12-011-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Delete files that exceed trashbin size immediatelyJulius Härtl2020-11-231-0/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* [tx-robot] updated from transifexNextcloud bot2020-11-142-0/+2
|
* [tx-robot] updated from transifexNextcloud bot2020-11-082-6/+6
|
* Restrict query when searching for versions of trashbin filesJulius Härtl2020-11-041-14/+43
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* [tx-robot] updated from transifexNextcloud bot2020-10-242-2/+2
|
* dont hold a transaction during the move to trashRobin Appelman2020-10-051-5/+7
| | | | | | because moving to trash can take a long time, keeping a transaction active for the duration can lead to issues Signed-off-by: Robin Appelman <robin@icewind.nl>
* [tx-robot] updated from transifexNextcloud bot2020-09-182-0/+14
|
* Tests only: Forward calls to getUserValue and getAppValueDaniel Kesselberg2020-09-031-2/+12
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Change free space calculationDaniel Kesselberg2020-09-031-4/+6
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* [tx-robot] updated from transifexNextcloud bot2020-08-282-2/+2
|
* [tx-robot] updated from transifexNextcloud bot2020-08-262-2/+2
|
* Merge pull request #21983 from nextcloud/backport/21628/stable19Morris Jobke2020-08-191-4/+16
|\ | | | | [stable19] fix moving files from external storage to object store trashbin
| * fix object store trashbin handlingRobin Appelman2020-07-311-3/+10
| | | | | | | | | | | | object stores are "special" given how they interact with the cache on their own Signed-off-by: Robin Appelman <robin@icewind.nl>
| * 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 #21975 from nextcloud/backport/21658/stable19Roeland Jago Douma2020-08-145-0/+159
|\ \ | | | | | | [stable19] allow admin to configure the max trashbin size
| * | allow admin to configure the max trashbin sizeRobin Appelman2020-07-235-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>
* | [tx-robot] updated from transifexNextcloud bot2020-08-132-0/+2
| |
* | [tx-robot] updated from transifexNextcloud bot2020-08-072-0/+20
| |
* | [tx-robot] updated from transifexNextcloud bot2020-07-294-0/+6
|/
* [tx-robot] updated from transifexNextcloud bot2020-07-192-8/+8
|
* Build source maps on production build againJulius Härtl2020-07-141-1/+2
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> 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
|
* Do not quote properties when optimizing bundlesJulius Härtl2020-07-071-2/+1
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* [tx-robot] updated from transifexNextcloud bot2020-06-054-32/+44
|
* 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>