Commit Graph

609 Commits

Author SHA1 Message Date
Christoph Wurst
5dd7513390 fix(db): Fix replica password example config
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-23 08:17:26 +01:00
Daniel
b9b0ca6dea
Merge pull request #41998 from nextcloud/enh/read-replica 2023-12-27 21:57:30 +01:00
Louis Chemineau
a39b3a3d84
Add global accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 10:21:13 +01:00
Julius Härtl
79c4986354
enh: Implement PrimaryReadReplicaConnection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-16 20:27:37 +01:00
Richard Steinmetz
8191295f66
feat(dav): dispatch out-of-office started and ended events
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-23 17:18:49 +01:00
Daniel Kesselberg
b5241d5220
feat: allow multiple libreoffice invocations
LibreOffice only allows one invocation per user profile.[^1]

The office provider set the user profile to /tmp/owncloud-instanceid and therefore only one invocation per instance is allowed. This was introduced a while ago, yet it's unclear if this was intentionally or just a side effect.[^2]

The limitation on one invocation leads to the situation that the preview generation only works for a couple of files if you upload a whole folder of emf or word files.

This commit removes the limitation by using a new user profile for each preview. That's done by using instance id plus file id as postfix for getTemporaryFolder.

This has some drawbacks:

- Overload protection: If you upload 100 emf files, you may end up with 100 LibreOffice invocations. Though, you can use preview_concurrency_new to limit the number of previews that can be generated concurrently when php-sysvsem is available.
- New profile: I assume it takes a few bits to generate a fresh LibreOffice user profile. It appears that there is no way to ask LibreOffice to not create a profile and just work with the defaults. The profile will be cleaned after use by our temp manager.
- Remove the configuration option preview_office_cl_parameters:  This is not strictly necessary yet, but if you set the configuration option, the generated path for the user profile is also missing. The configuration option is not well documented (e.g., it's unclear that the last option needs to be --outdir) and actually, there should be no reason to change it after all.

[^1]: https://wiki.documentfoundation.org/UserProfile
[^2]: https://github.com/owncloud/core/pull/9784

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 21:46:31 +01:00
Daniel Kesselberg
aa48a5f94f
feat: add preview provider for emf files based on office
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 12:35:54 +01:00
fenn-cs
13d03f45a3 Add unified search toggle in config
The new global search UI is new and might be unstable, hence
we are giving users the option to use the old unified search UI, if
the encounter signficant bottlenecks.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 11:27:32 +01:00
Josh Richards
4a7f648d16
config.sample.php: fix incorrect theme name + add a missing one
Fixes #40908 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-15 13:27:40 -04:00
Simon L
e5b11ced4a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-06 16:22:02 +02:00
John Molakvoæ (skjnldsv)
dbeb526bba
fix(files): disallow illegal characters
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:12:44 +02:00
Arthur Schiwon
825b65e2ef
Merge pull request #39978 from joshtrichards/jr-cfg-sample-trystack-remove
(config sample) Remove defunct trystack.org url
2023-08-29 21:13:30 +02:00
Joas Schilling
abc98d343c
feat(security): Add a "testing mode" for bruteforce protection that doesn't sleep
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:03 +02:00
Josh Richards
5c3bf436c8
(config sample) Remove defunct trystack.org url
Fixes nextcloud/documentation#10434 and nextcloud/documentation#9400

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-08-19 18:15:49 -04:00
Arthur Schiwon
f840c08dd6
docs(config): inform about log.backtrace
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-17 15:08:08 +02:00
Joda Stößer
a4a7971f11 style(config): alphabetise preview providers
Signed-off-by: Joda Stößer <git@simjo.st>
2023-06-19 13:32:03 +02:00
Dominik Fuchß
a4a57409db Changes after code review.
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
Dominik Fuchß
c3ba871f36 Add config variable for curl timeout
Add the config variable for curl calls ("remote_curl_timeout"). E.g., needed for nextcloud federation.

Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
Simon L
918859cafd allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-10 10:05:36 +02:00
JanisPlayer
c71a3065a7 Allow to specify an imaginary key
Signed-off-by: JanisPlayer <54918417+JanisPlayer@users.noreply.github.com>
2023-05-22 22:19:51 +02:00
Simon L
0b1444357b
Merge pull request #38321 from nextcloud/pulsejet/patch-dbtableprefix
docs: add dbtableprefix to sample config
2023-05-16 22:50:37 +02:00
Varun Patil
8102c88c2e Add dbtableprefix to sample config
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-16 11:20:13 -07:00
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 +02: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 +02: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 +02: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 +02: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 +02: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01:00
Joas Schilling
d230fd145a
Language fixes in example config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-08 09:02:47 +01:00
Joas Schilling
13957032cf
More fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-25 11:46:56 +01: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 +01: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 +08:00
szaimen
88a0e773c0 update browser warning
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-25 23:01:29 +00:00
John Molakvoæ
2d98cd1daf
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:04:51 +02:00
Retidurc Silvernight
3ecd400cec
Update config.sample.php
Signed-off-by: Retidurc Silvernight <retidurc@silvernight.social>
2022-09-23 09:48:02 +02:00
Vincent Petry
1025d049c7
Merge pull request #24596 from kofemann/dcache-worm
make NextCloud WORM file system friendly
2022-09-16 14:39:13 +02: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 +02: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 +02: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 +02:00
Julius Härtl
80f6a5834a
Refactor cache handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:24:35 +02:00