Commit Graph

23038 Commits

Author SHA1 Message Date
Nextcloud bot 0e30c82f30
[tx-robot] updated from transifex 2021-03-18 02:25:29 +00:00
Morris Jobke 10b024642f 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:49:42 +00:00
Nextcloud bot 709788e08f
[tx-robot] updated from transifex 2021-03-17 02:24:47 +00:00
Robin Appelman b9b2c6d2fa
fix search in nested jails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-16 15:27:00 +01:00
Christoph Wurst f9c9e27e46
Merge pull request #26129 from nextcloud/backport/26115/stable19
[stable19] Log exceptions when creating share
2021-03-16 11:09:15 +01:00
Nextcloud bot 95b55423e8
[tx-robot] updated from transifex 2021-03-16 02:25:09 +00:00
Vincent Petry e43c93881e Log exceptions when creating share
Because the exceptions don't always contain a useful message for the UI,
but also because in some cases we need to find out what went wrong.

In some setups, a ShareNotFoundException might happen during creation
when we try to re-read the just written share. Usually related to Galera
Cluster where node syncing wait is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-15 15:06:34 +00:00
Christoph Wurst 3ac0601e26
Merge pull request #26060 from nextcloud/backport/25911/stable19
[stable19] Only clear share password model when actually saved
2021-03-15 09:48:23 +01:00
Nextcloud bot 901472a899
[tx-robot] updated from transifex 2021-03-15 02:24:26 +00:00
Nextcloud bot bbb616a604
[tx-robot] updated from transifex 2021-03-14 02:24:05 +00:00
Nextcloud bot 2a955bf864
[tx-robot] updated from transifex 2021-03-13 02:23:21 +00:00
Vincent Petry 20c16e21c2
Only clear share password model when actually saved
Instead of always clearing the password in the share model, now only do
it when it was actually saved.

Fixes an issue where saving another field would clear the password too
early and prevent it to be saved when the dropdown closed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-12 12:23:36 +01:00
Nextcloud bot 54affce466
[tx-robot] updated from transifex 2021-03-12 02:23:09 +00:00
Roeland Jago Douma 586cbde4ba
Merge pull request #26041 from nextcloud/backport/25916/stable19
[stable19] Remove trash items from other trash backends when deleting all
2021-03-11 10:34:44 +01:00
Nextcloud bot c750417f19
[tx-robot] updated from transifex 2021-03-11 02:23:35 +00:00
Roeland Jago Douma 0a7a401f95
Merge pull request #26028 from nextcloud/backport/25933/stable19
[stable19] Hide expiration date field for remote shares
2021-03-10 15:46:47 +01:00
Vincent Petry 6e394ac9d6 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 08:45:54 +00:00
Julius Härtl 37b161b526 Remove trash items from other trash backends when deleting all
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-10 08:05:03 +00:00
Nextcloud bot efcc3dd99f
[tx-robot] updated from transifex 2021-03-10 02:23:25 +00:00
Nextcloud bot 6db532444f
[tx-robot] updated from transifex 2021-03-09 02:24:20 +00:00
Nextcloud bot ad8a1bcc12
[tx-robot] updated from transifex 2021-03-08 02:23:37 +00:00
Nextcloud bot 82244f1466
[tx-robot] updated from transifex 2021-03-07 02:22:31 +00:00
Roeland Jago Douma e73ea889ab
Merge pull request #25957 from nextcloud/backport/25932/stable19
[stable19] Skip empty obsolete owner when adding to own NC
2021-03-06 10:54:10 +01:00
Nextcloud bot 3bf923ec55
[tx-robot] updated from transifex 2021-03-06 02:22:48 +00:00
Vincent Petry f21e25182b 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:40:41 +00:00
Roeland Jago Douma bcb840ce04
Merge pull request #25845 from nextcloud/backport/25757/stable19
[stable19] fix detecting cyclic group memberships
2021-03-05 08:43:35 +01:00
Nextcloud bot 8d9d540257
[tx-robot] updated from transifex 2021-03-05 02:22:23 +00:00
Nextcloud bot 18ba1854db
[tx-robot] updated from transifex 2021-03-04 02:22:39 +00:00
Arthur Schiwon 7afb588059
fix detecting cyclic group memberships
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-03 10:53:24 +01:00
Roeland Jago Douma 4a111afc8d
Merge pull request #25901 from nextcloud/backport/25860/stable19
[stable19] do not die after LDAP auth failed with expired acc
2021-03-03 08:35:21 +01:00
Nextcloud bot 7d5f7cef93
[tx-robot] updated from transifex 2021-03-03 02:21:51 +00:00
Arthur Schiwon 4b3961c412 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:11 +00:00
kesselb 3177ab8ba9
Merge pull request #25859 from nextcloud/backport/25856/stable19
[stable19] Card::getOwner should return the actual value
2021-03-02 09:20:34 +01:00
Nextcloud bot 47bb51cfeb
[tx-robot] updated from transifex 2021-03-02 02:22:49 +00:00
Roeland Jago Douma 6baad31815 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:33:17 +00:00
Roeland Jago Douma a00eff8372
Merge pull request #25741 from nextcloud/backport/25602/stable19
[stable19] Avoid creating two share links when password is enforced
2021-03-01 12:49:12 +01:00
Julius Härtl 832374d4fe
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:00:57 +01:00
Nextcloud bot b9d417f812
[tx-robot] updated from transifex 2021-03-01 02:20:45 +00:00
Nextcloud bot be671e390e
[tx-robot] updated from transifex 2021-02-28 02:20:20 +00:00
Nextcloud bot bd3c0eb0d2
[tx-robot] updated from transifex 2021-02-27 02:22:47 +00:00
Nextcloud bot ae438cd079
[tx-robot] updated from transifex 2021-02-26 02:22:14 +00:00
Nextcloud bot 495cc2aa2c
[tx-robot] updated from transifex 2021-02-25 02:21:48 +00:00
Nextcloud bot f505f01b99
[tx-robot] updated from transifex 2021-02-24 02:22:31 +00:00
Nextcloud bot 33cebe106a
[tx-robot] updated from transifex 2021-02-23 02:39:52 +00:00
Nextcloud bot 044c535a7a
[tx-robot] updated from transifex 2021-02-21 02:40:24 +00:00
Nextcloud bot 6df72b6c53
[tx-robot] updated from transifex 2021-02-20 02:37:48 +00:00
Nextcloud bot d6fd0d2286
[tx-robot] updated from transifex 2021-02-18 02:22:21 +00:00
Roeland Jago Douma 23e3730a10
Merge pull request #25449 from nextcloud/backport/25393/stable19
[stable19] add repair job for unencoded group share uris
2021-02-17 21:05:16 +01:00
blizzz d9a67236c0
Merge pull request #25380 from nextcloud/backport/25101/stable19
[stable19] LDAP: make actually use of batch read known groups
2021-02-17 15:15:15 +01:00
Arthur Schiwon 654a41e313
really use known groups
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-02-17 14:05:13 +01:00
Roeland Jago Douma 733311d76e
Merge pull request #25652 from nextcloud/backport/25594/stable19
[stable19] Use ownerDisplayName for SharingEntry Tooltip
2021-02-17 10:38:33 +01:00
Roeland Jago Douma 8be6692521
Merge pull request #25593 from nextcloud/backport/25582/stable19
[stable19] Do not send imip email to invalid recipients
2021-02-17 10:38:13 +01:00
Christoph Wurst 59805dbe2c
Do not send imip email to invalid recipients
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-17 09:29:36 +01:00
Dan VerWeire 371353bc61 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-17 07:51:26 +00:00
Roeland Jago Douma fb2b19221f
Merge pull request #25385 from nextcloud/backport/25218/stable19
[stable19] do not remove valid group shares
2021-02-17 08:48:25 +01:00
Nextcloud bot fab7d9ca5f
[tx-robot] updated from transifex 2021-02-17 02:21:34 +00:00
Nextcloud bot f5a5afc592
[tx-robot] updated from transifex 2021-02-16 02:22:00 +00:00
Nextcloud bot b7acd16fd0
[tx-robot] updated from transifex 2021-02-15 02:20:33 +00:00
Nextcloud bot a916b4a091
[tx-robot] updated from transifex 2021-02-14 02:20:26 +00:00
Nextcloud bot 1d64813825
[tx-robot] updated from transifex 2021-02-13 02:20:54 +00:00
Nextcloud bot 5807a0ff40
[tx-robot] updated from transifex 2021-02-12 02:20:44 +00:00
Nextcloud bot 3c8bea717e
[tx-robot] updated from transifex 2021-02-11 02:21:03 +00:00
Nextcloud bot 2018bcba9b
[tx-robot] updated from transifex 2021-02-10 02:21:25 +00:00
Nextcloud bot 02e2cde84d
[tx-robot] updated from transifex 2021-02-09 02:21:10 +00:00
Nextcloud bot aacc60472f
[tx-robot] updated from transifex 2021-02-08 02:20:30 +00:00
Nextcloud bot afe109ae21
[tx-robot] updated from transifex 2021-02-07 02:21:16 +00:00
Nextcloud bot 5c3c78b58d
[tx-robot] updated from transifex 2021-02-06 02:21:16 +00:00
Nextcloud bot 43601086dd
[tx-robot] updated from transifex 2021-02-05 02:21:58 +00:00
Nextcloud bot f23fc11b5a
[tx-robot] updated from transifex 2021-02-04 02:20:29 +00:00
Nextcloud bot 6db77c1c22
[tx-robot] updated from transifex 2021-02-03 02:20:09 +00:00
Arthur Schiwon b570b22601 take into account that UNIQUE index might not work as expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-02-02 20:48:41 +00:00
Julius Härtl 5b898fa60e
Merge pull request #25422 from nextcloud/backport/25383/stable19
[stable19] Properly handle SMB ACL blocking scanning a directory
2021-02-02 11:58:43 +01:00
Nextcloud bot 5c8be9ac66
[tx-robot] updated from transifex 2021-02-02 02:20:16 +00:00
Julius Härtl 6f6f45b77b Properly handle SMB ACL blocking scanning a directory
This makes sure that a possible ForbiddenException is properly passed
through the storage as a ForbiddenException and can be catched when
trying to fetch the quota info of a parent folder

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-02-01 11:13:52 +00:00
Nextcloud bot 59b43e0699
[tx-robot] updated from transifex 2021-02-01 02:19:56 +00:00
Nextcloud bot 0cc117e3ce
[tx-robot] updated from transifex 2021-01-31 02:19:22 +00:00
Nextcloud bot 8bd5641fc3
[tx-robot] updated from transifex 2021-01-30 02:20:53 +00:00
Arthur Schiwon ae8903e946 do not remove valid group shares
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-29 10:44:35 +00:00
Roeland Jago Douma aff475b51d
Merge pull request #25367 from nextcloud/backport/25361/stable19
[stable19] fix parameter provided as string not array
2021-01-29 08:33:15 +01:00
Nextcloud bot af54ab7af6
[tx-robot] updated from transifex 2021-01-29 02:21:35 +00:00
Arthur Schiwon 9fc88bd217 fix parameter provided as string not array
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-28 19:42:41 +00:00
blizzz a4c7a62394
Merge pull request #25121 from nextcloud/backport/25036/stable19
[stable19] respect DB restrictions on number of arguments in statements and queries
2021-01-28 12:27:52 +01:00
Nextcloud bot 947ba76d00
[tx-robot] updated from transifex 2021-01-28 02:24:30 +00:00
Roeland Jago Douma 0fe59bc25a
Merge pull request #25323 from nextcloud/backport/25310/stable19
[stable19] [CalDAV] Validate notified emails
2021-01-27 14:49:10 +01:00
Nextcloud bot 370e4c05dd
[tx-robot] updated from transifex 2021-01-27 02:21:06 +00:00
Thomas Citharel a720bdb83d
[CalDAV] Validate notified emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-26 11:09:43 +01:00
Nextcloud bot 2fe66cb2e3
[tx-robot] updated from transifex 2021-01-26 02:21:51 +00:00
Nextcloud bot ef771f54f3
[tx-robot] updated from transifex 2021-01-25 02:20:51 +00:00
Nextcloud bot c90882c958
[tx-robot] updated from transifex 2021-01-24 02:20:04 +00:00
Nextcloud bot 1eea17d2f3
[tx-robot] updated from transifex 2021-01-23 02:20:24 +00:00
Morris Jobke e95f6a85b2
Merge pull request #25277 from nextcloud/backport/25274/stable19
[stable19] Do not obtain userFolder of a federated user
2021-01-22 16:16:35 +01:00
Roeland Jago Douma 2f0948ed15 Do not obtain userFolder of a federated user
Federated shares are somewhat special. So we can't move the files from
the main user and we should try to get it from the intialized root
already.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-22 13:40:10 +00:00
Roeland Jago Douma 7f3faa7165
Merge pull request #25262 from nextcloud/backport/25255/stable19
[stable19] also use storage copy when dav copying directories
2021-01-22 14:37:04 +01:00
Morris Jobke 7365caae24
Merge pull request #25264 from nextcloud/backport/25253/stable19
[stable19] silence log message
2021-01-22 10:25:19 +01:00
Nextcloud bot 3d794c39b9
[tx-robot] updated from transifex 2021-01-22 02:20:15 +00:00
Arthur Schiwon a6dd38b718 silence log message
- this appears too often (in some configurations) when qualifying group
members which do not meet the criteria

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-21 21:12:22 +00:00
Robin Appelman 69331b22c6 also use storage copy when dav copying directories
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-21 21:09:30 +00:00
Nextcloud bot 3fbb1c4370
[tx-robot] updated from transifex 2021-01-21 02:20:56 +00:00
Nextcloud bot ca377d2f41
[tx-robot] updated from transifex 2021-01-20 02:21:14 +00:00
Nextcloud bot 947012e567
[tx-robot] updated from transifex 2021-01-19 02:21:06 +00:00
Nextcloud bot 7c13a6f31c
[tx-robot] updated from transifex 2021-01-18 02:19:48 +00:00
Nextcloud bot 00062c3543
[tx-robot] updated from transifex 2021-01-17 02:20:16 +00:00
Nextcloud bot f21d31176b
[tx-robot] updated from transifex 2021-01-15 02:20:45 +00:00
Arthur Schiwon b4d83c6f02
silence psalm false positive
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-15 00:53:42 +01:00
Arthur Schiwon e57d8d6521
respect DB limits limit per statement and query
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-15 00:53:22 +01:00
Nextcloud bot 9e5134b241
[tx-robot] updated from transifex 2021-01-14 02:19:23 +00:00
Nextcloud bot 004cacffca
[tx-robot] updated from transifex 2021-01-13 02:20:40 +00:00
Nextcloud bot 9845401931
[tx-robot] updated from transifex 2021-01-12 02:20:10 +00:00
Nextcloud bot f5c98642f7
[tx-robot] updated from transifex 2021-01-11 02:20:14 +00:00
Nextcloud bot 638d2b30ab
[tx-robot] updated from transifex 2021-01-10 02:22:59 +00:00
Nextcloud bot c096999904
[tx-robot] updated from transifex 2021-01-09 02:21:55 +00:00
Nextcloud bot 2a5262b47b
[tx-robot] updated from transifex 2021-01-08 02:22:50 +00:00
Morris Jobke ac8a64a59c
Merge pull request #24591 from nextcloud/backport/24358/stable19
[stable19] use storage copy implementation when doing dav copy
2021-01-07 13:29:08 +01:00
Roeland Jago Douma a713fb71a1
Merge pull request #24973 from nextcloud/backport/24964/stable19
[stable19] Don't throw a 500 when importing a broken ics reminder file
2021-01-07 09:08:15 +01:00
Nextcloud bot dee242da1a
[tx-robot] updated from transifex 2021-01-06 02:20:20 +00:00
Joas Schilling 6cab0e695c Don't throw a 500 when importing a broken ics reminder file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-05 12:02:03 +00:00
Julius Härtl fc667af3c9
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-05 10:06:32 +01:00
Julius Härtl 0d0cc44ccd
Show unique displayname context in the user share list entries
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-05 10:06:32 +01:00
Julius Härtl d77b3345b2
Show unique displayname context in the sharing input
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-05 10:06:32 +01:00
Julius Härtl 177a30b07f
Make share results distinguishable if there are more than one with the exact same display name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-05 10:06:32 +01:00
Roeland Jago Douma 1dc3f0f48e
Merge pull request #24762 from nextcloud/backport/24515/stable19
[stable19] fixes sharing to group ids with characters that are being url encoded
2021-01-05 09:09:12 +01:00
Nextcloud bot 6ea1157822
[tx-robot] updated from transifex 2021-01-05 02:21:47 +00:00
Nextcloud bot 77fc8f394a
[tx-robot] updated from transifex 2021-01-04 02:22:07 +00:00
Nextcloud bot f801758704
[tx-robot] updated from transifex 2021-01-03 02:21:16 +00:00
Nextcloud bot 9520bc2010
[tx-robot] updated from transifex 2021-01-01 02:21:21 +00:00
Nextcloud bot faf572163a
[tx-robot] updated from transifex 2020-12-31 02:27:21 +00:00
Nextcloud bot 4bff74a4e0
[tx-robot] updated from transifex 2020-12-30 02:19:28 +00:00
Nextcloud bot 25a65a34a7
[tx-robot] updated from transifex 2020-12-29 02:20:11 +00:00
Daniel Calviño Sánchez acdf895c2d Fix total upload size overwritten by next upload
The upload progress is based on the "totalToUpload" variable. However,
as the variable is set when an upload is submitted, if another upload is
submitted before the previous one finished the upload progress only took
into account the size of the new upload (although the upload itself
worked fine; the files of the new submitted upload are added to the
active one). Now "totalToUpload" is either increased or set depending on
whether an upload is active or not.

Note that although "data.total" holds the total size of the files being
uploaded "totalToUpload" needs to be used in "fileuploadprogressall"
instead; "totalToUpload" is calculated when the upload is submitted, but
since 7c4c5fe6ae the actual upload of the files, and thus updating the
value of "data.total", may be deferred until the parent folders were
created.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-28 10:24:12 +00:00
Nextcloud bot 6a85c12b4b
[tx-robot] updated from transifex 2020-12-28 02:19:28 +00:00
Nextcloud bot 085a0dd8c0
[tx-robot] updated from transifex 2020-12-27 02:25:03 +00:00
Nextcloud bot 91b383cb81
[tx-robot] updated from transifex 2020-12-26 02:20:08 +00:00
Nextcloud bot 9244f2e798
[tx-robot] updated from transifex 2020-12-24 02:20:28 +00:00
Nextcloud bot ef46f3c20a
[tx-robot] updated from transifex 2020-12-23 02:20:29 +00:00
Nextcloud bot 5d6cdabb88
[tx-robot] updated from transifex 2020-12-22 02:19:25 +00:00
Nextcloud bot 1d38b3a587
[tx-robot] updated from transifex 2020-12-20 02:19:49 +00:00
Nextcloud bot ad33f58934
[tx-robot] updated from transifex 2020-12-19 02:19:57 +00:00
Arthur Schiwon edd9562079
fixes sharing to group ids /w chars that are being url encoded, carddav
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-18 12:00:44 +01:00
Arthur Schiwon fede4f4197
fix finding of groups with decodable chars in their id via DAV
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-18 12:00:37 +01:00
Arthur Schiwon 5379273b06
fixes sharing to group ids with characters that are being url encoded
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-18 12:00:22 +01:00
Nextcloud bot 7467551d85
[tx-robot] updated from transifex 2020-12-18 02:20:29 +00:00
Nextcloud bot ebb5fd2745
[tx-robot] updated from transifex 2020-12-17 02:20:37 +00:00
Nextcloud bot 1bd5d0b10e
[tx-robot] updated from transifex 2020-12-16 02:21:00 +00:00
Nextcloud bot 200cc52aad
[tx-robot] updated from transifex 2020-12-15 02:22:32 +00:00
Nextcloud bot 0113df4f3b
[tx-robot] updated from transifex 2020-12-14 02:19:45 +00:00
Nextcloud bot 56df531fd1
[tx-robot] updated from transifex 2020-12-13 02:18:51 +00:00
Nextcloud bot cb1725f3d8
[tx-robot] updated from transifex 2020-12-12 02:19:05 +00:00
Nextcloud bot a18dea7c85
[tx-robot] updated from transifex 2020-12-11 02:20:35 +00:00
Nextcloud bot f2ee49e1cf
[tx-robot] updated from transifex 2020-12-10 02:20:35 +00:00
Nextcloud bot aa3af0f128
[tx-robot] updated from transifex 2020-12-09 02:20:06 +00:00