aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #27403 from nextcloud/enh/opcache-usage-based-recommendationsMichaIng2021-12-204-138/+80
|\ | | | | Enhance and complement OPcache setup checks
| * Enhance and complement OPcache setup checksMichaIng2021-12-194-138/+80
|/ | | | | | | | | | | | | | 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>
* Merge pull request #30218 from ↵MichaIng2021-12-192-4/+4
|\ | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/puppeteer-13.0.0 Bump puppeteer from 12.0.1 to 13.0.0 in /build
| * Bump puppeteer from 12.0.1 to 13.0.0 in /builddependabot[bot]2021-12-192-4/+4
|/ | | | | | | | | | | | | | | | 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>
* Merge pull request #30304 from ↵MichaIng2021-12-191-59/+1
|\ | | | | | | | | nextcloud/automated/noid/psalm-baseline-update-1639714304 [Automated] Update psalm-baseline.xml
| * Update psalm baselinenextcloud-command2021-12-171-59/+1
| | | | | | | | Signed-off-by: GitHub <noreply@github.com>
* | [tx-robot] updated from transifexNextcloud bot2021-12-192-4/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #30324 from nextcloud/dependabot/npm_and_yarn/core-js-3.20.0dependabot[bot]2021-12-1874-272/+272
|\ \
| * | Bump core-js from 3.19.3 to 3.20.0dependabot[bot]2021-12-1874-272/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #30326 from ↵dependabot[bot]2021-12-181-1/+1
|\ \ \ | |/ / |/| | | | | nextcloud/dependabot/composer/build/integration/sabre/dav-4.3.0
| * | Update sabre/dav requirement from 4.2.3 to 4.3.0 in /build/integrationdependabot[bot]2021-12-181-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | [tx-robot] updated from transifexNextcloud bot2021-12-1818-40/+80
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #30130 from nextcloud/fix/config_is_read_onlyChristoph Wurst2021-12-173-5/+33
|\ \ | | | | | | Don't write to config file if `config_is_read_only` is set
| * | Don't write to config file if `config_is_read_only` is setJonas Meurer2021-12-133-5/+33
| | | | | | | | | | | | | | | | | | | | | | | | Also don't write to cache in this case to prevent cache and config file being out of sync. Fixes: #29901 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | Merge pull request #30281 from ↵Vincent Petry2021-12-171-1/+1
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/bugfix/30280/fix-confused-notifier-with-null-group Ignore non-existing groups when notifying group shares
| * | Discard share notification for non-existing groupsVincent Petry2021-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Group shares might exist even after a group got deleted. This fix catches the situation and discards the notification for the obsolete group. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Joas Schilling <coding@schilljs.com>
* | | [tx-robot] updated from transifexNextcloud bot2021-12-17130-124/+186
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #30119 from nextcloud/bugfix/noid/direct-editor-translationazul2021-12-161-1/+1
|\ \ \ | | | | | | | | Use proper translation source for direct editing
| * | | fix translation source in directEditing templatesAzul2021-12-161-1/+1
|/ / / | | | | | | | | | | | | | | | The 'Empty file' string is translated in `lib` - not in `core`. Signed-off-by: Azul <azul@riseup.net>
* | | Merge pull request #29862 from nextcloud/fix/support-php-8.1-2Côme Chilliet2021-12-1635-152/+150
|\ \ \ | | | | | | | | Support PHP 8.1 - Second batch
| * | | Avoid deprecation warnings about libxml_disable_entity_loader in PHP 8.1Côme Chilliet2021-12-162-6/+14
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Avoid Deprecation warning from Zip tests on PHP 8.1Côme Chilliet2021-12-161-1/+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>
| * | | Fix PHP deprecation warning in File/ViewTestCôme Chilliet2021-12-161-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Allow minor release of PHP 8.1 to be used as wellCôme Chilliet2021-12-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | No reason to allow 8.1.0 and not 8.1.1. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Add 8.1 tests to CICôme Chilliet2021-12-162-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Fix LDAP related docblocks typesCôme Chilliet2021-12-162-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Add PHP 8.1 LDAP classes to ignored missing classes in psalm for docblocksCôme Chilliet2021-12-161-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Fix OCA\Settings\Tests\Settings\Admin\SharingTestCôme Chilliet2021-12-161-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Fix PHP 8.1 support for user_ldap applicationCôme Chilliet2021-12-1618-131/+96
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Fix tests on PHP 8.1 for encryption, files_sharing, files_version,Côme Chilliet2021-12-167-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | files_trashbin and theming apps Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Fix theming tests on PHP 8.1Côme Chilliet2021-12-161-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Allow running Nextcloud with PHP 8.1Côme Chilliet2021-12-161-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #30283 from nextcloud/enhancement/two-factor-code-ownersJoas Schilling2021-12-161-0/+6
|\ \ \ \ | | | | | | | | | | Specify code owners for 2FA
| * | | | Specify code owners for 2FAChristoph Wurst2021-12-151-0/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #30111 from nextcloud/enh/29973/option-disallow-local-storageVincent Petry2021-12-1610-15/+148
|\ \ \ \ \ | |_|/ / / |/| | | | Add option to disallow creation of local storages
| * | | | Add option to disallow creation of local storagesVincent Petry2021-12-1510-15/+148
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Introduce a new config option to prevent web UI admins to create or edit external storages of type "local". Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | | Merge pull request #30266 from nextcloud/fix/share-not-being-displayed-tabJohn Molakvoæ2021-12-163-2/+15
|\ \ \ \
| * | | | Fix share owner not being displayed in sharing tabCarl Schwan2021-12-143-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This only concerns subfolder and files inside a shared folder and is used as fallback when the OCS api returns a empty result, because it only works on the shared folder and not the content inside of it. This unify the tab with the folder list. This offers a less descriptive share information but making the OCS api returns all the details even for the subfolder would very probably be bad for performance (since we would need to fetch the shares for all the parent folders until we found one or are in the root folder). Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | | | | [tx-robot] updated from transifexNextcloud bot2021-12-1616-22/+36
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | [tx-robot] updated from transifexNextcloud bot2021-12-1514-0/+28
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #30254 from nextcloud/fix/30239/use-bigintPytal2021-12-145-2/+46
|\ \ \
| * | | Migrate profile_config id column to bigintChristopher Ng2021-12-144-1/+45
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | Use bigint for autoincremented columnChristopher Ng2021-12-141-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | Merge pull request #30048 from nextcloud/fix/caldav-search-time-range-recurrenceChristoph Wurst2021-12-141-1/+35
|\ \ \ \ | | | | | | | | | | Carefully filter out non matching time ranges for CalDAV search
| * | | | Carefully filter out non matching time ranges for CalDAV searchChristoph Wurst2021-12-131-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we search for CalDAV objects in the DB we take the first and last occurence into account. For recurring events that is when they take place the very first time and the very last time. Searching in a more specific time range will still match this condition, because the recurring event starts before the end of the requested range but ends after the start of the requested range. Sabre has filters for this. If we apply them on all seach objects of a search with a time range, then only the recurring events actually taking place at the time of the requested time range will be returned. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #30256 from nextcloud/fix/allow_edit_folderLouis2021-12-143-4/+4
|\ \ \ \ \ | | | | | | | | | | | | Fix ShareLink Upload UI for Folders
| * | | | | Compile assetsnextcloud-command2021-12-142-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
| * | | | | Fix ShareLink Upload UI for FoldersJonas Rittershofer2021-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not show the Upload-Option if it is not allowed to check. Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
* | | | | | Merge pull request #30259 from nextcloud/deprecate/entity-slugChristoph Wurst2021-12-141-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Deprecate entity slugs
| * | | | | | Deprecate entity slugsChristoph Wurst2021-12-141-0/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They are only used a single time in the whole Nextcloud Github organization. We can inline the code there and slim down the public API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>