Commit graph

1261 commits

Author SHA1 Message Date
Nextcloud bot
50071f27e2
[tx-robot] updated from transifex 2021-01-30 02:21:01 +00:00
Nextcloud bot
87ecebd037
[tx-robot] updated from transifex 2021-01-25 02:20:58 +00:00
Julius Härtl
6e6d608d32
Only attempt to move to trash if a file is not in appdata
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-01 16:49:06 +01:00
Nextcloud bot
e8fbff407e
[tx-robot] updated from transifex 2020-11-14 02:20:06 +00:00
Nextcloud bot
86b614f06d
[tx-robot] updated from transifex 2020-11-08 02:18:51 +00:00
Julius Härtl
667cc7d137 Restrict query when searching for versions of trashbin files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-04 07:33:00 +00:00
Nextcloud bot
499c8c6dea
[tx-robot] updated from transifex 2020-10-24 02:19:12 +00:00
Robin Appelman
c8d121a7d7
dont hold a transaction during the move to trash
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>
2020-10-19 13:33:22 +02:00
Nextcloud bot
16e532d1c3
[tx-robot] updated from transifex 2020-09-18 02:17:17 +00:00
Daniel Kesselberg
062ce5444d
Tests only: Forward calls to getUserValue and getAppValue
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-04 12:30:01 +02:00
Daniel Kesselberg
d6b7ad7109
Change free space calculation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-04 12:29:59 +02:00
Nextcloud bot
0d9bd1d6dd
[tx-robot] updated from transifex 2020-08-28 02:16:40 +00:00
Nextcloud bot
3077047029
[tx-robot] updated from transifex 2020-08-26 02:16:48 +00:00
Nextcloud bot
08e9018bcd
[tx-robot] updated from transifex 2020-08-13 02:16:56 +00:00
Morris Jobke
f626f4ddc2
Merge pull request #21982 from nextcloud/backport/21628/stable18
[stable18] fix moving files from external storage to object store trashbin
2020-08-10 15:42:33 +02:00
Nextcloud bot
65c8c4cd7a
[tx-robot] updated from transifex 2020-08-07 02:17:00 +00:00
Robin Appelman
8d9c41c347
fix object store trashbin handling
object stores are "special" given how they interact with the cache on their own

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-31 17:33:30 +02:00
Robin Appelman
e860507201
rollback cache rename if trashbin move fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-31 17:33:03 +02:00
Robin Appelman
7e12f9c9bb
fix moving files from external storage to object store trashbin
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>
2020-07-31 17:32:05 +02:00
Morris Jobke
403040255f
Merge pull request #21976 from nextcloud/backport/21658/stable18
[stable18] allow admin to configure the max trashbin size
2020-07-29 14:21:49 +02:00
Nextcloud bot
25208664b7
[tx-robot] updated from transifex 2020-07-29 02:17:10 +00:00
Robin Appelman
63a90aaf47
allow admin to configure the max trashbin size
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>
2020-07-24 13:39:09 +02:00
Nextcloud bot
d5b55c74ad
[tx-robot] updated from transifex 2020-07-19 02:17:25 +00:00
Nextcloud bot
d0b8a30db0
[tx-robot] updated from transifex 2020-07-11 02:17:37 +00:00
Nextcloud bot
84ac834a34
[tx-robot] updated from transifex 2020-07-09 02:17:54 +00:00
Nextcloud bot
7e8803ba9f
[tx-robot] updated from transifex 2020-06-03 02:16:28 +00:00
Nextcloud bot
db16e67e05
[tx-robot] updated from transifex 2020-06-02 02:16:11 +00:00
Morris Jobke
de1cbad0ee
Merge pull request #20881 from nextcloud/backport/20841/stable18
[stable18] add locking to resolve concurent move to trashbin conflicts
2020-05-25 21:31:36 +02:00
Nextcloud bot
8529fbae9b
[tx-robot] updated from transifex 2020-05-21 02:17:37 +00:00
Robin Appelman
c04fc3a732 add locking to resolve concurent move to trashbin conflicts
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>
2020-05-08 11:29:50 +00:00
Nextcloud bot
e8976b8e34
[tx-robot] updated from transifex 2020-05-01 02:16:58 +00:00
Nextcloud bot
2cf8fab366
[tx-robot] updated from transifex 2020-04-21 02:16:49 +00:00
Nextcloud bot
78ec3680c2
[tx-robot] updated from transifex 2020-03-30 02:18:44 +00:00
Nextcloud bot
63d9341844
[tx-robot] updated from transifex 2020-03-29 02:20:24 +00:00
Nextcloud bot
06dd4affeb
[tx-robot] updated from transifex 2020-03-10 02:18:22 +00:00
Nextcloud bot
b5ba74aed5
[tx-robot] updated from transifex 2020-02-26 02:18:31 +00:00
Nextcloud bot
8308321fe1
[tx-robot] updated from transifex 2020-02-24 02:19:27 +00:00
Nextcloud bot
41b23e2d00
[tx-robot] updated from transifex 2020-02-11 02:18:43 +00:00
Nextcloud bot
23d321f4f1
[tx-robot] updated from transifex 2020-02-10 02:18:09 +00:00
Nextcloud bot
e161be8e2a
[tx-robot] updated from transifex 2020-02-07 07:32:43 +00:00
simonspa
b3ad27f7db Trash bin: fix exception triggered if no correct fileId is provided.
This fixes #17115

Signed-off-by: Simon Spannagel <simon.spannagel@cern.ch>
2020-01-07 23:47:07 +01:00
dependabot-preview[bot]
c282435c42
Bump css-loader from 3.4.0 to 3.4.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.0 to 3.4.1.
- [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.0...v3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-05 14:52:35 +01:00
dependabot-preview[bot]
55de6a12d5
Bump css-loader from 3.3.2 to 3.4.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.0.
- [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.3.2...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-30 16:40:17 +01:00
Nextcloud bot
c81e05db98
[tx-robot] updated from transifex 2019-12-22 02:28:34 +00:00
dependabot-preview[bot]
ec01e0a790
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0.
- [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases)
- [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0)

Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-19 11:55:33 +01:00
dependabot-preview[bot]
25b16f0203 Bump css-loader from 3.2.1 to 3.3.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.2.1 to 3.3.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.2.1...v3.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-16 07:33:17 +00:00
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +01:00
Georg Ehrke
c3748cfee3
respect shareapi_allow_share_dialog_user_enumeration in Principal backend for Sabre/DAV
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-12-03 09:44:07 +01:00
John Molakvoæ (skjnldsv)
5cb11ca642
Fix tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-02 13:08:43 +01:00
Roeland Jago Douma
3a7cf40aaa
Mode to modern phpunit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 15:27:18 +01:00