Skip to content

Commit

Permalink
v1.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
peter authored and peter committed Mar 30, 2018
1 parent af67baf commit 031bf3c
Show file tree
Hide file tree
Showing 32 changed files with 77 additions and 191 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) CANADA QTGate systems Inc. 2017
Copyright (c) 2018 CoNET Technology Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@

- **CoMail** - Mail client on CoNET allows user keep their anonymous to access mailbox, send and receive encrypted email, it support IMAP and SMTP protocol.

- **CoNewsRoom** -

- **Co for Twitter** - Twitter client allowing user access Twitter keep anonymous, user reach Twitter who may live in a area that restricted access to Twitter.

- **Co for Google** - Google search client allowing user access Google search keep anonymous user reach Google search who may live in a area that restricted access to Twitter.
Expand All @@ -54,7 +56,7 @@ This bate version have not support UDP proxy

## License 版權

Copyright (c) QTGate Systems Inc. All rights reserved.
Copyright (c) 2018 CoNET Technology Inc. All rights reserved.

Licensed under the [MIT](LICENSE) License.

Expand Down
3 changes: 1 addition & 2 deletions app/ImapConnect.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
3 changes: 1 addition & 2 deletions app/compress.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
3 changes: 1 addition & 2 deletions app/gateway.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
3 changes: 1 addition & 2 deletions app/httpProxy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
19 changes: 9 additions & 10 deletions app/imap.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"use strict";
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down Expand Up @@ -131,13 +130,13 @@ class ImapServerSwitchStream extends Stream.Transform {
if (this._login) {
switch (commandLine[0]) {
case '+': ///// +
case '*': {
case '*': { ///// *
return this.commandProcess(commandLine, cmdArray, _next, callback);
}
case 'I': // IDLE
case 'D': // NODE
case 'N': // NOOP
case 'A': {
case 'A': { ///// A
timers_1.clearTimeout(this.appendWaitResponsrTimeOut);
timers_1.clearTimeout(this.idleResponsrTime);
if (this.Tag !== cmdArray[0]) {
Expand Down Expand Up @@ -257,7 +256,7 @@ class ImapServerSwitchStream extends Stream.Transform {
};
this.commandProcess = (text, cmdArray, next, callback) => {
switch (cmdArray[0]) {
case '*': {
case '*': { ///// *
// check imap server is login ok
if (/^CAPABILITY$/i.test(cmdArray[1]) && cmdArray.length > 2) {
const kkk = cmdArray.slice(2).join(' ');
Expand Down Expand Up @@ -428,7 +427,7 @@ class ImapServerSwitchStream extends Stream.Transform {
}
};
switch (cmdArray[0]) {
case '*': {
case '*': { ///// *
// check imap server is login ok
if (/^ok$/i.test(cmdArray[1]) && this.first) {
this.first = false;
Expand Down Expand Up @@ -1760,7 +1759,7 @@ class streamImap extends Stream.Transform {
};
this.commandProcess = (text, cmdArray, next, callback) => {
switch (cmdArray[0]) {
case '*': {
case '*': { ///// *
// check imap server is login ok
if (/^CAPABILITY$/i.test(cmdArray[1]) && cmdArray.length > 2) {
const kkk = cmdArray.slice(2).join(' ');
Expand Down Expand Up @@ -1798,7 +1797,7 @@ class streamImap extends Stream.Transform {
}
};
switch (cmdArray[0]) {
case '*': {
case '*': { ///// *
// check imap server is login ok
if (/^ok$/i.test(cmdArray[1]) && this.first) {
this.first = false;
Expand Down Expand Up @@ -2041,13 +2040,13 @@ class streamImap extends Stream.Transform {
if (this._login) {
switch (commandLine[0]) {
case '+': ///// +
case '*': {
case '*': { ///// *
return this.commandProcess(commandLine, cmdArray, _next, callback);
}
case 'I': // IDLE
case 'D': // NODE
case 'N': // NOOP
case 'A': {
case 'A': { ///// A
if (this.Tag !== cmdArray[0]) {
return this.serverCommandError(new Error(`this.Tag[${this.Tag}] !== cmdArray[0] [${cmdArray[0]}]\ncommandLine[${commandLine}]`), callback);
}
Expand Down
3 changes: 1 addition & 2 deletions app/imap.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
3 changes: 1 addition & 2 deletions app/imapClass.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
3 changes: 1 addition & 2 deletions app/localServer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
3 changes: 1 addition & 2 deletions app/newKeyPair.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
3 changes: 1 addition & 2 deletions app/proxyServer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
Binary file added app/public/images/CoBox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/images/CoGate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/images/CoMsg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/images/coMail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 7 additions & 41 deletions app/public/scripts/home.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down Expand Up @@ -2562,34 +2561,34 @@ var view_layout;
})(view_layout || (view_layout = {}));
const appList = [
{
name: 'QTGate',
name: 'CoGate',
likeCount: ko.observable(0),
liked: ko.observable(false),
commentCount: ko.observable(),
titleColor: '#0066cc',
comeSoon: false,
show: true,
click: (view) => { return view.QTGateAppClick(); },
image: '/images/qtgateGateway.png'
image: '/images/CoGate.png'
}, {
name: 'QTChat',
name: 'CoMsg',
likeCount: ko.observable(0),
liked: ko.observable(false),
commentCount: ko.observable(0),
titleColor: '#006600',
comeSoon: true,
show: true,
image: '/images/qtchat.png',
image: '/images/CoMsg.png',
click: (view) => { return; },
}, {
name: 'QTStorage',
name: 'CoBox',
likeCount: ko.observable(0),
liked: ko.observable(false),
commentCount: ko.observable(0),
titleColor: '#990000',
comeSoon: true,
show: true,
image: '/images/qtStorage.png',
image: '/images/CoBox.png',
click: (view) => { return; },
}, {
name: 'QTCustom',
Expand Down Expand Up @@ -2626,17 +2625,6 @@ const appList = [
return shell.openExternal(`http://${view.config().localIpAddress[0]}:2000/Twitter`);
},
},
{
name: 'QTInstagram',
likeCount: ko.observable(0),
liked: ko.observable(false),
commentCount: ko.observable(0),
titleColor: '#cd486b',
show: false,
image: '/images/Instagram_logo_2016.svg',
comeSoon: true,
click: (view) => { return; },
},
{
name: 'QTNYTime',
likeCount: ko.observable(0),
Expand All @@ -2647,28 +2635,6 @@ const appList = [
show: true,
image: '/images/nyt.png',
click: (view) => { return; },
},
{
name: 'QTWeChat',
likeCount: ko.observable(0),
liked: ko.observable(false),
commentCount: ko.observable(0),
titleColor: '#09b83e',
comeSoon: true,
show: false,
image: '/images/wechat.svg',
click: (view) => { return; },
},
{
name: 'QTBitcoin',
show: true,
likeCount: ko.observable(0),
liked: ko.observable(false),
commentCount: ko.observable(0),
titleColor: '#FF9900',
comeSoon: true,
image: '/images/Bitcoin.svg',
click: (view) => { return; },
}
];
const oneMB = 1024 * 1000;
Expand Down
52 changes: 7 additions & 45 deletions app/public/scripts/home.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright 2017 QTGate systems Inc. All Rights Reserved.
* Copyright 2018 CoNET Technology Inc. All Rights Reserved.
*
* QTGate systems Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down Expand Up @@ -2925,34 +2924,34 @@ module view_layout {
}
const appList = [
{
name: 'QTGate',
name: 'CoGate',
likeCount: ko.observable ( 0 ),
liked: ko.observable ( false ),
commentCount: ko.observable(),
titleColor: '#0066cc',
comeSoon: false,
show: true,
click: ( view: view_layout.view ) => { return view.QTGateAppClick () },
image: '/images/qtgateGateway.png'
image: '/images/CoGate.png'
},{
name: 'QTChat',
name: 'CoMsg',
likeCount: ko.observable (0),
liked: ko.observable (false),
commentCount: ko.observable(0),
titleColor: '#006600',
comeSoon: true,
show: true,
image: '/images/qtchat.png',
image: '/images/CoMsg.png',
click: ( view: view_layout.view ) => { return },
},{
name: 'QTStorage',
name: 'CoBox',
likeCount: ko.observable (0),
liked: ko.observable (false),
commentCount: ko.observable(0),
titleColor: '#990000',
comeSoon: true,
show: true,
image: '/images/qtStorage.png',
image: '/images/CoBox.png',
click: ( view: view_layout.view ) => { return },
},{
name: 'QTCustom',
Expand Down Expand Up @@ -2988,20 +2987,7 @@ const appList = [
event.preventDefault ()
return shell.openExternal ( `http://${ view.config().localIpAddress[0] }:2000/Twitter` )
},
},

{
name: 'QTInstagram',
likeCount: ko.observable (0),
liked: ko.observable (false),
commentCount: ko.observable(0),
titleColor: '#cd486b',
show: false,
image: '/images/Instagram_logo_2016.svg',
comeSoon: true,
click: ( view: view_layout.view ) => { return },
}

,{
name: 'QTNYTime',
likeCount: ko.observable (0),
Expand All @@ -3012,30 +2998,6 @@ const appList = [
show: true,
image: '/images/nyt.png',
click: ( view: view_layout.view ) => { return },
},

{
name: 'QTWeChat',
likeCount: ko.observable (0),
liked: ko.observable (false),
commentCount: ko.observable(0),
titleColor: '#09b83e',
comeSoon: true,
show: false,
image: '/images/wechat.svg',
click: ( view: view_layout.view ) => { return },
}

,{
name: 'QTBitcoin',
show: true,
likeCount: ko.observable (0),
liked: ko.observable ( false ),
commentCount: ko.observable(0),
titleColor: '#FF9900',
comeSoon: true,
image: '/images/Bitcoin.svg',
click: ( view: view_layout.view ) => { return },
}
]
const oneMB = 1024 * 1000
Expand Down
Loading

0 comments on commit 031bf3c

Please sign in to comment.