Commit graph

59753 commits

Author SHA1 Message Date
Nextcloud bot
e583ef380b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-30 02:26:35 +00:00
Nextcloud bot
de79073c98
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-29 02:25:21 +00:00
MichaIng
8005e745c1
Merge pull request #29839 from nextcloud/backport/29708/stable22
[stable22] Do not print verbose info about app updates if there are none
2021-11-28 14:30:28 +01:00
Christoph Wurst
b030114b39 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-28 04:27:08 +01:00
Nextcloud bot
5128297a21
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-28 02:23:53 +00:00
Nextcloud bot
1fc126ece7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-27 02:26:09 +00:00
Carl Schwan
0b3d763907
Merge pull request #29912 from nextcloud/backport/29906/stable22
[stable22] Use strict comparison to detect usage of redis cluster
2021-11-26 11:16:33 +01:00
Nextcloud bot
0818069dac
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-26 02:46:22 +00:00
Louis Chemineau
71b823782b Use strict comparison to detect usage of redis cluster
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-11-25 18:54:55 +00:00
szaimen
f64987b7f2
Merge pull request #29802 from nextcloud/backport/29632/stable22
[stable22] fix imagecreatetruecolor() error
2021-11-25 17:30:26 +01:00
MichaIng
b726e05a63
Merge pull request #29850 from nextcloud/backport/29836/stable22
[stable22] Make sure mapping cache is cleared when deleting a user
2021-11-25 17:15:27 +01:00
Louis
9e43ab5252
Merge pull request #29902 from nextcloud/backport/29895/stable22
[stable22] Check for invalid characters before trimming
2021-11-25 16:32:15 +01:00
Joas Schilling
ab20655f5d
Correctly set the response after a ClientException as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 15:40:59 +01:00
Joas Schilling
0c3217edfa
Add an integration test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 15:40:20 +01:00
Joas Schilling
696e4f16a5
Check for invalid characters before trimming
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 15:39:19 +01:00
Louis
62416a35ee
Merge pull request #29509 from nextcloud/backport/28385/stable22
[stable22] properly handle cases where cache wrappers block access
2021-11-25 14:36:39 +01:00
Nextcloud bot
24d284065b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-25 02:25:15 +00:00
Robin Appelman
c4fa59c540 properly handle cases where cache wrappers block access
`CacheWrapper::formatCacheEntry` can return false for files that should be filtered out

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-24 20:17:55 +01:00
Pytal
ac369f510c
Merge pull request #29884 from nextcloud/backport/28519/stable22 2021-11-24 11:01:47 -08:00
Julius Härtl
3a4ef8e87e Add active user count to occ user:report
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-24 14:03:53 +00:00
Vincent Petry
ae51c54c52
Merge pull request #29878 from nextcloud/backport/29864/stable22
[stable22] Allow to fetch the creation time of folders
2021-11-24 13:59:13 +01:00
Julius Härtl
6e1e0db13a Allow to fetch the creation time of folders
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-24 10:33:44 +00:00
Nextcloud bot
6759ee5caf
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 02:26:06 +00:00
Vincent Petry
fd883bda1a
Merge pull request #29852 from nextcloud/backport/29835/stable22
[stable22] Fix getting subnet of ipv4 mapped ipv6 addresses
2021-11-23 14:03:27 +01:00
MichaIng
f5db8a1bab
Merge pull request #29763 from nextcloud/backport/29752/stable22
[stable22] Explicitly allow some routes without 2FA
2021-11-23 13:25:17 +01:00
Vincent Petry
74eeca32ee 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:25:54 +00:00
Vincent Petry
cc0d10435b 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:25:54 +00:00
Vincent Petry
c247e237d7 Fix getting subnet of ipv4 mapped ipv6 addresses
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-23 10:25:54 +00:00
Côme Chilliet
d895cd9eaf Test cache invalidation for AbstractMapping in test suite
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 10:23:10 +00:00
Côme Chilliet
5b2764a2aa 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:10 +00:00
MichaIng
5478d72bc7
Merge pull request #29628 from nextcloud/backport/29611/stable22
[stable22] Show most recently deleted files first in trash can
2021-11-23 03:52:46 +01:00
Nextcloud bot
fc785c940d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 02:26:14 +00:00
Vincent Petry
3b66b4f0ea
Merge pull request #29795 from nextcloud/backport/29605/stable22
[stable22] Normalize file name before existence check in scanner
2021-11-22 09:39:19 +01:00
Nextcloud bot
24993be5da
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-22 02:45:46 +00:00
dependabot[bot]
cd6fb28ecb
Merge pull request #29812 from nextcloud/dependabot/npm_and_yarn/stable22/camelcase-6.2.1 2021-11-21 18:13:32 +00:00
dependabot[bot]
7bf64e7aec
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 17:44:37 +00:00
Nextcloud bot
4412afa468
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-21 02:25:39 +00:00
Nextcloud bot
6f97e1f8f5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-20 02:42:21 +00:00
szaimen
3da3e0f10b fix imagecreatetruecolor() error
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-19 19:51:38 +00:00
szaimen
a4e6ba1b50
Merge pull request #29790 from nextcloud/backport/29784/stable22
[stable22] App summary is optional
2021-11-19 16:24:23 +01:00
Vincent Petry
a721d346b9 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:40 +00:00
Vincent Petry
2b4badf768 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:40 +00:00
Vincent Petry
787d7956cb 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 +00:00
Joas Schilling
aea8e78fa5 App summary is optional
Fixing:
Error: Undefined index: summary at /var/www/html/apps/theming/lib/Controller/ThemingController.php#392

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-19 14:11:44 +00:00
Nextcloud bot
ab83f3ab0f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-19 02:38:28 +00:00
blizzz
7efa3552e6
Merge pull request #29762 from nextcloud/revert/bcfd4ed5910d29423bfa86214a3b595fe8e92c9c
[stable22] Revert "Explicitly allow some routes without 2FA"
2021-11-18 13:29:42 +01:00
Arthur Schiwon
ab629da2d4
Revert "Explicitly allow some routes without 2FA"
This reverts commit bcfd4ed591.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-18 13:16:10 +01:00
Christoph Wurst
c49d49c4b0
Explicitly allow some routes without 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-18 13:15:23 +01:00
Christoph Wurst
bcfd4ed591
Explicitly allow some routes without 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-18 13:09:35 +01:00
Nextcloud bot
d371148bbc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-18 02:25:55 +00:00