Commit graph

292 commits

Author SHA1 Message Date
Robin Appelman
7505720350 fix log when no tablename prefix is used 2011-07-27 22:44:51 +02:00
Jakob Sack
e69079f935 Further improvements 2011-07-27 20:04:42 +02:00
Jakob Sack
924100dd8c One class per File 2011-07-27 19:52:24 +02:00
Jakob Sack
f5c0dbd947 Use autoload 2011-07-27 19:07:28 +02:00
Robin Appelman
98cd83fabd bumb jquery and jquery-ui versions 2011-07-25 23:16:05 +02:00
Robin Appelman
edec37b402 add OC_APP::getCurrentApp() to get the id of the active app 2011-07-25 20:25:53 +02:00
Robin Appelman
9a989a284a fix sabredav for sqlite2 2011-07-25 03:14:22 +02:00
Jakob Sack
3097e4f48a Merge branch 'sabredav' 2011-07-22 23:18:08 +02:00
Jakob Sack
ccc94819e2 Merge branch 'sabredav' of git://anongit.kde.org/owncloud into sabredav 2011-07-22 23:16:43 +02:00
Jakob Sack
5416c0e6f8 Remove HTTP_Webdav 2011-07-22 23:16:14 +02:00
Robin Appelman
18a36be28c fix problem with removing locks 2011-07-22 23:06:53 +02:00
Jakob Sack
3b92ec12c2 Properties work fine now 2011-07-22 22:30:45 +02:00
Jakob Sack
5851da47f1 properties nearly work 2011-07-22 16:21:29 +02:00
Jakob Sack
7c9f356abe Support for locks, minor changes 2011-07-22 14:38:42 +02:00
Robin Appelman
f441059b01 add getLocalFile to local storage provider 2011-07-22 06:29:45 +02:00
Robin Appelman
8eefd42a7d only remove old sqlite database if it exists 2011-07-21 00:52:48 +02:00
Jakob Sack
86cd8063b4 Use SabreDAV authentication Code! 2011-07-20 16:36:36 +02:00
Jakob Sack
bf1ca75710 Integration of SabreDAV 2011-07-20 15:53:34 +02:00
Bartek Przybylski
c5776fdae4 remember login added 2011-07-20 15:04:14 +02:00
Robin Appelman
6935f036a5 move list of mimetypes by extention to a seperate file. 2011-07-17 17:41:46 +02:00
Michael Gapczynski
f09f2d3290 Fix typo in setup, thanks for pointing it out ab0oo 2011-07-13 17:19:13 -04:00
Michael Gapczynski
ecaf66ee97 Add missing argument for fromTmpFile() inside of rename() 2011-07-13 13:47:45 -04:00
Michael Gapczynski
a861666500 Add missing parameter for fromTmpFile() inside of copy() 2011-07-12 20:50:04 -04:00
Michael Gapczynski
f8eced1960 Fix post_create and post_write hooks in copy(), was referencing an undefined variable 2011-07-12 18:26:44 -04:00
Jan-Christoph Borchardt
e3fd72dc16 introducing simple file size, only MB as unit, details on hover 2011-07-07 01:27:16 +02:00
Kunal Ghosh
f2845bbea8 Fix to make the Unlock mechanism of WebDAV work. Previously when using unlock in cadaver etc was used the lock entry corresponding to the file was not deleted in the sqlite database table oc_locks. The error was because the delete query in the Unlock function was not getting executed :) 2011-07-02 07:17:05 +05:30
Robin Appelman
f40a1cad8b not all http server add index.php to $_SERVER[SCRIPT_NAME], do it manually
this fixes incorect generated links in some cases
2011-06-26 00:59:31 +02:00
Robin Appelman
155f62bcf6 allow plugins/apps to add custom headers to all pages 2011-06-24 22:09:55 +02:00
Aamir Khan
2098cbd822 redirect_url to be respected in linkTo function 2011-06-25 01:14:28 +05:30
Robin Appelman
4d11e920be provide an option to add custom elements to the header of templates 2011-06-24 18:02:19 +02:00
Kamil Domanski
2073d3b08e fix 404 2011-06-23 23:47:46 +02:00
Kamil Domanski
0bf67298d1 no indexing in generated htaccess 2011-06-23 23:41:53 +02:00
Robin Appelman
8b76590f5d fix creating users 2011-06-23 18:23:47 +02:00
Dominik Schmidt
3b2fcd356f Use new user backend API 2011-06-23 15:24:09 +02:00
Dominik Schmidt
96657f8b62 Detect backend features dynamically instead of trial-and-error usage
Move documented functions for reference into OC_USER_EXAMPLE class.
2011-06-23 14:45:28 +02:00
Robin Appelman
83958ebd4b add oc_user::getUser to get the user id of the loggedin user 2011-06-22 12:50:57 +02:00
Robin Appelman
36dbb8edab prefix the mysql user name to avoid collissions 2011-06-21 23:58:02 +02:00
Kamil Domanski
e047feb2ad install shipped apps also in "installed apps" page 2011-06-21 22:17:53 +02:00
Robin Appelman
ee0f1490e1 Multiply changes to user system
keeping tracked of the logged in user is no longer done by the active backend but by oc_user directly instead

multiply backends can be active at the same time, allowing alternative authentication procedures like openid or tokens to be used next to the regular user system
2011-06-21 19:28:46 +02:00
Jakob Sack
3e74cca739 Merge branch 'master' of git://anongit.kde.org/owncloud 2011-06-20 22:09:21 +02:00
Jakob Sack
61993419ec New i18n-structure 2011-06-20 21:54:21 +02:00
Kamil Domanski
0603391405 fixed page reload after logout 2011-06-20 21:09:34 +02:00
Jakob Sack
eb1ce7819a Fix linkTo() 2011-06-20 21:01:34 +02:00
Jakob Sack
91c37bbb76 moved core stuff to /core 2011-06-20 20:29:30 +02:00
Jakob Sack
272fc252fb Activate "active" for subentries 2011-06-20 19:50:25 +02:00
Robin Appelman
0563741652 fix sqlite3 driver for php<5.3 2011-06-20 19:04:31 +02:00
Robin Appelman
76b12c4ae0 add settings option for language 2011-06-20 14:33:31 +02:00
Jakob Sack
99ae7cd477 Autodetection of language is working now 2011-06-19 23:46:59 +02:00
Jakob Sack
ad893f2bea Merge branch 'master' of git://anongit.kde.org/owncloud 2011-06-19 23:34:03 +02:00
Jakob Sack
b31a8ac985 More l10n-stuff 2011-06-19 23:33:34 +02:00
Kamil Domanski
38545d5ee4 and even more properly now ;P 2011-06-19 23:29:09 +02:00
Kamil Domanski
51c0a8e3ce index now properly reloaded after setup 2011-06-19 23:12:07 +02:00
Kamil Domanski
ee247a21a4 shipped apps are no longer hardcoded 2011-06-19 22:46:05 +02:00
Robin Appelman
37f9e03772 improved check in oc_preferences if a key already exists 2011-06-19 22:34:36 +02:00
Robin Appelman
11dc3bb0e1 only load apps if they exist 2011-06-19 22:34:36 +02:00
Robin Appelman
07f2fcf7ec add post_* hooks to filesystem for write, create, delete, rename and copy 2011-06-19 22:34:36 +02:00
Jakob Sack
c26719a10d Fixed documentation of OC_L10N 2011-06-19 19:38:51 +02:00
Jakob Sack
e8e483d079 L10N is here ;-) 2011-06-19 18:53:02 +02:00
Jakob Sack
86406c6cfe Merge branch 'master' of git://anongit.kde.org/owncloud 2011-06-19 16:06:52 +02:00
Jakob Sack
a688e5a5b1 Load preferences only if user is registered 2011-06-19 16:06:05 +02:00
Kamil Domanski
6b2ec22104 allow disabling apps, install apps as disabled 2011-06-19 15:18:52 +02:00
Jakob Sack
d5b550395a Removed debug messages 2011-06-19 15:08:28 +02:00
Jakob Sack
baa00a589f l10n added 2011-06-19 14:27:52 +02:00
Jakob Sack
6a19a7d226 added preferences to base.php, will be needed for i18n stuff 2011-06-19 14:24:26 +02:00
Kamil Domanski
1cab3ca92c move installation of shipped apps to setup 2011-06-19 00:55:19 +02:00
Kamil Domanski
be3ee03189 handle app repo connection failure 2011-06-18 22:02:45 +02:00
Robin Appelman
51420a7522 only create one connection to a sqlite3 database, fixes 'Database locked' errors with webdav 2011-06-17 16:09:43 +02:00
Robin Appelman
561c3a15f0 prevent some possible warnings if there are files in /apps 2011-06-17 14:17:08 +02:00
Robin Appelman
300b8c06cf allow plugins to cancel filesystem operations using the provided hooks 2011-06-16 22:44:36 +02:00
Robin Appelman
3062723c34 default to sqlite3 over sqlite2 for new installations 2011-06-16 14:56:56 +02:00
Robin Appelman
7d3ae7ae9b fix settings page for non-admin users 2011-06-14 16:03:57 +02:00
Robin Appelman
f6eb7c1205 make use of native sqlite3 prepared statements 2011-06-14 01:20:41 +02:00
Robin Appelman
00858efbe2 store numbers as strings to prevent errors with numeric passwords 2011-06-14 01:20:41 +02:00
Robin Appelman
f863002e95 use sqlite3 if sqlite2 isn't available 2011-06-14 01:20:41 +02:00
Robin Appelman
1e0fe05bef fix error with empty config file 2011-06-14 01:20:41 +02:00
Robin Appelman
1ea43dd7f9 make OC_DB work with the sqlite3 driver 2011-06-13 04:06:43 +02:00
Robin Appelman
600219c8c0 sqlite3 driver for mdb2
the only problem that I found with it so far is that it gives a database locked error on login,
the rest seems to work fine but more testing is required.
2011-06-13 04:05:41 +02:00
Robin Appelman
964b51879e add option to remove tables install from database structure 2011-06-12 17:51:31 +02:00
Robin Appelman
bb5a2a917b test case library and start of filesystem test 2011-06-12 01:06:27 +02:00
Robin Appelman
2a5ee9512e allow tear down of filesystem.
also fix a bug when chrooting to '/'
2011-06-12 00:57:43 +02:00
Robin Appelman
5425c3d1e9 fix delTree 2011-06-12 00:50:13 +02:00
Alessandro Cosentino
86dd023448 Adding clear logs functions 2011-06-07 15:48:21 -04:00
Robin Appelman
d65f8bba73 try to adjust times to the clients timezone 2011-06-05 15:13:03 +02:00
Robin Appelman
d8ba312679 fix incorrect variable name in libfilestorage 2011-06-04 18:34:15 +02:00
Robin Appelman
016a892a78 merge refactoring in master 2011-06-02 20:35:14 +02:00
Robin Appelman
5d3cf06c73 delete old plugin stuff 2011-06-02 20:21:31 +02:00
Robin Appelman
7f987b84a5 fix OC_HELPER::linkTo again 2011-06-02 20:21:02 +02:00
Robin Appelman
2b45a28bd4 fix OC_HELPER::linkto() when the link is not a valid file.
(e.g. a php script with ?foo=bar appended)
2011-06-02 02:58:42 +02:00
Robin Appelman
09458aa639 add dateOnly option to formatDate 2011-06-02 02:29:16 +02:00
Robin Appelman
c1d02fd166 install apps that are shipped with owncloud the first time they are loaded 2011-06-01 15:05:48 +02:00
Robin Appelman
6b34ba8a8e Make max upload filesize configurable for apache hosts 2011-05-29 17:43:13 +02:00
Robin Appelman
f48344df30 recursive deletion is now in OC_HELPER 2011-05-29 17:01:34 +02:00
Robin Appelman
85cae2cc32 recursive copy is now in OC_HELPER 2011-05-29 17:00:34 +02:00
Robin Appelman
f4e4617be7 App installer backend.
Not yet attached to the gui
2011-05-28 17:33:25 +02:00
Robin Appelman
d23ecd0538 fix a strict error in webdav 2011-05-28 15:52:35 +02:00
Robin Appelman
5ccce7e45f fix a potential infinite loop when installing with sqlite 2011-05-28 15:52:35 +02:00
Alessandro Cosentino
1ec304227e changed the path in imagePath again 2011-05-17 23:29:09 -04:00
François Kubler
13ddf8100f New installer.
* Forms have been revamped (CSS + javascript),
* Process has been improved : errors are displayed on the form page,
* Some changes in the index.php page so that everything related to installation is in lib/setup.php
* Also added a small function in OC_HELPER class to set input values.

All these should improve the installation process in terms of ergonomics.
Well, I do hope so.
2011-05-17 22:34:31 +02:00
Jakob Sack
e314a83a7b Fixing the image link for apps 2011-05-17 17:19:21 +02:00
Robin Appelman
915073f8ea use simplexml instead of dom for OC_APP::getAppInfo() 2011-05-16 16:20:56 +02:00