Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
9cdbfe65
Commit
9cdbfe65
authored
Jun 08, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Const name case
parent
0878e0dc
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
26 deletions
+26
-26
public_new/chat.html
+1
-1
public_new/collaboration.html
+1
-1
public_new/collaboration_documents.html
+1
-1
public_new/collaboration_picture.html
+2
-2
public_new/collaboration_video.html
+2
-2
public_new/collaboration_voice.html
+2
-2
public_new/collaboration_whiteboard.html
+2
-2
public_new/js/chat-ui.js
+0
-0
public_new/js/chat-websocket.js
+4
-4
public_new/js/share.js
+11
-11
No files found.
public_new/chat.html
View file @
9cdbfe65
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
IS_MOBILE
=
isMobile
;
IS_MOBILE
=
isMobile
;
IS_ONLINE
=
isOnline
;
IS_ONLINE
=
isOnline
;
console
.
log
(
"onChat"
);
console
.
log
(
"onChat"
);
CHAT_UI
.
refreshRoomList
(
c
hatRoomType
.
GROUP
);
CHAT_UI
.
refreshRoomList
(
C
hatRoomType
.
GROUP
);
CHAT_UI
.
dismissLoadingIndicator
();
CHAT_UI
.
dismissLoadingIndicator
();
};
};
</script>
</script>
...
...
public_new/collaboration.html
View file @
9cdbfe65
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
roomType
=
CHAT_DB
.
getRoomType
();
roomType
=
CHAT_DB
.
getRoomType
();
}
}
if
(
roomType
==
c
hatRoomType
.
DM
)
{
if
(
roomType
==
C
hatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
}
...
...
public_new/collaboration_documents.html
View file @
9cdbfe65
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
}
}
globalUserInfo
.
coWorkType
=
c
ollaborationTypeKey
.
DOCUMENT
;
globalUserInfo
.
coWorkType
=
C
ollaborationTypeKey
.
DOCUMENT
;
CHAT_SOCKET
.
connectSocket
();
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
});
});
...
...
public_new/collaboration_picture.html
View file @
9cdbfe65
...
@@ -180,7 +180,7 @@
...
@@ -180,7 +180,7 @@
roomType
=
CHAT_DB
.
getRoomType
();
roomType
=
CHAT_DB
.
getRoomType
();
}
}
if
(
roomType
==
c
hatRoomType
.
DM
)
{
if
(
roomType
==
C
hatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
}
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
console
.
log
(
collaborationJoinFlg
);
console
.
log
(
collaborationJoinFlg
);
}
}
globalUserInfo
.
coWorkType
=
c
ollaborationTypeKey
.
CAMERA
;
globalUserInfo
.
coWorkType
=
C
ollaborationTypeKey
.
CAMERA
;
if
(
collaborationJoinFlg
!=
'2'
)
{
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
...
...
public_new/collaboration_video.html
View file @
9cdbfe65
...
@@ -168,7 +168,7 @@
...
@@ -168,7 +168,7 @@
roomType
=
CHAT_DB
.
getRoomType
();
roomType
=
CHAT_DB
.
getRoomType
();
}
}
if
(
roomType
==
c
hatRoomType
.
DM
)
{
if
(
roomType
==
C
hatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
}
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
console
.
log
(
collaborationJoinFlg
);
console
.
log
(
collaborationJoinFlg
);
}
}
globalUserInfo
.
coWorkType
=
c
ollaborationTypeKey
.
VIDEO
;
globalUserInfo
.
coWorkType
=
C
ollaborationTypeKey
.
VIDEO
;
if
(
collaborationJoinFlg
!=
'2'
)
{
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
...
...
public_new/collaboration_voice.html
View file @
9cdbfe65
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
roomType
=
CHAT_DB
.
getRoomType
();
roomType
=
CHAT_DB
.
getRoomType
();
}
}
if
(
roomType
==
c
hatRoomType
.
DM
)
{
if
(
roomType
==
C
hatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
}
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
console
.
log
(
collaborationJoinFlg
);
console
.
log
(
collaborationJoinFlg
);
}
}
globalUserInfo
.
coWorkType
=
c
ollaborationTypeKey
.
AUDIO
;
globalUserInfo
.
coWorkType
=
C
ollaborationTypeKey
.
AUDIO
;
if
(
collaborationJoinFlg
!=
'2'
)
{
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
...
...
public_new/collaboration_whiteboard.html
View file @
9cdbfe65
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
roomType
=
CHAT_DB
.
getRoomType
();
roomType
=
CHAT_DB
.
getRoomType
();
}
}
if
(
roomType
==
c
hatRoomType
.
DM
)
{
if
(
roomType
==
C
hatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
}
...
@@ -187,7 +187,7 @@
...
@@ -187,7 +187,7 @@
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
}
}
globalUserInfo
.
coWorkType
=
c
ollaborationTypeKey
.
BOARD
;
globalUserInfo
.
coWorkType
=
C
ollaborationTypeKey
.
BOARD
;
if
(
collaborationJoinFlg
!=
'2'
)
{
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
...
...
public_new/js/chat-ui.js
View file @
9cdbfe65
This source diff could not be displayed because it is too large. You can
view the blob
instead.
public_new/js/chat-websocket.js
View file @
9cdbfe65
...
@@ -217,14 +217,14 @@ function setSocketAction() {
...
@@ -217,14 +217,14 @@ function setSocketAction() {
message
.
text
=
text
[
0
];
message
.
text
=
text
[
0
];
type
=
text
[
1
];
type
=
text
[
1
];
if
(
if
(
type
==
m
essageType
.
COMMUNICATIONSTART
||
type
==
M
essageType
.
COMMUNICATIONSTART
||
type
==
m
essageType
.
COMMUNICATIONEND
type
==
M
essageType
.
COMMUNICATIONEND
)
{
)
{
collaborationType
=
text
[
2
];
collaborationType
=
text
[
2
];
var
meetingId
=
0
;
var
meetingId
=
0
;
if
(
if
(
collaborationType
==
collaborationType
==
CHAT_UTIL
.
getCollaborationType
(
c
ollaborationTypeKey
.
DOCUMENT
)
CHAT_UTIL
.
getCollaborationType
(
C
ollaborationTypeKey
.
DOCUMENT
)
)
{
)
{
meetingId
=
text
[
3
];
meetingId
=
text
[
3
];
}
}
...
@@ -494,7 +494,7 @@ function setSocketAction() {
...
@@ -494,7 +494,7 @@ function setSocketAction() {
}
else
{
}
else
{
if
(
IS_ONLINE
==
"true"
)
{
if
(
IS_ONLINE
==
"true"
)
{
android
.
updateRoomList
();
android
.
updateRoomList
();
CHAT_UI
.
refreshRoomList
(
c
hatRoomType
.
DM
);
CHAT_UI
.
refreshRoomList
(
C
hatRoomType
.
DM
);
CHAT_UI
.
dismissLoadingIndicator
();
CHAT_UI
.
dismissLoadingIndicator
();
}
}
}
}
...
...
public_new/js/share.js
View file @
9cdbfe65
...
@@ -225,10 +225,10 @@ document.addEventListener('DOMContentLoaded', function() {
...
@@ -225,10 +225,10 @@ document.addEventListener('DOMContentLoaded', function() {
}
}
}
else
if
(
data
.
type
===
"CHANGE_HOST_APPLY"
)
{
}
else
if
(
data
.
type
===
"CHANGE_HOST_APPLY"
)
{
if
(
CHAT_UTIL
.
isAndroid
())
{
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
setHostRequestFlg
(
H
OST_REQUEST_FLG
.
DOING
);
android
.
setHostRequestFlg
(
H
ostRequestFlag
.
DOING
);
}
else
{
}
else
{
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
H
OST_REQUEST_FLG
.
DOING
H
ostRequestFlag
.
DOING
);
);
}
}
if
(
g_isMainMan
)
{
if
(
g_isMainMan
)
{
...
@@ -242,10 +242,10 @@ document.addEventListener('DOMContentLoaded', function() {
...
@@ -242,10 +242,10 @@ document.addEventListener('DOMContentLoaded', function() {
)
{
)
{
Coview_changeHost
(
getFermiLoginId
(
data
.
payload
.
hostId
));
Coview_changeHost
(
getFermiLoginId
(
data
.
payload
.
hostId
));
if
(
CHAT_UTIL
.
isAndroid
())
{
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
setHostRequestFlg
(
H
OST_REQUEST_FLG
.
DONE
);
android
.
setHostRequestFlg
(
H
ostRequestFlag
.
DONE
);
}
else
{
}
else
{
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
H
OST_REQUEST_FLG
.
DONE
H
ostRequestFlag
.
DONE
);
);
}
}
}
else
{
}
else
{
...
@@ -259,10 +259,10 @@ document.addEventListener('DOMContentLoaded', function() {
...
@@ -259,10 +259,10 @@ document.addEventListener('DOMContentLoaded', function() {
}
}
}
else
if
(
data
.
type
===
"HOST_REQUEST_DONE"
)
{
}
else
if
(
data
.
type
===
"HOST_REQUEST_DONE"
)
{
if
(
CHAT_UTIL
.
isAndroid
())
{
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
setHostRequestFlg
(
H
OST_REQUEST_FLG
.
DONE
);
android
.
setHostRequestFlg
(
H
ostRequestFlag
.
DONE
);
}
else
{
}
else
{
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
H
OST_REQUEST_FLG
.
DONE
H
ostRequestFlag
.
DONE
);
);
}
}
}
else
if
(
data
.
type
===
"HOST_REQUEST_REJECT"
)
{
}
else
if
(
data
.
type
===
"HOST_REQUEST_REJECT"
)
{
...
@@ -270,10 +270,10 @@ document.addEventListener('DOMContentLoaded', function() {
...
@@ -270,10 +270,10 @@ document.addEventListener('DOMContentLoaded', function() {
alert
(
"REJECT for owner user"
);
alert
(
"REJECT for owner user"
);
}
}
if
(
CHAT_UTIL
.
isAndroid
())
{
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
setHostRequestFlg
(
H
OST_REQUEST_FLG
.
DONE
);
android
.
setHostRequestFlg
(
H
ostRequestFlag
.
DONE
);
}
else
{
}
else
{
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
H
OST_REQUEST_FLG
.
DONE
H
ostRequestFlag
.
DONE
);
);
}
}
}
}
...
@@ -716,15 +716,15 @@ function applyForHostChange() {
...
@@ -716,15 +716,15 @@ function applyForHostChange() {
}
else
{
}
else
{
hostRequestFlg
=
CHAT_DB
.
getHostRequestFlg
();
hostRequestFlg
=
CHAT_DB
.
getHostRequestFlg
();
}
}
if
(
hostRequestFlg
==
H
OST_REQUEST_FLG
.
DOING
)
{
if
(
hostRequestFlg
==
H
ostRequestFlag
.
DOING
)
{
alert
(
getLocalizedString
(
"already_processing_host_request"
));
alert
(
getLocalizedString
(
"already_processing_host_request"
));
return
;
return
;
}
}
if
(
CHAT_UTIL
.
isAndroid
())
{
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
setHostRequestFlg
(
H
OST_REQUEST_FLG
.
DOING
);
android
.
setHostRequestFlg
(
H
ostRequestFlag
.
DOING
);
}
else
{
}
else
{
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
webkit
.
messageHandlers
.
setHostRequestFlg
.
postMessage
(
H
OST_REQUEST_FLG
.
DOING
H
ostRequestFlag
.
DOING
);
);
}
}
fw
.
sendToMsg
(
"others"
,
"CHANGE_HOST_APPLY"
,
{
fw
.
sendToMsg
(
"others"
,
"CHANGE_HOST_APPLY"
,
{
...
...
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