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
Roeland Jago Douma
c007ca624f
Make phpunit8 compatible
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 13:34:41 +01:00
Roeland Jago Douma
68748d4f85
Some php-cs fixes
...
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-22 20:52:10 +01:00
Nextcloud bot
0d7f55aae9
[tx-robot] updated from transifex
2019-11-22 02:16:16 +00:00
Roeland Jago Douma
e9c972f708
Fix share tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-20 08:08:02 +01:00
Robin Appelman
136c4ef925
dont expose metadata etag for now
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-13 12:39:36 +01:00
Robin Appelman
1b6e647b63
expose filecache extension data in FileInfo
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-13 12:39:32 +01:00
Nextcloud bot
9a460f9e39
[tx-robot] updated from transifex
2019-11-12 02:16:12 +00:00
John Molakvoæ
13960b69da
Merge pull request #17509 from nextcloud/fix/application-singleton
...
Fix Application instances created multiple times
2019-11-04 18:18:32 +01:00
Robin Appelman
964dc0a955
set retention obligation on existing `expiration` in tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-04 16:54:22 +01:00
Nextcloud bot
e517ca0530
[tx-robot] updated from transifex
2019-11-04 02:15:26 +00:00
Roeland Jago Douma
e225a7bfd3
fixup! fix tests?
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-31 21:27:31 +01:00
Roeland Jago Douma
78d00ff085
fix tests?
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-31 19:36:34 +01:00
Arthur Schiwon
e8095cf737
use OCP\EventDispatcher\Event over Symfony's deprecated Event
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-17 13:31:48 +02:00
Roeland Jago Douma
12c13b86d8
fixup! Do not create Application instances directly
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-14 22:59:16 +02:00
Christoph Wurst
543190f8b3
Do not create Application instances directly
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-11 08:33:09 +02:00
Gary Kim
11d01319c6
Show Delete Icon in Breadcrumb in Trashbin
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-07 19:35:23 +08:00
Robin Appelman
ce433637da
allow trash backends to overwrite the tooltip for trash items
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-10-05 10:23:30 +02:00
John Molakvoæ (skjnldsv)
b9bc2417e7
Comply to eslint
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:16:09 +02:00
Nextcloud bot
61d22ff6cf
[tx-robot] updated from transifex
2019-09-24 02:14:41 +00:00
Nextcloud bot
ce10683944
[tx-robot] updated from transifex
2019-09-19 02:15:38 +00:00
Nextcloud bot
8cc41974a4
[tx-robot] updated from transifex
2019-09-17 12:33:26 +00:00
dependabot-preview[bot]
e2393ef3d9
Bump webpack from 4.39.3 to 4.40.1
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.39.3 to 4.40.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-13 14:33:26 +00:00
Roeland Jago Douma
57437e8fc8
Merge pull request #16977 from nextcloud/bugfix/noid/webpack-jsonp
...
Use different jsonpFunction for entry points
2019-09-07 11:09:25 +02:00
blizzz
8c77d3bfb6
Merge pull request #16664 from nextcloud/bugfix/emit-moveToTrash-limit
...
Emit moveToTrash event only for the deleting user
2019-09-06 17:46:03 +02:00
Julius Härtl
e6e73b636f
Use different jsonpFunction
...
This avoids issues when multiple entrypoints try to asynchronously load chunks on the same page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-06 11:10:11 +02:00
Roeland Jago Douma
04ef434af0
Development is 18 now!
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-05 11:26:35 +02:00
Nextcloud bot
8072e3e568
[tx-robot] updated from transifex
2019-09-05 02:16:14 +00:00
Roeland Jago Douma
d744c04a86
Merge pull request #16534 from nextcloud/trash-copy-free-space
...
dont try to copy trash items to user if the user has not enough free space
2019-09-04 20:06:43 +02:00
Robin Appelman
9bf8ee701f
Update apps/files_trashbin/lib/Trashbin.php
...
Co-Authored-By: Morris Jobke <hey@morrisjobke.de>
2019-09-04 13:06:07 +02:00
dependabot-preview[bot]
6e6fbc6783
Bump webpack from 4.39.2 to 4.39.3
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.39.2 to 4.39.3.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.39.2...v4.39.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-02 14:24:00 +00:00
Nextcloud bot
50769b5966
[tx-robot] updated from transifex
2019-08-30 02:15:12 +00:00
Nextcloud bot
cdd491c706
[tx-robot] updated from transifex
2019-08-28 02:15:26 +00:00
dependabot-preview[bot]
e4a23632ee
Bump sass-loader from 7.2.0 to 7.3.1
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 7.2.0 to 7.3.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases )
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-25 18:03:47 +00:00
Nextcloud bot
182517e0b3
[tx-robot] updated from transifex
2019-08-22 02:14:34 +00:00
Nextcloud bot
ddec3fc416
[tx-robot] updated from transifex
2019-08-20 02:14:48 +00:00
dependabot-preview[bot]
20a83bed16
Bump webpack from 4.39.1 to 4.39.2
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.39.1 to 4.39.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-18 14:22:01 +00:00
Nextcloud bot
5b09460d4f
[tx-robot] updated from transifex
2019-08-17 02:15:00 +00:00
Roeland Jago Douma
f452e23a7d
Merge pull request #16666 from nextcloud/feature/calendar/delegation
...
Feature/calendar/delegation
2019-08-15 19:30:45 +02:00
Roeland Jago Douma
01a4644cad
Use the proxymapper to obtain valid proxy data
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-15 15:41:27 +02:00
Nextcloud bot
fdcc654ff6
[tx-robot] updated from transifex
2019-08-15 02:14:35 +00:00
Roeland Jago Douma
d013ff6cae
Merge pull request #16663 from JakubOnderka/patch-2
...
files_trashbin: File can be without extension
2019-08-14 10:29:53 +02:00
dependabot-preview[bot]
723815f081
Bump style-loader from 0.23.1 to 1.0.0
...
Bumps [style-loader](https://github.com/webpack-contrib/style-loader ) from 0.23.1 to 1.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases )
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v0.23.1...v1.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-11 17:43:33 +00:00
Roeland Jago Douma
8e7c287e2a
Use the owner from the storage
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-07 16:47:43 +02:00
Jakub Onderka
41f8be47eb
files_trashbin: File can be without extension
...
Signed-off-by: Jakub Onderka <jakub.onderka@gmail.com>
2019-08-07 16:04:09 +02:00
Julius Härtl
b1832c8bef
Emit moveToTrash event only for the deleting user
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-06 17:45:50 +02:00
dependabot-preview[bot]
b84b78d203
Bump webpack from 4.38.0 to 4.39.1
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.38.0 to 4.39.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.38.0...v4.39.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-04 07:57:44 +00:00
Nextcloud bot
a1afdac31a
[tx-robot] updated from transifex
2019-08-01 02:15:27 +00:00
Robin Appelman
fafce34aa0
dont try to copy trash items to user if the user has not enough free space
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-07-29 14:05:49 +02:00
dependabot-preview[bot]
94a992d0d6
Bump webpack from 4.35.0 to 4.35.2
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.35.0 to 4.35.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.35.0...v4.35.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-07-08 11:57:16 +00:00
dependabot-preview[bot]
4a401865f2
Bump css-loader from 2.1.1 to 3.0.0
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 2.1.1 to 3.0.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/v2.1.1...v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-25 21:33:38 +02:00
Christoph Wurst
3174012adf
Add event dispatcher to OCP
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-25 10:02:27 +02:00
John Molakvoæ (skjnldsv)
b53a9130a6
Unify webpack config
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-29 15:19:18 +02:00
Nextcloud bot
c3f779b97d
[tx-robot] updated from transifex
2019-05-28 02:13:42 +00:00
Nextcloud bot
cdfd2d8dd1
[tx-robot] updated from transifex
2019-05-27 02:13:41 +00:00
Nextcloud bot
579588a4cd
[tx-robot] updated from transifex
2019-05-02 00:12:57 +00:00
Nextcloud bot
4fd2cbeb94
[tx-robot] updated from transifex
2019-04-30 00:12:43 +00:00
Nextcloud bot
16b8017fc9
[tx-robot] updated from transifex
2019-04-18 00:12:48 +00:00
Joas Schilling
4c19b3b2c6
Bump versions of server and the requirements of apps
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-11 14:02:23 +02:00
Nextcloud bot
f7267468c0
[tx-robot] updated from transifex
2019-03-29 01:12:48 +00:00
Nextcloud bot
785ccae622
[tx-robot] updated from transifex
2019-03-19 01:12:41 +00:00
Roeland Jago Douma
c41687530d
Merge pull request #14721 from nextcloud/fix/14639/trash_delete_perm
...
Trashbin: Delete => Delete permanently
2019-03-18 10:09:59 +01:00
Roeland Jago Douma
9dd7bc1919
Trashbin: Delete => Delete permanently
...
For #14639
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-16 15:04:20 +01:00
Roeland Jago Douma
50a2ab8bc6
Use higher preview resolution in trashbin
...
For #14639
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-16 14:56:26 +01:00
Roeland Jago Douma
c7dd07966a
Merge pull request #14693 from nextcloud/trashbin-restore-readonly-target
...
dont try to restore a trashbin item to a readonly target
2019-03-14 20:26:49 +01:00
Nextcloud bot
6fcf729545
[tx-robot] updated from transifex
2019-03-14 16:08:31 +00:00
Robin Appelman
62a969f056
dont try to restore a trashbin item to a readonly target
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-14 16:18:43 +01:00
Morris Jobke
6c55e5f42d
Merge pull request #14640 from nextcloud/techdebt/noid/disable-failing-tests
...
Disable fragile tests
2019-03-13 21:29:59 +01:00
Morris Jobke
000a92bcde
Do not run fragile TrashbinTest
...
Fails with:
There was 1 failure:
1) TrashbinTest::testExpireOldFiles
Failed asserting that null is identical to 'file2.txt'.
/drone/src/github.com/nextcloud/server/apps/files_trashbin/tests/TrashbinTest.php:186
OR
1) TrashbinTest::testExpireOldFiles
Failed asserting that null is identical to 'file2.txt'.
/drone/src/github.com/nextcloud/server/apps/files_trashbin/tests/TrashbinTest.php:193
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13 18:01:24 +01:00
Robin Appelman
0d41138c6e
prevent recursion when moving a file to the trashbin
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-13 11:42:01 +01:00
Morris Jobke
f0c85a0f5f
Merge pull request #6512 from coletivoEITA/add_circles_sharing_to_caldav
...
Change CALDAV to allow calendars be shared with circles.
2019-03-13 00:06:46 +01:00
Morris Jobke
dd2496b275
Use proper dependency injection for app manager
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-05 16:00:47 +01:00
Morris Jobke
4704e719ed
Only fetch size of this storage without mount points - ref #14412
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-01 12:05:18 +01:00
Morris Jobke
f6967a974f
Revert "Fix for issue 10862: calculation of free space ignores external storage (doesn't count towards quota)"
...
This reverts commit e806aa658c
.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-01 12:03:33 +01:00
Morris Jobke
7519a9a990
Merge pull request #14412 from nextcloud/fileinfo-raw-size
...
add option to get raw size (without submounts) from fileinfo
2019-02-28 13:49:27 +01:00
Morris Jobke
3459ffc4d1
Merge pull request #13844 from felixn/bugfix/10862-trash-bin-ignores-trashbin_retention_obligation
...
Bugfix for issue 10862: Trash-bin ignores trashbin_retention_obligation
2019-02-27 15:55:20 +01:00
Robin Appelman
8fc47c6f00
add option to get raw size (without submounts) from fileinfo
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-02-27 15:35:44 +01:00
Nextcloud bot
36b01e3c2d
[tx-robot] updated from transifex
2019-02-27 01:12:05 +00:00
Nextcloud bot
10388eab34
[tx-robot] updated from transifex
2019-02-21 01:12:02 +00:00
Roeland Jago Douma
af233f841f
Merge pull request #14197 from nextcloud/fix/trashbin_restore_translation
...
Fix trashbin restore translation
2019-02-14 19:44:17 +01:00
Roeland Jago Douma
e58128fe6f
Compile assets
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 12:00:12 +01:00
Roeland Jago Douma
93b896e3db
Fix trashbin restore translation
...
The files app doesn't have this entry.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 11:57:52 +01:00
Nextcloud bot
4d8c42a4fb
[tx-robot] updated from transifex
2019-02-14 01:12:26 +00:00
Roeland Jago Douma
58ecc7d000
Move files_trashbin to webpack
...
Combine the 2 js files and the scss. This saves compiling the scss on
the go. And going via Nextcloud storage to obtain it.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-13 09:46:29 +01:00
Nextcloud bot
0df5110127
[tx-robot] updated from transifex
2019-02-06 11:27:29 +00:00
Morris Jobke
979cf79555
Show original path in trashbin via extraData
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-05 09:36:21 +01:00
Robin Appelman
9a220214b8
add fallback for trashbin original location
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-29 15:14:04 +01:00
Felix Nieuwenhuizen
e806aa658c
Fix for issue 10862: calculation of free space ignores external storage (doesn't count towards quota)
...
Signed-off-by: Felix Nieuwenhuizen <felix@tdlrali.com>
2019-01-26 17:23:23 +01:00
Nextcloud bot
a73e19d741
[tx-robot] updated from transifex
2019-01-20 01:12:32 +00:00
Nextcloud bot
f12b589d40
[tx-robot] updated from transifex
2019-01-19 01:12:22 +00:00
Nextcloud bot
56ad07b85e
[tx-robot] updated from transifex
2019-01-15 01:12:14 +00:00
Nextcloud bot
8edd9b0e33
[tx-robot] updated from transifex
2019-01-14 01:12:00 +00:00
Nextcloud bot
a1f9ed1d7d
[tx-robot] updated from transifex
2019-01-04 01:12:28 +00:00
Nextcloud bot
760c502f3c
[tx-robot] updated from transifex
2018-12-28 01:11:49 +00:00
Nextcloud bot
9d5f7c7f62
[tx-robot] updated from transifex
2018-12-24 01:11:46 +00:00
Nextcloud bot
c0a6ad0a72
[tx-robot] updated from transifex
2018-12-21 01:11:48 +00:00
Nextcloud bot
4be6aa5270
[tx-robot] updated from transifex
2018-12-20 01:11:44 +00:00
Nextcloud bot
3d53398d07
[tx-robot] updated from transifex
2018-12-19 01:11:46 +00:00
Nextcloud bot
ffd2410a7e
[tx-robot] updated from transifex
2018-12-17 01:11:33 +00:00
Nextcloud bot
504411a9ff
[tx-robot] updated from transifex
2018-12-07 01:11:41 +00:00
Nextcloud bot
95d33cd889
[tx-robot] updated from transifex
2018-12-04 01:12:05 +00:00
Nextcloud bot
68f04686a0
[tx-robot] updated from transifex
2018-11-29 01:11:34 +00:00
Nextcloud bot
e8886fb63a
[tx-robot] updated from transifex
2018-11-27 01:11:34 +00:00
Joas Schilling
1751c28c28
Bump versions of server and the requirements of apps
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-23 10:28:40 +01:00
John Molakvoæ (skjnldsv)
1deda8fd65
Rollback to default list view
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-15 20:29:10 +01:00
Morris Jobke
d70b010432
Merge pull request #12447 from nextcloud/bugfix/12446/fix-oracle-install-again
...
Shorten index name of calendar changes table
2018-11-15 10:47:51 +01:00
Nextcloud bot
10c9b37461
[tx-robot] updated from transifex
2018-11-15 01:12:14 +00:00
Joas Schilling
aa88254f64
Shorten index name of calendar changes table
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-14 10:14:23 +01:00
John Molakvoæ (skjnldsv)
5682d302c7
Add grid toggle for every files view
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-06 11:42:18 +01:00
Nextcloud bot
54a30a4b81
[tx-robot] updated from transifex
2018-11-06 01:12:39 +00:00
Nextcloud bot
c28ea52155
[tx-robot] updated from transifex
2018-11-05 01:12:32 +00:00
Nextcloud bot
9d7f02ec47
[tx-robot] updated from transifex
2018-11-04 01:14:02 +00:00
Unknown
0ad76cc81a
Add test OCA\Files_Trashbin\Capabilities
2018-11-01 17:20:34 +05:00
Robin Appelman
e5c3e4b76f
Add getExtension() to FileInfo
...
this is a fairly common operation so it makes sense to prevent having
to repeatedly implement it.
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-29 15:24:02 +01:00
Nextcloud bot
18fef12721
[tx-robot] updated from transifex
2018-10-29 01:13:07 +00:00
Morris Jobke
37782b1084
Merge pull request #11573 from nextcloud/gridview-table
...
Files grid view
2018-10-24 15:31:23 +02:00
Morris Jobke
4ad27260a9
Merge pull request #11439 from nextcloud/trash-modular-api
...
Modular trashbin api
2018-10-23 17:11:16 +02:00
Nextcloud bot
a9fb21f9fc
[tx-robot] updated from transifex
2018-10-23 14:54:28 +00:00
John Molakvoæ (skjnldsv)
b6981dcecb
Merge branch 'master' of https://github.com/nextcloud/server into gridview-table
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-23 16:44:20 +02:00
Daniel Calviño Sánchez
449349e901
Fix opening a section again in the Files app
...
When a section is open in the Files app a "show" event is triggered.
File list objects handle that event by reloading themselves, but only
if the file list was shown at least once. However, the file list objects
of plugins are created when the "show" event is triggered for the first
time for their section; as the file list objects register their handler
for the "show" event when they are created they never handle the first
triggered "show" event, as the handler is set while that event is being
already handled. Therefore, from the point of view of the handler, the
second time that a "show" event was triggered it was seen as if the file
list was shown for the first time, and thus it was not reloaded. Now the
"shown" property is explicitly set for those file lists that are created
while handling a "show" event, which causes them to be reloaded as
expected when opening their section again.
Note that it is not possible to just reload the file list whenever it is
shown; the file list is reloaded also when the directory changes, and
this can happen when the web page is initially loaded and the URL is
parsed. In that case, if file lists were reloaded when shown for the
first time then it could be reloaded twice, one with the default
parameters due to the "show" event and another one with the proper
parameters once the URL was parsed, and the files that appeard in the
list would depend on which response from the server was received the
last.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-21 20:21:19 +02:00
Jan-Christoph Borchardt
39ff82f707
Use grid view in other file views too
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-18 13:44:05 +02:00
Robin Appelman
9e0ebf1830
store user for trashitem in the trashitem
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-17 15:21:09 +02:00
Robin Appelman
136113a22b
remove user parameter from `ITrashItem::getOriginalLocation`
...
since the target user is known at the time of creating the trashitem
the original location can already be adjusted on a per user level
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-17 14:58:02 +02:00
Robin Appelman
a369adb4cd
fix trash storage wrapper tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-17 14:57:43 +02:00
Robin Appelman
b94fbcebeb
fix preview controller tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-17 14:57:40 +02:00
Robin Appelman
f5a41e2e15
fix error message for folder preview request
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-17 14:57:37 +02:00
Robin Appelman
d38163e895
fix trashbin previews for modular api
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-17 14:56:48 +02:00
Robin Appelman
4adac445dc
fix select statement
...
fix select statement
Make trashbin api modules
Apps can register trashbin backends for specific storages,
allowing them to modify trashbin behavior for storages
The old trashbin implementation has been wrapped in a "legacy" backend,
for future work this can be replaced with a new backend that better handles
shares while still keeping the legacy backend around to keep existing trash
from being accessible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-17 14:56:45 +02:00
Joas Schilling
78cc4171ee
Fix mock of ITimeFactory
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-10 12:42:20 +02:00
Christoph Wurst
9af69ca2a5
Fix usage of deprecated OC.webroot
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-09 13:53:59 +02:00
Nextcloud bot
4c47ec005f
[tx-robot] updated from transifex
2018-10-07 00:12:21 +00:00
Nextcloud bot
d9fe68ed12
[tx-robot] updated from transifex
2018-10-05 00:12:56 +00:00
Nextcloud bot
d9504a4e06
[tx-robot] updated from transifex
2018-10-04 00:12:07 +00:00
Nextcloud bot
67d04f2d57
[tx-robot] updated from transifex
2018-10-03 16:58:45 +00:00
Nextcloud bot
77c6e41063
[tx-robot] updated from transifex
2018-10-02 00:12:55 +00:00
Nextcloud bot
b6e86121bc
[tx-robot] updated from transifex
2018-10-01 00:12:39 +00:00
Nextcloud bot
dafd708075
[tx-robot] updated from transifex
2018-09-30 00:12:06 +00:00
Nextcloud bot
73aabbd3c0
[tx-robot] updated from transifex
2018-09-29 00:12:16 +00:00
Morris Jobke
d867f9f091
Merge pull request #11037 from nextcloud/trash-webui-dav
...
Use trashbin dav endpoint to list trash in webui
2018-09-28 16:03:24 +02:00
Robin Appelman
c5f77de3e2
fix trashbin js tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-26 19:20:53 +02:00
Nextcloud bot
2f45045c96
[tx-robot] updated from transifex
2018-09-26 00:12:23 +00:00
Nextcloud bot
bdb01064e2
[tx-robot] updated from transifex
2018-09-25 00:12:07 +00:00
Nextcloud bot
0211e17e3f
[tx-robot] updated from transifex
2018-09-21 00:12:08 +00:00
Robin Appelman
a7a06b2349
use dav trashbin api for restore
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:44 +02:00
Robin Appelman
0c6e154b50
use dav trash api for removing from trashbin
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:41 +02:00
Robin Appelman
dea1e55b62
remove old trashbin api
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:38 +02:00
Robin Appelman
a623e09868
remove old trashbin endpoint
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:36 +02:00
Robin Appelman
b4e452ad60
Use trashbin dav endpoint to list trash in webui
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:33 +02:00
Robin Appelman
6372ae3a98
expose additional props from trashbin sabre endpoint
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:26 +02:00
Nextcloud bot
2a51572cc4
[tx-robot] updated from transifex
2018-09-17 00:12:30 +00:00