Nextcloud bot
87eda567e3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 anos atrás
Julius Härtl
e475dfe16c
Fix php-cs for S3ConnectionTrait.php
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 anos atrás
Carl Schwan
52760a95d9
Check if directoy is writable instead of possibly missing file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 anos atrás
Jonas Meurer
822daa3c64
Further improve addScript logic, migrate to uksort()
Instead of the logic with `first` and `last`, store dependencies in an
own array and sort the scripts topologically by its dependencies later.
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2 anos atrás
Jonas Meurer
7ec1317b1b
Sort app scripts by dependencies (Fixes: #30278)
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2 anos atrás
Azul
8535dc4255
fix translation source in directEditing templates
The 'Empty file' string is translated in `lib` - not in `core`.
Signed-off-by: Azul <azul@riseup.net>
2 anos atrás
Côme Chilliet
c3a1a66eae
Avoid deprecation warnings about libxml_disable_entity_loader in PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 anos atrás
Côme Chilliet
72baee9698
Allow minor release of PHP 8.1 to be used as well
No reason to allow 8.1.0 and not 8.1.1.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 anos atrás
Côme Chilliet
743267eba4
Fix LDAP related docblocks types
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 anos atrás
Côme Chilliet
260be93a14
Allow running Nextcloud with PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 anos atrás
Christoph Wurst
3e078ffa1b
Deprecate entity slugs
They are only used a single time in the whole Nextcloud Github
organization. We can inline the code there and slim down the public API.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 anos atrás
Christopher Ng
c85f78db69
Migrate profile_config id column to bigint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 anos atrás
Julius Härtl
c92ac34711
Use proper app id (settings instead of core)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 anos atrás
Joas Schilling
0877d62c47
Make sure strtolower only receives a string to satisfy psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
99006be126
Lowercase all core=>email values
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Jonas Meurer
241dfef7fb
Don't write to config file if `config_is_read_only` is set
Also don't write to cache in this case to prevent cache and config file
being out of sync.
Fixes: #29901
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2 anos atrás
Nextcloud bot
ce6dcbcdb4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 anos atrás
Joas Schilling
78e90b69ba
Don't check the configvalue for lastLogin which is never null
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
ae36526978
Always store and compare the email address as lower case
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Nextcloud bot
a47da9722d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 anos atrás
Vincent Petry
6f81e60bce
Check resource before closing in encryption wrapper
In case of error there is no guarantee that $source or $target is set or
is a resource when handling an error.
Without this fix, there's a risk that fclose will fail and the actual
exception will not be thrown, making it impossible to find out about the
root cause.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 anos atrás
Joas Schilling
f1a6668cc2
Make psalm more happy
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
93b77f54bd
Fix docs to make Psalm happier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Nextcloud bot
39f77c8870
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 anos atrás
Joas Schilling
d5cb5a33dc
Convert strict_search to wildcard property and add psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
d49ad7ea47
Limit more contact searches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
0f1670be8a
Only limit search in the system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
84d37143b0
Only wildcard search if enumeration is allowed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Julius Härtl
7b76253aee
Do not clear all results when searching from users address books
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 anos atrás
Nextcloud bot
0e665e0646
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 anos atrás
Nextcloud bot
e7fb7115fa
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 anos atrás
Côme Chilliet
8504f0a59e
Avoid assignment in if clause
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 anos atrás
Côme Chilliet
ab3a1d5706
Fix typing problems in OC_Image
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 anos atrás
Côme Chilliet
d537226368
Avoid calling image* methods on boolean
This avoids fatal errors on PHP>=8, and warnings on older versions.
Log should also be clearer.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 anos atrás
Nextcloud bot
f0e1621eed
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 anos atrás
Nextcloud bot
f210a6a0e5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 anos atrás
Christopher Ng
e224401a62
Fix relation "user_id" already exists migration error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 anos atrás
acsfer
074a9a5e88
Switch logical operators
Unless there is a good reason to keep actual ones 👀
2 anos atrás
Julius Härtl
5116bf146f
Allow to pass note when creating a share and send it with directly in the share mail when set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 anos atrás
John Molakvoæ (skjnldsv)
791d57051a
Adapt tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2 anos atrás
John Molakvoæ (skjnldsv)
71a3528510
Allow scripts prioritization based on other apps
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2 anos atrás
Robin Appelman
db2dcbfe13
code checker fixes for instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 anos atrás
Robin Appelman
f5fe887b4b
background scan the source storage when a background scan on a storage jail is triggered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 anos atrás
Robin Appelman
f93061e344
teach psalm about `Storage::instanceOfStorage`
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 anos atrás
Carl Schwan
dfb569f097
Follow upstream security recommandation
See https://scssphp.github.io/scssphp/docs/#security-considerations
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 anos atrás
Joas Schilling
68d53988f6
Fix log_query config flag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
168c673755
Allow to log DB, redis and LDAP requests into files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
c0ba89ecc9
Remove default token which is deprecated since Nextcloud 13
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
1d550ab95e
Don't query the bruteforce attempts when we just deleted them
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás
Joas Schilling
660e550260
Only check the twofactor state once per request
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 anos atrás