Commit Graph

31 Commits

Author SHA1 Message Date
Robin Appelman f0f77aafbf fix problem when creating users with a non-empty userid cache 2010-08-12 17:10:05 +02:00
Robin Appelman 5f53165efb provide a function to load the data from a plugin.xml file 2010-08-05 02:47:34 +02:00
Robin Appelman 98e49c7552 use new plugin system for loading plugins 2010-07-28 18:12:00 +02:00
Robin Appelman 687cb29c7d Merge commit 'refs/merge-requests/31' of git://gitorious.org/owncloud/owncloud into merge 2010-07-28 00:16:56 +02:00
Aldo "xoen" Giambelluca 11664f3153 Moved LDAP authentication into a plugin
Used the current plugin system to define `USER_OC_LDAP` class
that can be used as backend for OC_USER
2010-07-23 00:48:45 +02:00
Aldo "xoen" Giambelluca ccd362108e Cleaned up and added some documentation 2010-07-22 23:42:18 +02:00
Aldo "xoen" Giambelluca 68775a282d Created class `OC_USER_BACKEND` for general user managment
It's possible to use `OC_USER` as normal but the real stuff
is done by the `OC_USER::$_backend` class, setted using
`OC_USER::setBackend()` (this is done in inc/lib_user.php)
2010-07-21 17:53:51 +02:00
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 9c124a8dbf Reverted to self::$classType syntax and fixed the use of self in non-object 2010-07-19 18:52:49 +02:00
Martin T. H. Sandsmark 64d4d57615 fix permissions, start to implement private data api 2010-07-16 11:36:03 +02:00
Aldo "xoen" Giambelluca 42d603c5b3 Minor style changes
* camelCase
  * spaces here and there
2010-07-15 21:41:28 +02:00
Aldo "xoen" Giambelluca 7b84bf5f0e Minor style changes
* Using camelCase for `$classType` property
  * Using `self` keyword instead of class name
  * Added spaces here and there
2010-07-15 21:36:54 +02:00
fabian 9ff483759f Abstract lib_user 2010-07-15 14:11:53 +02:00
Aldo "xoen" Giambelluca 0939d5c393 Using camelCase for function names in 'inc/lib_user.php'
PHP function names is case-insensitive so this change isn't
intrusive but improve readability of the code.
2010-07-10 20:00:27 +02:00
Robin Appelman 1bdfe395cd Merge branch 'master' of gitorious.org:owncloud/owncloud
Conflicts:
	inc/lib_log.php
2010-07-06 10:35:23 +02:00
Robin Appelman 11d515ef4e Fix page not refreshing after login 2010-07-06 10:30:08 +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 54c1264e24 Using table prefix preference in 'inc/lib_user.php' 2010-07-03 19:38:31 +02:00
Robin Appelman e4a83b68e9 Cache user and group id's to save some queries 2010-06-22 01:27:44 +02:00
Robin Appelman a9fd0c67b4 Initial PostgreSQL support 2010-06-20 17:58:39 +02:00
Robin Appelman 3c19e66151 fix changing password when using sqlite 2010-06-11 00:40:42 +02:00
Robin 7b08854f70 use MDB2's escape instead of mysql_escape 2010-05-22 23:05:49 +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 ede1c64edd port OC_DB to MDB2 2010-05-04 03:21:57 +02:00
Robin aacda0367d merge 2010-04-28 12:15:52 +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 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