summaryrefslogtreecommitdiffstats
path: root/apps/settings/tests
Commit message (Collapse)AuthorAgeFilesLines
* address review and fix testsSimon L2023-04-181-1/+3
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* add an admin check for db file lockingSimon L2023-04-171-0/+4
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Fix types for reading and writing config valuesjld31032023-04-051-2/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Create headings for settings pagesjulia.kirschenheuter2023-03-071-2/+4
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Migrate to Symfony MailerCôme Chilliet2023-02-022-6/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #35876 from bennet0496/patch-mail-headerJoas Schilling2023-01-041-0/+5
|\ | | | | Adding option to set Auto-Submitted email header
| * update usages of AutoSubmittedValue to AutoSubmitted::VALUE_Bennet Becker2023-01-031-2/+2
| | | | | | | | Signed-off-by: Bennet Becker <dev@bennet.cc>
| * Updating unit test for NewUserMailHelper, to test for autosumbittedBennet Becker2022-12-231-0/+5
| | | | | | | | | | | | header Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
* | Fix typing errors in settings testsCôme Chilliet2023-01-021-6/+4
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add unit test for case insensitive email savingVincent Petry2022-12-161-1/+9
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update composer autoloaderCarl Schwan2022-11-224-4/+4
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix testsCarl Schwan2022-11-221-4/+29
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix some more problems with tests under PHP 8.2Côme Chilliet2022-11-152-12/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix tests depending on a trailing whitespaceCôme Chilliet2022-11-151-3/+9
| | | | | | | Many editors remove trailing whitespaces, so avoid depending on them for tests success. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix errors from PHP 8.2 testingCôme Chilliet2022-11-141-3/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add profile config migrationChristopher Ng2022-09-013-14/+31
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #33200 from nextcloud/enh/noid/64bitSimon L2022-07-131-0/+7
|\ | | | | add a setup check for 64 bit
| * add a setup check for 64 bitszaimen2022-07-131-0/+7
| | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | Port encryption admin settings to vueCarl Schwan2022-07-131-12/+2
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Rename setting name to reduce its lengthLouis Chemineau2022-06-271-4/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Remove deprecated at() matcher from settings testsCôme Chilliet2022-06-076-214/+129
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #32443 from nextcloud/port/background-job-adminPytal2022-05-201-8/+7
|\
| * Port BackgroundJob admin settings to vueCarl Schwan2022-05-201-8/+7
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Improve two factor admin settingsCarl Schwan2022-05-201-1/+3
|/ | | | | | | | - Port more of it to vue - Use new nextcloud vue components for the setting section - Add a bit of spacing between the elements Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add setting to ignore email during searchLouis Chemineau2022-05-031-0/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix migrators according to exceptionsVincent Petry2022-04-131-4/+2
| | | | | | | | Fixed syntax errors. Removed if condition for copyToFolder since it's void now. Change signature of setMigratorVersions to also be void. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add settings to ignore second display name in searchLouis Chemineau2022-04-121-0/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #31927 from nextcloud/feat/dont_match_userid_testsVincent Petry2022-04-121-0/+4
|\ | | | | Tweak tests to include shareapi_restrict_user_enumeration_full_match_userid
| * Tweak tests to include shareapi_restrict_user_enumeration_full_match_useridLouis Chemineau2022-04-111-0/+4
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Merge pull request #31866 from nextcloud/test-avatar-migrationPytal2022-04-113-9/+55
|\ \
| * | Add comment explaining avatar basenameChristopher Ng2022-04-081-0/+1
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | Remove unnecessary array_diffChristopher Ng2022-04-081-5/+1
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | Test avatar migrationChristopher Ng2022-04-073-9/+58
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | Improve strictness of account file regexChristopher Ng2022-04-071-1/+1
| |/ | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* / Adapt AccountMigratorTest to id changeCôme Chilliet2022-04-111-1/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #31852 from nextcloud/test-account-migratorPytal2022-04-063-0/+122
|\
| * Test migration of account informationChristopher Ng2022-04-063-0/+122
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Allow to disable password policy enforcement for selected groupsCarl Schwan2022-04-051-0/+4
|/ | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-authored-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Add profile default setting for adminChristopher Ng2022-03-181-0/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add global profile toggle configChristopher Ng2022-03-181-0/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix drone tests on masterszaimen2022-03-111-0/+2
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* fix testsszaimen2022-03-071-0/+12
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Add Nextcloud docs link to OPcache recommendsMichaIng2022-03-031-3/+0
| | | | | | | | 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>
* Setup warning for invalid LDAP user or group UUIDs.Arthur Schiwon2022-02-101-2/+19
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix testsszaimen2022-02-032-1/+12
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Fix tests with email templatesCarl Schwan2022-01-181-6/+6
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Enhance and complement OPcache setup checksMichaIng2021-12-191-11/+4
| | | | | | | | | | | | | | 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>
* Fix OCA\Settings\Tests\Settings\Admin\SharingTestCôme Chilliet2021-12-161-0/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* More test fixingJoas Schilling2021-12-012-13/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* ArgumentCountError: Too few arguments to function ↵Joas Schilling2021-11-091-18/+29
| | | | | | OCA\Settings\Controller\CheckSetupController::__construct() Signed-off-by: Joas Schilling <coding@schilljs.com>