Commit graph

61708 commits

Author SHA1 Message Date
blizzz
dd4c3ddbd9
Merge pull request #35329 from nextcloud/backport/35232/stable23
[stable23] Check quota on file copy
2022-11-23 21:08:41 +01:00
blizzz
80c63dc395
Merge pull request #35040 from nextcloud/backport/32211/stable23
[stable23] Add repair command to fix wrong share ownership
2022-11-23 21:08:07 +01:00
blizzz
41b4cae9f0
Merge pull request #35357 from nextcloud/backport/35206/stable23
[stable23] Fix forwarding the object id when searching comments
2022-11-23 18:06:16 +01:00
blizzz
81dbe70834
Merge pull request #35020 from nextcloud/backport/34909/stable23
[stable23] Fix duplicate event email notifications
2022-11-23 18:02:48 +01:00
Simon L
799838a0b8
Merge pull request #35102 from nextcloud/backport/35054/stable23-fix-html-entities-not-decoded-in-comment-just-added
[stable23] Fix HTML entities not decoded in comment just added
2022-11-23 13:56:11 +01:00
Joas Schilling
4214458d97 Fix forwarding the object id when searching comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-23 10:42:35 +00:00
Simon L
334628827c
Merge pull request #35339 from nextcloud/backport/35007/stable23
[stable23] Fix unsuccessful token login logged as error
2022-11-23 09:41:30 +01:00
Nextcloud bot
42a50ede86
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-23 02:18:36 +00:00
Christoph Wurst
9e82dceb66 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-22 16:49:31 +00:00
Côme Chilliet
fe92aec4ca Apply the same fix as on beforeCopy on beforeMove
Let’s be safe

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:22:33 +00:00
Robin Appelman
ca6ee2dad3 fix dirname usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-22 13:22:22 +00:00
Côme Chilliet
9dade992ad Fix psalm issues
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:22:16 +00:00
Côme Chilliet
6638b5411e Check quota on file copy
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:22:13 +00:00
Côme Chilliet
274cbc484e
Merge pull request #35163 from nextcloud/backport/35157/stable23
[stable23] Make sure to not pass null to DateTime::createFromFormat
2022-11-22 10:10:56 +01:00
Nextcloud bot
f399ce4a85
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-22 02:19:42 +00:00
blizzz
41b3614d72
Merge pull request #34967 from nextcloud/backport/34963/stable23
[stable23] Fix invalid date in security.txt
2022-11-21 15:49:10 +01:00
Côme Chilliet
37d849694c
Merge pull request #35144 from nextcloud/backport/34160/stable23
[stable23] Detect weird local ips
2022-11-21 09:33:30 +01:00
Nextcloud bot
f3bfa072fc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-21 02:15:54 +00:00
Nextcloud bot
b12f121ea3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-20 02:16:12 +00:00
Nextcloud bot
b47e9c6628
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-19 02:18:03 +00:00
Simon L
ebf84a8cc2
Merge pull request #35267 from nextcloud/backport/35259/stable23
[stable23] Also cancel XHR when cancelling uploads
2022-11-18 21:25:42 +01:00
Vincent Petry
0c07d7f19e Also cancel XHR when cancelling uploads
Fixes issue when cancelling a long list of uploads.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-18 17:24:22 +00:00
Nextcloud bot
4b8bed50ab
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-18 02:13:51 +00:00
Côme Chilliet
b5c8efa906
Update 3rdparty to latest stable23
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 16:55:13 +01:00
Joas Schilling
852745ad21
Merge pull request #35202 from nextcloud/backport/35096/stable23
[stable23] Mark more config values as sensitive
2022-11-17 12:06:16 +01:00
Nextcloud bot
0564ebc56e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-17 02:14:49 +00:00
Joas Schilling
21f0fde0de
Mark more config values as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-16 10:08:59 +01:00
Nextcloud bot
026a99e9ce
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-16 02:15:06 +00:00
Julius Härtl
abe243e4b6
Merge pull request #35051 from nextcloud/backport/28610/stable23
[stable23] Use storage filter when fetching previews to cleanup
2022-11-15 19:14:06 +01:00
Côme Chilliet
6bdb5d2804
Pass default values to idn_to_utf8 to fix behavior under PHP 7.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-15 12:11:09 +01:00
Richard Steinmetz
bc639175d5
Fix duplicate event email notifications
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-15 10:27:14 +01:00
Nextcloud bot
f697e8e321
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-15 02:15:55 +00:00
Côme Chilliet
7514a33f4f Make sure to not pass null to DateTime::createFromFormat
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 18:48:34 +00:00
Vincent Petry
b43f2b1d52
Merge pull request #35050 from nextcloud/backport/34834/stable23
[stable23] Fix size calculation on copying the skeleton files
2022-11-14 16:41:08 +01:00
Côme Chilliet
8360bb8620
Add mlocati/ip-lib dependency
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 11:28:17 +01:00
Côme Chilliet
5eddbacdaf
Fix idn_to_utf8 stub signature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 11:27:46 +01:00
Côme Chilliet
96d3d09444
Fix tests for nested v4 in v6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 11:27:27 +01:00
Côme Chilliet
be070516a9
Use new dependency to normalize IPs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 11:26:52 +01:00
Côme Chilliet
72f60a6f96
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:25:58 +01:00
Côme Chilliet
1c58ba500b
Harden tests for local IP detection in URLs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 11:25:48 +01:00
Nextcloud bot
1e5c2b34eb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-14 02:15:53 +00:00
Nextcloud bot
4d90e58888
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-13 02:14:52 +00:00
Nextcloud bot
fc8575a774
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-12 02:15:17 +00:00
Joas Schilling
f152ec5d68
Merge pull request #35087 from nextcloud/backport/35074/stable23
[stable23] Make sure that path is normalized and then checked,
2022-11-11 15:53:14 +01:00
nextcloud-command
296aafe4f4 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-11 11:44:33 +00:00
Daniel Calviño Sánchez
60910702d6 Fix HTML entities not decoded in comment just added
The XML data received from the comments endpoint has an inconsistent
encoding; some entities are encoded once and others are encoded twice.
When the comment list is loaded the comments are fetched using
GetComments, which handles all that, and therefore shows the messages
and author names as expected.

However, when a new comment is posted the list is not got again; instead
the new comment is loaded from the comment data returned after posting
it. This is done in NewComment, which did not decode the messages nor
the author names, and therefore showed, for example, "&amp;" instead of
"&".

To solve that now the same decoding logic used in GetComments is applied
too in NewComment.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-11-11 12:27:28 +01:00
Daniel Calviño Sánchez
b2655281cf Extract "decodeHtmlEntities" function to its own file
This will make possible to use it from files other than
"GetComments.js".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-11-11 12:27:24 +01:00
Simon L
084dc48e8d
Merge pull request #35073 from nextcloud/backport/35063/stable23
[stable23] Fix top margin in empty versions list
2022-11-11 10:25:42 +01:00
John Molakvoæ
052fab42c6
Fix engines versions
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-11-11 09:09:26 +01:00
Nextcloud bot
e453e5820f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-11 02:14:24 +00:00