Changeset View
Changeset View
Standalone View
Standalone View
views/conversation/main.qml
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Line(s) | 120 | { | |||
---|---|---|---|---|---|
122 | date: "2017-07-20T17:46:29", | 122 | date: "2017-07-20T17:46:29", | ||
123 | subject: "ComplexHTMLLongLine", | 123 | subject: "ComplexHTMLLongLine", | ||
124 | //We assume that @media trigger the complex html view | 124 | //We assume that @media trigger the complex html view | ||
125 | body: "<pre>Hi Mélanie,\n\nI'm sorry @media to start this on such late notice, but we'd like to get Foo and boo to woo next week, because the following weeks are unfortunately not possible for us.\n<pre>", | 125 | body: "<pre>Hi Mélanie,\n\nI'm sorry @media to start this on such late notice, but we'd like to get Foo and boo to woo next week, because the following weeks are unfortunately not possible for us.\n<pre>", | ||
126 | bodyIsHtml: true, | 126 | bodyIsHtml: true, | ||
127 | to: ["to@example.org"], | 127 | to: ["to@example.org"], | ||
128 | unread: true | 128 | unread: true | ||
129 | }, | 129 | }, | ||
130 | { | ||||
131 | resource: "resource1", | ||||
132 | date: "2017-07-20T17:47:29", | ||||
133 | subject: "WithAttachment", | ||||
134 | body: "Hi Mélanie,\n\nI'm sorry to start this on such late notice, but we'd like to get Foo and boo to woo next week, because the following weeks are unfortunately not possible for us.\n", | ||||
135 | to: ["to@example.org"], | ||||
136 | unread: true, | ||||
137 | attachments: [ | ||||
138 | { | ||||
139 | name: "myImage.png", | ||||
140 | mimeType: "image/png", | ||||
141 | data: "no real data", | ||||
142 | } | ||||
143 | ], | ||||
144 | }, | ||||
145 | { | ||||
146 | resource: "resource1", | ||||
147 | date: "2017-07-20T17:47:29", | ||||
148 | subject: "WithBadPKeyAttachment", | ||||
149 | body: "Hi Mélanie,\n\nI'm sorry to start this on such late notice, but we'd like to get Foo and boo to woo next week, because the following weeks are unfortunately not possible for us.\n", | ||||
150 | to: ["to@example.org"], | ||||
151 | unread: true, | ||||
152 | attachments: [ | ||||
153 | { | ||||
154 | name: "myKey.asc", | ||||
155 | mimeType: "application/pgp-keys", | ||||
156 | data: "no real data", | ||||
157 | } | ||||
158 | ], | ||||
159 | }, | ||||
160 | { | ||||
161 | resource: "resource1", | ||||
162 | date: "2017-07-20T17:47:29", | ||||
163 | subject: "WithGoodPKeyAttachment", | ||||
164 | body: "Hi Mélanie,\n\nI'm sorry to start this on such late notice, but we'd like to get Foo and boo to woo next week, because the following weeks are unfortunately not possible for us.\n", | ||||
165 | to: ["to@example.org"], | ||||
166 | unread: true, | ||||
167 | attachments: [ | ||||
168 | { | ||||
169 | name: "myKey.asc", | ||||
170 | mimeType: "application/pgp-keys", | ||||
171 | data: | ||||
172 | "-----BEGIN PGP PUBLIC KEY BLOCK----- | ||||
173 | | ||||
174 | mQENBEr9ij4BCADaFvyhzV7IrCAr/sCvfoPerAd4dYIGTeCeBmInu3p4oEG0rXTB | ||||
175 | 2zL2t9zd7jVwCmYLsqb0Y4+7UIulBTSVa/SxsFkxPIzQaGd+CYpIpCl2P7oXBQH/ | ||||
176 | 365i/gvng4UTb5CytBp9MToft2tUgqvK/LD30fBWbWVE1ohmuGYDviJesuqJGeRG | ||||
177 | KPOmjRk8LcXecZoNAnahy6y/rHPQzbC7LVazrWfdYCsZ1w202kwwLAPj0aNO6d4n | ||||
178 | M9NYo26/mB+5+odJ5gbxfdKWQQOFCha8UzEXbZzjJsRNFhUyuEDEd2gBlhDm3jrY | ||||
179 | ACT3u1adLJ1GsY6biN3u1IEUwi/7+uofZRPXABEBAAG0K3VuaXR0ZXN0IGtleSAo | ||||
180 | bm8gcGFzc3dvcmQpIDx0ZXN0QGtvbGFiLm9yZz6JATgEEwECACIFAkr9ij4CGwMG | ||||
181 | CwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEI2YYMWPJG3mxggH/iDnmHhKI40r | ||||
182 | bPvDPSMVFz4pNL5oYrGMjOUIz5ibjn9N19Fz/T5kxupbYVRbdcx6kRy4uQd97sJ8 | ||||
183 | 4985JkHEr/TSHne5p0F+tQLKq+WcJST+cbvkFR9m9WTZISOo+bP/rKGsf6GOGfl/ | ||||
184 | vzObv8tF0E8Yy0Lu1lYdynnBRygT+VKt5GzcNzsS3Af1kgrnoQ1gVWjKueSR32hJ | ||||
185 | BILfOpQlKP/RdrOND1N0uljaJBQsUmYDJ5Gd+YL0VX4/56tfqt4gcuqhiD+Vz6BG | ||||
186 | +55gqwuFK4/o2gawPELjOLUy5dh/b6MDvWehbasRPcyT1fFm9YY6iku4ZEx8EzLv | ||||
187 | IJKiXLAx1+i5AQ0ESv2KPgEIAO6+rYyBG0YBfacSx36VCrzvRe8V0CqmUkzIHZJ0 | ||||
188 | EN/s95yCQwG0yC3M0KRGDzTeCXRik68h/qdw3KEgfZzu4rJAj9w/J4JMtcuhuCYL | ||||
189 | rL4iP32hvLfqZDqwBaRCmlEkqArF0Jahb5SW3cPYZlE+I9I2V1xYX3bSZ7jcihAx | ||||
190 | VWtkheYtZcDY3u/7cWZNUauGNKRh4E0+ToCBI+erEd5EPCQDQrL/e5pEj+s/+Coy | ||||
191 | BvJeQdAPX/wjfYVe8t+5GDLqOvpbUBWJWUptv/oTd3wOtJCwwr/OWNeXf7ipgtoG | ||||
192 | KpJgr+FHLOEb3cXtF1YPzwpTOs/J/bv3JdGyQ3Kx1BlTUzUAEQEAAYkBHwQYAQIA | ||||
193 | CQUCSv2KPgIbDAAKCRCNmGDFjyRt5h0nB/40FPmVWhD2ok3opPRTwYMzUAOHkgMU | ||||
194 | k2bJfIH185hMvnHLAPCgUMr8xvjcx3NphiRCaC6mabIxHI9hDAbi6uyDBNTyQtm2 | ||||
195 | sl/r1vqjFcxX49l9yt0AgMy3284IdwK9xdlwMLY/MbCL9GKe/D6RmZ6i/4wpxHdP | ||||
196 | 9X3cGh66UW09NUO1Gria0isRfwf/OxkV+KxA7qxX2bWOHS3noUAj7I43MJCvTuAP | ||||
197 | gTIgEfjdpx1C2Tv97SxoLZ4t6raztvmwqIyCQIuzukD0H9JGFjWT9bGY7obPl7hO | ||||
198 | Bvr+rojxTJ3X+pzb2LJQwJnALL/VdIF3yHtGu2//Yfu4oxGGA0M90KiW | ||||
199 | =an8Y | ||||
200 | -----END PGP PUBLIC KEY BLOCK----- | ||||
201 | ", | ||||
202 | } | ||||
203 | ], | ||||
204 | }, | ||||
130 | ] | 205 | ] | ||
131 | }], | 206 | }], | ||
132 | } | 207 | } | ||
133 | TestStore.setup(initialState) | 208 | TestStore.setup(initialState) | ||
134 | } | 209 | } | ||
135 | 210 | | |||
136 | Shortcut { | 211 | Shortcut { | ||
137 | onActivated: Kube.Fabric.postMessage(Kube.Messages.search, {}) | 212 | onActivated: Kube.Fabric.postMessage(Kube.Messages.search, {}) | ||
138 | sequence: StandardKey.Find | 213 | sequence: StandardKey.Find | ||
139 | } | 214 | } | ||
140 | View { | 215 | View { | ||
141 | anchors.fill: parent | 216 | anchors.fill: parent | ||
142 | } | 217 | } | ||
143 | } | 218 | } |