Côme Chilliet
efebbacca4
Add octetLength and charLength to function builder, and tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 20:35:02 +07:00
Côme Chilliet
7dc3eb1e9e
Use getLengthExpression to measure field length instead of like
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 20:35:02 +07:00
Vincent Petry
a7e778b57f
Merge pull request #31265 from nextcloud/fs-limited-setup
...
Fine grained filesystem setup
2022-03-24 21:08:15 +07:00
Vincent Petry
91ab4e1df4
Add missing PHPDoc in InvalidateMountCacheEvent
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-24 21:02:25 +07:00
Vincent Petry
d92c7bddce
Add missing event dispatcher in test constructor
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-24 20:31:00 +07:00
Vincent Petry
1bc86a95c4
Make phpcs happy in MountProviderCollection
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-24 20:26:42 +07:00
blizzz
00076c0709
Merge pull request #31520 from nextcloud/fix/31237/new-button-UserStatus
...
focus to buttons on dashboard view
2022-03-24 17:59:21 +07:00
Vincent Petry
4511bd4bf6
Merge pull request #30950 from nextcloud/enh/opcache-recommends-translation
...
Add OPcache recommendations to Transifex
2022-03-24 17:56:09 +07: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 +07:00
Robin Appelman
1179873f33
add comment for getMountForPath loop
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:36:59 +07:00
Robin Appelman
db2418be85
invalidate mount cache after share rename
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:36:56 +07:00
Robin Appelman
b7a7425fbd
make mount cache duration configurable
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:36:53 +07:00
blizzz
37106e03b0
Merge pull request #31700 from nextcloud/bugfix/noid/allow-4-char-emojis
...
Allow reactions also with other combined emojis 🧑🏾💻
2022-03-24 17:36:23 +07:00
Vincent Petry
04d4666c37
Merge pull request #31221 from nextcloud/feat/dont_create_oc_cards_index_if_it_exists
...
Don't create cards_abiduri it if already exists
2022-03-24 17:12:21 +07:00
Robin Appelman
63ad99ba4a
fix method name
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:04:01 +07:00
Robin Appelman
f7c942a943
caching of userfolder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:58 +07:00
Robin Appelman
70c37c2717
fmt
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:55 +07:00
Robin Appelman
89919b0e24
invalidate mount cache on circles change
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:52 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Robin Appelman
79f6742410
improve lazy UserFolder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:49 +07:00
Robin Appelman
19c64cf8b6
setup only relevant mounts when possible
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:46 +07: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 +07:00
Robin Appelman
469a684d45
allow getting mounts by provider
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:38 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Joas Schilling
3b24a4f217
Fix autoloader
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24 16:07:26 +07:00
Joas Schilling
367be7c55f
Allow reactions also with other combined emojis
...
Honerful copying the EmojiService from UserStatus for now
I think this should be put into a decent place and then reused,
but I couldn't find somethin short term before beta1
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24 15:13:09 +07: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 +07:00
Louis Chemineau
970fb7ce65
Don't create cards_abiduri it if already exists
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-24 10:42:22 +07: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 +07: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 +07:00
Nextcloud bot
bed9721019
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-24 02:27:11 +07:00
Joas Schilling
5f75d2e104
Remove old shortening
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 21:42:29 +07: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 +07:00
Vanessa Pertsch
0cdd7e9fcd
quick fix for focus on weather and customize button
...
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-23 13:26:55 +07:00
Vanessa Pertsch
b0b138675a
quick fix for focus on userStatus button
...
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-03-23 14:15:33 +07: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 +07:00
Joas Schilling
343476f54f
Fix unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 11:00:34 +07: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 +07: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 +07:00
Nextcloud bot
b5338e380e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-23 02:27:52 +07: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 +07:00