summaryrefslogtreecommitdiffstats
path: root/lib/private/setup.php
Commit message (Collapse)AuthorAgeFilesLines
* Check for PDO instead of removed function for PHP 7 compatibilityLukas Reschke2015-07-301-8/+22
|
* - more injectionThomas Müller2015-07-301-6/+20
| | | | | | - less static calls - use params on sql queries - handle sql exception on database and user creation gracefully
* Moving mysql setup code over to DoctrineThomas Müller2015-07-291-1/+1
|
* Remove remainings of mssqlThomas Müller2015-07-291-7/+0
|
* update license headers and authorsMorris Jobke2015-06-251-1/+0
|
* Only update the htaccess ErrorDocument links when they are not set yetJoas Schilling2015-06-231-4/+14
|
* Add check for activated local memcacheLukas Reschke2015-03-281-1/+2
| | | | | | 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
* Update license headersJenkins for ownCloud2015-03-261-4/+32
|
* Fix setup configVincent Petry2015-03-161-1/+1
|
* Merge pull request #13733 from ↵Thomas Müller2015-03-161-0/+5
|\ | | | | | | | | mmattel/Try_to_write_logtimezone_during_installation Write the parameter 'logtimezone' into config.php during setup
| * Write the parameter 'logtimezone' into config.php during setupMartin2015-01-281-0/+5
| |
* | drop any fallback code related to curl - refs ↵Thomas Müller2015-03-121-10/+0
| | | | | | | | https://github.com/owncloud/core/pull/14838#issuecomment-78586447
* | Don't play with config values ...Thomas Müller2015-03-111-6/+11
| |
* | Properly handle available databases at runtime and respect setup checks in ↵Thomas Müller2015-03-111-15/+102
| | | | | | | | command line as well
* | Revert "Updating license headers"Morris Jobke2015-02-261-32/+4
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | Fix namespace of OC_Setup -> \OC\SetupThomas Müller2015-02-231-21/+30
| |
* | Updating license headersJenkins for ownCloud2015-02-231-5/+32
| |
* | Add `Satisfy All`Lukas Reschke2015-02-191-0/+1
| | | | | | | | Fixes https://github.com/owncloud/core/issues/14356
* | Use the untrusted domain in the installerLukas Reschke2015-02-181-2/+2
| |
* | Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-2/+4
| | | | | | | | | | | | | | | | | | | | 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
* | Reference module with `.c`Lukas Reschke2015-01-281-2/+2
|/ | | | Fixes https://github.com/owncloud/core/issues/13657
* Make error more descriptiveLukas Reschke2015-01-261-1/+1
| | | | Ref https://github.com/owncloud/core/issues/13693#issuecomment-71546767
* Use setConfigs() instead of calling setConfig() multiple timesJoas Schilling2015-01-231-8/+9
|
* Add version to .htaccessLukas Reschke2015-01-081-1/+30
| | | | | | | | | 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
* Trim port from domainLukas Reschke2014-12-031-1/+1
| | | | | | 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)
* Disable OCI as it is unsupported by most CE appsLukas Reschke2014-11-281-1/+1
|
* Disable MSSQL for new CE installationsLukas Reschke2014-11-281-1/+1
| | | | Since automatic schema migrations are not yet possible let's disable this for now.
* Correctly namespace DatabaseSetupExceptionJoas Schilling2014-11-261-4/+1
|
* Fix stupid copy paste failLukas Reschke2014-10-301-1/+1
| | | ...
* code cleanup during review :+1:Thomas Müller2014-10-271-17/+17
|
* Make supported DBs configurable within config.phpLukas Reschke2014-10-271-1/+102
| | | | | | 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".
* Set overwritemailurl* configs on setupJoas Schilling2014-10-141-1/+1
| | | | | | | | | | | | 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
* Merge pull request #10934 from owncloud/datadir-write-setupVincent Petry2014-09-251-3/+13
|\ | | | | Don't complain about non-writable datadirs before we're installed
| * Check for writable datadir during setupRobin Appelman2014-09-181-3/+13
| |
* | remove post setup checkThomas Müller2014-09-221-21/+1
|/
* Set overwritewebroot when installing owncloud to avoid problemsJoas Schilling2014-09-081-0/+1
| | | | Fix #10514
* Merge branch 'master' into securityutilsLukas Reschke2014-08-311-1/+1
|\ | | | | | | | | Conflicts: lib/private/util.php
| * Use public api for getting l10nRobin Appelman2014-08-311-1/+1
| |
* | Add some security utilitiesLukas Reschke2014-08-271-6/+11
|/ | | | | | | | | | | | | | | | | | | | | | | 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
* trusted domains shall not be ignored on autosetupArthur Schiwon2014-06-231-1/+7
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-1/+1
| | | | * test case added to avoid adding them later
* Merge branch 'master' into append-error-documentThomas Müller2014-04-021-0/+4
|\ | | | | | | | | | | Conflicts: lib/private/setup.php lib/private/updater.php
| * Added .ocdata file to check for data folder validityVincent Petry2014-03-141-0/+4
| | | | | | | | | | | | | | | | 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.
| * CSS is now loaded directly instead via PHPLukas Reschke2014-02-281-1/+1
| | | | | | 269f24cf9617397aaf501b27ec1af2c8e3154cf8 was not changed in setup.php which prevented loading of CSS files in some environments (e.g. my local setup) for apps.
* | Typo + use regular assignmentLukas Reschke2014-02-281-2/+2
| |
* | Remove .htaccess creation codeLukas Reschke2014-02-281-46/+8
|/ | | | | 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.
* Merge pull request #7259 from owncloud/overwritehost-alwaysLukas Reschke2014-02-221-0/+1
|\ | | | | Add overwritehost config on setup and upgrade
| * Add overwritehost config on setup and upgradeLukas Reschke2014-02-211-0/+1
| |
* | kill references to core.js and core.cssThomas Müller2014-02-201-2/+0
| |
* | Remove usage of legacy OC_AppconfigRobin Appelman2014-02-131-4/+5
|/