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
d12c2257
Commit
d12c2257
authored
Jun 10, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed for chat-ui js
parent
2f0d9078
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
266 additions
and
209 deletions
+266
-209
public_new/chat.html
+1
-0
public_new/chat_change_room_name.html
+18
-11
public_new/chat_make_room.html
+1
-0
public_new/chat_make_room_confirm.html
+1
-0
public_new/chat_room.html
+14
-6
public_new/collaboration.html
+16
-8
public_new/collaboration_documents.html
+71
-67
public_new/collaboration_picture.html
+11
-5
public_new/collaboration_video.html
+54
-50
public_new/collaboration_voice.html
+8
-4
public_new/collaboration_whiteboard.html
+8
-4
public_new/contact.html
+1
-0
public_new/js/chat-db-foriOS.js
+0
-39
public_new/js/chat-db.js
+2
-2
public_new/js/chat-ui.js
+19
-13
public_new/js/chat.js
+1
-0
public_new/js/constant.js
+40
-0
No files found.
public_new/chat.html
View file @
d12c2257
...
...
@@ -115,6 +115,7 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script>
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
return
this
.
split
(
org
).
join
(
dest
);
...
...
public_new/chat_change_room_name.html
View file @
d12c2257
...
...
@@ -41,16 +41,19 @@
<!-- コンテンツ -->
<main
id=
"chat_change_room_name"
>
<!-- ルーム名入力 -->
<div
class=
"room_name"
>
<label
for=
"room_name"
><h2>
ルーム名
</h2></label>
<input
type=
"text"
class=
"input_name_room"
name=
"room_name"
placeholder=
"ルーム名を入力してください"
id=
"roomNameInput"
maxlength=
"20"
>
</div>
<!-- ルーム名入力 -->
<div
class=
"room_name"
>
<label
for=
"room_name"
>
<h2>
ルーム名
</h2>
</label>
<input
type=
"text"
class=
"input_name_room"
name=
"room_name"
placeholder=
"ルーム名を入力してください"
id=
"roomNameInput"
maxlength=
"20"
>
</div>
<!-- ルーム名変更ボタン -->
<div
class=
"change_room_name_btn"
>
<button
type=
"button"
name=
"button"
id=
"roomNameChangeBtn"
>
保存
</button>
</div>
<!-- ルーム名変更ボタン -->
<div
class=
"change_room_name_btn"
>
<button
type=
"button"
name=
"button"
id=
"roomNameChangeBtn"
>
保存
</button>
</div>
</main>
<div
id=
"loadingArea"
></div>
...
...
@@ -72,10 +75,14 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script
src=
"./js/chat-websocket.js"
></script>
<script
src=
"./js/chat-websocket-message.js"
></script>
<script
src=
"./js/chat-websocket-refresh-group-list.js"
></script>
<script
src=
"./js/chat-websocket-refresh-user-list-in-group.js"
></script>
<script
src=
"./js/chat-room.js"
></script>
<script>
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
return
this
.
split
(
org
).
join
(
dest
);
}
let
CHAT_SERVER_URL
=
''
;
...
...
@@ -86,7 +93,7 @@
let
IS_ONLINE
=
false
;
let
roomId
=
0
;
$
(
"#loadingArea"
).
load
(
"./loading.html"
);
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
}
else
{
...
...
public_new/chat_make_room.html
View file @
d12c2257
...
...
@@ -144,6 +144,7 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script>
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
return
this
.
split
(
org
).
join
(
dest
);
...
...
public_new/chat_make_room_confirm.html
View file @
d12c2257
...
...
@@ -80,6 +80,7 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script>
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
return
this
.
split
(
org
).
join
(
dest
);
...
...
public_new/chat_room.html
View file @
d12c2257
...
...
@@ -44,7 +44,8 @@
<div
class=
"col-4 pl-0"
>
<div
class=
"nav-item text-right"
>
<a
href=
"#"
class=
"search_menu"
><img
src=
"icon/icon_search.png"
alt=
"検索"
></a>
<a
href=
"#"
data-toggle=
"modal"
data-target=
"#menuModalCenter"
id=
"roomMenu"
class=
"none"
><img
src=
"icon/icon_room_menu.png"
alt=
"メニュー"
></a>
<a
href=
"#"
data-toggle=
"modal"
data-target=
"#menuModalCenter"
id=
"roomMenu"
class=
"none"
><img
src=
"icon/icon_room_menu.png"
alt=
"メニュー"
></a>
</div>
</div>
<!-- .col -->
</div>
<!-- .row -->
...
...
@@ -94,8 +95,10 @@
<input
class=
"d-none"
type=
"file"
name=
"image"
id=
"videoInputTag"
accept=
"video/mp4"
>
</form>
</div>
<input
type=
"text"
name=
"message"
class=
"message_input_form"
id=
"messageInput"
placeholder=
"メッセージを入力してください"
maxlength=
"600"
>
<button
type=
"button"
name=
"button"
class=
"message_input_send none"
id=
"messageSend"
onclick=
"CHAT_UI.sendMessage(this);"
>
送信
</button>
<input
type=
"text"
name=
"message"
class=
"message_input_form"
id=
"messageInput"
placeholder=
"メッセージを入力してください"
maxlength=
"600"
>
<button
type=
"button"
name=
"button"
class=
"message_input_send none"
id=
"messageSend"
onclick=
"CHAT_UI.sendMessage(this);"
>
送信
</button>
</div>
</div>
<!-- フッター下 -->
...
...
@@ -160,7 +163,11 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script
src=
"./js/chat-websocket.js"
></script>
<script
src=
"./js/chat-websocket-message.js"
></script>
<script
src=
"./js/chat-websocket-refresh-group-list.js"
></script>
<script
src=
"./js/chat-websocket-refresh-user-list-in-group.js"
></script>
<script
src=
"./js/chat-room.js"
></script>
<script>
function
imageModal
(
image
)
{
...
...
@@ -168,7 +175,7 @@
$
(
'#pictureModalCenter'
).
modal
(
'show'
);
}
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
return
this
.
split
(
org
).
join
(
dest
);
}
...
...
@@ -183,7 +190,7 @@
$
(
"#chatMenuModal"
).
load
(
"./modal_chat_menu.html"
);
$
(
"#loadingArea"
).
load
(
"./loading.html"
);
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
android
.
saveSelectedUserList
(
""
);
...
...
@@ -205,4 +212,4 @@
</script>
</body>
</html>
</html>
\ No newline at end of file
public_new/collaboration.html
View file @
d12c2257
...
...
@@ -27,10 +27,12 @@
</div>
<div
class=
"collabo_nav_r"
>
<div
class=
"text-right d-flex align-items-center"
>
<button
type=
"button"
name=
"button"
class=
"btn user_btn collaboration_contents picture_contents video_contents board_contents"
></button>
<button
type=
"button"
name=
"button"
class=
"btn user_btn collaboration_contents picture_contents video_contents board_contents"
></button>
<button
type=
"button"
name=
"button"
class=
"btn add_user_btn none"
></button>
<button
type=
"button"
name=
"button"
class=
"btn menu_btn host_contents"
></button>
<button
type=
"button"
name=
"button"
class=
"btn start_pip_btn collaboration_contents document_contents"
onclick=
"startPipMode();"
></button>
<button
type=
"button"
name=
"button"
class=
"btn start_pip_btn collaboration_contents document_contents"
onclick=
"startPipMode();"
></button>
<!-- <button type="button" name="button" class="btn exit_btn" onclick="Coview_exitCollaboration();"></button> -->
</div>
</div>
...
...
@@ -57,7 +59,7 @@
<!-- ユーザー追加オーバーレイ -->
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- オーバーレイ メニュー -->
<div
id=
"collaboration_picture_overlay_menu"
></div>
...
...
@@ -169,11 +171,15 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script
src=
"./js/language.js"
></script>
<script
src=
"./js/language_ko.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_ja.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_en.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/chat-websocket.js"
></script>
<script
src=
"./js/chat-websocket-message.js"
></script>
<script
src=
"./js/chat-websocket-refresh-group-list.js"
></script>
<script
src=
"./js/chat-websocket-refresh-user-list-in-group.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/share.js"
></script>
<script>
...
...
@@ -198,7 +204,7 @@
let
joinMeetingId
=
0
;
let
androidVersion
=
0
;
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
roomType
=
android
.
getRoomType
();
...
...
@@ -209,11 +215,11 @@
}
if
(
roomType
==
ChatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
function
startPipMode
()
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
startPipMode
();
}
else
{
webkit
.
messageHandlers
.
startPipMode
.
postMessage
({});
...
...
@@ -226,7 +232,7 @@
}
}
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
return
this
.
split
(
org
).
join
(
dest
);
}
...
...
@@ -253,10 +259,11 @@
globalUserInfo
.
coWorkType
=
CHAT_UTIL
.
getCoviewTypeFromCollaborationType
(
joinCollaborationType
);
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
});
}
};
</script>
</body>
</html>
\ No newline at end of file
public_new/collaboration_documents.html
View file @
d12c2257
...
...
@@ -5,7 +5,7 @@
<!-- Required meta tags -->
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1, user-scalable=0"
>
content=
"width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1, user-scalable=0"
>
<title>
LiveTaskyell
</title>
<link
rel=
"stylesheet"
href=
"./css/notosansjp.css"
>
<link
href=
"./fontawesome/css/all.css"
rel=
"stylesheet"
>
...
...
@@ -20,78 +20,82 @@
</head>
<body>
<!-- ナビメニュー -->
<header
id=
"collabo_header"
>
<div
class=
"d-flex align-items-center h-100"
>
<div
class=
"collabo_nav_l text-left w-100"
>
</div>
<div
class=
"collabo_nav_r"
>
<div
class=
"text-right d-flex align-items-center"
>
<button
type=
"button"
name=
"button"
class=
"btn add_user_btn"
></button>
<button
type=
"button"
name=
"button"
class=
"btn menu_btn"
></button>
<button
type=
"button"
name=
"button"
class=
"btn start_pip_btn"
onclick=
"startPipMode();"
></button>
<!-- ナビメニュー -->
<header
id=
"collabo_header"
>
<div
class=
"d-flex align-items-center h-100"
>
<div
class=
"collabo_nav_l text-left w-100"
>
</div>
<div
class=
"collabo_nav_r"
>
<div
class=
"text-right d-flex align-items-center"
>
<button
type=
"button"
name=
"button"
class=
"btn add_user_btn"
></button>
<button
type=
"button"
name=
"button"
class=
"btn menu_btn"
></button>
<button
type=
"button"
name=
"button"
class=
"btn start_pip_btn"
onclick=
"startPipMode();"
></button>
</div>
</div>
</div>
</div>
</header>
<!-- header -->
</header>
<!-- header -->
<!-- コンテンツ -->
<main
id=
"collabo_main"
class=
"none"
>
<div
class=
"document_wrap"
>
<div
class=
"coview_share_body coview_share_area"
id=
"coviewShare"
style=
"z-index: 1;"
>
<!-- コンテンツ -->
<main
id=
"collabo_main"
class=
"none"
>
<div
class=
"document_wrap"
>
<div
class=
"coview_share_body coview_share_area"
id=
"coviewShare"
style=
"z-index: 1;"
>
</div>
</div>
</div>
</main>
</main>
<!-- オーバーレイ メニュー -->
<div
id=
"collaboration_voice_overlay_menu"
></div>
<!-- オーバーレイ ユーザーリスト -->
<div
id=
"overlay_user_list"
class=
"overlay slidein"
style=
"z-index: 3;"
>
<div
id=
"collaboration_overlay_user_list"
></div>
</div>
<!-- オーバーレイ メニュー -->
<div
id=
"collaboration_voice_overlay_menu"
></div>
<!-- オーバーレイ ユーザーリスト -->
<div
id=
"overlay_user_list"
class=
"overlay slidein"
style=
"z-index: 3;"
>
<div
id=
"collaboration_overlay_user_list"
></div>
</div>
<!-- プロフィールモーダル -->
<div
id=
"userProfileModalInCollaboration"
></div>
<div
id=
"modal_collabo_profile2"
></div>
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- ホスト変更モーダル -->
<div
id=
"modal_collabo_change_host"
></div>
<!-- プロフィールモーダル -->
<div
id=
"userProfileModalInCollaboration"
></div>
<div
id=
"modal_collabo_profile2"
></div>
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- ホスト変更モーダル -->
<div
id=
"modal_collabo_change_host"
></div>
<!-- ホストリクエストモーダル -->
<div
id=
"modal_collabo_host_request"
></div>
<!-- ホストリクエストモーダル -->
<div
id=
"modal_collabo_host_request"
></div>
<!-- フッター -->
<div
id=
"footer_collabo"
></div>
<div
id=
"loadingArea"
></div>
<div
class=
"pip_indicator none"
onclick=
"finishPipMode();"
>
<div
style=
"vertical-align: middle;display: table-cell;"
>
協業中
<!-- フッター -->
<div
id=
"footer_collabo"
></div>
<div
id=
"loadingArea"
></div>
<div
class=
"pip_indicator none"
onclick=
"finishPipMode();"
>
<div
style=
"vertical-align: middle;display: table-cell;"
>
協業中
</div>
</div>
</div>
<script
src=
"./js/libs/jquery-3.3.1.min.js"
></script>
<script
src=
"./js/libs/socket.io.js"
></script>
<script
src=
"./js/libs/moment.js"
></script>
<script
src=
"./js/libs/locale/ko.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/libs/locale/ja.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/libs/mustache.min.js"
></script>
<script
src=
"./js/libs/bootstrap.min.js"
></script>
<script
src=
"./js/libs/jquery.mark.min.js"
></script>
<script
src=
"./js/constant.js"
></script>
<script
src=
"./js/collaboration.js"
></script>
<script
src=
"./js/common.js"
></script>
<script
src=
"./js/loading.js"
></script>
<script
src=
"./js/chat.js"
></script>
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/language.js"
></script>
<script
src=
"./js/language_ko.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_ja.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_en.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/chat-websocket.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/share.js"
></script>
<script>
<script
src=
"./js/libs/jquery-3.3.1.min.js"
></script>
<script
src=
"./js/libs/socket.io.js"
></script>
<script
src=
"./js/libs/moment.js"
></script>
<script
src=
"./js/libs/locale/ko.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/libs/locale/ja.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/libs/mustache.min.js"
></script>
<script
src=
"./js/libs/bootstrap.min.js"
></script>
<script
src=
"./js/libs/jquery.mark.min.js"
></script>
<script
src=
"./js/constant.js"
></script>
<script
src=
"./js/collaboration.js"
></script>
<script
src=
"./js/common.js"
></script>
<script
src=
"./js/loading.js"
></script>
<script
src=
"./js/chat.js"
></script>
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script
src=
"./js/language.js"
></script>
<script
src=
"./js/language_ko.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_ja.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_en.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/chat-websocket.js"
></script>
<script
src=
"./js/chat-websocket-message.js"
></script>
<script
src=
"./js/chat-websocket-refresh-group-list.js"
></script>
<script
src=
"./js/chat-websocket-refresh-user-list-in-group.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/share.js"
></script>
<script>
$
(
"#footer_collabo"
).
load
(
"./footer_collabo.html"
);
$
(
"#modal_collabo_host_request"
).
load
(
"./modal_collabo_host_request.html"
);
$
(
"#modal_collabo_change_host"
).
load
(
"./modal_collabo_change_host.html"
);
...
...
@@ -109,7 +113,7 @@
let
IS_ONLINE
=
false
;
let
collaborationJoinFlg
=
0
;
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
}
else
{
...
...
@@ -118,7 +122,7 @@
}
function
startPipMode
()
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
startPipMode
();
}
else
if
(
CHAT_UTIL
.
isIOS
())
{
webkit
.
messageHandlers
.
startPipMode
.
postMessage
({});
...
...
@@ -144,7 +148,7 @@
}
globalUserInfo
.
coWorkType
=
CollaborationTypeKey
.
DOCUMENT
;
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
});
};
...
...
public_new/collaboration_picture.html
View file @
d12c2257
...
...
@@ -55,7 +55,7 @@
<!-- ユーザー追加オーバーレイ -->
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- オーバーレイ メニュー -->
<div
id=
"collaboration_picture_overlay_menu"
></div>
...
...
@@ -144,11 +144,15 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script
src=
"./js/language.js"
></script>
<script
src=
"./js/language_ko.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_ja.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_en.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/chat-websocket.js"
></script>
<script
src=
"./js/chat-websocket-message.js"
></script>
<script
src=
"./js/chat-websocket-refresh-group-list.js"
></script>
<script
src=
"./js/chat-websocket-refresh-user-list-in-group.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/share.js"
></script>
<script>
...
...
@@ -170,7 +174,7 @@
let
collaborationJoinFlg
=
0
;
let
roomType
;
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
roomType
=
android
.
getRoomType
();
...
...
@@ -181,7 +185,7 @@
}
if
(
roomType
==
ChatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
async
function
getGlobalParam
(
chatServerUrl
,
cmsServerUrl
,
platform
,
isMobile
,
isOnline
)
{
...
...
@@ -199,10 +203,11 @@
globalUserInfo
.
coWorkType
=
CollaborationTypeKey
.
CAMERA
;
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
});
}
};
</script>
</body>
</html>
</html>
\ No newline at end of file
public_new/collaboration_video.html
View file @
d12c2257
...
...
@@ -54,7 +54,7 @@
<!-- ユーザー追加オーバーレイ -->
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- オーバーレイ メニュー -->
<div
id=
"collaboration_video_overlay_menu"
></div>
...
...
@@ -102,7 +102,7 @@
</div>
<div
class=
"d-flex align-items-center h-100"
>
<div
class=
"footer_menu_item"
>
<!-- <a href="#" data-toggle="modal" data-target="#captyaModal">-->
<!-- <a href="#" data-toggle="modal" data-target="#captyaModal">-->
<a
href=
"#"
>
<div
class=
"img_wrap wide bg_blue"
id=
"captureBtn"
>
<img
src=
"icon/icon_collabo_capture.png"
alt=
"キャプチャ"
>
...
...
@@ -131,65 +131,70 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script
src=
"./js/language.js"
></script>
<script
src=
"./js/language_ko.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_ja.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_en.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/chat-websocket.js"
></script>
<script
src=
"./js/chat-websocket-message.js"
></script>
<script
src=
"./js/chat-websocket-refresh-group-list.js"
></script>
<script
src=
"./js/chat-websocket-refresh-user-list-in-group.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/share.js"
></script>
</body>
<script>
$
(
"#footer_collabo"
).
load
(
"./footer_collabo.html"
);
$
(
"#modal_collabo_host_request"
).
load
(
"./modal_collabo_host_request.html"
);
$
(
"#modal_collabo_change_host"
).
load
(
"./modal_collabo_change_host.html"
);
$
(
"#modal_collabo_capture"
).
load
(
"./modal_collabo_capture.html"
);
$
(
"#modal_collabo_profile2"
).
load
(
"./modal_collabo_profile2.html"
);
$
(
"#collaboration_video_overlay_menu"
).
load
(
"./collaboration_video_overlay_menu.html"
);
$
(
"#add_user_list"
).
load
(
"./modal_add_user_list.html"
);
$
(
"#zoom"
).
load
(
"./zoom.html"
);
$
(
"#footer_collabo"
).
load
(
"./footer_collabo.html"
);
$
(
"#modal_collabo_host_request"
).
load
(
"./modal_collabo_host_request.html"
);
$
(
"#modal_collabo_change_host"
).
load
(
"./modal_collabo_change_host.html"
);
$
(
"#modal_collabo_capture"
).
load
(
"./modal_collabo_capture.html"
);
$
(
"#modal_collabo_profile2"
).
load
(
"./modal_collabo_profile2.html"
);
$
(
"#collaboration_video_overlay_menu"
).
load
(
"./collaboration_video_overlay_menu.html"
);
$
(
"#add_user_list"
).
load
(
"./modal_add_user_list.html"
);
$
(
"#zoom"
).
load
(
"./zoom.html"
);
let
CHAT_SERVER_URL
=
''
;
let
CMS_SERVER_URL
=
''
;
let
ASSET_PATH
=
'./'
;
let
PLATFORM
=
''
;
let
IS_MOBILE
=
true
;
let
IS_ONLINE
=
false
;
let
collaborationJoinFlg
=
0
;
let
roomType
;
let
CHAT_SERVER_URL
=
''
;
let
CMS_SERVER_URL
=
''
;
let
ASSET_PATH
=
'./'
;
let
PLATFORM
=
''
;
let
IS_MOBILE
=
true
;
let
IS_ONLINE
=
false
;
let
collaborationJoinFlg
=
0
;
let
roomType
;
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
roomType
=
android
.
getRoomType
();
}
else
{
webkit
.
messageHandlers
.
loginInfoRequestMessageHandlerId
.
postMessage
({});
webkit
.
messageHandlers
.
getGlobalParameter
.
postMessage
({});
roomType
=
CHAT_DB
.
getRoomType
();
}
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
roomType
=
android
.
getRoomType
();
}
else
{
webkit
.
messageHandlers
.
loginInfoRequestMessageHandlerId
.
postMessage
({});
webkit
.
messageHandlers
.
getGlobalParameter
.
postMessage
({});
roomType
=
CHAT_DB
.
getRoomType
();
}
if
(
roomType
==
ChatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
if
(
roomType
==
ChatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
async
function
getGlobalParam
(
chatServerUrl
,
cmsServerUrl
,
platform
,
isMobile
,
isOnline
)
{
CHAT_SERVER_URL
=
chatServerUrl
;
CMS_SERVER_URL
=
cmsServerUrl
;
PLATFORM
=
platform
;
IS_MOBILE
=
isMobile
;
IS_ONLINE
=
isOnline
;
if
(
CHAT_UTIL
.
isIOS
())
{
collaborationJoinFlg
=
CHAT_DB
.
getCollaborationJoinFlg
();
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
console
.
log
(
collaborationJoinFlg
);
}
globalUserInfo
.
coWorkType
=
CollaborationTypeKey
.
VIDEO
;
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
});
}
};
</script>
async
function
getGlobalParam
(
chatServerUrl
,
cmsServerUrl
,
platform
,
isMobile
,
isOnline
)
{
CHAT_SERVER_URL
=
chatServerUrl
;
CMS_SERVER_URL
=
cmsServerUrl
;
PLATFORM
=
platform
;
IS_MOBILE
=
isMobile
;
IS_ONLINE
=
isOnline
;
if
(
CHAT_UTIL
.
isIOS
())
{
collaborationJoinFlg
=
CHAT_DB
.
getCollaborationJoinFlg
();
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
console
.
log
(
collaborationJoinFlg
);
}
globalUserInfo
.
coWorkType
=
CollaborationTypeKey
.
VIDEO
;
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
});
}
};
</script>
</html>
\ No newline at end of file
public_new/collaboration_voice.html
View file @
d12c2257
...
...
@@ -54,7 +54,7 @@
<div
id=
"userProfileModalInCollaboration"
></div>
<div
id=
"modal_collabo_profile2"
></div>
<!-- ユーザー追加オーバーレイ -->
<div
id=
"add_user_list"
></div>
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- ホスト変更モーダル -->
<div
id=
"modal_collabo_change_host"
></div>
...
...
@@ -78,11 +78,15 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script
src=
"./js/language.js"
></script>
<script
src=
"./js/language_ko.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_ja.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_en.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/chat-websocket.js"
></script>
<script
src=
"./js/chat-websocket-message.js"
></script>
<script
src=
"./js/chat-websocket-refresh-group-list.js"
></script>
<script
src=
"./js/chat-websocket-refresh-user-list-in-group.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/share.js"
></script>
<script>
...
...
@@ -103,7 +107,7 @@
let
collaborationJoinFlg
=
0
;
let
roomType
;
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
roomType
=
android
.
getRoomType
();
...
...
@@ -114,7 +118,7 @@
}
if
(
roomType
==
ChatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
async
function
getGlobalParam
(
chatServerUrl
,
cmsServerUrl
,
platform
,
isMobile
,
isOnline
)
{
...
...
@@ -132,7 +136,7 @@
globalUserInfo
.
coWorkType
=
CollaborationTypeKey
.
AUDIO
;
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
});
}
};
...
...
public_new/collaboration_whiteboard.html
View file @
d12c2257
...
...
@@ -54,7 +54,7 @@
<!-- ユーザー追加オーバーレイ -->
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- オーバーレイ メニュー -->
<div
id=
"collaboration_picture_overlay_menu"
></div>
...
...
@@ -136,11 +136,15 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script
src=
"./js/language.js"
></script>
<script
src=
"./js/language_ko.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_ja.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/language_en.js"
charset=
"UTF-8"
></script>
<script
src=
"./js/chat-websocket.js"
></script>
<script
src=
"./js/chat-websocket-message.js"
></script>
<script
src=
"./js/chat-websocket-refresh-group-list.js"
></script>
<script
src=
"./js/chat-websocket-refresh-user-list-in-group.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/share.js"
></script>
<script>
...
...
@@ -162,7 +166,7 @@
let
collaborationJoinFlg
=
0
;
let
roomType
;
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
roomType
=
android
.
getRoomType
();
...
...
@@ -173,7 +177,7 @@
}
if
(
roomType
==
ChatRoomType
.
DM
)
{
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
$
(
'.add_user_btn'
).
removeClass
(
'none'
);
}
async
function
getGlobalParam
(
chatServerUrl
,
cmsServerUrl
,
platform
,
isMobile
,
isOnline
)
{
...
...
@@ -190,7 +194,7 @@
globalUserInfo
.
coWorkType
=
CollaborationTypeKey
.
BOARD
;
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
});
}
};
...
...
public_new/contact.html
View file @
d12c2257
...
...
@@ -191,6 +191,7 @@
<script
src=
"./js/chat-ui.js"
></script>
<script
src=
"./js/chat-util.js"
></script>
<script
src=
"./js/chat-db.js"
></script>
<script
src=
"./js/chat-db-foriOS.js"
></script>
<script>
String
.
prototype
.
replaceAll
=
function
(
org
,
dest
)
{
return
this
.
split
(
org
).
join
(
dest
);
...
...
public_new/js/chat-db-foriOS.js
View file @
d12c2257
const
NATIVE_KEY_IOS
=
{
getBeforeRoomType
:
"getBeforeRoomType"
,
getRoomType
:
"getRoomType"
,
removeFavoriteUser
:
"removeFavoriteUser"
,
addFavoriteUser
:
"addFavoriteUser"
,
removeFavoriteGroup
:
"removeFavoriteGroup"
,
addFavoriteGroup
:
"addFavoriteGroup"
,
getCollaborationJoinFlg
:
"getCollaborationJoinFlg"
,
getUserInfoList
:
"getUserInfoList"
,
createContentView
:
"createContentView"
,
getToMoveGroupId
:
"getToMoveGroupId"
,
getJoinCollaborationType
:
"getJoinCollaborationType"
,
getHostRequestFlg
:
"getHostRequestFlg"
,
getRoomList
:
"getRoomList"
,
getMyInfo
:
"getMyInfo"
,
getMessages
:
"getMessages"
,
getFavoriteUsersNotInRoom
:
"getFavoriteUsersNotInRoom"
,
getFavoriteUsers
:
"getFavoriteUsers"
,
getFavoriteGroups
:
"getFavoriteGroups"
,
getMyGroupUsers
:
"getMyGroupUsers"
,
getGroupInfo
:
"getGroupInfo"
,
getGroupInfoForAddUser
:
"getGroupInfoForAddUser"
,
getSelectedUserList
:
"getSelectedUserList"
,
getNameCardData
:
"getNameCardData"
,
getMyGroupShopMemberByName
:
"getMyGroupShopMemberByName"
,
getMyGroupShopMemberNotInRoomByName
:
"getMyGroupShopMemberNotInRoomByName"
,
getAllGroupShopMemberByName
:
"getAllGroupShopMemberByName"
,
getAllGroupShopMemberNotInRoomByName
:
"getAllGroupShopMemberNotInRoomByName"
,
getGroupByName
:
"getGroupByName"
,
getUsersInRoom
:
"getUsersInRoom"
,
getArchiveList
:
"getArchiveList"
,
getArchiveByName
:
"getArchiveByName"
,
getArchiveDetail
:
"getArchiveDetail"
,
searchMessages
:
"searchMessages"
,
getMyGroupUsersNotInRoom
:
"getMyGroupUsersNotInRoom"
,
getUserInfo
:
"getUserInfo"
,
getUserListByLoginId
:
"getUserListByLoginId"
,
};
// ios用
function
callNativeApp
(
iosKey
,
jsonData
)
{
console
.
log
(
"callNativeApp called"
);
...
...
public_new/js/chat-db.js
View file @
d12c2257
includeJs
(
"./js/chat-db-foriOS.js"
);
// 名前空間
var
CHAT_DB
=
{};
includeJs
(
"./js/chat-db-foriOS.js"
);
//ロカールDBからルーム一覧情報を取得
CHAT_DB
.
getRoomList
=
function
(
roomType
,
keyWord
)
{
if
(
CHAT_UTIL
.
isIOS
())
{
...
...
public_new/js/chat-ui.js
View file @
d12c2257
...
...
@@ -945,19 +945,25 @@ CHAT_UI.refreshRoomList = function (roomType) {
}
var displayMsg;
//TODO 協業の場合処理追加必要
if (
room.messageType == MessageType.TEXT ||
room.messageType == MessageType.TEXT
)
displayMsg = room.message;
if (room.messageType == MessageType.IMAGE)
displayMsg = getLocalizedString("image");
if (room.messageType == MessageType.VIDEO)
displayMsg = getLocalizedString("video");
if (room.messageType == MessageType.COMMUNICATIONSTART)
displayMsg = getLocalizedString("collaboration_start");
if (room.messageType == MessageType.COMMUNICATIONEND)
displayMsg = getLocalizedString("collaboration_end");
switch (room.messageType) {
case MessageType.TEXT:
displayMsg = room.message;
break;
case MessageType.IMAGE:
displayMsg = getLocalizedString("image");
break;
case MessageType.VIDEO:
displayMsg = getLocalizedString("video");
break;
case MessageType.COMMUNICATIONSTART:
displayMsg = getLocalizedString("collaboration_start");
break;
case MessageType.COMMUNICATIONEND:
displayMsg = getLocalizedString("collaboration_end");
break;
default:
break;
}
var attendUserName = [];
room.attendUsers.forEach(function (user) {
...
...
public_new/js/chat.js
View file @
d12c2257
...
...
@@ -402,6 +402,7 @@ document.addEventListener("DOMContentLoaded", function () {
$
(
"#searchMessage"
).
addClass
(
"onfocus"
);
$
(
".chat_list"
).
removeClass
(
"none"
);
});
$
(
".chat_room_src_form .cancel"
).
click
(
function
()
{
$
(
".nav_item_wrap"
).
removeClass
(
"none"
);
$
(
".footer-wrap"
).
removeClass
(
"none"
);
...
...
public_new/js/constant.js
View file @
d12c2257
...
...
@@ -110,3 +110,42 @@ const SOCKET_KEY = {
RETRY_JOIN_PROCESS
:
"retryJoinProcess"
,
JOIN
:
"join"
};
const
NATIVE_KEY_IOS
=
{
getBeforeRoomType
:
"getBeforeRoomType"
,
getRoomType
:
"getRoomType"
,
removeFavoriteUser
:
"removeFavoriteUser"
,
addFavoriteUser
:
"addFavoriteUser"
,
removeFavoriteGroup
:
"removeFavoriteGroup"
,
addFavoriteGroup
:
"addFavoriteGroup"
,
getCollaborationJoinFlg
:
"getCollaborationJoinFlg"
,
getUserInfoList
:
"getUserInfoList"
,
createContentView
:
"createContentView"
,
getToMoveGroupId
:
"getToMoveGroupId"
,
getJoinCollaborationType
:
"getJoinCollaborationType"
,
getHostRequestFlg
:
"getHostRequestFlg"
,
getRoomList
:
"getRoomList"
,
getMyInfo
:
"getMyInfo"
,
getMessages
:
"getMessages"
,
getFavoriteUsersNotInRoom
:
"getFavoriteUsersNotInRoom"
,
getFavoriteUsers
:
"getFavoriteUsers"
,
getFavoriteGroups
:
"getFavoriteGroups"
,
getMyGroupUsers
:
"getMyGroupUsers"
,
getGroupInfo
:
"getGroupInfo"
,
getGroupInfoForAddUser
:
"getGroupInfoForAddUser"
,
getSelectedUserList
:
"getSelectedUserList"
,
getNameCardData
:
"getNameCardData"
,
getMyGroupShopMemberByName
:
"getMyGroupShopMemberByName"
,
getMyGroupShopMemberNotInRoomByName
:
"getMyGroupShopMemberNotInRoomByName"
,
getAllGroupShopMemberByName
:
"getAllGroupShopMemberByName"
,
getAllGroupShopMemberNotInRoomByName
:
"getAllGroupShopMemberNotInRoomByName"
,
getGroupByName
:
"getGroupByName"
,
getUsersInRoom
:
"getUsersInRoom"
,
getArchiveList
:
"getArchiveList"
,
getArchiveByName
:
"getArchiveByName"
,
getArchiveDetail
:
"getArchiveDetail"
,
searchMessages
:
"searchMessages"
,
getMyGroupUsersNotInRoom
:
"getMyGroupUsersNotInRoom"
,
getUserInfo
:
"getUserInfo"
,
getUserListByLoginId
:
"getUserListByLoginId"
,
};
\ No newline at end of file
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