| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
- less static calls
- use params on sql queries
- handle sql exception on database and user creation gracefully
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Also used the opportunity to refactor it into an AppFramework controller so that we can unit test it.
Fixes https://github.com/owncloud/core/issues/14956
|
| |
|
| |
|
|\
| |
| |
| |
| | |
mmattel/Try_to_write_logtimezone_during_installation
Write the parameter 'logtimezone' into config.php during setup
|
| | |
|
| |
| |
| |
| | |
https://github.com/owncloud/core/pull/14838#issuecomment-78586447
|
| | |
|
| |
| |
| |
| | |
command line as well
|
| |
| |
| |
| | |
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes https://github.com/owncloud/core/issues/14356
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed.
This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions.
Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though.
Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969
|
|/
|
|
| |
Fixes https://github.com/owncloud/core/issues/13657
|
|
|
|
| |
Ref https://github.com/owncloud/core/issues/13693#issuecomment-71546767
|
| |
|
|
|
|
|
|
|
|
|
| |
Currently if a user does not replace the .htaccess file with the new update this can lead to serious problems in case Apache is used as webserver.
This commit adds the version to the .htaccess file and the update routine fails in case not the newest version is specified in there. This obviously means that every release has to update the version specified in .htaccess as well. But I see no better solution for it.
Conflicts:
lib/private/updater.php
|
|
|
|
|
|
| |
Depending on the used environment the port might be appended to the host header resulting in an inaccessible instance when initially setting up on a system with a different HTTP or HTTPS port. (for example test:500)
To test this setup ownCloud under a different port with and without this patch. (heads-up: localhost is always white-listed, so use a different domain)
|
| |
|
|
|
|
| |
Since automatic schema migrations are not yet possible let's disable this for now.
|
| |
|
|
|
| |
...
|
| |
|
|
|
|
|
|
| |
This commit will make the supported DBs for installation configurable within config.php. By default the following databases are tested: "sqlite", "mysql", "pgsql". The reason behind this is that there might be instances where we want to prevent SQLite to be used by mistake.
To test this play around with the new configuration parameter "supportedDatabases".
|
|
|
|
|
|
|
|
|
|
|
|
| |
Correctly use overwritemailurl value when generating absolute urls in CLI
Fix #11500
Rename the config to *cli
Add overwrite.cli.url to the sample config
Revert separator fix, fixes unit test
|
|\
| |
| | |
Don't complain about non-writable datadirs before we're installed
|
| | |
|
|/ |
|
|
|
|
| |
Fix #10514
|
|\
| |
| |
| |
| | |
Conflicts:
lib/private/util.php
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds some security utilities to core including:
- A library for basic crypto operations (e.g. to encrypt passwords)
- A better library for cryptographic actions which allows you to specify the charset
- A library for secure string comparisions
Remove .htaccess
Remove .htaccess
Fix typo
Add public API
Use timing constant comparision
Remove CBC constant
Adjust code
Remove confusing $this
|
| |
|
|
|
|
| |
* test case added to avoid adding them later
|
|\
| |
| |
| |
| |
| | |
Conflicts:
lib/private/setup.php
lib/private/updater.php
|
| |
| |
| |
| |
| |
| |
| |
| | |
In environments where the data folder is mount from another partition,
it is important to check that the data folder we see is actually the
real one. If the mount failed for some reasons, this fix will make
ownCloud temporarily unavailable instead of causing unpredictable
behavior.
|
| |
| |
| | |
269f24cf9617397aaf501b27ec1af2c8e3154cf8 was not changed in setup.php which prevented loading of CSS files in some environments (e.g. my local setup) for apps.
|
| | |
|
|/
|
|
|
| |
1. We're maintaining the same code twice which leads inevitably to problems as this one. The createHtaccess routine is only used to use the correct paths to the 404 and 403 document.
2. Updating the ownCloud instance as described in our documentation (`Delete everything from your ownCloud installation directory, except data and config.`) will break the links to the ErrorDocuments anyways and show the default error handlers if ownCloud is not installed in the root directory.
|
|\
| |
| | |
Add overwritehost config on setup and upgrade
|
| | |
|
| | |
|
|/ |
|