Joas Schilling
31435a038b
chore(security): Bump "Expires" of well-known/security.txt
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 10:41:23 +00:00
MichaIng
ceab09ee5e
Check for opcache.file_cache_only=1
...
which disables shared memory based OPcache with disk file cache used only, if enabled. In this case, "opcache.memory_consumption" and others do not apply, so show the correct performance recommendation to enable memory cache.
Signed-off-by: MichaIng <micha@dietpi.com>
2023-02-15 18:58:27 +00:00
MichaIng
4018083ccf
Fix interned strings buffer check if 0 free bytes
...
With #32902 it was meant to be avoided to recommend raising the interned strings buffer size above a quarter of the total OPcache size. This works as long as there is at least 1 byte free, but does not apply if the buffer is filled completely.
This commit switches the conditions so that the interned strings buffer size must be smaller than a quarter of the total OPcache size for the warning to be shown. That the buffer must be either filled completely or by more than 90% remains untouched.
Signed-off-by: MichaIng <micha@dietpi.com>
2023-01-23 09:55:36 +00:00
Louis
8dc6516c22
Merge pull request #35804 from nextcloud/backport/34629/stable24
...
[stable24] Fix case sensitivity of email when saving settings
2022-12-19 12:43:50 +01:00
Carl Schwan
ff6279edab
Fix case sensitivity of email when saving settings
...
Otherwise we detect a email change all the time and since email are
immutable in ldap this prevent updating other fields.
Related: https://github.com/nextcloud/server/pull/33813
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-16 21:56:05 +00:00
Christoph Wurst
80a4abd28c
Rename personal Groupware settings section to "Availability"
...
But leave the internal identifier untouched.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-16 16:09:54 +00:00
Joas Schilling
e756995768
Fix invalid date in security.txt
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-04 10:14:49 +00:00
Julien Veyssier
f7b066a6b3
check disable_activity.email_address_changed_by_admin when email is changed by admin via the OCS API
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-10-14 09:24:01 +00:00
Joas Schilling
6323f86885
Update security.txt expires field
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-11 08:11:17 +00:00
acsfer
ad311c3bab
Harden some PHP functions
...
To avoid things like https://github.com/nextcloud/server/issues/26034
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-10 19:08:34 +00:00
timm2k
76b1d4c7a3
Update CheckSetupController.php
...
file_metadata.id needs to be bigint(20).
Signed-off-by: timm2k <timm2k@gmx.de>
2022-09-15 12:08:53 +00:00
Carl Schwan
f4795f6dac
Handle one time and large passwords
...
For passwords bigger than 250 characters, use a bigger key since the
performance impact is minor (around one second to encrypt the password).
For passwords bigger than 470 characters, give up earlier and throw
exeception recommanding admin to either enable the previously enabled
configuration or use smaller passwords.
This adds an option to disable storing passwords in the database. This
might be desirable when using single use token as passwords or very
large passwords.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-29 16:15:38 +02:00
Louis Chemineau
82fea7d000
Rename setting name to reduce its length
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-28 09:55:45 +00:00
szaimen
46c7a974d5
do not display the buffer_size info if the size is already set to a certain threshold
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: MichaIng <micha@dietpi.com>
2022-06-21 19:08:51 +02:00
Christopher Ng
b85f882c23
Skip avatar on failure
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-31 00:19:14 +00:00
Christopher Ng
72fc8c907e
Update method name
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-31 00:19:13 +00:00
Côme Chilliet
4afa609ae2
Move new IMigrator method to a specific interface ISizeEstimationMigrator
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-31 00:19:13 +00:00
Côme Chilliet
dde192da4a
Implement getExportEstimatedSize in migrators
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-31 00:19:13 +00:00
szaimen
580f090f5e
adjust wording for database checks
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-05-17 11:24:09 +00:00
Louis Chemineau
37a9a6246f
Add setting to ignore email during search
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-12 15:05:13 +02:00
Christopher Ng
0924271abe
Catch avatar export separately for better failure tracing
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-13 17:02:25 +00:00
Côme Chilliet
0fd72f4355
Adapt existing migrators to new API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-13 16:52:40 +02:00
Louis Chemineau
37f1c8640e
Add settings to ignore second display name in search
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-12 17:27:59 +02:00
Côme Chilliet
dda51d49d7
Use Migrators id instead of class names
...
This will help with UI and means migrators can move in namespaces
without changing export format.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-11 13:59:27 +00:00
Vincent Petry
cde260577e
Merge pull request #31857 from nextcloud/feat/dont_match_userid
...
Add settings to not match userID during full match
2022-04-11 10:27:59 +02:00
Christopher Ng
087b75217e
Extend account migrator
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 19:31:22 +00:00
Louis Chemineau
0e06ee68c0
Add settings to not match userID during full match
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-06 15:41:41 +02:00
Vincent Petry
b8b4d247b4
Merge pull request #31194 from nextcloud/feat/allow-to-exclude-groups-from-password-enforcement
...
Allow to disable password policy enforcement for selected groups
2022-04-06 10:13:23 +02:00
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>
2022-04-05 17:04:17 +00:00
Vincent Petry
4511bd4bf6
Merge pull request #30950 from nextcloud/enh/opcache-recommends-translation
...
Add OPcache recommendations to Transifex
2022-03-24 17:56:09 +01:00
Joas Schilling
a0c7798c7d
Limit the length of app password names
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 10:47:56 +01:00
MichaIng
31606c9861
Add OPcache recommendations to Transifex
...
Fixes: https://github.com/nextcloud/server/issues/30941
Signed-off-by: MichaIng <micha@dietpi.com>
2022-03-22 10:42:51 +00:00
Christopher Ng
85123f9d36
Move data into settings folder
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-22 03:22:10 +00:00
Christopher Ng
ad31cfe72d
Use account method to set all properties
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 04:51:26 +00:00
Christopher Ng
bf79b97718
Use streams
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 04:51:26 +00:00
Christopher Ng
e5a205fec1
Transfer to settings app and register
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 04:51:26 +00:00
Christopher Ng
108abd77ed
Add profile default setting for admin
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +00:00
Christopher Ng
1fc0b4320c
Add global profile toggle config
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +00:00
Joas Schilling
a6882deebc
Differenciate the activity depending on admin vs user action
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 15:26:47 +01:00
Simon L
3a0b934f84
Merge pull request #31430 from nextcloud/enh/31429/improve-overwrite-cli-url-check
...
Validate `overwrite.cli.url` to be a url in setup check
2022-03-10 12:40:59 +01:00
szaimen
4191a178dd
improve overwrite cli url setup check
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-09 22:26:00 +01:00
John Molakvoæ
23e8ae15aa
Merge pull request #31470 from nextcloud/enh/13099/allow-disable-imagick-warning
2022-03-08 08:53:12 +01:00
szaimen
7dca146b58
allow to disable the imagick warning
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: MichaIng <micha@dietpi.com>
2022-03-07 17:35:12 +01:00
Julien Veyssier
d5574cf189
allow adding protocol to domains in 'connectivity_check_domains' config
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-07 14:13:11 +01:00
MichaIng
3980322621
Merge pull request #31267 from nextcloud/enh/docs-link-for-opcache-recommends
...
Add Nextcloud docs link to OPcache recommends
2022-03-04 01:24:10 +01:00
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>
2022-03-03 23:00:07 +00:00
Mickey Knox
f63eb4261f
Fix permittedPath comparison
...
Signed-off-by: Mickey Knox <mickey@netfreaks.org>
2022-03-02 22:38:11 +01:00
Carl Schwan
7c8a901b84
Cleanup admin settings js files
...
* Move admin.js to webpack, so that this use the bundled jquery files
instead of the deprecated window.$ Also fixing formatting
* Remove log.js that seems to be from a time where logreader was bundled
with server and I couldn't find an usage of it anymore
* Fix recent regression in rebuild navigation function (now not depending on
jquery anymore and bundled by webpack).
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 17:52:03 +01:00
Vincent Petry
713840ccc0
Merge pull request #31032 from nextcloud/instanceName
...
Don't use plain URL on the email subject
2022-02-10 18:07:50 +01:00
Arthur Schiwon
b28aa52b28
Setup warning for invalid LDAP user or group UUIDs.
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10 10:15:01 +01:00