]>
source.dussan.org Git - nextcloud-server.git/log
Morris Jobke [Thu, 1 Apr 2021 16:17:08 +0000 (18:17 +0200)]
Merge pull request #26405 from nextcloud/backport/26403/stable20
[stable20] remove leftover debug @NoCSRFRequired introduced with #26198
Robin Appelman [Thu, 1 Apr 2021 11:51:53 +0000 (13:51 +0200)]
remove leftover debug @NoCSRFRequired introduced with #26198
Signed-off-by: Robin Appelman <robin@icewind.nl>
Nextcloud bot [Thu, 1 Apr 2021 02:24:59 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
kesselb [Wed, 31 Mar 2021 08:08:34 +0000 (10:08 +0200)]
Merge pull request #26378 from nextcloud/backport/25500/stable20
[stable20] fix(translation): replace static error message
Christoph Wurst [Wed, 31 Mar 2021 05:43:11 +0000 (07:43 +0200)]
Merge pull request #26381 from nextcloud/backport/26372/stable20
[stable20] gracefully handle deleteFromSelf when share is already gone
Nextcloud bot [Wed, 31 Mar 2021 02:25:11 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Arthur Schiwon [Tue, 30 Mar 2021 10:59:40 +0000 (12:59 +0200)]
gracefully handle deleteFromSelf when share is already gone
- handling race conditions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Samuel [Fri, 5 Feb 2021 12:27:37 +0000 (13:27 +0100)]
revert(comment)
Signed-off-by: Samuel <faust64@gmail.com>
Samuel [Fri, 5 Feb 2021 11:52:59 +0000 (12:52 +0100)]
revert(exception): keep throwing an exception for now
Signed-off-by: Samuel <faust64@gmail.com>
Samuel [Fri, 5 Feb 2021 11:06:35 +0000 (12:06 +0100)]
fix(translation): replace static error message
as suggested by @kesselb in nextcloud/server#25490
Signed-off-by: Samuel <faust64@gmail.com>
Roeland Jago Douma [Tue, 30 Mar 2021 18:53:11 +0000 (20:53 +0200)]
Merge pull request #26258 from nextcloud/backport/26198/stable20
[stable20] Handle limit offset and sorting in files search
Christoph Wurst [Tue, 30 Mar 2021 09:30:52 +0000 (11:30 +0200)]
Merge pull request #26364 from nextcloud/backport/26325/stable20
[stable20] Update cipher defaults
Nextcloud bot [Tue, 30 Mar 2021 02:24:39 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 29 Mar 2021 19:14:39 +0000 (21:14 +0200)]
Merge pull request #26262 from nextcloud/backport/26046/stable20
[stable20] update icewind/smb to 3.4.0
Roeland Jago Douma [Mon, 29 Mar 2021 19:03:36 +0000 (21:03 +0200)]
Merge pull request #26356 from nextcloud/backport/26342/stable20
[stable20] Fix broken Calendar Event Invite email icons in Gmail by using PNGs instead of SVGs
J0WI [Fri, 26 Mar 2021 18:38:38 +0000 (19:38 +0100)]
Update cipher defaults
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
dependabot-preview[bot] [Mon, 29 Mar 2021 17:29:01 +0000 (17:29 +0000)]
Merge pull request #26360 from nextcloud/dependabot/npm_and_yarn/stable20/y18n-4.0.1
dependabot-preview[bot] [Mon, 29 Mar 2021 16:55:44 +0000 (16:55 +0000)]
[Security] Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Nick Sweeting [Sat, 27 Mar 2021 03:43:42 +0000 (23:43 -0400)]
change calendar invite emails to use pngs instead of svgs
Signed-off-by: Nick Sweeting <git@sweeting.me>
Nextcloud bot [Mon, 29 Mar 2021 02:24:18 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 28 Mar 2021 02:24:24 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 27 Mar 2021 02:24:47 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Fri, 26 Mar 2021 12:51:02 +0000 (13:51 +0100)]
Merge pull request #26290 from nextcloud/backport/21484/stable20
[stable20] show better error messages when a file with a forbidden path is encountered
John Molakvoæ [Fri, 26 Mar 2021 07:57:48 +0000 (08:57 +0100)]
Merge pull request #26305 from nextcloud/backport/22201/stable20
[stable20] Delete old birthday calendar object when moving contact to another ad…
John Molakvoæ [Fri, 26 Mar 2021 07:08:53 +0000 (08:08 +0100)]
Merge pull request #26297 from nextcloud/backport/26287/stable20
[stable20] Fix l10n
Christian Weiske [Tue, 11 Aug 2020 20:13:55 +0000 (22:13 +0200)]
Delete old birthday calendar object when moving contact to another address book
When an contact is moved to another address book, the contact is copied to
the second address book.
During copying, the birthday event is created - but it gets the same UID
as the contact's birthday event in the first address book.
To prevent the "Calendar object with uid already exists" error that followed,
we need to delete the old entry before the new one is created.
Resolves: https://github.com/nextcloud/server/issues/20492
Signed-off-by: Christian Weiske <cweiske@cweiske.de>
Nextcloud bot [Fri, 26 Mar 2021 02:25:53 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Thu, 25 Mar 2021 19:37:06 +0000 (20:37 +0100)]
Merge pull request #26176 from nextcloud/backport/26076/stable20
[stable20] adds ldap user:reset command
Morris Jobke [Thu, 25 Mar 2021 19:33:05 +0000 (20:33 +0100)]
Merge pull request #26302 from nextcloud/backport/26299/stable20
[stable20] Log when a storage is marked as unavailable
Morris Jobke [Thu, 25 Mar 2021 15:14:20 +0000 (16:14 +0100)]
Log when a storage is marked as unavailable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Valdnet [Thu, 25 Mar 2021 09:26:50 +0000 (10:26 +0100)]
Fix l10n
Issue: #26286
Arthur Schiwon [Thu, 11 Mar 2021 22:23:55 +0000 (23:23 +0100)]
adds ldap user:reset command
- allows to delete data of existing LDAP users, which otherwise is safe
guarded
- ensures that the user is not being deleted on LDAP through a plugin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Robin Appelman [Fri, 19 Jun 2020 12:57:58 +0000 (14:57 +0200)]
show better error messages when a file with a forbidden path is encountered
Signed-off-by: Robin Appelman <robin@icewind.nl>
Nextcloud bot [Thu, 25 Mar 2021 02:25:57 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Wed, 24 Mar 2021 20:45:42 +0000 (21:45 +0100)]
Merge pull request #26275 from nextcloud/backport/26265/stable20
[stable20] Fix casing of core test folder, bring back missing tests
Vincent Petry [Wed, 24 Mar 2021 16:17:16 +0000 (17:17 +0100)]
Revert "Fix core tests command for app enabling/disabling"
This reverts commit
acfffcc6857145c98b152dada542ae8dca57947c .
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Morris Jobke [Wed, 24 Mar 2021 16:13:56 +0000 (17:13 +0100)]
Merge pull request #26278 from nextcloud/backport/26255/stable20
[stable20] l10n: Separate ellipsis
Robin Appelman [Wed, 24 Mar 2021 15:32:38 +0000 (16:32 +0100)]
fix type hints
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 13:47:30 +0000 (14:47 +0100)]
use node search api for legacy file search endpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 13:29:08 +0000 (14:29 +0100)]
pass order from unified search to file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 13:26:44 +0000 (14:26 +0100)]
handle ordering in folder search
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 12:41:00 +0000 (13:41 +0100)]
folder filtering in sql
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 12:35:37 +0000 (13:35 +0100)]
cleanup fileinfo creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 16:44:30 +0000 (17:44 +0100)]
format
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 16:38:31 +0000 (17:38 +0100)]
handle limit and offset in folder file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 16:16:28 +0000 (17:16 +0100)]
only require user to be set in a query that handles tags
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 15:35:41 +0000 (16:35 +0100)]
unify handling of Folder::search methods into "new" query objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 15:22:29 +0000 (16:22 +0100)]
use "newer" node search api directly in unified search
Signed-off-by: Robin Appelman <robin@icewind.nl>
Vincent Petry [Wed, 24 Mar 2021 14:24:30 +0000 (15:24 +0100)]
Revert autocomplete controller tests to match stable20
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 14:22:35 +0000 (15:22 +0100)]
Revert controller tests to match stable21 API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Valdnet [Tue, 23 Mar 2021 08:12:52 +0000 (09:12 +0100)]
l10n: Separate ellipsis
Unifying the text string with the others.
Morris Jobke [Wed, 24 Mar 2021 13:18:19 +0000 (14:18 +0100)]
Merge pull request #26250 from nextcloud/backport/25529/stable20
[stable20] Fix non LGC glyphs in avatars and txt file previews
Morris Jobke [Wed, 24 Mar 2021 13:09:05 +0000 (14:09 +0100)]
Merge pull request #26272 from nextcloud/backport/26270/stable20
[stable20] Catch invalid cache source storage path
Vincent Petry [Wed, 24 Mar 2021 09:26:06 +0000 (10:26 +0100)]
Fix language codes test result order
Fixes issue with Oracle by enforcing the order of the results to check.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 08:07:54 +0000 (09:07 +0100)]
Bring back forgotten tests
Remove "ocs-provider" test folder reference as it doesn't exist any
more.
Added back "Test" test subdir and fixed the tests inside.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 08:02:19 +0000 (09:02 +0100)]
Fix more controller tests in Core subdir
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 07:48:28 +0000 (08:48 +0100)]
Fix more tests in the Core subdir
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 19:40:28 +0000 (20:40 +0100)]
Fix core tests command for app enabling/disabling
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 17:12:46 +0000 (18:12 +0100)]
Fix casing of core test folder
It seems Phpunit < 9 was case insensitive.
Fixed the phpunit config to target the correct name for the "Core" test
directory.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
John Molakvoæ (skjnldsv) [Wed, 24 Mar 2021 09:36:51 +0000 (10:36 +0100)]
Catch invalid cache source storage path
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Nextcloud bot [Wed, 24 Mar 2021 02:25:25 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Robin Appelman [Wed, 10 Mar 2021 14:31:09 +0000 (15:31 +0100)]
update icewind/smb to 3.4.0
Signed-off-by: Robin Appelman <robin@icewind.nl>
Nextcloud bot [Tue, 23 Mar 2021 02:24:24 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Daniel Calviño Sánchez [Sun, 7 Feb 2021 21:48:58 +0000 (22:48 +0100)]
Add OCC command to reset rendered texts
The command is meant to be used when the fonts used to render texts
("core/fonts/NotoSans-Regular.ttf" and "core/fonts/NotoSans-Bold.ttf")
are changed (for example, to add support for other scripts). The avatar
and text file previews will be removed, so they will be generated again
with the updated font when needed.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 5 Feb 2021 03:34:15 +0000 (04:34 +0100)]
Include additional scripts in Noto fonts
Generated avatars as well as text file previews are rendered using the
"core/fonts/NotoSans-Regular.ttf" font. The file was the standard hinted
"NotoSans-Regular.ttf" file from https://www.google.com/get/noto/.
However that file does not cover some non LGC (Latin, Greek, Cyrillic)
scripts, like Arabic, Devanagari or Hebrew, to name a few.
Markdown file previews also use "core/fonts/NotoSans-Bold.ttf", which is
in the same situation as the regular one.
Due to limitations in the TTF format it is not possible to provide a
single file for each style that includes all Noto fonts. However, it is
possible to add more scripts to the standard "NotoSans-Regular.ttf" and
"NotoSans-Bold.ttf" files (although no CJK (Chinese, Japanese, Korean)
glyph can be included due to the aforementioned limitations).
This commit replaces the standard files with an extended version created
using the Noto Tools. The build script (as well as a patch for the Noto
Tools) is also included for reference and to be able to update the font
files in the future if needed.
Due to the additional scripts added the font files are now much larger,
although this does not seem to increase the time spent rendering LGC
scripts.
Note that the file for the bold style still contains less scripts than
the regular one, as not all scripts supported by Noto have a bold
weight.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
John Molakvoæ [Mon, 22 Mar 2021 12:55:29 +0000 (13:55 +0100)]
Merge pull request #26239 from nextcloud/backport/26231/stable20
Valdnet [Mon, 22 Mar 2021 08:01:45 +0000 (09:01 +0100)]
l10n: Add changes to text string for user
Valdnet [Sat, 20 Mar 2021 14:37:32 +0000 (15:37 +0100)]
l10n: Add word user in ShareByMailProvider.php
Standardizing text strings with other Nextcloud applications.
Nextcloud bot [Mon, 22 Mar 2021 02:24:06 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 21 Mar 2021 02:23:27 +0000 (02:23 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Sat, 20 Mar 2021 09:53:48 +0000 (10:53 +0100)]
Merge pull request #26217 from nextcloud/backport/26145/stable20
[stable20] add (hidden) option to always show smb root as writable
Nextcloud bot [Sat, 20 Mar 2021 02:24:00 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Fri, 19 Mar 2021 19:04:07 +0000 (20:04 +0100)]
Merge pull request #26209 from nextcloud/backport/23718/stable20
[stable20] expand 'path is already shared' error message
Robin Appelman [Tue, 27 Oct 2020 13:29:28 +0000 (14:29 +0100)]
expand 'path is already shared' error message
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Tue, 16 Mar 2021 14:34:41 +0000 (15:34 +0100)]
add (hidden) option to always show smb root as writable
some smb servers are very insistent in reporting that the root of the share is readonly, even if it isn't.
This works around the problem by adding a hidden option to overwrite the permissions of the root of the share.
This can be enabled using
```bash
occ files_external:config <mount id> root_force_writable true
```
where you can find your mount id using
```bash
occ files_external:list
```
Signed-off-by: Robin Appelman <robin@icewind.nl>
Morris Jobke [Fri, 19 Mar 2021 14:19:30 +0000 (15:19 +0100)]
Merge pull request #26205 from nextcloud/backport/26200/stable20
[stable20] Update user share must use correct expiration validation
Vincent Petry [Thu, 18 Mar 2021 16:12:28 +0000 (17:12 +0100)]
Update user share must use correct expiration validation
Updating a user or group share now uses the correct method for the
validation of the expiration date. Instead of using the one from links
it uses the one for internal shares.
To avoid future confusion, the method "validateExpirationDate" has been
renamed to "validateExpirationDateLink".
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Morris Jobke [Fri, 19 Mar 2021 08:19:14 +0000 (09:19 +0100)]
Merge pull request #26125 from nextcloud/backport/25533/stable20
[stable20] send share notification instead of erroring on duplicate share
Nextcloud bot [Fri, 19 Mar 2021 02:25:14 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Thu, 18 Mar 2021 19:50:01 +0000 (20:50 +0100)]
Merge pull request #26063 from nextcloud/backport/25915/stable20
[stable20] Add appconfig to always show the unique label of a sharee
Roeland Jago Douma [Thu, 18 Mar 2021 15:20:37 +0000 (16:20 +0100)]
Merge pull request #26123 from nextcloud/backport/26004/stable20
[stable20] Allow overwriting isAuthenticated
Julius Härtl [Wed, 3 Mar 2021 12:20:58 +0000 (13:20 +0100)]
Add appconfig to always show the unique label of a sharee
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Morris Jobke [Thu, 18 Mar 2021 12:09:22 +0000 (13:09 +0100)]
Merge pull request #26190 from nextcloud/backport/25331/stable20
[stable20] Fix valid storages removed when cleaning remote storages
Vincent Petry [Thu, 18 Mar 2021 10:22:53 +0000 (11:22 +0100)]
Merge pull request #26088 from nextcloud/backport/26049/stable20
[stable20] limit constructing of result objects in file search
Daniel Calviño Sánchez [Tue, 26 Jan 2021 09:26:10 +0000 (10:26 +0100)]
Fix valid storages removed when cleaning remote storages
The remote URL of a share is always stored in the database with a
trailing slash. However, when a cloud ID is generated trailing slashes
are removed.
The ID of a remote storage is generated from the cloud ID, but the
"cleanup-remote-storage" command directly used the remote URL stored in
the database. Due to this, even if the remote storage was valid, its ID
did not match the ID of the remote share generated by the command and
ended being removed.
Now the command generates the ID of remote shares using the cloud ID
instead, just like done by the remote storage, so there is no longer a
mismatch.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 22 Jan 2021 11:40:59 +0000 (12:40 +0100)]
Add integration tests for "sharing:cleanup-remote-storages" OCC command
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Robin Appelman [Thu, 11 Mar 2021 16:10:24 +0000 (17:10 +0100)]
implement PagedProvider for file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Wed, 10 Mar 2021 17:46:18 +0000 (18:46 +0100)]
limit constructing of result objects in file search
even thought we currently have no proper way of limiting the search itself, we can at least limit the construction of the result objects.
this saves about 40% of the time spend in the search request in my local testing
Signed-off-by: Robin Appelman <robin@icewind.nl>
Nextcloud bot [Thu, 18 Mar 2021 02:25:22 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Wed, 17 Mar 2021 19:14:05 +0000 (20:14 +0100)]
Merge pull request #26052 from nextcloud/backport/26048/stable20
[stable20] cache baseurl in url generator
Morris Jobke [Wed, 17 Mar 2021 19:13:57 +0000 (20:13 +0100)]
Merge pull request #25944 from nextcloud/backport/25659/stable20
[stable20] catch notfound and forbidden exception in smb::getmetadata
Morris Jobke [Wed, 17 Mar 2021 19:09:56 +0000 (20:09 +0100)]
Merge pull request #26091 from nextcloud/backport/25722/stable20
[stable20] apply object store copy optimization when 'cross storage' copy is wit…
Morris Jobke [Wed, 17 Mar 2021 19:06:56 +0000 (20:06 +0100)]
Merge pull request #26152 from nextcloud/backport/26137/stable20
[stable20] dont allow creating users with __groupfolders as uid
Morris Jobke [Wed, 17 Mar 2021 19:06:15 +0000 (20:06 +0100)]
Merge pull request #26181 from nextcloud/backport/26003/stable20
[stable20] Add getID function to the simplefile implementation
Morris Jobke [Wed, 17 Mar 2021 19:04:11 +0000 (20:04 +0100)]
Merge pull request #26147 from nextcloud/backport/26013/stable20
[stable20] Return the fileid from `copyFromCache` and use it instead of doing an extra query
Roeland Jago Douma [Mon, 8 Mar 2021 13:59:36 +0000 (14:59 +0100)]
Add getID function to the simplefile implementation
Sometimes it is useful to get the actual fileid
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Morris Jobke [Wed, 17 Mar 2021 13:17:20 +0000 (14:17 +0100)]
Merge pull request #25876 from nextcloud/psalm/stable20/update
[stable20] Update psalm baseline
Morris Jobke [Wed, 17 Mar 2021 12:50:13 +0000 (13:50 +0100)]
Merge pull request #26163 from nextcloud/backport/26153/stable20
[stable20] Use correct exception type hint in catch statement
Morris Jobke [Wed, 17 Mar 2021 12:46:48 +0000 (13:46 +0100)]
Merge pull request #26168 from nextcloud/backport/26072/stable20
[stable20] remove explicit fclose from S3->writeStream
Vincent Petry [Wed, 17 Mar 2021 11:01:19 +0000 (12:01 +0100)]
Update and fix baseline
Backported some bits of stable21 to make Psalm happy.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>