Commit Graph
56 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau bf3f5cf799 fix broken passing of documents for programs/editor/(cdn-)index.html 2013-02-14 17:32:09 +01:00
Aditya Bhatt c64a438000 rearrange code 2013-02-13 22:18:03 +05:30
Aditya Bhatt 698154f937 New translation mechanism document.translateContent(), look for elements with text-i18n='something'
attribute and translate those.
2013-02-13 21:39:44 +05:30
Friedrich W. H. Kossebau ad38127519 Rename memberid to localUserMemberId in editor.js 2013-02-11 18:04:22 +01:00
Friedrich W. H. Kossebau c430830d78 Gracefully remove cursor on page closing 2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau 48ae2baecb Fix missing syntax error due to missing ) in editor.js 2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau 55cdf4297d Remove topPane in programs/editor 2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau 454ea3a07e Update editor.js with changes around sessionId, userdata fetching and edithighlighting disabling 2012-12-28 12:05:07 +01:00
Aditya Bhatt 01634286bc Linted everything in editor/ 2012-12-28 12:05:06 +01:00
Tobias Hintze f2667f043f cleanup, whitespace, and cosmetics 2012-12-03 16:56:04 +01:00
Tobias Hintze 20accd4fd2 apply AMD pattern to programs/editor
* allows use either in src or in build dir (cdn-index.html / index.html)
* creates dojo-amalgamation.js which includes selected languages
2012-12-03 16:24:08 +01:00
Aditya Bhatt 71656d78d4 Remove all instances and usages of session, documentObject, and memberId from all editor components. Obsolte after using EditorSession
(Tobias Hintze <th-git@kogmbh.com>:
 manually resolved conflict in editor.js during cherry-pick)
2012-11-30 13:22:31 +01:00
Aditya Bhatt 01ccbf791b use the new UserList in editor.js 2012-11-30 13:06:44 +01:00
Tobias Hintze 1e0e95a7f4 hotfix: translator should be gracefull for missing translation
(this changes the "API" to translator("foo") instead of translator.foo)
2012-11-23 19:42:25 +01:00
Aditya Bhatt 0bcd694255 Allow #args , temporary hack 2012-11-16 19:31:59 +05:30
Aditya Bhatt 02590e514e endEditing when user closes window 2012-11-16 18:04:53 +05:30
Aditya Bhatt aa1b888640 Handle avatars properly in EditorSession.js and add startEditing and endEditing 2012-11-16 17:51:31 +05:30
Aditya Bhatt 2047e4c5a6 EditorSession as a controller between session and editor 2012-11-16 16:21:54 +05:30
Tobias Hintze bfcb3d8b8f programs/editor: re-enable offline-editing 2012-11-09 12:30:36 +01:00
Tobias Hintze 8ff251ec4e cosmetics 2012-11-09 12:29:41 +01:00
Tobias Hintze f1e7811ff4 make userid parameter of editor_init; default to "you" 2012-11-09 12:26:12 +01:00
Tobias Hintze eb43b6fb88 fix order of inits: UserModel, Replay, StartEditing 2012-11-09 12:26:05 +01:00
Friedrich W. H. Kossebau 0787d50b1e Add NowjsUserModel object (still needs to be filled with data from server)
for now serves same user data as TrivialUserModel
2012-11-09 12:25:52 +01:00
Tobias Hintze 5e23162a0b programs/editor: implement waiting for server-connection 2012-11-09 12:24:49 +01:00
Friedrich W. H. Kossebau 549dd93381 Turn setting the style of a paragraph into an operation (dirty initial hack) 2012-11-09 12:24:35 +01:00
Friedrich W. H. Kossebau 9985bb5a12 Fix paragraphstyle selector to only show named styles for a paragraph
Also use "___" as separator because the memberId is used directly in CSS
2012-11-09 12:23:12 +01:00
Tobias Hintze cf548d1225 jslint fixes 2012-11-09 12:21:35 +01:00
Tobias Hintze 46d4024b61 programs/editor: load a document on start 2012-11-09 12:21:33 +01:00
Tobias Hintze 82f6693230 implement ping/pong in NowjsOptionRouter (needs memberid!) 2012-11-09 12:21:29 +01:00
Tobias Hintze 81face95a2 just jslint fixes 2012-11-09 12:21:22 +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 95dbc32c1d Sync programs/editors with changes in webodf/libs 2012-11-09 12:19:32 +01:00
Friedrich W. H. Kossebau 019ec7f5b1 move start of document loading the requirement chain, to ensure avatars and widgets are present on "statereadychange" 2012-10-31 14:13:20 +01:00
Friedrich W. H. Kossebau e0ce31e94a In editor_init() do a proper chaining of callbacks for required dojo compononts
Also set the content on the topPane at its creation
2012-10-30 11:52:38 +01:00
Friedrich W. H. Kossebau 517d2af424 Add german translations (and prepare russian one) 2012-10-23 16:32:10 +02:00
Aditya Bhatt e9b4c483c2 Make translator 'global' by reparenting to document 2012-10-23 14:22:17 +02:00
Tobias Hintze 22b155f103 editor: move creation of "changed"-event from html to editor.js 2012-10-22 10:25:54 +02:00
Tobias Hintze 008acd9935 programs/editor: change loading and init() 2012-10-21 22:55:04 +02:00
Tobias Hintze 375457d233 update license and copyright headers 2012-10-21 20:46:20 +02:00
Aditya Bhatt 58838bbd40 avoid race condition 2012-10-04 18:51:03 +05:30
Aditya Bhatt c11f0ffa5b add workaround comment 2012-10-04 18:04:35 +05:30
Aditya Bhatt 23352d5706 editable = false 2012-10-04 18:00:30 +05:30
Aditya Bhatt f2f9cc3bef add avatars to editor 2012-10-04 17:59:44 +05:30
Aditya Bhatt dd84167113 characters styles dialog 2012-09-12 22:09:53 +05:30
Aditya Bhatt d704c00867 menubar and styling 2012-08-29 14:05:36 +05:30
Aditya Bhatt f9a846c848 minor css fixes, and add a Chat box 2012-08-24 04:32:24 +05:30
Aditya Bhatt 7485b4c7b4 add widgets to people box 2012-08-23 19:13:02 +05:30
Aditya Bhatt be8598d23e add split layout inside collaboration div 2012-08-23 18:09:12 +05:30
Aditya Bhatt 77c71d34b9 add better content styling and splitter 2012-08-23 17:48:22 +05:30
Aditya Bhatt 771902f7c8 new look - layouts and title with clickable link, and collaboration pane skeleton 2012-08-23 16:04:57 +05:30