Christoph Wurst
00d6a6f514
doc(config): Rearrange sample config into appropriate sections
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-10 09:05:28 +07:00
Christoph Wurst
20c65227d2
doc(auth): Warn about disabled token passwords and LDAP logout
...
Auth tokens store the user's login password by default. If the password
changes externally (on LDAP), all connected clients stop syncing after 5
minutes max when the password is verified the next time. A web login
revivess those app passwords.
If storing the password is disabled, the tokens continue to work after
password change. But that also means the clients are not logged out the
same way. This can be fine for some setups and problematic for others.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-11 18:14:09 +07:00
Joas Schilling
454281af03
feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CI
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-03 09:06:45 +07:00
Arthur Schiwon
ddc423ab39
fix default_language doc
...
Since commit 0228bc6e66 the browser
language always is preferred.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-30 16:23:03 +07:00
Joas Schilling
ab1af9952f
fix(docs): Fix RST parsing of the sample config
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-28 07:49:01 +07:00
Côme Chilliet
dde5c46a3e
Migrate to Symfony Mailer
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-02 10:30:06 +07:00
max-nextcloud
a635674d27
Fix default value for files_no_background_scan
...
The value is read in b888c61463/apps/files/lib/BackgroundJob/ScanFiles.php (L105) and the default value is false.
Signed-off-by: max-nextcloud <max@nextcloud.com>
2023-01-24 18:02:12 +07:00
William
81ec99ae33
Update config/config.sample.php
...
add better description
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 20:13:34 +07:00
William
2c4afdcdd1
add documentation preview_ffmpeg_path
...
add preview_ffmpeg_path documentation.
document custom path for ffmpeg so it can be used by the previewprovider to create video previews with the snap package of nextcloud.
Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 19:26:48 +07:00
CaptainSifff
328c4cdbb5
Update config/config.sample.php: fix typos.
...
Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: CaptainSifff <CaptainSifff@gmx.de>
2023-01-04 11:41:00 +07:00
Florian Goth
1e9e7d6283
elaborate on what is required for using the tempdirectory setting of nextcloud
...
Signed-off-by: Florian Goth <fgoth@physik.uni-wuerzburg.de>
2023-01-04 01:14:40 +07:00
Daniel Kesselberg
a1fef7bbe4
docs: trusted_proxies support IPv6 ranges
...
Support for IPv6 ranges was added by https://github.com/nextcloud/server/pull/32615
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-03 12:17:21 +07:00
Christian Wolf
6638185eae
Fix comments in sample config to be correctly marked as verbatim
...
The comments were not marked as verbatim and thus the Sphinx compiler to generate
the online admin manual interpreted backslashes as special chars. They disappeared
from the output.
By adding ``, it is marked as verbatim and the backslashes are not removed.
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-12-28 09:06:33 +07:00
Christian Wolf
6ae6615e1d
Fix some issues that were not yet introduced in changes to sample config
...
This should not change anything but fix some documentation issues.
This change should not change anything in the implemenetation.
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-12-27 11:26:52 +07:00
Christian Wolf
7e46f033b6
Reorder the sample config file in order to have a cleaner structure and better sectioning in the online manual
...
The change should only affect the conmments and reorder the config lines
Copy modifications from https://github.com/nextcloud/documentation/pull/9166 into sample config file
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-12-27 10:01:05 +07:00
Simon L
bfb3b2af9f
increase preview_max_memory and make it easier to debug
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-22 09:52:46 +07:00
Joas Schilling
d230fd145a
Language fixes in example config
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-08 09:02:47 +07:00
Joas Schilling
13957032cf
More fixing
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-25 11:46:56 +07:00
Raul
693d69d758
Remove reference to Redis sentinel from configuration docs
...
Signed-off-by: Raul <r.ferreira.fuentes@gmail.com>
2022-11-10 15:37:25 +07:00
szaimen
f9e9cd270d
Limit-number-of-concurrent-preview-generations
...
Signed-off-by: Bowen Ding <dbw9580@live.com>
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-05 16:03:01 +07:00
szaimen
88a0e773c0
update browser warning
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-25 23:01:29 +07:00
John Molakvoæ
2d98cd1daf
Add config and fix selenium
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:04:51 +07:00
Retidurc Silvernight
3ecd400cec
Update config.sample.php
...
Signed-off-by: Retidurc Silvernight <retidurc@silvernight.social>
2022-09-23 09:48:02 +07:00
Vincent Petry
1025d049c7
Merge pull request #24596 from kofemann/dcache-worm
...
make NextCloud WORM file system friendly
2022-09-16 14:39:13 +07:00
Tigran Mkrtchyan
f41209a061
config: add a switch to control truncate before update
...
To avoid extra truncate on non WORM file systems, add a new config
option `localstorage.unlink_on_truncate`, which defaults to false.
The OC\Files\Storage\Local is update to respect that option.
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2022-09-16 11:10:32 +07:00
blizzz
16e696c9e8
Merge pull request #33692 from nextcloud/update-dir
...
Document and use the new updateDirectory if set
2022-09-02 22:19:50 +07:00
Vincent Petry
1443f2085a
Merge pull request #33470 from SpamReceiver/patch-2
...
Make the description of `trashbin_retention_obligation` more clear
2022-09-01 17:33:06 +07:00
Julius Härtl
80f6a5834a
Refactor cache handling
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:24:35 +07:00
Côme Chilliet
7f80dccbac
Flip bulkupload.enabled default value to true
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29 17:49:55 +07:00
Git'Fellow
771431c879
Fix small typo
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-08-25 20:57:07 +07:00
Côme Chilliet
5ae185a8b1
Add bulkupload.enabled configuration switch
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 14:47:50 +07:00
Git'Fellow
09af5acb00
Document updatedirectory option
...
Signed-off-by: Git'Fellow <carlos@reendex.com>
2022-08-25 12:42:22 +07:00
Julius Härtl
405b5de6fa
Merge pull request #33569 from nextcloud/enh/hide-projects
...
Add config option to hide deprecated projects in sharing tab by default
2022-08-25 08:15:24 +07:00
Simon L
de2bb79b6b
address review
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
2022-08-21 12:19:31 +07:00
Christopher Ng
7a13388fe9
Hide deprecated projects in sharing tab by default
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-18 01:50:37 +07:00
Julius Härtl
9e1d431255
Add config option to disable strict session timeout to be able to use read_and_close
...
Fixed https://github.com/nextcloud/server/issues/29356
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-17 12:10:27 +07:00
SpamReceiver
506ac1efe0
Solution for #6889
...
See also: nextcloud/documentation#7046
Signed-off-by: SpamReceiver <spam-receiver@web.de>
2022-08-05 20:28:18 +07:00
Carl Schwan
cdf3b60555
Handle one time 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-05 11:25:44 +07:00
Carl Schwan
1d35efdd1f
Merge pull request #31197 from nextcloud/acsfer-patch-1
...
Add memcached unix socket instructions
2022-06-13 09:55:35 +07:00
Vincent Petry
87b04753d2
Merge pull request #32660 from susnux/master
...
Feature: Add loglevel exported JS OC.config object
2022-06-10 15:31:36 +07:00
Ferdinand Thiessen
1da424595f
Feature: Add and expose frontend loglevel
...
This adds a new config variable `loglevel_frontend`,
allowing to configure the logging level of the
browser part as requested in nextcloud/nextcloud-logger#141
If not configured the `loglevel` is used as the fallback.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-06-06 13:37:04 +07:00
Martin Brugnara
7409569994
Expose umask override value as config parameter: localstorage.umask
...
Commit 451c06d introduced override for umask value.
This is needed to avoid broken env configuration or dirty workers
to mess with the permissions when creating new files.
Most Nextcloud, that does not integrate with external software
would work fine with an hard-coded value (451c06d set it at 022).
Advanced install may require more flexibility, as such this commit
exposes the "umask override value" as configuration parameter:
`localstorage.umask`
It defaults to 0022 both in code and in config/config.sample.php .
Signed-off-by: Martin Brugnara <martin@0x6d62.eu>
2022-06-05 19:19:31 +07:00
Thomas Citharel
4d26a9afa0
Allow to tweak default scopes for accounts
...
Close #6582
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-16 22:54:51 +07:00
Robin Appelman
eda997f2bd
only log diagnostic events if a treshhold is set
...
this prevents log spam and it's rare that you actually want to very short events logged anyway
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-05-13 15:15:26 +07:00
Vincent Petry
fe24091ffb
Merge pull request #32110 from plumbeo/binary-encoding-4
...
Save encrypted files in binary format
2022-05-05 18:04:06 +07:00
plumbeo
1258caeab7
Save encrypted files in binary format
...
Default to the more space-efficient binary encoding for newly encrypted files
instead of the traditional base64 encoding, eliminating the 33% overhead.
The new option 'encryption.use_legacy_encoding' allows to force the legacy
encoding format if needed. Files encoded in the old format remain readable.
Based on https://github.com/owncloud/encryption/pull/224 and
https://github.com/owncloud/core/pull/38249 by karakayasemi.
Signed-off-by: plumbeo <plumbeo@users.noreply.github.com>
2022-05-04 17:38:25 +07:00
John Molakvoæ
d4c001dc8c
Add enforce_theme example IDs
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-30 13:40:28 +07:00
John Molakvoæ
24c5d994c7
Allow to override the default theme
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-30 13:40:27 +07:00
Pierre Ozoux
1de9c66a9d
Adds uploadPartSize to config sample.
...
closes https://github.com/nextcloud/server/issues/24390
Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
2022-04-27 10:37:46 +07:00
Vincent Petry
396db12e8e
Merge pull request #31975 from nextcloud/bugfix/31952/fix-mail-link-share-password-expiration-settings
...
Adjust settings for mail link password
2022-04-14 17:51:13 +07:00
Vincent Petry
82f1344d33
Adjust settings for mail link password
...
Rename the settings and invert the meaning.
Increase default interval to one hour.
Changed the interval to be a number of seconds, to align with other
setting styles.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-14 14:13:47 +07:00
Carl Schwan
7817845538
Add a metadata service to store file metadata
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-13 14:06:29 +07: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 +07: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 +07:00
Carl Schwan
7d272c54d0
Add a built-in profiler inside Nextcloud
...
The webui is provided by a seperate application named profiler
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-04 10:28:26 +07:00
Carl Schwan
34988cff19
Merge pull request #24166 from nextcloud/imaginary-prototype
...
Send images to Imaginary docker to generate previews
2022-03-18 12:32:56 +07:00
Christopher Ng
1fc0b4320c
Add global profile toggle config
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +07:00
Vincent Petry
9b6a1cc8ae
Send images to imaginary docker to generate previews
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-by: Vincent Petry <vincent@nextcloud.com>
2022-03-17 08:24:07 +07: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 +07:00
Julius Härtl
0f33453610
Diagnostics event logging to Nextcloud log
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Add config samples
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:40 +07:00
acsfer
3f3b89ffcd
Typo
2022-02-20 20:31:25 +07:00
acsfer
1a2cfff850
Clarify `preview_max_filesize_image` behavior
...
Fix https://github.com/nextcloud/server/issues/30220
2022-02-20 20:31:25 +07:00
zroebg
2df0f53d0e
Add memcached unis socket instructions
2022-02-15 21:00:50 +07:00
Joas Schilling
3fd55cb4df
Allow sysadmins to define a maintenance window where heavier jobs can run
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 13:54:54 +07:00
John Molakvoæ
272f4cd6df
Merge pull request #30763 from nextcloud/feature/noid/allow-to-log-audit-to-syslog
2022-01-25 10:25:13 +07:00
Julien Veyssier
c0b6b78674
allow changing the top-left logo link target in system config
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-20 15:11:16 +07:00
Joas Schilling
497c5841fc
Allow write audit log to syslog and systemdlog
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-20 10:07:57 +07:00
John Molakvoæ
eb3cf6c5ec
Merge pull request #30129 from nextcloud/mdb10.6-pipeline
2022-01-19 09:25:46 +07:00
Joas Schilling
c47406ad3c
Merge pull request #30291 from nextcloud/image-memory-limit
...
Prevent loading images that would require too much memory.
2022-01-11 13:35:56 +07:00
Joachim Bauch
d3d65e5c88
Prevent loading images that would require too much memory.
...
For most image formats, the header specifies the width/height.
PHP allocates an image object from that size, even if the actual
image data is much smaller. This image object size is not limited
by the limit configured in PHP.
The memory limit can be configured through "config.php" setting
"preview_max_memory" and defaults to 128 MBytes which should be
enough for most images without filling up all memory.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2022-01-11 11:44:38 +07:00
Christoph Wurst
4b36f9d92f
Merge pull request #30130 from nextcloud/fix/config_is_read_only
...
Don't write to config file if `config_is_read_only` is set
2021-12-17 14:39:40 +07:00
Vincent Petry
ea30297552
Add option to disallow creation of local storages
...
Introduce a new config option to prevent web UI admins to create
or edit external storages of type "local".
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-15 09:15:31 +07:00
Jonas Meurer
241dfef7fb
Don't write to config file if `config_is_read_only` is set
...
Also don't write to cache in this case to prevent cache and config file
being out of sync.
Fixes : #29901
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-13 13:14:17 +07:00
acsfer
8c27f74a63
Update default row_format
2021-12-07 12:48:48 +07:00
Joas Schilling
168c673755
Allow to log DB, redis and LDAP requests into files
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 22:33:41 +07:00
Vincent Petry
0da42b895e
Fix background scan doc in config
...
The background scanner only processes entries with size < 0
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-10-15 09:56:57 +07:00
Joas Schilling
811d0cd1b5
Merge pull request #29135 from nextcloud/feat/appstore-filtering
...
Allow to filter apps from the appstore
2021-10-14 09:50:37 +07:00
Daniel
b7ee885f93
Merge pull request #28637 from JensTimmerman/master
...
Update config.sample.php
2021-10-13 17:59:44 +07:00
John Molakvoæ
1a6bac5874
Allow to whitelist apps from the apsptore
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-10-13 11:13:33 +07:00
Daniel Kesselberg
110ddb9183
Add documentation for files_no_background_scan
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-08 11:41:19 +07:00
Vincent Petry
04385c7eaa
Add config.php option for transfer ownership
...
Add option to specify whether to transfer incoming shares by default.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-09-15 14:55:52 +07:00
Joas Schilling
1444251ede
Copy doc update to sample config
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-14 09:03:41 +07:00
blizzz
5c1b40ec36
Merge pull request #28677 from nextcloud/fix/noid/mysql-collation
...
make it possible to override the default collation on mysql
2021-09-09 19:39:30 +07:00
Hinrich Mahler
961f8958c0
Let users choose a share_folder
2021-09-06 16:39:11 +07:00
Arthur Schiwon
ce283c12b6
make it possible to override the default collation
...
- allows admins to configure it for edge cases like accent sensitivity
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-01 11:57:47 +07:00
Jens Timmerman
4c9186109b
Update config.sample.php
...
fix typo
2021-08-29 17:48:54 +07:00
Jens Timmerman
f7c3674b75
Update config.sample.php
...
fixes nextcloud/server#21674
2021-08-29 17:47:30 +07:00
Julius Härtl
5b2070c9f5
Extend description for dbdriveroptions config value for TLS/SSL setups
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-25 12:53:53 +07:00
John Molakvoæ
f14b8aa34b
Merge pull request #27888 from nextcloud/fix/redis-auth
2021-07-22 12:47:26 +07:00
John Molakvoæ (skjnldsv)
6e00fe8c26
Properly support RedisCluster
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 07:42:26 +07:00
Julius Härtl
b6a24f87a5
Merge pull request #28077 from nextcloud/heicPerformance
2021-07-21 10:27:19 +07:00
tobiasKaminsky
f62ec2b47c
Disable HEIC image preview provider for performance concerns
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-07-21 09:14:20 +07:00
John Molakvoæ (skjnldsv)
ed10d85ff3
Support redis user password auth and tls encryption
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-20 17:57:33 +07:00
szaimen
35d978c2fc
Rename External storages to External storage
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-05-20 12:13:04 +07:00
J0WI
fdd1ff2686
Update cipher defaults
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-26 19:39:08 +07:00
Roeland Jago Douma
0c33fc706c
Merge pull request #26007 from nextcloud/docs/config/session_lifetime
...
Add hint about possible limit when setting a session_lifetime
2021-03-08 19:30:05 +07:00
Julius Härtl
296332efa3
Add hint about possible limit when setting a session_lifetime
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-08 16:49:30 +07:00
Roeland Jago Douma
4076dfb019
Allow admins to disable the login form
...
In case they want to not allow this because they use SSO (and do not
want the users to enter their credentials there by accident).
?direct=1 still works.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 15:36:47 +07:00
Sascha Wiswedel
a58cc13e2b
fix typo in template directory config
...
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2021-02-25 23:21:27 +07:00
Julius Härtl
7e6d69d166
Add templatedirectory config value to let admins have their custom templates by default
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-28 12:00:20 +07:00
Johannes Leuker
ac88bcbd5f
Add 'allow Symlinks' as an option to config.php
...
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-01-12 10:38:39 +07:00
rakekniven
543df30174
Change defaultapp to dashboard
...
Result of discussion at https://help.nextcloud.com/t/enable-dashboard-on-per-user-basis/94872
Code reference:
db86bea18c/lib/private/legacy/OC_Util.php (L1106)
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2021-01-08 09:49:12 +07:00
Roeland Jago Douma
adc4f1a811
Merge pull request #22916 from J0WI/unifiy-links-to-php.net
...
Unify links to php.net
2020-12-22 09:53:31 +07:00
Roeland Jago Douma
114b472e71
Merge pull request #23319 from nextcloud/fix/argon2-descriptions
...
Fix Argon2 descriptions
2020-12-21 09:24:07 +07:00
Joas Schilling
15956c20c3
Improve hints for default_phone_region
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-17 09:14:21 +07:00
Arthur Schiwon
d8ad4ef6b5
use a consistent default value for sharing.maxAutocompleteResults
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-15 11:53:39 +07:00
Joas Schilling
46b073d7ce
Add a config for default region of phone numbers
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:38 +07:00
MichaIng
ab32344308
Fix Argon2 descriptions
...
The threads option for the password_hash function does not define the maximum allowed number of CPU threads to be used by the hashing algorithm but the exact number of threads that is used.
Similarly the memory_cost option for the password_hash function does not define the maximum allowed memory to be used by the hashing algorithm, but the exact amount of memory that is used by the hashing table. The minimum value is 8 KiB per thread.
The time_cost option for the password_hash function does not define the allowed time in seconds, but the number of iterations for the hash function.
If the minimum values are understood, the minimum values are used instead.
Signed-off-by: MichaIng <micha@dietpi.com>
2020-10-09 20:18:32 +07:00
Roeland Jago Douma
76a7600e2e
Allow configuring the activity update interval of token
...
On some systems with a lot of users this creates a lot of extra DB
writes.
Being able to increase this interval helps there.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-04 09:31:41 +07:00
J0WI
68ce17e59b
Unify links to php.net
...
Update all links to https://www.php.net/
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-09-17 17:40:04 +07:00
Joas Schilling
c8f175e936
Allow to disable share emails
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 09:03:58 +07:00
Morris Jobke
7badda361d
Fix default log_rotate_size in config.sample.php
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-11 14:00:26 +07:00
Morris Jobke
45428e4948
Add config option to enable multibucket preview distribution
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:31:39 +07:00
Daniel Kesselberg
7953a2fa20
Add appstoreurl to config.sample.php.
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-23 22:16:27 +07:00
Sascha Wiswedel
a85191330b
clarified trash bin retention by storage shortage override
...
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-05-04 13:25:05 +07:00
Julius Härtl
9e7f8b85dd
Add config for auto logout after browser inactivity
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-23 19:12:54 +07:00
Joas Schilling
5e402f8aae
Check all remotes for local access
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-14 18:56:06 +07:00
Julius Härtl
5d27ed5e22
remove Windows config since it is not supported anyways
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-08 16:31:20 +07:00
Julius Härtl
124b109bc8
Add preview provider for Krita files
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-08 16:31:20 +07:00
Roeland Jago Douma
53db05a1f6
Start with webauthn
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-31 22:17:07 +07:00
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26 16:34:56 +07:00
Roeland Jago Douma
6675f9b403
Merge pull request #17684 from mlatief/support-no-proxy
...
Add support for GuzzleHTTP 'no' proxy
2020-03-22 19:38:01 +07:00
Sander Ruitenbeek
57415932fd
Added IPv6 example
...
Signed-off-by: Sander Ruitenbeek <sander@getgoing.nl>
Fix typos
Signed-off-by: Sander Ruitenbeek <sander@getgoing.nl>
2020-03-07 00:04:12 +07:00
Mohammed Abdellatif
98d6415264
Add support for GuzzleHTTP 'no' proxy
...
The custom config allows to setup a proxy URI that is passed to
GuzzleHTTP client as request options. Guzzle has the option to receive
an array of proxies for each URI scheme as well as 'no' key value pair
to provide a list of host names that should not be proxied to.
Guzzle would automatically populate these options with HTTPS_PROXY
and NO_PROXY environment variables. However, when providing a 'proxy'
request option, default values will be overriden and it is required to
explicitly provide the 'no' value if needed.
More info:
http://docs.guzzlephp.org/en/stable/request-options.html#proxy
This commit will add support for a new config 'proxyexclude', which
takes a list of host names to be excluded.
It will also provide 'proxy' request option as an array instead of a
string to Guzzle, and populate 'http' and 'https' URI schemes with
proxy URI, and 'no' with 'proxyexclude' list.
Also, if no 'proxy' is configured, it will leave out 'proxy' request
option, so it won't override Guzzle default values.
Sample config file includes a hint on how to explicitly sync
'proxyexclude' with NO_PROXY, and a note about default values.
Signed-off-by: Mohammed Abdellatif <m.latief@gmail.com>
2020-02-29 19:19:23 +07:00
Roeland Jago Douma
0d651f106c
Allow selecting the hashing algorithm
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-03 21:41:17 +07:00
Arthur Schiwon
51d168019f
extended documentation
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-22 17:45:27 +07:00
Arthur Schiwon
171bb98229
expose Argon2 options (as we did for bcrypt)
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-20 18:21:50 +07:00
Julius Härtl
eb4c42d3d1
Make auto accepting the default and provide setting to enforce the share acceptance process
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 22:07:51 +07:00
Carlos Ferreira
bf8603c8a1
Update config.sample.php
...
Remove reference link as domain doesn't exist anymore.
2020-01-09 17:43:35 +07:00
Roeland Jago Douma
5d9fd7ba0c
Merge pull request #16792 from MichaIng/patch-1
...
Harden data and config protection .htaccess
2019-12-19 11:26:12 +07:00
Roeland Jago Douma
bb4264c565
config.php setting to always accept internal shares
...
Part of #18255
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-16 09:07:25 +07:00
MichaIng
4384806f61
Merge branch 'master' into patch-1
2019-12-04 12:42:55 +07:00
Pierre Ozoux
3c0a284baf
Improves doc of mail_smtpsecure
...
To reflect what is in the UI.
Signed-off-by: pierreozoux <pierre@ozoux.net>
2019-11-19 11:27:31 +07:00
MichaIng
592eecdb7d
Add "Order" to assure that no parental "Allow" can grant access
...
Signed-off-by: MichaIng <micha@dietpi.com>
2019-09-26 12:37:07 +07:00
Arthur Schiwon
43bc31bacb
set a storage availability delay on auth issues to avoid lock out
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-08-22 12:40:15 +07:00
MichaIng
2411455088
Apache 2.5 will be released as 2.6
...
+ Ref: https://github.com/nextcloud/server/pull/16792/files#r315206147
Signed-off-by: Micha Felle <micha@dietpi.com>
2019-08-19 15:51:55 +07:00
MichaIng
a849b329a7
Use syntax with cases according to official docs
...
+ Ref: https://github.com/nextcloud/server/pull/16792/files#r315207691
Signed-off-by: Micha Felle <micha@dietpi.com>
2019-08-19 15:40:00 +07:00
MichaIng
e84cdc609a
Harden config protection .htaccess
...
+ Set "Satisfy All" whenever available, as well on Apache 2.4+. This is required to override possible "Satisfy Any" on parent dir, which otherwise would allow direct access to data, regardless of "Require" directive.
+ Set "Deny from all" as well whenever available, to block access regardless of which access control directive takes priority.
+ Assume Apache 2.2 only, if mod_authz_core and mod_access_compat are both not available, to avoid doubled directives. In this case set "Deny from all" directive only if the providing mod_authz_host module is available. "Satisfy" is a core directive on Apache 2.2.
+ Update Apache version strings. Regarding the used directives/modules, Apache 2.4 and 2.5 behave the same.
+ Add ordering spaces to better reflect the nested directives and to match style of other .htaccess files.
Fixes : #6449 (for the config directory)
Signed-off-by: Micha Felle <micha@dietpi.com>
2019-08-19 15:17:39 +07:00
Morris Jobke
39c28bd05b
Enterprise update channel
...
Allows to select the enterprise update channel for instances that have a valid subscription.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-10 16:19:34 +07:00
John Molakvoæ
d37a844547
Add documentation to config.php for share_folder
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-06-12 10:15:48 +07:00
Morris Jobke
e9e9b6a4b6
Allow redis cluster to use password
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-22 12:19:07 +07:00
Roeland Jago Douma
7e7146db7f
Block install without CAN_INSTALL file
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-11 09:32:33 +07:00
Jonas Sulzer
fd83661e60
👌 IMPROVE: remove user_external example from config.sample.php
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-03-13 18:14:03 +07:00
Roeland Jago Douma
e6333c8fe3
Honor remember_login_cookie_lifetime
...
If the remember_login_cookie_lifetime is set to 0 this means we do not
want to use remember me at all. In that case we should also not creatae
a remember me cookie and should create a proper temp token.
Further this specifies that is not 0 the remember me time should always
be larger than the session timeout. Because else the behavior is not
really defined.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-23 08:46:24 +07:00
Branko Kokanovic
72d97b44a7
Expose Swift Mailer streaming options in config, fixes #12702
...
Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
2018-11-30 22:36:03 +07:00
Carsten Wiedmann
446d96f3eb
Apply patch from @cwiedmann but drop -oi option for pipe
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-11-29 16:02:35 +07:00
Sylvia van Os
935bb25639
Make connectivity check domains configurable
...
Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
2018-11-22 10:57:16 +07:00
Dennis1993
708658afa3
Merge pull request #12089 from Rayn0r/master
...
added possibility to disable autocomplete in login form
2018-10-31 09:19:02 +07:00
Rayn0r
2a9b56f77b
added sample config for turning off form autocompletion on login page
...
Signed-off-by: Rayn0r <Andre.Weidemann@web.de>
2018-10-30 20:54:19 +07:00
Oliver Wegner
fb5ac6b836
Extending documentation in config.sample.php for `trusted_proxies`
...
Signed-off-by: Oliver Wegner <void1976@gmail.com>
2018-10-30 17:36:41 +07:00