nextcloud-server/lib/private
Ferdinand Thiessen 0563757ea4 fix(SetupCheck): Properly check public access to data directory
When checking for public (web) access to the data directory the status is not enough
as you might have a webserver that forwards to e.g. a login page.
So instead check that the content of the file matches.

For this the `.ncdata` file (renamed from `.ocdata`¹) has minimal text content
to allow checking.

¹The file was renamed from the legacy `.ocdata`, there is a repair step to remove the old one.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 22:08:42 +07:00
..
Accounts feat(ldap): sync additional properties to profile and SAB 2024-05-30 12:01:13 +07:00
Activity fix(activity): regroup Files and spltit sharing activity 2024-08-01 11:03:24 +07:00
App fix: unify bundle naming 2024-08-06 11:14:07 +07:00
AppFramework fix(files_sharing): show proper share not found error message 2024-08-06 16:25:10 +07:00
Archive chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Authentication fix(Token): take over scope in token refresh with login by cookie 2024-07-19 15:53:46 +07:00
Avatar fix: use different file name for generated dark avatars 2024-05-26 17:32:10 +07:00
BackgroundJob fix(db): Deprecate `IExpressionBuilder::or()` and `IExpressionBuilder::and()` without parameters 2024-07-19 11:21:16 +07:00
Blurhash/Listener fix: don't persist previews used during blurhash generation 2024-07-30 09:09:26 +07:00
Broadcast/Events chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Cache Merge branch 'master' into refactor/OC-Server-getSecureRandom 2024-05-30 14:24:22 +07:00
Calendar feat: implement public OCP api to update resources and rooms 2024-05-27 18:45:52 +07:00
Collaboration feat(Reference): Add public API endpoints to get references 2024-07-17 12:56:41 +07:00
Command chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Comments chore: Move comments event handler to use proper event dispatcher 2024-06-26 18:13:07 +07:00
Console chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Contacts/ContactsMenu chore: Add SPDX header 2024-05-24 13:11:22 +07:00
DB fix: fix passing additional db connection parameters in factory 2024-07-31 18:53:42 +07:00
Dashboard fix(dashboard): Document expected icon behaviour 2024-07-11 13:14:03 +07:00
Diagnostics feat(log): Allow to combine log.conditions to only log (app&user) 2024-07-30 13:18:09 +07:00
DirectEditing chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Encryption Merge branch 'master' into refactor/OC-Server-getEncryptionFilesHelper 2024-06-04 15:47:48 +07:00
EventDispatcher chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Federation fix(federation): Fix missing protocol on CloudID remote 2024-06-27 11:26:08 +07:00
Files Merge pull request #47044 from nextcloud/fix/accept-several-mounts-in-encryption 2024-08-07 20:58:19 +07:00
FilesMetadata chore: Add SPDX header 2024-05-24 13:11:22 +07:00
FullTextSearch chore: Add SPDX header 2024-05-24 13:11:22 +07:00
GlobalScale chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Group fix: Ensure database connection is setup when getting group details 2024-08-06 13:41:04 +07:00
Hooks chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Http chore: Add SPDX header 2024-05-24 13:11:22 +07:00
IntegrityCheck fix(IntegrityCheck): Ensure the check is run if no results are available 2024-07-03 11:37:49 +07:00
KnownUser chore: Add SPDX header 2024-05-24 13:11:22 +07:00
L10N feat: reduce available languages per config value "reduce_to_languages" 2024-07-01 09:34:11 +07:00
LDAP chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Lock chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Lockdown refactor(Token): introduce scope constants 2024-06-05 19:01:14 +07:00
Log chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Mail fix(emails): adjust mail button to new design 2024-08-06 09:42:19 +07:00
Memcache chore: remove Redis::DEFAULT_TTL constant now that it's defined in the interface 2024-08-07 19:41:44 +07:00
Migration fix(migration-preview): display a message if no attributes set 2024-08-06 22:23:12 +07:00
Net chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Notification chore: Add SPDX header 2024-05-24 13:11:22 +07:00
OCM chore: Add SPDX header 2024-05-24 13:11:22 +07:00
OCS chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Preview feat(preview): move previews for imaginary pdf to own class ImaginaryPDF 2024-07-25 17:01:01 +07:00
Profile chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Profiler chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Remote chore: fix some comments 2024-07-29 14:43:27 +07:00
Repair fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +07:00
RichObjectStrings chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Route chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Search chore: Remove deprecated legacy search backend 2024-08-01 12:33:18 +07:00
Security Merge pull request #46571 from nextcloud/chore/migrate-to-filenamevalidator 2024-07-22 10:40:50 +07:00
Session fix(session): Log when session_* calls are slow 2024-08-07 09:02:10 +07:00
Settings chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Setup Merge branch 'master' into refactor/OC-Server-getSecureRandom 2024-05-30 14:24:22 +07:00
SetupCheck chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Share chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Share20 fix: Add `acceptShare` as an interface 2024-07-30 15:25:51 +07:00
SpeechToText chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Support chore: Add SPDX header 2024-05-24 13:11:22 +07:00
SystemTag fix: removed unused variable and check if tag ids are empty before starting the inserts 2024-06-19 12:52:46 +07:00
Tagging chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Talk chore: Add SPDX header 2024-05-24 13:11:22 +07:00
TaskProcessing Merge pull request #46912 from nextcloud/fix/taskprocessing-speech-to-text-legacy 2024-08-01 09:04:15 +07:00
Teams fix: Avoid throwing errors for teams are unavailable 2024-06-24 12:29:43 +07:00
Template feat: let users configure their first day of week 2024-07-22 22:35:46 +07:00
TextProcessing fix(TextProcessing): use error instead of info for exception logging 2024-07-18 17:53:52 +07:00
TextToImage chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Translation chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Updater feat(migration-attributes): tests 2024-07-29 12:44:52 +07:00
User fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +07:00
UserStatus chore: Add SPDX header 2024-05-24 13:11:22 +07:00
legacy fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +07:00
AllConfig.php fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of removed upstream platforms 2024-07-19 11:21:14 +07:00
AppConfig.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
AppScriptDependency.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
AppScriptSort.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
BinaryFinder.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
CapabilitiesManager.php perf(capabilities): Log capabilities providers that are slow 2024-06-21 11:41:22 +07:00
Color.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Config.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ContactsManager.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
DatabaseException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
DatabaseSetupException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
DateTimeFormatter.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
DateTimeZone.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
EmojiHelper.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
EventSource.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
EventSourceFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ForbiddenException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
HintException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
InitialStateService.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Installer.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
LargeFileHelper.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Log.php feat(log): Allow to combine log.conditions to only log (app&user) 2024-07-30 13:18:09 +07:00
MemoryInfo.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NaturalSort.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NaturalSort_DefaultCollator.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NavigationManager.php fix(NavigationManager): Make entry order always an integer 2024-05-30 17:00:32 +07:00
NeedsUpdateException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NotSquareException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
PhoneNumberUtil.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
PreviewManager.php feat(preview): move previews for imaginary pdf to own class ImaginaryPDF 2024-07-25 17:01:01 +07:00
PreviewNotAvailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
RedisFactory.php feat: add config flag to toggle persistent redis connections 2024-07-22 14:25:20 +07:00
Repair.php fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +07:00
RepairException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Server.php fix(session): Log when session_* calls are slow 2024-08-07 09:02:10 +07:00
ServerContainer.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ServerNotAvailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ServiceUnavailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Setup.php fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +07:00
StreamImage.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Streamer.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
SubAdmin.php feat(users): Add support for admin delegation for users and groups management 2024-07-22 17:17:35 +07:00
SystemConfig.php feat(log): Allow to combine log.conditions to only log (app&user) 2024-07-30 13:18:09 +07:00
TagManager.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Tags.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
TempManager.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
TemplateLayout.php feat: Add new forbidden filename options to Capabilities 2024-07-11 13:31:54 +07:00
URLGenerator.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Updater.php fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +07:00