Commit graph

20672 commits

Author SHA1 Message Date
Nextcloud bot
ea0fbda1eb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-16 02:14:57 +00:00
Richard Steinmetz
479aa6fae2
Merge pull request #35115 from nextcloud/backport/35105/stable24
[stable24] Fix distorted previews when using imaginary
2022-11-15 10:58:32 +01:00
Nextcloud bot
d3c68c1b18
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-15 02:15:46 +00:00
Joas Schilling
36ea2748be
Revert "[stable24] Appropriate length check in Notification.php" 2022-11-14 11:14:57 +01:00
Nextcloud bot
5643a62fcc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-14 02:15:45 +00:00
Simon L
80040cb659
Merge pull request #35113 from nextcloud/backport/35015/stable24
[stable24] Appropriate length check in Notification.php
2022-11-13 18:26:07 +01:00
Nextcloud bot
b4b206c269
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-13 02:14:45 +00:00
Nextcloud bot
685e0f93f0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-12 02:15:08 +00:00
Richard Steinmetz
939abffcce Fix distorted previews when using imaginary
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-11 21:51:43 +00:00
natoponen
d4f9b8286a Appropriate length check in Notification.php
There is an issue(bug) when using UTF-8 symbols in any method, which checks the length of string as `isset($id[64])`. You can set only 32 UTF-8 symbols because they are 2 byte, and this "array" check seems inapropriate in this case, as it throws unexpected exceptions.

Signed-off-by: natoponen <57988162+natoponen@users.noreply.github.com>
2022-11-11 20:09:24 +00:00
Joas Schilling
303ede8c8c
Merge pull request #35088 from nextcloud/backport/35074/stable24
[stable24] Make sure that path is normalized and then checked,
2022-11-11 15:52:45 +01:00
Nextcloud bot
152b63f379
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-11 02:14:17 +00:00
Julius Härtl
af87f280d0
Merge pull request #35049 from nextcloud/backport/34834/stable24
[stable24] Fix size calculation on copying the skeleton files
2022-11-10 21:31:00 +01:00
Côme Chilliet
4d6fdad722 Make sure that path is normalized and then checked,
and not the other way around

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-10 18:06:07 +00:00
Robin Appelman
fd452e51c1
Merge pull request #35039 from nextcloud/backport/32211/stable24
[stable24] Add repair command to fix wrong share ownership
2022-11-10 17:17:23 +01:00
Christoph Wurst
8f2cf3fb87
Merge pull request #35059 from nextcloud/backport/35042/stable24
[stable24] Add description for calendar uri
2022-11-10 08:32:30 +01:00
Nextcloud bot
bd4fe22f52
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-10 02:15:42 +00:00
Christopher Ng
6f6e2796de Add description for calendar uri
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-09 18:26:02 +00:00
Julius Härtl
ed6ef37dd1
Use proper storage method for writing skeleton files
otherwise the filecache will have a wrong size for skeleton files

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-09 13:11:16 +01:00
Nextcloud bot
6b5a8eec4c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-09 02:14:46 +00:00
Robin Appelman
b6f7952d2c update autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 22:38:42 +00:00
Robin Appelman
fe31b6f6cd remove no longer needed code
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 22:38:39 +00:00
Robin Appelman
22e053771a split repairing into two stages to prevent long open transaction
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 22:38:34 +00:00
Robin Appelman
a4edde3f70 move share owner repair to occ command
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 22:38:32 +00:00
Louis Chemineau
7dafaf9f13 Add repair step to fix wrong share ownership
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-08 22:38:32 +00:00
Simon L
e9e248dd13
Merge pull request #35012 from nextcloud/backport/35007/stable24
[stable24] Fix unsuccessful token login logged as error
2022-11-08 10:50:57 +01:00
Nextcloud bot
1f71bfec2d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-08 02:14:32 +00:00
Christoph Wurst
05a22831e1 Fix unsuccessful token login logged as error
The condition of a non-existent login token can happen for concurrent
requests. Admins can not do anything about this. So this is to be
expected to happen occasionally. This event is only bad if none of the
requests is able to re-acquire a session. Luckily this happens rarely.

If a login loop persists an admin can still lower the log level to find
this info. But a default error log level will no longer write those
infos about the failed cookie login of one request.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-07 17:52:13 +00:00
Côme Chilliet
9d377a1751 Suppress false-positives from psalm, waiting for fix upstream
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-07 13:32:14 +00:00
Côme Chilliet
fe5ac24949 Avoid a crash when a PHP extension has no version
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-07 13:32:13 +00:00
Nextcloud bot
3e97bee363
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-07 02:14:25 +00:00
Nextcloud bot
53e4c51583
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-06 02:12:55 +00:00
Nextcloud bot
7e434978bd
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-05 02:15:23 +00:00
Vincent Petry
1f730ec9e2
Merge pull request #34659 from nextcloud/backport/34632/stable24
[stable24] Add rate limiting on lost password emails
2022-11-04 17:30:13 +01:00
Vincent Petry
8b4fe66c14
Merge pull request #34855 from nextcloud/backport/34799/stable24
[stable24] Emit typed event when preview is requested
2022-11-04 17:20:43 +01:00
Vincent Petry
2efb811301
Merge pull request #34947 from nextcloud/backport/34804/stable24
[stable24] Skip general login with email for non-valid addresses and LDAP
2022-11-04 17:13:30 +01:00
Vincent Petry
719d88c3ac
Merge pull request #34952 from nextcloud/backport/34379/stable24
[stable24] Run session token renewals in a database transaction
2022-11-04 17:11:03 +01:00
Nextcloud bot
4e1ec1c4f4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-04 02:14:21 +00:00
Côme Chilliet
26574db8ab
Add rate limiting on lost password emails
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-03 17:50:59 +01:00
Christoph Wurst
6d2677b2bb
Run session token renewals in a database transaction
The session token renewal does
1) Read the old token
2) Write a new token
3) Delete the old token

If two processes succeed to read the old token there can be two new tokens because
the queries were not run in a transaction. This is particularly problematic on
clustered DBs where 1) would go to a read node and 2) and 3) go to a write node.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-03 16:39:41 +01:00
Julius Härtl
91a4444c2b
Skip general login with email for non-valid addresses and LDAP
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-03 15:40:38 +01:00
Nextcloud bot
f4da39facc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-03 02:14:20 +00:00
Nextcloud bot
21ac195305
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-02 02:14:21 +00:00
Nextcloud bot
6d776051e5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-31 02:14:05 +00:00
Nextcloud bot
d419c69f44
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-30 02:13:53 +00:00
Nextcloud bot
9b027a8b1a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-29 02:15:29 +00:00
Nextcloud bot
8a4e974d7b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-28 02:14:31 +00:00
Julius Härtl
6dc2b162c5
Emit typed event when preview is requested
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-27 18:51:53 +02:00
John Molakvoæ
e8a69778d3
Merge pull request #34770 from nextcloud/backport/34579/stable24
[stable24] fix null error in getUnencryptedSize
2022-10-27 18:12:46 +02:00
John Molakvoæ
b655bfb14e
Merge pull request #34845 from nextcloud/dependaskjnldsv/32413/stable24
[stable24] Fix psalm errors fron the end of the baseline file
2022-10-27 18:00:30 +02:00