Commit Graph

39038 Commits

Author SHA1 Message Date
Robin Appelman 6c53b7610c Merge commit 'refs/merge-requests/33' of git://gitorious.org/owncloud/owncloud into merge 2010-09-02 21:04:04 +02:00
Robin Appelman a47558b2fd change the way the user is rooted in his own folder in order to make filesystem managment easier 2010-09-02 20:47:15 +02:00
Aaron Reichman 7bdda2b8f2 First commit, changing capitalization 2010-08-22 00:44:22 -07:00
Robin Appelman 1e4432c5d5 new settings page that allows plugins to integrate their own settings dialogs more with the existing ones 2010-08-12 17:30:20 +02:00
Robin Appelman 08454ce463 remove debug messages 2010-08-12 17:27:58 +02:00
Robin Appelman 1e5081002b fix error during the creation of the database table when using mysql 2010-08-12 17:11:32 +02:00
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 8b2ff8dcad change the user backend after we load the plugins 2010-08-03 17:46:41 +02:00
Robin Appelman 9c56a1e608 Merge branch 'master' of http://git.gitorious.org/owncloud/owncloud 2010-08-03 17:40:50 +02:00
Robin Appelman 417b1efdca use encodeURIComponent in more places 2010-08-03 17:35:59 +02:00
Martin Sandsmark 9d99c4fbdc update to comply with the OCS spec (lookup by application name too) 2010-08-02 20:39:14 +02:00
Robin Appelman 6642d4af6f fix warnings given by MDB2 if opendir is restricted by the host 2010-07-30 13:36:18 +02:00
Robin Appelman 2a78209728 comply with updated version of the plugin.xml syntax 2010-07-28 22:45:24 +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
Robin Appelman dcb2455b69 Merge branch 'master' of gitorious.org:owncloud/owncloud 2010-07-28 00:12:15 +02:00
Robin Appelman ccdb21958e use = instead of LIKE when selecting private attributes 2010-07-28 00:10:30 +02:00
Martin T. H. Sandsmark 3b065d4dae more addslashes magic sauce 2010-07-25 13:14:26 +02:00
Martin T. H. Sandsmark 1f46d0fc7d remove debug output 2010-07-25 13:00:09 +02:00
Martin T. H. Sandsmark ce0993e0c7 fix mdb2 usage, add optional format variable 2010-07-25 12:55:52 +02:00
Martin T. H. Sandsmark c2504f54ad fix some, do not enjoy php 2010-07-25 02:38:35 +02:00
Martin T. H. Sandsmark e6f6c62113 some fixes 2010-07-25 01:48:36 +02:00
Martin T. H. Sandsmark 58b4485677 fix parsing of url 2010-07-25 00:06:10 +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 64fd3f7aea Fixed a cache-check in `OC_USER_Database::getGroupName()` and minor style changes
* Added spaces here and there
  * Using camelCase for same variable
2010-07-15 21:37:44 +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
fabian e4986c2d9f Support for mod_auth added 2010-07-15 14:09:22 +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 50c067ffe8 Added more MIME Types in `inc/lib_filestorage.php`
Here the types added:
  * Flac / Ogg [1]
  * GZip / Tar / Tar+GZip
  * PDF / SVG / Tiff
  * JavaScript

Other little changes:
  * I changed the ordered to be alphabetical (by extension)
  * Using single quotes instead of double quotes for strings
  * Indentation

[1]: http://wiki.xiph.org/MIME_Types_and_File_Extensions
[2]: http://www.asciitable.it/mimetypes.asp
2010-07-11 19:51:26 +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
Aldo "xoen" Giambelluca 890d7fa512 Using camelCase for function names in 'inc/lib_ocs.php'
PHP function names is case-insensitive so this change isn't
intrusive but improve readability of the code.
2010-07-10 19:59:18 +02:00
Aldo "xoen" Giambelluca e3a0898a99 Using camelCase for function names in 'inc/lib_files.php'
PHP function names is case-insensitive so this change isn't
intrusive but improve readability of the code.
2010-07-10 19:57:46 +02:00
Aldo "xoen" Giambelluca 00df2099b5 Using camelCase for function names in 'inc/lib_base.php'
PHP function names is case-insensitive so this change isn't
intrusive but improve readability of the code.
2010-07-10 19:56:47 +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
Aldo "xoen" Giambelluca 7a7b2cdd1e Fixed validation of /settings
In 'inc/templates/configform.php'
  * action attribute of form specified
  * put the hidden input in a div for validation
2010-07-10 05:43:41 +02:00
Robin Appelman 96e185f150 Merge git://gitorious.org/~icewind/owncloud/icewinds-owncloud into merge
Conflicts:
	inc/MDB2/Driver/Function/pgsql.php
	inc/MDB2/Driver/Manager/mysql.php
	inc/MDB2/Driver/Reverse/pgsql.php
	inc/MDB2/Driver/mysql.php
	inc/lib_base.php
2010-07-09 13:43:40 +02:00
Robin Appelman 9f914275db fix line feeds 2010-07-09 13:39:33 +02:00
Robin Appelman 68cc904bc1 Merge branch 'merge' 2010-07-08 20:31:54 +02:00
Robin Appelman 32e5851255 Merge commit 'refs/merge-requests/23' of git://gitorious.org/owncloud/owncloud into merge 2010-07-08 20:31:02 +02:00
Robin Appelman 77c423d27b Only connect to a remote ownCloud when we are actually using it 2010-07-07 15:13:09 +02:00