Joas Schilling
2e08c8b5a1
Chunk the array of phone numbers
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Nextcloud bot
cd3ef614be
[tx-robot] updated from transifex
3 years ago
Robin Appelman
3eb764e65d
remove explicit fclose from S3->writeStream
streams get closed automatically when dropped, and in some cases the stream seems to be already closed by the S3 library, in which case trying to close it again will raise an error
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Robin Appelman
b62ee577d7
implement PagedProvider for file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Robin Appelman
424db15dea
limit constructing of result objects in file search
even thought we currently have no proper way of limiting the search itself, we can at least limit the construction of the result objects.
this saves about 40% of the time spend in the search request in my local testing
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Joas Schilling
b4f6aca624
Clean up the logic of the contacts store a bit
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
61ed57b757
Rename some parameters and methods to make the API more clear
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Christoph Wurst
7287a15acb
Bump psr/container from 1.0.0 to 1.1.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Robin Appelman
f98fed3f8a
reuse usermanager instance when processing search results
saves some time when processing large search results
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Joas Schilling
5b53b6f977
Add a setting to restrict returning a full match unless in phonebook or same group
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Robin Appelman
c048f0100f
cache baseurl in url generator
Servers don't tend to change their url in the middle of a request
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Joas Schilling
236aa194e2
Restrict autocompletion also based on the phonebook known users
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
c7be18c0d6
Add a service to find out if a user knows another user
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Jakub Onderka
1992d11d7d
Fix warning in AppFetcher.php when appstore is disabled
Signed-off-by: Jakub Onderka <ahoj@jakubonderka.cz>
3 years ago
Joas Schilling
f1bb4e5699
Add a KnownUsers database with model
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Robin Appelman
c87b1a50d9
apply object store copy optimization when 'cross storage' copy is within the same object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Robin Appelman
3da33ce3fc
send share notification instead of erroring on duplicate share
when creating a share that already exists, instead of erroring, resend the notifications
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Roeland Jago Douma
618805b14f
Fix RedundantPropertyInitializationCheck
For #25839
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
2e6cab4d82
Move initialstate bootstrap to proper types classes
For more type safety
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
30e096f3f5
Allow overwriting isAuthenticated
* Some implementations might check for different things
* IT will not change how the current ones work
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
cc2beee872
Add getID function to the simplefile implementation
Sometimes it is useful to get the actual fileid
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
69b26c73f3
Fix some redundant casts
Happier psalm
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Nextcloud bot
e8f087d7d1
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
c28542ef7f
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
41f9fdab1c
[tx-robot] updated from transifex
3 years ago
Julius Härtl
9dc5b8274e
Deprecate getHTMLName on \OCP\Defaults
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Nextcloud bot
a6c9688fd6
[tx-robot] updated from transifex
3 years ago
Roeland Jago Douma
d7f7d3bc51
Type CompositeExpression and ICompositeExpression
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Robin Appelman
b844293536
catch notfound and forbidden exception in smb::getmetadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Roeland Jago Douma
c3f1eb4f7f
Remove Redundantcasts
For #25839
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
b14be34689
Type Entry and IEntry
* Fixed a docblock
* Typed the entries
Psalm happier, Roeland happier
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
76a6328d10
Add executeQuery and executeUpdate
Names shamelessly copied from Doctrine itself.
Internally it is still using the same flow. But I added some checks
around it.
This should make static analysis a bit more happy. Which in turn makes
me more happy.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
f04a2ce19f
Pimp ActionProviderStore
* Fix paradoxale condition
* Add types
* Move away from ILogger
Makes psalm happy, and thus me happy
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Nextcloud bot
365d31743f
[tx-robot] updated from transifex
3 years ago
Roeland Jago Douma
cc744740b7
Remove deprecated \OCP\API
Time to remove this forgood now.
Remaining constant moved over
The world is a tiny bit better
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
68ec18323d
Fix types in the Group Manager
Psalm found an issue. However the issue found was because of lying
docblocks. Fixed those and did some typing to make it all better.
For #25839
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
4bdf9f5849
Type the experssionbuilders
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Robin Appelman
47dd8e54b5
allow non string join conditions in query builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Nextcloud bot
e11be3b693
[tx-robot] updated from transifex
3 years ago
Daniel Kesselberg
bc91eb7c64
Filter tables with other table prefix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3 years ago
Roeland Jago Douma
1531414e8d
Fix docblock return type for IShareProvider
All the implementations already returned an array of array of shares. So
better to make sure the docblock also doesn't lie.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
19e2136963
Update autoloader files
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Anna Larch
f9083ef7bf
Fix namespacing
Signed-off-by: Anna Larch <anna@nextcloud.com>
3 years ago
Nextcloud bot
63f68e0412
[tx-robot] updated from transifex
3 years ago
Johannes Leuker
2796ef80ff
Show group backends in occ group:list --info and group:info
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
3 years ago
Jonas Rittershofer
f02362e029
Include RichObject for forms
Ref. https://github.com/nextcloud/forms/pull/789
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
3 years ago
Nextcloud bot
24d5afb1b1
[tx-robot] updated from transifex
3 years ago
Julius Härtl
19eb48b8a3
Properly end iterating over the file once the target has been reached
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Nextcloud bot
b4ccadea2b
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
c8f7a808fd
[tx-robot] updated from transifex
3 years ago