Compare commits

..

No commits in common. "03cb5406cf4d6710fca8c5174e7d12f7a369f8c7" and "00d22a55359d37ceaa96fff13aa4b6b0a6037f0f" have entirely different histories.

16 changed files with 489 additions and 522 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
*~ *~
test* test*
publish publish
*.swp

View file

@ -2,7 +2,6 @@
* [Rodolphe Breard](http://blog.uraniborg.net/) (development) * [Rodolphe Breard](http://blog.uraniborg.net/) (development)
* [Romain Mardargent](http://ro-maen.com/) (design) * [Romain Mardargent](http://ro-maen.com/) (design)
* [SirBelga](https://github.com/SirBelga) (the mysterious merge-request guy who contributes to the code)
### Special thanks ### Special thanks

View file

@ -1,21 +0,0 @@
NAME = chromesoul
VERSION = $(shell cat manifest.json | /bin/grep '"version"' | cut -d '"' -f 4)
SRC = background.js \
chromesoul.css \
chromesoul.html \
chromesoul.js \
CREDITS.md \icon_128.png \
icon_16.png \
img \
lib \
LICENCE.txt \
manifest.json \
README.md \
third-party
PUBDIR = publish
ARCHIVE = $(PUBDIR)/chromesoul_$(VERSION).zip
all:
zip -r $(ARCHIVE) $(SRC)
rm -f $(PUBDIR)/chromesoul.zip
ln -s $(ARCHIVE) $(PUBDIR)/chromesoul.zip

View file

@ -1,5 +0,0 @@
## Privacy policy
Chromesoul is an instant messaging client, hence you need to supply your identification information in order to connect to the server. Your password is stored in Chrome's local storage and is not shared with anyone else than the server you want to connect to. Your login and contact list are stored in Chrome's synced storage, which implies that if you are logged in with a Google account, it will be shared with others Chrome browsers where you are logged in with your Google account. You can read more about how Google encrypts the synced data: [set or change a sync passphrase](https://support.google.com/chrome/answer/1181035)
In order to protect your privacy, Chromesoul does not log any conversation or activity and does not retrieve any analytic data. However, the server you connect to is not edited, maintained or affiliated in any way with Chromesoul and therefore may follow a different privacy policy.

View file

@ -5,7 +5,7 @@
<title>Chromesoul</title> <title>Chromesoul</title>
<link rel="stylesheet" type="text/css" media="all" href="chromesoul.css"> <link rel="stylesheet" type="text/css" media="all" href="chromesoul.css">
</head> </head>
<body id="body-id"> <body>
<p id="user-status" class="clickable"> <p id="user-status" class="clickable">
<img src="img/status/me-disconnected.png" alt="disconnected" title="disconnected" id="user-status-img"> <img src="img/status/me-disconnected.png" alt="disconnected" title="disconnected" id="user-status-img">
</p> </p>
@ -23,7 +23,7 @@
<input type="password" placeholder="Password (SOCKS)" id="pwd_socks" class="opt" value="" /><br> <input type="password" placeholder="Password (SOCKS)" id="pwd_socks" class="opt" value="" /><br>
<input type="checkbox" id="enable_notif" class="opt" checked="checked" /><label for="enable_notif">Enable notifications</label><br> <input type="checkbox" id="enable_notif" class="opt" checked="checked" /><label for="enable_notif">Enable notifications</label><br>
<input type="checkbox" id="enable_msg" class="opt" checked="checked" /><label for="enable_msg">Enable messages</label><br> <input type="checkbox" id="enable_msg" class="opt" checked="checked" /><label for="enable_msg">Enable messages</label><br>
<input type="range" min="8" max="24" step="2" value="12" id="chat-size" class="opt" /><label for="chat-size">Chat font-size</label><br> <input type="number" placeholder="12" id="chat-size" class="opt" value="" /><label for="chat-size">Chat font-size</label><br>
<button id="save">Save</button> <span id="status"></span> <button id="save">Save</button> <span id="status"></span>
</div> </div>
<div id="chat-pannel"> <div id="chat-pannel">

View file

@ -93,8 +93,7 @@ ContactList.prototype.rmContact = function(name) {
}; };
ContactList.prototype.setImageStatus = function(img, status) { ContactList.prototype.setImageStatus = function(img, status) {
var status_list = { var status_list = {'default' : 'img/status/contact-connected.png',
'default' : 'img/status/contact-connected.png',
'offline': 'img/status/contact-disconnected.png', 'offline': 'img/status/contact-disconnected.png',
'disconnected': 'img/status/contact-disconnected.png', 'disconnected': 'img/status/contact-disconnected.png',

View file

@ -82,12 +82,6 @@ OptionsManager.prototype.init = function() {
}; };
})(this)); })(this));
} }
var chat_size = document.getElementById("chat-size");
chat_size.addEventListener("change", function() {
var body = document.getElementById("body-id");
body.style.fontSize = chat_size.value + "px";
}, false);
}; };
OptionsManager.prototype.savePart = function(pass) { OptionsManager.prototype.savePart = function(pass) {

2
lib/tab.nsui.js Normal file → Executable file
View file

@ -22,6 +22,7 @@ var Tab = function(name) {
this.buff_len = 1000; this.buff_len = 1000;
this.history_index = 0; this.history_index = 0;
this.history = []; this.history = [];
$cs.opts.restore();
this.initListElement(); this.initListElement();
this.initBodyElement(); this.initBodyElement();
}; };
@ -131,6 +132,7 @@ Tab.prototype.hide = function() {
}; };
Tab.prototype.show = function() { Tab.prototype.show = function() {
this.options.restore();
if (typeof this.showHandler !== "undefined") { if (typeof this.showHandler !== "undefined") {
this.showHandler(); this.showHandler();
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "Chromesoul", "name": "Chromesoul",
"version": "0.6.2", "version": "0.5.7",
"minimum_chrome_version": "25", "minimum_chrome_version": "25",
"manifest_version": 2, "manifest_version": 2,
"offline_enabled": false, "offline_enabled": false,