Commit graph

100 commits

Author SHA1 Message Date
Ophir LOJKINE
bb165cd6e4 Allow multiple boards on a single wbo instance.
This is the last feature I wanted before switching to 1.0.
2014-02-22 20:49:14 +01:00
Ophir LOJKINE
aebd2ef973 improve display on mobile. There is still much to do... 2014-01-08 02:11:48 +01:00
Ophir LOJKINE
1037eba5e2 again 2014-01-08 00:37:46 +01:00
Ophir LOJKINE
b2879da9c0 smaller text size in menu 2014-01-08 00:29:25 +01:00
Ophir LOJKINE
346e0650bc typo 2014-01-08 00:28:25 +01:00
Ophir LOJKINE
9889987570 Improve behaviour when zooming. Makes wbo a bit more usable on small screens. 2014-01-08 00:22:05 +01:00
Ophir LOJKINE
4f6ce14f14 Add a small description 2014-01-07 23:18:45 +01:00
Ophir LOJKINE
3a73123e3e Add a link to the demonstration server 2014-01-07 23:15:30 +01:00
Ophir LOJKINE
8867dbee84 Merge branch 'master' of https://github.com/lovasoa/whitebophir
Include the hollidays changes, including the new color picker.
2014-01-06 12:59:01 +01:00
Ophir LOJKINE
d8d0ecb223 Old package.json 2014-01-06 12:58:44 +01:00
Ophir LOJKINE
a582ef4e18 Replace jscolor by a homemade color picker.
It is called canvascolor, and it's based on HTML5 canvas (we don't care, we don't target old browsers).
Advantages over jscolor:
 - has color history (previously choosed colors are displayed)
 - more beautiful
 - way smaller ~1KB when minified and gzipped. (It's not gzipped yet)
 - Works on fixed input elements (CSS position:fixed)
However:
 - Not every color can be choosen graphically. In HSV, only colors with S=1 are displayed.
 - Not tested on mobile (but it should work), not responsive to touch events.
2013-12-27 22:55:50 +01:00
Ophir LOJKINE
c2024c6c7a prepare multiple boards (rooms) 2013-12-27 22:55:42 +01:00
Ophir LOJKINE
fce882a5c5 bug correction 2013-12-26 03:20:06 +01:00
Ophir LOJKINE
464a39f238 Performance logging 2013-12-26 03:07:04 +01:00
Ophir LOJKINE
b6f6c9d035 Add a converter between the json history format and svg. 2013-12-26 02:52:41 +01:00
Ophir LOJKINE
70b1519205 Bug corrections 2013-12-26 02:50:00 +01:00
Ophir LOJKINE
abf028efeb Correct a bug that occured when the history file could not be written. 2013-12-25 22:30:45 +01:00
Ophir LOJKINE
7204c02a29 Create the server-data directory 2013-12-25 22:29:23 +01:00
Ophir LOJKINE
efd87429d3 Syntax error 2013-12-25 22:06:39 +01:00
Ophir LOJKINE
1baeb25681 Finally, we don't use mongodb (yet?) 2013-12-25 22:04:56 +01:00
Ophir LOJKINE
2257ba473a Add tool icons 2013-12-14 13:45:55 +01:00
Ophir LOJKINE
43eb94e48f Bug correction: message hooks should be applied to children messages too 2013-12-09 23:08:59 +01:00
Ophir LOJKINE
8a3bd2349e remove useless server things 2013-12-09 01:14:01 +01:00
Ophir LOJKINE
e57979276e remove debugging server log 2013-12-09 01:02:31 +01:00
Ophir LOJKINE
f6539cb87f Change socket.io configuration 2013-12-09 00:59:37 +01:00
Ophir LOJKINE
0ed94cb1d2 Put the GUI change in Tools.change in a try {...} statement.
This circumvents a bug in IE9, where classList is not implemented.
2013-12-08 21:46:42 +01:00
Ophir LOJKINE
beddafedcd Change default color. (and make it a W3C-valid 6-digit hex color). The new default color is #1913B0 2013-12-08 14:00:13 +01:00
Ophir LOJKINE
5690bd3cf0 Improve board architecture. Correct several bugs, including messages being drawn twice, and messages not being drawn at all. 2013-12-07 19:05:43 +01:00
Ophir LOJKINE
fd35a486b8 Rework the way the server stores data to make it handle updates and deletions more intelligentlty.
Some work was done on the client-side too, and board loading should now be much faster.
2013-12-07 04:46:31 +01:00
Ophir LOJKINE
2c75908461 Hopefully correct a bug where text was not saved. This bug occured at least on firefox for mobile. 2013-12-06 22:39:43 +01:00
Ophir LOJKINE
40ef0595b7 Correct bug and improve pencil tool. Lines can now be updated. 2013-12-06 17:01:28 +01:00
Ophir LOJKINE
59ad74149a Disable auto-zooming on text focus on mobile. 2013-12-06 16:17:28 +01:00
Ophir LOJKINE
374ea859b1 My hands are typing words.
Update a constant
2013-12-03 20:42:52 +01:00
Ophir LOJKINE
b08d6d35f1 Rename 'field' to 'id' in messages. 2013-12-03 20:34:49 +01:00
Ophir LOJKINE
e75a7d34aa Log errors with console.error instead of console.log 2013-12-03 20:26:56 +01:00
Ophir LOJKINE
49671de0b2 Correct CSS bug in error page. 2013-12-03 19:16:47 +01:00
Ophir LOJKINE
54dcfa9c0c Correct feature detection for performance.now polyfill.
That should fix wbo on android native browser, which has a window.performance object, but does not implement performance.now()
2013-12-03 18:10:17 +01:00
Ophir LOJKINE
31bbe268f4 Include jscolor color picker. 2013-12-03 18:07:56 +01:00
Ophir LOJKINE
7506eb27b6 JSHint corrections 2013-12-03 18:07:02 +01:00
Ophir LOJKINE
2ca29d686b Add a 'var' statement. The variable 'elem' was leaked to the global namespace. Thanks to jshit. 2013-11-28 14:42:25 +01:00
Ophir LOJKINE
29e699112d Replace spaces by tabs. Thanks to jshit. 2013-11-28 14:40:09 +01:00
Ophir LOJKINE
a400b8e097 Remove unused variable. Thanks to jshit. 2013-11-28 14:38:12 +01:00
Ophir LOJKINE
c3d7ec041b Make the eraser erase with a single click 2013-11-24 00:49:56 +01:00
Ophir LOJKINE
0d536ae380 Make chronological UIDs. 2013-11-24 00:49:05 +01:00
Ophir LOJKINE
1ecc676b2c Add an eraser tool. 2013-11-23 15:03:06 +01:00
Ophir LOJKINE
61244d1984 Oops. Forgot to add a function in pencil.js 2013-11-22 16:06:52 +01:00
Ophir LOJKINE
eeb76318d8 Improve the control point calculation algorithm, in order to have smooth paths that feel even more natural. 2013-11-22 15:56:33 +01:00
Ophir LOJKINE
f88592d235 Update the pencil tool to make beautiful smooth paths (with bezier curves) instead of polylines. 2013-11-21 23:27:34 +01:00
Ophir LOJKINE
9dd08e656a Load jscolor only if the browser doesn't support <input type='color'> 2013-11-21 00:13:42 +01:00
Ophir LOJKINE
8c188c2c26 Do not display date in logs (nodejitsu already does that) 2013-11-20 22:56:48 +01:00