Bump to 0.5.3
This commit is contained in:
parent
83daade80b
commit
0125cb9a1f
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -65,6 +65,7 @@
|
||||
(function initApplication () {
|
||||
var classes = [
|
||||
Config.Navigator.osX ? 'osx' : 'non_osx',
|
||||
Config.Navigator.msie ? 'msie' : 'non_msie',
|
||||
Config.Navigator.retina ? 'is_2x' : 'is_1x'
|
||||
];
|
||||
if (Config.Modes.ios_standalone) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
@ -21,7 +21,7 @@ Config = window.Config || {};
|
||||
Config.App = {
|
||||
id: 2496,
|
||||
hash: '8da85b0d5bfe62527e5b244c209159c3',
|
||||
version: '0.5.2',
|
||||
version: '0.5.3',
|
||||
domains: ['web.telegram.org', 'zhukov.github.io']
|
||||
};
|
||||
|
||||
@ -44,6 +44,7 @@ Config.Modes = {
|
||||
Config.Navigator = {
|
||||
osX: (navigator.platform || '').toLowerCase().indexOf('mac') != -1 ||
|
||||
(navigator.userAgent || '').toLowerCase().indexOf('mac') != -1,
|
||||
msie: (navigator.userAgent || '').search(/MSIE | Trident\/|Edge\//) != -1,
|
||||
retina: window.devicePixelRatio > 1,
|
||||
ffos: navigator.userAgent.search(/mobi.+Gecko/i) != -1,
|
||||
ffos2p: navigator.userAgent.search(/mobi.+Gecko\/[34567]/i) != -1,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
@ -487,14 +487,14 @@ angular.module('izhukov.mtproto.wrapper', ['izhukov.utils', 'izhukov.mtproto'])
|
||||
}
|
||||
}
|
||||
|
||||
// console.log(dT(), 'Dload file', dcID, location, size);
|
||||
console.log(dT(), 'Dload file', dcID, location, size);
|
||||
var fileName = getFileName(location),
|
||||
toFileEntry = options.toFileEntry || null,
|
||||
cachedPromise = cachedSavePromises[fileName] || cachedDownloadPromises[fileName];
|
||||
|
||||
var fileStorage = getFileStorage();
|
||||
|
||||
// console.log(dT(), 'fs', fileStorage, fileName, cachedPromise);
|
||||
console.log(dT(), 'fs', fileStorage.name, fileName, cachedPromise);
|
||||
|
||||
if (cachedPromise) {
|
||||
if (toFileEntry) {
|
||||
@ -520,7 +520,9 @@ angular.module('izhukov.mtproto.wrapper', ['izhukov.utils', 'izhukov.mtproto'])
|
||||
};
|
||||
|
||||
|
||||
console.log(dT(), 'fs get file', fileName, size);
|
||||
fileStorage.getFile(fileName, size).then(function (blob) {
|
||||
console.log(dT(), 'fs got file', fileName, size);
|
||||
if (toFileEntry) {
|
||||
FileManager.copy(blob, toFileEntry).then(function () {
|
||||
deferred.resolve();
|
||||
@ -529,6 +531,7 @@ angular.module('izhukov.mtproto.wrapper', ['izhukov.utils', 'izhukov.mtproto'])
|
||||
deferred.resolve(cachedDownloads[fileName] = blob);
|
||||
}
|
||||
}, function () {
|
||||
console.log(dT(), 'fs fail file', fileName, size);
|
||||
var fileWriterPromise = toFileEntry ? FileManager.getFileWriter(toFileEntry) : fileStorage.getFileWriter(fileName, mimeType);
|
||||
|
||||
var processDownloaded = function (bytes) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
@ -375,11 +375,20 @@ angular.module('izhukov.utils', [])
|
||||
throw new Exception();
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('error opening db', error.message);
|
||||
storageIsAvailable = false;
|
||||
return $q.reject(error);
|
||||
}
|
||||
|
||||
var finished = false;
|
||||
setTimeout(function () {
|
||||
if (!finished) {
|
||||
request.onerror({type: 'IDB_CREATE_TIMEOUT'});
|
||||
}
|
||||
}, 3000);
|
||||
|
||||
request.onsuccess = function (event) {
|
||||
finished = true;
|
||||
db = request.result;
|
||||
|
||||
db.onerror = function (error) {
|
||||
@ -392,12 +401,14 @@ angular.module('izhukov.utils', [])
|
||||
};
|
||||
|
||||
request.onerror = function (event) {
|
||||
finished = true;
|
||||
storageIsAvailable = false;
|
||||
console.error('Error creating/accessing IndexedDB database', event);
|
||||
deferred.reject(event);
|
||||
}
|
||||
|
||||
request.onupgradeneeded = function (event) {
|
||||
finished = true;
|
||||
console.warn('performing idb upgrade from', event.oldVersion, 'to', event.newVersion);
|
||||
var db = event.target.result;
|
||||
if (event.oldVersion == 1) {
|
||||
@ -550,6 +561,7 @@ angular.module('izhukov.utils', [])
|
||||
openDatabase();
|
||||
|
||||
return {
|
||||
name: 'IndexedDB',
|
||||
isAvailable: isAvailable,
|
||||
saveFile: saveFile,
|
||||
getFile: getFile,
|
||||
@ -650,6 +662,7 @@ angular.module('izhukov.utils', [])
|
||||
requestFS();
|
||||
|
||||
return {
|
||||
name: 'TmpFS',
|
||||
isAvailable: isAvailable,
|
||||
saveFile: saveFile,
|
||||
getFile: getFile,
|
||||
@ -684,6 +697,7 @@ angular.module('izhukov.utils', [])
|
||||
}
|
||||
|
||||
return {
|
||||
name: 'Memory',
|
||||
isAvailable: isAvailable,
|
||||
saveFile: saveFile,
|
||||
getFile: getFile,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Webogram v0.5.2 - messaging web application for MTProto
|
||||
* Webogram v0.5.3 - messaging web application for MTProto
|
||||
* https://github.com/zhukov/webogram
|
||||
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
||||
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
||||
|
@ -2805,21 +2805,30 @@ img.img_fullsize {
|
||||
|
||||
.composer_emoji_tooltip_tabs_wrap {
|
||||
height: 275px;
|
||||
width: 284px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.composer_emoji_tooltip_tabs_contents {
|
||||
position: absolute;
|
||||
// width: 200%;
|
||||
width: 568px;
|
||||
.transform(translate3d(0,0,0));
|
||||
|
||||
transition: transform ease-in-out 0.2s;
|
||||
|
||||
.composer_emoji_tooltip_tabs_stickers_active & {
|
||||
.transform(translate3d(-284px,0,0));
|
||||
|
||||
.non_msie & {
|
||||
transition: transform ease-in-out 0.2s;
|
||||
.transform(translate3d(0,0,0));
|
||||
}
|
||||
.non_msie .composer_emoji_tooltip_tabs_stickers_active & {
|
||||
.transform(translate3d(-284px,0,0));
|
||||
}
|
||||
|
||||
.msie & {
|
||||
margin-left: 0;
|
||||
transition: margin-left ease-in-out 0.2s;
|
||||
}
|
||||
.msie .composer_emoji_tooltip_tabs_stickers_active & {
|
||||
margin-left: -284px;
|
||||
}
|
||||
|
||||
}
|
||||
.composer_emoji_tooltip_tab_emoji_content,
|
||||
.composer_emoji_tooltip_tab_stickers_content {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Telegram",
|
||||
"description": "Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram",
|
||||
"version": "0.5.2",
|
||||
"version": "0.5.3",
|
||||
"short_name": "Telegram",
|
||||
"manifest_version": 2,
|
||||
"app": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Telegram",
|
||||
"description": "Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram",
|
||||
"version": "0.5.2",
|
||||
"version": "0.5.3",
|
||||
"type": "privileged",
|
||||
"launch_path": "/index.html",
|
||||
"developer": {
|
||||
|
@ -31,6 +31,20 @@
|
||||
|
||||
<div class="md_modal_sections">
|
||||
|
||||
<div class="md_modal_versioned_section_wrap" ng-if="canShowVersion('0.5.3')">
|
||||
<div class="md_modal_section_version">0.5.3</div>
|
||||
<div class="md_modal_section_description changelog_version_changes">
|
||||
<ul class="list-unstyled changelog_version_changes_list">
|
||||
<li>Inline bots: A new way to add bot content to any chat. Type a bot's username and your query in the text field to get instant results and send them to your chat partner. Try typing <code>@gif dog</code> in your next chat. Sample bots: @gif, @wiki, @bing, @vid, @bold.</li>
|
||||
<li>Check out the <a href="https://telegram.org/blog/inline-bots" target="_blank">Telegram Blog</a> for more info.</li>
|
||||
<li>Improved GIFs: 20x faster sending and downloading, nice animated progress</li>
|
||||
<li>Click on message date to reply (or to forward from channels).</li>
|
||||
<li>Preview images before sending when pasting from clipboard.</li>
|
||||
<li>Improved formatting for copy-pasted history fragments (date, time and sender names inserted automatically).</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="md_modal_versioned_section_wrap" ng-if="canShowVersion('0.5.2')">
|
||||
<div class="md_modal_section_version">0.5.2</div>
|
||||
<div class="md_modal_section_description changelog_version_changes">
|
||||
|
@ -19,9 +19,25 @@
|
||||
|
||||
<div class="modal_section changelog_version_wrap">
|
||||
<h3 class="modal_section_header changelog_version_title">
|
||||
Version 0.5.2
|
||||
Version 0.5.3
|
||||
<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>Inline bots: A new way to add bot content to any chat. Type a bot's username and your query in the text field to get instant results and send them to your chat partner. Try typing <code>@gif dog</code> in your next chat. Sample bots: @gif, @wiki, @bing, @vid, @bold.</li>
|
||||
<li>Check out the <a href="https://telegram.org/blog/inline-bots" target="_blank">Telegram Blog</a> for more info.</li>
|
||||
<li>Improved GIFs: 20x faster sending and downloading, nice animated progress</li>
|
||||
<li>Click on message date to reply (or to forward from channels).</li>
|
||||
<li>Preview images before sending when pasting from clipboard.</li>
|
||||
<li>Improved formatting for copy-pasted history fragments (date, time and sender names inserted automatically).</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal_section changelog_version_wrap">
|
||||
<h3 class="modal_section_header changelog_version_title">
|
||||
Version 0.5.2
|
||||
</h3>
|
||||
<div class="modal_section_body changelog_version_changes">
|
||||
<ul class="list-unstyled changelog_version_changes_list">
|
||||
<li>Unread counters for muted chats now colored in gray.</li>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Telegram",
|
||||
"description": "Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram",
|
||||
"version": "0.5.2",
|
||||
"version": "0.5.3",
|
||||
"main": "app/index.html",
|
||||
"single-instance": true,
|
||||
"dom_storage_quota": 40,
|
||||
|
Loading…
x
Reference in New Issue
Block a user