Browse Source

Improved version in source header

master
Igor Zhukov 11 years ago
parent
commit
9f70b38507
  1. 3
      Makefile
  2. 2
      app/js/app.js
  3. 4
      app/js/background.js
  4. 2
      app/js/controllers.js
  5. 2
      app/js/directives.js
  6. 4
      app/js/filters.js
  7. 4
      app/js/lib/aes_worker.js
  8. 2
      app/js/lib/mtproto.js
  9. 4
      app/js/lib/pq_worker.js
  10. 4
      app/js/lib/sha1_worker.js
  11. 2
      app/js/services.js
  12. 2
      app/js/util.js

3
Makefile

@ -2,7 +2,8 @@ bump: @@ -2,7 +2,8 @@ bump:
sed -i.bak 's/"version": ".*",/"version": "$(version)",/g' app/manifest.json
sed -i.bak 's/"version": ".*",/"version": "$(version)",/g' app/manifest.webapp
sed -i.bak 's/<span class="settings_version">alpha .*<\/span>/<span class="settings_version">alpha $(version)<\/span>/g' app/partials/settings_modal.html
rm app/manifest.json.bak app/manifest.webapp.bak app/partials/settings_modal.html.bak
grep -rl 'Webogram v' app | xargs -I {} sed -i.bak 's/Webogram v[0-9.]*/Webogram v$(version)/g' {}
find app -name *.bak | xargs rm
package:
rm -rf package_dist

2
app/js/app.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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

4
app/js/background.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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
@ -15,4 +15,4 @@ chrome.app.runtime.onLaunched.addListener(function(launchData) { @@ -15,4 +15,4 @@ chrome.app.runtime.onLaunched.addListener(function(launchData) {
minHeight: 400,
frame: 'chrome'
});
});
});

2
app/js/controllers.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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

2
app/js/directives.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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

4
app/js/filters.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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
@ -155,4 +155,4 @@ angular.module('myApp.filters', []) @@ -155,4 +155,4 @@ angular.module('myApp.filters', [])
}
return $filter('dateOrTime')(timestamp);
}
}])
}])

4
app/js/lib/aes_worker.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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
@ -23,4 +23,4 @@ onmessage = function (e) { @@ -23,4 +23,4 @@ onmessage = function (e) {
result = aesDecrypt(e.data.encryptedBytes, e.data.keyBytes, e.data.ivBytes);
}
postMessage({taskID: taskID, result: result});
}
}

2
app/js/lib/mtproto.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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

4
app/js/lib/pq_worker.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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
@ -13,4 +13,4 @@ importScripts( @@ -13,4 +13,4 @@ importScripts(
onmessage = function (e) {
postMessage(pqPrimeFactorization(e.data));
}
}

4
app/js/lib/sha1_worker.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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
@ -15,4 +15,4 @@ onmessage = function (e) { @@ -15,4 +15,4 @@ onmessage = function (e) {
var taskID = e.data.taskID;
postMessage({taskID: taskID, result: sha1Hash(e.data.bytes)});
}
}

2
app/js/services.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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

2
app/js/util.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*!
* Webogram v0.1 - messaging web application for MTProto
* Webogram v0.0.16 - 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

Loading…
Cancel
Save