Commit Graph

38 Commits

Author SHA1 Message Date
Aldo "xoen" Giambelluca 9fe46ef093 OC_USER now is an abstract class (OC_USER_ABSTRACT)
At start the choosen user manager is created
(e.g. OC_USER_DATABASE, OC_USER_LDAP)
and put into the global variable `$userManager`.

This is the variable to use instead of `OC_USER` class.

TODO: A better name than $userManager?
2010-07-19 21:33:29 +02:00
Aldo "xoen" Giambelluca 47674cb473 Improved OC_CONFIG::saveConfiguration()
* Support numeric types too
  * $WEBROOT variable was not necessary
2010-07-12 20:45:57 +02:00
Aldo "xoen" Giambelluca fa9deac833 Call `saveConfiguration()` using self and fixed a typo 2010-07-12 13:24:02 +02:00
Aldo "xoen" Giambelluca 97596be52e added `writeConfiguration()` method to OC_CONFIG
This actually write all the key/value into the config.php.
The code in `writeAdminLisener()` is cleaner.
This is in prevision of new configuration options (e.g. plugin related)
2010-07-11 22:44:48 +02:00
Aldo "xoen" Giambelluca a532719c21 Using camelCase for function names in 'inc/lib_config.php'
PHP function names is case-insensitive so this change isn't
intrusive but improve readability of the code.
2010-07-10 19:41:30 +02:00
Robin Appelman 761b54fc17 fix table prefix not being set correctly to an empty string on first run when using sqlite 2010-07-06 10:37:11 +02:00
Robin Appelman c718716e57 Do not use table perfix for sqlite 2010-07-05 15:31:59 +02:00
Robin Appelman a26ef87840 Fix some database errors 2010-07-05 13:39:53 +02:00
Robin Appelman a73fbc5e32 Merge commit 'refs/merge-requests/27' of git://gitorious.org/owncloud/owncloud into merge
Conflicts:
	inc/HTTP/WebDAV/Server/Filesystem.php
	inc/lib_config.php
	inc/lib_log.php
	inc/lib_user.php
	inc/templates/adminform.php
2010-07-05 12:17:31 +02:00
Robin Appelman d96793f14f Fix some database problems, do not use the cache when creating users 2010-07-05 11:37:50 +02:00
Aldo "xoen" Giambelluca 76672fe037 Avoid creation of variables just to put the table names with prefix 2010-07-04 11:32:39 +02:00
Aldo "xoen" Giambelluca 2fe595d109 Now DB tables are created with the right name (using the prefix) 2010-07-04 07:35:05 +02:00
Aldo "xoen" Giambelluca e2c621e958 Write DB table prefix into the configuration file 2010-07-04 06:48:59 +02:00
Aldo "xoen" Giambelluca a87f4da3f3 Using table prefix preference and some reformatting 2010-07-03 19:06:42 +02:00
Robin Appelman a9fd0c67b4 Initial PostgreSQL support 2010-06-20 17:58:39 +02:00
Robin Appelman 7503ad139b use MDB2_Schema for the creation of the initial database 2010-06-18 20:08:24 +02:00
Robin 78e54e1909 fixes in log and ocs 2010-05-15 22:29:14 +02:00
Robin 898d2489bb more checks on server enviroment and some bugfixes in admin and firstrun dialog 2010-05-09 16:33:16 +02:00
Robin 51b253447d provide option for automatic backup 2010-05-08 21:32:20 +02:00
Robin ede1c64edd port OC_DB to MDB2 2010-05-04 03:21:57 +02:00
Thibaut GRIDEL 60d2f8de4e webdav: fix icewind's new Filesystem.php version 2010-05-01 12:02:03 +02:00
Robin eaf0024c0f bugfix when filling the database in first run dialog 2010-04-25 18:18:04 +02:00
Robin d9e0d5deca remove dependency on set_include_path because not all hosts support it 2010-04-24 12:40:20 +02:00
Robin 9be88c0080 bug fix first run wizzard take 3 2010-04-23 18:27:36 +02:00
Robin 4fcc717d53 bug fix first run wizzard take 2 2010-04-23 00:21:59 +02:00
Robin 112a4b7e73 bug fix first run wizzard 2010-04-23 00:16:20 +02:00
Robin b5dae01a8a change the config system to support multi user 2010-04-23 00:05:04 +02:00
Robin 07a8992a84 admins can now create new users 2010-04-22 20:08:38 +02:00
Robin 6b5bd81341 (very) early multiuser support 2010-04-22 19:03:54 +02:00
Robin 643e3726b4 create data directory if it doesn't exist 2010-04-21 00:25:34 +02:00
Robin 38bdf4083a same fixes, this time hopefully without merge conflict 2010-04-19 19:46:42 +02:00
Frank Karlitschek 7adbbfe05c add Open Collaboration API support. You can now connect your ownCloud with the KDE Social Desktop and push notifications to your Social News Plasmoid. This requires KDE trunk or KDE SV 4.5 2010-04-14 16:58:52 +02:00
Robin 8f92dc8e25 fixed automatic creation/filling of mysql databases 2010-04-08 14:49:48 +02:00
Robin 91d603a48c added MySQL support, user can now choose between MySQL and SQLite 2010-03-30 22:15:45 +02:00
Frank Karlitschek 78a1792c04 move to sqlite merged 2010-03-29 16:13:26 +02:00
Frank Karlitschek cc98dea4e4 removed extra space. Thank you to for Cosmin for the patch 2010-03-24 08:31:30 +01:00
Robin bcd2b6f5f1 ask for current password when editing the settings 2010-03-18 21:37:25 +01:00
Robin 97270d5c63 moved the config functions to /inc/lib_config.php 2010-03-16 20:25:05 +01:00