Ferdinand Thiessen
7620d230df
fix(Request): Catch exceptions in `isTrustedProxy`
...
The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw.
But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500.
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 14:59:51 +07:00
Nextcloud bot
764f34c4f6
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-27 00:19:36 +07:00
Maxence Lange
8362025643
better indexes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-24 20:01:56 +07:00
Julius Härtl
8c777145f2
Merge pull request #42597 from nextcloud/perf/s3-mkdir-update-size
...
perf: Avoid updating the folder size if we know the size difference
2024-01-23 19:39:28 +07:00
Joas Schilling
582ec1294a
fix(apps): Fix type information of app manager
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-23 09:55:06 +07:00
Christoph Wurst
033a654389
Merge pull request #42929 from nextcloud/fix/db/transacted-read-not-dirty
...
fix(db): Do not log transacted reads as dirty read
2024-01-23 09:34:20 +07:00
Christoph Wurst
03774ad77c
Merge pull request #42971 from nextcloud/fix/auth/login-email-password-login-name-mismatch
...
fix(auth): Fix logging in with email and app password
2024-01-22 10:41:48 +07:00
Nextcloud bot
af313a79e8
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 00:19:16 +07:00
Christoph Wurst
7f2fdd8843
fix(auth): Fix logging in with email, password and login name mismatch
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-19 19:29:41 +07:00
Nextcloud bot
9f6df9171b
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-19 00:19:27 +07:00
Christoph Wurst
ab0d7c007d
fix(db): Remove very verbose dirty query logs
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-18 18:33:07 +07:00
Christoph Wurst
f54b08c224
fix(db): Do not log transacted reads as dirty read
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-18 13:37:36 +07:00
Arthur Schiwon
c4f4c5a3fb
Merge pull request #41067 from Murena-SAS/preview-folder-deletes
...
Fix for previews not being generated sometimes
2024-01-18 11:46:12 +07:00
Joas Schilling
0e40457b86
Merge pull request #42847 from nextcloud/fix/42843/exception-on-their-own
...
exceptions on their own
2024-01-18 09:59:36 +07:00
Pytal
e42f511412
Merge pull request #42860 from nextcloud/jr/fix/i42858
...
Update ContactsStore: Avoid exceptions on empties
2024-01-17 10:39:16 +07:00
Robin Appelman
0492e0f1d4
Revert "add key location to info:file output"
...
This reverts commit 7bf82fc312 .
2024-01-17 17:53:37 +07:00
Robin Appelman
7bf82fc312
add key location to info:file output
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-17 17:47:01 +07:00
Git'Fellow
72e0618f20
fix(session): Avoid two useless authtoken DB queries for every anonymous request
...
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-17 09:17:23 +07:00
Josh
36e0b02712
Update ContactsStore: Avoid exceptions on empties
...
Fixes #42858 and makes things more robust
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-16 23:57:58 +07:00
Maxence Lange
db8636ac1a
exceptions on their own
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-16 12:48:27 +07:00
Maxence Lange
addd678682
returns default on exception
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-16 12:35:24 +07:00
Maxence Lange
fdd38b46e3
Merge pull request #41755 from nextcloud/enh/noid/lazyconfig
...
Lazy grouping within IAppConfig
2024-01-16 08:39:13 +07:00
John Molakvoæ
85849767f2
Merge pull request #42806 from nextcloud/bugfix/noid/only-send-subscription-key-to-our-appstore
2024-01-16 10:16:05 +07:00
Côme Chilliet
80d58f0162
Merge pull request #41312 from nextcloud/feat/migrate-code-integrity-check
2024-01-16 09:04:24 +07:00
Nextcloud bot
587057b0ed
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-16 00:18:51 +07:00
Maxence Lange
94fe48c998
small fixes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Maxence Lange
6daea857ab
fixes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
d
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Maxence Lange
f7d0c74b10
lazy AppConfig
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Joas Schilling
57a30e9bbe
fix(appstore): Only send subscription keys to valid appstores
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-15 15:39:45 +07:00
Côme Chilliet
d481515081
Improve validator output in case of invalid RichObject
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:48 +07:00
Git'Fellow
32bf74af16
Merge pull request #42768 from nextcloud/errorToWarn
...
(dashboard): Lower error to warning log message
2024-01-15 11:38:05 +07:00
Maxence Lange
083a9d8fb2
Merge pull request #42670 from nextcloud/enh/noid/occ-background-job-delete
...
occ background-job:delete
2024-01-15 09:36:36 +07:00
Git'Fellow
53ad3a58ab
Lower to info
...
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-15 09:29:22 +07:00
Git'Fellow
d01f9e5fd5
Lower error to warning
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-14 22:45:48 +07:00
Alexander Piskun
156013a711
introduce IProviderWithUserId
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-01-14 22:44:37 +07:00
Julius Härtl
296096e069
fix: Add reconnect check in case of timeouts on the db side
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 14:38:01 +07:00
Julius Härtl
cc75294eb6
perf: Avoid updating the folder size if we know the size difference
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 14:21:08 +07:00
Julius Härtl
c17c42a0b2
feat: First attempt to track dirty tables after writes and switch back to replicas if reads go to other tables
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
debug: error log
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 11:02:50 +07:00
Julius Härtl
3e60092b7d
feat: Add logging for transaction time
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 11:02:50 +07:00
Maxence Lange
bd3df759fb
occ background-job:delete
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-11 23:17:57 +07:00
Julius Härtl
2df26608ef
Merge pull request #42649 from nextcloud/enh/machine-translation-provider-with-id
2024-01-11 21:50:50 +07:00
Côme Chilliet
f789732922
Merge pull request #42640 from nextcloud/fix/fix-authentication-exceptions-2
...
Always catch OCP versions of authentication exceptions
2024-01-11 18:51:43 +07:00
Côme Chilliet
a526a382bf
Import OCP IToken as OCPIToken to avoid a name clash in lib/private
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 15:45:14 +07:00
Côme Chilliet
6fc224dfce
Document new throw possibility in SetupResult
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +07:00
Côme Chilliet
a78abd84ce
Validate rich objects passed to SetupResult
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +07:00
Côme Chilliet
f34865eb4e
Add RichObject support for SetupChecks descriptions
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +07:00
Côme Chilliet
37a6e15f87
Use OCP version of IToken in AppPasswordCreatedEvent
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
Côme Chilliet
8fc39aeb1c
Use IToken from OCP instead of OC
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
Côme Chilliet
95ea6188dc
Suppress or fix psalm errors related to InvalidTokenException
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
Côme Chilliet
eee9f1eec4
Always catch OCP versions of authentication exceptions
...
And always throw OC versions for BC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00