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 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
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
Joas Schilling
3879c2eb1e
Limit more contact searches
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:23:04 +00:00
Joas Schilling
1d7971bf41
Only limit search in the system address book
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:23:04 +00:00
Joas Schilling
631b5fc64b
Only wildcard search if enumeration is allowed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:23:04 +00:00
Côme Chilliet
db8ed046d4
Merge pull request #30116 from nextcloud/backport/30040/stable22
...
[stable22] Avoid calling image* methods on boolean
2021-12-13 10:40:31 +01:00
Côme Chilliet
df23d75930
Avoid assignment in if clause
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:35:00 +01:00
Côme Chilliet
4c3f9830a2
Fix typing problems in OC_Image
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:34:59 +01:00
Côme Chilliet
df7de41af2
Avoid calling image* methods on boolean
...
This avoids fatal errors on PHP>=8, and warnings on older versions.
Log should also be clearer.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:34:35 +01:00
Nextcloud bot
9330b4522c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-13 02:27:55 +00:00
dependabot[bot]
38fbaec9cd
Merge pull request #30209 from nextcloud/dependabot/composer/build/integration/stable22/sabre/dav-4.2.3
2021-12-12 02:37:32 +00:00
Nextcloud bot
f1c4795ea6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-12 02:28:29 +00:00
dependabot[bot]
68121a95e7
Update sabre/dav requirement from 4.2.1 to 4.2.3 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.1...4.2.3 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-12 02:50:44 +01:00
Nextcloud bot
1ea03d346e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-11 02:27:42 +00:00
Pytal
e9d52bba9f
Merge pull request #30191 from nextcloud/backport/30157/stable22
2021-12-10 17:32:35 -08:00
Vincent Petry
f79f930176
Merge pull request #30188 from nextcloud/backport/30164/stable22
...
[stable22] Use correct icon for dir-external-root
2021-12-10 13:24:12 +01:00
John Molakvoæ
1e77ba0e7a
Fix first day locale
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-10 10:33:11 +00:00
John Molakvoæ
9e4e1c3dd3
Properly format sharing datepicker locale
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-10 09:50:28 +00:00
Vincent Petry
fdf8cd17a2
Use correct icon for dir-external-root
...
When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.
This fixes the logic to use the "folder-external" icon in such
scenarios.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-10 09:32:18 +00:00
John Molakvoæ
7936aec4fe
Merge pull request #30185 from nextcloud/backport/30032/stable22
2021-12-10 09:42:06 +01:00
Vincent Petry
b880b9507e
Merge pull request #30181 from nextcloud/backport/30160/stable22
...
[stable22] Check resource before closing in encryption wrapper
2021-12-10 08:56:12 +01:00
John Molakvoæ
b552105299
Merge pull request #30177 from nextcloud/backport/30168/stable22
2021-12-10 08:47:34 +01:00
Joas Schilling
0cd2f885eb
Add an index for selecting the next job
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-10 07:43:09 +00:00
Nextcloud bot
86f2f81740
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-10 02:27:32 +00:00
Vincent Petry
76e5b1af7c
Check resource before closing in encryption wrapper
...
In case of error there is no guarantee that $source or $target is set or
is a resource when handling an error.
Without this fix, there's a risk that fclose will fail and the actual
exception will not be thrown, making it impossible to find out about the
root cause.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-10 00:07:49 +00:00
Pytal
0774a94044
Merge pull request #30171 from nextcloud/fix/jsunit
2021-12-09 15:12:53 -08:00
John Molakvoæ
c1592adc2d
Allow to delete non-migrated previews instead of moving them
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-09 23:03:11 +00:00
John Molakvoæ
668895ad25
Jsunit requires npm6
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-09 17:45:43 +01:00
John Molakvoæ
2f1345b202
Merge pull request #30145 from nextcloud/backport/29968/stable22
2021-12-09 10:33:53 +01:00
Daniel Calviño Sánchez
bf499c0bae
Remove no longer needed CSS rules
...
Since Nextcloud 22 the "#new-user" rules had no effect, as the DOM
structure changed to show a dialog rather than adding a row on top of
the list when adding new users.
Similarly, the z-index was no longer needed, as there will be no
"new-user" row that could overlap. Moreover, the z-index was set even
higher (100) in another rule still active.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-09 07:16:46 +01:00
Daniel Calviño Sánchez
aa8b11ca57
Fix input for groups validation in new user form
...
The hidden input used for form validation was not actually hidden since
Nextcloud 22, as the DOM structure changed to show a dialog rather than
adding a row on top of the list when adding new users, so the CSS rules
no longer matched.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-09 07:16:46 +01:00
Nextcloud bot
bda1956b2c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-09 02:29:38 +00:00
Louis
010be3d775
Merge pull request #30057 from nextcloud/backport/29735/stable22
...
[stable22] find users for background scan one by one
2021-12-08 17:57:46 +01:00
MichaIng
bb44a150a2
Merge pull request #30152 from nextcloud/backport/30141/stable22
...
[stable22] Reload page instead of file list when getting 401 authentification error
2021-12-08 14:33:09 +01:00
Carl Schwan
41f6437598
Reload page on 401 since there is an authentification problem
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-08 11:45:07 +00:00