Browse Source

Added changelogs

master
Igor Zhukov 9 years ago
parent
commit
f99ec1ee2d
  1. 12
      app/js/lib/mtproto.js
  2. 14
      app/partials/desktop/changelog_modal.html
  3. 18
      app/partials/mobile/changelog_modal.html

12
app/js/lib/mtproto.js

@ -12,15 +12,15 @@ angular.module('izhukov.mtproto', ['izhukov.utils']) @@ -12,15 +12,15 @@ angular.module('izhukov.mtproto', ['izhukov.utils'])
var dcOptions = Config.Modes.test
? [
{id: 1, host: '149.154.175.10', port: 80},
{id: 2, host: '149.154.167.40', port: 80},
{id: 1, host: '149.154.175.10', port: 80},
{id: 2, host: '149.154.167.40', port: 80},
{id: 3, host: '149.154.175.117', port: 80}
]
: [
{id: 1, host: '149.154.175.50', port: 80},
{id: 2, host: '149.154.167.51', port: 80},
{id: 1, host: '149.154.175.50', port: 80},
{id: 2, host: '149.154.167.51', port: 80},
{id: 3, host: '149.154.175.100', port: 80},
{id: 4, host: '149.154.167.91', port: 80},
{id: 4, host: '149.154.167.91', port: 80},
{id: 5, host: '149.154.171.5', port: 80}
];
@ -31,7 +31,7 @@ angular.module('izhukov.mtproto', ['izhukov.utils']) @@ -31,7 +31,7 @@ angular.module('izhukov.mtproto', ['izhukov.utils'])
var chosenServer = false,
i, dcOption;
if (Config.Modes.ssl) {
if (Config.Modes.ssl || !Config.Modes.http) {
var subdomain = sslSubdomains[dcID - 1] + (upload ? '-1' : '');
var path = Config.Modes.test ? 'apiw_test1' : 'apiw1';
chosenServer = 'https://' + subdomain + '.web.telegram.org/' + path;

14
app/partials/desktop/changelog_modal.html

@ -31,6 +31,20 @@ @@ -31,6 +31,20 @@
<div class="md_modal_sections">
<div class="md_modal_versioned_section_wrap" ng-if="canShowVersion('0.4.7')">
<div class="md_modal_section_version">0.4.7</div>
<div class="md_modal_section_description changelog_version_changes">
<ul class="list-unstyled changelog_version_changes_list">
<li>New bot API, free for everyone. If you're an engineer, create your own bots for games, services or integrations.
</li>
<li>Check out <a href="https://telegram.org/blog/bot-revolution" target="_blank">Telegram Blog</a> for more info</li>
<li>Improved Stickers support: now the images are loading much faster.</li>
<li>Click on the custom sticker in history to open Stickerset.</li>
<li>[Mobile] Supported replies: tap on a message and select "Reply".</li>
</ul>
</div>
</div>
<div class="md_modal_versioned_section_wrap" ng-if="canShowVersion('0.4.6')">
<div class="md_modal_section_version">0.4.6</div>
<div class="md_modal_section_description changelog_version_changes">

18
app/partials/mobile/changelog_modal.html

@ -19,9 +19,25 @@ @@ -19,9 +19,25 @@
<div class="modal_section changelog_version_wrap">
<h3 class="modal_section_header changelog_version_title">
Version 0.4.6
Version 0.4.7
<span class="pull-right" my-i18n="changelog_modal_title_current_version"></span>
</h3>
<div class="modal_section_body changelog_version_changes">
<ul class="list-unstyled changelog_version_changes_list">
<li>New bot API, free for everyone. If you're an engineer, create your own bots for games, services or integrations.
</li>
<li>Check out <a href="https://telegram.org/blog/bot-revolution" target="_blank">Telegram Blog</a> for more info</li>
<li>Improved Stickers support: now the images are loading much faster.</li>
<li>Click on the custom sticker in history to open Stickerset.</li>
<li>[Mobile] Supported replies: tap on a message and select "Reply".</li>
</ul>
</div>
</div>
<div class="modal_section changelog_version_wrap">
<h3 class="modal_section_header changelog_version_title">
Version 0.4.6
</h3>
<div class="modal_section_body changelog_version_changes">
<ul class="list-unstyled changelog_version_changes_list">
<li>Install and share custom sticker sets like this one: <a href="tg://addstickers?set=Animals">telegram.me/addstickers/Animals</a></li>

Loading…
Cancel
Save