Compare commits

..

10 commits

Author SHA1 Message Date
Rodolphe Breard
03cb5406cf Add an explicit privacy policy
Google now requires applications published on the web store to publish a
privacy policy. Chromesoul's implicit "no log, no analytic" policy is
therefore now explicitly written.
https://blog.chromium.org/2016/04/ensuring-transparency-and-choice-in.html
https://developer.chrome.com/webstore/program_policies#userdata
https://developer.chrome.com/webstore/user_data
2016-04-17 11:38:56 +02:00
Rodolphe Breard
9ac3be8c2b Ignore vim's swap files. 2016-04-17 11:32:54 +02:00
Rodolphe Breard
739d6ce883 incrementing version number 2014-11-06 20:52:43 +01:00
Rodolphe Breard
c0460496dd font size enabled, closing issue #4 2014-11-06 20:52:11 +01:00
Rodolphe Breard
77d0a58646 quick and dirty bugfix 2014-11-06 20:03:46 +01:00
Rodolphe Breard
6ea048482e adding packaging tool 2014-11-06 19:52:42 +01:00
Rodolphe Breard
17c2a83c19 incrementing the version number 2014-11-06 19:04:11 +01:00
Rodolphe Breard
a95faa4e4f converting the chat font-size number input to a slider 2014-11-06 19:00:58 +01:00
Rodolphe Breard
d1cc85274a adding SirBelga to the credits file 2014-11-06 18:55:37 +01:00
Rodolphe Breard
7d9a97558c code styling 2014-11-06 18:52:14 +01:00
16 changed files with 522 additions and 489 deletions

1
.gitignore vendored
View file

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

View file

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

21
Makefile Normal file
View 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
View 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.

View file

@ -5,7 +5,7 @@
<title>Chromesoul</title>
<link rel="stylesheet" type="text/css" media="all" href="chromesoul.css">
</head>
<body>
<body id="body-id">
<p id="user-status" class="clickable">
<img src="img/status/me-disconnected.png" alt="disconnected" title="disconnected" id="user-status-img">
</p>
@ -23,7 +23,7 @@
<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_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>
</div>
<div id="chat-pannel">

View file

@ -93,7 +93,8 @@ ContactList.prototype.rmContact = function(name) {
};
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',
'disconnected': 'img/status/contact-disconnected.png',

View file

@ -82,6 +82,12 @@ OptionsManager.prototype.init = function() {
};
})(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) {

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

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

View file

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