Côme Chilliet
774636efab
Bump user_ldap version to make sure the migration runs
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:03:53 +01:00
Côme Chilliet
5e345f80ce
Add missing copyright headers in migration steps
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:03:21 +01:00
Côme Chilliet
ded493de06
Use clearer names for variables
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:00:53 +01:00
Côme Chilliet
44fe945d39
Add an index for directory_uuid as well
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:57 +01:00
Côme Chilliet
41e365aa3b
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-14 10:58:47 +01:00
Côme Chilliet
d8263692d0
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-14 10:58:37 +01:00
Côme Chilliet
94b5b21e8c
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-14 10:58:30 +01:00
Côme Chilliet
8367bda445
Put back length check to have a clear error
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:22 +01:00
Côme Chilliet
dd8d90923e
Fixed migration step for user_ldap
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:13 +01:00
Joas Schilling
c90f9b52d0
Fix variable names
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-14 10:58:04 +01:00
Côme Chilliet
8904c51ca9
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-14 10:57:50 +01:00
Côme Chilliet
071a58a7f4
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-14 10:57:39 +01:00
Nextcloud bot
050b680d1d
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-14 02:28:14 +00:00
Nextcloud bot
dffe146fbb
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-13 02:28:06 +00:00
Nextcloud bot
cc65c84f01
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-12 02:28:37 +00:00
MichaIng
bd2f0726a3
Merge pull request #30216 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.2.3
...
Update sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration
2021-12-11 13:48:47 +01:00
dependabot[bot]
6dbe716289
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-11 03:51:32 +00:00
Nextcloud bot
26391687ee
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-11 02:27:48 +00:00
Vincent Petry
4b287bb34e
Merge pull request #30189 from nextcloud/backport/30164/stable21
...
[stable21] Use correct icon for dir-external-root
2021-12-10 13:24:14 +01:00
Vincent Petry
b12e1e3ca2
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:36:03 +00:00
Vincent Petry
4df4e6ea4d
Merge pull request #30182 from nextcloud/backport/30160/stable21
...
[stable21] Check resource before closing in encryption wrapper
2021-12-10 08:56:26 +01:00
John Molakvoæ
d7c34cc111
Merge pull request #30178 from nextcloud/backport/30168/stable21
2021-12-10 08:46:56 +01:00
Nextcloud bot
8697d25412
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-10 02:27:38 +00:00
Vincent Petry
65d4d30251
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:10:44 +00:00
John Molakvoæ
3f6cceae41
Allow to delete non-migrated previews instead of moving them
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-09 23:06:36 +00:00
Nextcloud bot
80ff47e829
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-09 02:29:49 +00:00
Louis
f41c1fffff
Merge pull request #30056 from nextcloud/backport/29735/stable21
...
[stable21] find users for background scan one by one
2021-12-08 18:06:00 +01:00
MichaIng
26089a7b69
Merge pull request #30153 from nextcloud/backport/30141/stable21
...
[stable21] Reload page instead of file list when getting 401 authentification error
2021-12-08 14:32:20 +01:00
Carl Schwan
5aef34de49
Reload page on 401 since there is an authentification problem
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-08 11:48:35 +00:00
Carl Schwan
c003a56816
Stop reloading file list when getting 401 error on root dir
...
When reaching the root dir, instead of reloading the file list we reload
the page completely. This trigger a redirection to the login page automatically
with the correct ?redirect_url= in thr url.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-08 11:48:35 +00:00
Julius Härtl
5a47384300
Merge pull request #30138 from nextcloud/backport/30134/stable21
2021-12-08 09:07:27 +01:00
Nextcloud bot
c6b705dde6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 02:29:04 +00:00
Julien Veyssier
1f08556e47
do not trigger events when setting active view in gotoplugin
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-12-07 14:47:47 +00:00
Nextcloud bot
e653cd2d7b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-07 02:40:16 +00:00
Louis
e8ac610ef7
Merge pull request #30109 from nextcloud/backport/30104/stable21
...
[stable21] Strengthify is now in the Nextcloud org
2021-12-06 15:58:29 +01:00
John Molakvoæ
fda86f8c8c
Merge pull request #29834 from nextcloud/carl/bugfix/file-search-21
2021-12-06 14:51:55 +01:00
Joas Schilling
814145d19c
Strengthify is now in the Nextcloud org
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-06 10:31:19 +01:00
Nextcloud bot
d9e5960aff
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-06 02:30:47 +00:00
Nextcloud bot
92b5bcfbfb
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-05 02:30:41 +00:00
MichaIng
c15daa75fa
Merge pull request #30082 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.2.1
...
Update sabre/dav requirement from 4.2.0 to 4.2.1 in /build/integration
2021-12-05 02:16:35 +01:00
dependabot[bot]
328c0cd9f9
Update sabre/dav requirement from 4.2.0 to 4.2.1 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.0...4.2.1 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-04 03:05:53 +00:00
Nextcloud bot
4d3b8260e8
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-04 02:31:03 +00:00
John Molakvoæ
2efd975380
Merge pull request #30064 from nextcloud/backport/30046/stable21
2021-12-03 09:03:21 +01:00
Nextcloud bot
448b41feda
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-03 02:29:34 +00:00
Christoph Wurst
645bea5a04
Close open cursor in the caldav back-end
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-03 02:03:37 +00:00
John Molakvoæ
c8c198715e
Merge pull request #30023 from nextcloud/backport/30018/stable21
2021-12-02 22:27:49 +01:00
Christopher Ng
89b309d8aa
Fix collaborative tags styles
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-02 20:01:07 +00:00
Robin Appelman
d89ce5a410
fix tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman
f70f9cf1be
code checker fixes for instanceOfStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman
ac28e0aefd
stop background scan early if a users still has unscanned files after background scan
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00