Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Added proxy support to cli #770

Merged
merged 2 commits into from Nov 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 17 additions & 17 deletions packages/Chatdown/test/cli.transcript
@@ -1,10 +1,10 @@
[
{
"conversation": {
"id": "4cGMIt3k9czIfv/SOnqxgNNY+LU="
"id": "V5Yt3PKRFaB1R1/3MyhqY0vI/UI="
},
"id": "1",
"timestamp": "2018-10-02T01:41:32.100Z",
"timestamp": "2018-11-15T20:05:30.100Z",
"type": "conversationUpdate",
"channelId": "chatdown",
"membersAdded": [
Expand All @@ -18,17 +18,17 @@
},
{
"conversation": {
"id": "4cGMIt3k9czIfv/SOnqxgNNY+LU="
"id": "V5Yt3PKRFaB1R1/3MyhqY0vI/UI="
},
"id": "2",
"text": "[ConversationUpdate:\r\n membersadded=Joe,Susan]",
"timestamp": "2018-10-02T01:41:34.100Z",
"text": "[ConversationUpdate:\n membersadded=Joe,Susan]",
"timestamp": "2018-11-15T20:05:32.100Z",
"type": "message",
"channelId": "chatdown"
},
{
"conversation": {
"id": "4cGMIt3k9czIfv/SOnqxgNNY+LU="
"id": "V5Yt3PKRFaB1R1/3MyhqY0vI/UI="
},
"id": "3",
"recipient": {
Expand All @@ -41,14 +41,14 @@
"name": "LulaBot",
"role": "bot"
},
"text": "Hi Joe!\r\nLulaBot->Susan: Hi Susan!\r\n\r\n[ConversationUpdate:membersremoved=Susan]",
"timestamp": "2018-10-02T01:41:36.100Z",
"text": "Hi Joe!\nLulaBot->Susan: Hi Susan!\n\n[ConversationUpdate:membersremoved=Susan]",
"timestamp": "2018-11-15T20:05:34.100Z",
"type": "message",
"channelId": "chatdown"
},
{
"conversation": {
"id": "4cGMIt3k9czIfv/SOnqxgNNY+LU="
"id": "V5Yt3PKRFaB1R1/3MyhqY0vI/UI="
},
"id": "4",
"recipient": {
Expand All @@ -62,13 +62,13 @@
"role": "user"
},
"text": "Hi!",
"timestamp": "2018-10-02T01:41:38.100Z",
"timestamp": "2018-11-15T20:05:36.100Z",
"type": "message",
"channelId": "chatdown"
},
{
"conversation": {
"id": "4cGMIt3k9czIfv/SOnqxgNNY+LU="
"id": "V5Yt3PKRFaB1R1/3MyhqY0vI/UI="
},
"id": "5",
"recipient": {
Expand All @@ -82,13 +82,13 @@
"role": "bot"
},
"text": "Hello there!",
"timestamp": "2018-10-02T01:41:40.100Z",
"timestamp": "2018-11-15T20:05:38.100Z",
"type": "message",
"channelId": "chatdown"
},
{
"conversation": {
"id": "4cGMIt3k9czIfv/SOnqxgNNY+LU="
"id": "V5Yt3PKRFaB1R1/3MyhqY0vI/UI="
},
"id": "7",
"recipient": {
Expand All @@ -101,13 +101,13 @@
"name": "LulaBot",
"role": "bot"
},
"timestamp": "2018-10-02T01:41:40.200Z",
"timestamp": "2018-11-15T20:05:38.200Z",
"type": "typing",
"channelId": "chatdown"
},
{
"conversation": {
"id": "4cGMIt3k9czIfv/SOnqxgNNY+LU="
"id": "V5Yt3PKRFaB1R1/3MyhqY0vI/UI="
},
"id": "8",
"recipient": {
Expand All @@ -120,8 +120,8 @@
"name": "LulaBot",
"role": "bot"
},
"text": "# cheese choices\r\n1. cheese 1 \r\n2. cheese 2\r\n3. cheese 3",
"timestamp": "2018-10-02T01:41:47.200Z",
"text": "# cheese choices\n1. cheese 1 \n2. cheese 2\n3. cheese 3",
"timestamp": "2018-11-15T20:05:45.200Z",
"type": "message",
"channelId": "chatdown",
"suggestedActions": {
Expand Down
54 changes: 27 additions & 27 deletions packages/Chatdown/test/sample.transcript
@@ -1,10 +1,10 @@
[
{
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "9",
"timestamp": "2018-10-02T01:41:47.300Z",
"timestamp": "2018-11-15T20:05:45.300Z",
"type": "conversationUpdate",
"channelId": "chatdown",
"membersAdded": [
Expand All @@ -18,7 +18,7 @@
},
{
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "10",
"recipient": {
Expand All @@ -32,13 +32,13 @@
"role": "user"
},
"text": "Hi!",
"timestamp": "2018-10-02T01:41:49.300Z",
"timestamp": "2018-11-15T20:05:47.300Z",
"type": "message",
"channelId": "chatdown"
},
{
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "11",
"recipient": {
Expand All @@ -52,7 +52,7 @@
"role": "bot"
},
"text": "Hello there!",
"timestamp": "2018-10-02T01:41:51.300Z",
"timestamp": "2018-11-15T20:05:49.300Z",
"type": "message",
"channelId": "chatdown"
},
Expand Down Expand Up @@ -116,7 +116,7 @@
}
],
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "12",
"recipient": {
Expand All @@ -130,13 +130,13 @@
"role": "bot"
},
"text": "",
"timestamp": "2018-10-02T01:41:53.300Z",
"timestamp": "2018-11-15T20:05:51.300Z",
"type": "message",
"channelId": "chatdown"
},
{
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "14",
"recipient": {
Expand All @@ -149,7 +149,7 @@
"name": "LulaBot",
"role": "bot"
},
"timestamp": "2018-10-02T01:41:53.400Z",
"timestamp": "2018-11-15T20:05:51.400Z",
"type": "typing",
"channelId": "chatdown"
},
Expand All @@ -161,7 +161,7 @@
}
],
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "13",
"recipient": {
Expand All @@ -175,7 +175,7 @@
"role": "bot"
},
"text": "web page attachment",
"timestamp": "2018-10-02T01:41:58.400Z",
"timestamp": "2018-11-15T20:05:56.400Z",
"type": "message",
"channelId": "chatdown"
},
Expand All @@ -199,7 +199,7 @@
}
],
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "15",
"recipient": {
Expand All @@ -213,7 +213,7 @@
"role": "bot"
},
"text": "Here are some pictures",
"timestamp": "2018-10-02T01:42:00.400Z",
"timestamp": "2018-11-15T20:05:58.400Z",
"type": "message",
"channelId": "chatdown",
"attachmentLayout": "carousel"
Expand All @@ -226,7 +226,7 @@
}
],
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "16",
"recipient": {
Expand All @@ -240,7 +240,7 @@
"role": "bot"
},
"text": "Here's card1",
"timestamp": "2018-10-02T01:42:02.400Z",
"timestamp": "2018-11-15T20:06:00.400Z",
"type": "message",
"channelId": "chatdown"
},
Expand All @@ -252,7 +252,7 @@
}
],
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "17",
"recipient": {
Expand All @@ -266,7 +266,7 @@
"role": "bot"
},
"text": "Here's card2",
"timestamp": "2018-10-02T01:42:04.400Z",
"timestamp": "2018-11-15T20:06:02.400Z",
"type": "message",
"channelId": "chatdown"
},
Expand Down Expand Up @@ -404,7 +404,7 @@
}
],
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "18",
"recipient": {
Expand All @@ -418,7 +418,7 @@
"role": "bot"
},
"text": "Here's adaptive card from disk",
"timestamp": "2018-10-02T01:42:06.400Z",
"timestamp": "2018-11-15T20:06:04.400Z",
"type": "message",
"channelId": "chatdown"
},
Expand Down Expand Up @@ -556,7 +556,7 @@
}
],
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "19",
"recipient": {
Expand All @@ -570,13 +570,13 @@
"role": "bot"
},
"text": "Here's json attachment from disk",
"timestamp": "2018-10-02T01:42:08.400Z",
"timestamp": "2018-11-15T20:06:06.400Z",
"type": "message",
"channelId": "chatdown"
},
{
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "20",
"recipient": {
Expand All @@ -590,13 +590,13 @@
"role": "user"
},
"text": "I would like some cheese.",
"timestamp": "2018-10-02T01:42:10.400Z",
"timestamp": "2018-11-15T20:06:08.400Z",
"type": "message",
"channelId": "chatdown"
},
{
"conversation": {
"id": "RuMT/Z9TMNVd+f1BBAPdlPBAC2g="
"id": "nXYwlFLY8P2BAos6NdhYy07Rz/U="
},
"id": "21",
"recipient": {
Expand All @@ -609,8 +609,8 @@
"name": "LulaBot",
"role": "bot"
},
"text": "# cheese choices\r\n1. cheese 1 \r\n2. cheese 2\r\n3. cheese 3",
"timestamp": "2018-10-02T01:42:12.400Z",
"text": "# cheese choices\n1. cheese 1 \n2. cheese 2\n3. cheese 3",
"timestamp": "2018-11-15T20:06:10.400Z",
"type": "message",
"channelId": "chatdown",
"suggestedActions": {
Expand Down