Commit Graph

51293 Commits

Author SHA1 Message Date
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
Robin Appelman 9cd4c99918 Add closing tag to config file.
patch by Debayan Banerjee
2011-01-22 01:51:13 +01:00
Robin Appelman 93bc69011b fix another typo 2011-01-20 16:53:13 +01:00
Robin Appelman c09373a516 fix typo 2011-01-20 16:22:04 +01:00
Robin Appelman 0337b46975 remove debug statement 2011-01-20 16:17:55 +01:00
Robin Appelman 8625a524a5 adjust filebrowser to new libraries 2011-01-20 16:17:38 +01:00
Robin Appelman 9805336c0a cleanup event handling 2011-01-20 16:16:35 +01:00
Robin Appelman 66a7c35d80 improve handeling of links 2011-01-20 16:13:47 +01:00
Robin Appelman f2d78424f2 don't try to use *nix file premissions on windows hosts 2011-01-18 18:10:37 +01:00
Matthew Dawson 9e75e34184 Return a '/' instead of 'false' when listing the root folder.
Signed-off-by: Matthew Dawson <matthew@mjdsystems.ca>
2011-01-06 16:52:28 -05:00
Robin Appelman e0f6ad1c9c Also allow open_file.php to be called with a path paramater instead of only with seperate dir/file 2011-01-04 23:02:38 +01:00
Robin Appelman 56ec730337 fix calling callBacks by id 2011-01-04 22:46:29 +01:00
Robin Appelman 49c2efee27 Merge branch 'master' of git://gitorious.org/owncloud/owncloud 2011-01-04 22:42:26 +01:00
Robin Appelman b705b95a1e don't crash when removing an item from the breadcrump that isn't added properly 2011-01-04 22:41:17 +01:00
Robin Appelman 5a05da2af2 Some common javascript functions for working with arrays and functions
the callBack class becomes obsolete with these but all places where it is used are updates
2011-01-04 22:40:48 +01:00
Robin Appelman ca791d32d8 Merge commit 'refs/merge-requests/41' of git://gitorious.org/owncloud/owncloud into integration 2011-01-04 21:39:49 +01:00
Matthew Dawson 5c856e5741 Fix a warning when there is no included files in a plugin.
Signed-off-by: Matthew Dawson <matthew@mjdsystems.ca>
2011-01-04 12:05:03 -05:00
Matthew Dawson 0f5923a150 Add similar check to the canWrite function.
Signed-off-by: Matthew Dawson <matthew@mjdsystems.ca>
2011-01-03 17:58:49 -05:00
Matthew Dawson 61ce6e21ec Fix a chroot issue where the path /.. (and related paths) are not caught and removed.
Signed-off-by: Matthew Dawson <matthew@mjdsystems.ca>
2011-01-03 17:48:31 -05:00
Elias Probst 290b2d7355 Fix further typos in comments, too (lisen → listen). 2011-01-01 01:08:40 +01:00
Elias Probst ba246b450f Fixed typo (Lisener → Listener) 2011-01-01 01:01:57 +01:00
Robin Appelman 654387ff05 Show error when trying to create a file or folder that already exists
fixes https://bugs.kde.org/show_bug.cgi?id=259616
2010-12-12 22:34:17 +01:00
ente 336f21f0aa Use correct attribute values for audio tag. 2010-12-05 18:30:13 +01:00
ente 7e83db10d5 Only register the "Play" action for audio types that the browser is able to play.
Otherwise just leave the default action to "Download".
2010-12-05 17:51:10 +01:00
ente db5cac3b3f reverted a576150b
Seems we don't really need this, since calling e.g. fileActions['audio/x-wav'] is no problem. It should be also more clear to use and read than e.g. fileActions.audioxwav
2010-12-05 17:45:17 +01:00