Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
abook_check
  • 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
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • abook_android
  • abook_check
  • Merge Requests
  • !218

Merged
Opened Sep 06, 2021 by Kim Eunchul@kim-ec 
  • Report abuse
Report abuse

Communication/develop

×

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b communication/develop origin/communication/develop

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git checkout communication/develop_kim-ec
git merge --no-ff communication/develop

Step 4. Push the result of the merge to GitLab

git push origin communication/develop_kim-ec

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 12
  • Commits 124
  • Changes 58
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Kim Jinsung
    @kim_j started a discussion on commit ac47e259 Aug 05, 2021
    Last updated by onuma Aug 05, 2021
    ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ShowPushMessageDailogActivity.java
    147 }
    148 }
    149
    150 /**
    151 * チャットルームへ遷移するための処理
    152 * @param extras
    153 */
    154 private void moveChatRoom(Bundle extras) {
    155 Long roomId = extras.getLong(AppDefType.ChatPushMessageKey.roomId, 0);
    156 String roomName = extras.getString(AppDefType.ChatPushMessageKey.roomName);
    157 String pushSendLoginId = extras.getString(AppDefType.ChatPushMessageKey.pushSendLoginId);
    158 long pushSendDate = extras.getLong(AppDefType.ChatPushMessageKey.pushSendDate);
    159 String collaborationType = extras.getString(AppDefType.ChatPushMessageKey.collaborationType);
    160 String roomType = extras.getString(AppDefType.ChatPushMessageKey.roomType);
    161 if (roomId > 0 && !StringUtil.isNullOrEmpty(roomName)) {
    162 List<PushMessageDto> pushMessageDtoList = AbstractLogic.getLogic(PushMessageLogic.class).getAllPushMessageList();
    • Kim Jinsung @kim_j commented Aug 05, 2021
      Developer

      pushMessageDtoList この変数を使っている箇所はログ出力しかないですが、、いらないのではないでしょうか? ここからFor文までは、、不要な処理だと思います。

      `pushMessageDtoList` この変数を使っている箇所はログ出力しかないですが、、いらないのではないでしょうか? ここからFor文までは、、不要な処理だと思います。
    • onuma @onuma commented Aug 05, 2021
      Master

      ログ出力も含めて削除します。pushSendLoginIdも未使用なので削除します。

      ログ出力も含めて削除します。pushSendLoginIdも未使用なので削除します。
    Please register or sign in to reply
  • Kim Jinsung
    @kim_j started a discussion on commit 862d7cbe Aug 06, 2021
    Last updated by onuma Aug 06, 2021
    ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ShowPushMessageDailogActivity.java
    175 169 handler.post(new Runnable() {
    176 170 @Override
    177 171 public void run() {
    172 String dialogMessage = null;
    173 if (isMeetingRoomConnected) {
    174 dialogMessage = getRString(R.string.chat_open_fail_meeting_connected);
    175 }
    176 if (isCollabration) {
    177 dialogMessage = getRString(R.string.chat_open_fail_collaborattion_connected);
    178 }
    • Kim Jinsung @kim_j commented Aug 06, 2021
      Developer

      コラボレーション時にもisMeetingRoomConnectedがtrueになるので、 isCollabrationからチェックを行ったほうがよいかと思われます。 if (isCollabration) {

      } else if (isMeetingRoomConnected) { }

      コラボレーション時にも`isMeetingRoomConnected`がtrueになるので、 `isCollabration`からチェックを行ったほうがよいかと思われます。 if (isCollabration) { } else if (isMeetingRoomConnected) { }
    • onuma @onuma commented Aug 06, 2021
      Master

      確認して修正します。

      確認して修正します。
    Please register or sign in to reply
  • Kim Jinsung
    @kim_j started a discussion on commit f4c426c5 Aug 10, 2021
    Last updated by onuma Aug 10, 2021
    ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/json/ChatPushDataJSON.java
    48 48 }
    49 49 PushMessageDto pushMessageDto = new PushMessageDto();
    50 50 String tempDate = DateTimeUtil.toString(DateTimeUtil.toDate(pushMessagetJsonArray.getJSONObject(k).getString(PushSendDate), DateTimeFormat.yyyyMMddHHmmss_hyphen), DateTimeFormat.yyyyMMddHHmmssSSS_none);
    51 Logger.d("messageId","messageId : " + pushMessagetJsonArray.getJSONObject(k).getString(PushSendDate));
    52 Logger.d("oerationId","oerationId : " + pushMessagetJsonArray.getJSONObject(k).getString(PushSendDate)+1);
    53 Logger.d("date","date : " + tempDate);
    51 //Logger.d("messageId","messageId : " + pushMessagetJsonArray.getJSONObject(k).getString(PushSendDate));
    52 //Logger.d("oerationId","oerationId : " + pushMessagetJsonArray.getJSONObject(k).getString(PushSendDate)+1);
    53 //Logger.d("date","date : " + tempDate);
    • Kim Jinsung @kim_j commented Aug 10, 2021
      Developer

      不要なロジックは削除お願いします。

      不要なロジックは削除お願いします。
    • onuma @onuma commented Aug 10, 2021
      Master

      了解しました。

      了解しました。
    Please register or sign in to reply
  • Kim Jinsung
    @kim_j started a discussion on commit f4c426c5 Aug 10, 2021
    Last updated by onuma Aug 10, 2021
    ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/ABVFcmListenerService.java
    170 pushMsgDialog.putExtra(AppDefType.PushMessageKey.message, textMessage);
    171 pushMsgDialog.putExtra(AppDefType.PushMessageKey.data, data);
    172 pushMsgDialog.putExtra(AppDefType.PushMessageKey.operationId, operationID);
    173 pushMsgDialog.putExtra(AppDefType.ChatPushMessageKey.roomId, roomID);
    174 pushMsgDialog.putExtra(AppDefType.ChatPushMessageKey.roomName, roomName);
    175 pushMsgDialog.putExtra(AppDefType.ChatPushMessageKey.pushSendLoginId, pushSendLoginId);
    176 pushMsgDialog.putExtra(AppDefType.ChatPushMessageKey.pushSendDate, pushSendDate);
    177 startActivity(pushMsgDialog);
    197 // プッシュメッセージは、受信した時のActivityで処理をわける(後処理が違うので)
    198 String fromClassName = currentActivity.getClass().getName();
    199 if (currentActivity.getClass().equals(HTMLWebViewActivity.class)){
    200 ((HTMLWebViewActivity)currentActivity).showChatRoomPopupMessage(textMessage, data, operationID, roomID, roomName, roomType, pushSendLoginId, pushSendDate, collaborationType);
    201 } else if (currentActivity.getClass().equals(ContentViewActivity.class)){
    202 ((ContentViewActivity)currentActivity).showChatRoomPopupMessage(textMessage, data, operationID, roomID, roomName, roomType, pushSendLoginId, pushSendDate, collaborationType);
    203 } else if (currentActivity.getClass().equals(OperationRelatedContentActivity.class)){
    204 ((ContentViewActivity)currentActivity).showChatRoomPopupMessage(textMessage, data, operationID, roomID, roomName, roomType, pushSendLoginId, pushSendDate, collaborationType);
    • Kim Jinsung @kim_j commented Aug 10, 2021
      Developer

      キャスト(ContentViewActivity)これで正しいでしょうか? 「OperationRelatedContentActivity」ではないでしょうか?

      キャスト`(ContentViewActivity)`これで正しいでしょうか? 「`OperationRelatedContentActivity`」ではないでしょうか?
    • onuma @onuma commented Aug 10, 2021
      Master

      修正します。

      修正します。
    Please register or sign in to reply
  • Kim Jinsung
    @kim_j started a discussion on commit f4c426c5 Aug 10, 2021
    ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
    720 732 return;
    721 733 }
    722 734 mUploadMessage.onReceiveValue(result);
    723 } else if (requestCode == ABOOK_CHECK_SELECT_SCENE) {
    735 } else if (requestCode == ABookCommConstants.ABOOK_CHECK_SELECT_SCENE) {
    724 736 if (intent != null && result != null) {
    725 737 confirmEntrySceneDialog(result[0]);
    726 738 }
    727 739 }
    728 740 mUploadMessage = null;
    729 741 }
    742
    743 /**
    744 * プッシュメッセージ受信後のダイアログを表示処理。
    745 */
    746 public void showChatRoomPopupMessage(
    • Kim Jinsung @kim_j commented Aug 10, 2021
      Developer

      これって共通化できないのでしょうか? 親クラスとかで、、

      これって共通化できないのでしょうか? 親クラスとかで、、
    Please register or sign in to reply
  • Kim Jinsung
    @kim_j started a discussion on commit 8624f482 Aug 20, 2021
    ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
    1641 1641 String loginId = ABVDataCache.getInstance().getMemberInfo().loginId;
    1642 1642 String shopName = ABVDataCache.getInstance().getUrlPath();
    1643 1643 intent.putExtra("loginId", loginId);
    • Kim Jinsung @kim_j commented Aug 20, 2021
      Developer

      loginIdもキーにしましょう。

      loginIdもキーにしましょう。
    Please register or sign in to reply
  • Kim Peace
    @kim-p started a discussion on commit ad877e2d Aug 23, 2021
    • Kim Peace @kim-p

      mentioned in commit 67e6d9b2

      Aug 23, 2021

      mentioned in commit 67e6d9b2

      mentioned in commit 67e6d9b265658c69e48ec202c9a2832d90134217
      Toggle commit list
    Please register or sign in to reply
  • Kim Jinsung
    @kim_j started a discussion on commit 50b97e6a Aug 26, 2021
    Last updated by onuma Aug 26, 2021
    ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/ABVFcmListenerService.java
    98 98 msg.put(AppDefType.PushMessageKey.message, textMessage);
    99 99 }
    100 100
    101 String roomType = null;
    102 String[] inviteMessage;
    101 103 if (textMessage.contains(INVITE_COLLABORATION)) {
    102 String roomType = Integer.toString(json.getInt(AppDefType.ChatPushMessageKey.roomType));
    103 String[] inviteMessage = textMessage.split(CHAT_MESSAGE_SEPERATOR);
    104 showCollaborationPopUpMessage(roomId, roomName, roomType, pushSendLoginId, pushSendDate, inviteMessage[1]);
    105 return;
    104 roomType = Integer.toString(json.getInt(AppDefType.ChatPushMessageKey.roomType));
    105 inviteMessage = textMessage.split(CHAT_MESSAGE_SEPERATOR);
    106 //showCollaborationPopUpMessage(roomId, roomName, roomType, pushSendLoginId, pushSendDate, inviteMessage[1]);
    107 //return;
    108 Logger.i(TAG,"" + roomType);
    109 Logger.i(TAG,"" + inviteMessage[1]);
    • Kim Jinsung @kim_j commented Aug 26, 2021
      Developer

      重要な情報でないので、Logger.dにしてください。 ログの確認時にはLogger.dを利用してください。

      重要な情報でないので、Logger.dにしてください。 ログの確認時にはLogger.dを利用してください。
    • onuma @onuma commented Aug 26, 2021
      Master

      この行は、d901cb70 のコミットで消しました。最後のコミットのファイルで確認していただけますか?

      この行は、d901cb70 のコミットで消しました。最後のコミットのファイルで確認していただけますか?
    Please register or sign in to reply
  • onuma
    @onuma started a discussion on commit d901cb70 Aug 26, 2021
    • onuma @onuma

      mentioned in commit 50b97e6a

      Aug 26, 2021

      mentioned in commit 50b97e6a

      mentioned in commit 50b97e6a30ee7b11c694d1a107c30373bfc55b4f
      Toggle commit list
    Please register or sign in to reply
  • Kim Peace
    @kim-p started a discussion on commit 484b514b Aug 30, 2021
    • Kim Peace @kim-p

      mentioned in commit 60e0ca4b

      Aug 30, 2021

      mentioned in commit 60e0ca4b

      mentioned in commit 60e0ca4b1637389e412284d047fd380c74f95538
      Toggle commit list
    Please register or sign in to reply
  • Kim Eunchul @kim-ec

    merged

    Sep 06, 2021

    merged

    merged
    Toggle commit list
  • Kim Eunchul @kim-ec

    mentioned in commit 6c803151

    Sep 06, 2021

    mentioned in commit 6c803151

    mentioned in commit 6c803151327f35068f017ebf4262b323269b625d
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Kim Eunchul
Assignee
Kim Eunchul @kim-ec
Assign to
None
Milestone
None
Assign milestone
Time tracking
1
1 participant
Reference: abook_android/abook_check!218
×

Revert this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
×

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.