Joas Schilling
494d737f7e
Remove unused member "util"
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 lat temu
Daniel Kesselberg
ff629ad158
Trigger warning if empty array or false and X-Forwarded-Host is present
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Roeland Jago Douma
575b3f9ff8
Revert "Where is your data?"
5 lat temu
Roeland Jago Douma
769cb629ae
allow enforcing apps to ignore the max version
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 lat temu
Daniel Kesselberg
3855d78b2c
Make check for empty trusted proxies more strict
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
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 lat temu
Christoph Wurst
102f700d96
Load auth tokens with the initial state API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 lat temu
Morris Jobke
6c7ccbecbf
Add setup check for missing UTF8MB4 on mysql
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 lat temu
Daniel Kesselberg
600bc22297
Warning if x-forwarded-host present but trusted_proxies empty
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Daniel Kesselberg
840f0c38fc
Show more information on update app password
Add Renamed, Filesystem Granted and Filesystem Revoked to
activity app.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Michael Weimann
587a140c8a
Code style and comment fixes
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 lat temu
Daniel Kesselberg
34e849d702
Add interface INamedToken
Remove $token instanceof DefaultToken || $token instanceof PublicKeyToken
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Daniel Kesselberg
db49e0fdae
Add canRename & name to tests
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Daniel Kesselberg
86f0f867ec
Make app password description editable
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Daniel Kesselberg
e78f4cec15
Don't cast tokenId to string
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Daniel Kesselberg
17b82c5d76
Add token name for delete activity
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Daniel Kesselberg
f24fa2051d
Publish event for app token create/update/delete
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Michael Weimann
2cd3fd3dc2
Move server info to theming section
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 lat temu
Michael Weimann
813ff430f1
Implement storing and loading the server info
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 lat temu
Christoph Wurst
ea1fcd036f
Bundle the 'marked' library
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 lat temu
Roeland Jago Douma
8e914c01c5
Use the real logger in the settings
Fixes #13285
The wrapper logger should not be used here. But we need the real logger.
Since this in internal we can just pass that on directly.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 lat temu
Daniel Kesselberg
248e824f48
Remove check for outdated caches
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Bjoern Schiessle
4b3308bf3f
fix can change password check in case of encryption is enabled
Admin should _not_ be able to change password when:
- if an encryption module is loaded and it uses per-user keys
- if encryption is enabled but no encryption modules are loaded
Admin should be able to change the password when:
- no encryption module is loaded and encryption is disabled
- encryption module is loaded but it doesn't require per user keys
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
5 lat temu
Morris Jobke
17b2827bbf
Add setup check for pending bigint conversion
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 lat temu
Morris Jobke
5b22225351
Update casing of PHP inside method name
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 lat temu
Morris Jobke
f5ad80fc57
Add setup check for recommended PHP modules (i.e. Imagick, intl)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 lat temu
Morris Jobke
cac87533e0
PHP 7.0 is end of life
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 lat temu
Daniel Kesselberg
92675a606e
Add sendmailmode to gui
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Sylvia van Os
935bb25639
Make connectivity check domains configurable
Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
5 lat temu
Morris Jobke
8e4f0f9d17
Use the proper default values
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 lat temu
Marc Peña Segarra
ea10c6a141
Fix the warning appearing check setup when mail_smtpmode is not configured.
Closes #11107
5 lat temu
John Molakvoæ (skjnldsv)
9f532df1a4
Show disabled even if empty if ldap enabled
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 lat temu
Daniel Kesselberg
5cf8f4a407
Update logic for forwardedForHeadersWorking
As discussed in https://github.com/nextcloud/server/issues/11594 when discovering if
x-forwarded-for is working properly its not possible to use getRemoteAddr because
the "client ip" is returned. For this check the ip of the last hop would be required.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Christoph Wurst
83e994c11f
Make it possible to enforce mandatory 2FA for groups
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 lat temu
Christoph Wurst
67c3730fbb
Add admin interface to enforce 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 lat temu
Joas Schilling
ea21aa3f7a
Use numeric placeholders if there are multiple, so that RTL languages can operate better
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 lat temu
Daniel Kesselberg
45dab2d2a2
Add int-typehint
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Daniel Kesselberg
2e5d8ecca4
Remove posix_getpwuid and compare only userid
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Daniel Kesselberg
a6bb19fa11
Fix path when app has wrong permission
Replace slow array function used in loop: https://github.com/kalessil/phpinspectionsea/blob/master/docs/performance.md#slow-array-function-used-in-loop
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 lat temu
Timo Förster
8d8189c932
Allow any Random generator that implements ISecureRandom for setupCheck
Signed-off-by: Timo Förster <tfoerster@webfoersterei.de>
5 lat temu
Timo Förster
006e150c87
Change check if secure randomness is possible.
Signed-off-by: Timo Förster <tfoerster@webfoersterei.de>
5 lat temu
Michael Weimann
c164409ee7
Adds a memory limit warning for console commands if the limit is below the recommended value
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 lat temu
Michael Weimann
c2fced4463
Adds a setup check for the memory limit
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 lat temu
Arthur Schiwon
1b74bfc999
do not trigger counting on LDAP
it's probably too many, degregading performance
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 lat temu
Michael Weimann
3f790bb85b
Excludes not writable app roots from the directory permission check
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 lat temu
Michael Weimann
b2e60e365d
Adds a setup check for app directory permissions.
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 lat temu
Joas Schilling
a9f8ee4e9d
Also allow to update apps which are currently not enabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 lat temu
Joas Schilling
2dcae4e8ea
Keep the data of the local app (especially the version)
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 lat temu
Roeland Jago Douma
106ce3368d
Not all apps are from the appstore
Fixes #10504
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 lat temu
Morris Jobke
882aab9d70
Fix detection if opcache extension is loaded
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 lat temu