Commit Graph

60802 Commits (7d1d03d5ebb47551360738128b8dcffaabc50a3e)
 

Author SHA1 Message Date
Nextcloud bot 7d1d03d5eb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-22 02:28:07 +07:00
John Molakvoæ 0b01103137
Merge pull request #28438 from csware/issue-1649 2021-12-21 15:10:50 +07:00
Julius Härtl 1acfbd0b06
Merge pull request #27493 from cuppett/cuppett/simplify-aws-credential-provider 2021-12-21 11:58:52 +07:00
Julius Härtl d73fe0ccd9
Merge pull request #29879 from nextcloud/bugfix/noid/sharing-enumeration-addressbooks 2021-12-21 08:11:04 +07:00
John Molakvoæ 577fb0fcba
Merge pull request #30305 from nextcloud/fix-persistent-tooltip-in-the-new-folder-input-of-the-file-picker 2021-12-21 08:03:11 +07:00
Nextcloud bot 0cba1072c0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-21 02:27:52 +07:00
Daniel Calviño Sánchez 3fa91ecf68 Fix persistent tooltip in the "new folder" input of the file picker
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.

Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).

The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-20 20:14:39 +07:00
MichaIng 59290060c7
Merge pull request #30128 from nextcloud/fix/bump-sabre/vobject-to-4.4.1
Bump sabre/vobject to 4.4.1
2021-12-20 18:52:18 +07:00
John Molakvoæ c0cfd237ab
Merge pull request #30299 from nextcloud/fix/log_files 2021-12-20 17:27:05 +07:00
Côme Chilliet 057dcb567a
Bump sabre/vobject to 4.4.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-20 16:36:46 +07:00
Carl Schwan 52760a95d9
Check if directoy is writable instead of possibly missing file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-20 15:36:52 +07:00
John Molakvoæ a567f5d7b5
Merge pull request #30279 from nextcloud/fix/30278/script_deps 2021-12-20 15:29:33 +07:00
Jonas Meurer 822daa3c64
Further improve addScript logic, migrate to uksort()
Instead of the logic with `first` and `last`, store dependencies in an
own array and sort the scripts topologically by its dependencies later.

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-20 11:45:05 +07:00
Jonas Meurer 8dd119402a
Improve unit testing for Util::addScript() and Util::getScript()
Instead of checking for a predefined order of the scripts, test the
logic: core first, dependencies before their children, no duplicates and
all scripts still listed.

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-20 11:40:17 +07:00
Jonas Meurer 7ec1317b1b
Sort app scripts by dependencies (Fixes: #30278)
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-20 11:40:10 +07:00
Louis e60ae8aaf2
Merge pull request #30322 from nextcloud/enh/noid/fix-help-settings-overlapping
fix overlapping in the help settings section
2021-12-20 10:27:38 +07:00
John Molakvoæ b5ae67ac2a
Merge pull request #29329 from nextcloud/fix/noid/groups-unwarranted-members 2021-12-20 10:07:55 +07:00
Nextcloud bot dcc6dfaafa
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-20 02:29:39 +07:00
MichaIng e56d1dd02b
Merge pull request #27403 from nextcloud/enh/opcache-usage-based-recommendations
Enhance and complement OPcache setup checks
2021-12-20 01:07:34 +07:00
MichaIng 82c1beaacb Enhance and complement OPcache setup checks
The current OPcache recommendations match the PHP defaults, but the values are much higher than required to run Nextcloud, even with a high number of installed apps. On the other hand, when other applications use the same OPcache instance, the recommended values might not be sufficient. Accurate recommendations need to take into account actual OPcache usage.

With this commit, recommendations are shown to raise the config value if more than 90% of max cache size or number of keys is used.

The checks whether the module is loaded and whether the OPcache is properly configured have been merged into a single function. This allowed to reduce the overhead of OPcache configuration checks when the module is not loaded.

A check has been added whether Nextcloud is permitted to use the OPcache API. Without this, inconsistencies during core or app upgrades may cause errors and OPcache usage cannot be determined for the new usage based checks.

OPcache usage based checks are skipped when Nextcloud is not permitted to use the API.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-12-19 23:38:21 +07:00
MichaIng d98e31a872
Merge pull request #30218 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-13.0.0
Bump puppeteer from 12.0.1 to 13.0.0 in /build
2021-12-19 19:08:59 +07:00
dependabot[bot] bd643b169c Bump puppeteer from 12.0.1 to 13.0.0 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 12.0.1 to 13.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v12.0.1...v13.0.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-19 14:15:52 +07:00
MichaIng 705494a821
Merge pull request #30304 from nextcloud/automated/noid/psalm-baseline-update-1639714304
[Automated] Update psalm-baseline.xml
2021-12-19 04:56:10 +07:00
Nextcloud bot b72a85b59b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-19 02:29:19 +07:00
dependabot[bot] de12815b6a
Merge pull request #30324 from nextcloud/dependabot/npm_and_yarn/core-js-3.20.0 2021-12-18 16:26:36 +07:00
dependabot[bot] 712f3e1311 Bump core-js from 3.19.3 to 3.20.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.3 to 3.20.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.3...v3.20.0)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-18 15:42:58 +07:00
dependabot[bot] 08e6a2bdb0
Merge pull request #30326 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.3.0 2021-12-18 05:46:09 +07:00
dependabot[bot] b1912ae7d2
Update sabre/dav requirement from 4.2.3 to 4.3.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/4.2.3...4.3.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-18 04:08:53 +07:00
Nextcloud bot 454fd68437
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-18 02:27:28 +07:00
szaimen 526f2a140f fix overlapping in the help settings section
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-17 21:35:46 +07:00
Christoph Wurst 4b36f9d92f
Merge pull request #30130 from nextcloud/fix/config_is_read_only
Don't write to config file if `config_is_read_only` is set
2021-12-17 14:39:40 +07:00
Vincent Petry e231338876
Merge pull request #30281 from nextcloud/bugfix/30280/fix-confused-notifier-with-null-group
Ignore non-existing groups when notifying group shares
2021-12-17 08:01:55 +07:00
nextcloud-command be219153dd Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-17 04:11:44 +07:00
Nextcloud bot 194981318c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-17 02:28:52 +07:00
azul f001cc73e7
Merge pull request #30119 from nextcloud/bugfix/noid/direct-editor-translation
Use proper translation source for direct editing
2021-12-16 19:09:59 +07:00
Azul 8535dc4255 fix translation source in directEditing templates
The 'Empty file' string is translated in `lib` - not in `core`.

Signed-off-by: Azul <azul@riseup.net>
2021-12-16 16:30:50 +07:00
Côme Chilliet 9a37ca9b48
Merge pull request #29862 from nextcloud/fix/support-php-8.1-2
Support PHP 8.1 - Second batch
2021-12-16 14:24:47 +07:00
Joas Schilling 1fdc97bb13
Merge pull request #30283 from nextcloud/enhancement/two-factor-code-owners
Specify code owners for 2FA
2021-12-16 13:37:54 +07:00
Vincent Petry 6c424fb9fc
Merge pull request #30111 from nextcloud/enh/29973/option-disallow-local-storage
Add option to disallow creation of local storages
2021-12-16 11:12:31 +07:00
Côme Chilliet c3a1a66eae
Avoid deprecation warnings about libxml_disable_entity_loader in PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 10:35:03 +07:00
Côme Chilliet ec4fff20e8
Avoid Deprecation warning from Zip tests on PHP 8.1
It is not allowed anymore to open an empty file as a new zip archive.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:58:40 +07:00
Côme Chilliet e053feb5db
Fix PHP deprecation warning in File/ViewTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:32 +07:00
Côme Chilliet 72baee9698
Allow minor release of PHP 8.1 to be used as well
No reason to allow 8.1.0 and not 8.1.1.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +07:00
Côme Chilliet 4f7b9cc6b2
Add 8.1 tests to CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +07:00
Côme Chilliet 743267eba4
Fix LDAP related docblocks types
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +07:00
Côme Chilliet 24e9a29b3c
Add PHP 8.1 LDAP classes to ignored missing classes in psalm for docblocks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:30 +07:00
Côme Chilliet dc8b79c4d2
Fix OCA\Settings\Tests\Settings\Admin\SharingTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:30 +07:00
Côme Chilliet f3dcbfe146
Fix PHP 8.1 support for user_ldap application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:30 +07:00
Côme Chilliet 37f8f7a5a1
Fix tests on PHP 8.1 for encryption, files_sharing, files_version,
files_trashbin and theming apps

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:29 +07:00
Côme Chilliet 6b770eb579
Fix theming tests on PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:29 +07:00