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)
14 лет назад
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?
14 лет назад
Aldo "xoen" Giambelluca
9c124a8dbf
Reverted to self::$classType syntax and fixed the use of self in non-object
14 лет назад
Martin T. H. Sandsmark
64d4d57615
fix permissions, start to implement private data api
14 лет назад
Aldo "xoen" Giambelluca
42d603c5b3
Minor style changes
* camelCase
* spaces here and there
14 лет назад
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
14 лет назад
Aldo "xoen" Giambelluca
7b84bf5f0e
Minor style changes
* Using camelCase for `$classType` property
* Using `self` keyword instead of class name
* Added spaces here and there
14 лет назад
fabian
9ff483759f
Abstract lib_user
14 лет назад
fabian
e4986c2d9f
Support for mod_auth added
14 лет назад
Aldo "xoen" Giambelluca
47674cb473
Improved OC_CONFIG::saveConfiguration()
* Support numeric types too
* $WEBROOT variable was not necessary
14 лет назад
Aldo "xoen" Giambelluca
fa9deac833
Call `saveConfiguration()` using self and fixed a typo
14 лет назад
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)
14 лет назад
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
14 лет назад
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.
14 лет назад
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.
14 лет назад
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.
14 лет назад
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.
14 лет назад
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.
14 лет назад
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
14 лет назад
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
14 лет назад
Robin Appelman
9f914275db
fix line feeds
14 лет назад
Robin Appelman
68cc904bc1
Merge branch 'merge'
14 лет назад
Robin Appelman
32e5851255
Merge commit 'refs/merge-requests/23' of git://gitorious.org/owncloud/owncloud into merge
14 лет назад
Robin Appelman
77c423d27b
Only connect to a remote ownCloud when we are actually using it
14 лет назад
Robin Appelman
b38aa771d1
Initial version of remote ownCloud access through filesystem abstraction
14 лет назад
Robin Appelman
581328fbc1
Fix custom database names
14 лет назад
Robin Appelman
9fe7f992d9
Initial work on transering files between servers
14 лет назад
Robin Appelman
761b54fc17
fix table prefix not being set correctly to an empty string on first run when using sqlite
14 лет назад
Robin Appelman
1bdfe395cd
Merge branch 'master' of gitorious.org:owncloud/owncloud
Conflicts:
inc/lib_log.php
14 лет назад
Robin Appelman
11d515ef4e
Fix page not refreshing after login
14 лет назад
Robin Appelman
c718716e57
Do not use table perfix for sqlite
14 лет назад
Robin Appelman
a26ef87840
Fix some database errors
14 лет назад
Robin Appelman
db5ac0b477
merge
14 лет назад
Robin Appelman
4e12ce63f9
fix affected frows and free_result in OC_DB
14 лет назад
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
14 лет назад
Robin Appelman
845d534144
Merge branch 'master' of gitorious.org:owncloud/owncloud
14 лет назад
Robin Appelman
d96793f14f
Fix some database problems, do not use the cache when creating users
14 лет назад
Robin Appelman
3d2f68c43f
mayor improvements in the handling of locks in webdav
14 лет назад
Robin Appelman
d374bcddc1
fix recursive copying of folders with webdav
14 лет назад
Robin Appelman
baf7e00a94
fix wrong header sent as response when overwriting files in webdav
14 лет назад
Aldo "xoen" Giambelluca
76672fe037
Avoid creation of variables just to put the table names with prefix
14 лет назад
Aldo "xoen" Giambelluca
f3627a756e
Using DB table prefix in 'inc/HTTP/WebDAV/Server/Filesyste.php'
14 лет назад
Robin Appelman
0d299885be
fix silly mistake in previous commit
14 лет назад
Robin Appelman
8c8979f11e
fix potential infinite loop
14 лет назад
Aldo "xoen" Giambelluca
78cc98e4ea
Changed table name from Log to log in 'inc/lib_log.php'
14 лет назад
Aldo "xoen" Giambelluca
2fe595d109
Now DB tables are created with the right name (using the prefix)
14 лет назад
Aldo "xoen" Giambelluca
e2c621e958
Write DB table prefix into the configuration file
14 лет назад
Aldo "xoen" Giambelluca
f26c7d9bfc
Added a input for the DB table prefix in 'inc/templates/adminform.php'
14 лет назад
Aldo "xoen" Giambelluca
a857c7a04c
Made first run a valid XHTML document ;)
* form action specified
* attribute checked of checkboxes was minimized (http://www.w3.org/TR/xhtml1/#h-4.5 )
14 лет назад
Aldo "xoen" Giambelluca
54c1264e24
Using table prefix preference in 'inc/lib_user.php'
14 лет назад