-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #669 from wireapp/staging
release 2017-01-23
- Loading branch information
Showing
219 changed files
with
5,069 additions
and
2,349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,11 @@ env: | |
# RAYGUN_USERNAME | ||
- secure: "F+G6JgvLfvXjSmbDrV7VWefMbAD1qaA3aSIRF2OIwJMa9h6h4F3jYaX7w3+5BVBZnoMwl7XJC7tL732aIN4rr7l+VgAB8YjAzwbnTk19LS2/g4DrIBz6GVfBOFQtG9gMtpdJJmW8Xo3bDBuOXrGE2dZipz0E46NrHIp7JtEmqnv2DSLD0RwuCS+KMwtKzO8j9ZePrdNB66IxF/hPAeHOcyQg9t/7+szxXzX58rvqjVdgbLWyt16ZoVgNInuOrECricBJ8k7A5NzCjunvOsSE3YnNe86FRycpQd+XLvozqq3ZGvwuWKHzx6PfnqEEPKVNRun9deiv08BvTVxaqr4bK8pDMZEtqlL83WQcucB1uR+ldOYnG/DVfjgoGJ5kVmEyuUJu4CwTP1GkG0+vl/Bezkvzwt00k2d22x2jdKcdICAfzSXi2cz2SqeSSxF+L4n7Eml+G8a0NyIi/ZzVLQvaW4uZc+AK+Skz2q1HCp3POU0rX9I3cQKvq703oBRmkZjZLO16gySW9DMnlwIqDrIDOAYKG8ETwYIRPqm0juwAC7WkRgGJK+DWDwv2EEJbSD1urUMRUiuJkcXa8fWTPHV5/tA89JRsAqrgYPh+u6GjV9P00u/3boZqnMDPMtPUZVxfKUjcWA0HimfvP/Z+98i40Pg2GF6yUlpy1pMypfrp5jI=" | ||
# RAYGUN_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ing-Packages-with-the-APT-Addon | ||
addons: | ||
|
@@ -25,7 +25,7 @@ addons: | |
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ | ||
language: node_js | ||
node_js: | ||
- 6 | ||
- "6" | ||
|
||
# https://blog.travis-ci.com/2013-12-05-speed-up-your-builds-cache-your-dependencies | ||
cache: | ||
|
@@ -103,5 +103,8 @@ deploy: | |
branch: prod | ||
|
||
after_deploy: | ||
- chmod ugo+x ./bin/deployment_notification.sh | ||
- ./bin/deployment_notification.sh | ||
- "AUTHOR_OF_LAST_COMMIT=$(git log | grep Author: | cut -d' ' -f2- | uniq | head -n1)" | ||
- "SUMMARY_OF_LAST_COMMIT=$(git log -1 --pretty=%s)" | ||
- npm install [email protected] | ||
- chmod ugo+x ./bin/deployment_notification.js | ||
- node ./bin/deployment_notification.js "$AUTHOR_OF_LAST_COMMIT" "$SUMMARY_OF_LAST_COMMIT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<div id="collection-details" | ||
class="collection-details content" | ||
data-bind="with: $root.collection_details, removed_from_view: $root.collection_details.removed_from_view"> | ||
|
||
<!-- ko if: conversation_et() --> | ||
|
||
<div class="content-titlebar"> | ||
<div class="content-titlebar-items-left"> | ||
<span class="content-titlebar-icon icon-back" data-uie-name="do-collection-details-close" data-bind="click: click_on_back_button"></span> | ||
</div> | ||
<span class="content-titlebar-items-center" data-uie-name="collection-details-conversation-name" data-bind="text: conversation_et().display_name()"></span> | ||
</div> | ||
|
||
<div class="content-list-wrapper"> | ||
<div class="content-list collection-list" data-bind="antiscroll: true"> | ||
<div class="collection-images"> | ||
<!-- ko foreach: {data: items(), as: 'message_et'} --> | ||
<!-- ko if: $parent.should_show_header(message_et) --> | ||
<header class="collection-date-separator" data-bind="text: $parent.get_title_for_header(message_et)"></header> | ||
<!-- /ko --> | ||
<!-- ko if: message_et.category & z.message.MessageCategory.IMAGE --> | ||
<image-component class="collection-image" params="asset: message_et.get_first_asset().resource, click: function() {$parent.click_on_image(message_et)}"></image-component> | ||
<!-- /ko --> | ||
<!-- ko if: message_et.category & z.message.MessageCategory.LINK --> | ||
<link-preview-asset params="message: message_et, header: true"></link-preview-asset> | ||
<!-- /ko --> | ||
<!-- ko if: message_et.category & z.message.MessageCategory.FILE --> | ||
<file-asset class="collection-file" params="message: message_et, header: true"></file-asset> | ||
<!-- /ko --> | ||
<!-- /ko --> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- /ko --> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<div id="collection" | ||
class="collection content" | ||
data-bind="with: $root.collection, added_to_view: $root.collection.added_to_view, removed_from_view: $root.collection.removed_from_view"> | ||
|
||
<!-- ko if: conversation_et() --> | ||
|
||
<div class="content-titlebar"> | ||
<div class="content-titlebar-items-left"> | ||
<span class="content-titlebar-icon icon-close" data-bind="click: click_on_back_button"></span> | ||
</div> | ||
<span class="content-titlebar-items-center" data-bind="text: conversation_et().display_name()"></span> | ||
</div> | ||
|
||
<div class="content-list-wrapper"> | ||
<div class="content-list collection-list" data-bind="antiscroll: true"> | ||
|
||
<!-- ko ifnot: no_items_found() --> | ||
<!-- ko if: images().length --> | ||
<section class="collection-section" data-uie-name="collection-section-image" data-bind="attr: {'data-uie-collection-size': images().length}"> | ||
<header> | ||
<span class="collection-header-icon icon-library"></span> | ||
<span class="label-bold-xs" data-bind="l10n_text: z.string.collection_section_images"></span> | ||
<!-- ko if: images().length > 12 --> | ||
<span class="collection-header-all text-theme" data-bind="click: function() { click_on_section('images', images()) }"><span data-bind="l10n_html: {'id': z.string.collection_show_all, 'replace': {'placeholder': '%no', 'content': images().length}}" data-uie-name="collection-show-all"></span> <span class="icon-forward font-size-xxs"></span></span> | ||
<!-- /ko --> | ||
</header> | ||
<div class="collection-images"> | ||
<!-- ko foreach: {data: images.slice(0, 12), as: 'message_et'} --> | ||
<image-component class="collection-image" data-bind="click: $parent.click_on_image" params="asset: message_et.get_first_asset().resource"></image-component> | ||
<!-- /ko --> | ||
</div> | ||
</section> | ||
<!-- /ko --> | ||
|
||
<!-- ko if: links().length --> | ||
<section class="collection-section" data-uie-name="collection-section-link" data-bind="attr: {'data-uie-collection-size': links().length}"> | ||
<header> | ||
<span class="collection-header-icon icon-link"></span> | ||
<span class="label-bold-xs" data-bind="l10n_text: z.string.collection_section_links"></span> | ||
<!-- ko if: links().length > 4 --> | ||
<span class="collection-header-all text-theme" data-bind="click: function() { click_on_section('links', links()) }"><span data-bind="l10n_html: {'id': z.string.collection_show_all, 'replace': {'placeholder': '%no', 'content': links().length}}" data-uie-name="collection-show-all"></span> <span class="icon-forward font-size-xxs"></span></span> | ||
<!-- /ko --> | ||
</header> | ||
<div class="collection-images"> | ||
<!-- ko foreach: {data: links.slice(0, 4), as: 'message_et'} --> | ||
<link-preview-asset params="message: message_et, header: true"></link-preview-asset> | ||
<!-- /ko --> | ||
</div> | ||
</section> | ||
<!-- /ko --> | ||
|
||
<!-- ko if: files().length --> | ||
<section class="collection-section" data-uie-name="collection-section-file" data-bind="attr: {'data-uie-collection-size': files().length}"> | ||
<header> | ||
<span class="collection-header-icon icon-file"></span> | ||
<span class="label-bold-xs" data-bind="l10n_text: z.string.collection_section_files"></span> | ||
<!-- ko if: files().length > 4 --> | ||
<span class="collection-header-all text-theme" data-bind="click: function() { click_on_section('files', files()) }"><span data-bind="l10n_html: {'id': z.string.collection_show_all, 'replace': {'placeholder': '%no', 'content': files().length}}" data-uie-name="collection-show-all"></span> <span class="icon-forward font-size-xxs"></span></span> | ||
<!-- /ko --> | ||
</header> | ||
<div class="collection-images"> | ||
<!-- ko foreach: {data: files.slice(0, 4), as: 'message_et'} --> | ||
<file-asset class="collection-file" params="message: message_et, header: true"></file-asset> | ||
<!-- /ko --> | ||
</div> | ||
</section> | ||
<!-- /ko --> | ||
<!-- /ko --> | ||
|
||
<!-- ko if: no_items_found() --> | ||
<div class="absolute-center" data-uie-name="collection-no-items"> | ||
<div class="collection-no-items-icon icon-collection"></div> | ||
<div class="label-bold-xs text-graphite text-center">No items</div> | ||
</div> | ||
<!-- /ko --> | ||
|
||
</div> | ||
</div> | ||
|
||
<!-- /ko --> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.