Commit Graph

24257 Commits

Author SHA1 Message Date
Roeland Jago Douma 4082318616
Merge pull request #26760 from nextcloud/backport/26259/stable21
[stable21] Validate the website field input to be a valid URL
2021-04-26 20:42:06 +02:00
Roeland Jago Douma 5edb02dccf Improve federated permission handling
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-26 15:25:02 +00:00
Joas Schilling 2c1218826d Validate the website field input to be a valid URL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-26 11:58:56 +00:00
dependabot-preview[bot] 7709f90e22
Merge pull request #26733 from nextcloud/dependabot/npm_and_yarn/stable21/nextcloud/dialogs-3.1.2 2021-04-26 07:25:15 +00:00
dependabot-preview[bot] 36b1e06c28 [Security] Bump @nextcloud/dialogs from 3.1.1 to 3.1.2
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 3.1.1 to 3.1.2. **This update includes a security fix.**
- [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-26 06:49:20 +00:00
Nextcloud bot ec5942a1d0
[tx-robot] updated from transifex 2021-04-26 02:24:51 +00:00
Nextcloud bot 8676d77eec
[tx-robot] updated from transifex 2021-04-25 02:25:06 +00:00
Nextcloud bot dfb6043634
[tx-robot] updated from transifex 2021-04-24 02:26:50 +00:00
Nextcloud bot cdb9eb401e
[tx-robot] updated from transifex 2021-04-23 02:26:26 +00:00
Robin Appelman f22fa87e6a update icewind/smb to 3.4.1
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-22 17:59:41 +00:00
Morris Jobke a54eaeaaff
Merge pull request #26685 from nextcloud/backport/26474/stable21
[stable21] Mention MariaDB in MySQL support warning
2021-04-22 09:47:57 +02:00
Nextcloud bot b5bbf0021d
[tx-robot] updated from transifex 2021-04-22 02:26:35 +00:00
Roeland Jago Douma 52c070acaa
Merge pull request #26677 from nextcloud/backport/26658/stable21
[stable21] Do not stop directory listing when ACL is blocking access
2021-04-21 19:54:12 +02:00
Claas Augner c0bd430246 Mention MariaDB in MySQL support warning 2021-04-21 14:45:41 +00:00
Morris Jobke 144976bcb0
Merge pull request #26667 from nextcloud/backport/26652/stable21
[stable21] Fix broken Expiration test
2021-04-21 14:27:08 +02:00
Julius Härtl 7e6e923d17 Continue iterating over diretory contents and just hide file if denied by acl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-21 07:24:24 +00:00
Nextcloud bot 3d24aef406
[tx-robot] updated from transifex 2021-04-21 02:26:16 +00:00
Joas Schilling 82edb9fe1a Fix broken Expiration test
15) Warning
The data provider specified for OCA\Files_Trashbin\Tests\ExpirationTest::testGetMaxAgeAsTimestamp is invalid.
PHPUnit\Util\Exception: Method timestampTestData does not exist

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 19:30:38 +00:00
Roeland Jago Douma f7d88b0b5a Make lookup search explicit
Speedsup sharee lookup quite a bit.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-20 08:33:04 +00:00
Morris Jobke 44bbc2454b
Merge pull request #26636 from nextcloud/backport/26615/stable21
[stable21] Require read permissions for federated shares
2021-04-20 09:06:06 +02:00
Nextcloud bot 7482baf138
[tx-robot] updated from transifex 2021-04-20 02:26:12 +00:00
Roeland Jago Douma 872df4ab72 Require read permissions for federated shares
Else they end up as weird shares that can't be properly utilized by
other parties anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 19:52:41 +00:00
Roeland Jago Douma 6bc4561f09 Do not allow adding file drop shares to your own cloud
There is no reason for this and you can't create such shares normally
anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 12:58:10 +00:00
Nextcloud bot f1d7e56cab
[tx-robot] updated from transifex 2021-04-19 02:26:19 +00:00
Nextcloud bot 72a2b0663c
[tx-robot] updated from transifex 2021-04-18 02:24:21 +00:00
Nextcloud bot c5e0d912c5
[tx-robot] updated from transifex 2021-04-17 02:24:17 +00:00
Nextcloud bot a0472937af
[tx-robot] updated from transifex 2021-04-16 02:26:05 +00:00
Nextcloud bot c2a4afccea
[tx-robot] updated from transifex 2021-04-15 02:25:22 +00:00
Nextcloud bot 5cc58a04a3
[tx-robot] updated from transifex 2021-04-14 02:27:02 +00:00
Nextcloud bot 736933af7a
[tx-robot] updated from transifex 2021-04-13 02:25:09 +00:00
Valdnet 0c3fcbac91 l10n: Add word user in FederatedShareProvider.php
Standardizing text strings with other Nextcloud applications.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-12 06:41:46 +00:00
Nextcloud bot c2d01da31f
[tx-robot] updated from transifex 2021-04-12 02:25:05 +00:00
Nextcloud bot 3198e50d5b
[tx-robot] updated from transifex 2021-04-11 02:24:53 +00:00
Nextcloud bot 4ad8a5ae8f
[tx-robot] updated from transifex 2021-04-10 02:31:25 +00:00
Nextcloud bot 0216927050
[tx-robot] updated from transifex 2021-04-09 02:25:20 +00:00
Joas Schilling bffdbb1258 Show icon-phone when setting is set to private instead of local
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-08 11:07:25 +00:00
Nextcloud bot 2e13dc2aa1
[tx-robot] updated from transifex 2021-04-08 02:24:15 +00:00
Nextcloud bot 1f3d1546dd
[tx-robot] updated from transifex 2021-04-07 02:24:26 +00:00
Nextcloud bot 6b67b81287
[tx-robot] updated from transifex 2021-04-06 02:25:42 +00:00
Nextcloud bot a9b5cde333
[tx-robot] updated from transifex 2021-04-05 02:24:56 +00:00
Nextcloud bot e85188f429
[tx-robot] updated from transifex 2021-04-04 02:24:59 +00:00
Nextcloud bot fe7ad83c76
[tx-robot] updated from transifex 2021-04-03 02:43:46 +00:00
Nextcloud bot e14860c8f2
[tx-robot] updated from transifex 2021-04-02 02:26:17 +00:00
Morris Jobke 052c9abfdf
Merge pull request #26391 from nextcloud/backport/26386/stable21
[stable21] Also check the default phone region when the number has no country code
2021-04-01 09:32:57 +02:00
Nextcloud bot 737f755941
[tx-robot] updated from transifex 2021-04-01 02:24:51 +00:00
Joas Schilling f38248dcd4 Also check the default phone region when the number has no country code
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 08:30:56 +00:00
Nextcloud bot 6d70bd9246
[tx-robot] updated from transifex 2021-03-31 02:25:01 +00:00
Joas Schilling 3afeb5c908 Remove notifications when retesting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-30 09:27:17 +00:00
Joas Schilling 3ebe3a0e5f
Merge pull request #26366 from nextcloud/backport/26355/stable21
[stable21] Fix working for phone number integration
2021-03-30 09:53:48 +02:00
Nextcloud bot 68e9013c39
[tx-robot] updated from transifex 2021-03-30 02:24:32 +00:00
Joas Schilling 2b8dfc03b6 Fix working for phone number integration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-29 19:06:10 +00:00
Nick Sweeting e7aefc3424 change calendar invite emails to use pngs instead of svgs
Signed-off-by: Nick Sweeting <git@sweeting.me>
2021-03-29 16:17:16 +00:00
Vincent Petry 15e52fa7cb 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>
2021-03-29 07:03:38 +00:00
Vincent Petry ecae714157 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>
2021-03-29 07:03:36 +00:00
Vincent Petry 2613826fcc Add capability for editable scopes in provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:35 +00:00
Vincent Petry 73ec32d19b Add property scope tests for AccountManager
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:35 +00:00
Vincent Petry 2fd62b4f0d Enhance UsersControllerTest of provisioning API with scopes
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:35 +00:00
Vincent Petry ad402ffc96 Expose avatarScope through provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:34 +00:00
Vincent Petry b9d59e2994 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>
2021-03-29 07:03:32 +00:00
Vincent Petry 5c854ba132 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>
2021-03-29 07:03:32 +00:00
Vincent Petry 5d76574a81 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>
2021-03-29 07:03:31 +00:00
Vincent Petry e2ab530ee3 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>
2021-03-29 07:03:31 +00:00
Vincent Petry f45f826b52 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>
2021-03-29 07:03:31 +00:00
Nextcloud bot d6156b970b
[tx-robot] updated from transifex 2021-03-29 02:24:09 +00:00
Nextcloud bot f10f9d090a
[tx-robot] updated from transifex 2021-03-28 02:24:15 +00:00
Nextcloud bot dd99255087
[tx-robot] updated from transifex 2021-03-27 02:24:38 +00:00
Roeland Jago Douma 785f6c63a0
Merge pull request #26307 from nextcloud/backport/22201/stable21
[stable21] Delete old birthday calendar object when moving contact to another ad…
2021-03-26 10:44:59 +01:00
Roeland Jago Douma cc5c93ffb3
Merge pull request #26263 from nextcloud/backport/26046/stable21
[stable21] update icewind/smb to 3.4.0
2021-03-26 10:44:03 +01:00
Christian Weiske 74794bf100 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>
2021-03-26 07:25:44 +00:00
John Molakvoæ 9a4cbba7f6
Merge pull request #26298 from nextcloud/backport/26287/stable21
[stable21] Fix l10n
2021-03-26 08:08:41 +01:00
Nextcloud bot 9ddc6df797
[tx-robot] updated from transifex 2021-03-26 02:25:43 +00:00
Valdnet 23ccae6840 Fix l10n
Issue: #26286
2021-03-25 12:58:59 +00:00
Nextcloud bot 769c6fedad
[tx-robot] updated from transifex 2021-03-25 02:25:48 +00:00
Morris Jobke ffb7c51ca6
Merge pull request #26257 from nextcloud/backport/26198/stable21
[stable21] Handle limit offset and sorting in files search
2021-03-24 17:32:36 +01:00
Valdnet 7a7bd29177 l10n: Separate ellipsis
Unifying the text string with the others.
2021-03-24 13:26:48 +00:00
Nextcloud bot ef273fef4b
[tx-robot] updated from transifex 2021-03-24 02:25:17 +00:00
Robin Appelman 03c430868a update icewind/smb to 3.4.0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-23 16:23:53 +00:00
Robin Appelman 2c565d68bc pass order from unified search to file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-23 13:41:21 +00:00
Robin Appelman 680e21b7c5 use "newer" node search api directly in unified search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-23 13:41:10 +00:00
Nextcloud bot c60f0e06d0
[tx-robot] updated from transifex 2021-03-23 02:24:15 +00:00
Joas Schilling e9ea4a0f01 Fix parameter types in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-22 20:07:53 +01:00
Valdnet 207e8cbf9e l10n: Add changes to text string for user 2021-03-22 10:30:49 +00:00
Valdnet ba1e966439 l10n: Add word user in ShareByMailProvider.php
Standardizing text strings with other Nextcloud applications.
2021-03-22 10:30:49 +00:00
Nextcloud bot 2e2d2e79e8
[tx-robot] updated from transifex 2021-03-22 02:23:56 +00:00
Morris Jobke 476c30b807
Merge pull request #26227 from nextcloud/backport/26213/stable21
[stable21] Removed unnecessary padding
2021-03-21 20:57:42 +01:00
Nextcloud bot 89319b995f
[tx-robot] updated from transifex 2021-03-21 02:23:20 +00:00
Sascha Wiswedel a52482246b Removed unnecessary padding
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2021-03-20 09:57:08 +00:00
Roeland Jago Douma b3bf640111
Merge pull request #26215 from nextcloud/backport/26145/stable21
[stable21] add (hidden) option to always show smb root as writable
2021-03-20 10:53:40 +01:00
Nextcloud bot 798eff0161
[tx-robot] updated from transifex 2021-03-20 02:23:52 +00:00
Robin Appelman 7f066931e4 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>
2021-03-19 15:47:01 +00:00
Nextcloud bot 942b40583c
[tx-robot] updated from transifex 2021-03-19 02:25:05 +00:00
Daniel Calviño Sánchez 7e87b12271 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>
2021-03-18 08:05:04 +00:00
Vincent Petry 73d2f42d41
Merge pull request #26087 from nextcloud/backport/26049/stable21
[stable21] limit constructing of result objects in file search
2021-03-18 08:21:50 +01:00
Nextcloud bot 4ebf9c2d1a
[tx-robot] updated from transifex 2021-03-18 02:25:13 +00:00
Morris Jobke 0e642a5f5e
Merge pull request #26062 from nextcloud/backport/25915/stable21
[stable21] Add appconfig to always show the unique label of a sharee
2021-03-17 20:13:07 +01:00
Arthur Schiwon 4cd15b7815 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>
2021-03-17 13:38:55 +00:00
Morris Jobke 4b3684fbc4
Merge pull request #25943 from nextcloud/backport/25659/stable21
[stable21] catch notfound and forbidden exception in smb::getmetadata
2021-03-17 13:50:39 +01:00
Morris Jobke aa8a31b3ec
Merge pull request #26166 from nextcloud/backport/26131/stable21
[stable21] Fix default missing initial state for templates
2021-03-17 13:50:32 +01:00
John Molakvoæ (skjnldsv) 1be574319c Fix default missing initial state for templates
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 09:20:38 +00:00
Morris Jobke 162e763e26 Use correct exception type hint in catch statement
Found by psalm update 4.6.2 to 4.6.3 in #26111

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-17 08:44:29 +00:00