plugin:owncloud
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:owncloud [2013-06-12 19:55] – Uppercase filenames 178.9.64.7 | plugin:owncloud [2023-10-30 22:37] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ownCloud Plugin ====== | ====== ownCloud Plugin ====== | ||
- | |||
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
Line 7: | Line 6: | ||
type : syntax, action, helper | type : syntax, action, helper | ||
lastupdate : 2013-06-01 | lastupdate : 2013-06-01 | ||
- | compatible : "Weatherwax" | + | compatible : Weatherwax, Binky |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : !experimental, | + | tags : !experimental, |
Line 60: | Line 59: | ||
===== Installation ===== | ===== Installation ===== | ||
+ | |||
First you have to [[http:// | First you have to [[http:// | ||
the web.)).\\ | the web.)).\\ | ||
Line 66: | Line 66: | ||
Refer to " | Refer to " | ||
- | After this install | + | After this search and install |
Line 103: | Line 103: | ||
Change to the admin menu and scroll down to the section //DokuWiki app configuration// | Change to the admin menu and scroll down to the section //DokuWiki app configuration// | ||
^Config item ^Description ^ Default ^ | ^Config item ^Description ^ Default ^ | ||
- | |%%URL%% to DokuWiki | The %%URL%% which points to your DowkuWiki | + | |%%URL%% to DokuWiki | The %%URL%% which points to your DokuWiki |
|Path to DokuWiki| This is the directory where you installed DokuWiki. E.g. here is the // | |Path to DokuWiki| This is the directory where you installed DokuWiki. E.g. here is the // | ||
|Clean page names| This **has to be exactly the same value** as you choose for [[config: | |Clean page names| This **has to be exactly the same value** as you choose for [[config: | ||
Line 111: | Line 111: | ||
- | :!: You should fix one thing inside the ownCloud core files. If you want to overwrite a file, e.g. '' | + | :!: You should fix one thing inside the ownCloud core files. If you want to overwrite a file, e.g. '' |
<code php> | <code php> | ||
public static function buildNotExistingFileName($path, | public static function buildNotExistingFileName($path, | ||
Line 118: | Line 118: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | **Since owncloud 6** please open ''< | ||
+ | |||
+ | |||
+ | <code php> | ||
+ | public static function buildNotExistingFileName($path, | ||
+ | $view = \OC\Files\Filesystem:: | ||
+ | | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
Line 164: | Line 177: | ||
There is a different [[https:// | There is a different [[https:// | ||
+ | |||
+ | ==== SQLite compatibility ==== | ||
+ | Running Ubuntu 12.04 I was able to set up on my server. However when I make a changean and try to save the dokuwiki page, it hangs permanently. | ||
+ | |||
+ | Actually my owncloud is installed with SQLite because it's just for test. In the plugin in action.php, the following resquest is done : | ||
+ | |||
+ | $helper-> | ||
+ | } | ||
+ | |||
+ | **The problem is : SQLite doesn' | ||
+ | |||
+ | My colleague suggest the following fix for helper.php : | ||
+ | |||
+ | Line 61 replace " | ||
+ | |||
+ | < | ||
+ | public function dbQuery($sql, | ||
+ | $dbtype = OC_Config:: | ||
+ | if($dbtype == ' | ||
+ | $db = OC_DB:: | ||
+ | $this-> | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | And now it works, thanks for this excellent plugin ! =) | ||
+ | |||
+ | Olivier | ||
==== ChangeLog ==== | ==== ChangeLog ==== |
plugin/owncloud.1371059719.txt.gz · Last modified: 2013-06-12 19:55 by 178.9.64.7