Compare commits
10 commits
00d22a5535
...
03cb5406cf
Author | SHA1 | Date | |
---|---|---|---|
|
03cb5406cf | ||
|
9ac3be8c2b | ||
|
739d6ce883 | ||
|
c0460496dd | ||
|
77d0a58646 | ||
|
6ea048482e | ||
|
17c2a83c19 | ||
|
a95faa4e4f | ||
|
d1cc85274a | ||
|
7d9a97558c |
16 changed files with 522 additions and 489 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
*~
|
*~
|
||||||
test*
|
test*
|
||||||
publish
|
publish
|
||||||
|
*.swp
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
* [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
|
||||||
|
|
||||||
|
|
21
Makefile
Normal file
21
Makefile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
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
|
5
PRIVACY.md
Normal file
5
PRIVACY.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
## 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.
|
|
@ -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>
|
<body id="body-id">
|
||||||
<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="number" placeholder="12" id="chat-size" class="opt" value="" /><label for="chat-size">Chat font-size</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>
|
||||||
<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">
|
||||||
|
|
|
@ -93,7 +93,8 @@ ContactList.prototype.rmContact = function(name) {
|
||||||
};
|
};
|
||||||
|
|
||||||
ContactList.prototype.setImageStatus = function(img, status) {
|
ContactList.prototype.setImageStatus = function(img, status) {
|
||||||
var status_list = {'default' : 'img/status/contact-connected.png',
|
var status_list = {
|
||||||
|
'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',
|
||||||
|
|
|
@ -82,6 +82,12 @@ 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
Executable file → Normal file
2
lib/tab.nsui.js
Executable file → Normal file
|
@ -22,7 +22,6 @@ 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();
|
||||||
};
|
};
|
||||||
|
@ -132,7 +131,6 @@ 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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Chromesoul",
|
"name": "Chromesoul",
|
||||||
"version": "0.5.7",
|
"version": "0.6.2",
|
||||||
"minimum_chrome_version": "25",
|
"minimum_chrome_version": "25",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"offline_enabled": false,
|
"offline_enabled": false,
|
||||||
|
|
Reference in a new issue