Skip to content

Commit

Permalink
Merge pull request #669 from wireapp/staging
Browse files Browse the repository at this point in the history
release 2017-01-23
  • Loading branch information
Gregor Herdmann authored Jan 23, 2017
2 parents a5aab7b + e0e851f commit 0c141f2
Show file tree
Hide file tree
Showing 219 changed files with 5,069 additions and 2,349 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
/aws/static
/aws/templates/**/*.html
/aws/templates/auth
/aws/templates/sw.js
/aws/version
/bower_components
/deploy
Expand All @@ -19,6 +20,7 @@
/keys
/nbproject
/node_modules
/tags
/temp
/test/_SpecRunner.html
/test/coverage
Expand Down
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/3boZq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is-ci.com/user/installing-dependencies/#Installing-Packages-with-the-APT-Addon
addons:
Expand All @@ -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:
Expand Down Expand Up @@ -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"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ Run `yarn start` and Wire's web app will be available at:
### Status

[![Build Status](https://travis-ci.org/wireapp/wire-webapp.svg?branch=dev)](https://travis-ci.org/wireapp/wire-webapp)

### Translations

All Wire translations are crowdsourced via [Crowdin](https://crowdin.com/projects/wire).
Binary file modified app/font/Wire.ttf
Binary file not shown.
Binary file modified app/image/logo/notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/image/logo/wire-logo-120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 15 additions & 4 deletions app/page/template/_dist/app.htm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<script src="/script/util/protobuf.js"></script>
<script src="/script/util/keycode.js"></script>
<script src="/script/util/KeyUtil.js"></script>
<script src="/script/util/LocalizerUtil.js"></script>
<script src="/script/util/marked.js"></script>
<script src="/script/util/moment.js"></script>
<script src="/script/util/confirm.js"></script>
<script src="/script/util/PromiseQueue.js"></script>
<script src="/script/util/scroll-helpers.js"></script>
Expand Down Expand Up @@ -49,6 +51,7 @@
<!-- Localization -->
<script src="/script/localization/strings-init.js"></script>
<script src="/script/localization/strings-cs.js"></script>
<script src="/script/localization/strings-da.js"></script>
<script src="/script/localization/strings-de.js"></script>
<script src="/script/localization/strings-es.js"></script>
<script src="/script/localization/strings-fi.js"></script>
Expand Down Expand Up @@ -131,14 +134,16 @@
<script src="/script/location/GeoLocation.js"></script>
<!-- Conversation -->
<script src="/script/conversation/ConversationError.js"></script>
<script src="/script/conversation/ConversationType.js"></script>
<script src="/script/conversation/ConversationMapper.js"></script>
<script src="/script/conversation/ConversationRepository.js"></script>
<script src="/script/conversation/ConversationService.js"></script>
<script src="/script/conversation/ConversationServiceNoCompound.js"></script>
<script src="/script/conversation/ConversationStatus.js"></script>
<script src="/script/conversation/ConversationType.js"></script>
<script src="/script/conversation/ConversationUnreadType.js"></script>
<script src="/script/conversation/ConversationUpdateType.js"></script>
<script src="/script/conversation/ConversationService.js"></script>
<script src="/script/conversation/ConversationVerificationState.js"></script>
<script src="/script/conversation/EventMapper.js"></script>
<script src="/script/conversation/ConversationMapper.js"></script>
<script src="/script/conversation/ConversationRepository.js"></script>
<!-- Extensions -->
<script src="/script/extension/GiphyService.js"></script>
<script src="/script/extension/GiphyRepository.js"></script>
Expand Down Expand Up @@ -193,6 +198,8 @@
<script src="/script/view_model/GiphyViewModel.js"></script>
<script src="/script/view_model/ImageDetailViewViewModel.js"></script>
<script src="/script/view_model/VideoCallingViewModel.js"></script>
<script src="/script/view_model/content/CollectionViewModel.js"></script>
<script src="/script/view_model/content/CollectionDetailsViewModel.js"></script>
<script src="/script/view_model/content/ConnectRequestsViewModel.js"></script>
<script src="/script/view_model/content/ContentState.js"></script>
<script src="/script/view_model/content/ContentViewModel.js"></script>
Expand Down Expand Up @@ -224,13 +231,15 @@
<script src="/script/components/deviceRemove.js"></script>
<script src="/script/components/ephemeralTimer.js"></script>
<script src="/script/components/groupList.js"></script>
<script src="/script/components/image.js"></script>
<script src="/script/components/inputElement.js"></script>
<script src="/script/components/inputLevel.js"></script>
<script src="/script/components/topPeople.js"></script>
<script src="/script/components/userAvatar.js"></script>
<script src="/script/components/userProfile.js"></script>
<script src="/script/components/userInput.js"></script>
<script src="/script/components/userList.js"></script>
<script src="/script/components/asset/assetHeader.js"></script>
<script src="/script/components/asset/videoAsset.js"></script>
<script src="/script/components/asset/audioAsset.js"></script>
<script src="/script/components/asset/fileAsset.js"></script>
Expand All @@ -243,6 +252,8 @@
<script src="/script/components/calling/deviceToggleButton.js"></script>
<!-- Entities -->
<script src="/script/message/CallMessageType.js"></script>
<script src="/script/message/MessageCategory.js"></script>
<script src="/script/message/MessageCategorization.js"></script>
<script src="/script/message/EphemeralStatusType.js"></script>
<script src="/script/message/StatusType.js"></script>
<script src="/script/message/PingMessageType.js"></script>
Expand Down
37 changes: 37 additions & 0 deletions app/page/template/content/collection-details.htm
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>
82 changes: 82 additions & 0 deletions app/page/template/content/collection.htm
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>
1 change: 0 additions & 1 deletion app/page/template/content/conversation.htm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include('content/conversation/message-list.htm')
#include('content/conversation/conversation-input.htm')
#include('content/conversation/participants.htm')
#include('content/conversation/detail-view.htm')
#include('content/conversation/giphy.htm')
<!-- /ko -->

Expand Down
22 changes: 21 additions & 1 deletion app/page/template/content/conversation/conversation-input.htm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
resize: input,
resize_callback: scroll_message_list,
click: on_input_click,
attr: {'placeholder': input_tooltip}"
attr: {'placeholder': input_tooltip},
paste_file: on_paste_files"
data-uie-name="input-message"
dir="auto">
</textarea>
Expand Down Expand Up @@ -97,5 +98,24 @@
</div>
<!-- /ko -->
<!-- /ko -->

<!-- ko if: pasted_file() -->
<div class="conversation-input-paste-modal">
<div class="controls-left"></div>
<div class="controls-center">
<!-- ko ifnot: pasted_file_preview_url() -->
<span class="conversation-input-paste-icon icon-file"></span>
<!-- /ko -->
<!-- ko if: pasted_file_preview_url() -->
<img class="conversation-input-paste-image conversation-input-paste-icon" data-bind="attr: {'src': pasted_file_preview_url()}">
<!-- /ko -->
<span data-bind="text: pasted_file_name"></span>
</div>
<div class="controls-right">
<span class="conversation-input-paste-cancel button-icon-large icon-close" data-bind="click: on_cancel_pasted_files"></span>
<span class="conversation-input-paste-send bg-theme icon-send" data-bind="click: on_send_pasted_files"></span>
</div>
</div>
<!-- /ko -->
</div>
<!--@formatter:on-->
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<div id="conversation-titlebar" class="conversation-titlebar" data-bind="with: $root.conversation_titlebar">
<!-- ko if: conversation_et() -->

<div class="conversation-titlebar-library">
<span class="conversation-titlebar-icon button-icon-large icon-collection"
data-bind="click: click_on_collection_button"
data-uie-name="do-collections"></span>
</div>

<!-- ko if: conversation_et().is_verified() -->
<svg class="conversation-verified-icon" width="16" height="16">
<use xlink:href="#icon-verified"></use>
Expand Down Expand Up @@ -35,7 +41,7 @@
<!-- ko if: has_ongoing_call() -->
<div class="conversation-titlebar-icons">
<!-- ko if: show_maximize_control() -->
<span class="conversation-titlebar-icon button-icon-large icon-fullscreen "
<span class="conversation-titlebar-icon button-icon-large icon-fullscreen"
data-bind="click: click_on_maximize"
data-uie-name="do-maximize-call">
</span>
Expand Down
Loading

0 comments on commit 0c141f2

Please sign in to comment.