Skip to content

Commit dda4b2f

Browse files
authored
Merge pull request #252 from aliyun/luozhang_CZM
Luozhang czm
2 parents a9207c8 + fb0afa3 commit dda4b2f

File tree

15 files changed

+48
-15
lines changed

15 files changed

+48
-15
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
VERSION=1.9.4
2+
VERSION=1.9.5
33
NAME=oss-browser
44
CUSTOM=./custom
55

README-CN.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ Windows7 above, Linux and Mac,不建议使用windows XP平台和windows Server
1212

1313
## 2. 客户端下载:
1414

15-
最新版本`1.9.4`,下载地址如下,解压即可使用。
15+
最新版本`1.9.5`,下载地址如下,解压即可使用。
1616

17-
> [<h4>Window x32 版下载</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-win32-ia32.zip)
17+
> [<h4>Window x32 版下载</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-win32-ia32.zip)
1818
19-
> [<h4>Window x64 版下载</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-win32-x64.zip)
19+
> [<h4>Window x64 版下载</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-win32-x64.zip)
2020
21-
> [<h4>Mac zip 版下载</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-darwin-x64.zip)
21+
> [<h4>Mac zip 版下载</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-darwin-x64.zip)
2222
23-
> [<h4>Ubuntu x64 版</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-linux-x64.zip)
23+
> [<h4>Ubuntu x64 版</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-linux-x64.zip)
2424
25-
> [<h4>Ubuntu x32 版</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-linux-ia32.zip)
25+
> [<h4>Ubuntu x32 版</h4>](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-linux-ia32.zip)
2626
2727
其他版本暂不提供,可以自行 build。
2828

all-releases.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
||Windows ia32|Windows x64| Mac(zip) |Linux ia32|Linux x64|Release note|
66
|-----|-----|-----|-----|--------|--------|---|
7+
|1.9.5|[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-win32-ia32.zip) |[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-win32-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-darwin-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-linux-ia32.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.5/oss-browser-linux-x64.zip)|[1.9.5.md](release-notes/1.9.5.en-US.md)|
78
|1.9.4|[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-win32-ia32.zip) |[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-win32-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-darwin-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-linux-ia32.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.4/oss-browser-linux-x64.zip)|[1.9.4.md](release-notes/1.9.4.en-US.md)|
89
|1.9.3|[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.3/oss-browser-win32-ia32.zip) |[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.3/oss-browser-win32-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.3/oss-browser-darwin-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.3/oss-browser-linux-ia32.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.3/oss-browser-linux-x64.zip)|[1.9.3.md](release-notes/1.9.3.en-US.md)|
910
|1.9.2|[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.2/oss-browser-win32-ia32.zip) |[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.2/oss-browser-win32-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.2/oss-browser-darwin-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.2/oss-browser-linux-ia32.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.9.2/oss-browser-linux-x64.zip)|[1.9.2.md](release-notes/1.9.2.en-US.md)|

app/main/files/files.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,8 @@ angular.module('web')
982982
// return;
983983
// }
984984
var keyword = $scope.keepMoveOptions.isCopy ? T('copy'): T('move');
985+
var keepmove = $scope.keepMoveOptions.currentInfo;
986+
var current = $scope.currentInfo;
985987

986988
if($scope.keepMoveOptions.items.length==1 && $scope.currentInfo.bucket==$scope.keepMoveOptions.currentInfo.bucket){
987989
//1个支持重命名
@@ -1015,7 +1017,7 @@ angular.module('web')
10151017
return;
10161018

10171019
}
1018-
if ($scope.keepMoveOptions.currentInfo.key === $scope.currentInfo.key && keyword !== T('copy')) {
1020+
if (current.key === keepmove.key && keyword === T('move') && current.bucket === keepmove.bucket) {
10191021
Toast.warn(T('forbidden'));
10201022
} else {
10211023
var msg = T('paste.message1', {name: $scope.keepMoveOptions.items[0].name, action: keyword});

app/main/files/modals/preview/doc-modal.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h4 class="modal-title">
2020
<restore-checker bucket-info="bucketInfo" object-info='objectInfo' file-type="fileType"
2121
after-check-success="afterCheckSuccess()" after-restore-submit="afterRestoreSubmit()">
2222

23-
<div style="overflow:auto;min-height:100px;" class="text-center">
23+
<!-- <div style="overflow:auto;min-height:100px;" class="text-center">
2424
<div ng-if="!prevUrl">
2525
<div ng-if="!error" is-loading></div>
2626
<div ng-if="error" class="alert alert-danger text-left">
@@ -32,6 +32,22 @@ <h4 class="modal-title">
3232
<iframe ng-if="prevUrl" ng-src="{{prevUrl|trustAsResourceUrl}}" style="width:100%;height:500px;margin-bottom:-5px" frameborder="0">
3333
<div>{{'cannot.preview'|translate}}</div>
3434
</iframe>
35+
</div> -->
36+
<div class="text-center alert alert-warning">
37+
{{'cannot.preview.this.file'|translate}}
38+
<!-- 该文件类型无法预览。 -->
39+
</div>
40+
41+
<div class="text-center">
42+
<div class="btn-group">
43+
<button ng-if="showAsCodeBtn" type="button" class="btn btn-default" ng-click="showAs('code');cancel()"><i class="fa fa-file-code-o"></i>
44+
<!-- 尝试作为文本文件打开 -->
45+
{{'tryto.open.as.textfile'|translate}}
46+
</button>
47+
<!-- <button type="button" class="btn btn-default" ng-click="showFn.download();cancel()"><i class="fa fa-download text-success"></i> 直接下载</button> -->
48+
</div>
49+
50+
<div class="clearfix">&nbsp;</div>
3551
</div>
3652
</restore-checker>
3753

app/main/modals/users.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h4 class="modal-title">
2020
<header class="form-group">
2121
<div class="col-sm-9">
2222
<div class="input-group input-group-sm">
23-
<input type="text" ng-model="sch.txt" class="form-control" cleanable-input placeholder="search"/>
23+
<input type="text" ng-model="sch.txt" class="form-control" cleanable-input placeholder="{{'ram.search.placeholder'|translate}}"/>
2424
<span class="input-group-btn">
2525
<a class="btn btn-info"><i class="fa fa-search"></i></a>
2626
</span>

node/i18n/en-US.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ module.exports = {
102102
'main.upgration': 'Release Notes',
103103
'tempCert': 'Temp Cert',
104104
'setup.success': 'Set up successfully',
105-
'forbidden': 'You cannot move the selected objects to the current path or across buckets',
105+
'forbidden': 'You cannot move the selected objects to the current path or across region',
106+
'settings.log': 'Log Settings',
106107
'settings.console': 'Debug panel',
107108
'settings.console.msg': 'Open debug',
108109
'settings.file': "Local log",
@@ -324,6 +325,7 @@ module.exports = {
324325
'upload.addtolist.success': 'All added',
325326

326327
'transframe.search.placeholder': 'Filter by name or status',
328+
'ram.search.placeholder': 'Search by name or modified time',
327329

328330
'start.all': 'Start All',
329331
'pause.all': 'Stop All',

node/i18n/ja-JP.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module.exports = {
101101
'main.upgration': 'リリースノート',
102102
'tempCert': '一時認証',
103103
'setup.success': 'セットアップを完了しました',
104-
'forbidden': '選択したオブジェクトを現在のフォルダーまたはバケット間で移動することはできません',
104+
'forbidden': '選択したオブジェクトを現在のフォルダーまたは Region 間で移動することはできません',
105105

106106
//address bar
107107
'backward': '戻る',
@@ -189,6 +189,7 @@ module.exports = {
189189
'settings.success': '保存を完了しました',
190190
'settings.autoUpgrade': '自動更新',
191191
'settings.autoUpgrade.msg': 'アップデートパッケージを自動的にダウンロードします',
192+
'settings.log': 'ログ設定',
192193
'settings.console': '試用パネル',
193194
'settings.console.msg': '調査を開く',
194195
'settings.file': "ローカルログファイル",
@@ -323,6 +324,7 @@ module.exports = {
323324
'upload.addtolist.success': 'すべて追加されました',
324325

325326
'transframe.search.placeholder': '名前またはステータスによるフィルタリング',
327+
'ram.search.placeholder': '名前や修正時間によって検索する',
326328

327329
'start.all': 'すべて開始',
328330
'pause.all': 'すべて停止',

node/i18n/zh-CN.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.exports = {
102102
'main.upgration': '主要更新',
103103
'tempCert': '临时凭证',
104104
'setup.success': '已经设置成功',
105-
'forbidden': '不支持在当前路径或者跨Bucket移动',
105+
'forbidden': '不支持在当前路径或者跨Region移动',
106106

107107
//address bar
108108
'backward': '后退',
@@ -190,6 +190,7 @@ module.exports = {
190190
'settings.success': '已经保存设置',
191191
'settings.autoUpgrade': '自动更新',
192192
'settings.autoUpgrade.msg': '自动下载更新包',
193+
'settings.log': '日志设置',
193194
'settings.console': '调试面板',
194195
'settings.console.msg': '开启调试',
195196
'settings.file': "本地日志文件",
@@ -323,6 +324,7 @@ module.exports = {
323324
'upload.addtolist.success': '已全部添加到上传队列',
324325

325326
'transframe.search.placeholder': '根据名称或状态搜索',
327+
'ram.search.placeholder': '根据名称或修改时间搜索',
326328

327329
'start.all': '启动全部',
328330
'pause.all': '暂停全部',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oss-browser",
3-
"version": "1.9.4",
3+
"version": "1.9.5",
44
"main": "dist/main.js",
55
"scripts": {
66
"test": "ava test",

release-notes/1.9.5.en-US.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
1. Turn off the preview PDF file function
2+
2. Update log Settings and sub-user managed search for placeholder copywriting

release-notes/1.9.5.ja-JP.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
1. PDFファイルのプレビュー機能を停止します
2+
2. 更新履歴設定、サブユーザ管理検索placeholder文案

release-notes/1.9.5.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
1. 关闭预览 PDF 文件功能
2+
2. 更新日志设置、子用户管理搜索 placeholder 文案

release-notes/1.9.5.zh-CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
1. 关闭预览 PDF 文件功能
2+
2. 更新日志设置、子用户管理搜索 placeholder 文案

upgrade.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.9.4",
2+
"version": "1.9.5",
33
"package_url": "https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/",
44
"package_urls": [
55
"https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/"

0 commit comments

Comments
 (0)