Commit graph

20663 commits

Author SHA1 Message Date
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
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
Carl Schwan
3ec8dce3cc
Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 15:50:22 +02:00
John Molakvoæ
04ec0d7f97
Merge pull request #34440 from nextcloud/backport/32635/stable24 2022-10-27 14:26:27 +02:00
Vincent Petry
1524b5fd25
Merge pull request #34797 from nextcloud/backport/33540/stable24
[stable24] fix updating cached mounts that didn't have their mount provider set previously
2022-10-27 13:36:33 +02:00
John Molakvoæ
220d71d997
Merge pull request #34410 from nextcloud/backport/33566/stable24 2022-10-27 12:29:17 +02:00
John Molakvoæ
a117878240
Merge pull request #34032 from nextcloud/backport/34019/stable24
[stable24] Fix quota type to int
2022-10-27 12:10:28 +02:00
Andy Xheli
053a4bdf1f Update lib/private/Contacts/ContactsMenu/ContactsStore.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Tested no issues.

Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-10-27 10:04:06 +00:00
Andy Xheli
a5be8ddf6d Update ContactsStore.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-10-27 10:04:06 +00:00
Andy Xheli
98e9414c70 Apply suggestions from code review
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-10-27 10:04:06 +00:00
Andy Xheli
731e0a0530 Fix User profile picture when performing the search
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Before 
![image](https://user-images.githubusercontent.com/59488153/140980158-b9108161-57ab-48b4-ae6f-98ec4e72775a.png)

After




Fix for #31065
2022-10-27 10:04:06 +00:00