Commit Graph

4940 Commits

Author SHA1 Message Date
Roeland Jago Douma 09affbb162 Add bruteforce protection to the shareinfo endpoint
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-12 08:13:23 +00:00
Nextcloud bot b968ebfa87
[tx-robot] updated from transifex 2021-05-12 02:26:47 +00:00
Nextcloud bot 9d038540ef
[tx-robot] updated from transifex 2021-05-10 02:32:12 +00:00
Nextcloud bot 0339c3729e
[tx-robot] updated from transifex 2021-05-06 02:26:04 +00:00
Nextcloud bot 3eb7ff5e49
[tx-robot] updated from transifex 2021-05-04 02:26:48 +00:00
Nextcloud bot 5f13a3a6a9
[tx-robot] updated from transifex 2021-05-03 02:26:04 +00:00
Nextcloud bot 3b89f03484
[tx-robot] updated from transifex 2021-05-01 02:27:01 +00:00
Nextcloud bot ce3ef23d26
[tx-robot] updated from transifex 2021-04-30 02:28:21 +00:00
Roeland Jago Douma 4369d1cf1d
Merge pull request #26780 from nextcloud/backport/26765/stable19
[stable19] No longer add trusted servers on federated share creation
2021-04-29 08:19:44 +02:00
Nextcloud bot 88c1dd8d6e
[tx-robot] updated from transifex 2021-04-29 02:26:59 +00:00
Robin Appelman bbaf4ced3a catch notfound and forbidden exception in smb::getmetadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-28 11:53:12 +00:00
Roeland Jago Douma 6819208ad8 Bump composer
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-28 13:28:28 +02:00
Nextcloud bot 5eaa0973b7
[tx-robot] updated from transifex 2021-04-28 02:26:17 +00:00
Nextcloud bot d18aa63560
[tx-robot] updated from transifex 2021-04-27 02:26:05 +00:00
Nextcloud bot 44e37f211a
[tx-robot] updated from transifex 2021-04-25 02:25:23 +00:00
Nextcloud bot 739504bd10
[tx-robot] updated from transifex 2021-04-23 02:26:44 +00:00
Nextcloud bot e73034b95b
[tx-robot] updated from transifex 2021-04-21 02:26:35 +00:00
Roeland Jago Douma 3dac09a9d7 Make lookup search explicit
Speedsup sharee lookup quite a bit.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-20 08:39:32 +00:00
Nextcloud bot 16eed4a1ba
[tx-robot] updated from transifex 2021-04-20 02:26:29 +00:00
Nextcloud bot 69d60cbcaa
[tx-robot] updated from transifex 2021-04-19 02:26:35 +00:00
Nextcloud bot e5b67bfdb7
[tx-robot] updated from transifex 2021-04-17 02:24:35 +00:00
Nextcloud bot 46686de607
[tx-robot] updated from transifex 2021-04-15 02:25:40 +00:00
Nextcloud bot f988edd5f7
[tx-robot] updated from transifex 2021-04-14 02:27:20 +00:00
Nextcloud bot 0aed70e0db
[tx-robot] updated from transifex 2021-04-11 02:25:11 +00:00
Nextcloud bot 08c65167f4
[tx-robot] updated from transifex 2021-04-10 02:31:40 +00:00
Nextcloud bot 9b6cf09a8e
[tx-robot] updated from transifex 2021-04-04 02:25:14 +00:00
Nextcloud bot d702c66a9d
[tx-robot] updated from transifex 2021-04-02 02:26:32 +00:00
Julius Härtl f75e7e7b54
Show the actual error on share requests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-01 13:04:41 +02:00
Nextcloud bot e929afd4e8
[tx-robot] updated from transifex 2021-03-31 02:25:18 +00:00
Nextcloud bot 9bfbf3ff7c
[tx-robot] updated from transifex 2021-03-29 02:24:26 +00:00
Nextcloud bot 4e96d9a63a
[tx-robot] updated from transifex 2021-03-27 02:24:55 +00:00
Nextcloud bot 79a5ba1992
[tx-robot] updated from transifex 2021-03-26 02:26:01 +00:00
Nextcloud bot 7ae4b6b0aa
[tx-robot] updated from transifex 2021-03-25 02:26:05 +00:00
Nextcloud bot eeea77112e
[tx-robot] updated from transifex 2021-03-24 02:25:33 +00:00
Nextcloud bot bc5e51af7e
[tx-robot] updated from transifex 2021-03-23 02:24:33 +00:00
Nextcloud bot 6365e59aa9
[tx-robot] updated from transifex 2021-03-22 02:24:13 +00:00
Daniel Calviño Sánchez 05cbdddb0d 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:02:28 +00:00
Nextcloud bot 0e30c82f30
[tx-robot] updated from transifex 2021-03-18 02:25:29 +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
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
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
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
Nextcloud bot ad8a1bcc12
[tx-robot] updated from transifex 2021-03-08 02:23:37 +00:00
Nextcloud bot 18ba1854db
[tx-robot] updated from transifex 2021-03-04 02:22:39 +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 495cc2aa2c
[tx-robot] updated from transifex 2021-02-25 02:21:48 +00:00