Commit Graph

5136 Commits

Author SHA1 Message Date
Nextcloud bot c27540accf
[tx-robot] updated from transifex 2021-05-16 02:26:56 +00:00
Roeland Jago Douma 6bc2d6d68e Add bruteforce protection to the shareinfo endpoint
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-12 08:09:14 +00:00
Nextcloud bot 3bcc23ba2c
[tx-robot] updated from transifex 2021-05-12 02:26:28 +00:00
Nextcloud bot 08b74729b9
[tx-robot] updated from transifex 2021-05-10 02:31:52 +00:00
Nextcloud bot 8d91e00dcb
[tx-robot] updated from transifex 2021-05-06 02:25:46 +00:00
Nextcloud bot 0975394ba3
[tx-robot] updated from transifex 2021-05-04 02:26:29 +00:00
Nextcloud bot 1c1d6a03ff
[tx-robot] updated from transifex 2021-05-03 02:25:48 +00:00
Nextcloud bot a67681c8d0
[tx-robot] updated from transifex 2021-05-01 02:26:44 +00:00
Nextcloud bot b6160045f4
[tx-robot] updated from transifex 2021-04-30 02:28:02 +00:00
Nextcloud bot 009b212684
[tx-robot] updated from transifex 2021-04-29 02:26:41 +00:00
Nextcloud bot 070380d9da
[tx-robot] updated from transifex 2021-04-28 02:25:56 +00:00
Nextcloud bot 3012794e06
[tx-robot] updated from transifex 2021-04-27 02:25:47 +00:00
Nextcloud bot 8676d77eec
[tx-robot] updated from transifex 2021-04-25 02:25:06 +00:00
Nextcloud bot cdb9eb401e
[tx-robot] updated from transifex 2021-04-23 02:26:26 +00:00
Nextcloud bot 3d24aef406
[tx-robot] updated from transifex 2021-04-21 02:26:16 +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
Nextcloud bot 7482baf138
[tx-robot] updated from transifex 2021-04-20 02:26:12 +00:00
Nextcloud bot f1d7e56cab
[tx-robot] updated from transifex 2021-04-19 02:26:19 +00:00
Nextcloud bot c5e0d912c5
[tx-robot] updated from transifex 2021-04-17 02:24:17 +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 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 e85188f429
[tx-robot] updated from transifex 2021-04-04 02:24:59 +00:00
Nextcloud bot e14860c8f2
[tx-robot] updated from transifex 2021-04-02 02:26:17 +00:00
Nextcloud bot 6d70bd9246
[tx-robot] updated from transifex 2021-03-31 02:25:01 +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
Nextcloud bot d6156b970b
[tx-robot] updated from transifex 2021-03-29 02:24:09 +00:00
Nextcloud bot dd99255087
[tx-robot] updated from transifex 2021-03-27 02:24:38 +00:00
Nextcloud bot 9ddc6df797
[tx-robot] updated from transifex 2021-03-26 02:25:43 +00:00
Nextcloud bot 769c6fedad
[tx-robot] updated from transifex 2021-03-25 02:25:48 +00:00
Nextcloud bot ef273fef4b
[tx-robot] updated from transifex 2021-03-24 02:25:17 +00:00
Nextcloud bot c60f0e06d0
[tx-robot] updated from transifex 2021-03-23 02:24:15 +00:00
Nextcloud bot 2e2d2e79e8
[tx-robot] updated from transifex 2021-03-22 02:23:56 +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
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
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 120aefb795
Merge pull request #26133 from nextcloud/backport/25136/stable21
[stable21] do cachejail search filtering in sql
2021-03-16 16:59:29 +01:00
Robin Appelman ec0985ba68 fix search in nested jails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-15 17:51:33 +00:00
Vincent Petry f109677856 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:16 +00:00
Nextcloud bot 7c21fba61f
[tx-robot] updated from transifex 2021-03-15 02:24:10 +00:00
Julius Härtl cd5e27e3f3
Add appconfig to always show the unique label of a sharee
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-11 15:32:26 +01:00
Vincent Petry ec443159af 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-11 10:05:31 +00: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
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
Nextcloud bot 48df1bef17
[tx-robot] updated from transifex 2021-03-08 02:23:21 +00: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
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