summaryrefslogtreecommitdiffstats
path: root/lib/private/Setup
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix translationsJoas Schilling2017-04-182-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* use the same oci connectstring in all code pathsRobin Appelman2017-04-101-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use SystemConfig instead of AllConfig for DB stuffMorris Jobke2017-03-195-18/+17
| | | | | | * preparation for followup PRs to clean up the DB bootstrapping Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Namespace and array syntax fixesMorris Jobke2017-03-191-1/+0
| | | | | | * minor fixes in preparation of a bigger DB and config PR Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add proper default value for datadirMorris Jobke2017-01-191-1/+1
| | | | | | | * better safe than sorry * fixes #3091 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #2535 from ↵Joas Schilling2017-01-051-7/+9
|\ | | | | | | | | nextcloud/allow-to-reuse-admin-as-install-name-like-on-mysql Allow to reuse the same name when installing a new instance on postgres
| * Allow to reuse the same name when installing a new instanceJoas Schilling2016-12-121-7/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #2670 from ↵Roeland Jago Douma2016-12-141-1/+1
|\ \ | | | | | | | | | | | | nextcloud/issue-2646-dont-connet-to-database-before-creating-it Do not connect to database before creating it
| * | Do not connect to database before creating itJoas Schilling2016-12-141-1/+1
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Only log as info when we can not create a new DB userJoas Schilling2016-12-141-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Lower the role name before using itJoas Schilling2016-12-091-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "Quote database and role in queries"Joas Schilling2016-12-091-4/+4
| | | | This reverts commit 9ebd5d5bb20af9178e071c3c6f3b41d9a9bc8be0.
* Quote database and role in queriesLari Tikkanen2016-12-071-4/+4
| | | | | Fixes #1793 Signed-off-by: Lari Tikkanen <lartza@outlook.com>
* handle postgres setup when we cant connect as adminRobin Appelman2016-12-052-39/+50
|
* Added Exception catch in case of DB User existsHemanth Kumar Veeranki2016-10-311-8/+16
| | | | Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
* Move away from OC_L10NRoeland Jago Douma2016-10-281-2/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fixing ctor callThomas Müller2016-10-191-1/+1
|
* Add config option to update charset of mysql to utf8mb4Morris Jobke2016-10-191-2/+3
| | | | | * fully optional * requires additional options set in the database
* Use proper ALTER ROLE syntaxRoeland Jago Douma2016-09-051-1/+1
| | | | | | Fixes #1260 See https://www.postgresql.org/docs/9.0/static/sql-alterrole.html
* Fix misleading MySQL DB creation error (#25485)Vincent Petry2016-07-271-1/+9
| | | | | | | Whenever the GRANT ALL failed, it used to display "Database creation failed" which is incorrect. It's only the privleges setting that failed. This moves the privilege setting message to DEBUG and makes it more precise.
* revert to old setup connection logicRobin Appelman2016-07-261-10/+26
|
* Update with robinJoas Schilling2016-07-212-2/+2
|
* Fix othersJoas Schilling2016-07-215-13/+21
|
* Prevent syntax error when creating user or changing passwordJoas Schilling2016-07-181-3/+3
|
* use pdo for postgres setupRobin Appelman2016-07-122-105/+85
|
* Remove duplicate database connect logic in mysql setupRobin Appelman2016-07-122-36/+21
|
* Changed the input option for database-port to required when parameter was ↵Thomas Pulzer2016-07-062-4/+4
| | | | | | provided. Added casting database port to int for input sanitation in pgsql and oci connections.
* Added occ install option for database-port.Thomas Pulzer2016-07-064-7/+23
| | | | | Extended the database setup to store the database port. Changed the PostgreSQL connection error message for clarification.
* Update license headersLukas Reschke2016-05-264-0/+5
|
* Move \OC\Repair to PSR-4Roeland Jago Douma2016-04-225-0/+757