Nextcloud bot
46a264b2a2
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-30 02:26:45 +07:00
Nextcloud bot
b1b5f9755b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-29 02:25:31 +07:00
Nextcloud bot
d42c2ed50e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-28 02:24:00 +07:00
Nextcloud bot
b675d50092
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-27 02:26:20 +07:00
MichaIng
6d8cf37f06
Merge pull request #29907 from nextcloud/backport/29902/stable21
...
[stable21] Check for invalid characters before trimming
2021-11-26 14:22:04 +07:00
Nextcloud bot
5bafc9a729
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-26 02:46:29 +07:00
MichaIng
e5daae9101
Merge pull request #29803 from nextcloud/backport/29632/stable21
...
[stable21] fix imagecreatetruecolor() error
2021-11-25 17:14:08 +07:00
MichaIng
5006fc178d
Merge pull request #28199 from nextcloud/backport/26936/stable21
...
[stable21] better cleanup of filecache when deleting an external storage
2021-11-25 17:10:29 +07:00
Joas Schilling
9cc47c5e1f
Correctly set the response after a ClientException as well
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 15:34:35 +07:00
Joas Schilling
933a967896
Add an integration test
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 15:34:35 +07:00
Joas Schilling
f700abc889
Check for invalid characters before trimming
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 15:34:35 +07:00
blizzz
2dd3b6f0b1
Merge pull request #29851 from nextcloud/backport/29836/stable21
...
[stable21] Make sure mapping cache is cleared when deleting a user
2021-11-25 13:08:04 +07:00
Nextcloud bot
df1f11ca00
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-25 02:25:26 +07:00
Pytal
0e1e95e372
Merge pull request #29883 from nextcloud/backport/28519/stable21
2021-11-24 11:03:59 +07:00
Julius Härtl
a830688418
Add active user count to occ user:report
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-24 14:03:52 +07:00
MichaIng
9db07032d5
Use pre-v22 query commands
...
Signed-off-by: MichaIng <micha@dietpi.com>
2021-11-24 14:47:23 +07:00
Robin Appelman
a3dc399e2f
better cleanup of filecache when deleting an external storage
...
this way it can delete the cache entries even with per-user credentials
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-24 14:47:23 +07:00
Christoph Wurst
d0c5a24f81
Merge pull request #29764 from nextcloud/backport/29752/stable21
...
[stable21] Explicitly allow some routes without 2FA
2021-11-24 14:39:05 +07:00
Nextcloud bot
28f41da186
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 02:26:17 +07:00
Vincent Petry
7f8c8b1462
Merge pull request #29853 from nextcloud/backport/29835/stable21
...
[stable21] Fix getting subnet of ipv4 mapped ipv6 addresses
2021-11-23 14:03:35 +07:00
Vincent Petry
264b329aaf
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-23 10:28:20 +07:00
Vincent Petry
d9a5f2867e
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-23 10:28:20 +07:00
Vincent Petry
87af149292
Fix getting subnet of ipv4 mapped ipv6 addresses
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-23 10:28:20 +07:00
Côme Chilliet
fb376f5132
Test cache invalidation for AbstractMapping in test suite
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 10:23:14 +07:00
Côme Chilliet
23f42f3b50
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-23 10:23:14 +07:00
MichaIng
fb701e344e
Merge pull request #29629 from nextcloud/backport/29611/stable21
...
[stable21] Show most recently deleted files first in trash can
2021-11-23 03:54:52 +07:00
Nextcloud bot
0102cb9e1a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 02:26:21 +07:00
MichaIng
cb84c089f0
Merge pull request #29840 from nextcloud/backport/29708/stable21
...
[stable21] Do not print verbose info about app updates if there are none
2021-11-22 23:31:37 +07:00
Christoph Wurst
d0689fb707
Do not print verbose info about app updates if there are none
...
This is cosmetical but if you have a large number of apps installed then
you'll see a wall of text during the server and app upgrade when it
tries to update each app via the app store. In may cases nothing will be
updated. For those boring cases we can hide the verbose info, but show
when occ is run with -v. Any actual update will still print a few lines.
Those are the important ones for the admin.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-22 20:54:58 +07:00
Louis
1256331c77
Merge pull request #29810 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.2.0
...
Update sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration
2021-11-22 15:32:58 +07:00
Louis Chemineau
c176dc2293
Manual compilation
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-11-22 11:32:37 +07:00
Louis
9e2381b10b
Merge pull request #29811 from nextcloud/dependabot/npm_and_yarn/stable21/camelcase-6.2.1
...
Bump camelcase from 6.2.0 to 6.2.1
2021-11-22 11:06:04 +07:00
Nextcloud bot
6b15557839
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-22 02:45:55 +07:00
MichaIng
e33bc51ee0
Merge pull request #29794 from nextcloud/backport/29605/stable21
...
[stable21] Normalize file name before existence check in scanner
2021-11-21 20:03:07 +07:00
dependabot[bot]
4f1bfc7519
Bump camelcase from 6.2.0 to 6.2.1
...
Bumps [camelcase](https://github.com/sindresorhus/camelcase ) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/sindresorhus/camelcase/releases )
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.2.0...v6.2.1 )
---
updated-dependencies:
- dependency-name: camelcase
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-21 19:18:08 +07:00
dependabot[bot]
741a202d01
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-21 16:08:03 +07:00
Nextcloud bot
cda4df035c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-21 02:25:46 +07:00
Nextcloud bot
62940d322e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-20 02:42:30 +07:00
szaimen
9e2775deb7
fix imagecreatetruecolor() error
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-19 20:17:21 +07:00
Vincent Petry
ca37664887
Normalize directory entries in Encoding wrapper
...
Directory entry file names are now normalized in getMetaData(),
getDirectoryContents() and opendir().
This makes the scanner work properly as it assumes pre-normalized names.
In case the names were not normalized, the scanner will now skip the
entries and display a warning when applicable.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:39 +07:00
Vincent Petry
88b5860e70
Move storage encoding compatibility warning logic
...
The encoding check for file names is now happening the Scanner, and an
event will be emitted only if the storage doesn't contain the encoding
compatibility wrapper.
The event is listened to by the occ scan command to be able to display a
warning in case of file name mismatches when they have NFD encoding.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:39 +07:00
Vincent Petry
2e79444828
Normalize file name before existence check in scanner
...
The scanner would not find a NFD-encoded file name in an
existing file list that is normalized.
This normalizes the file name before scanning.
Fixes issues where scanning repeatedly would make NFD files flicker in
and out of existence in the file cache.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:39 +07:00
Nextcloud bot
03ccb6a09f
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-19 02:38:40 +07:00
Christoph Wurst
fc5b49082f
Explicitly allow some routes without 2FA
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-18 13:28:43 +07:00
Nextcloud bot
8a25826610
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-18 02:26:06 +07:00
Vincent Petry
18c190f6a3
Merge pull request #29742 from nextcloud/backport/29695/stable21
...
[stable21] Fix missing setlocale with php 8
2021-11-17 13:12:11 +07:00
Naoto Kobayashi
cbccddcf6e
OC_Util::isNonUTF8Locale: fix lint error
...
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:41 +07:00
Naoto Kobayashi
b01048bafc
OC_Util::isSetLocaleWorking: fix typo
...
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:40 +07:00
Naoto Kobayashi
b9b1ef1319
OC_Util: Add fallbacks to check if current locale is UTF8
...
Using escapeshellcmd to get current locale causes error
if the function is disabled.
Add fallbacks to prevent the error.
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:40 +07:00
Naoto Kobayashi
7bb43a1e13
Add check whether escapeshellcmd behaves the same as basename
...
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:40 +07:00