Yann Flory
e77d85bc82
Trigger an onReady() method when the user's pad is fully synced (the history is loaded)
9 years ago
Yann Flory
eca4ec699c
Ability to change the username (the user ID is displayed by default)
9 years ago
Yann Flory
5da8560e22
Fix the user list in the toolbar keeping old data with the WebSocket server
...
Chainpad is no longer responsible for the userlist or the ping
9 years ago
Yann Flory
ae8f6f7f2c
Ability to choose which protocol to use (Websocket or WebRTC) with Netflux
9 years ago
ansuz
9b228eea6b
modify vdom main.js to adhere to new realtime-input api
9 years ago
ansuz
d2f4fbcee9
fail the toolbar from the application layer
9 years ago
ansuz
52fe892bae
invert logical relationship with flag
...
otherwise updates don't actually propogate
9 years ago
ansuz
938df2b92f
lock the editor until the chain has synced
...
add 'onAbort' hook. lock the editor if the connection fails.
9 years ago
ansuz
e5bef52850
reintroduce the toolbar
9 years ago
ansuz
c246adc57b
Lock contenteditable until chain is done syncing.
...
Don't bother patching the dom until the chain has synced
9 years ago
ansuz
1c0074258c
go back to using diffDOM from bower
...
The latest version is required. You'll need to update.
9 years ago
ansuz
79bd82a62e
main.js : integrate with patched diffDOM
9 years ago
ansuz
e87a4599a4
main.js : tiny patch until things are working correctly.
9 years ago
ansuz
9ce59c985f
only do stuff with the cursor when a remote edit takes place
9 years ago
ansuz
7e7f1fee76
include abstracted json-ot, add comments, start to use cursor stuff
9 years ago
ansuz
fbb9163e42
main.js : clean up and commit before making big-ish changes for cursor fixing
9 years ago
ansuz
3cb94b8d80
jshint compliance
9 years ago
ansuz
4a05a859e6
fix initialization routines
9 years ago
ansuz
967d636df9
address more jshint complaints
9 years ago
Caleb James DeLisle
a7da21ccba
Remove the cursor treatment
9 years ago
Caleb James DeLisle
86c4a69a97
Switch to patching with DiffDOM for testing :D
9 years ago
Caleb James DeLisle
37db31b09e
Attempt an operational transformation and if the result is not valid JSON then fail
9 years ago
Caleb James DeLisle
e16299b5c4
Revert "restub OT until it's verified"
...
This reverts commit 350c9e6c76
.
9 years ago
ansuz
350c9e6c76
restub OT until it's verified
9 years ago
ansuz
9b13fd8f34
pull cursor correction code out of main.js
...
put it in cursor.js
9 years ago
ansuz
aa3880f442
up to date
9 years ago
ansuz
d96124229b
clean up realtime-input.js, break API
...
use an object for configuration, so as to be more extensible.
modify applications which use the API to match.
9 years ago
ansuz
e220113e98
fix the 'crapstorm' bug
9 years ago
ansuz
08fb010627
give 'onChange' a name
9 years ago
ansuz
d14e42fedd
start on a vdom-based wysiwyg realtime
...
There are still a few conditions that cause it to 'explode'
when different browsers disagree on element semantics.
Overall it's a much cleaner approach, but it will require
extensive tuning to improve performance, as there are still
many complete dom traversals which will not scale for large documents
9 years ago