JakeGrice
2fbd0c815b
Fix for codiad issue #450 / collab improvements
...
I found the only mechanism in place that pushes your client-side changes to the server-side copy is the 500ms synchronize interval, which stops when the collaboration logic stops, and that stops after the initial sync unless there is another user online. So I believe a piece is missing and I added a throttled onChange event that will also push changes to the server, making it more responsive. Another addition was firing the initial $synchronizeText right away instead of waiting for the first 500ms interval.
This still needs to be tested, I'm continuing to test it. It heavily improves the jumbled text issue for a single user. For collaborative, it is actually extremely responsive! But be warned! If you log in with multiple instances on the SAME user to test collab, it doesn't seem to work and it actually gets out of sync. But that's not really intended use anyways so you shouldn't be doing that :)
2013-09-06 23:06:31 -04:00
JakeGrice
1aa3f46a9d
Update init.js
...
Changed selectionChange interval to 250 ms, cleaned up some console logging
2013-09-02 11:19:03 -04:00
JakeGrice
238cc795e9
Regulate speed of sendSelectionChange posts
2013-08-24 01:15:37 -04:00
JakeGrice
f8c010dcf3
Update init.js
...
Regulate speed of selection change posts
2013-08-24 01:12:01 -04:00
daeks
96168fbbf3
unregister should return same value as unregister all files
2013-04-16 15:18:40 +02:00
daeks
c190bf9890
better handling if null value
2013-04-16 15:05:55 +02:00
circuitbomb
39d2549b23
Add empty check on data for jSend
2013-04-15 15:02:52 -04:00
daeks
1025389b93
merged config.php to be in common.php
2013-04-03 12:04:08 +02:00
daeks
b7ad5fbb85
themes
2013-04-01 12:20:17 +02:00
Verdier
e0e2a26a36
Fix references.
2013-03-22 11:14:50 +01:00
Fluidbyte
8273685c66
Disabled registration error message to prevent repeated warnings.
...
This should be enabled during testing but should be passive in production
2013-03-12 11:01:18 -07:00
Florent Galland
ac6d5e8133
Remove some unused code.
2013-03-08 23:18:51 +01:00
Florent Galland
2cf16de815
Fix 'not reg. as collab.' and 'undefined qt'
2013-03-08 23:14:57 +01:00
Florent Galland
f33825e8c7
Convert some errors to succes + jsend message.
2013-03-04 23:17:33 +01:00
Florent Galland
847d3ecbe4
Cleanup.
2013-03-01 17:58:27 +01:00
Verdier
24a90a737a
Change header.
2013-03-01 17:55:30 +01:00
Verdier
f796b66981
Clean up code.
2013-03-01 17:52:37 +01:00
Florent Galland
cf26bbea51
Initialize server text when it needs to.
2013-03-01 17:38:36 +01:00
Florent Galland
5d6a75b55f
Start collaboration by default.
2013-03-01 12:16:17 +01:00
Florent Galland
5a9176c9e2
Initialize shadow at each onFocus.
2013-02-27 18:34:24 +01:00
Florent Galland
cb7e9e6e88
Start/stop collab logic based on connected user count.
2013-02-24 18:50:08 +01:00
Florent Galland
0fed93d41f
Remove all visible selections on file close.
2013-02-24 17:33:52 +01:00
Verdier
3507b82057
Fix db file issues.
2013-02-21 17:48:10 +01:00
Verdier
6928bf17e6
Create a simple file db and use it.
2013-02-18 15:23:04 +01:00
Verdier
e0b57de833
Fix show/hide tooltip + fix selection color.
2013-02-17 10:35:36 +01:00
Verdier
4669c26c44
Minor fix.
2013-02-16 17:09:37 +01:00
Verdier
514e284c39
Fix auto hide markup tooltip.
2013-02-16 14:14:59 +01:00
Verdier
1cc4813920
Fix auto hide markup tooltip.
2013-02-16 14:04:17 +01:00
Verdier
b8379f2288
New color for each user + debug system.
2013-02-16 11:04:44 +01:00
Florent Galland
88022db611
Open tooltip on selection change.
2013-02-14 22:23:51 +01:00
Florent Galland
f65e5d249e
wip hide/show tooltip on selection change.
2013-02-11 23:29:06 +01:00
Florent Galland
bd7cab7bc8
Merge branch '_collaborative_differential_synchronization' of https://github.com/Bluefinch/Codiad into _collaborative_differential_synchronization
2013-02-08 09:54:07 +01:00
Verdier
403a9aac31
Minor refactoring. (By @Flolagale)
2013-02-06 12:27:53 +01:00
Florent Galland
3a72a12632
Finish heartbeat implementation.
2013-02-01 17:09:44 +01:00
Florent Galland
a39a8d8ed5
Refactor marker filename making and validate paths.
2013-01-30 18:05:49 +01:00
Florent Galland
9066c760d7
Start hearbeat implementation.
2013-01-28 14:01:49 +01:00
Verdier
36ef23425b
Restore automatique synchronization
2013-01-27 14:16:18 +01:00
Verdier
6fb9fa83f4
Convert diff to ace deltas.
2013-01-27 14:11:45 +01:00
Florent Galland
807e74e742
Start diffToAceDeltas implementation.
2013-01-25 18:19:04 +01:00
Florent Galland
8954a123a8
Use flock on server side.
2013-01-25 14:44:27 +01:00
Florent Galland
9332c891d7
Merge branch collaborative.
2013-01-25 14:10:18 +01:00
Florent Galland
934d8a20e7
Put sendEdits in a setInterval.
2013-01-25 14:06:33 +01:00
Florent Galland
e506e47b5a
Bug for multiple patch appliances seems fixed.
2013-01-25 12:36:21 +01:00
Florent Galland
4f5fa1bd3b
Get back patch from server and apply it on client side.
2013-01-24 15:35:25 +01:00
Florent Galland
2db9400a36
Send and apply patches on server shadow and text.
2013-01-23 13:36:23 +01:00
Florent Galland
621220007a
Send shadow and initialize server text.
2013-01-21 22:39:04 +01:00
Florent Galland
b010f2df3e
wip implement client side shadow.
2013-01-18 23:59:09 +01:00
Verdier
58b821afe6
Start css implementation for selection.
2013-01-16 18:43:18 +01:00
Florent Galland
b0374da9c3
Cursor works well. Next: selection!
2013-01-15 23:37:06 +01:00
Florent Galland
b8abbd5cdd
Get the changes from the specified revision.
2013-01-13 20:43:40 +01:00