Commit graph

101 commits

Author SHA1 Message Date
Jakob Sack
132695ceb1 Start of the refactoring. Commit is quite big because I forgot to use git right from the beginning. Sorry. 2011-03-01 23:20:16 +01:00
Jonathan Riddell
d294c2f6bd Fix licencing, make headers refer to intended AGPL, include copy of AGPL 2011-02-09 14:50:27 +00:00
Robin Appelman
0a505fd383 only load mdb2 when we use the database 2011-02-06 01:18:45 +01:00
Robin Appelman
9d8047382e fix ocs private data get/set queries for mysql
handle the app paramater with private data get correctly according to the spec

still fails under sqlite (and probably postgresql) but I will look more into that later
2011-01-23 03:23:03 +01:00
Robin Appelman
0337b46975 remove debug statement 2011-01-20 16:17:55 +01:00
Robin Appelman
f2d78424f2 don't try to use *nix file premissions on windows hosts 2011-01-18 18:10:37 +01:00
Elias Probst
ba246b450f Fixed typo (Lisener → Listener) 2011-01-01 01:01:57 +01:00
Robin Appelman
ad8d6c4260 set version number to 1.1 2010-10-31 02:44:19 +02:00
Kees Huiberts
e56c316576 Fixed small bug, added global $SERVERROOT to OC_UTIL 2010-10-21 20:11:55 +02:00
Robin Appelman
1d1bb352d9 do not initialize mdb2_scheme if we don't use it, saves a lot of time 2010-09-11 21:09:53 +02:00
Robin Appelman
cffa4edb72 provide a basic viewer for text files 2010-09-08 01:43:40 +02:00
Robin Appelman
ec7c069653 provide a defealt, empty, filesystem configuration to suppress some errors 2010-09-06 20:07:27 +02:00
Robin Appelman
5162809c8a make the filesystem configurable (no gui yet) 2010-09-06 20:02:17 +02:00
Robin Appelman
b479f9d570 remove Admin Panel from the main menu since it's handeld by the new settings page now 2010-09-06 18:03:15 +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
Robin Appelman
08454ce463 remove debug messages 2010-08-12 17:27:58 +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
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
Martin T. H. Sandsmark
1f46d0fc7d remove debug output 2010-07-25 13:00:09 +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
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
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
Martin T. H. Sandsmark
64d4d57615 fix permissions, start to implement private data api 2010-07-16 11:36:03 +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
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
68cc904bc1 Merge branch 'merge' 2010-07-08 20:31:54 +02:00
Robin Appelman
b38aa771d1 Initial version of remote ownCloud access through filesystem abstraction 2010-07-07 12:30:30 +02:00
Robin Appelman
581328fbc1 Fix custom database names 2010-07-06 19:57:08 +02:00
Robin Appelman
db5ac0b477 merge 2010-07-05 13:35:41 +02:00
Robin Appelman
4e12ce63f9 fix affected frows and free_result in OC_DB 2010-07-05 13:31:32 +02:00
Robin Appelman
845d534144 Merge branch 'master' of gitorious.org:owncloud/owncloud 2010-07-05 11:44:33 +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
Sandro
8ede7d075e load all plugins 2010-06-29 14:53:54 +02:00
Sandro
4f5e24a327 load plugins 2010-06-28 18:38:06 +02:00
Robin Appelman
0ba0f22627 fix webroot when using symlinks 2010-06-27 18:09:59 +02:00
Sandro
a0088cfea6 right WEBROOT 2010-06-27 00:16:09 +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 Appelman
02ad83b04d fix insertid in OC_DB 2010-06-11 18:09:34 +02:00
Robin Appelman
df149217b9 fix loading of plugins 2010-06-11 16:54:57 +02:00
Robin Appelman
56dfcce9b9 improved detection of WEBROOT 2010-06-07 02:18:21 +02:00
Robin Appelman
43cabdb3f8 better error messages if there are premission problems 2010-06-01 13:59:04 +02:00
Robin
cd1ffd912b only check for a writeable config.php when attempting to change the config 2010-05-23 00:18:37 +02:00
Robin
3d546db141 do not give the 'can't write config file' error when the config file doesn't exsist 2010-05-22 23:45:58 +02:00
Robin
7b08854f70 use MDB2's escape instead of mysql_escape 2010-05-22 23:05:49 +02:00