summaryrefslogtreecommitdiffstats
path: root/core/js/tests
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Contacts menu to VueChristoph Wurst2023-10-161-265/+0
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feat(admin): Show an error when the admin is throttledJoas Schilling2023-08-211-0/+61
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #37451 from Fenn-CS/fix/36437/deprecate-php-8.0Andy Scherzinger2023-04-191-1/+1
|\ | | | | Deprecate PHP8.0
| * Deprecate PHP8.0fenn-cs2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHP8.0 would stop receiving security support on 26 Nov 2023 hence this deprecation. Next, is the eventual drop of PHP8.0 before its EOL. This commit also updates the message type from INFO to WARNING if the php on file has reached its EOL. See: https://www.php.net/supported-versions.php Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* | Merge pull request #37766 from nextcloud/enh/noid/add-db-file-locking-checkSimon L2023-04-181-0/+140
|\ \ | | | | | | add an admin check for db file locking
| * | address review and fix testsSimon L2023-04-181-1/+1
| | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
| * | add an admin check for db file lockingSimon L2023-04-171-0/+140
| | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | Drop broken unit testAlexander A. Klimov2023-04-171-24/+0
|/ / | | | | | | Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
* / fix(tests): update jsunit tests after dep and files updateJohn Molakvoæ2023-04-061-52/+0
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(jsunit): Modify `OC.L10N` tests as it does not depend on `OC.` anymoreFerdinand Thiessen2023-02-201-3/+6
| | | | | | Meaning we can not stub `getLocale` but must override the document attribute instead. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* Change X-Robots-Tag header from "none" to "noindex, nofollow"MichaIng2023-02-151-23/+66
| | | | | | | | | | While "none" is indeed equivalent to "noindex, nofollow" for Google, but seems to be not supported by Bing and probably other search engines. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#other_metadata_names https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag?hl=de#comma-separated-list https://www.bing.com/webmasters/help/which-robots-metatags-does-bing-support-5198d240 Signed-off-by: MichaIng <micha@dietpi.com>
* Revert "update 64-bit check wording"Côme Chilliet2023-02-071-3/+3
| | | | | | This reverts commit f5ad282418d27422f77fda0e0e45797899508c1b. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Focus trap contacts menu with NcHeaderMenu portChristopher Ng2023-01-131-1/+1
| | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix testValdnet2022-11-091-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* update 64-bit check wordingszaimen2022-11-011-1/+1
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Adjust testsJoas Schilling2022-09-291-5/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix testValdnet2022-09-191-2/+2
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Fix testValdnet2022-09-191-3/+3
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Fix testValdnet2022-09-191-4/+4
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Rewrite OC.SystemTags.getDescriptiveTag to vanilla jsDaniel Kesselberg2022-09-151-8/+8
| | | | | | | For every tag a deprecation warning is emitted. With 10k tags the ui becomes unresponsive and inspector crashed occasionally. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #33475 from nextcloud/rakekniven-patch-1Simon L2022-08-311-1/+1
|\ | | | | l10n: Changed grammar
| * l10n: Changed grammarrakekniven2022-08-111-1/+1
| | | | | | | | | | | | | | Fixed tests for #33475 Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | Fix jsunit failuresJulius Härtl2022-08-311-42/+0
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix core tests by stubbing debounceVincent Petry2022-07-261-0/+10
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* add a link to system requirements for new 64bit setup checkszaimen2022-07-131-1/+1
| | | | | Signed-off-by: szaimen <szaimen@e.mail.de> Co-Authored-By: MichaIng <micha@dietpi.com>
* add a setup check for 64 bitszaimen2022-07-131-0/+79
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Remove legacy Internet Explorer headersMichaIng2022-03-191-26/+0
| | | | | | X-UA-Compatible and X-Download-Options headers are interpreted or relevant for Internet Explorer only. With the deprecation of Internet Explorer support in Nextcloud 20 and planned support removal already in Nextcloud 22, these became obsolete and are hereby removed, including their removal from setup checks. Signed-off-by: MichaIng <micha@dietpi.com>
* fix testsszaimen2022-03-071-0/+154
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Add Nextcloud docs link to OPcache recommendsMichaIng2022-03-031-4/+1
| | | | | | | | A link to the Nextcloud documentation is currently only shown when the OPcache module is not loaded at all. This commit moves the link to the generic text above the individual recommendations list. Additionally remove the obsolete phpOpcacheDocumentation entry from test data arrays, which is not passed anymore by the backend. Signed-off-by: MichaIng <micha@dietpi.com>
* add a test for wasEmailTestSuccessfulszaimen2022-02-031-0/+56
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* fix testsszaimen2022-02-031-0/+18
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Use @nextcloud/sharing in files and files_sharingLouis Chemineau2022-01-261-0/+8
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> Update tests Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix contactmenu testsLouis Chemineau2022-01-181-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Replace license information to SPDX expressionLouis Chemineau2022-01-111-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Typing correctionsLouis Chemineau2022-01-111-2/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix JS tests after test lib updatesVincent Petry2022-01-102-6/+11
| | | | | | | Prevent XHR during load by checking window.TESTING. Adjust some expected values. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Enhance and complement OPcache setup checksMichaIng2021-12-191-93/+19
| | | | | | | | | | | | | | 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>
* Show warning on admin settings pageVitor Mattos2021-10-231-0/+19
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Merge pull request #28863 from nextcloud/Valdnet-patch-2Carl Schwan2021-09-221-4/+4
|\ | | | | l10n: Correct spelling
| * Correct spelling in testValdnet2021-09-221-4/+4
| | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | Issue 16719: CheckSetupController.php: bugfix: test-setup was incorrectStefan2021-09-171-1/+1
| | | | | | | | Signed-off-by: Stefan <Stefan.Schilling@EXXETA.com>
* | Issue 16719: CheckSetupController.php now checks configured temporary ↵Stefan2021-09-171-0/+72
|/ | | | | | directory for existence and if it's writable Signed-off-by: Stefan <Stefan.Schilling@EXXETA.com>
* fix broken js testGuillaume Virlet2021-04-241-0/+55
| | | | Signed-off-by: Guillaume Virlet <github@virlet.org>
* Fix the jsunit testsRoeland Jago Douma2021-03-021-1/+1
| | | | | | Followup to #25874 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Hello 2016Joas Schilling2021-03-011-16/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove HTML from setup check translationsJoas Schilling2021-03-011-21/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* jsunit: harden avatar tests to pass with fractional scaling of elementsJulius Härtl2020-12-291-8/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* jsunit: Add proper lang tag to documentJulius Härtl2020-12-291-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #24702 from nextcloud/enhancement/well-known-handler-apiChristoph Wurst2020-12-181-4/+4
|\ | | | | Add well known handlers API
| * Add well known handlers APIChristoph Wurst2020-12-161-4/+4
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>