Julius Härtl
d9d54ce782
Merge pull request #29895 from nextcloud/bugfix/noid/check-for-invalid-characters-before-trimming
...
Check for invalid characters before trimming
2021-11-25 11:07:46 +01:00
Joas Schilling
599870980b
Correctly set the response after a ClientException as well
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 09:07:46 +01:00
Joas Schilling
d1203e9b5d
Add an integration test
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 09:07:34 +01:00
Joas Schilling
65d79bb592
Check for invalid characters before trimming
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 08:48:26 +01:00
Nextcloud bot
d42a28cd7c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-25 02:25:06 +00:00
Julius Härtl
2d19e2cfb5
Merge pull request #29826 from nextcloud/fix/noid/fix-personal-settings
2021-11-24 14:43:12 +01:00
MichaIng
657aff7d22
Merge pull request #29809 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.2.0
...
Update sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration
2021-11-24 14:42:35 +01:00
Vincent Petry
70f9e5e37d
Merge pull request #29869 from nextcloud/fix/28139/hide-status-from-public
...
Hide user status on profile from public
2021-11-24 11:23:59 +01:00
Vincent Petry
99f600270e
Merge pull request #29864 from nextcloud/bugfix/noid/dav-propfind-ctime
...
Allow to fetch the creation time of folders
2021-11-24 11:20:12 +01:00
Nextcloud bot
9d6496a999
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 02:25:52 +00:00
szaimen
0224687e23
Personalsettings - remove marginLeft as it breaks the layout
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-24 01:45:54 +00:00
Christopher Ng
be5b9e36cd
Hide user status from public
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-23 22:58:44 +00:00
Julius Härtl
a632ce35f5
Allow to fetch the creation time of folders
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-23 16:55:33 +01:00
dependabot[bot]
b544069d02
Update sabre/dav requirement from 3.2.3 to 4.2.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/3.2.3...4.2.0 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 15:58:45 +01:00
Vincent Petry
fd487c1a43
Merge pull request #29432 from nextcloud/fix/support-php-8.1
...
Support PHP 8.1 - First batch
2021-11-23 15:41:20 +01:00
Côme Chilliet
20dd46fcae
Merge pull request #29610 from nextcloud/fix/user_ldap-logger
...
Get rid of user_ldap LogWrapper and use LoggerInterface
2021-11-23 15:26:25 +01:00
Joas Schilling
244b785989
Merge pull request #29791 from nextcloud/bugfix/noid/status-editing
...
Fix multiple bugs with user status
2021-11-23 14:36:10 +01:00
Carl Schwan
92fe694b7f
Fix multiple bugs with user status
...
* Fix editing the status while on a call, don't send a bogus request
* Clean backup user status when setting up a new status manually
* A bit more type hinting
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-23 12:21:42 +01:00
Côme Chilliet
7ac895e766
Move back logger to protected in OCA\User_LDAP\User\User
...
It was changed to private because of a bad copy/paste.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 11:06:14 +01:00
szaimen
a72af6acc3
Merge pull request #29833 from nextcloud/fix/29340/fix-mobile-profilepage
...
make profile page usable on mobile
2021-11-23 11:05:05 +01:00
Vincent Petry
3040386bf8
Merge pull request #29835 from nextcloud/bugfix/noid/fix-ipv4-mapped-ipv6-subnet
...
Fix getting subnet of ipv4 mapped ipv6 addresses
2021-11-23 10:36:46 +01:00
Vincent Petry
079c4c82d3
Merge pull request #29836 from nextcloud/fix/user_ldap-deletion
...
Make sure mapping cache is cleared when deleting a user
2021-11-23 10:22:59 +01:00
szaimen
4d92f42f19
make profile page usable on mobile
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 09:18:50 +00:00
Côme Chilliet
18a91f02fa
Fix default value for $type in OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::literal
...
This fixes PHP errors about passing null to PDO::quote second parameter.
We may want to change IExpressionBuilder as well?
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:02 +01:00
Côme Chilliet
10dfdedcbd
Fix errors from files applications tests on PHP 8.1
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:02 +01:00
Côme Chilliet
5cd5245ca8
Fix dav application tests and code for PHP 8.1
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:01 +01:00
Côme Chilliet
5a20e20e9e
Fix errors in AvatarController when data() returns null
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:01 +01:00
Côme Chilliet
8b271b8a12
Fix tests and avoid PHP errors in them
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:01 +01:00
Côme Chilliet
cd72045433
Make mock config return default value to fix warnings
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:00 +01:00
Côme Chilliet
25fa0b8acd
Fix TempManager test errors about passing null to is_dir
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:00 +01:00
Côme Chilliet
ee7ef77808
Fix warning about passing null to substr_count
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:00 +01:00
Côme Chilliet
9d170f1269
Fix warning about passing null to rtrim
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:59 +01:00
Côme Chilliet
065531570d
Fix Encryption tests on PHP 8.1
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:59 +01:00
Côme Chilliet
bb9c099e42
Fix FolderTest calls to Mountpoint constructor with wrong type
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:59 +01:00
Côme Chilliet
008b79d808
Fix type errors
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:58 +01:00
Côme Chilliet
3a1b3745eb
Fix DateTime constructor calls with null
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:58 +01:00
Côme Chilliet
bc3acfc957
Fix test class names
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:57 +01:00
Côme Chilliet
66bdda568a
Fix Guzzle function calls
...
Since 1.7.0 and 2.0 these functions are turned into static methods.
See https://github.com/guzzle/psr7#upgrading-from-function-api
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:57 +01:00
Côme Chilliet
af7bf98cba
Fix Iterator return types
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:57 +01:00
Côme Chilliet
113756db30
Fix ArrayAccess and JsonSerializable return types
...
First round of modifications for PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:56 +01:00
Nextcloud bot
129de6079e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 02:25:56 +00:00
Pytal
7182a52452
Merge pull request #29544 from nextcloud/fix/profile-page-wording
2021-11-22 17:22:53 -08:00
Pytal
f7ab878503
Merge pull request #29567 from nextcloud/enh/sort-profile-visibility-dropdowns
2021-11-22 17:21:18 -08:00
Christopher Ng
6a8b2d86fe
Fix wording on profile page
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 00:23:56 +00:00
Christopher Ng
697a6935a4
Improve sorting
...
- Extract sort logic into a separate function
- Sort non-core parameters with localeCompare
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 00:22:07 +00:00
Vincent Petry
19f41a60a0
Type hint in IpAddress
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2021-11-22 17:36:26 +01:00
Vincent Petry
f01ad7b8d8
Improve normalizer detecting IPv4 inside of IPv6
...
The subnet for an IPv4 address inside of IPv6 is now returned in its
IPv4 form.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-22 16:46:25 +01:00
Côme Chilliet
26330cb774
Test cache invalidation for AbstractMapping in test suite
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-22 14:57:08 +01:00
Côme Chilliet
51ea7dc020
Make sure mapping cache is cleared when deleting a user
...
This avoids phantom remnants staying after user deletion
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-22 14:49:34 +01:00
Vincent Petry
7e08a4ab15
Fix getting subnet of ipv4 mapped ipv6 addresses
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-22 14:10:11 +01:00