]>
source.dussan.org Git - nextcloud-server.git/log
Louis Chemineau [Wed, 23 Nov 2022 11:43:57 +0000 (12:43 +0100)]
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>
Louis [Wed, 23 Nov 2022 12:17:33 +0000 (13:17 +0100)]
Merge pull request #35321 from nextcloud/backport/stable24/35187
[stable24] Fix mentions rendering in comment editor
Greta [Wed, 23 Nov 2022 09:39:04 +0000 (10:39 +0100)]
Merge pull request #35328 from nextcloud/backport/35009/stable24
[stable24] Check quota on file copy
Nextcloud bot [Wed, 23 Nov 2022 02:18:27 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Côme Chilliet [Tue, 15 Nov 2022 17:11:15 +0000 (18:11 +0100)]
Apply the same fix as on beforeCopy on beforeMove
Let’s be safe
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Robin Appelman [Mon, 14 Nov 2022 13:19:47 +0000 (14:19 +0100)]
fix dirname usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
Côme Chilliet [Tue, 8 Nov 2022 16:13:45 +0000 (17:13 +0100)]
Fix psalm issues
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Mon, 7 Nov 2022 16:25:42 +0000 (17:25 +0100)]
Check quota on file copy
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Tue, 22 Nov 2022 10:21:38 +0000 (11:21 +0100)]
Merge pull request #35297 from nextcloud/fix/bump-swiftmailer/swiftmailer-to-6.3.0-in-stable24
Bump swiftmailer/swiftmailer to 6.3.0 in stable24
Louis Chemineau [Tue, 15 Nov 2022 17:30:17 +0000 (18:30 +0100)]
Fix mentions rendering in comment editor
NcRichContentEditable needs an index of users to properly display them. This commit adds a caching logic and provides it to NcRichContentEditable.
Signed-off-by: Louis Chemineau <louis@chmn.me>
Simon L [Tue, 22 Nov 2022 09:46:41 +0000 (10:46 +0100)]
Merge pull request #35313 from nextcloud/stable24-user-mgmt-quota-no-cache
[stable24] Don't use quota cache through user management
Côme Chilliet [Tue, 22 Nov 2022 09:09:45 +0000 (10:09 +0100)]
Merge pull request #35162 from nextcloud/backport/35157/stable24
[stable24] Make sure to not pass null to DateTime::createFromFormat
Côme Chilliet [Tue, 22 Nov 2022 07:50:50 +0000 (08:50 +0100)]
Align 3rdparty with stable24
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Nextcloud bot [Tue, 22 Nov 2022 02:19:35 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Vincent Petry [Mon, 21 Nov 2022 15:21:25 +0000 (16:21 +0100)]
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>
Simon L [Mon, 21 Nov 2022 17:39:49 +0000 (18:39 +0100)]
Merge pull request #35250 from nextcloud/bugfix/noid/quota-zero
[stable24] Properly compare quota against both float/int values
blizzz [Mon, 21 Nov 2022 14:50:03 +0000 (15:50 +0100)]
Merge pull request #34966 from nextcloud/backport/34963/stable24
[stable24] Fix invalid date in security.txt
Côme Chilliet [Mon, 21 Nov 2022 10:03:05 +0000 (11:03 +0100)]
Bump swiftmailer/swiftmailer to 6.3.0 in stable24
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Mon, 21 Nov 2022 08:33:17 +0000 (09:33 +0100)]
Merge pull request #35141 from nextcloud/backport/34160/stable24
[stable24] Detect weird local ips
Vincent Petry [Mon, 21 Nov 2022 08:32:48 +0000 (09:32 +0100)]
Merge pull request #35292 from nextcloud/backport/35185/stable24
[stable24] Hide warning about missing apps for when shipped in the next version
Joas Schilling [Tue, 15 Nov 2022 16:40:26 +0000 (17:40 +0100)]
Hide warning about missing apps for when shipped in the next version
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Mon, 21 Nov 2022 02:15:45 +0000 (02:15 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sun, 20 Nov 2022 02:16:05 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Joas Schilling [Sat, 19 Nov 2022 19:44:09 +0000 (20:44 +0100)]
Merge pull request #35245 from nextcloud/backport/32288/stable24
[stable24] Fix JSON error when comment has no reactions
Nextcloud bot [Sat, 19 Nov 2022 02:17:53 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Simon L [Fri, 18 Nov 2022 20:16:41 +0000 (21:16 +0100)]
Merge pull request #35266 from nextcloud/backport/35259/stable24
[stable24] Also cancel XHR when cancelling uploads
Vincent Petry [Fri, 18 Nov 2022 14:47:19 +0000 (15:47 +0100)]
Also cancel XHR when cancelling uploads
Fixes issue when cancelling a long list of uploads.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Simon L [Fri, 18 Nov 2022 16:42:49 +0000 (17:42 +0100)]
Merge pull request #35258 from nextcloud/backport/35218/stable24
[stable24] delay updating setup providers untill we register the mounts
Robin Appelman [Wed, 16 Nov 2022 16:47:52 +0000 (17:47 +0100)]
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>
Julius Härtl [Fri, 18 Nov 2022 13:12:43 +0000 (14:12 +0100)]
Properly compare quota against both float/int values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Joas Schilling [Fri, 6 May 2022 08:35:17 +0000 (10:35 +0200)]
Fix JSON error when comment has no reactions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Fri, 18 Nov 2022 02:13:44 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Côme Chilliet [Thu, 17 Nov 2022 15:53:57 +0000 (16:53 +0100)]
Update 3rdparty to latests stable24
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Joas Schilling [Thu, 17 Nov 2022 11:06:03 +0000 (12:06 +0100)]
Merge pull request #35200 from nextcloud/backport/35096/stable24
[stable24] Mark more config values as sensitive
Nextcloud bot [Thu, 17 Nov 2022 02:14:43 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Simon L [Wed, 16 Nov 2022 22:36:36 +0000 (23:36 +0100)]
Merge pull request #35215 from nextcloud/backport/35210/stable24
[stable24] Fix settings for setting default expiration date
Vincent Petry [Wed, 16 Nov 2022 12:02:31 +0000 (13:02 +0100)]
Fix settings for setting default expiration date
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Joas Schilling [Fri, 11 Nov 2022 08:02:28 +0000 (09:02 +0100)]
Mark more config values as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Wed, 16 Nov 2022 02:14:57 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Simon L [Tue, 15 Nov 2022 12:25:20 +0000 (13:25 +0100)]
Merge pull request #35114 from nextcloud/backport/33631/stable24
[stable24] use the updated mariadb10.6 container in drone
Richard Steinmetz [Tue, 15 Nov 2022 09:58:32 +0000 (10:58 +0100)]
Merge pull request #35115 from nextcloud/backport/35105/stable24
[stable24] Fix distorted previews when using imaginary
Nextcloud bot [Tue, 15 Nov 2022 02:15:46 +0000 (02:15 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Côme Chilliet [Mon, 14 Nov 2022 15:23:50 +0000 (16:23 +0100)]
Make sure to not pass null to DateTime::createFromFormat
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Joas Schilling [Mon, 14 Nov 2022 11:49:52 +0000 (12:49 +0100)]
Merge pull request #35140 from nextcloud/revert-35113-backport/35015/stable24
Revert "[stable24] Appropriate length check in Notification.php"
Simon L [Mon, 14 Nov 2022 10:51:45 +0000 (11:51 +0100)]
Merge pull request #35134 from nextcloud/backport/35093/stable24
[stable24] Run integration tests on 3rdparty bump
Côme Chilliet [Mon, 14 Nov 2022 10:15:39 +0000 (11:15 +0100)]
Add mlocati/ip-lib dependency
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Thu, 22 Sep 2022 08:16:35 +0000 (10:16 +0200)]
Fix idn_to_utf8 stub signature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Joas Schilling [Mon, 14 Nov 2022 10:14:57 +0000 (11:14 +0100)]
Revert "[stable24] Appropriate length check in Notification.php"
Côme Chilliet [Tue, 20 Sep 2022 10:46:22 +0000 (12:46 +0200)]
Fix tests for nested v4 in v6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Tue, 20 Sep 2022 10:34:04 +0000 (12:34 +0200)]
Use new dependency to normalize IPs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Tue, 20 Sep 2022 10:20:35 +0000 (12:20 +0200)]
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>
Côme Chilliet [Tue, 20 Sep 2022 10:14:33 +0000 (12:14 +0200)]
Harden tests for local IP detection in URLs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Simon L [Mon, 14 Nov 2022 09:42:05 +0000 (10:42 +0100)]
Merge pull request #35131 from nextcloud/backport/35070/stable24
[stable24] [LDAP] always create instance of own user manager
Joas Schilling [Fri, 11 Nov 2022 06:54:26 +0000 (07:54 +0100)]
Run integration tests on 3rdparty bump
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Nextcloud bot [Mon, 14 Nov 2022 02:15:45 +0000 (02:15 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Arthur Schiwon [Thu, 10 Nov 2022 09:32:01 +0000 (10:32 +0100)]
[LDAP] always create instance of own user manager
- it is config specific and cannot be shared
- because the Access instance is bound later, it is not obvious from the
constructor
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Simon L [Sun, 13 Nov 2022 17:26:07 +0000 (18:26 +0100)]
Merge pull request #35113 from nextcloud/backport/35015/stable24
[stable24] Appropriate length check in Notification.php
Nextcloud bot [Sun, 13 Nov 2022 02:14:45 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 12 Nov 2022 02:15:08 +0000 (02:15 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Richard Steinmetz [Fri, 11 Nov 2022 13:21:05 +0000 (14:21 +0100)]
Fix distorted previews when using imaginary
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Simon L [Fri, 11 Nov 2022 20:43:48 +0000 (21:43 +0100)]
use the updated mariadb10.6 container in drone
Signed-off-by: Simon L <szaimen@e.mail.de>
natoponen [Tue, 8 Nov 2022 07:45:58 +0000 (10:45 +0300)]
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>
Joas Schilling [Fri, 11 Nov 2022 14:52:45 +0000 (15:52 +0100)]
Merge pull request #35088 from nextcloud/backport/35074/stable24
[stable24] Make sure that path is normalized and then checked,
Joas Schilling [Fri, 11 Nov 2022 14:51:54 +0000 (15:51 +0100)]
Merge pull request #35101 from nextcloud/backport/35077/stable24
[stable24] Fix PublicKeyTokenProviderTest import and mock
Christoph Wurst [Thu, 10 Nov 2022 14:36:24 +0000 (15:36 +0100)]
Fix PublicKeyTokenProviderTest import and mock
* IDBConnection import missing
* Atomic doesn't need a mock
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Nextcloud bot [Fri, 11 Nov 2022 02:14:17 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Julius Härtl [Thu, 10 Nov 2022 20:31:00 +0000 (21:31 +0100)]
Merge pull request #35049 from nextcloud/backport/34834/stable24
[stable24] Fix size calculation on copying the skeleton files
Côme Chilliet [Thu, 10 Nov 2022 14:03:15 +0000 (15:03 +0100)]
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>
Pytal [Thu, 10 Nov 2022 17:13:19 +0000 (09:13 -0800)]
Merge pull request #35065 from nextcloud/backport/35063/stable24
[stable24] Fix top margin in empty versions list
Robin Appelman [Thu, 10 Nov 2022 16:17:23 +0000 (17:17 +0100)]
Merge pull request #35039 from nextcloud/backport/32211/stable24
[stable24] Add repair command to fix wrong share ownership
Richard Steinmetz [Wed, 9 Nov 2022 21:49:25 +0000 (22:49 +0100)]
Fix top margin in empty versions list
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Christoph Wurst [Thu, 10 Nov 2022 07:32:30 +0000 (08:32 +0100)]
Merge pull request #35059 from nextcloud/backport/35042/stable24
[stable24] Add description for calendar uri
Nextcloud bot [Thu, 10 Nov 2022 02:15:42 +0000 (02:15 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Pytal [Thu, 10 Nov 2022 00:08:09 +0000 (16:08 -0800)]
Merge pull request #35061 from nextcloud/backport/35052/stable24
Daniel Calviño Sánchez [Mon, 7 Nov 2022 23:53:12 +0000 (00:53 +0100)]
Fix sidebar not automatically hidden in Files app
Although the Files app creates the legacy sidebar (details view) it is
then replaced with the newer Vue app sidebar. Due to this ".detailsView"
no longer finds an element and therefore nothing was hidden when
"hideAppSidebar($('.detailsView'))" was called (for example, when
changing to another section).
However, "OC.Apps.hideAppSidebar()" does not properly work either with
the Vue sidebar used in the Files app (once hidden the sidebar is not
shown again). For simplicity, and to avoid any possible side effect in
other apps from changing "OC.Apps.hideAppSidebar", now
"OC.Files.Sidebar.close()" is used instead.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Christopher Ng [Wed, 9 Nov 2022 00:34:20 +0000 (00:34 +0000)]
Add description for calendar uri
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Julius Härtl [Fri, 14 Oct 2022 21:44:29 +0000 (23:44 +0200)]
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>
Nextcloud bot [Wed, 9 Nov 2022 02:14:46 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Robin Appelman [Tue, 8 Nov 2022 16:14:22 +0000 (17:14 +0100)]
update autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Tue, 18 Oct 2022 13:42:25 +0000 (15:42 +0200)]
fix repairing non user shares when repairing all shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Tue, 18 Oct 2022 12:31:04 +0000 (14:31 +0200)]
remove no longer needed code
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Tue, 11 Oct 2022 13:36:21 +0000 (15:36 +0200)]
split repairing into two stages to prevent long open transaction
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 30 Sep 2022 13:34:55 +0000 (15:34 +0200)]
update shares directly in db
Signed-off-by: Robin Appelman <robin@icewind.nl>
Vincent Petry [Thu, 29 Sep 2022 19:23:45 +0000 (21:23 +0200)]
More verbose output for repair share ownership cmd
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Robin Appelman [Thu, 29 Sep 2022 11:40:04 +0000 (13:40 +0200)]
move share owner repair to occ command
Signed-off-by: Robin Appelman <robin@icewind.nl>
Louis Chemineau [Thu, 28 Apr 2022 13:23:54 +0000 (15:23 +0200)]
Add repair step to fix wrong share ownership
Signed-off-by: Louis Chemineau <louis@chmn.me>
Simon L [Tue, 8 Nov 2022 12:04:38 +0000 (13:04 +0100)]
Merge pull request #35022 from nextcloud/backport/32838/stable24
[stable24] Cast to int
Richard Steinmetz [Tue, 8 Nov 2022 10:05:12 +0000 (11:05 +0100)]
Merge pull request #35019 from nextcloud/backport/34909/stable24
[stable24] Fix duplicate event email notifications
Markus Zeller [Sun, 12 Jun 2022 13:01:22 +0000 (15:01 +0200)]
Cast to int #32837
Signed-off-by: Markus Zeller <git@markuszeller.com>
Simon L [Tue, 8 Nov 2022 09:50:57 +0000 (10:50 +0100)]
Merge pull request #35012 from nextcloud/backport/35007/stable24
[stable24] Fix unsuccessful token login logged as error
Richard Steinmetz [Tue, 1 Nov 2022 14:49:54 +0000 (15:49 +0100)]
Fix duplicate event email notifications
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Nextcloud bot [Tue, 8 Nov 2022 02:14:32 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Christoph Wurst [Mon, 7 Nov 2022 14:08:48 +0000 (15:08 +0100)]
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>
Simon L [Mon, 7 Nov 2022 16:46:20 +0000 (17:46 +0100)]
Merge pull request #35005 from nextcloud/backport/34937/stable24
[stable24] Avoid a crash when a PHP extension has no version
Côme Chilliet [Mon, 7 Nov 2022 09:01:53 +0000 (10:01 +0100)]
Suppress false-positives from psalm, waiting for fix upstream
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Thu, 3 Nov 2022 10:53:51 +0000 (11:53 +0100)]
Avoid a crash when a PHP extension has no version
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Nextcloud bot [Mon, 7 Nov 2022 02:14:25 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sun, 6 Nov 2022 02:12:55 +0000 (02:12 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 5 Nov 2022 02:15:23 +0000 (02:15 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Vincent Petry [Fri, 4 Nov 2022 16:44:56 +0000 (17:44 +0100)]
Merge pull request #33888 from nextcloud/dependabot/composer/build/integration/stable24/guzzlehttp/guzzle-7.5.0
Update guzzlehttp/guzzle requirement from 7.4.5 to 7.5.0 in /build/integration