Commit graph

61328 commits

Author SHA1 Message Date
Nextcloud bot
b98bb78f8a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-07 02:24:58 +00:00
Pytal
869335fc47
Merge pull request #33144 from nextcloud/backport/33052/stable23 2022-07-06 15:39:28 -07:00
Joas Schilling
a06f0274fe Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-06 20:57:33 +00:00
Christopher Ng
be7a9361db Prevent duplicate set display name request
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-06 20:57:31 +00:00
Christopher Ng
e218746c8c Do not save invalid display name to the database
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-06 20:57:29 +00:00
blizzz
ce983ec177
Merge pull request #33133 from nextcloud/backport/32993/stable23
[stable23] Fixes for quota text in navigation bar
2022-07-06 21:53:29 +02:00
Daniel Calviño Sánchez
4cfdfc3cb4 Fix quota text not updated after copying or moving a file
Note that the quota may change too when files are moved if the file is
moved, for example, to or from a folder shared by other user.

Besides the quota the storage statistics are also updated, similar to
what is done when a file is deleted.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-07-06 13:28:56 +00:00
Daniel Calviño Sánchez
fcbcf21092 Fix quota text not updated when no quota is set
The JavaScript code that updates the quota text expects the element to
have "quotatext" as id.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-07-06 13:28:52 +00:00
Daniel Calviño Sánchez
9bf7abdf8c Fix quota text shown escaped
"t()" escapes and sanitizes the returned text by default, so strings
like "<" are converted to "&lt;". However, the "jQuery.text()" parameter
does not need to be escaped, as "&lt;" is shown literally as "&lt;"
rather than "<". Now "jQuery.html()" is used instead, which "unescapes"
the given text and sets it as a new text node (as the text in the
parameter does not contain markup for elements, only text).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-07-06 13:28:50 +00:00
blizzz
6a49fc2fab
Merge pull request #33120 from nextcloud/backport/33109/stable23
[stable23] Fix translation of home breadcrumb
2022-07-06 14:02:58 +02:00
blizzz
e97044312f
Merge pull request #33018 from nextcloud/dependabot/composer/build/integration/stable23/guzzlehttp/guzzle-6.5.8
Update guzzlehttp/guzzle requirement from 6.5.7 to 6.5.8 in /build/integration
2022-07-06 14:01:16 +02:00
blizzz
9437cc8db2
Merge pull request #32890 from nextcloud/backport/32584/stable23
[stable23] Make sure ResetTokenBackgroundJob doesn't execute if config is read-only
2022-07-06 13:59:12 +02:00
Nextcloud bot
c202c3e15f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-06 02:23:59 +00:00
Carl Schwan
acdb08b674
Merge pull request #33024 from nextcloud/backport/29862/stable23
[stable23] Avoid deprecation warnings about libxml_disable_entity_loader in PHP 8+
2022-07-05 22:22:14 +02:00
Carl Schwan
661f608bd2
Merge pull request #33116 from nextcloud/backport/33113/stable23
[stable23] Remove .php from ajax url
2022-07-05 22:20:26 +02:00
Christopher Ng
5db5b3c6d1 Fix translation of home breadcrumb
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-05 18:36:39 +00:00
Julien Veyssier
e6ee00cd40 add missing GET param to getstoragestats url
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
(cherry picked from commit ca6a724503)
2022-07-05 15:55:03 +00:00
Carl Schwan
6ffe042d01 Fix 404 when using index.php in the url
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit ee793572cb)
2022-07-05 15:55:00 +00:00
Carl Schwan
a49a1d6a01 Remove .php from url
Probably here for legacy reasons, but it is a bit weird to call an .php
endpoint that doesn't correspond to a .php file

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit c7931086cc)
2022-07-05 15:54:59 +00:00
blizzz
14af5f3c26
Merge pull request #33004 from nextcloud/backport/32719/stable23
[stable23] Fix email shares not being shown to other users
2022-07-05 12:55:19 +02:00
blizzz
9d91248760
Merge pull request #32792 from nextcloud/backport/32675/stable23
[stable23] Validate custom dashboard background image
2022-07-05 12:52:32 +02:00
blizzz
08826427ae
Merge pull request #32975 from nextcloud/backport/32016/stable23
[stable23] Use stored user for PasswordUpdatedEvent
2022-07-05 12:31:26 +02:00
Nextcloud bot
ad8acda2a2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-05 02:23:44 +00:00
Nextcloud bot
727b6ebd0d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-04 02:23:55 +00:00
Nextcloud bot
0224784a19
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-03 02:22:56 +00:00
Nextcloud bot
763196e6e6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-02 02:25:16 +00:00
Tobias Kaminsky
10b5b38c7e
Merge pull request #33059 from nextcloud/backport/33050/stable23
[stable23] Check whether entry is of type ICacheEntry in Cache->remove()
2022-07-01 10:40:49 +02:00
Nextcloud bot
e8e21adc6f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-01 02:34:54 +00:00
Jonas
7ee01a07fd Check whether entry is of type ICacheEntry in Cache->remove()
In some scenarios (file not in cache, but partial data of it in the
object), Cache->get() might return an array, which leads to errors like
"Call to a member function getId() on array".

So check whether the returned entry is of type ICacheEntry before doing
operations on it in Cache->remove().

Fixes: #33023

Signed-off-by: Jonas <jonas@freesources.org>
2022-06-30 12:24:42 +00:00
Carl Schwan
26a4435f84
Merge pull request #33070 from nextcloud/backport/33065/stable23
[stable23] Fix detection of firefox in ContentSecurityPolicyNonceManager
2022-06-30 10:19:01 +02:00
Nextcloud bot
36aff74f6b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-30 02:24:06 +00:00
Carl Schwan
8ec3c2650f Fix detection of firefox in ContentSecurityPolicyNonceManager
Reuse Request::USER_AGENT_FIREFOX, and also update the safari detection
since safari < 12 is not supported anymore and we can remove a bit of
code duplication

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-30 00:46:56 +00:00
Carl Schwan
02596df9ab
Merge pull request #33010 from nextcloud/dependabot/composer/stable23/guzzlehttp/guzzle-7.4.5
[stable23] Bump guzzlehttp/guzzle (7.3.0 => 7.4.5)
2022-06-29 12:21:02 +02:00
Nextcloud bot
12e96484ab
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-29 02:27:49 +00:00
Côme Chilliet
ec7c8e8cc1 Avoid deprecation warnings about libxml_disable_entity_loader in PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-28 10:09:38 +00:00
Louis
9f3e64d316
Merge pull request #33029 from nextcloud/backport/32998/stable23
[stable23] Rename setting name to reduce its length
2022-06-28 11:41:25 +02:00
Carl Schwan
ee543d0e92 Bump guzzlehttp/guzzle (7.3.0 => 7.4.5)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-28 09:39:52 +00:00
Louis Chemineau
768b41ee45 Rename setting name to reduce its length
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-28 08:40:44 +00:00
Nextcloud bot
1eb680602b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-28 02:28:45 +00:00
Simon L
46642cae4f
Merge pull request #33030 from nextcloud/backport/32968/stable23
[stable23] Do not display the buffer_size info if the size is already set to a c…
2022-06-27 19:01:52 +02:00
szaimen
6d0d38ae58 do not display the buffer_size info if the size is already set to a certain threshold
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: MichaIng <micha@dietpi.com>
2022-06-27 12:20:15 +00:00
Nextcloud bot
3aff3ef595
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-27 02:27:35 +00:00
Nextcloud bot
283e6222b6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-25 02:27:51 +00:00
dependabot[bot]
6b703be642
Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.8/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.7...6.5.8)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 01:10:16 +00:00
Richard Steinmetz
6397113284
Fix email shares not being shown to other users
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-06-24 12:02:34 +02:00
blizzz
2c8e1c32d3
Merge pull request #32991 from nextcloud/backport/32988/stable23
[stable23] Improve local domain detection
2022-06-24 11:28:46 +02:00
Nextcloud bot
5e001f0602
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-24 02:27:29 +00:00
Louis
6644b17527
Merge pull request #32322 from nextcloud/backport/stable22/share_search_tweaks
[stable23] Add share search tweaks
2022-06-23 17:35:14 +02:00
Côme Chilliet
1f94d1b219 Improve local domain detection
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-23 10:57:26 +00:00
Nextcloud bot
a45bb06327
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-23 02:27:56 +00:00