Commit graph

12812 commits

Author SHA1 Message Date
Robin Appelman
5c9178f851 Fixed a bug in appconfig, where an initially empty set value led to endless duplicates of this app/key pair.
Path by Elias Probst <mail@eliasprobst.eu>
2011-08-28 19:36:23 +02:00
Michael Gapczynski
74c7890fbb Fix undefined index license in Apps 2011-08-27 17:56:22 -04:00
Côme BERNIGAUD
52ca447efc Merge branch 'master' of git.kde.org:owncloud 2011-08-27 18:11:32 +02:00
Côme BERNIGAUD
e8fa2d3442 Added db4app lib, and apps test_db that shows how it works.
Also fixed a typo in db.php
2011-08-27 18:09:14 +02:00
Jan-Christoph Borchardt
11c2aff8c9 fixed installer failing due to htaccess. Thanks to Elias Probst 2011-08-27 10:19:45 +02:00
Robin Appelman
ee0954b236 fix issue with login being case insensitve 2011-08-25 21:51:13 +02:00
Robin Appelman
391e064e67 allow apps to register form for the settings and admin pages 2011-08-23 01:41:18 +02:00
Robin Appelman
d851bdac90 fix .htaccess file crashing apache+php-cgi 2011-08-22 17:18:54 +02:00
Robin Appelman
af3080402b fix installing shipped apps 2011-08-22 14:17:38 +02:00
Frank Karlitschek
109302a928 add some todos 2011-08-20 11:53:14 +02:00
Jan-Christoph Borchardt
d9aae20003 more valid HTML, alt attributes, refactored pagenavi etc. 2011-08-20 05:07:58 +02:00
Jan-Christoph Borchardt
683e125042 Merge branch 'sharing' 2011-08-17 13:48:36 +02:00
Frank Karlitschek
cb9fc6d901 make the help section working and pretty. knowledge base entries are fetched via OCS from a different server. cool stuff 2011-08-17 00:24:50 +02:00
Michael Gapczynski
e4c9871299 This should actually make the 'Shared' directory automatically everytime 2011-08-15 20:45:07 -04:00
Michael Gapczynski
5fbed936bf Automatic creation of 'Shared' directory, bug fixes for an empty 'Shared' directory 2011-08-15 20:33:02 -04:00
Michael Gapczynski
1ec75330ec Merge branch 'master' into sharing 2011-08-15 17:49:36 -04:00
Robin Appelman
13cbd7f578 some filesystem fixes 2011-08-15 22:55:14 +02:00
Robin Appelman
6173c0fbc2 a bit of refactoring for oc_filesystem and implement user quota 2011-08-15 21:09:13 +02:00
Jan-Christoph Borchardt
2cb231d0a4 resolved merge conflict 2011-08-14 19:31:38 +02:00
Jan-Christoph Borchardt
9648be97fb better error messages for installation, still need to be inline 2011-08-13 05:37:12 +02:00
Jan-Christoph Borchardt
4a5ee765cf merged admin, help and settings to settings 2011-08-13 05:13:34 +02:00
Michael Gapczynski
122018889a Merge branch 'master' into sharing
Conflicts:
	files/css/files.css
2011-08-12 21:00:41 -04:00
Michael Gapczynski
67156f87e3 Add missing parameter to usersInGroup() 2011-08-12 20:53:36 -04:00
Michael Gapczynski
ffe9da91af Add missing parameter to usersInGroup() 2011-08-12 20:51:01 -04:00
Frank Karlitschek
c2a5b49834 better error reporting during installation 2011-08-12 19:22:29 +02:00
Jan-Christoph Borchardt
0b4ed25776 fixed downloading of files with spaces in name for Firefox 2011-08-12 12:03:59 +02:00
Jan-Christoph Borchardt
6c4d075bd6 added jquery-tipsy for nice title tooltips 2011-08-12 11:26:13 +02:00
Michael Gapczynski
4830555cce Merge branch 'master' into sharing
Conflicts:
	.gitignore
2011-08-11 17:42:37 -04:00
Jan-Christoph Borchardt
99790d6805 lots of image changes, use svg EVERYWHERE POSSIBLE 2011-08-11 19:00:32 +02:00
Frank Karlitschek
aa582ec43a more work on encryption 2011-08-11 17:49:36 +02:00
Frank Karlitschek
d75faac09e Merge branch 'master' of git.kde.org:owncloud 2011-08-11 16:33:53 +02:00
Frank Karlitschek
5b9f6b4001 hide the files admin page as long as we don have settings on the page 2011-08-11 16:24:53 +02:00
Robin Appelman
50c1553c38 automaticaly login after setup 2011-08-11 16:22:25 +02:00
Robin Appelman
bc5bf18eed bit of work on app management 2011-08-11 15:11:06 +02:00
Jan-Christoph Borchardt
b4e89871dd merged master into sharing 2011-08-11 13:29:22 +02:00
Robin Appelman
bfd72501a1 add OC_Group::usersInGroup() to get a list of all users in a group 2011-08-11 10:12:17 +02:00
Jan-Christoph Borchardt
05f3910718 moved search box directly to template 2011-08-10 22:56:55 +02:00
Robin Appelman
f03874ac49 work on user management 2011-08-10 22:38:28 +02:00
Michael Gapczynski
e1bde1a78e Merge branch 'master' into sharing
Conflicts:
	files/templates/index.php
2011-08-10 13:40:47 -04:00
Frank Karlitschek
613ab41eb3 more work on the encryption library 2011-08-10 17:24:38 +02:00
Robin Appelman
1f1498ceca remove Log completely 2011-08-10 14:03:54 +02:00
Robin Appelman
cdf91b6b3e work in new app management 2011-08-10 14:03:54 +02:00
Robin Appelman
9059b55979 make more strings translatable 2011-08-10 14:03:54 +02:00
Jakob Sack
c958a44e46 Copying globals to OC::* 2011-08-10 11:18:35 +02:00
Jakob Sack
7b653dbca6 use sprintf for translations 2011-08-10 11:08:30 +02:00
Michael Gapczynski
ec6aed8475 Merge branch 'master' into sharing 2011-08-09 10:42:50 -04:00
Serge Martin
97462b018d Merge MySQL and PostgreSQL input fields 2011-08-09 11:32:22 +02:00
Robin Appelman
7b38e5d7c7 apps can now add their own forms to the Personal page 2011-08-08 23:46:52 +02:00
Jakob Sack
962907ee6f Merge branch 'master' of git://anongit.kde.org/owncloud
Conflicts:
	lib/template.php
2011-08-08 23:16:30 +02:00
Jakob Sack
4b967a9414 Minor improvements 2011-08-08 23:14:47 +02:00
Robin Appelman
d1d47eb5eb do proper styling for settings pages 2011-08-08 22:38:42 +02:00
Robin Appelman
e6f6d3dabc dont use a different navigation page for settings stuff 2011-08-08 21:43:31 +02:00
Bartek Przybylski
8bd82b96f3 checking for apache server in setup 2011-08-08 21:41:20 +02:00
Michael Gapczynski
1aa89b7cbb Merge branch 'master' into sharing
Conflicts:
	files/css/files.css
	lib/base.php
2011-08-07 15:56:26 -04:00
Serge Martin
3e8ae8636c Add postgresql support
REVIEW: 102101
2011-08-07 21:06:53 +02:00
Serge Martin
acf7916e71 user is a reserved word in postgresql 2011-08-07 19:02:41 +02:00
Frank Karlitschek
a0b7b85c56 remove debug 2011-08-07 18:00:35 +02:00
Frank Karlitschek
58c2d29f8c report the right webserver user to simplify setup and debug 2011-08-07 17:58:56 +02:00
Frank Karlitschek
b2702c4406 fix include path 2011-08-07 17:39:38 +02:00
Frank Karlitschek
51caa624bb first step to file encription 2011-08-07 17:32:48 +02:00
Frank Karlitschek
1dc3cb67fa more improved error reporting 2011-08-06 23:31:38 +02:00
Frank Karlitschek
a689fa18df Merge branch 'master' of git.kde.org:owncloud 2011-08-06 23:19:40 +02:00
Frank Karlitschek
b513a60540 nicer error report and streamlined setup 2011-08-06 23:19:00 +02:00
Jakob Sack
63de1841a6 Merge branch 'master' of git://anongit.kde.org/owncloud 2011-08-06 23:10:14 +02:00
Jakob Sack
42a6549729 Database.xml 2011-08-06 23:09:38 +02:00
Robin Appelman
be9c044b24 descriptions for OC:: variables 2011-08-06 23:04:39 +02:00
Jakob Sack
d9ccbe96dd fix template.php ;-) 2011-08-06 17:00:06 +02:00
Jakob Sack
501b767e6e Merge branch 'master' of git://anongit.kde.org/owncloud 2011-08-06 11:38:49 +02:00
Jakob Sack
5f7c040ec0 Add principals, minor changes in base.php 2011-08-06 11:36:56 +02:00
Robin Appelman
faf6c0e8e1 fix some forgotten quotes around strings 2011-08-05 11:19:46 +02:00
Jan-Christoph Borchardt
6d5cb13018 fixed relative time calculation 2011-08-05 08:19:51 +02:00
Robin Appelman
a2062036d3 selecting a text file from the search results now activates the text viewer 2011-08-03 00:30:21 +02:00
Robin Appelman
e50abdd355 limit the length of the mysql username during setup 2011-08-02 21:33:35 +02:00
Jakob Sack
db90b2e44a prepare replacing global $vars with OC::$vars 2011-08-02 18:48:19 +02:00
Jakob Sack
c50a83cd8d Introducing a semiautoload. Enables autoload for classes that are not in lib/ 2011-08-02 18:31:42 +02:00
Michael Gapczynski
ddfc9fc001 Move registering shared storage out of base 2011-08-01 10:58:15 -04:00
Robin Appelman
2d19965750 some improvements to collection scanning 2011-08-01 00:07:46 +02:00
Robin Appelman
14f7daf53c add transitions to oc_db 2011-07-31 20:24:53 +02:00
Michael Gapczynski
17058c9467 Merge branch 'master' into sharing 2011-07-31 12:53:34 -04:00
Robin Appelman
b93b066a42 fix search results having files from other users 2011-07-31 15:35:37 +02:00
Robin Appelman
5ef407d1c9 keyboard shortcuts for search results 2011-07-31 04:03:48 +02:00
Robin Appelman
2c8b4da840 make sure jquery and common javascript is loaded before the javascript of the apps 2011-07-31 02:24:46 +02:00
Robin Appelman
0bc16683e5 dont show music results twice 2011-07-31 02:20:34 +02:00
Michael Gapczynski
0d3ebbfefd Merge branch 'master' into sharing 2011-07-30 19:57:57 -04:00
Michael Gapczynski
11d1627513 Merge branch 'master' into sharing. Integrate with changes in master, rename classes
Conflicts:
	lib/base.php
2011-07-30 19:40:19 -04:00
Robin Appelman
1564a40538 dont show the full path for the files in search results 2011-07-31 01:26:13 +02:00
Robin Appelman
0503c3499e configure users/groups before loading apps 2011-07-31 00:23:06 +02:00
Jakob Sack
0dab7f2e53 laod apps ways earlier! 2011-07-31 00:06:17 +02:00
Robin Appelman
aafd36e2f3 provide json interface for search 2011-07-30 16:42:20 +02:00
Jakob Sack
bafd684eb6 Renaming classes :-) 2011-07-29 21:36:03 +02:00
Jakob Sack
2ff8d7a8bc One class per file! 2011-07-29 21:03:53 +02:00
Jakob Sack
2bfad189e7 Merge branch 'master' of git://anongit.kde.org/owncloud into autoload
Conflicts:
	lib/base.php
	lib/filestorage.php
2011-07-29 20:42:24 +02:00
Michael Gapczynski
5fd77084c4 Merge branch 'master' into sharing
Conflicts:
	core/templates/layout.user.php
2011-07-29 13:58:13 -04:00
Robin Appelman
d12d08e2f3 some more changes for navigation subentries 2011-07-29 19:43:06 +02:00
Robin Appelman
fe47d51598 some refactoring for subnavigation code 2011-07-29 19:12:55 +02:00
Michael Gapczynski
fcc9f50641 Merge branch 'master' into sharing
Conflicts:
	files/templates/index.php
2011-07-29 10:23:15 -04:00
Robin Appelman
6d0c8ea7e4 use proper file icons for image and audio files 2011-07-29 01:37:08 +02:00
Jan-Christoph Borchardt
f1616b0e62 implemented relative file size and coloring 2011-07-29 00:46:20 +02:00
Robin Appelman
f1c2b5b304 set installed version in config file 2011-07-28 23:34:39 +02:00
Robin Appelman
20f5a9f085 bumb version number for upcomming beta 2011-07-28 23:34:39 +02:00
Robin Appelman
7d15a45e09 use oc_preferences to store ocs privatedata 2011-07-28 20:23:58 +02:00
Robin Appelman
0d408fe6f5 make use of the command line tools id3info and mp3info for scanning music if they are available 2011-07-28 20:10:58 +02:00
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
Michael Gapczynski
ff3140052a Merge branch 'master' into sharing 2011-07-26 21:29:44 -04: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
Michael Gapczynski
415ae8e40a Merge branch 'master' into sharing 2011-07-24 16:08:39 -04: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
Michael Gapczynski
0387cc5f1f Merge branch 'master' into sharing 2011-07-21 19:18:26 -04: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
Michael Gapczynski
6af4c465b8 Change all occurences of ['user_id'] to OC_USER::getUser() 2011-07-20 16:52:01 -04:00
Michael Gapczynski
1cfa911ce3 Update database.xml to current database fields, remove hard coded MTGap when mounting shared storage provider 2011-07-20 14:42:48 -04:00
Michael Gapczynski
abf6ba621a Merge branch 'master' into sharing 2011-07-20 14:30:19 -04: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
5896e48755 Add missing argument for fromTmpFile() inside of rename() 2011-07-13 13:30:22 -04:00
Michael Gapczynski
a79f2535f8 Merge branch 'master' into sharing 2011-07-12 20:51:07 -04:00
Michael Gapczynski
a861666500 Add missing parameter for fromTmpFile() inside of copy() 2011-07-12 20:50:04 -04:00
Michael Gapczynski
2c4fef91da Merge branch 'master' into sharing 2011-07-12 18:38:03 -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
Michael Gapczynski
6b303ee64b Fix bug in opendir() and remove getStorageMountPoint(), now using datadir argument instead 2011-07-12 13:10:29 -04:00
Michael Gapczynski
5e560e9bd9 Merge branch 'master' into sharing 2011-07-06 20:19: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
Michael Gapczynski
9deab8302f Fix bugs in getSource() and implement new target path standard 2011-07-05 11:56:02 -04:00
Michael Gapczynski
607f1a2738 Fix conflicts with master in lib/base.php 2011-07-04 16:45:19 -04:00
Michael Gapczynski
05389827fd Merge branch 'master' into sharing
Conflicts:
	.gitignore
	lib/base.php
2011-07-04 16:36:30 -04: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
Michael Gapczynski
467778d66f Merge branch 'master' into sharing 2011-06-23 17:54:49 -04: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
Michael Gapczynski
18e776fa2f Changed mount point to 'Share', fixed is_dir() 2011-06-22 11:40:09 -04: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
Michael Gapczynski
4e7d1c376f OC_FILESTOAGE_SHARED now works with hard coded values for files 2011-06-18 13:49:52 -04: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
Michael Gapczynski
bf66563cda First version of shared storage provider - not functional 2011-06-16 14:40:21 -04: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
Robin Appelman
d10840ab18 moved app install/remove/update functions to lib/installer.php
added OC_APP::getAppInfo() for reading app metadata
2011-05-15 16:32:22 +02:00
Jakob Sack
d70dfbdebb Renamed a few columns in order t ohave both sqlite and mysql up and running 2011-05-15 15:03:12 +02:00
Jakob Sack
6b83e5ccfe renamed installer.php to setup.php 2011-05-06 22:50:18 +02:00
Robin Appelman
e8e0608991 no hooks for OC_FILESTORAGE the one from OC_FILESYSTEM should be enough 2011-04-29 12:22:37 +02:00
Robin Appelman
5d358bb63f merge 2011-04-28 23:59:02 +02:00
Robin Appelman
96cb5a3d2e fix oc_appconfig for sqlite 2011-04-28 17:45:41 +02:00
Robin Appelman
3e99aefb7e make logs work with sqlite 2011-04-28 17:40:51 +02:00
Robin Appelman
1850bddb67 move sqlite database into the data folder, makes it easier to set the correct permissions 2011-04-28 16:54:10 +02:00
Robin Appelman
8a6edd4654 Show currect filename when downloading files 2011-04-26 15:01:16 +02:00
Robin Appelman
b7aba15f17 add search functionality, for now only searches files but plugins/apps can extend that 2011-04-24 16:09:27 +02:00
Robin Appelman
8d52fdb7fa fix chmodr 2011-04-24 15:23:18 +02:00
Robin Appelman
08cfe4b6ff stylesheets have .css as extention, not .js 2011-04-23 02:30:34 +02:00
Robin Appelman
4c0d6dc9e7 make OC_HOOKS actually work 2011-04-23 02:30:12 +02:00
Robin Appelman
3e47ce3cef properly load css and js files for apps 2011-04-23 02:28:12 +02:00
Robin Appelman
cf76cad931 change printPageNavi() to getPageNavi() to allow some more flexibility 2011-04-21 23:04:16 +02:00
Robin Appelman
741519fa79 loging system 2011-04-21 23:03:45 +02:00
Marco Michelino
4e2ef271bc bugfixes on GET requests via WebDAV 2011-04-20 13:28:35 +02:00
Marco Michelino
d1b4f74bc2 Avoid // in URIs 2011-04-19 12:32:37 +02:00
Jan-Christoph Borchardt
8080a1a5a7 now my uppercase Wikileaks folder is correctly sorted below pr0n, like it should be 2011-04-18 23:52:55 +02:00
Jan-Christoph Borchardt
660e2c8102 renamed application-octet-stream.png to file.png 2011-04-18 22:16:32 +02:00
Robin Appelman
235b647fe1 send proper headers 2011-04-18 15:39:29 +02:00
Robin Appelman
0f49d57d27 dissable loggin for now 2011-04-18 15:36:56 +02:00
Robin Appelman
70bf44401d correct them the right way this time 2011-04-18 15:31:40 +02:00
Robin Appelman
2673b6c054 typo's ... 2011-04-18 15:30:27 +02:00
Robin Appelman
14777ba444 clarify OC_FILES::get() documentation 2011-04-18 15:30:27 +02:00
Jakob Sack
6f07cf2651 Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-18 15:07:51 +02:00
Jakob Sack
b57823baa5 Made the "change password" thingie in settings working 2011-04-18 15:07:14 +02:00
Robin Appelman
a977ba31ce create .htaccess files during installation for apache users 2011-04-18 14:12:53 +02:00
Robin Appelman
7684585f49 404 error page 2011-04-18 13:16:49 +02:00
Jakob Sack
f1e78be4f4 Even more fixes on user management. Any designers here that want to make it good looking? 2011-04-18 13:12:30 +02:00
Jakob Sack
da30671ec4 More error checking in user management 2011-04-18 12:39:28 +02:00
Robin Appelman
fe90bf4bdc disable the backup system for now 2011-04-18 12:18:45 +02:00
Robin Appelman
67ba9b320e seperate hooks for OC_FILESYSTEM and OC_FILESTORAGE 2011-04-18 12:16:56 +02:00
Jakob Sack
761a517888 Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-18 12:03:06 +02:00
Robin Appelman
b8e1788ed0 replace filesystem observer with the more general OC_HOOK 2011-04-18 12:02:53 +02:00
Jakob Sack
329d804032 Hotfix: deleting users is working again 2011-04-18 12:02:03 +02:00
Jakob Sack
a1ff99126a prevent users from deleting admin group 2011-04-18 11:53:38 +02:00
Jakob Sack
dd0eb9dd8d Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-18 11:49:23 +02:00
Jakob Sack
f22c05deab Check for existance of group- and usernames, don't mix OC_USER and OC_GROUP! 2011-04-18 11:48:52 +02:00
Jakob Sack
b37fb9142f Added tons of Hooks to OC_USER and OC_GROUP 2011-04-18 11:39:29 +02:00
Robin Appelman
900ece18e7 seperate view and logic for pagenavi 2011-04-18 11:31:01 +02:00
Jakob Sack
1fe5f5a2df Better documentation for OC_USER 2011-04-18 10:41:01 +02:00
Jakob Sack
a70330e9be Improved documentation for group management 2011-04-18 10:00:45 +02:00
Frank Karlitschek
91b5d8575a add pager function to the base lib and remove the default table width 2011-04-17 19:46:09 +02:00
Jakob Sack
47223ae2d9 Working subnavigation 2011-04-17 19:38:04 +02:00
Robin Appelman
7b02151639 make the file permissions hint more clear 2011-04-17 18:19:50 +02:00
Robin Appelman
871a4b3d4a more improvements for foldersize 2011-04-17 18:19:50 +02:00
Jakob Sack
d59b0df401 Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-17 18:06:17 +02:00
Jakob Sack
79d8aa871a User management works good enough for now. Need to do something else ... 2011-04-17 18:05:49 +02:00
Frank Karlitschek
60b6825612 show only ownCloud related knowledgebase entries. and make the page pretty 2011-04-17 17:38:35 +02:00
Robin Appelman
225ad85e90 add free_space to OC_FILESYSTEM 2011-04-17 16:40:44 +02:00
Frank Karlitschek
5759802091 now we have our own ocs server 2011-04-17 16:04:46 +02:00
Robin Appelman
86356e888e save the correct config entry 2011-04-17 15:25:59 +02:00
Robin Appelman
e984a3b47a fix keeping track of foldersize 2011-04-17 13:47:22 +02:00
Robin Appelman
6affa3281a small fixes in webdav 2011-04-17 13:33:30 +02:00
Robin Appelman
58cb46c4e8 make sql queries work in sqlite 2011-04-17 12:36:14 +02:00
Robin Appelman
243d6566dd fix login when using sqlite 2011-04-17 12:36:14 +02:00
Arthur Schiwon
a14f8243e8 get max upload file size for upload form from php settings 2011-04-17 12:03:23 +02:00
Robin Appelman
ab155de14f improve error handeling for first run dialog 2011-04-17 11:59:15 +02:00
Arthur Schiwon
5a03ce696c debug output should not be there 2011-04-17 11:20:28 +02:00
Robin Appelman
fde08b2389 installer now works when using mysql 2011-04-17 11:10:03 +02:00
Arthur Schiwon
8a5d1ffebe fix that might solve strange uploading issues 2011-04-17 01:17:34 +02:00
Frank Karlitschek
85a6097c03 Merge branch 'refactoring' of git.kde.org:owncloud into refactoring 2011-04-17 01:13:07 +02:00
Frank Karlitschek
0820cb8f17 owncloud now with even more buzzwords. we outsourced the doccumentation and use an online knowledgebase 2011-04-17 01:11:44 +02:00
Jakob Sack
d314c33715 do not redeclare methods 2011-04-17 01:06:48 +02:00
Jakob Sack
cb2d8db9ce Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-17 01:04:43 +02:00
Jakob Sack
c4287162c4 Some work on the fancy user management 2011-04-17 01:04:23 +02:00
Frank Karlitschek
ca04b33abe first step on online ocs knowledgebase integration 2011-04-17 00:53:10 +02:00
Robin Appelman
3263b80ea9 first-run wizzard wip 2011-04-17 00:45:05 +02:00
Robin Appelman
25d687f35a add OC_GROUP::createGroup(); 2011-04-17 00:28:44 +02:00
Frank Karlitschek
af40d872ce Merge branch 'refactoring' of git.kde.org:owncloud into refactoring 2011-04-16 23:09:02 +02:00
Frank Karlitschek
fc63882fe2 more layout fixes 2011-04-16 23:07:18 +02:00
Jakob Sack
7035c0417c Get Hot New Fixes (TM) 2011-04-16 23:02:54 +02:00
Robin Appelman
a16c6fb804 don't use items in an array that aren't there 2011-04-16 20:36:43 +02:00
Frank Karlitschek
fb74de326d Merge branch 'refactoring' of git.kde.org:owncloud into refactoring 2011-04-16 20:35:15 +02:00
Frank Karlitschek
1372d8339d add a date format function for more eyecandy 2011-04-16 20:34:18 +02:00
Robin Appelman
bf45dcb959 only check for permissions for folders that exists 2011-04-16 20:27:08 +02:00
Robin Appelman
d002ed0b94 set strict error reporting 2011-04-16 20:08:13 +02:00
Frank Karlitschek
cf50c497b9 Merge branch 'refactoring' of git.kde.org:owncloud into refactoring 2011-04-16 19:58:07 +02:00
Robin Appelman
101877351b use the correct variable name 2011-04-16 19:46:47 +02:00
Robin Appelman
e71bc75a9d use the correct signature for OC_FILEOBSERVER->notify() 2011-04-16 19:45:47 +02:00
Robin Appelman
7b00f99a57 static functions shouldn't be abstract 2011-04-16 19:45:07 +02:00
Frank Karlitschek
219c4a2c78 Merge branch 'refactoring' of git.kde.org:owncloud into refactoring 2011-04-16 19:43:26 +02:00
Frank Karlitschek
85df699746 application listing works more or less now 2011-04-16 19:42:58 +02:00
Robin Appelman
5ccdea8e5b save installation state of databases in appconfig instead of plugin.xml 2011-04-16 19:06:45 +02:00
Frank Karlitschek
150631849f Merge branch 'refactoring' of git.kde.org:owncloud into refactoring
Conflicts:
	admin/apps.php
2011-04-16 18:50:49 +02:00
Robin Appelman
f0e59b9043 better display for server configuration errors 2011-04-16 18:27:58 +02:00
Jakob Sack
964a55033a never ever call a function you just removed 2011-04-16 18:08:40 +02:00
Jakob Sack
f2e37e0018 Completely removing personalMenu 2011-04-16 18:06:23 +02:00
Jakob Sack
5d23b60c8a Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-16 17:50:18 +02:00
Jakob Sack
af1e48df80 Changes in the user experience 2011-04-16 17:49:57 +02:00
Robin Appelman
318d024cc1 show size of folders in filebrowser 2011-04-16 17:07:44 +02:00
Robin Appelman
1495ec0f31 show server configuration errors on seperate page 2011-04-16 15:49:55 +02:00
Jakob Sack
b5f913a3fc Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-16 14:59:27 +02:00
Jakob Sack
4c74029489 First sketch of a user administration 2011-04-16 14:59:10 +02:00
Frank Karlitschek
5112295723 Merge branch 'refactoring' of git.kde.org:owncloud into refactoring 2011-04-16 14:37:51 +02:00
Frank Karlitschek
d6d848184b new cool ocs client, but still empty 2011-04-16 14:36:32 +02:00
Arthur Schiwon
1c3703477b Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-16 14:00:05 +02:00
Robin Appelman
9a575d1ded port OC_OCS to prepared statements 2011-04-16 13:55:33 +02:00
Arthur Schiwon
627dc95d19 don't manifold slashes in case empty $app is forwarded to linkTo() 2011-04-16 12:43:37 +02:00
Jakob Sack
8465f76e7e Use OC_CONFIG where possible 2011-04-16 12:18:42 +02:00
Jakob Sack
77fe7240f0 Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-16 11:46:09 +02:00
Robin Appelman
f4d0310d73 port WebDAV to prepared statements 2011-04-16 11:46:49 +02:00
Jakob Sack
177fd27382 Make OC_CONFIG working again 2011-04-16 11:25:21 +02:00
Jakob Sack
fc33094429 replaced $CONFIG_DB* with OC_CONFIG::getValue( "db*" ) 2011-04-16 11:11:16 +02:00
Jakob Sack
ed77ab18c9 Added a dump of the database 2011-04-16 10:41:41 +02:00
Jakob Sack
e8f6848095 Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring 2011-04-16 10:26:40 +02:00
Jakob Sack
683677b4f9 Support for navigation sub entries 2011-04-16 10:26:18 +02:00
Robin Appelman
69289bf943 move chmodr to OC_HELPER 2011-04-16 10:23:15 +02:00
Robin Appelman
26841884af move OC_DB to it's own file 2011-04-16 10:18:35 +02:00
Robin Appelman
e42dbbf7f3 merge 2011-04-16 10:13:52 +02:00
Robin Appelman
232654cb60 get rid of the oc_require and friends 2011-04-16 10:12:53 +02:00
Jakob Sack
16e4a1dd17 Fix template.php 2011-04-16 09:51:46 +02:00
Jakob Sack
f36f453dd2 apps are now stored in /apps 2011-04-16 09:46:58 +02:00
Jakob Sack
f1015c88fa Minor bug fixing 2011-04-15 23:09:05 +02:00
Jakob Sack
3d89b2caa4 php is not perl 2011-04-15 19:24:23 +02:00
Jakob Sack
3c01e30748 Try to make owncloud working again 2011-04-15 18:13:49 +02:00
Jakob Sack
149793f2e7 First version of the new user management 2011-04-15 17:14:02 +02:00
Jakob Sack
7c8ae42c6f Fixed some small bugs 2011-04-08 17:36:12 +02:00
Jakob Sack
f66d3ab208 Implementation of OC_APPCONFIG, OC_CONFIG and OC_PREFERENCES 2011-04-08 16:54:12 +02:00
Jakob Sack
908e377246 Refactoring of OC_DB 2011-04-08 16:53:17 +02:00
Jakob Sack
d3502315bd added class OC_HOOK to base.php. It is in base.php because it is needed
very ofter and it is quite small.
2011-03-29 20:21:00 +02:00
Robin Appelman
0f494970d1 Fix a couple of minor coding errors 2011-03-18 14:15:38 +01:00
Robin Appelman
1df0397163 only load mdb2 once as it was before 2011-03-17 20:58:27 +01:00
Matthew Dawson
f2627dd757 When moving a file from/to a temporary location, also update the file access/modification times.
When PHP moves a file across filesystem boundaries, it does not update the access/modification times.
Thus do it manually so that this information is not lost.
2011-03-17 20:57:28 +01:00
Robin Appelman
49a78333fb add the option to use LIKE instead of = when getting data from OCS
also fix the returned keys
2011-03-17 20:56:13 +01:00
Robin Appelman
ef5bd659fa added OC_FILESYSTEM::hash()
syntax is the same has http://www.php.net/manual/en/function.hash-file.php
2011-03-17 20:55:41 +01:00
Jakob Sack
a3070405d9 OC_HELPER, OC_LOG and OC_TEMPLATE prepared for refactoring 2011-03-13 17:25:34 +01:00
Jakob Sack
59847bb901 OC_CONFIG prepared for refactoring 2011-03-12 18:19:11 +01:00
Jakob Sack
1aa7fd98c2 Refactoring OC_APPCONFIG and OC_PREFERENCES, minor changes to OC_APP. These libraries are skeletons only, the functions need to be written. 2011-03-12 10:28:10 +01:00
Jakob Sack
883c7a582d Small fixes in OC_APP, removed functions in OC_UTIL that now are in OC_APP 2011-03-11 15:25:48 +01:00
Jakob Sack
25e59e3ce6 Preparing OC_APP. It now includes information for all functions planned. 2011-03-11 14:59:24 +01:00
Jakob Sack
f7f957abb9 Base for a more flexible navigation 2011-03-03 23:08:11 +01:00
Jakob Sack
ae5dc3efdf New classes for owncloud: OC_APP for applications, OC_PREFERENCES for user preferences 2011-03-03 21:55:32 +01:00
Jakob Sack
94b405b64f Make it possible to use several datadirs.
This could be useful if the user does not want his gallery images on the webdav storage.
2011-03-03 21:25:22 +01:00
Jakob Sack
61ffa182ee Application "files" is able to list the files again, start of splitting css files 2011-03-02 23:06:23 +01:00
Jakob Sack
e5ea0a3daa Added helper for filesize, fixed wrong name for mimetypeIcon() 2011-03-02 22:28:32 +01:00
Jakob Sack
dfa6b749ba Introducing OC_HELPER for small helper functions; making setup of filesystem optional 2011-03-02 22:18:22 +01:00
Jakob Sack
ede34c17dd Make the templates working again. 2011-03-02 18:21:08 +01:00
Jakob Sack
66ac355f78 Getting rid of Smarty, using our own template system 2011-03-02 11:56:48 +01:00
Jakob Sack
015ab0eb64 Say Smarty to only use one compile directory. Makes setup somewhat easier. 2011-03-02 00:16:43 +01:00
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