Commit graph

218 commits

Author SHA1 Message Date
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
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
9fe7f992d9 Initial work on transering files between servers 2010-07-06 12:50:37 +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
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
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
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
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
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
Robin Appelman
3d2f68c43f mayor improvements in the handling of locks in webdav 2010-07-05 00:39:38 +02:00
Robin Appelman
d374bcddc1 fix recursive copying of folders with webdav 2010-07-04 18:08:35 +02:00
Robin Appelman
baf7e00a94 fix wrong header sent as response when overwriting files in webdav 2010-07-04 16:01:31 +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
f3627a756e Using DB table prefix in 'inc/HTTP/WebDAV/Server/Filesyste.php' 2010-07-04 10:36:50 +02:00
Robin Appelman
0d299885be fix silly mistake in previous commit 2010-07-04 10:02:10 +02:00
Robin Appelman
8c8979f11e fix potential infinite loop 2010-07-04 09:54:54 +02:00
Aldo "xoen" Giambelluca
78cc98e4ea Changed table name from Log to log in 'inc/lib_log.php' 2010-07-04 07:39:26 +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
f26c7d9bfc Added a input for the DB table prefix in 'inc/templates/adminform.php' 2010-07-04 06:47:08 +02:00
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)
2010-07-04 05:36:05 +02:00
Aldo "xoen" Giambelluca
54c1264e24 Using table prefix preference in 'inc/lib_user.php' 2010-07-03 19:38:31 +02:00
Aldo "xoen" Giambelluca
3f45771895 Using table prefix preference in 'inc/lib_ocs.php' 2010-07-03 19:12:51 +02:00
Aldo "xoen" Giambelluca
31df117f1c Using table prefix preference in 'inc/lib_log.php' 2010-07-03 19:08:31 +02:00
Aldo "xoen" Giambelluca
a87f4da3f3 Using table prefix preference and some reformatting 2010-07-03 19:06:42 +02:00
Aldo "xoen" Giambelluca
8a94686b0f Fixed some validation error in /settings
* Form action not specified
* An input field was not closed
* Made an input field child of a div
2010-06-29 17:35:04 +02:00
Aldo "xoen" Giambelluca
1d01d54205 Specified character encoding
Valitating produce a warning
2010-06-29 17:11:17 +02:00
Sandro
8ede7d075e load all plugins 2010-06-29 14:53:54 +02:00
Sandro
6c400ce8c6 show users/group config 2010-06-28 18:39:03 +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
23d006fc25 fix users being to able to read files outside the datadir 2010-06-25 13:28:24 +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
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
3c19e66151 fix changing password when using sqlite 2010-06-11 00:40:42 +02:00
Gaël Beaudoin
391544de78 Set the footer version to RC1 2010-06-09 14:04:40 +02:00
Robin Appelman
56dfcce9b9 improved detection of WEBROOT 2010-06-07 02:18:21 +02:00
Robin Appelman
e4a5ef55fb less options when using sqlite during first run 2010-06-06 22:13:34 +02:00
Robin Appelman
c0b783d12e disable user managment for now 2010-06-06 22:07:37 +02:00
Robin Appelman
43cabdb3f8 better error messages if there are premission problems 2010-06-01 13:59:04 +02:00
Robin Appelman
ca0744c0df notify the user if sqlite isn't installed during the first dialog 2010-06-01 13:57:28 +02:00
Robin
15a3949811 use proper file mode when testing config file for write premissions 2010-05-24 20:10:36 +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
89758ae656 clean the admin configuration form of db related entries and data_dirrectory (as long as we don't move the data when that changes) 2010-05-22 23:34:48 +02:00
Robin
f83b387385 when not admin, only show logs of the current user 2010-05-22 23:26:40 +02:00
Robin
7b08854f70 use MDB2's escape instead of mysql_escape 2010-05-22 23:05:49 +02:00
Robin
5468a8afa1 remove old unused _can_excecute 2010-05-22 22:26:25 +02:00
Robin
78ce03491e merge 2010-05-22 22:23:17 +02:00
Robin
d909f91d07 small webdav fixes 2010-05-22 22:08:08 +02:00
Robin
086f060b9e fix when owncloud is installed in the root of a server 2010-05-21 19:50:18 +02:00
Thibaut GRIDEL
65ce487327 webdav: fix getDir file attributes 2010-05-20 00:41:25 +02:00
Thibaut GRIDEL
b2fa63bdcc drop PEAR::DB 2010-05-16 23:14:08 +02:00
Thibaut GRIDEL
95da6edd83 remove backup file 2010-05-16 23:14:03 +02:00
Thibaut GRIDEL
477b9877a0 fix ocs path and queries 2010-05-16 23:13:42 +02:00
Thibaut GRIDEL
d7bb8c4c30 code duplication: use lib_filesystem.php instead 2010-05-16 23:07:19 +02:00
Thibaut GRIDEL
6e8001b05d log read/write files 2010-05-16 21:26:24 +02:00
Robin
78e54e1909 fixes in log and ocs 2010-05-15 22:29:14 +02:00
Robin
35711d7534 small fixes 2010-05-15 20:23:43 +02:00
Robin
8058b24227 provide layout for smaller screens on android/iphone 2010-05-14 23:32:35 +02:00
Robin
645de2ff78 imporovement in mimetype detection 2010-05-12 02:02:58 +02:00
Robin
9e05a0d592 webdav fixes 2010-05-11 20:35:29 +02:00
Robin
672297531b merge 2010-05-10 16:55:30 +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
565410d8e2 use an abstraction for file system functions to allow premisions and multiply storage backends 2010-05-07 22:50:59 +02:00
Robin
ede1c64edd port OC_DB to MDB2 2010-05-04 03:21:57 +02:00
Thibaut GRIDEL
cd1ecef75f some more includes 2010-05-02 22:33:36 +02:00
Thibaut GRIDEL
bc8aed9e79 give a chance to configure CONFIG_DATADIRECTORY 2010-05-02 22:01:53 +02:00
Robin
e0347b7fa6 initial work on making connections between seperate owncloud installations possible 2010-05-02 18:07:36 +02:00
Robin
9ddd0e34ac fix bug in webdav 2010-05-02 16:21:30 +02:00
Robin
5a500a2455 fix first run dialog in konqueror 2010-05-02 14:39:58 +02:00
Robin
15b284578e fix webdav when not using the default data directory 2010-05-02 14:04:08 +02:00
Robin
0732264d67 merge 2010-05-02 13:24:39 +02:00
Thibaut GRIDEL
19ab1292fb simple fixes 2010-05-02 11:24:46 +02:00
Robin
6d70886f5f webdav fixes 2010-05-02 01:11:16 +02:00
Robin
63cc1688fe fix layout bug in first run wizard 2010-05-01 23:57:35 +02:00