Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit b75f3d0

Browse files
committed
Point to new MetaStreamWrapper
Fix mobile flex issues
1 parent c243729 commit b75f3d0

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

core/src/core/classes/class.AJXP_Node.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ protected function parseUrl()
565565
$pServ = AJXP_PluginsService::getInstance();
566566
$this->_wrapperClassName = $pServ->getWrapperClassName($this->urlParts["scheme"]);
567567
}else if($this->urlParts["scheme"] == "pydio"){
568-
$this->_wrapperClassName = "AJXP_PermissionWrapper";
568+
$this->_wrapperClassName = "AJXP_MetaStreamWrapper";
569569
}
570570
}
571571

core/src/plugins/action.share/class.ShareCenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ private function deleteExpiredPubliclet($elementId, $data){
12081208
}
12091209
if($repoLoaded){
12101210
AJXP_Controller::registryReset();
1211-
$ajxpNode = new AJXP_Node("ajxp.".$repoObject->getAccessType()."://".$repoObject->getId().$data["FILE_PATH"]);
1211+
$ajxpNode = new AJXP_Node("pydio://".$repoObject->getId().$data["FILE_PATH"]);
12121212
}
12131213
$this->getShareStore()->deleteShare("file", $elementId);
12141214
if(isSet($ajxpNode)){

core/src/plugins/gui.mobile/manifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
</div>
154154
</div>
155155
<div id="cpane_container" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height","fitParent":"browser", "flexTo":"browser"}'>
156-
<div id="files_list_pane" ajxpClass="AjxpPane">
156+
<div id="files_list_pane" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height","fitParent":"cpane_container"}'>
157157
<div id="files_list_header" ajxpClass="AjxpPane">
158158
<div style="float:left;" ajxpClass="AjxpPane" id="buttons_bar_cont" ajxpOptions='{"flexTo":"files_list_header", "flexToMargin":30}'>
159159
<div id="buttons_bar" class="action_bar" ajxpClass="ActionsToolbar" ajxpOptions='{"toolbarsList":["navigation", "info_panel_share","put"],"groupOtherToolbars":["more", "change_main", "change", "remote"], "groupOtherLabel":"More","skipBubbling":true, "skipCarousel":true,"submenuOffsetTop":2}'></div>

core/src/plugins/log.sql/create.mysql

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ CREATE TABLE IF NOT EXISTS `ajxp_log` (
99
`params` TEXT,
1010
`repository_id` VARCHAR(32),
1111
`device` VARCHAR(255),
12-
KEY `source` (`source`),
13-
KEY `repository_id` (`repository_id`),
14-
KEY `logdate` (`logdate`),
15-
KEY `severity` (`severity`)
12+
INDEX `source` (`source`),
13+
INDEX `repository_id` (`repository_id`),
14+
INDEX `logdate` (`logdate`),
15+
INDEX `severity` (`severity`)
1616
) CHARACTER SET utf8 COLLATE utf8_unicode_ci;
17-
);

0 commit comments

Comments
 (0)