Christoph Wurst
6995223b1e
Add well known handlers API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Joas Schilling
46b073d7ce
Add a config for default region of phone numbers
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Christoph Wurst
ae0a496da8
Bump jquery from 2.2.4 to 3.1.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Joas Schilling
d5df033ede
Create primary keys on all tables and add a command to create the afterwards
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
b974dd5b73
Update new test as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
720dc4e93d
Add optional column oc_comments.reference_id
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Roeland Jago Douma
b0ea022a3e
Add basic reverseproxy misconfig detection to setupchecks
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Victor Goff
2663fc442c
adviced should be advised
Signed-off-by: Victor Goff <keeperotphones@gmail.com>
4 years ago
Christoph Wurst
20afe94297
Do not show a internet connectivity warning if internet access is disabled
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Jan-Christoph Borchardt
d14c0f2ed7
Move font from Nunito to Noto Sans
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 years ago
Morris Jobke
c8f2198aa0
Remove recommendation for opcache on CLI
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Morris Jobke
060b637b70
Show a setup warning in case S3 object storage is used as primary storage
* checks for at least 50 GB of free space
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Morris Jobke
6c7ccbecbf
Add setup check for missing UTF8MB4 on mysql
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Morris Jobke
faef05730a
Add unit tests and provide better message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Daniel Kesselberg
248e824f48
Remove check for outdated caches
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years ago
Morris Jobke
17b2827bbf
Add setup check for pending bigint conversion
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Morris Jobke
f5ad80fc57
Add setup check for recommended PHP modules (i.e. Imagick, intl)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Morris Jobke
f5894b653d
Add check for missing .woff2 rule in Nginx via setup check
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Daniel Peukert
7a5d6ac15c
Fix failing tests and add some more
Signed-off-by: Daniel Peukert <dan.peukert@gmail.com>
5 years ago
Moritz Beck
b68661ed6e
Allow "same-origin" as "Referrer-Policy"
Fixes #11531
Although "same-origin" is more strict than e.g. strict-origin it showed up a warning in setupcheck
Based on https://scotthelme.co.uk/a-new-security-header-referrer-policy/
Signed-off-by: Moritz Beck <git@birkenstab.de>
5 years ago
Daniel Calviño Sánchez
d143b43a04
Make possible to set the expected status of the well known URL check
The check is based on the HTTP status returned by the URL, and different
URLs may return different status (for example, DAV returns 207, while
a service like WebFinger would return 200), so the expected status needs
to be set depending on the URL.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years ago
Morris Jobke
b8d54bd53a
Fix a misleading setup check for .well-known/caldav & carddav
The problem is that the version without the slash is the correct one.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Timo Förster
006e150c87
Change check if secure randomness is possible.
Signed-off-by: Timo Förster <tfoerster@webfoersterei.de>
5 years ago
Michael Weimann
7aed47f776
Adds tests for the memory checks
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 years ago
Michael Weimann
1d2bc9c45e
Adds tests for the setup memory limit checks
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 years ago
Michael Weimann
ebcfe33d0d
Extends the setup check js tests
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 years ago
Morris Jobke
83b1de4493
Fix unit tests - follow up to #10197
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Cthulhux
f6f49c77f7
opcache module check
Improved the speed of isOpcacheProperlySetup() (instant return instead of continuing when we're already failed), added a check for the opcache extension itself. Potentially fixes #9410
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Morris Jobke
9c4aecb539
Merge all setup checks into one controller
* renamed hasMissingIndexes to missingIndexes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Morris Jobke
4a0b7aaf6c
Merge tips & tricks section into setup checks
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Morris Jobke
624d191ef6
Fix wrong hint about missing indexes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Roeland Jago Douma
4b70c9f89d
Add referrer policy setup check
Fixes #9122
Based on https://www.w3.org/TR/referrer-policy/ and
https://scotthelme.co.uk/a-new-security-header-referrer-policy/
Setting a sane Referrer-Policy will tell the browser if/when to send
referrer headers when accessing a link from Nextcloud. When configured
properly this results in less tracking and less leaking of (possibly)
sensitive urls
* Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Allan Nordhøy
e81f30b124
Spelling: FreeType
6 years ago
Roeland Jago Douma
ee20741526
Add tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Morris Jobke
4af12dcab1
Fix unit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Markus Staab
db34b59238
Prevent XSS in links which open a new browser window
6 years ago
Morris Jobke
582fb5d129
Update the URLs in tests to use example.org
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
rakekniven
f2d999aa70
Update setupchecks.js
Fixed typo and removed doclink symbol.
Reported at transifex
Update util.php
Another l10n improvement from transifex.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke
1fedf450ac
Update Opcache recommendation
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Joas Schilling
1c0bffe87f
Fix translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Lukas Reschke
6c8d48b0f6
Harden t() with DOMPurify
This mitigates issues where developers pass untrusted user-input through t() which may lead to XSS issues.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Roeland Jago Douma
bb2ec51bbb
Fix unit tests of master
Follow up to #3802
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Morris Jobke
cee8853658
Show info in admin settings about PHP opcache if disabled
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke
a2867c0664
Properly check the data dir
* fixes #1364
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Joas Schilling
0f06034239
Replace more vendor naming
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Arthur Schiwon
9b01574465
adjust js tests
7 years ago
Derek
b236100619
Alters 'No Internet Connection' error message. #181
8 years ago
Vincent Petry
fb087a0261
Use temporary htaccesstest.txt for data dir security check
8 years ago
Morris Jobke
e03d289b70
Use 6 months as SSL STS header threshold
* this uses 6 months (6 * 30 * 24 * 60 * 60 = 15552000
)
* old value was half a year (365 / 2 * 24 * 60 * 60 = 15768000
)
* fixes #23957
8 years ago
Lukas Reschke
6ad957906e
Consistently use rel=noreferrer
When linking to external entities we should consistently use rel=noreferrer
8 years ago