Commit Graph

24143 Commits

Author SHA1 Message Date
Vincent Petry 1d0b210d00
Merge pull request #26039 from nextcloud/backport/25916/stable21
[stable21] Remove trash items from other trash backends when deleting all
2021-03-11 10:31:30 +01:00
Joas Schilling 5fa52d492a
Rename some parameters and methods to make the API more clear
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:42:09 +01:00
Joas Schilling 490bfa7330
Also clear the knownUser when changing via the settings endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:59 +01:00
Joas Schilling 5afaf3d06c
Fix CS hopefully
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:32 +01:00
Joas Schilling 77f6d768bc
Add a setting to restrict returning a full match unless in phonebook or same group
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:26 +01:00
Joas Schilling 8069c52a85
Add a hint that the settings are OR based
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:20 +01:00
Joas Schilling c7560ab3a9
Restrict autocompletion also based on the phonebook known users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:03 +01:00
Joas Schilling 52d43bf3cc
Add a config setting to restrict autocompletion to phonebook matches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:55 +01:00
Joas Schilling 88855d8827
Add a service to find out if a user knows another user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:46 +01:00
Joas Schilling 5af22f84b3
Delete matches when the user is being deleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:39 +01:00
Joas Schilling 19ccc992d5
Delete matches when a user changes their phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:29 +01:00
Joas Schilling 3feca65399
Store when a user knows another user based on phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:20 +01:00
Joas Schilling ebb9f1d16a
Add a KnownUsers database with model
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:38:55 +01:00
Nextcloud bot e28dbef7a1
[tx-robot] updated from transifex 2021-03-11 02:23:18 +00:00
Roeland Jago Douma cc48b81411
Merge pull request #26026 from nextcloud/backport/25933/stable21
[stable21] Hide expiration date field for remote shares
2021-03-10 15:46:57 +01:00
Joas Schilling a659ee1c2d Fix some psalm warnings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 13:38:00 +00:00
Roeland Jago Douma fa2dc9abc5 Provisioning API to IBootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-10 13:37:59 +00:00
kesselb c74cccd12c
Merge pull request #26042 from nextcloud/backport/26030/stable21
[stable21] Fix SCSS compiler deprecated function usages
2021-03-10 11:04:52 +01:00
Vincent Petry ff95956e5d Hide expiration date field for remote shares
Remote shares currently do not support expiration date.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-10 09:42:41 +00:00
Roeland Jago Douma 4c68aee72b
Merge pull request #25877 from nextcloud/backport/25568/stable21
[stable21] disable trasbin during the moveFromStorage fallback
2021-03-10 09:33:51 +01:00
Roeland Jago Douma 4cf3a9f81e Fix SCSS compiler deprecated function usages
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-10 08:24:30 +00:00
Julius Härtl deb01f04da Remove trash items from other trash backends when deleting all
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-10 08:00:11 +00:00
Nextcloud bot 3c07ae86ea
[tx-robot] updated from transifex 2021-03-10 02:23:09 +00:00
Roeland Jago Douma 1ac8630a51
Merge pull request #25937 from nextcloud/backport/25927/stable21
[stable21] Sharebymail: set expiration on creation
2021-03-09 20:21:04 +01:00
Nextcloud bot 45cc358d79
[tx-robot] updated from transifex 2021-03-09 02:24:04 +00:00
Nextcloud bot 48df1bef17
[tx-robot] updated from transifex 2021-03-08 02:23:21 +00:00
Nextcloud bot 0dc05f51ef
[tx-robot] updated from transifex 2021-03-07 02:22:17 +00:00
Roeland Jago Douma e645482089
Merge pull request #25955 from nextcloud/backport/25932/stable21
[stable21] Skip empty obsolete owner when adding to own NC
2021-03-06 10:54:22 +01:00
Nextcloud bot 5e6a891fce
[tx-robot] updated from transifex 2021-03-06 02:22:32 +00:00
Vincent Petry 9f7973a70e Skip empty obsolete owner when adding to own NC
The owner field is nowadays always empty when adding a federated share
using "Add to your Nextcloud", so don't check for it.

Fixes an issue where "Add to your Nextcloud" doesn't add anything.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-05 13:35:36 +00:00
Roeland Jago Douma d81954f913
Merge pull request #25935 from nextcloud/backport/25926/stable21
[stable21] Activity: show if files are hidden or not
2021-03-05 14:29:22 +01:00
Roeland Jago Douma 3aba094d86
Merge pull request #25573 from nextcloud/backport/25378/stable21
[stable21] Improve mention matches
2021-03-05 09:55:44 +01:00
Roeland Jago Douma b4b55616c2
Merge pull request #25918 from nextcloud/backport/25805/stable21
[stable21] Clear multiselect after selection in share panel
2021-03-05 09:44:07 +01:00
Robin Appelman 67d62a820c catch notfound and forbidden exception in smb::getmetadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-05 07:51:47 +00:00
Nextcloud bot 163bf97c3e
[tx-robot] updated from transifex 2021-03-05 02:22:09 +00:00
Roeland Jago Douma 8ab601cf66 Sharebymail: set expiration on creation
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 18:52:30 +00:00
Roeland Jago Douma 5e2a9de3f0 Activity: show if files are hidden or not
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 16:04:30 +00:00
Vincent Petry 1575b09d0d Clear multiselect after selection in share panel
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-04 15:02:13 +00:00
Roeland Jago Douma 4df7cf1f54
Merge pull request #25875 from nextcloud/backport/25797/stable21
[stable21] Do not trigger a full filelist reload after creating a new file from a template
2021-03-04 15:48:23 +01:00
Nextcloud bot 5a39900c24
[tx-robot] updated from transifex 2021-03-04 02:22:22 +00:00
Roeland Jago Douma 3922966f3c
Merge pull request #25843 from nextcloud/backport/25757/stable21
[stable21] fix detecting cyclic group memberships
2021-03-03 11:34:25 +01:00
Julius Härtl f1363bcfde Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-03 10:01:45 +00:00
Roeland Jago Douma 7c8c8902fa
Merge pull request #25899 from nextcloud/backport/25860/stable21
[stable21] do not die after LDAP auth failed with expired acc
2021-03-03 08:34:50 +01:00
Nextcloud bot 2a66d4e5d1
[tx-robot] updated from transifex 2021-03-03 02:21:34 +00:00
Arthur Schiwon 9d937489db do not die after LDAP auth failed with expired acc
- some servers return error code 53

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-02 20:40:02 +00:00
Robin Appelman 36749161d7 disable trasbin during the moveFromStorage fallback
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-02 13:27:56 +00:00
Julius Härtl 472f6faf3f At least try to give the full context for the file action
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-02 13:17:46 +00:00
Julius Härtl 060a0101ae Do not trigger a full filelist reload after creating a new file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-02 13:17:46 +00:00
kesselb 097bdf973e
Merge pull request #25857 from nextcloud/backport/25856/stable21
[stable21] Card::getOwner should return the actual value
2021-03-02 09:18:28 +01:00
Nextcloud bot 3aca170a3e
[tx-robot] updated from transifex 2021-03-02 02:22:30 +00:00
Roeland Jago Douma b96a0cd77d Card::getOwner should return the actual value
I guess we never call this at runtime or it would already ahve done boom
very loudly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-01 17:27:49 +00:00
Roeland Jago Douma 256927d8d4
Merge pull request #25739 from nextcloud/backport/25602/stable21
[stable21] Avoid creating two share links when password is enforced
2021-03-01 12:50:01 +01:00
Arthur Schiwon 81fcc0a618 fix detecting cyclic group memberships
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-01 11:10:31 +00:00
Julius Härtl 1f45359c26
Avoid creating two share links when password is enforced
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-01 10:08:28 +01:00
Nextcloud bot 05978f40ff
[tx-robot] updated from transifex 2021-03-01 02:20:30 +00:00
Nextcloud bot 38f40f821d
[tx-robot] updated from transifex 2021-02-28 02:20:04 +00:00
Nextcloud bot a07d4d3ed5
[tx-robot] updated from transifex 2021-02-27 02:22:32 +00:00
Nextcloud bot b5eeca3ab3
[tx-robot] updated from transifex 2021-02-26 02:21:58 +00:00
Nextcloud bot d523d9973f
[tx-robot] updated from transifex 2021-02-25 02:21:31 +00:00
Nextcloud bot 90fa31c280
[tx-robot] updated from transifex 2021-02-24 02:22:16 +00:00
Nextcloud bot cb9edff655
[tx-robot] updated from transifex 2021-02-23 02:39:36 +00:00
Nextcloud bot f405de31da
[tx-robot] updated from transifex 2021-02-21 02:40:10 +00:00
Nextcloud bot 8bdc933821
[tx-robot] updated from transifex 2021-02-20 02:37:33 +00:00
Nextcloud bot 704dfee918
[tx-robot] updated from transifex 2021-02-19 02:21:05 +00:00
Nextcloud bot 7c11b9e974
[tx-robot] updated from transifex 2021-02-18 02:22:03 +00:00
Christoph Wurst 2724bb8c86
Merge pull request #25650 from nextcloud/backport/25594/stable21
[stable21] Use ownerDisplayName for SharingEntry Tooltip
2021-02-17 19:52:32 +01:00
Joas Schilling a745d58133 Cache the user backend info for 300s
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-17 07:59:22 +00:00
Nextcloud bot 1db95da5d1
[tx-robot] updated from transifex 2021-02-17 02:21:17 +00:00
Dan VerWeire d3415f4bf9 Use ownerDisplayName for SharingEntry Tooltip
Some NC installations may use a LDAP UUID for the username. If that
is the case, then the tooltip for who a file/folder was shared by may say something
like `Shared with Steve McQueen (smqueen@yada.com) by FKDJ39-38D794JG-4398GJODF9H3G-4534`.

This commit changes the value showed for the owner to the full display name.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-16 12:05:52 +00:00
Nextcloud bot b4b5d9b811
[tx-robot] updated from transifex 2021-02-16 02:21:45 +00:00
Joas Schilling 82ab80e6e8 Fix app icon list in dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-15 19:37:29 +00:00
Nextcloud bot 0c909dd072
[tx-robot] updated from transifex 2021-02-15 02:20:19 +00:00
Nextcloud bot cca4693fc7
[tx-robot] updated from transifex 2021-02-14 02:20:11 +00:00
Nextcloud bot 69daa9e0a8
[tx-robot] updated from transifex 2021-02-13 02:20:37 +00:00
Roeland Jago Douma 32a49e228b
Merge pull request #25591 from nextcloud/backport/25582/stable21
[stable21] Do not send imip email to invalid recipients
2021-02-12 08:44:42 +01:00
Nextcloud bot a15066b840
[tx-robot] updated from transifex 2021-02-12 02:20:27 +00:00
Christoph Wurst 3878bcbc11 Do not send imip email to invalid recipients
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-11 19:00:23 +00:00
Joas Schilling 8e43331d47 Improve mention matches
The previous regex didn't correctly match users with . ' or -

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-11 09:35:36 +00:00
Nextcloud bot a858513eee
[tx-robot] updated from transifex 2021-02-11 02:20:46 +00:00
Nextcloud bot c00819572f
[tx-robot] updated from transifex 2021-02-10 02:21:09 +00:00
Roeland Jago Douma 7a09536114
Merge pull request #25450 from nextcloud/backport/25393/stable21
[stable21] add repair job for unencoded group share uris
2021-02-09 14:36:12 +01:00
Nextcloud bot 0fd3c5f8cb
[tx-robot] updated from transifex 2021-02-09 02:20:54 +00:00
Vincent Petry 9696791460
Merge pull request #25522 from nextcloud/backport/25503/stable21
[stable21] Sharing dropdown now opens below
2021-02-08 08:46:29 +01:00
Nextcloud bot 4257656130
[tx-robot] updated from transifex 2021-02-08 02:20:14 +00:00
Nextcloud bot 6d813b419e
[tx-robot] updated from transifex 2021-02-07 02:21:00 +00:00
Vincent Petry a4d2581c65 Sharing dropdown now opens below
Fixes an issue where the dropdown list was not visible on small screens
as it would appear above the field and be hidden behind the container
border.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-06 10:03:09 +00:00
Nextcloud bot 7216f876dd
[tx-robot] updated from transifex 2021-02-06 02:20:59 +00:00
Roeland Jago Douma ba63f588e7
Merge pull request #25476 from nextcloud/backport/25443/stable21
[stable21] Make user list pagination more tolerant
2021-02-05 11:04:37 +01:00
Roeland Jago Douma fa6e799e31
Merge pull request #25478 from nextcloud/backport/25441/stable21
[stable21] Fix duplicate tag info view registration
2021-02-05 11:02:24 +01:00
Nextcloud bot 5ec0132c17
[tx-robot] updated from transifex 2021-02-05 02:21:42 +00:00
Vincent Petry a1e7ac9e33
Make user list pagination more tolerant
In case the server returns more results than expected by the limit, it
is now still interpreted as there being more results to query.

This situation can happen when there are multiple user backends in
place.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-04 10:15:53 +01:00
Vincent Petry 04473c0f0e Fix duplicate tag info view registration
Only register the tag info view once as it's stored in a singleton.
This fixes an issue where the tag info view did not get rendered after
swiching between different file views.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-04 09:15:53 +00:00
Nextcloud bot 0ee17df264
[tx-robot] updated from transifex 2021-02-04 02:20:13 +00:00
Christoph Wurst f4b32f9676 Parse calendar object for attendees and emit interaction events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-03 18:12:50 +00:00
Christoph Wurst f8a87f8cdc Emit an interaction event for calendar event user attendees
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-03 11:53:20 +00:00
Christoph Wurst b5fd6950a1 Emit an interaction event for calendar share recipients
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-03 11:53:20 +00:00
Nextcloud bot 207b7d54fb
[tx-robot] updated from transifex 2021-02-03 02:19:53 +00:00
Arthur Schiwon cfc00aa2cd take into account that UNIQUE index might not work as expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-02-02 20:52:16 +00:00
Julius Härtl 480f786fa0
Merge pull request #25400 from nextcloud/dependabot/npm_and_yarn/marked-1.2.8 2021-02-02 10:22:18 +01:00
dependabot-preview[bot] 94392817c6
Bump marked from 1.2.7 to 1.2.8
Bumps [marked](https://github.com/markedjs/marked) from 1.2.7 to 1.2.8.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.7...v1.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-02 09:10:38 +01:00