Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
4fa82d94
Commit
4fa82d94
authored
Mar 26, 2014
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载校验,桌面通知,md5库换成nodejs的
parent
e3b41404
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
127 additions
and
93 deletions
+127
-93
app/candy/index.html
app/candy/index.html
+1
-1
app/index.html
app/index.html
+0
-1
app/js/controllers.coffee
app/js/controllers.coffee
+54
-29
app/js/controllers.js
app/js/controllers.js
+60
-34
app/js/controllers.map
app/js/controllers.map
+1
-1
app/js/maotama.coffee
app/js/maotama.coffee
+3
-2
app/js/maotama.js
app/js/maotama.js
+4
-2
app/js/maotama.map
app/js/maotama.map
+1
-1
app/lib/js/md5.js
app/lib/js/md5.js
+0
-19
app/lib/js/nw-desktop-notifications.js
app/lib/js/nw-desktop-notifications.js
+2
-2
app/nw-desktop-notifications.html
app/nw-desktop-notifications.html
+1
-1
No files found.
app/candy/index.html
View file @
4fa82d94
...
...
@@ -43,7 +43,7 @@ $(document).ready(function () {
$
(
Candy
).
on
(
'
candy:core.chat.connection
'
,
function
(
event
,
args
){
if
(
args
.
status
==
Strophe
.
Status
.
CONNECTED
){
Candy
.
Core
.
Action
.
Jabber
.
Roster
()
//
Candy.Core.getConnection().send($iq({type: 'get'}).c('vCard', {xmlns: 'vcard-temp'}).tree());
Candy
.
Core
.
getConnection
().
send
(
$iq
({
type
:
'
get
'
}).
c
(
'
vCard
'
,
{
xmlns
:
'
vcard-temp
'
}).
tree
());
}
});
...
...
app/index.html
View file @
4fa82d94
...
...
@@ -104,7 +104,6 @@
<script
src=
"lib/js/bootstrap-switch.min.js"
></script>
<script
src=
"lib/js/nw-desktop-notifications.js"
></script>
<script
src=
"lib/js/md5.js"
></script>
<script
src=
"lib/angular/angular.min.js"
></script>
<script
src=
"lib/angular/angular-route.min.js"
></script>
...
...
app/js/controllers.coffee
View file @
4fa82d94
path
=
require
'path'
fs
=
require
'fs'
child_process
=
require
'child_process'
crypto
=
require
(
'crypto'
);
mkdirp
=
require
'mkdirp'
gui
=
require
'nw.gui'
...
...
@@ -29,11 +31,8 @@ angular.module('maotama.controllers', [])
$scope
.
app
.
extra_languages
[
lang
]
=
download
$scope
.
installing
=
{};
$scope
.
$digest
();
$scope
.
add
=
(
installation
)
->
$scope
.
app
.
installation
=
path
.
dirname
installation
db
.
update
{
...
...
@@ -53,13 +52,14 @@ angular.module('maotama.controllers', [])
label
:
'正在连接'
mkdirp
path
.
join
(
process
.
cwd
(),
'cache'
),
(
err
)
->
throw
err
if
err
aria2c
=
child_process
.
spawn
'bin/aria2c'
,
[
"--dir=cache"
,
"--enable-color=false"
,
"-c"
,
$scope
.
app
.
download
.
url
]
aria2c
=
child_process
.
spawn
'bin/aria2c'
,
[
"--
check-integrity"
,
"--checksum=md5=
#{
$scope
.
app
.
download
.
checksum
}
"
,
"--
dir=cache"
,
"--enable-color=false"
,
"-c"
,
$scope
.
app
.
download
.
url
]
aria2c
.
stdout
.
setEncoding
(
'utf8'
);
aria2c
.
stderr
.
setEncoding
(
'utf8'
);
aria2c
.
stdout
.
on
'data'
,
(
data
)
->
console
.
log
data
#[#06c774 35MiB/298MiB(11%) CN:1 DL:62MiB ETA:4s]
if
matches
=
data
.
match
(
/\[(?:#\w+ )?(\w+)\/(\w+)\((\d+)%\) CN:(\d+) DL:(\w+) ETA:(\w+)\]/
)
#[#d1b179 752KiB/298MiB(0%) CN:1 DL:109KiB ETA:46m17s]
if
matches
=
data
.
match
(
/\[(?:#\w+ )?([\w\.]+)\/([\w\.]+)\((\d+)%\) CN:(\d+) DL:([\w\.]+) ETA:(\w+)\]/
)
[
d
,
downloaded
,
total
,
progress
,
connections
,
speed
,
eta
]
=
matches
$scope
.
installing
[
$scope
.
app
.
id
].
progress
=
progress
$scope
.
installing
[
$scope
.
app
.
id
].
label
=
"
#{
progress
}
%
#{
speed
}
/s"
...
...
@@ -68,14 +68,33 @@ angular.module('maotama.controllers', [])
aria2c
.
stderr
.
on
'data'
,
(
data
)
->
console
.
log
'err: '
,
data
aria2c
.
on
'close'
,
(
code
)
->
if
code
==
0
if
code
!=
0
window
.
LOCAL_NW
.
desktopNotifications
.
notify
"TODO://icon"
,
'下载失败'
,
"错误:
#{
code
}
"
delete
$scope
.
installing
[
$scope
.
app
.
id
]
$scope
.
$digest
();
else
$scope
.
installing
[
$scope
.
app
.
id
].
progress
=
100
$scope
.
installing
[
$scope
.
app
.
id
].
label
=
'正在安装'
$scope
.
$digest
();
downloaded
=
"cache/
#{
path
.
basename
(
$scope
.
app
.
download
.
url
)
}
"
;
# 二次校验,如果aria2c被强制退出了,返回码也是0
checksum
=
crypto
.
createHash
(
'md5'
);
file
=
fs
.
ReadStream
(
downloaded
);
file
.
on
'data'
,
(
d
)
->
checksum
.
update
(
d
)
file
.
on
'end'
,
()
->
if
checksum
.
digest
(
'hex'
)
!=
$scope
.
app
.
download
.
checksum
window
.
LOCAL_NW
.
desktopNotifications
.
notify
"TODO://icon"
,
'下载失败'
,
"校验错误"
delete
$scope
.
installing
[
$scope
.
app
.
id
]
$scope
.
$digest
();
else
p
=
path
.
join
"apps/
#{
$scope
.
app
.
id
}
"
mkdirp
p
,
(
err
)
->
throw
err
if
err
console
.
log
[
"x"
,
"-y"
,
"-o
#{
p
}
"
,
"cache/
#{
path
.
basename
(
$scope
.
app
.
download
.
url
)
}
"
]
console
.
log
[
"x"
,
"-y"
,
"-o
#{
p
}
"
,
downloaded
]
console
.
log
p7zip
=
child_process
.
spawn
'bin/7za'
,
[
"x"
,
"-y"
,
"-o
#{
p
}
"
,
"cache/
#{
path
.
basename
(
$scope
.
app
.
download
.
url
)
}
"
]
p7zip
.
stdout
.
setEncoding
(
'utf8'
);
p7zip
.
stderr
.
setEncoding
(
'utf8'
);
...
...
@@ -84,14 +103,17 @@ angular.module('maotama.controllers', [])
p7zip
.
stderr
.
on
'data'
,
(
data
)
->
console
.
log
'err: '
,
data
p7zip
.
on
'close'
,
(
code
)
->
console
.
log
code
if
code
==
0
if
code
!=
0
window
.
LOCAL_NW
.
desktopNotifications
.
notify
"TODO://icon"
,
'安装失败'
,
"错误:
#{
code
}
"
delete
$scope
.
installing
[
$scope
.
app
.
id
]
$scope
.
add
path
.
join
(
p
,
$scope
.
app
.
main
)
else
throw
"安装失败:
#{
code
}
"
$scope
.
$digest
();
else
throw
"下载失败:
#{
code
}
"
$scope
.
add
path
.
join
(
p
,
$scope
.
app
.
main
)
delete
$scope
.
installing
[
$scope
.
app
.
id
]
$scope
.
$digest
();
$scope
.
run
=
()
->
console
.
log
$scope
.
app
...
...
@@ -121,14 +143,16 @@ if false #for debug
nyanpass nyanpass"
"download"
:
{
"url"
:
"http://test2.my-card.in/downloads/maotama/th135_1.33.7z"
"size"
:
313177239
"size"
:
313177031
"checksum"
:
"ab3c7f4646e080fb88959978865ebf24"
}
"main"
:
'th135.exe'
"languages"
:
{
"ja-JP"
:
true
"zh-CN"
:
{
url
:
"http://test2.my-card.in/downloads/maotama/th135_lang_zh-CN_1.33.7z"
size
:
74751963
size
:
74749190
checksum
:
"49111c67d941e30384251a2026ba67ba"
}
}
},{
...
...
@@ -142,7 +166,8 @@ if false #for debug
"summary"
:
""
,
"download"
:
{
url
:
"http://test2.my-card.in/downloads/maotama/th123_1.10a.7z"
"size"
:
313177239
"size"
:
250272482
"checksum"
:
"027a358a7ac014f725ebb8659f1caa6f"
},
"main"
:
'th123.exe'
"languages"
:
{
...
...
app/js/controllers.js
View file @
4fa82d94
// Generated by CoffeeScript 1.7.1
(
function
()
{
var
Datastore
,
child_process
,
db
,
gui
,
mkdirp
,
path
;
var
Datastore
,
child_process
,
crypto
,
db
,
fs
,
gui
,
mkdirp
,
path
;
path
=
require
(
'
path
'
);
fs
=
require
(
'
fs
'
);
child_process
=
require
(
'
child_process
'
);
crypto
=
require
(
'
crypto
'
);
mkdirp
=
require
(
'
mkdirp
'
);
gui
=
require
(
'
nw.gui
'
);
...
...
@@ -78,13 +82,13 @@
if
(
err
)
{
throw
err
;
}
aria2c
=
child_process
.
spawn
(
'
bin/aria2c
'
,
[
"
--dir=cache
"
,
"
--enable-color=false
"
,
"
-c
"
,
$scope
.
app
.
download
.
url
]);
aria2c
=
child_process
.
spawn
(
'
bin/aria2c
'
,
[
"
--
check-integrity
"
,
"
--checksum=md5=
"
+
$scope
.
app
.
download
.
checksum
,
"
--
dir=cache
"
,
"
--enable-color=false
"
,
"
-c
"
,
$scope
.
app
.
download
.
url
]);
aria2c
.
stdout
.
setEncoding
(
'
utf8
'
);
aria2c
.
stderr
.
setEncoding
(
'
utf8
'
);
aria2c
.
stdout
.
on
(
'
data
'
,
function
(
data
)
{
var
connections
,
d
,
downloaded
,
eta
,
matches
,
progress
,
speed
,
total
;
console
.
log
(
data
);
if
(
matches
=
data
.
match
(
/
\[(?:
#
\w
+
)?(
\w
+
)\/(\w
+
)\((\d
+
)
%
\)
CN:
(\d
+
)
DL:
(\w
+
)
ETA:
(\w
+
)\]
/
))
{
if
(
matches
=
data
.
match
(
/
\[(?:
#
\w
+
)?(
[\w\.]
+
)\/([\w\.]
+
)\((\d
+
)
%
\)
CN:
(\d
+
)
DL:
([\w\.]
+
)
ETA:
(\w
+
)\]
/
))
{
d
=
matches
[
0
],
downloaded
=
matches
[
1
],
total
=
matches
[
2
],
progress
=
matches
[
3
],
connections
=
matches
[
4
],
speed
=
matches
[
5
],
eta
=
matches
[
6
];
$scope
.
installing
[
$scope
.
app
.
id
].
progress
=
progress
;
$scope
.
installing
[
$scope
.
app
.
id
].
label
=
""
+
progress
+
"
%
"
+
speed
+
"
/s
"
;
...
...
@@ -95,18 +99,35 @@
return
console
.
log
(
'
err:
'
,
data
);
});
return
aria2c
.
on
(
'
close
'
,
function
(
code
)
{
var
p
;
if
(
code
===
0
)
{
var
checksum
,
downloaded
,
file
;
if
(
code
!==
0
)
{
window
.
LOCAL_NW
.
desktopNotifications
.
notify
(
"
TODO://icon
"
,
'
下载失败
'
,
"
错误:
"
+
code
);
delete
$scope
.
installing
[
$scope
.
app
.
id
];
return
$scope
.
$digest
();
}
else
{
$scope
.
installing
[
$scope
.
app
.
id
].
progress
=
100
;
$scope
.
installing
[
$scope
.
app
.
id
].
label
=
'
正在安装
'
;
$scope
.
$digest
();
downloaded
=
"
cache/
"
+
(
path
.
basename
(
$scope
.
app
.
download
.
url
));
checksum
=
crypto
.
createHash
(
'
md5
'
);
file
=
fs
.
ReadStream
(
downloaded
);
file
.
on
(
'
data
'
,
function
(
d
)
{
return
checksum
.
update
(
d
);
});
return
file
.
on
(
'
end
'
,
function
()
{
var
p
;
if
(
checksum
.
digest
(
'
hex
'
)
!==
$scope
.
app
.
download
.
checksum
)
{
window
.
LOCAL_NW
.
desktopNotifications
.
notify
(
"
TODO://icon
"
,
'
下载失败
'
,
"
校验错误
"
);
delete
$scope
.
installing
[
$scope
.
app
.
id
];
return
$scope
.
$digest
();
}
else
{
p
=
path
.
join
(
"
apps/
"
+
$scope
.
app
.
id
);
return
mkdirp
(
p
,
function
(
err
)
{
var
p7zip
;
if
(
err
)
{
throw
err
;
}
console
.
log
([
"
x
"
,
"
-y
"
,
"
-o
"
+
p
,
"
cache/
"
+
(
path
.
basename
(
$scope
.
app
.
download
.
url
))
]);
console
.
log
([
"
x
"
,
"
-y
"
,
"
-o
"
+
p
,
downloaded
]);
console
.
log
(
p7zip
=
child_process
.
spawn
(
'
bin/7za
'
,
[
"
x
"
,
"
-y
"
,
"
-o
"
+
p
,
"
cache/
"
+
(
path
.
basename
(
$scope
.
app
.
download
.
url
))]));
p7zip
.
stdout
.
setEncoding
(
'
utf8
'
);
p7zip
.
stderr
.
setEncoding
(
'
utf8
'
);
...
...
@@ -117,17 +138,19 @@
return
console
.
log
(
'
err:
'
,
data
);
});
return
p7zip
.
on
(
'
close
'
,
function
(
code
)
{
console
.
log
(
code
);
if
(
code
===
0
)
{
if
(
code
!==
0
)
{
window
.
LOCAL_NW
.
desktopNotifications
.
notify
(
"
TODO://icon
"
,
'
安装失败
'
,
"
错误:
"
+
code
);
delete
$scope
.
installing
[
$scope
.
app
.
id
];
return
$scope
.
add
(
path
.
join
(
p
,
$scope
.
app
.
main
)
);
return
$scope
.
$digest
(
);
}
else
{
throw
"
安装失败:
"
+
code
;
$scope
.
add
(
path
.
join
(
p
,
$scope
.
app
.
main
));
delete
$scope
.
installing
[
$scope
.
app
.
id
];
return
$scope
.
$digest
();
}
});
});
}
else
{
throw
"
下载失败:
"
+
code
;
}
})
;
}
});
});
...
...
@@ -168,14 +191,16 @@
"
summary
"
:
"
喵喵喵喵喵帕斯 nyanpass nyanpass
"
,
"
download
"
:
{
"
url
"
:
"
http://test2.my-card.in/downloads/maotama/th135_1.33.7z
"
,
"
size
"
:
313177239
"
size
"
:
313177031
,
"
checksum
"
:
"
ab3c7f4646e080fb88959978865ebf24
"
},
"
main
"
:
'
th135.exe
'
,
"
languages
"
:
{
"
ja-JP
"
:
true
,
"
zh-CN
"
:
{
url
:
"
http://test2.my-card.in/downloads/maotama/th135_lang_zh-CN_1.33.7z
"
,
size
:
74751963
size
:
74749190
,
checksum
:
"
49111c67d941e30384251a2026ba67ba
"
}
}
},
{
...
...
@@ -189,7 +214,8 @@
"
summary
"
:
""
,
"
download
"
:
{
url
:
"
http://test2.my-card.in/downloads/maotama/th123_1.10a.7z
"
,
"
size
"
:
313177239
"
size
"
:
250272482
,
"
checksum
"
:
"
027a358a7ac014f725ebb8659f1caa6f
"
},
"
main
"
:
'
th123.exe
'
,
"
languages
"
:
{
...
...
app/js/controllers.map
View file @
4fa82d94
...
...
@@ -6,5 +6,5 @@
"controllers.coffee"
],
"names": [],
"mappings": ";AAAA;AAAA,MAAA,
+CAAA;;AAAA,EAAA,IAAA,GAAO,OAAA,CAAQ,MAAR,CAAP,CAAA;;AAAA,EACA,aAAA,GAAgB,OAAA,CAAQ,eAAR,CADhB,CAAA;;AAAA,EAGA,MAAA,GAAS,OAAA,CAAQ,QAAR,CAHT,CAAA;;AAAA,EAIA,GAAA,GAAM,OAAA,CAAQ,QAAR,CAJN,CAAA;;AAAA,EAKA,SAAA,GAAY,OAAA,CAAQ,SAAR,CALZ,CAAA;;AAAA,EAMA,EAAA,GAAS,IAAA,SAAA,CAAU;AAAA,IAAE,QAAA,EAAU,IAAI,CAAC,IAAL,CAAU,GAAG,CAAC,GAAG,CAAC,QAAlB,EAA4B,SAA5B,CAAZ;AAAA,IAAoD,QAAA,EAAU,IAA9D;GAAV,CANT,CAAA;;AAAA,EAQA,OAAO,CAAC,MAAR,CAAe,qBAAf,EAAsC,EAAtC,CAEA,CAAC,UAFD,CAEY,oBAFZ,EAEkC,SAAC,MAAD,GAAA;WAC9B,EAAE,CAAC,IAAH,CAAQ,EAAR,EAAY,CAAA,SAAA,KAAA,GAAA;aAAA,SAAC,GAAD,EAAM,IAAN,GAAA;AACV,QAAA,IAAa,GAAb;AAAA,gBAAM,GAAN,CAAA;SAAA;AAAA,QACA,MAAM,CAAC,IAAP,GAAc,IADd,CAAA;eAEA,MAAM,CAAC,OAAP,CAAA,EAHU;MAAA,EAAA;IAAA,CAAA,CAAA,CAAA,IAAA,CAAZ,EAD8B;EAAA,CAFlC,CAQA,CAAC,UARD,CAQY,oBARZ,EAQkC;IAAC,QAAD,EAAW,cAAX,EAA2B,SAAC,MAAD,EAAS,YAAT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,EAAS,IADE;AAAA,YAEX,OAAA,EAAS;AAAA,cACP,GAAA,EAAK,oEADE;AAAA,cAEP,IAAA,EAAM,QAFC;AAAA,cAGP,QAAA,EAAU,kCAHH;aAFE;WAjBJ;SAAD,EAyBR;AAAA,UACA,IAAA,EAAK,OADL;AAAA,UAEA,UAAA,EAAW,MAFX;AAAA,UAGA,MAAA,EAAO,QAHP;AAAA,UAIA,SAAA,EAAU;AAAA,YACR,OAAA,EAAQ,KADA;AAAA,YAER,MAAA,EAAO,KAFC;WAJV;AAAA,UAQA,SAAA,EAAU,EARV;AAAA,UASA,UAAA,EAAY;AAAA,YACV,GAAA,EAAK,0DADK;AAAA,YAEV,MAAA,EAAQ,SAFE;AAAA,YAGV,UAAA,EAAY,kCAHF;WATZ;AAAA,UAcA,MAAA,EAAQ,WAdR;AAAA,UAeA,WAAA,EAAa;AAAA,YACX,OAAA,EAAS,IADE;WAfb;SAzBQ;OAAV,EA4CI,SAAC,GAAD,EAAM,OAAN,GAAA;AACF,QAAA,IAAa,GAAb;AAAA,gBAAM,GAAN,CAAA;SAAA;eACA,OAAO,CAAC,GAAR,CAAY,OAAZ,EAFE;MAAA,CA5CJ,EAF6B;IAAA,CAA/B,CAAA,CADF;GAjI
A;AAAA"
}
\ No newline at end of file
app/js/maotama.coffee
View file @
4fa82d94
path
=
require
'path'
crypto
=
require
'crypto'
gui
=
require
'nw.gui'
...
...
@@ -51,7 +52,7 @@ pre_load_photo = (jid, name, domain)->
when
'public.talk.google.com'
'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='
else
hash
=
CryptoJS
.
MD5
(
jid
);
hash
=
crypto
.
createHash
(
'md5'
).
update
(
jid
).
digest
(
'hex'
)
"http://en.gravatar.com/avatar/
#{
hash
}
?s=48&d=404"
#聊天
...
...
app/js/maotama.js
View file @
4fa82d94
// Generated by CoffeeScript 1.7.1
(
function
()
{
var
gui
,
path
,
pre_load_photo
,
tunnel
,
win
;
var
crypto
,
gui
,
path
,
pre_load_photo
,
tunnel
,
win
;
path
=
require
(
'
path
'
);
crypto
=
require
(
'
crypto
'
);
gui
=
require
(
'
nw.gui
'
);
win
=
gui
.
Window
.
get
();
...
...
@@ -77,7 +79,7 @@
case
'
public.talk.google.com
'
:
return
'
data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
'
;
default
:
hash
=
CryptoJS
.
MD5
(
jid
);
hash
=
crypto
.
createHash
(
'
md5
'
).
update
(
jid
).
digest
(
'
hex
'
);
return
"
http://en.gravatar.com/avatar/
"
+
hash
+
"
?s=48&d=404
"
;
}
};
...
...
app/js/maotama.map
View file @
4fa82d94
...
...
@@ -6,5 +6,5 @@
"maotama.coffee"
],
"names": [],
"mappings": ";AAAA;AAAA,MAAA,
sCAAA;;AAAA,EAAA,IAAA,GAAO,OAAA,CAAQ,MAAR,CAAP,CAAA;;AAAA,EAEA,GAAA,GAAM,OAAA,CAAQ,QAAR,CAFN,CAAA;;AAAA,EAIA,GAAA,GAAM,GAAG,CAAC,MAAM,CAAC,GAAX,CAAA,CAJN,CAAA;;AAAA,EAKA,GAAG,CAAC,YAAJ,CAAA,CALA,CAAA;;AAAA,EAOA,CAAA,CAAE,0BAAF,CAA6B,CAAC,KAA9B,CAAoC,SAAA,GAAA;WAClC,GAAG,CAAC,QAAJ,CAAA,EADkC;EAAA,CAApC,CAPA,CAAA;;AAAA,EASA,CAAA,CAAE,0BAAF,CAA6B,CAAC,KAA9B,CAAoC,SAAA,GAAA;WAClC,GAAG,CAAC,QAAJ,CAAA,EADkC;EAAA,CAApC,CATA,CAAA;;AAAA,EAWA,CAAA,CAAE,4BAAF,CAA+B,CAAC,KAAhC,CAAsC,SAAA,GAAA;WACpC,GAAG,CAAC,UAAJ,CAAA,EADoC;EAAA,CAAtC,CAXA,CAAA;;AAAA,EAaA,CAAA,CAAE,uBAAF,CAA0B,CAAC,KAA3B,CAAiC,SAAA,GAAA;WA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A4C,IAA5C,EAAiD,IAAjD,EAAsD,IAAtD,EAA2D,EAAA,GAAE,QAAF,GAAY,eAAvE,EA5BJ;AAAA;AA8BI,YAAA,UAAA,GAAa,MAAM,CAAC,IAAP,CAAY,sCAAZ,CAAmD,CAAC,IAApD,CAAA,CAAb,CAAA;AACA,YAAA,IAAG,kBAAH;AACE,cAAA,KAAA,GAAQ,CAAA,CAAE,QAAF,CAAY,CAAA,CAAA,CAApB,CAAA;AAAA,cACA,KAAK,CAAC,aAAa,CAAC,WAApB,CAAgC;AAAA,gBAAA,IAAA,EAAM,OAAN;AAAA,gBAAe,GAAA,EAAK,QAApB;eAAhC,EAA8D,KAAK,CAAC,GAApE,CADA,CADF;aADA;AAAA,YAKA,IAAA,GAAO,IAAA,IAAQ,WALf,CAAA;AAAA,YAMA,IAAA,GAAO,MAAM,CAAC,IAAP,CAAY,MAAZ,CAAoB,CAAA,CAAA,CAN3B,CAAA;AAOA,YAAA,IAA4B,IAA5B;AAAA,cAAA,IAAA,GAAO,IAAI,CAAC,WAAZ,CAAA;aAPA;AAAA,YAQA,MAAA,GAAS,MAAM,CAAC,IAAP,CAAY,QAAZ,CAAsB,CAAA,CAAA,CAR/B,CAAA;AASA,YAAA,IAAqC,MAArC;AAAA,cAAA,IAAA,IAAQ,GAAA,GAAM,MAAM,CAAC,WAArB,CAAA;aATA;mBAWA,CAAA,CAAG,mBAAA,GAAkB,QAAlB,GAA4B,KAA/B,CAAoC,CAAC,IAArC,CAA0C,oBAA1C,EAAgE,IAAA,IAAQ,WAAxE,EAzCJ;AAAA,SAzCJ;AAAA,KAHiC;EAAA,CAAnC,CA7
DA,CAAA;AAAA"
}
\ No newline at end of file
app/lib/js/md5.js
deleted
100644 → 0
View file @
e3b41404
/*
CryptoJS v3.1.2
code.google.com/p/crypto-js
(c) 2009-2013 by Jeff Mott. All rights reserved.
code.google.com/p/crypto-js/wiki/License
*/
var
CryptoJS
=
CryptoJS
||
function
(
s
,
p
){
var
m
=
{},
l
=
m
.
lib
=
{},
n
=
function
(){},
r
=
l
.
Base
=
{
extend
:
function
(
b
){
n
.
prototype
=
this
;
var
h
=
new
n
;
b
&&
h
.
mixIn
(
b
);
h
.
hasOwnProperty
(
"
init
"
)
||
(
h
.
init
=
function
(){
h
.
$super
.
init
.
apply
(
this
,
arguments
)});
h
.
init
.
prototype
=
h
;
h
.
$super
=
this
;
return
h
},
create
:
function
(){
var
b
=
this
.
extend
();
b
.
init
.
apply
(
b
,
arguments
);
return
b
},
init
:
function
(){},
mixIn
:
function
(
b
){
for
(
var
h
in
b
)
b
.
hasOwnProperty
(
h
)
&&
(
this
[
h
]
=
b
[
h
]);
b
.
hasOwnProperty
(
"
toString
"
)
&&
(
this
.
toString
=
b
.
toString
)},
clone
:
function
(){
return
this
.
init
.
prototype
.
extend
(
this
)}},
q
=
l
.
WordArray
=
r
.
extend
({
init
:
function
(
b
,
h
){
b
=
this
.
words
=
b
||
[];
this
.
sigBytes
=
h
!=
p
?
h
:
4
*
b
.
length
},
toString
:
function
(
b
){
return
(
b
||
t
).
stringify
(
this
)},
concat
:
function
(
b
){
var
h
=
this
.
words
,
a
=
b
.
words
,
j
=
this
.
sigBytes
;
b
=
b
.
sigBytes
;
this
.
clamp
();
if
(
j
%
4
)
for
(
var
g
=
0
;
g
<
b
;
g
++
)
h
[
j
+
g
>>>
2
]
|=
(
a
[
g
>>>
2
]
>>>
24
-
8
*
(
g
%
4
)
&
255
)
<<
24
-
8
*
((
j
+
g
)
%
4
);
else
if
(
65535
<
a
.
length
)
for
(
g
=
0
;
g
<
b
;
g
+=
4
)
h
[
j
+
g
>>>
2
]
=
a
[
g
>>>
2
];
else
h
.
push
.
apply
(
h
,
a
);
this
.
sigBytes
+=
b
;
return
this
},
clamp
:
function
(){
var
b
=
this
.
words
,
h
=
this
.
sigBytes
;
b
[
h
>>>
2
]
&=
4294967295
<<
32
-
8
*
(
h
%
4
);
b
.
length
=
s
.
ceil
(
h
/
4
)},
clone
:
function
(){
var
b
=
r
.
clone
.
call
(
this
);
b
.
words
=
this
.
words
.
slice
(
0
);
return
b
},
random
:
function
(
b
){
for
(
var
h
=
[],
a
=
0
;
a
<
b
;
a
+=
4
)
h
.
push
(
4294967296
*
s
.
random
()
|
0
);
return
new
q
.
init
(
h
,
b
)}}),
v
=
m
.
enc
=
{},
t
=
v
.
Hex
=
{
stringify
:
function
(
b
){
var
a
=
b
.
words
;
b
=
b
.
sigBytes
;
for
(
var
g
=
[],
j
=
0
;
j
<
b
;
j
++
){
var
k
=
a
[
j
>>>
2
]
>>>
24
-
8
*
(
j
%
4
)
&
255
;
g
.
push
((
k
>>>
4
).
toString
(
16
));
g
.
push
((
k
&
15
).
toString
(
16
))}
return
g
.
join
(
""
)},
parse
:
function
(
b
){
for
(
var
a
=
b
.
length
,
g
=
[],
j
=
0
;
j
<
a
;
j
+=
2
)
g
[
j
>>>
3
]
|=
parseInt
(
b
.
substr
(
j
,
2
),
16
)
<<
24
-
4
*
(
j
%
8
);
return
new
q
.
init
(
g
,
a
/
2
)}},
a
=
v
.
Latin1
=
{
stringify
:
function
(
b
){
var
a
=
b
.
words
;
b
=
b
.
sigBytes
;
for
(
var
g
=
[],
j
=
0
;
j
<
b
;
j
++
)
g
.
push
(
String
.
fromCharCode
(
a
[
j
>>>
2
]
>>>
24
-
8
*
(
j
%
4
)
&
255
));
return
g
.
join
(
""
)},
parse
:
function
(
b
){
for
(
var
a
=
b
.
length
,
g
=
[],
j
=
0
;
j
<
a
;
j
++
)
g
[
j
>>>
2
]
|=
(
b
.
charCodeAt
(
j
)
&
255
)
<<
24
-
8
*
(
j
%
4
);
return
new
q
.
init
(
g
,
a
)}},
u
=
v
.
Utf8
=
{
stringify
:
function
(
b
){
try
{
return
decodeURIComponent
(
escape
(
a
.
stringify
(
b
)))}
catch
(
g
){
throw
Error
(
"
Malformed UTF-8 data
"
);}},
parse
:
function
(
b
){
return
a
.
parse
(
unescape
(
encodeURIComponent
(
b
)))}},
g
=
l
.
BufferedBlockAlgorithm
=
r
.
extend
({
reset
:
function
(){
this
.
_data
=
new
q
.
init
;
this
.
_nDataBytes
=
0
},
_append
:
function
(
b
){
"
string
"
==
typeof
b
&&
(
b
=
u
.
parse
(
b
));
this
.
_data
.
concat
(
b
);
this
.
_nDataBytes
+=
b
.
sigBytes
},
_process
:
function
(
b
){
var
a
=
this
.
_data
,
g
=
a
.
words
,
j
=
a
.
sigBytes
,
k
=
this
.
blockSize
,
m
=
j
/
(
4
*
k
),
m
=
b
?
s
.
ceil
(
m
):
s
.
max
((
m
|
0
)
-
this
.
_minBufferSize
,
0
);
b
=
m
*
k
;
j
=
s
.
min
(
4
*
b
,
j
);
if
(
b
){
for
(
var
l
=
0
;
l
<
b
;
l
+=
k
)
this
.
_doProcessBlock
(
g
,
l
);
l
=
g
.
splice
(
0
,
b
);
a
.
sigBytes
-=
j
}
return
new
q
.
init
(
l
,
j
)},
clone
:
function
(){
var
b
=
r
.
clone
.
call
(
this
);
b
.
_data
=
this
.
_data
.
clone
();
return
b
},
_minBufferSize
:
0
});
l
.
Hasher
=
g
.
extend
({
cfg
:
r
.
extend
(),
init
:
function
(
b
){
this
.
cfg
=
this
.
cfg
.
extend
(
b
);
this
.
reset
()},
reset
:
function
(){
g
.
reset
.
call
(
this
);
this
.
_doReset
()},
update
:
function
(
b
){
this
.
_append
(
b
);
this
.
_process
();
return
this
},
finalize
:
function
(
b
){
b
&&
this
.
_append
(
b
);
return
this
.
_doFinalize
()},
blockSize
:
16
,
_createHelper
:
function
(
b
){
return
function
(
a
,
g
){
return
(
new
b
.
init
(
g
)).
finalize
(
a
)}},
_createHmacHelper
:
function
(
b
){
return
function
(
a
,
g
){
return
(
new
k
.
HMAC
.
init
(
b
,
g
)).
finalize
(
a
)}}});
var
k
=
m
.
algo
=
{};
return
m
}(
Math
);
(
function
(
s
){
function
p
(
a
,
k
,
b
,
h
,
l
,
j
,
m
){
a
=
a
+
(
k
&
b
|~
k
&
h
)
+
l
+
m
;
return
(
a
<<
j
|
a
>>>
32
-
j
)
+
k
}
function
m
(
a
,
k
,
b
,
h
,
l
,
j
,
m
){
a
=
a
+
(
k
&
h
|
b
&~
h
)
+
l
+
m
;
return
(
a
<<
j
|
a
>>>
32
-
j
)
+
k
}
function
l
(
a
,
k
,
b
,
h
,
l
,
j
,
m
){
a
=
a
+
(
k
^
b
^
h
)
+
l
+
m
;
return
(
a
<<
j
|
a
>>>
32
-
j
)
+
k
}
function
n
(
a
,
k
,
b
,
h
,
l
,
j
,
m
){
a
=
a
+
(
b
^
(
k
|~
h
))
+
l
+
m
;
return
(
a
<<
j
|
a
>>>
32
-
j
)
+
k
}
for
(
var
r
=
CryptoJS
,
q
=
r
.
lib
,
v
=
q
.
WordArray
,
t
=
q
.
Hasher
,
q
=
r
.
algo
,
a
=
[],
u
=
0
;
64
>
u
;
u
++
)
a
[
u
]
=
4294967296
*
s
.
abs
(
s
.
sin
(
u
+
1
))
|
0
;
q
=
q
.
MD5
=
t
.
extend
({
_doReset
:
function
(){
this
.
_hash
=
new
v
.
init
([
1732584193
,
4023233417
,
2562383102
,
271733878
])},
_doProcessBlock
:
function
(
g
,
k
){
for
(
var
b
=
0
;
16
>
b
;
b
++
){
var
h
=
k
+
b
,
w
=
g
[
h
];
g
[
h
]
=
(
w
<<
8
|
w
>>>
24
)
&
16711935
|
(
w
<<
24
|
w
>>>
8
)
&
4278255360
}
var
b
=
this
.
_hash
.
words
,
h
=
g
[
k
+
0
],
w
=
g
[
k
+
1
],
j
=
g
[
k
+
2
],
q
=
g
[
k
+
3
],
r
=
g
[
k
+
4
],
s
=
g
[
k
+
5
],
t
=
g
[
k
+
6
],
u
=
g
[
k
+
7
],
v
=
g
[
k
+
8
],
x
=
g
[
k
+
9
],
y
=
g
[
k
+
10
],
z
=
g
[
k
+
11
],
A
=
g
[
k
+
12
],
B
=
g
[
k
+
13
],
C
=
g
[
k
+
14
],
D
=
g
[
k
+
15
],
c
=
b
[
0
],
d
=
b
[
1
],
e
=
b
[
2
],
f
=
b
[
3
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
]),
e
=
n
(
e
,
f
,
c
,
d
,
C
,
15
,
a
[
50
]),
d
=
n
(
d
,
e
,
f
,
c
,
s
,
21
,
a
[
51
]),
c
=
n
(
c
,
d
,
e
,
f
,
A
,
6
,
a
[
52
]),
f
=
n
(
f
,
c
,
d
,
e
,
q
,
10
,
a
[
53
]),
e
=
n
(
e
,
f
,
c
,
d
,
y
,
15
,
a
[
54
]),
d
=
n
(
d
,
e
,
f
,
c
,
w
,
21
,
a
[
55
]),
c
=
n
(
c
,
d
,
e
,
f
,
v
,
6
,
a
[
56
]),
f
=
n
(
f
,
c
,
d
,
e
,
D
,
10
,
a
[
57
]),
e
=
n
(
e
,
f
,
c
,
d
,
t
,
15
,
a
[
58
]),
d
=
n
(
d
,
e
,
f
,
c
,
B
,
21
,
a
[
59
]),
c
=
n
(
c
,
d
,
e
,
f
,
r
,
6
,
a
[
60
]),
f
=
n
(
f
,
c
,
d
,
e
,
z
,
10
,
a
[
61
]),
e
=
n
(
e
,
f
,
c
,
d
,
j
,
15
,
a
[
62
]),
d
=
n
(
d
,
e
,
f
,
c
,
x
,
21
,
a
[
63
]);
b
[
0
]
=
b
[
0
]
+
c
|
0
;
b
[
1
]
=
b
[
1
]
+
d
|
0
;
b
[
2
]
=
b
[
2
]
+
e
|
0
;
b
[
3
]
=
b
[
3
]
+
f
|
0
},
_doFinalize
:
function
(){
var
a
=
this
.
_data
,
k
=
a
.
words
,
b
=
8
*
this
.
_nDataBytes
,
h
=
8
*
a
.
sigBytes
;
k
[
h
>>>
5
]
|=
128
<<
24
-
h
%
32
;
var
l
=
s
.
floor
(
b
/
4294967296
);
k
[(
h
+
64
>>>
9
<<
4
)
+
15
]
=
(
l
<<
8
|
l
>>>
24
)
&
16711935
|
(
l
<<
24
|
l
>>>
8
)
&
4278255360
;
k
[(
h
+
64
>>>
9
<<
4
)
+
14
]
=
(
b
<<
8
|
b
>>>
24
)
&
16711935
|
(
b
<<
24
|
b
>>>
8
)
&
4278255360
;
a
.
sigBytes
=
4
*
(
k
.
length
+
1
);
this
.
_process
();
a
=
this
.
_hash
;
k
=
a
.
words
;
for
(
b
=
0
;
4
>
b
;
b
++
)
h
=
k
[
b
],
k
[
b
]
=
(
h
<<
8
|
h
>>>
24
)
&
16711935
|
(
h
<<
24
|
h
>>>
8
)
&
4278255360
;
return
a
},
clone
:
function
(){
var
a
=
t
.
clone
.
call
(
this
);
a
.
_hash
=
this
.
_hash
.
clone
();
return
a
}});
r
.
MD5
=
t
.
_createHelper
(
q
);
r
.
HmacMD5
=
t
.
_createHmacHelper
(
q
)})(
Math
);
app/lib/js/nw-desktop-notifications.js
View file @
4fa82d94
...
...
@@ -14,7 +14,7 @@
function
makeNewNotifyWindow
(){
var
win
=
gui
.
Window
.
open
(
'
nw-desktop-notifications.html
'
,
{
'
file:///
'
+
process
.
cwd
()
+
'
/app/nw-desktop-notifications.html
'
,
{
//modified by zh. 不知道为什么,默认的不能用
frame
:
false
,
toolbar
:
false
,
width
:
WINDOW_WIDTH
,
...
...
@@ -28,7 +28,7 @@
win
.
on
(
'
loaded
'
,
function
(){
window
.
LOCAL_NW
.
DesktopNotificationsWindowIsLoaded
=
true
;
$
(
win
.
window
.
document
.
body
).
find
(
'
#closer
'
).
click
(
function
(){
slideOutNotificationWindow
();
slideOutNotificationWindow
(
closeAnyOpenNotificationWindows
);
});
});
}
...
...
app/nw-desktop-notifications.html
View file @
4fa82d94
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<title>
Desktop Notification
</title>
<script
src=
"js/jquery-2.1.0.min.js"
></script>
<script
src=
"
lib/
js/jquery-2.1.0.min.js"
></script>
<style
type=
"text/css"
>
body
{
font-family
:
Helvetica
,
Arial
,
sans-serif
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment