Browse Source

Merge branch 'master' into nick/front-end

pull/1418/head
Nick 7 years ago committed by GitHub
parent
commit
ed7c8e5b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .travis.yml
  2. 12
      README.md
  3. 2
      app/Application.js
  4. 2
      app/package.json
  5. 11
      app/store/ServicesList.js
  6. 2
      appveyor.yml
  7. 2
      electron/menu.js
  8. 4
      index.html
  9. 38
      package-lock.json
  10. 6
      package.json
  11. BIN
      resources/icons/stride.png

1
.travis.yml

@ -53,6 +53,7 @@ deploy:
file_glob: true
file:
- "dist/*.zip"
- "dist/*.snap"
- "dist/*.deb"
- "dist/*.tar.gz"
- "dist/*.AppImage"

12
README.md

@ -158,6 +158,7 @@
<img width="80" align="left" src="https://raw.githubusercontent.com/saenzramiro/rambox/master/resources/icons/mailru.png" alt="Mail.Ru" title="Mail.Ru">
<img width="80" align="left" src="https://raw.githubusercontent.com/saenzramiro/rambox/master/resources/icons/kune.png" alt="Kune" title="Kune">
<img width="80" align="left" src="https://raw.githubusercontent.com/saenzramiro/rambox/master/resources/icons/zulip.png" alt="Zulip" title="Zulip">
<img width="80" align="left" src="https://raw.githubusercontent.com/saenzramiro/rambox/master/resources/icons/stride.png" alt="Stride" title="Stride">
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
@ -189,13 +190,10 @@ Sync feature use Auth0 for Single Sign On & Token Based Authentication and to st
## Donations
| Type | URL/Wallet |
|---------------|:------------------------------------------------------------------------------------------:|
| PayPal | [HERE](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WU75QWS7LH2CA) |
| Bitcoin | 1BjR8dARsnuqz41FZM9R8pPtYTeHn9mLSs |
| Bitcoin Cash | 1BjR8dARsnuqz41FZM9R8pPtYTeHn9mLSs |
| Ethereum | 0xf3d15f9649c6da63fc3971d8c82804dd677fd151 |
| Litecoin | Lf3CjUMhCVEvUjqMrNfRCkTbzRrd7KSdZn |
| Type | URL/Wallet |
|--------------------|:------------------------------------------------------------------------------------------:|
| PayPal | [HERE](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WU75QWS7LH2CA) |
| Cryptocurrencies | [HERE](https://www.vaulty.io/v/b6480279-af28-4855-868c-17e5cb0ae7fa) |
## Translations

2
app/Application.js

@ -244,7 +244,7 @@ Ext.define('Rambox.Application', {
'->'
,{
xtype: 'label'
,html: '<b>'+locale['app.update[0]']+'</b> ('+json.version+')' + ( process.platform === 'win32' ? ' Is downloading in the background and you will notify when is ready to install it.' : '' )
,html: '<b>'+locale['app.update[0]']+'</b> ('+json.version+')' + ( process.platform === 'win32' ? ' is downloading in the background and you will be notified when it is ready to be installed.' : '' )
}
,{
xtype: 'button'

2
app/package.json

@ -1,7 +1,7 @@
{
"name": "Rambox",
"productName": "Rambox",
"version": "0.5.14",
"version": "0.5.16",
"description": "Rambox",
"main": "electron/main.js",
"private": true,

11
app/store/ServicesList.js

@ -28,7 +28,7 @@ Ext.define('Rambox.store.ServicesList', {
,description: locale['services[0]']
,url: 'https://web.whatsapp.com/'
,type: 'messaging'
,js_unread: 'function checkUnread(){var i=0;document.querySelectorAll(".unread").forEach(function(e){0===e.querySelectorAll("[data-icon=muted]").length&&i++});updateBadge(i)}function updateBadge(count) { if (count && count >= 1) { rambox.setUnreadCount(count); } else { rambox.clearUnreadCount(); } }setInterval(checkUnread,1e3);'
,js_unread: 'function checkUnread(){const elements = document.querySelectorAll(\'.CxUIE, .unread\');let count = 0;for (let i = 0; i < elements.length; i++) {if (elements[i].querySelectorAll(\'*[data-icon="muted"]\').length === 0) {count++;}}updateBadge(count);}function updateBadge(count){if(count && count>=1){rambox.setUnreadCount(count);}else{rambox.clearUnreadCount();}}setInterval(checkUnread, 1e3);'
,dont_update_unread_from_title: true
},
{
@ -880,5 +880,14 @@ Ext.define('Rambox.store.ServicesList', {
,type: 'messaging'
,custom_domain: true
},
{
id: 'stride'
,logo: 'stride.png'
,name: 'Stride'
,description: 'Stride is the complete team communication solution with group messaging, video meetings, and built-in collaboration tools.'
,url: 'https://app.stride.com/___'
,type: 'messaging'
,js_unread: 'function checkUnread(){var t=0,e=!1;document.querySelectorAll(".conversations-nav .nav-item .activity-indicator").forEach(function(n){n.classList.contains("has-count")?t+=parseInt(n.innerHTML):e=!0}),updateBadge(t,e)}function updateBadge(t,e){var n=t>0?"("+t+") ":e?"(•) ":"";document.title=n+originalTitle}var originalTitle=document.title;setInterval(checkUnread,3e3);'
}
]
});

2
appveyor.yml

@ -1,4 +1,4 @@
version: 0.5.14
version: 0.5.16
pull_requests:
do_not_increment_build_number: true
branches:

2
electron/menu.js

@ -66,7 +66,7 @@ module.exports = function(config) {
{
label: `&`+locale['menu.help[2]'],
click() {
shell.openExternal('https://gitter.im/saenzramiro/rambox');
shell.openExternal('https://rambox.typeform.com/to/t7jc4C');
}
},
{

4
index.html

@ -15,7 +15,9 @@
xhr.open('HEAD', file + "?rand=" + randomNum, true);
xhr.send();
xhr.addEventListener("readystatechange", processRequest, false);
xhr.addEventListener("readystatechange", function() {
setTimeout(processRequest, 5000);
}, false);
function processRequest(e) {
if (xhr.readyState == 4) {

38
package-lock.json generated

@ -8,25 +8,9 @@
"integrity": "sha512-S2f7InK2SwceVFly0tx/+1xakOWhSZQeY5hOXFl/sZ9orfRE4i4Z9edsWonT5lyYTowBN73RwBbLqZaVrtSEuw==",
"dev": true,
"requires": {
"7zip-bin-linux": "1.3.1",
"7zip-bin-mac": "1.0.1",
"7zip-bin-win": "2.1.0"
}
},
"7zip-bin-linux": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/7zip-bin-linux/-/7zip-bin-linux-1.3.1.tgz",
"integrity": "sha512-Wv1uEEeHbTiS1+ycpwUxYNuIcyohU6Y6vEqY3NquBkeqy0YhVdsNUGsj0XKSRciHR6LoJSEUuqYUexmws3zH7Q==",
"dev": true,
"optional": true
},
"7zip-bin-mac": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/7zip-bin-mac/-/7zip-bin-mac-1.0.1.tgz",
"integrity": "sha1-Pmh3i78JJq3GgVlCcHRQXUdVXAI=",
"dev": true,
"optional": true
},
"7zip-bin-win": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/7zip-bin-win/-/7zip-bin-win-2.1.0.tgz",
@ -71,12 +55,6 @@
}
}
},
"@types/node": {
"version": "7.0.43",
"resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.43.tgz",
"integrity": "sha512-7scYwwfHNppXvH/9JzakbVxk0o0QUILVk1Lv64GRaxwPuGpnF1QBiwdvhDpLcymb8BpomQL3KYoWKq3wUdDMhQ==",
"dev": true
},
"abbrev": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz",
@ -1492,14 +1470,22 @@
}
},
"electron": {
"version": "1.7.8",
"resolved": "https://registry.npmjs.org/electron/-/electron-1.7.8.tgz",
"integrity": "sha1-J7eRpolRcafVKZG5lELNvRCjU50=",
"version": "1.8.3",
"resolved": "https://registry.npmjs.org/electron/-/electron-1.8.3.tgz",
"integrity": "sha512-ZZYSPB9tLh0m4uZOTcQllv/U8ts3GaMyEkBTooBr5rO+xl0WfQlecUcPuyw6aqtrZfNKsqLprorXKgsFmwcI5w==",
"dev": true,
"requires": {
"@types/node": "7.0.43",
"@types/node": "8.9.4",
"electron-download": "3.3.0",
"extract-zip": "1.6.5"
},
"dependencies": {
"@types/node": {
"version": "8.9.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-8.9.4.tgz",
"integrity": "sha512-dSvD36qnQs78G1BPsrZFdPpvLgMW/dnvr5+nTW2csMs5TiP9MOXrjUbnMZOEwnIuBklXtn7b6TPA2Cuq07bDHA==",
"dev": true
}
}
},
"electron-builder": {

6
package.json

@ -82,6 +82,10 @@
"tar.gz"
]
},
"snap": {
"confinement": "strict",
"grade": "stable"
},
"directories": {
"buildResources": "resources/installer/",
"output": "dist/",
@ -93,7 +97,7 @@
"chai": "3.5.0",
"crowdin": "1.0.0",
"csvjson": "4.3.3",
"electron": "^1.7.8",
"electron": "^1.8.3",
"electron-builder": "^17.10.0",
"electron-builder-squirrel-windows": "15.0.0",
"electron-squirrel-startup": "^1.0.0",

BIN
resources/icons/stride.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Loading…
Cancel
Save