Browse Source

merged with master

gh-pages
Igor Zhukov 11 years ago
parent
commit
c04a0b6b15
  1. 5
      app.manifest
  2. 2
      index.html
  3. 17
      js/app-c68b084d.js
  4. 38064
      js/app-d0ffe55f.js
  5. 13
      js/lib/mtproto.js

5
app.manifest

@ -1,5 +1,5 @@
CACHE MANIFEST
# Time: Fri Mar 21 2014 13:42:13 GMT+0400 (MSK)
# Time: Fri Mar 21 2014 14:08:16 GMT+0400 (MSK)
CACHE:
@ -28,8 +28,7 @@ img/emojisprite_4.png
img/logo_dogogram.png
img/logo_share.png
img/sound_a.wav
js/app-afdcb8bd.js
js/app-d0ffe55f.js
js/app-c68b084d.js
js/background.js
img/icons/Checks1_1x.png
img/icons/Checks1_2x.png

2
index.html

@ -1 +1 @@
<!doctype html><html lang=en ng-app=myApp manifest=app.manifest><head><meta charset=utf-8><meta name=viewport content="width=device-width, user-scalable=no"><title>Webogram</title><link rel=stylesheet href=css/app.css><link rel=icon href=favicon.ico type=image/x-icon><meta property=og:title content=Webogram><meta property=og:url content="http://zhukov.github.io/webogram/"><meta property=og:image content=http://zhukov.github.io/webogram/img/logo_share.png><meta property=og:site_name content=Webogram><meta property=og:description content="Welcome to an experimental web-client of Telegram messenger. See https://github.com/zhukov/webogram for more info."></head><body><div ng-view=""></div><script src=js/app-afdcb8bd.js></script></body></html>
<!doctype html><html lang=en ng-app=myApp manifest=app.manifest><head><meta charset=utf-8><meta name=viewport content="width=device-width, user-scalable=no"><title>Webogram</title><link rel=stylesheet href=css/app.css><link rel=icon href=favicon.ico type=image/x-icon><meta property=og:title content=Webogram><meta property=og:url content="http://zhukov.github.io/webogram/"><meta property=og:image content=http://zhukov.github.io/webogram/img/logo_share.png><meta property=og:site_name content=Webogram><meta property=og:description content="Welcome to an experimental web-client of Telegram messenger. See https://github.com/zhukov/webogram for more info."></head><body><div ng-view=""></div><script src=js/app-c68b084d.js></script></body></html>

17
js/app-afdcb8bd.js → js/app-c68b084d.js

@ -30744,7 +30744,11 @@ factory('MtpAuthorizer', function (MtpDcConfigurator, MtpRsaKeysManager, MtpSecu
delete $http.defaults.headers.post['Content-Type'];
delete $http.defaults.headers.common['Accept'];
return $http.post('http://' + MtpDcConfigurator.chooseServer(dcID) + '/apiw1', resultArray.buffer, {
if (!('ArrayBufferView' in window)) {
resultArray = resultArray.buffer;
}
return $http.post('http://' + MtpDcConfigurator.chooseServer(dcID) + '/apiw1', resultArray, {
responseType: 'arraybuffer',
transformRequest: null,
transformResponse: function (responseBuffer) {
@ -31701,7 +31705,12 @@ factory('MtpNetworkerFactory', function (MtpDcConfigurator, MtpMessageIdGenerato
delete $http.defaults.headers.post['Content-Type'];
delete $http.defaults.headers.common['Accept'];
return $http.post('http://' + MtpDcConfigurator.chooseServer(self.dcID) + '/apiw1', request.getBuffer(), {
var resultArray = request.getArray();
if (!('ArrayBufferView' in window)) {
resultArray = resultArray.buffer;
}
return $http.post('http://' + MtpDcConfigurator.chooseServer(self.dcID) + '/apiw1', resultArray, {
responseType: 'arraybuffer',
transformRequest: null
});
@ -36127,7 +36136,7 @@ angular.module('myApp.controllers', [])
if (!hasMore || !offset) {
return;
}
console.trace('load history');
// console.trace('load history');
var inputMediaFilter = $scope.mediaType && {_: inputMediaFilters[$scope.mediaType]},
getMessagesPromise = inputMediaFilter
@ -37463,7 +37472,7 @@ angular.module('myApp.directives', ['myApp.filters'])
$(scrollable).css({bottom: ''});
scrollableWrap.scrollTop = st + scrollableWrap.scrollHeight - sh;
updateScroller();
updateBottomizer();
moreNotified = false;
$timeout(function () {

38064
js/app-d0ffe55f.js

File diff suppressed because one or more lines are too long

13
js/lib/mtproto.js

@ -1071,7 +1071,11 @@ factory('MtpAuthorizer', function (MtpDcConfigurator, MtpRsaKeysManager, MtpSecu
delete $http.defaults.headers.post['Content-Type'];
delete $http.defaults.headers.common['Accept'];
return $http.post('http://' + MtpDcConfigurator.chooseServer(dcID) + '/apiw1', resultArray.buffer, {
if (!('ArrayBufferView' in window)) {
resultArray = resultArray.buffer;
}
return $http.post('http://' + MtpDcConfigurator.chooseServer(dcID) + '/apiw1', resultArray, {
responseType: 'arraybuffer',
transformRequest: null,
transformResponse: function (responseBuffer) {
@ -2028,7 +2032,12 @@ factory('MtpNetworkerFactory', function (MtpDcConfigurator, MtpMessageIdGenerato
delete $http.defaults.headers.post['Content-Type'];
delete $http.defaults.headers.common['Accept'];
return $http.post('http://' + MtpDcConfigurator.chooseServer(self.dcID) + '/apiw1', request.getBuffer(), {
var resultArray = request.getArray();
if (!('ArrayBufferView' in window)) {
resultArray = resultArray.buffer;
}
return $http.post('http://' + MtpDcConfigurator.chooseServer(self.dcID) + '/apiw1', resultArray, {
responseType: 'arraybuffer',
transformRequest: null
});

Loading…
Cancel
Save