kondou
9c5416fe4a
Clean up \OC\Util
- Use camelCase
- Add some phpdoc
- Fix some indents
- Use some more spacing
11 years ago
Bart Visscher
8c5df31c49
DRY use OC_Template::printErrorPage
11 years ago
Bart Visscher
60eb63e35a
Fix review items
11 years ago
Bart Visscher
6831b78597
Use db setup class for option validation
11 years ago
Bart Visscher
2faccaee0d
Change database creation to use array to select db setup class
11 years ago
Bart Visscher
e232907698
Convert database setup code to objects
11 years ago
Bart Visscher
a6d07cd512
Split database specific install/setup code to their own class
11 years ago
Jörn Friedrich Dreyer
9498cf959f
remove default tablespace in parameter
11 years ago
Thomas Mueller
1ef66941a7
adding default to $hint within ctor of DatabaseSetupException
11 years ago
Jörn Friedrich Dreyer
e5d3cd59ac
use USERS tablespace whn none is given, only needed when we need to create a user, does not need to be stored in config
11 years ago
Morris Jobke
7093b0829f
improve comment
11 years ago
eMerzh
e33f68ecb6
Correct escaping
11 years ago
Brice Maron
edc255421c
Try connection with specified db when postgres does not work
Conflicts:
lib/setup.php
11 years ago
Jörn Friedrich Dreyer
8dc6bdd96b
clean up usage of DatabaseSetupException and catch Exceptions in entrypoints
11 years ago
kondou
1d799f22c1
Default to localhost, if nothing is entered.
11 years ago
Jörn Friedrich Dreyer
1f1abe595d
cleanup codestyle
11 years ago
Jörn Friedrich Dreyer
eceb3c8ed5
add debug output
11 years ago
Thomas Tanghus
baf058316c
disable mbstring.func_overload in setup
11 years ago
Bart Visscher
07df94def6
Convert OC_Config to object interface
11 years ago
Daniel Molkentin
6ac2fdf44b
sync parameters in setup.php with the ones in the actual .htaccess
11 years ago
Robin Appelman
5942d5aeac
Improve error message if user creation fails during setup
11 years ago
kondou
d759dca203
Handle empty datafolder better.
If datafolder is erased, the default value will be shown as a placeholder.
If installation is submitted without a datafolder the default value will be used.
11 years ago
Lukas Reschke
6645a54cac
Use random bytes instead of time
Thanks for the heads-up @VicDeo :-)
11 years ago
Lukas Reschke
ba7c0cf548
Use a more random source...
11 years ago
Thomas Mueller
7a2396208f
using rtrim
11 years ago
Bart Visscher
427242cf32
Use the correct property for connection object
11 years ago
Thomas Mueller
2fe56b8969
fixes #2081
11 years ago
Lukas Reschke
229c907a57
[core] From echo to p
11 years ago
Bernhard Posselt
49a0f42e3b
fixed bug that would cause a failure because of undefined variable instead of %s in a translation string
11 years ago
Bart Visscher
4a26d63867
Fix using wrong quotes for breaking long lines
Fixes #1925
11 years ago
Bart Visscher
bb75dfc021
Whitespace fixes
11 years ago
Bart Visscher
19c5213b53
Join split translated strings
11 years ago
Bart Visscher
ffae6f4b84
Style-fix: Breakup long lines
11 years ago
Thomas Mueller
bcbf2e667b
fixing sql server syntax for database creation
11 years ago
Thomas Mueller
98d7e0f7cd
write any database messages / non critical errors to the log - don't pollute the browser
11 years ago
Thomas Mueller
8136851010
fixing indent
11 years ago
Thomas Mueller
b2dfdacaa1
fixing undefined variables
11 years ago
Thomas Mueller
c544a631d5
fixing indent
11 years ago
Bernhard Posselt
36df2fbdfe
fixed argument for translation
11 years ago
Administrator
41ec976fd7
Bugfixes and cleanup MS SQL Server installation
11 years ago
Bernhard Posselt
b2261c31eb
added l10n for db error messages
11 years ago
Tobias Ramforth
d577f790c8
Added MS SQL Server support
11 years ago
Bart Visscher
3582f7bd09
Execute the post setup check after finishing the setup
11 years ago
Bart Visscher
5bfe4adbaa
Whitespace cleanup
11 years ago
Sean Comeau
0132a0b2cf
Rename TestException to DatabaseSetupException
11 years ago
Sean Comeau
42cd99626e
Use a custom exception instead of adding a delimiter to the error message
11 years ago
Sean Comeau
ba9c967435
Throw an exception when creating a MySQL user fails and display exception error text to user
11 years ago
Michael Gapczynski
d39655e126
Move template parameters around so database error page is properly rendered
11 years ago
Brice Maron
4327ed8382
Revoke DB rights on install only if the db is newly created
11 years ago
Stefan Seidel
8f669880bc
Fix WebDAV (and Android Client) not being able to authorize on Debian Squeeze + mod_fcgid installs.
11 years ago