Vincent Petry
d92c7bddce
Add missing event dispatcher in test constructor
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-24 20:31:00 +01:00
Vincent Petry
1bc86a95c4
Make phpcs happy in MountProviderCollection
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-24 20:26:42 +01:00
Robin Appelman
881e107543
Apply suggestions from code review
...
Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:41:37 +01:00
Robin Appelman
1179873f33
add comment for getMountForPath loop
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:36:59 +01:00
Robin Appelman
db2418be85
invalidate mount cache after share rename
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:36:56 +01:00
Robin Appelman
b7a7425fbd
make mount cache duration configurable
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:36:53 +01:00
Robin Appelman
63ad99ba4a
fix method name
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:04:01 +01:00
Robin Appelman
f7c942a943
caching of userfolder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:58 +01:00
Robin Appelman
70c37c2717
fmt
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:55 +01:00
Robin Appelman
89919b0e24
invalidate mount cache on circles change
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:52 +01:00
Robin Appelman
fc6e4530c4
force full setup after external storage config change
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:44 +01:00
Robin Appelman
15c9a3114a
perform full setup if a cached mount doesn't have a provider set
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:16 +01:00
Robin Appelman
d342c764f2
don't double setup provider when calling setupForUser after setupForPath
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:13 +01:00
Robin Appelman
6b085b6fd1
add logic to perform a full filesystem setup when needed
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:10 +01:00
Robin Appelman
506d29c095
update cached mounts when only specific providers have been setup
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:55 +01:00
Robin Appelman
a617e1e711
fix check if dav root is folder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:52 +01:00
Robin Appelman
79f6742410
improve lazy UserFolder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:49 +01:00
Robin Appelman
19c64cf8b6
setup only relevant mounts when possible
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:46 +01:00
Robin Appelman
55d943fd4b
fixed when accessing static filesystem calls before setup
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:42 +01:00
Robin Appelman
469a684d45
allow getting mounts by provider
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:38 +01:00
Robin Appelman
04052a9594
allow getting cached mounts by path from the mount cache
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:12 +01:00
Robin Appelman
3fc5c97282
return a lazy folder from Root::getUserFolder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:08 +01:00
Robin Appelman
46d0eef8da
allow setting some metadata in the lazyfolder without having to get the real folder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:01 +01:00
Robin Appelman
c80ba69b7a
dont setup full fs after dav auth
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:00:57 +01:00
Robin Appelman
114af08043
Merge pull request #30991 from nextcloud/external-remove-config-migration
...
remove old legacy external storage migration logic
2022-03-24 16:00:33 +00:00
Côme Chilliet
fbf1334dc8
Merge pull request #31655 from nextcloud/fix-passing-null-to-strlen
...
Fix passing null to strlen
2022-03-24 14:03:13 +01:00
Thomas Citharel
0456f61c1c
Fix passing null to strlen
...
$filter can be null as it's the default value passed in
ContactsMenuController.
On PHP 8.1 : strlen(): Passing null to parameter #1 ($string) of type string is deprecated
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-24 09:56:44 +00:00
Joas Schilling
c9ea2363b1
Merge pull request #31688 from nextcloud/bugfix/31658/automatically-cut-the-token-name-on-first-level
...
Automatically cut the token name on the first level
2022-03-24 10:54:40 +01:00
Nextcloud bot
bed9721019
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-24 02:27:11 +00:00
Joas Schilling
5f75d2e104
Remove old shortening
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 21:42:29 +01:00
Joas Schilling
d683e0d3d1
Automatically cut the token name on the first level
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 21:38:53 +01:00
Joas Schilling
c1215f573a
Merge pull request #31658 from nextcloud/bugfix/noid/limit-token-names
...
Limit the length of app password names
2022-03-23 14:12:20 +01:00
Joas Schilling
343476f54f
Fix unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 11:00:34 +01:00
Joas Schilling
a0c7798c7d
Limit the length of app password names
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 10:47:56 +01:00
Joas Schilling
0fa17f8902
Merge pull request #31668 from nextcloud/fixup/31580/skip-test-for-now
...
Test disabled for now due to multiple reasons
2022-03-23 09:43:29 +01:00
Nextcloud bot
b5338e380e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-23 02:27:52 +00:00
Joas Schilling
89e293d3fd
Test disabled for now due to multiple reasons
...
see https://github.com/nextcloud/server/pull/31580#issuecomment-1069182234 for details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-22 17:07:48 +01:00
Julius Härtl
0e57491f6b
Merge pull request #31601 from nextcloud/enh/dashboard-description
...
Add proper description for the dashboard app
2022-03-22 16:06:55 +01:00
Joas Schilling
d5b0f81ef5
Merge pull request #31569 from nextcloud/bugfix/31519/revert-password-validation
...
Allow creating app passwords without validating the user's password a…
2022-03-22 13:53:42 +01:00
Joas Schilling
0acd4b5f82
Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-id
...
Extract request id handling to dedicated class so it can be injected without DB dependency
2022-03-22 12:08:45 +01:00
John Molakvoæ
b6209d6125
Merge pull request #31644 from nextcloud/fix/change-to-tertiary-button
2022-03-22 11:11:08 +01:00
Vincent Petry
acfa546efd
Merge pull request #31580 from nextcloud/nickvergessen-patch-2
...
Limit missing primary key fail to new tables and comment out for now
2022-03-22 10:58:24 +01:00
Côme Chilliet
c43d015fe5
Merge pull request #31582 from nextcloud/refactor/carl/accesibility-app
...
Modernize accessibility app
2022-03-22 10:57:37 +01:00
Vincent Petry
5e1a397fbd
Merge pull request #31605 from nextcloud/cert-manager-cache-path
...
cache the path of the certificate bundle
2022-03-22 10:46:35 +01:00
Vincent Petry
6fa51be0de
Merge pull request #31620 from nextcloud/fix/noid/truncate-oracle
...
do not forget DB table prefix with truncate query
2022-03-22 10:46:20 +01:00
Christoph Wurst
a47fd94cb8
Merge pull request #31639 from nextcloud/fix/moving-calobject-fails
...
Fix moving error for calendar object error because of missing princip…
2022-03-22 10:28:28 +01:00
Vanessa
0fdb41506a
Merge pull request #31409 from nextcloud/fix/31237/new-button-HeaderBar
...
add new button component HeaderBar
2022-03-22 10:00:37 +01:00
Côme Chilliet
57bf348d37
Remove leftover useless comment
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-22 09:44:39 +01:00
John Molakvoæ
1fe73a15d3
Merge pull request #31653 from nextcloud/techdebt/noid/run-with-ONLY_FULL_GROUP_BY
2022-03-22 09:15:25 +01:00
Côme Chilliet
58582dfd33
Merge pull request #31382 from nextcloud/feat/account-migrator
...
User account migration
2022-03-22 09:11:28 +01:00