Commit Graph

18917 Commits

Author SHA1 Message Date
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
Robin Appelman 6c4b06390e add the option to use LIKE instead of = when getting data from OCS
also fix the returned keys
2011-03-17 20:47:02 +01:00
Robin Appelman e5de3dd94b added OC_FILESYSTEM::hash()
syntax is the same has http://www.php.net/manual/en/function.hash-file.php
2011-03-17 20:47:02 +01:00
Matthew Dawson 39292ba053 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-16 17:56:05 -04: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
François KUBLER 88df5fcd04 Fixed PHP syntax in skeleton template files. 2011-03-09 23:30:55 +01:00
François KUBLER 7faf852561 Merge branch 'refactoring' of git.kde.org:owncloud into refactoring
Conflicts:
	admin/templates/index.php
	templates/layout.admin.php
	templates/layout.user.php

All conflicts are fixed.
2011-03-09 22:46:17 +01:00
François KUBLER bf815b3390 Fixed PHP syntax in template files.
* Full PHP tags
  * Alternative syntax for control structures
  * Semi-colon at the end of instructions
2011-03-09 21:57:00 +01:00
François KUBLER 1935d85ef1 Fixed some typos in admins templates.
* We have to use full tags (<?php) and not short tags (<?)
* We have to use the alternative syntax for control structures (see http://www.php.net/manual/en/control-structures.alternative-syntax.php).
2011-03-09 20:13:52 +01:00
Jakob Sack ab22dfde8a A sample app, at the moment far from showing everything possible 2011-03-03 23:09:36 +01:00
Jakob Sack f042e85d41 Beginning of some ajax features and an admin page for files 2011-03-03 23:08:54 +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 39279350eb Forgot to change some calls of linkTo 2011-03-02 23:58:46 +01:00
Jakob Sack ddc2a70de9 Admin pages are for admins only, right? 2011-03-02 23:16:02 +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 9aad8b3a86 Deactivate all plugins for now 2011-03-02 00:16:28 +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
Robin Appelman b98cd2d870 Merge branch 'master' of git.kde.org:owncloud 2011-02-26 15:50:34 +01:00
Artur Duque de Souza 09cbe1301e Fix the audio player
If we don't use the ".php" extension the audio won't play because
it cant find the file.

Signed-off-by: Artur Duque de Souza <asouza@kde.org>
2011-02-22 11:15:58 -03:00
Robin Appelman 809db50459 Merge branch 'master' of git.kde.org:owncloud 2011-02-09 19:50:30 +01:00
Jonathan Riddell 1fd39a52fa Fix permissions on files 2011-02-09 18:14:36 +00:00
Jonathan Riddell 6f81c4e7b9 More licence clarification 2011-02-09 16:15:26 +00:00
Jonathan Riddell 21ee8dc0b6 Clarity licences more 2011-02-09 15:55:37 +00:00
Jonathan Riddell 797a4c3c60 Add copying licence for inc/ directory for clarity 2011-02-09 15:48:02 +00:00
Jonathan Riddell 7b3d57abd4 Really add AGPL file 2011-02-09 15:12:09 +00: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 a5533ffc6a only load mdb2 once as it was before 2011-02-06 01:54:07 +01:00
Robin Appelman 42cdc9f04f Merge branch 'master' of git.kde.org:owncloud 2011-02-06 01:23:39 +01:00
Robin Appelman 78d875c60f fix ocs private data handeling.
- return the app in privateDataGet
 - implement privateDataDelete
 - split key-value storage from ocs parsing/output so plugins can use it for storage to
2011-02-06 01:22:48 +01:00
Robin Appelman 0a505fd383 only load mdb2 when we use the database 2011-02-06 01:18:45 +01:00
Robin Appelman fbc3210184 don't hide text viewer when clicking inside the text box 2011-01-31 14:32:40 +01:00
Robin Appelman 7351528431 Change the icon to the correct one after uploading is finished
fixes http://bugs.kde.org/show_bug.cgi?id=264295
2011-01-26 17:40:42 +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 1c207a8889 update readme to reflect move to git.kde.org 2011-01-22 03:03:52 +01:00
Robin Appelman 066ca70890 only show files in the filebrowser that we can actually read.
in the (rare) case that there are unreadable files show an error since it's probably a case of incorrect premissions set by someone.
2011-01-22 02:56:16 +01:00
Robin Appelman 15d15104d4 check if we can read the file before trying to get it's mime type 2011-01-22 02:28:29 +01:00