Côme Chilliet
ecbcfca98a
Improve wording of output for trashbin migrator
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 11:04:09 +01:00
Côme Chilliet
53c731d8f9
Rename PATH constants to show if folder or file
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-22 09:21:18 +01:00
Nextcloud bot
d364edcf6a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-18 02:27:10 +00:00
Côme Chilliet
865ac4b6e0
Rename $insert var to $qb
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-17 14:49:29 +01:00
Côme Chilliet
51d228932f
Add trashbin migrator to export and import trashbin data
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-17 14:45:56 +01:00
Nextcloud bot
d9c0799377
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-17 02:29:34 +00:00
Carl Schwan
5ce985f9be
Update composer generated files to latest version
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-14 11:30:41 +01:00
Nextcloud bot
248d60f93c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-06 02:25:58 +00:00
Robin Appelman
8b22a463e9
Merge pull request #31266 from nextcloud/root-setup-mountprovider
...
move root mount setup to mountproviders
2022-03-04 13:44:05 +00:00
Nextcloud bot
127d8acb60
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-28 02:45:09 +00:00
Nextcloud bot
61a81538bd
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-27 02:26:20 +00:00
Robin Appelman
0235764f70
skip localstorage dependend trashbin test when not using local user storage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 15:39:20 +01:00
Nextcloud bot
3770a5bf31
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-31 02:26:49 +00:00
Nextcloud bot
9f489422b4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-22 02:26:35 +00:00
Louis
2e1491771e
Merge pull request #30572 from nextcloud/fix/lint_warnings
...
Fix lint warnings
2022-01-12 15:48:36 +01:00
Louis Chemineau
14e57bf70a
Replace license information to SPDX expression
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
rakekniven
2f6c7b68ab
Removed obselete language files - Pt. II
...
For these files there are no associated languages setup at Transifex.
Fix for #30501
Related to nextcloud/docker-ci#341
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-01-10 14:07:14 +01:00
John Molakvoæ
6572f80102
Merge pull request #30561 from nextcloud/rakekniven-branch2
2022-01-10 11:43:24 +01:00
rakekniven
a47d23c1e4
Removed obselete language files
...
Those files are remnants of old languages after renaming, mapping or deleting.
Fix for #30501
Related to https://github.com/nextcloud/docker-ci/issues/341
2022-01-09 22:01:52 +01:00
John Molakvoæ (skjnldsv)
85bc851355
Delete outdated bundles
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:13:13 +01:00
John Molakvoæ (skjnldsv)
2b7e85b11d
Remove old configs
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:11:58 +01:00
John Molakvoæ
0b01103137
Merge pull request #28438 from csware/issue-1649
2021-12-21 15:10:50 +01:00
Côme Chilliet
37f8f7a5a1
Fix tests on PHP 8.1 for encryption, files_sharing, files_version,
...
files_trashbin and theming apps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:29 +01:00
Nextcloud bot
0e665e0646
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 02:28:44 +00:00
Joas Schilling
bf7c9aa58c
list.php files are only invoked via ViewController and APIController
...
Both of them actually check that the user is logged in before
and also the list.php files themselves would break with
getUserSession()->getUser()->getUID() which they contain.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 21:09:11 +01:00
John Molakvoæ (skjnldsv)
a325141545
Remove isIE and associated legacy scripts
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-30 13:03:08 +01:00
Nextcloud bot
a8bac4218e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-29 02:25:06 +00:00
Nextcloud bot
c9f96253d6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-27 02:25:46 +00:00
Nextcloud bot
9d6496a999
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 02:25:52 +00:00
Nextcloud bot
129de6079e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 02:25:56 +00:00
Nextcloud bot
115d54408a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-20 02:42:05 +00:00
Nextcloud bot
c35ad0c20d
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-19 02:38:13 +00:00
Nextcloud bot
788a1fcca4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-15 02:24:28 +00:00
Nextcloud bot
72787cdcfd
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-14 02:25:33 +00:00
Nextcloud bot
7071d056a2
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 02:25:42 +00:00
Joas Schilling
8e12ac290f
Master is now 24
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 10:11:09 +01:00
Nextcloud bot
3b22bc3183
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 02:23:07 +00:00
Orzu Ionut
00c23ccd02
Update filelist test
...
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-10 12:10:56 +02:00
Orzu Ionut
5b075847f8
Compile JS code
...
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-10 11:49:19 +02:00
Orzu Ionut
33c1c5c91b
Show most recently deleted files first in trash can
...
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-09 16:59:16 +02:00
Nextcloud bot
b352bf7e97
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-06 02:22:41 +00:00
Carl Schwan
dacf2e47a3
Update to composer 2.1.11
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-04 12:30:11 +01:00
Nextcloud bot
5705af29a5
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-03 02:23:35 +00:00
Nextcloud bot
b15b41d731
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-02 02:22:15 +00:00
rakekniven
7729a01cc5
Fixed grammar
...
Reported at Transifex.
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-01 08:41:30 +00:00
rakekniven
21208a9845
Fixed grammar
...
Reported at Transifex.
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-10-31 18:25:35 +01:00
Nextcloud bot
8c9be266a8
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-31 02:22:04 +00:00
Joas Schilling
584d275a50
Fix "No entries in this …" template
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-25 16:17:38 +02:00
Nextcloud bot
7c2d8d3e82
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-23 02:22:31 +00:00
Daniel
559edd2dc9
Merge pull request #29125 from nextcloud/bug/noid/disable-trash-expire-background-job
...
Add configuration flag to disable the background job for files_trashbin
2021-10-15 15:49:13 +02:00
Joas Schilling
3adc997833
Bump autoloader
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:58:49 +02:00
Daniel Kesselberg
b0d1ad5777
Add configuration flag to disable the background job for files_trashbin
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-11 12:30:36 +02:00
Vincent Petry
5a6a0b0d3b
Update app versions for 23
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-09-28 12:21:40 +02:00
Christoph Wurst
a2bc7e2eec
Update generated composer files to latest format
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-09-22 11:37:04 +02:00
Nextcloud bot
0e1853df34
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-22 02:26:37 +00:00
Sven Strickroth
1c736abc35
Don't die with LockedException when removing/restoring multiple files from trash
...
fixes issue #16491
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-08-19 16:43:44 +02:00
szaimen
9585c4f256
Merge pull request #28211 from nextcloud/fix/27496/improve-auto-expiration-hint
...
Improve auto expiration hint for trashbin and file versions
2021-08-16 12:16:22 +02:00
Christoph Wurst
6a50c4a344
Add missing files for Composer v2
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-13 15:01:02 +02:00
szaimen
98102bfa78
Improve auto expiration hint
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
2021-08-08 20:41:38 +02:00
Nextcloud bot
386fa2e807
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-04 02:26:38 +00:00
dependabot[bot]
b2d5e25b56
Bump @babel/core from 7.14.3 to 7.14.6
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.14.3 to 7.14.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.14.6/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-18 11:50:59 +02:00
dependabot[bot]
c915832e02
Bump css-loader from 5.2.6 to 5.2.7
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.2.6 to 5.2.7.
- [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/v5.2.6...v5.2.7 )
---
updated-dependencies:
- dependency-name: css-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-17 13:31:19 +02:00
Joas Schilling
655108a3dc
Bump app version
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 16:08:39 +02:00
Joas Schilling
8b0448d407
Master is now 23
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 12:56:06 +02:00
Louis Chemineau
f0876a9e9d
Update Autoloader
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-21 15:54:51 +02:00
Julius Härtl
437d938e8c
Merge pull request #26874 from nextcloud/single-query-search
2021-06-16 09:07:40 +02:00
Nextcloud bot
eb4e4c462b
[tx-robot] updated from transifex
2021-06-15 02:28:05 +00:00
Robin Appelman
e198dc1b20
rework search api to allow searching on multiple caches at once
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14 16:11:22 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Nextcloud bot
26f537fbec
[tx-robot] updated from transifex
2021-06-03 02:28:43 +00:00
dependabot[bot]
83ebcf2a7a
Bump css-loader from 5.2.0 to 5.2.6
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.2.0 to 5.2.6.
- [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/v5.2.0...v5.2.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 19:15:25 +02:00
John Molakvoæ (skjnldsv)
fb33652982
Replace node-sass with sass
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-27 19:14:32 +02:00
dependabot-preview[bot]
712a10f018
Bump @nextcloud/browserslist-config from 1.0.0 to 2.1.0
...
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config ) from 1.0.0 to 2.1.0.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases )
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v1.0.0...v2.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-25 17:48:30 +02:00
Morris Jobke
b1ad3faf14
Merge pull request #25679 from nextcloud/drop/ocp-user
...
Drop \OCP\User
2021-05-21 15:05:38 +02:00
Christoph Wurst
8196420063
Drop \OCP\User
...
Inlines and remaining usages and drops the deprecated public API.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-21 15:00:34 +02:00
Nextcloud bot
a6cb2973a9
[tx-robot] updated from transifex
2021-05-21 02:27:50 +00:00
Julius Härtl
bcf38692ae
Use parent wrapper to properly handle moves on the same source/target storage
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-14 09:41:01 +02:00
Nextcloud bot
0df326ab20
[tx-robot] updated from transifex
2021-05-12 02:26:16 +00:00
Christoph Wurst
99f2fa73d1
Fix usage of rename executeUpdate
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-05 10:35:25 +02:00
Joas Schilling
fc6fbb6499
Fix broken Expiration test
...
15) Warning
The data provider specified for OCA\Files_Trashbin\Tests\ExpirationTest::testGetMaxAgeAsTimestamp is invalid.
PHPUnit\Util\Exception: Method timestampTestData does not exist
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:53:00 +02:00
Nextcloud bot
3ab7d6cf3e
[tx-robot] updated from transifex
2021-04-17 02:24:04 +00:00
John Molakvoæ (skjnldsv)
11437223e9
Compile node
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:34:13 +02:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
Nextcloud bot
630eddf41b
[tx-robot] updated from transifex
2021-03-26 02:25:32 +00:00
Morris Jobke
f56e5bb0db
Merge pull request #25676 from nextcloud/drop/utl-is-ie
...
Drop \OCP\Util::isIe
2021-03-17 20:18:11 +01:00
John Molakvoæ (skjnldsv)
043b5a9de4
Fix TerserPlugin
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:39 +01:00
John Molakvoæ (skjnldsv)
5d9bb5e247
Lint fix
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:38 +01:00
Roeland Jago Douma
8008b33b8d
Cleanp execute usage in the trashbin
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-11 15:39:42 +01:00
dependabot-preview[bot]
613a5760f1
Bump css-loader from 5.0.1 to 5.1.1
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.0.1 to 5.1.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/v5.0.1...v5.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-10 16:47:32 +01:00
Julius Härtl
2608dec387
Merge pull request #25916 from nextcloud/bugfix/noid/trashbin-delete-all
...
Remove trash items from other trash backends when deleting all
2021-03-10 08:57:41 +01:00
Christoph Wurst
7f3051e5bf
Drop \OCP\Util::isIe
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-09 20:29:42 +01:00
Nextcloud bot
41f9fdab1c
[tx-robot] updated from transifex
2021-03-06 02:22:22 +00:00
Julius Härtl
930b40bd8a
Remove trash items from other trash backends when deleting all
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-03 14:26:35 +01:00
Nextcloud bot
e11be3b693
[tx-robot] updated from transifex
2021-03-03 02:21:24 +00:00
Roeland Jago Douma
19e2136963
Update autoloader files
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 16:36:21 +01:00
Robin Appelman
a2ecac7197
Merge pull request #25568 from nextcloud/move-storage-disable-cache
...
disable trasbin during the moveFromStorage fallback
2021-03-02 13:23:58 +00:00
Nextcloud bot
c8f7a808fd
[tx-robot] updated from transifex
2021-02-25 02:21:21 +00:00
dependabot-preview[bot]
eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-18 13:31:24 +01:00
Nextcloud bot
5f194dad24
[tx-robot] updated from transifex
2021-02-18 02:21:54 +00:00
Robin Appelman
b5db4502d0
disable trasbin during the moveFromStorage fallback
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-17 16:08:57 +01:00
Joas Schilling
9de00f3d24
This is 22
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-03 08:38:41 +01:00
Nextcloud bot
fcbe4c5be5
[tx-robot] updated from transifex
2021-01-30 02:20:34 +00:00
Christoph Wurst
299f37c5d9
Update all composer autoloader files
...
The format changed between 2.0.8 and 2.0.9.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-28 14:24:34 +01:00
Nextcloud bot
b98860eeb3
[tx-robot] updated from transifex
2021-01-25 02:20:31 +00:00
Roeland Jago Douma
a0988281ee
Do not obtain userFolder of a federated user
...
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>
2021-01-22 13:52:43 +01:00
Morris Jobke
d84e1f1951
Re-use fetched dependencies in lib/base.php
...
Reduces calls to DI container by reusing already fetched dependencies.
For status.php it went from 355 to 344.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-20 21:55:16 +01:00
Christoph Wurst
c1d4f8161b
Migrate internal classes to the OCP db col types
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-12 14:09:13 +01:00
Christoph Wurst
8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-08 11:45:19 +01:00
Christoph Wurst
9ce3ea3368
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-30 14:07:05 +01:00
Vincent Petry
bdbec28a8f
Make oc_files_trash.auto_id a bigint
...
Adjusted migration.
Added to occ command to update existing tables.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-23 17:50:50 +01:00
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-16 18:48:22 +01:00
Roeland Jago Douma
b7dd2074ab
FIX
...
the assertAttributeEquals got removed.
So we can't run these tests anymore.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Robin Appelman
7956cef622
rebuild autoloader scripts with 2.0.7
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-26 15:49:03 +01:00
Morris Jobke
bf23555b8b
Merge pull request #24094 from nextcloud/bugfix/noid/trash-appdata
...
Only attempt to move to trash if a file is not in appdata
2020-11-19 22:29:23 +01:00
Nextcloud bot
569c615383
[tx-robot] updated from transifex
2020-11-14 02:19:36 +00:00
Christoph Wurst
ae0a496da8
Bump jquery from 2.2.4 to 3.1.0
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-13 08:46:35 +01:00
Julius Härtl
f4b036f249
Only attempt to move to trash if a file is not in appdata
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-13 08:30:35 +01:00
Joas Schilling
8027dcbc6f
Don't leave cursors open when tests fail
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-09 12:28:17 +01:00
Nextcloud bot
2b2af705f7
[tx-robot] updated from transifex
2020-11-08 02:18:22 +00:00
John Molakvoæ
e90e499c8b
Merge pull request #23936 from nextcloud/bugfix/noid/trashbin-ocdb
...
Use query builder instead of OC_DB in trashbin
2020-11-07 10:19:23 +01:00
Joas Schilling
e52925c5fb
Use query builder instead of OC_DB in trashbin
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 22:33:59 +01:00
dependabot-preview[bot]
bc5b58cb29
Bump css-loader from 3.6.0 to 5.0.1
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 3.6.0 to 5.0.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.6.0...v5.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-06 09:00:20 +01:00
Nextcloud bot
153ff3d9b7
[tx-robot] updated from transifex
2020-10-24 02:18:45 +00:00
Julius Härtl
2616a784c9
Restrict query when searching for versions of trashbin files
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-14 16:38:30 +02:00
Jan C. Borchardt
0f2f857dc3
Sort deleted files by most recently deleted first
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-13 17:29:52 +02:00
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +02:00
Robin Appelman
e0d688c365
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-09-30 14:30:54 +02:00
Roeland Jago Douma
fe30bfd232
Update autloader
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-24 14:59:41 +02:00
Julius Härtl
3c47aaa2b1
Delete files that exceed trashbin size immediately
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-23 16:58:18 +02:00
Joas Schilling
48761481eb
Bump versions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 09:16:45 +02:00
Nextcloud bot
f3ec3bfa4a
[tx-robot] updated from transifex
2020-09-18 02:16:56 +00:00
Morris Jobke
930c97a0ef
Fix variable name and add spaces around path in info log line
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-17 08:58:10 +02:00
Morris Jobke
f6c729a96c
Update .l10nignore for apps to exclude bundled JS files
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-15 12:28:43 +02:00
Christoph Wurst
1f7f93a695
Update license headers for Nextcloud 20 (again)
...
There are still lots of outdated headers, so time for another round of
updates.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-07 14:37:44 +02:00
Daniel Kesselberg
ac8051ee0c
Tests only: Forward calls to getUserValue and getAppValue
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-01 11:39:26 +02:00
Daniel Kesselberg
2513b64602
Change free space calculation
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-31 23:11:10 +02:00
Nextcloud bot
40e2339151
[tx-robot] updated from transifex
2020-08-28 02:16:21 +00:00
Nextcloud bot
00459adfa2
[tx-robot] updated from transifex
2020-08-26 02:16:29 +00:00
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24 14:54:25 +02:00
Morris Jobke
d7f66c36ac
Fix "misplaced variables" warning of Psalm in PHPDoc statements
...
Ref #21787
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 17:46:57 +02:00
Nextcloud bot
3a39f2ae91
[tx-robot] updated from transifex
2020-08-13 02:16:38 +00:00
Morris Jobke
234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-12 13:55:19 +02:00
blizzz
a3d30bf4a2
Merge pull request #21954 from nextcloud/techdebt/noid/bootstrap-files_trashbin
...
Use IBootstrap for the files_trashbin app
2020-08-07 11:12:09 +00:00
Nextcloud bot
1df567d5ad
[tx-robot] updated from transifex
2020-08-07 02:16:39 +00:00
Morris Jobke
a2a3b87c19
Merge pull request #22067 from nextcloud/dependabot/npm_and_yarn/various
...
Dependabot/npm and yarn/various
2020-07-31 12:53:45 +02:00
John Molakvoæ (skjnldsv)
0f8aca9d87
Bump compiled files
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:26:43 +02:00
Robin Appelman
c2c9a6a0e1
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-30 16:31:56 +02:00
Nextcloud bot
1f42a8b5cb
[tx-robot] updated from transifex
2020-07-29 02:16:52 +00:00
Morris Jobke
e84504c4d6
Use IBootstrap for the files_trashbin app
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 22:03:14 +02:00
Robin Appelman
fcad692b4a
rollback cache rename if trashbin move fails
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-23 15:24:48 +02:00
Robin Appelman
5949849322
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-23 15:24:44 +02:00
Morris Jobke
7b250db60b
Merge pull request #21658 from nextcloud/trashbin-configurable-size
...
allow admin to configure the max trashbin size
2020-07-21 20:46:43 +02:00
John Molakvoæ (skjnldsv)
6fcd075730
Use DOMContentLoaded and fix sharebymail loading issue
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-20 12:42:08 +02:00
Nextcloud bot
d925c45373
[tx-robot] updated from transifex
2020-07-19 02:17:06 +00:00
Christoph Wurst
9e7426a101
Clean up container usage in files trashbin
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 10:29:38 +02:00
npmbuildbot[bot]
6d2f9b3dd5
Compile assets
...
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-14 12:34:10 +00:00
Nextcloud bot
27da68b1a0
[tx-robot] updated from transifex
2020-07-11 02:17:19 +00:00
Nextcloud bot
5864501d3f
[tx-robot] updated from transifex
2020-07-09 02:17:35 +00:00
Robin Appelman
050e2fe346
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-07 14:45:08 +02:00
Julius Härtl
6a67f84163
Bump bundles
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-07 09:23:32 +02:00
Joas Schilling
57ccece9e4
Update class loaders
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 16:42:37 +02:00
Joas Schilling
9001438879
Move files_trashbin to migrations
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 16:42:14 +02:00
Joas Schilling
d7c0b9cced
Also always return in app commands
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 15:12:11 +02:00
Joas Schilling
89ed2c37bf
Update share type constant usage
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-24 16:49:16 +02:00
Nextcloud bot
f62f23ed1d
[tx-robot] updated from transifex
2020-06-03 02:16:18 +00:00
Nextcloud bot
796b454021
[tx-robot] updated from transifex
2020-06-02 02:16:02 +00:00
Nextcloud bot
d870e9ece5
[tx-robot] updated from transifex
2020-05-21 02:17:26 +00:00
Joas Schilling
af1dd9f152
Bump app versions and requirements
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-07 10:29:04 +02:00
Robin Appelman
614acc9419
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-06 20:36:55 +02:00
Nextcloud bot
9f448d864b
[tx-robot] updated from transifex
2020-05-01 02:16:47 +00:00
Christoph Wurst
cb057829f7
Update license headers for 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +02:00
Nextcloud bot
f0c1041d2e
[tx-robot] updated from transifex
2020-04-21 02:16:40 +00:00
dependabot-preview[bot]
372d6bf23e
Bump css-loader from 3.4.1 to 3.5.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>
2020-04-13 11:13:09 +00:00
John Molakvoæ
e5ac5c7f34
Merge pull request #20185 from azul/open-new_tab
...
Modify do_action so default ctrl-click opens tab
2020-04-11 08:23:11 +02:00
Christoph Wurst
734c62bee0
Format code according to PSR2
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:56:50 +02:00
Christoph Wurst
28f8eb5dba
Add visibility to all constants
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:54:27 +02:00
Christoph Wurst
1584c9ae9c
Add visibility to all methods and position of static keyword
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:51:06 +02:00
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
...
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>
2020-04-10 14:19:56 +02:00
Christoph Wurst
14c996d982
Use elseif instead of else if
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 10:35:09 +02:00
Azul
43f0d2a3b5
Allow opening files for editing in new tabs
...
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>
2020-04-09 16:41:09 +02:00
Christoph Wurst
44577e4345
Remove trailing and in between spaces
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:07:47 +02:00
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +02:00
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
...
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 11:48:10 +02:00
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31 14:52:54 +02:00
Nextcloud bot
9e8ac1d24a
[tx-robot] updated from transifex
2020-03-30 02:18:34 +00:00
Nextcloud bot
89710bbdcf
[tx-robot] updated from transifex
2020-03-29 02:20:14 +00:00
Christoph Wurst
463b388589
Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports
...
Remove unused imports
2020-03-27 17:14:08 +01:00
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26 16:34:56 +01:00
Christoph Wurst
2ee65f177e
Use the shorter phpunit syntax for mocked return values
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:21:27 +01:00
Christoph Wurst
74936c49ea
Remove unused imports
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:08:08 +01:00
Christoph Wurst
150f39ed50
Update autoloaders for composer v1.10.1
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-19 09:48:49 +01:00
Roeland Jago Douma
c1152af523
Move deprecated aliases over to new registration
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-15 15:13:12 +01:00
Nextcloud bot
acbe08cd40
[tx-robot] updated from transifex
2020-03-10 02:18:13 +00:00
dependabot-preview[bot]
98f5f68320
Bump webpack from 4.41.6 to 4.42.0
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.41.6 to 4.42.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.41.6...v4.42.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-08 09:59:27 +00:00
Nextcloud bot
0e7163c7c1
[tx-robot] updated from transifex
2020-02-26 02:18:20 +00:00
Nextcloud bot
921253033a
[tx-robot] updated from transifex
2020-02-24 02:19:17 +00:00
Christoph Wurst
989076dc3a
Update webpack bundles
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-22 19:41:12 +00:00
Nextcloud bot
29ec5e6c96
[tx-robot] updated from transifex
2020-02-11 02:18:33 +00:00
Nextcloud bot
9205a21088
[tx-robot] updated from transifex
2020-02-10 02:17:59 +00:00
Nextcloud bot
69d2893a75
[tx-robot] updated from transifex
2020-01-31 02:17:52 +00:00