]>
source.dussan.org Git - nextcloud-server.git/log
Roeland Jago Douma [Thu, 8 Apr 2021 12:39:20 +0000 (14:39 +0200)]
Merge pull request #26453 from nextcloud/version/21.0.1/final
21.0.1 final
Joas Schilling [Thu, 8 Apr 2021 11:51:57 +0000 (13:51 +0200)]
Merge pull request #26459 from nextcloud/backport/26458/stable21
[stable21] Show icon-phone when setting is set to private instead of local
Roeland Jago Douma [Thu, 8 Apr 2021 11:13:04 +0000 (13:13 +0200)]
Merge pull request #26447 from nextcloud/3rdparty/stable21/phpseclib-2.0.31
[3rdparty][stable21] phpseclib-2.0.31
Joas Schilling [Thu, 8 Apr 2021 09:17:52 +0000 (11:17 +0200)]
Show icon-phone when setting is set to private instead of local
Signed-off-by: Joas Schilling <coding@schilljs.com>
Roeland Jago Douma [Thu, 8 Apr 2021 07:39:54 +0000 (09:39 +0200)]
[3rdparty][stable21] phpseclib-2.0.31
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Thu, 8 Apr 2021 09:27:37 +0000 (11:27 +0200)]
Merge pull request #26451 from nextcloud/revert-26326-backport/26070/stable21
Revert "[stable21] add a prefix index to filecache.path"
Roeland Jago Douma [Thu, 8 Apr 2021 08:18:43 +0000 (10:18 +0200)]
21.0.1 final
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Thu, 8 Apr 2021 08:08:34 +0000 (10:08 +0200)]
Revert "[stable21] add a prefix index to filecache.path"
Nextcloud bot [Thu, 8 Apr 2021 02:24:15 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 7 Apr 2021 02:24:26 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Lukas Reschke [Tue, 6 Apr 2021 11:43:34 +0000 (13:43 +0200)]
Merge pull request #26400 from nextcloud/backport/26061/stable21
[stable21] Log and continue when failing to update encryption keys during for individual files
Nextcloud bot [Tue, 6 Apr 2021 02:25:42 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Mon, 5 Apr 2021 02:24:56 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 4 Apr 2021 02:24:59 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 3 Apr 2021 02:43:46 +0000 (02:43 +0000)]
[tx-robot] updated from transifex
dependabot-preview[bot] [Sat, 3 Apr 2021 02:07:01 +0000 (02:07 +0000)]
Merge pull request #26413 from nextcloud/dependabot/npm_and_yarn/stable21/y18n-4.0.1
dependabot-preview[bot] [Sat, 3 Apr 2021 01:17:29 +0000 (01:17 +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>
John Molakvoæ [Fri, 2 Apr 2021 14:59:51 +0000 (16:59 +0200)]
Merge pull request #26406 from nextcloud/backport/26396/stable21
Nextcloud bot [Fri, 2 Apr 2021 02:26:17 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 1 Apr 2021 18:23:43 +0000 (20:23 +0200)]
Merge pull request #26313 from nextcloud/version/21.0.1/RC1
21.0.1 RC1
blizzz [Thu, 1 Apr 2021 16:41:11 +0000 (18:41 +0200)]
Merge pull request #26402 from nextcloud/ldap-factory-no-ldap-21
[21] make ILDAPProviderFactory usable when there is no ldap setup
Morris Jobke [Thu, 1 Apr 2021 16:17:01 +0000 (18:17 +0200)]
Merge pull request #26404 from nextcloud/backport/26403/stable21
[stable21] remove leftover debug @NoCSRFRequired introduced with #26198
Julius Härtl [Wed, 31 Mar 2021 14:21:40 +0000 (16:21 +0200)]
Properly handle creating the template directory in a subfolder (fixes #25787)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Wed, 31 Mar 2021 13:44:47 +0000 (15:44 +0200)]
Get the parent directory before creating a file from a template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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>
Robin Appelman [Mon, 25 Jan 2021 20:06:07 +0000 (21:06 +0100)]
make ILDAPProviderFactory usable when there is no ldap setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
Joas Schilling [Thu, 1 Apr 2021 09:09:00 +0000 (11:09 +0200)]
Merge pull request #26398 from nextcloud/backport/26394/stable21
[stable21] Allow apps to write/update account data
Vincent Petry [Mon, 15 Mar 2021 17:05:27 +0000 (18:05 +0100)]
Fix phpcs issues in encryption update
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Julius Härtl [Thu, 11 Mar 2021 10:32:29 +0000 (11:32 +0100)]
Log and continue when failing to update encryption keys during for individual files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Morris Jobke [Thu, 1 Apr 2021 07:32:57 +0000 (09:32 +0200)]
Merge pull request #26391 from nextcloud/backport/26386/stable21
[stable21] Also check the default phone region when the number has no country code
Joas Schilling [Wed, 31 Mar 2021 13:18:25 +0000 (15:18 +0200)]
Allow apps to write/update account data
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Thu, 1 Apr 2021 02:24:51 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Joas Schilling [Wed, 31 Mar 2021 06:45:32 +0000 (08:45 +0200)]
Also check the default phone region when the number has no country code
Signed-off-by: Joas Schilling <coding@schilljs.com>
kesselb [Wed, 31 Mar 2021 08:07:58 +0000 (10:07 +0200)]
Merge pull request #26377 from nextcloud/backport/25500/stable21
[stable21] fix(translation): replace static error message
Julius Härtl [Wed, 31 Mar 2021 07:44:47 +0000 (09:44 +0200)]
Merge pull request #26376 from nextcloud/backport/25804/stable21
[stable21] Do not attempt to read 0 bytes when manually iterating over a non-seekable file
Christoph Wurst [Wed, 31 Mar 2021 05:43:32 +0000 (07:43 +0200)]
Merge pull request #26379 from nextcloud/backport/25924/stable21
[stable21] Only mark migrations as installed after execution
Christoph Wurst [Wed, 31 Mar 2021 05:43:01 +0000 (07:43 +0200)]
Merge pull request #26382 from nextcloud/backport/26372/stable21
[stable21] gracefully handle deleteFromSelf when share is already gone
Nextcloud bot [Wed, 31 Mar 2021 02:25:01 +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>
Joas Schilling [Thu, 4 Mar 2021 07:49:42 +0000 (08:49 +0100)]
Only mark migrations as installed after execution
The problem is that if a developer creates a structural error in their migration file,
they will already be marked as executed and an not be rerun.
Signed-off-by: Joas Schilling <coding@schilljs.com>
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>
Julius Härtl [Fri, 26 Feb 2021 10:12:20 +0000 (11:12 +0100)]
Properly end iterating over the file once the target has been reached
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Joas Schilling [Tue, 30 Mar 2021 11:09:34 +0000 (13:09 +0200)]
Merge pull request #26371 from nextcloud/backport/26370/stable21
[stable21] Remove notifications when retesting profile field input
Christoph Wurst [Tue, 30 Mar 2021 09:30:46 +0000 (11:30 +0200)]
Merge pull request #26363 from nextcloud/backport/26325/stable21
[stable21] Update cipher defaults
Joas Schilling [Tue, 30 Mar 2021 08:18:23 +0000 (10:18 +0200)]
Remove notifications when retesting
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Tue, 30 Mar 2021 07:53:48 +0000 (09:53 +0200)]
Merge pull request #26366 from nextcloud/backport/26355/stable21
[stable21] Fix working for phone number integration
Nextcloud bot [Tue, 30 Mar 2021 02:24:32 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 29 Mar 2021 19:13:13 +0000 (21:13 +0200)]
Merge pull request #26326 from nextcloud/backport/26070/stable21
[stable21] add a prefix index to filecache.path
Joas Schilling [Mon, 29 Mar 2021 15:04:32 +0000 (17:04 +0200)]
Fix working for phone number integration
Signed-off-by: Joas Schilling <coding@schilljs.com>
Roeland Jago Douma [Mon, 29 Mar 2021 19:04:11 +0000 (21:04 +0200)]
Merge pull request #26357 from nextcloud/backport/26342/stable21
[stable21] 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>
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>
Joas Schilling [Mon, 29 Mar 2021 09:29:57 +0000 (11:29 +0200)]
Merge pull request #26352 from nextcloud/backport/26243/stable21
[stable21] Avatar privacy and new scope
Vincent Petry [Fri, 26 Mar 2021 15:54:47 +0000 (16:54 +0100)]
Capability for federated scope
Added additional capability in the provisioning API to signal whether
the federation scope values can be used.
This is based on whether the lookup server upload is enabled or not.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 14:57:24 +0000 (15:57 +0100)]
Update autoloader for PlaceholderAvatar
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 14:30:41 +0000 (15:30 +0100)]
Int tests for provisioning API scopes
Added integration tests for the scope attributes in the provisioning
API.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 13:14:14 +0000 (14:14 +0100)]
Add known user check in avatar when v2-private scope
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 12:04:39 +0000 (13:04 +0100)]
Update psalm-baseline for Avatar API quirks
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 13:16:20 +0000 (14:16 +0100)]
Change account property capability
Include version number in capability
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Vincent Petry [Thu, 25 Mar 2021 11:21:03 +0000 (12:21 +0100)]
Added PlaceholderAvatar with own cached images
When avatar scope is private, the PlaceholderAvatar is used to deliver a
placeholder avatar based on the user's initials.
This was implemented as a separate class for now to avoid messing with
the existing UserAvatar implementation and its generated vs
non-generated logic.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 10:16:21 +0000 (11:16 +0100)]
Add capability for editable scopes in provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 16:06:04 +0000 (17:06 +0100)]
Add property scope tests for AccountManager
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 15:17:28 +0000 (16:17 +0100)]
Enhance UsersControllerTest of provisioning API with scopes
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 14:32:51 +0000 (15:32 +0100)]
Expose avatarScope through provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 11:32:06 +0000 (12:32 +0100)]
OCS allow reading and writing account property scopes
Extends the provisioning API to allow a user to get and set their own
account property scopes.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 15:59:05 +0000 (16:59 +0100)]
Make extra user profile fields always editable
The fields for phone number, address, website and twitter are now
editable regardless whether federated sharing and the lookup server
are enabled or not.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 13:47:10 +0000 (14:47 +0100)]
Map old account scope properties to new names
Use new scope values in settings page.
Adjust all consumers to use the new constants.
Map old scope values to new ones in account property getter.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 10:38:25 +0000 (11:38 +0100)]
Adjust scopes menu based on conditions
Now not all fields have the "v2-private" option in place.
Fix dropdown issue when a scope was stored that is not listed after
disabling the lookup server.
Whenever the lookup server upload is disabled, the scope menu is now
displayed where it makes sense to allow switching between the two private
scopes.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Mon, 22 Mar 2021 11:08:53 +0000 (12:08 +0100)]
Add new v2-private account scope
Added new v2-private account manager scope that restricts the scope
further by excluding public link access.
Avatars with v2-private account scope are now showing the guest avatar
instead of the real avatar.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Nextcloud bot [Mon, 29 Mar 2021 02:24:09 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 28 Mar 2021 02:24:15 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 27 Mar 2021 02:24:38 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Robin Appelman [Thu, 11 Mar 2021 15:37:23 +0000 (16:37 +0100)]
add a prefix index to filecache.path
The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields,
which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column,
allowing us to add an index even if the column is to long.
Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places.
Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation.
Signed-off-by: Robin Appelman <robin@icewind.nl>
Roeland Jago Douma [Fri, 26 Mar 2021 09:44:59 +0000 (10:44 +0100)]
Merge pull request #26307 from nextcloud/backport/22201/stable21
[stable21] Delete old birthday calendar object when moving contact to another ad…
Roeland Jago Douma [Fri, 26 Mar 2021 09:44:43 +0000 (10:44 +0100)]
Merge pull request #26291 from nextcloud/backport/21484/stable21
[stable21] show better error messages when a file with a forbidden path is encountered
Roeland Jago Douma [Fri, 26 Mar 2021 09:44:03 +0000 (10:44 +0100)]
Merge pull request #26263 from nextcloud/backport/26046/stable21
[stable21] update icewind/smb to 3.4.0
Roeland Jago Douma [Fri, 26 Mar 2021 09:35:05 +0000 (10:35 +0100)]
21.0.1 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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>
John Molakvoæ [Fri, 26 Mar 2021 07:08:41 +0000 (08:08 +0100)]
Merge pull request #26298 from nextcloud/backport/26287/stable21
[stable21] Fix l10n
Nextcloud bot [Fri, 26 Mar 2021 02:25:43 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Thu, 25 Mar 2021 19:33:35 +0000 (20:33 +0100)]
Merge pull request #26301 from nextcloud/backport/26299/stable21
[stable21] 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
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:48 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Wed, 24 Mar 2021 16:32:36 +0000 (17:32 +0100)]
Merge pull request #26257 from nextcloud/backport/26198/stable21
[stable21] Handle limit offset and sorting in files search
Morris Jobke [Wed, 24 Mar 2021 16:14:19 +0000 (17:14 +0100)]
Merge pull request #26279 from nextcloud/backport/26255/stable21
[stable21] l10n: Separate ellipsis
Morris Jobke [Wed, 24 Mar 2021 16:13:44 +0000 (17:13 +0100)]
Merge pull request #26276 from nextcloud/backport/26265/stable21
[stable21] Fix casing of core test folder, bring back missing tests
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:20:25 +0000 (14:20 +0100)]
Merge pull request #26249 from nextcloud/backport/25529/stable21
[stable21] Fix non LGC glyphs in avatars and txt file previews
Morris Jobke [Wed, 24 Mar 2021 13:09:03 +0000 (14:09 +0100)]
Merge pull request #26271 from nextcloud/backport/26270/stable21
[stable21] 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>