Côme Chilliet
dde5c46a3e
Migrate to Symfony Mailer
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Bennet Becker
5a1cc8de9b
update usages of AutoSubmittedValue to AutoSubmitted::VALUE_
Signed-off-by: Bennet Becker <dev@bennet.cc>
1 year ago
Côme Chilliet
b843d09810
Fix typing errors in settings tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Bennet Becker
eec1ebb848
Updating unit test for NewUserMailHelper, to test for autosumbitted
header
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
1 year ago
Vincent Petry
f9ea078e27
Add unit test for case insensitive email saving
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
Carl Schwan
f244406ebd
Update composer autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 year ago
Carl Schwan
e35bcc9381
Fix tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 year ago
Côme Chilliet
68363f6944
Fix some more problems with tests under PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
72f4b34ad5
Fix tests depending on a trailing whitespace
Many editors remove trailing whitespaces, so avoid depending on them for
tests success.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet
c79a6b3f62
Fix errors from PHP 8.2 testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Christopher Ng
98bc98ac98
Add profile config migration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 year ago
Carl Schwan
4e0574e184
Port encryption admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
szaimen
cf9b1082ed
add a setup check for 64 bit
Signed-off-by: szaimen <szaimen@e.mail.de>
1 year ago
Louis Chemineau
347ca20f4e
Rename setting name to reduce its length
Signed-off-by: Louis Chemineau <louis@chmn.me>
1 year ago
Côme Chilliet
c0c54b20d9
Remove deprecated at() matcher from settings tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Carl Schwan
e8e0f97c9a
Port BackgroundJob admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan
9d5a542a4e
Improve two factor admin settings
- 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>
2 years ago
Louis Chemineau
80fa3c7319
Add setting to ignore email during search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Vincent Petry
78c8e57896
Fix migrators according to exceptions
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>
2 years ago
Louis Chemineau
37f1c8640e
Add settings to ignore second display name in search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Côme Chilliet
eed6330b92
Adapt AccountMigratorTest to id change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Louis Chemineau
a1ff0f368d
Tweak tests to include shareapi_restrict_user_enumeration_full_match_userid
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Christopher Ng
8e7372df44
Add comment explaining avatar basename
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
6e62c3ddc5
Remove unnecessary array_diff
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
32fc848fcf
Test avatar migration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
3fb420115d
Improve strictness of account file regex
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
8aa9ea7402
Test migration of account information
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Carl Schwan
a29251e02d
Allow to disable password policy enforcement for selected groups
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>
2 years ago
Christopher Ng
108abd77ed
Add profile default setting for admin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
1fc0b4320c
Add global profile toggle config
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
szaimen
351357047a
fix drone tests on master
Signed-off-by: szaimen <szaimen@e.mail.de>
2 years ago
szaimen
3c8f8bc70a
fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
2 years ago
MichaIng
5ac91f1cb8
Add Nextcloud docs link to OPcache recommends
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>
2 years ago
Arthur Schiwon
b28aa52b28
Setup warning for invalid LDAP user or group UUIDs.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
szaimen
fa1ee8f0c7
fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
2 years ago
Carl Schwan
7619dceff4
Fix tests with email templates
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
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>
3 years ago
Côme Chilliet
dc8b79c4d2
Fix OCA\Settings\Tests\Settings\Admin\SharingTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Joas Schilling
c6ae53096c
More test fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
e8f7a08e52
ArgumentCountError: Too few arguments to function OCA\Settings\Controller\CheckSetupController::__construct()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
24935666e8
PHPUnit\Framework\MockObject\DuplicateMethodException: Cannot stub or mock using a method list that contains duplicates:
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
19d070850b
Make sure trusted_proxies is an array
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Julien Veyssier
facb50ebcc
fix appstoreenabled check in Fetcher so it's coherent with AppSettingsController
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2 years ago
Carl Schwan
6958d8005a
Add admin privilege delegation for admin settings
This makes it possible for selected groups to access some settings
pages.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Stefan
ea4b7bac7a
Issue 16719: CheckSetupController.php: now injecting reference to ITempManager, rather than obtaining using it manually
Signed-off-by: Stefan <Stefan.Schilling@EXXETA.com>
2 years ago
Thomas Citharel
b3c7927260
Show warning on the share settings when the File Shares app is disabled
Closes #3706
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years ago
Arthur Schiwon
27865d03c0
use specific email getter where necessary
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
J0WI
3b656446af
Introduce ISecureRandom::CHAR_ALPHANUMERIC
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2 years ago
szaimen
a5bcfbe058
fix NewUserMailHelperTest
Signed-off-by: szaimen <szaimen@e.mail.de>
3 years ago
szaimen
2cb85546fe
fix NewUserMailHelperTest
Signed-off-by: szaimen <szaimen@e.mail.de>
3 years ago