Browse Source

Rename project to Rambox-OS to disambiguate from upstream.

OS for open source.
pull/3202/head
TheGoddessInari 7 years ago
parent
commit
5d38e9d6a6
  1. 2
      .github/ISSUE_TEMPLATE.md
  2. 8
      app/Application.js
  3. 2
      app/model/Readme.md
  4. 2
      app/ux/Auth0.js
  5. 2
      app/view/add/AddController.js
  6. 2
      app/view/main/About.js
  7. 4
      app/view/preferences/Preferences.js
  8. 4
      electron/main.js
  9. 2
      electron/tray.js
  10. 2
      index.html
  11. 2
      masterpassword.html
  12. 2
      overrides/layout/container/boxOverflow/Scroller.js
  13. 181
      resources/languages/en.js
  14. 4
      test/tests/app/example.spec.js

2
.github/ISSUE_TEMPLATE.md

@ -18,7 +18,7 @@
<!-- Complete your environment --> <!-- Complete your environment -->
> Rambox: v0.X.X > Rambox-OS: v0.X.X
> OS: XXXX > OS: XXXX

8
app/Application.js

@ -212,15 +212,15 @@ Ext.define('Rambox.Application', {
newValue = parseInt(newValue); newValue = parseInt(newValue);
if ( newValue > 0 ) { if ( newValue > 0 ) {
if ( Ext.cq1('app-main').getActiveTab().record ) { if ( Ext.cq1('app-main').getActiveTab().record ) {
document.title = 'Rambox (' + Rambox.util.Format.formatNumber(newValue) + ') - '+Ext.cq1('app-main').getActiveTab().record.get('name'); document.title = 'Rambox-OS (' + Rambox.util.Format.formatNumber(newValue) + ') - '+Ext.cq1('app-main').getActiveTab().record.get('name');
} else { } else {
document.title = 'Rambox (' + Rambox.util.Format.formatNumber(newValue) + ')'; document.title = 'Rambox-OS (' + Rambox.util.Format.formatNumber(newValue) + ')';
} }
} else { } else {
if ( Ext.cq1('app-main') && Ext.cq1('app-main').getActiveTab().record ) { if ( Ext.cq1('app-main') && Ext.cq1('app-main').getActiveTab().record ) {
document.title = 'Rambox - '+Ext.cq1('app-main').getActiveTab().record.get('name'); document.title = 'Rambox-OS - '+Ext.cq1('app-main').getActiveTab().record.get('name');
} else { } else {
document.title = 'Rambox'; document.title = 'Rambox-OS';
} }
} }
} }

2
app/model/Readme.md

@ -13,7 +13,7 @@ Structure of a service entry:
|type|Defines the type of the service. Must be one of `email` or `messaging`.|yes| |type|Defines the type of the service. Must be one of `email` or `messaging`.|yes|
|allow_popups|Set to `true` to allow popup windows for the service.|no| |allow_popups|Set to `true` to allow popup windows for the service.|no|
|note|Additional info to display when adding the service.|no| |note|Additional info to display when adding the service.|no|
|manual_notifications|Set to `true` to let Rambox trigger notifications. Can be used for services that doesn't support browser notifications.|no| |manual_notifications|Set to `true` to let Rambox-OS trigger notifications. Can be used for services that doesn't support browser notifications.|no|
|js_unread|JavaScript code for setting the unread count (see below).|no| |js_unread|JavaScript code for setting the unread count (see below).|no|
### Setting the unread count ### Setting the unread count

2
app/ux/Auth0.js

@ -25,7 +25,7 @@ Ext.define('Rambox.ux.Auth0', {
,primaryColor: '#0675A0' ,primaryColor: '#0675A0'
} }
,languageDictionary: { ,languageDictionary: {
title: 'Rambox Account' title: 'Rambox-OS Account'
} }
,popupOptions: { ,popupOptions: {
nodeIntegration: 'no' nodeIntegration: 'no'

2
app/view/add/AddController.js

@ -68,7 +68,7 @@ Ext.define('Rambox.view.add.AddController', {
} }
// Apply the JS Code of the Tab // Apply the JS Code of the Tab
if ( win.down('textarea').isDirty() ) { if ( win.down('textarea').isDirty() ) {
Ext.Msg.confirm(locale['app.window[8]'].toUpperCase(), 'Rambox needs to reload the service to execute the new JavaScript code. Do you want to do it now?', function( btnId ) { Ext.Msg.confirm(locale['app.window[8]'].toUpperCase(), 'Rambox-OS needs to reload the service to execute the new JavaScript code. Do you want to do it now?', function( btnId ) {
if ( btnId === 'yes' ) view.reloadService(); if ( btnId === 'yes' ) view.reloadService();
}); });
} }

2
app/view/main/About.js

@ -28,6 +28,6 @@ Ext.define('Rambox.view.main.About', {
,'<br />' ,'<br />'
,'<div style="text-align:center;"><a href="https://github.com/TheGoddessInari/rambox" target="_blank">GitHub</a></div>' ,'<div style="text-align:center;"><a href="https://github.com/TheGoddessInari/rambox" target="_blank">GitHub</a></div>'
,'<br />' ,'<br />'
,'<div style="text-align:center;"><i>'+locale['app.about[4]']+' Ramiro Saenz. Now maintained and developed by TheGoddessInari.</i></div>' ,'<div style="text-align:center;"><i>'+locale['app.about[4]']+' TheGoddessInari. Original version by Ramiro Saenz.</i></div>'
] ]
}); });

4
app/view/preferences/Preferences.js

@ -39,7 +39,7 @@ Ext.define('Rambox.view.preferences.Preferences',{
var config = ipc.sendSync('getConfig'); var config = ipc.sendSync('getConfig');
var defaultServiceOptions = []; var defaultServiceOptions = [];
defaultServiceOptions.push({ value: 'ramboxTab', label: 'Rambox Tab' }); defaultServiceOptions.push({ value: 'ramboxTab', label: 'Rambox-OS Tab' });
defaultServiceOptions.push({ value: 'last', label: 'Last Active Service' }); defaultServiceOptions.push({ value: 'last', label: 'Last Active Service' });
Ext.getStore('Services').each(function(rec) { Ext.getStore('Services').each(function(rec) {
defaultServiceOptions.push({ defaultServiceOptions.push({
@ -170,7 +170,7 @@ Ext.define('Rambox.view.preferences.Preferences',{
,{ ,{
xtype: 'combo' xtype: 'combo'
,name: 'default_service' ,name: 'default_service'
,fieldLabel: 'Default service to display when Rambox starts' ,fieldLabel: 'Default service to display when Rambox-OS starts'
,labelAlign: 'top' ,labelAlign: 'top'
//,width: 380 //,width: 380
//,labelWidth: 105 //,labelWidth: 105

4
electron/main.js

@ -61,7 +61,7 @@ const appMenu = require('./menu')(config);
// Configure AutoLaunch // Configure AutoLaunch
const appLauncher = new AutoLaunch({ const appLauncher = new AutoLaunch({
name: 'Rambox' name: 'Rambox-OS'
,isHidden: config.get('start_minimized') ,isHidden: config.get('start_minimized')
}); });
config.get('auto_launch') && !isDev ? appLauncher.enable() : appLauncher.disable(); config.get('auto_launch') && !isDev ? appLauncher.enable() : appLauncher.disable();
@ -74,7 +74,7 @@ let isQuitting = false;
function createWindow () { function createWindow () {
// Create the browser window using the state information // Create the browser window using the state information
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
title: 'Rambox' title: 'Rambox-OS'
,icon: __dirname + '/../resources/Icon.' + (process.platform === 'linux' ? 'png' : 'ico') ,icon: __dirname + '/../resources/Icon.' + (process.platform === 'linux' ? 'png' : 'ico')
,backgroundColor: '#FFF' ,backgroundColor: '#FFF'
,x: config.get('x') ,x: config.get('x')

2
electron/tray.js

@ -32,7 +32,7 @@ exports.create = function(win, config) {
]); ]);
appIcon = new Tray(iconPath); appIcon = new Tray(iconPath);
appIcon.setToolTip('Rambox'); appIcon.setToolTip('Rambox-OS');
appIcon.setContextMenu(contextMenu); appIcon.setContextMenu(contextMenu);
switch (process.platform) { switch (process.platform) {

2
index.html

@ -5,7 +5,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Rambox</title> <title>Rambox-OS</title>
<!-- The line below must be kept intact for Sencha Cmd to build your application --> <!-- The line below must be kept intact for Sencha Cmd to build your application -->
<script id="microloader" type="text/javascript" src="bootstrap.js"></script> <script id="microloader" type="text/javascript" src="bootstrap.js"></script>

2
masterpassword.html

@ -10,7 +10,7 @@
<div style="background-image: url(resources/Icon.png);background-size:200px;width:200px;height:200px;position:relative;left:50%;margin-left:-100px;margin-top:100px;"></div> <div style="background-image: url(resources/Icon.png);background-size:200px;width:200px;height:200px;position:relative;left:50%;margin-left:-100px;margin-top:100px;"></div>
<div style="color:#FFF;text-align:center;font-size:20px;font-family:Verdana;margin:30px 0;">Master Password</div> <div style="color:#FFF;text-align:center;font-size:20px;font-family:Verdana;margin:30px 0;">Master Password</div>
<div style="text-align:center;margin:30px 0;"><input type="password" autofocus placeholder="Enter your password..." onkeyup="doValidate(event, this.value)" style="text-align:center;font-size:20px;font-family:Verdana;padding:10px;border: 0;" /><button onclick="onButtonClick()" style="height:44px;border:0;width:44px;position:relative;top:2px;font-size:30px;background-color:#053767;color:white;">&raquo;</button></div> <div style="text-align:center;margin:30px 0;"><input type="password" autofocus placeholder="Enter your password..." onkeyup="doValidate(event, this.value)" style="text-align:center;font-size:20px;font-family:Verdana;padding:10px;border: 0;" /><button onclick="onButtonClick()" style="height:44px;border:0;width:44px;position:relative;top:2px;font-size:30px;background-color:#053767;color:white;">&raquo;</button></div>
<div style="text-align:center;margin-top:60px;"><a href="#" onclick="exit()" style="text-decoration:none;color:#4e9dbb;font-family:Arial;">Exit Rambox</a></div> <div style="text-align:center;margin-top:60px;"><a href="#" onclick="exit()" style="text-decoration:none;color:#4e9dbb;font-family:Arial;">Exit Rambox-OS</a></div>
<script> <script>
function doValidate(e, value) { function doValidate(e, value) {
if (e.keyCode == 13) { if (e.keyCode == 13) {

2
overrides/layout/container/boxOverflow/Scroller.js

@ -1,6 +1,6 @@
/** /**
* Per default scrolling the tab bar moves the tabs 20 pixels. * Per default scrolling the tab bar moves the tabs 20 pixels.
* To improve the usability of the tab bar this value is increased for Rambox. * To improve the usability of the tab bar this value is increased for Rambox-OS.
* Also animations are enabled, so the user understands what's going on. * Also animations are enabled, so the user understands what's going on.
*/ */
Ext.define('Rambox.overrides.layout.container.boxOverflow.Scroller', { Ext.define('Rambox.overrides.layout.container.boxOverflow.Scroller', {

181
resources/languages/en.js

File diff suppressed because one or more lines are too long

4
test/tests/app/example.spec.js

@ -15,9 +15,9 @@ describe('Rambox window', function() {
*/ */
var ramboxTestHelper = new RamboxTestHelper(); var ramboxTestHelper = new RamboxTestHelper();
it('should have "Rambox" in the title', function () { it('should have "Rambox-OS" in the title', function () {
return ramboxTestHelper.app.client.browserWindow.getTitle().then(function(title) { return ramboxTestHelper.app.client.browserWindow.getTitle().then(function(title) {
expect(title).to.contain('Rambox'); expect(title).to.contain('Rambox-OS');
return Promise.resolve(); return Promise.resolve();
}); });
}) })

Loading…
Cancel
Save