Commit graph

58550 commits

Author SHA1 Message Date
Nextcloud bot
2d9fee1b4c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-18 02:27:44 +00:00
Nextcloud bot
d750eb1da8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-17 02:29:14 +00:00
Louis
2ed6fde50a
Merge pull request #30192 from nextcloud/backport/30157/stable21
[stable21] Properly format sharing datepicker locale
2021-12-16 13:30:18 +01:00
Louis Chemineau
bad74d6f62 Manual compilation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-12-16 11:22:22 +01:00
John Molakvoæ
d2e5fb6a7a Fix first day locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-16 11:17:51 +01:00
John Molakvoæ
7c89c7cce1 Properly format sharing datepicker locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-16 11:17:51 +01:00
Louis
6461853aab
Merge pull request #30287 from nextcloud/backport/30256/stable21
[stable21] Fix ShareLink Upload UI for Folders
2021-12-16 10:58:31 +01:00
Côme Chilliet
c5a8610163
Merge pull request #30261 from nextcloud/backport/29523/stable21
[stable21] Support LDAP dns longer than 255 characters
2021-12-16 09:06:45 +01:00
Nextcloud bot
ea743715ec
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-16 02:28:09 +00:00
Jonas Rittershofer
9a7592de93
Build assets
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-12-15 20:23:48 +01:00
Jonas Rittershofer
d4d6882f25
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:49:56 +01:00
Julius Härtl
a908f5f767
Merge pull request #30270 from nextcloud/search-folder-case-insensitive-21 2021-12-15 08:27:57 +01:00
Nextcloud bot
6ffe3ae0f2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-15 02:28:11 +00:00
Robin Appelman
f6024a895c
also use case sensitive like when searching in a folder
this case was missed from https://github.com/nextcloud/server/pull/29080

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-14 17:49:48 +01:00
Côme Chilliet
2f267e7fb7
Merge pull request #30117 from nextcloud/backport/30040/stable21
[stable21] Avoid calling image* methods on boolean
2021-12-14 13:52:20 +01:00
Côme Chilliet
e34ec33199
Avoid assignment in if clause
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:20:13 +01:00
Côme Chilliet
07997131d3
Fix typing problems in OC_Image
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:20:13 +01:00
Côme Chilliet
3f10cf8996
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-14 11:20:13 +01:00
Côme Chilliet
f3632cf020
Adapt execute function name for stable21
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:04:37 +01:00
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