nextcloud/core/js/tests/specs
MichaIng fd481913ef 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-20 00:10:10 +00:00
..
files Fix expected depth as string 2019-01-24 21:15:25 +01:00
public Improve URL detection 2018-07-31 17:11:46 +02:00
systemtags Adjust the JS unit tests 2016-12-06 17:50:57 +01:00
appsSpec.js Jsunit fixes 1 2018-07-20 23:38:04 +02:00
contactsmenuSpec.js Bump jquery from 2.2.4 to 3.1.0 2020-11-13 08:46:35 +01:00
coreSpec.js Work around snap.js state mess 2020-11-02 17:31:18 +01:00
jquery.avatarSpec.js jsunit: harden avatar tests to pass with fractional scaling of elements 2020-12-29 08:42:34 +01:00
jquery.contactsmenuSpec.js Bump jquery from 2.2.4 to 3.1.0 2020-11-13 08:46:35 +01:00
jquery.placeholderSpec.js Generate legacy image placeholder text by taking first letters 2020-04-30 07:17:47 +00:00
l10nSpec.js Bump jquery from 2.2.4 to 3.1.0 2020-11-13 08:46:35 +01:00
mimeTypeSpec.js Fix usage of deprecated OC.webroot 2018-10-09 13:53:59 +02:00
oc-backbone-webdavSpec.js Bump jquery from 2.2.4 to 3.1.0 2020-11-13 08:46:35 +01:00
setupchecksSpec.js Enhance and complement OPcache setup checks 2021-12-20 00:10:10 +00:00