Commit graph

20694 commits

Author SHA1 Message Date
Nextcloud bot
75eb325d75
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-24 02:17:51 +00:00
Louis
8707beb89c
Merge pull request #35367 from nextcloud/backport/35353/stable24
[stable24] Update cache when file size === 0
2022-11-23 19:39:59 +01:00
Louis Chemineau
cadcebf962 Update cache when file size === 0
The conditions were false when $result === 0.
$results here contains the number of written bits.
The correct way of checking for operation success is to check if $result === false

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-23 15:04:34 +00:00
Joas Schilling
c892ba43d1 Fix forwarding the object id when searching comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-23 10:42:25 +00:00
Nextcloud bot
c610950ccd
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-23 02:18:27 +00:00
Vincent Petry
c39caba4a0
Don't use quota cache through user management
When querying the free space through user management APIs, don't use the
cached quota value. The latter is only there to accelerate PROPFINDs.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-21 23:47:10 +01:00
Simon L
c56fcca872
Merge pull request #35250 from nextcloud/bugfix/noid/quota-zero
[stable24] Properly compare quota against both float/int values
2022-11-21 18:39:49 +01:00
Côme Chilliet
e24df2255d
Merge pull request #35141 from nextcloud/backport/34160/stable24
[stable24] Detect weird local ips
2022-11-21 09:33:17 +01:00
Nextcloud bot
db82cc0fcf
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-21 02:15:45 +00:00
Nextcloud bot
02595dfbc3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-20 02:16:05 +00:00
Joas Schilling
9f8b6e99da
Merge pull request #35245 from nextcloud/backport/32288/stable24
[stable24] Fix JSON error when comment has no reactions
2022-11-19 20:44:09 +01:00
Nextcloud bot
77dccd3765
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-19 02:17:53 +00:00
Robin Appelman
4b4b80bc1c delay updating setup providers untill we register the mounts
otherwise the fallback to a full setup for a missing cached mount provider will lead to a race condition

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-18 14:38:30 +00:00
Julius Härtl
f66226d18e
Properly compare quota against both float/int values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-18 14:12:43 +01:00
Joas Schilling
3f1865b729
Fix JSON error when comment has no reactions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-18 11:13:54 +01:00
Nextcloud bot
55698aa94f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-18 02:13:44 +00:00
Joas Schilling
ff9569256e
Merge pull request #35200 from nextcloud/backport/35096/stable24
[stable24] Mark more config values as sensitive
2022-11-17 12:06:03 +01:00
Nextcloud bot
1ff39cf433
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-17 02:14:43 +00:00
Joas Schilling
996bb092ff
Mark more config values as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-16 10:08:04 +01:00
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
Côme Chilliet
e0d588b390
Fix tests for nested v4 in v6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 11:14:46 +01:00
Côme Chilliet
012576a3f4
Use new dependency to normalize IPs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 11:14:39 +01:00
Côme Chilliet
1eed8fd539
Add missing urldecode and idn_to_utf8 calls to local address checker
The call to idn_to_utf8 call is actually to apply normalization

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 11:14:29 +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