Carl Schwan
8cb63f3283
Handle external share with invalid host
...
remoteIsOwnCloud might throw an exception when the host is localhost.
Handle this case instead of aborting completely. The behavior is the
same as that is done 10 lines under it
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-29 17:13:06 +00:00
Nextcloud bot
ca5bf437ff
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-28 02:27:50 +00:00
Nextcloud bot
21a1ee161f
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-27 02:27:29 +00:00
Nextcloud bot
5e0865fa8b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-25 02:27:26 +00:00
Nextcloud bot
7ee3315de4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-24 02:29:22 +00:00
Nextcloud bot
a70dabfd94
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-23 02:27:58 +00:00
Nextcloud bot
dfb0c1f8f9
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-22 02:28:19 +00:00
John Molakvoæ
664a1cf90a
Merge pull request #30357 from nextcloud/backport/30305/stable22
2021-12-21 11:17:21 +01:00
Daniel Calviño Sánchez
738ca085cc
Fix persistent tooltip in the "new folder" input of the file picker
...
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.
Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).
The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-21 07:36:17 +00:00
Nextcloud bot
7329a5e81e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-21 02:28:05 +00:00
MichaIng
97d3f21df9
Merge pull request #30347 from nextcloud/backport/29965/stable22
...
[stable22] [stable23] Avoid use of iconv to get rid of unicode
2021-12-20 13:58:21 +01:00
Louis
819ea39db5
Merge pull request #30345 from nextcloud/backport/30322/stable22
...
[stable22] fix overlapping in the help settings section
2021-12-20 11:32:08 +01:00
Côme Chilliet
c891fffde8
[stable23] Avoid use of iconv to get rid of unicode
...
Using iconv for translit depends upon server configuration, locale, and
PHP version. Using htmlentities instead to have a consistent behavior
independent of configuration.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: MichaIng <micha@dietpi.com>
2021-12-20 09:57:43 +00:00
szaimen
8d7822587a
fix overlapping in the help settings section
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-20 09:33:11 +00:00
Louis
1a6fc7f7b5
Merge pull request #30307 from nextcloud/backport/30281/stable22
...
[stable22] Ignore non-existing groups when notifying group shares
2021-12-20 10:19:49 +01:00
Julius Härtl
8629ff9948
Merge pull request #30300 from nextcloud/backport/30119/stable22
2021-12-20 08:59:50 +01:00
Nextcloud bot
c1b2eedf04
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-20 02:29:50 +00:00
MichaIng
d9a3d0eb22
Merge pull request #30250 from nextcloud/backport/30193/stable22
...
[stable22] Fix setting up 2FA when no providers are set up but backup codes
2021-12-19 19:42:03 +01:00
Nextcloud bot
f68269f32c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-19 02:29:30 +00:00
dependabot[bot]
a2166d5020
Merge pull request #30323 from nextcloud/dependabot/composer/build/integration/stable22/sabre/dav-4.3.0
2021-12-19 00:36:21 +00:00
dependabot[bot]
9d0be1256b
Update sabre/dav requirement from 4.2.3 to 4.3.0 in /build/integration
...
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav ) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases )
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sabre-io/dav/compare/4.2.3...4.3.0 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-19 01:01:36 +01:00
Nextcloud bot
b5ec29686d
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-18 02:27:38 +00:00
Vincent Petry
c7e3ee9e0e
Discard share notification for non-existing groups
...
Group shares might exist even after a group got deleted.
This fix catches the situation and discards the notification for the
obsolete group.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <coding@schilljs.com>
2021-12-17 07:07:01 +00:00
Nextcloud bot
8ba1a2f7ff
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-17 02:29:05 +00:00
Azul
1ec793ab2b
fix translation source in directEditing templates
...
The 'Empty file' string is translated in `lib` - not in `core`.
Signed-off-by: Azul <azul@riseup.net>
2021-12-16 18:22:04 +00:00
Côme Chilliet
7f63268461
Merge pull request #30260 from nextcloud/backport/29523/stable22
...
[stable22] Support LDAP dns longer than 255 characters
2021-12-16 16:35:09 +01:00
Louis
97481259c3
Merge pull request #30288 from nextcloud/backport/30256/stable22
...
[stable22] Fix ShareLink Upload UI for Folders
2021-12-16 10:58:46 +01:00
Côme Chilliet
eeefca2658
Bump user_ldap version to make sure the migration runs
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:36 +01:00
Côme Chilliet
1523482047
Add missing copyright headers in migration steps
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:36 +01:00
Côme Chilliet
30507846bc
Use clearer names for variables
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:36 +01:00
Côme Chilliet
ddb9727be1
Add an index for directory_uuid as well
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:35 +01:00
Côme Chilliet
bab9964c01
Make sure that hash function returns a string
...
The documentation says it can return false, and even if that is highly
unlikely for sha256, better safe than sorry.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:35 +01:00
Côme Chilliet
bae8799e80
Add the columns and alter the index in Version1010Date20200630192842
...
This is to ensure new installations do not need to go through migration
history.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:35 +01:00
Côme Chilliet
aa65a4fe90
Fixes in migration step
...
We cannot set ldap_dn_hash column as notnull because it is empty for
existing users before postSchemaChange is called
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:34 +01:00
Côme Chilliet
581b1d8da6
Put back length check to have a clear error
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:34 +01:00
Côme Chilliet
343989aa52
Fixed migration step for user_ldap
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:33 +01:00
Joas Schilling
3ba2afbcdf
Fix variable names
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-16 09:05:33 +01:00
Côme Chilliet
072897cdf8
Change column names to ldap_dn and ldap_dn_hash and add migration
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:33 +01:00
Côme Chilliet
0843dda1bd
Support LDAP dns longer than 255 characters
...
Adds an ldap_full_dn column to store the dn, and only store a sha256
hash in the ldap_dn which is shorter and can be indexed without
trouble.
Migration still needs to be implemented.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:05:16 +01:00
Nextcloud bot
fcea22c1d5
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-16 02:27:59 +00:00
nextcloud-command
0e9e385ff0
Compile assets
...
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-15 19:07:40 +00:00
Jonas Rittershofer
04cbce5dc4
Fix ShareLink Upload UI for Folders
...
Do not show the Upload-Option if it is not allowed to check.
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-12-15 19:50:59 +01:00
Nextcloud bot
959cc738d6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-15 02:28:01 +00:00
Nextcloud bot
f9013678db
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-14 02:28:07 +00:00
Louis
c67013f0e0
Merge pull request #30247 from nextcloud/backport/30245/stable22
...
[stable22] Only wildcard search if enumeration is allowed
2021-12-13 18:40:41 +01:00
Christoph Wurst
ad52519918
Fix setting up 2FA when no providers are set up but backup codes
...
2FA set up is allowed when only backup codes are set up but no other
provider and no provider is failing.
This patch syncs up the login controller check with the challenge
controller check 10 lines above.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-13 15:59:11 +00:00
Louis Chemineau
6a1a9485cf
Fix backport
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-12-13 15:35:05 +01:00
Joas Schilling
e552806d46
Make psalm more happy
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:23:05 +00:00
Joas Schilling
76f5436f9b
Fix docs to make Psalm happier
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:23:04 +00:00
Joas Schilling
0b717bd056
Convert strict_search to wildcard property and add psalm docs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:23:04 +00:00