Friedrich W. H. Kossebau
8b439d7e33
Fix wrong API dox for setAvatarInfoStyle() in SessionView.js
2013-03-18 20:23:37 +01:00
Aditya Bhatt
054b6b496c
A little workround - comment out the unsubscription of user details from
...
onCursorRemoved in SessionView, so we actually get user data over the
wire
2013-03-14 18:21:04 +05:30
Aditya Bhatt
19d04bfb9d
Don't ask for user info on every edit, only ask during cursor addition.
...
Also, get user details using both subscription- and
non-subscription-based techniques, because otherwise a user that has
joined the document and had the UserList populated will not release data
in the 'subscription way'
2013-03-14 18:21:04 +05:30
Aditya Bhatt
aa7b0521d4
Don't set cursor and avatar info style twice, only do it in
...
omMemberDataChanged
2013-03-14 18:21:04 +05:30
Aditya Bhatt
4615700af6
Make the highlightEdit method request user details for every edit if the
...
info is already not available
2013-03-14 18:21:04 +05:30
Aditya Bhatt
1a0bd8f927
Fire paragraphEdited signal with timestamp, and use that timestamp for
...
the EditInfo
2013-03-14 18:21:03 +05:30
Aditya Bhatt
1c404863df
Match the avatar info css to editinfo:memberid 'starting with' userId
...
instead of memberId, so the same user gets the same editinfo styling
even when that user gets a new avatar
2013-03-14 18:21:03 +05:30
Aditya Bhatt
d11a0d837a
Rewrite sections of SessionView to maintain an avatar-specific css style for nodes that
...
specify an editinfo:memberid. Use this style for rendering the fullname
and color. Rewrite EditInfoMarker accordingly.
2013-03-14 18:21:03 +05:30
Friedrich W. H. Kossebau
6a568a8f58
Split ops.OdtCursor from core.Cursor & rename ops.Document to ops.OdtDocument
...
Also:
* rename gui.CaretTests to ops.OdtCursorTests (as it is testing ops.OdtCursor)
* remove test-less CaretTests.js, had broken setup now
2013-03-06 15:44:28 +01:00
Friedrich W. H. Kossebau
6e80cacefc
Use the canvas element to grab all input, ensure caret visibility ourselves
2013-02-11 17:59:59 +01:00
Aditya Bhatt
53a14357ab
Add a check for editinfo namespace in the NodeFilter's acceptNode method
2013-01-28 13:51:30 +05:30
Aditya Bhatt
349580d5e2
Add a function highlightEdit to SessionView
2013-01-24 01:27:34 +05:30
Aditya Bhatt
137d76271e
Fix broken build, lint
2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau
c26c29a15e
Allow to disable the highlighting of edited lines (e.g. useful on ops replay at begin)
2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau
17e1e67abe
Update paragraph-edited highlighting styles on new userdata
2012-12-28 12:05:06 +01:00
Friedrich W. H. Kossebau
10db764892
Change user model to fetch userdata on demand and update subscribers on changes
2012-12-28 12:05:06 +01:00
Jos van den Oever
155bf9a4d3
Whitespace fixes.
2012-11-10 11:35:21 +01:00
Friedrich W. H. Kossebau
4b8f0ab7a2
Also support change highlighting for text:h paragraphs
2012-11-09 12:29:53 +01:00
Friedrich W. H. Kossebau
2be1b8049a
Fix writing of style rules for avatars without quoting the value of memberId
2012-11-09 12:29:50 +01:00
Friedrich W. H. Kossebau
4cc7378039
Move setting of edited-by-avatar styles into SessionView
2012-11-09 12:26:51 +01:00
Friedrich W. H. Kossebau
51570c2838
Unbreak styles combobox in programs/editor
...
Also
* emit signal for cursor move again
* turn signal names into string objects
* makes Session and Document take odfCanvas instead of just odfContainer
2012-11-09 12:21:08 +01:00
Friedrich W. H. Kossebau
0a056bcae5
Move selectionMover and selection from caret into cursor
...
Breaks a few unit tests for now (due to changed API), but still works in the browser
2012-11-09 12:18:17 +01:00
Friedrich W. H. Kossebau
705217b096
Make avatar object just a passive handle created and owned by the caret object
2012-11-09 12:15:13 +01:00
Friedrich W. H. Kossebau
19945005ab
Rename signals from "avatar/*" to "cursor/*"
2012-11-09 12:13:33 +01:00
Friedrich W. H. Kossebau
ae0dfcb91b
Remove property localMemberId from usermodel, instead have the controller know which is the local user
...
Also have the caret care for its focus itself on e.g. moving
2012-11-09 12:11:02 +01:00
Friedrich W. H. Kossebau
10b48a48a5
Move creation and housekeeping of the cursor objects to the world of SessionImplementation
2012-11-09 12:07:24 +01:00
Friedrich W. H. Kossebau
36b6891d14
Remove SessionImplementation.getLocalMemberid, should not be a property of the session object
2012-11-09 11:57:36 +01:00
Friedrich W. H. Kossebau
add136763c
Create OpRemoveMember for removing cursors/avatars
2012-11-09 11:57:23 +01:00
Friedrich W. H. Kossebau
84045fdeb8
Move input keyhandling from Avatar to SessionController
...
also implements OpMoveMemberCursor
2012-11-09 11:52:34 +01:00
Friedrich W. H. Kossebau
1dc1b15811
Fill avatar panel in collabtest/test.js based on "avatar/added" signal
2012-11-09 11:48:47 +01:00
Friedrich W. H. Kossebau
97e0e41a28
Move home of avatars into SessionView
...
Temporarily disables click handling
2012-11-09 11:48:07 +01:00
Tobias Hintze
01d58f5500
collabtest: create SessionView; startEditing
2012-11-09 11:36:35 +01:00