Commit Graph
16 Commits
Author SHA1 Message Date
Aditya Bhatt de5105f0ad Make the default translations path relative to the dojo
config prefix.
2014-04-04 14:30:14 +02:00
Aditya Bhatt aaeb451cac Make it possible to specify an absolute translations
path. By default, it is the translations directory
in programs/editor.
2014-04-04 14:27:55 +02:00
Friedrich W. H. Kossebau 83f3c3c14f Let the Editor create its used div subtree itself
* use classes for styling of editor structures
* use namespaced, numbered element ids to allow more than one editor
2014-03-12 18:00:54 +01:00
Friedrich W. H. Kossebau 7f20c22627 Set runtime.currentDirectory/libraryPaths in faked webodf.js for out-of-source runs
Frees "production" code from adjustments for out-of-source developer code
2014-02-17 17:19:46 +01:00
Friedrich W. H. Kossebau d2671e2a00 @returns -> @return 2014-01-31 15:33:43 +01:00
Friedrich W. H. Kossebau 42c5a7c617 Export errors and other oprouter states in the Editor API, experimental use in collabeditor.js 2013-12-03 18:32:39 +01:00
Friedrich W. H. Kossebau 8aa87de93f Fix collabeditor.js to use the right memberid and sessionid on server.leaveSession(...) call 2013-12-03 17:03:55 +01:00
Aditya Bhatt 2dcd55205b Have dedicated Editor.closeDocument and Editor.closeSession
methods to correspond to openDocument and openSession.
Remove unused EditorSession.close method, not sure what it was
used for.
2013-11-14 21:47:26 +01:00
Aditya Bhatt 6a4f0e69ab Add translations support to runtime.js,
and programs/editor/Translator.js which is a reference
implementations of a translator.
The programs/editor/Translator code is used entirely in
localeditor.js/collabeditor.js and the editor itself, or webodf,
and need not know anything about the translation mechanism.

Translate all strings within the editor and all
user-facing strings in webodf core itself using
runtime.tr();
2013-11-05 18:38:41 +01:00
Friedrich W. H. Kossebau c2a795e668 Update link to repo: now https://github.com/kogmbh/WebODF/ 2013-10-23 18:20:30 +02:00
Friedrich W. H. Kossebau 508570dab8 Add copy of the AGPL3 to sources (+ add to created zip files) 2013-10-21 17:55:16 +02:00
Friedrich W. H. Kossebau 43caf1f333 In collabeditor demo app set the current sessionid as fragment to the location 2013-09-19 14:31:06 +02:00
Friedrich W. H. Kossebau eb142f81a7 In collabeditor demo app set focus to login field on start 2013-09-18 23:36:22 +02:00
Friedrich W. H. Kossebau e60785b46a In collabeditor demo app after login directly go to session if id passed as fragment in the url 2013-09-18 23:36:01 +02:00
Friedrich W. H. Kossebau 1f7469884f redo class Editor (for proper re-usage and also destruction)
* Editor can have three states: without a document/session, with a document/session, destroyed
* Editor is created without any document/session initially
* document/session has to be closed before loading another one
* EditorSession/Session are bound to a document/session, recreated for another one
* all other objects are reused with another document/session
* destroy() cleans up the Editor from the webpage it is embedded (at least good enough for now)
* startEditing/endEditing have to be done by the user of Editor
2013-09-03 01:02:48 +02:00
Friedrich W. H. Kossebau a41f1138ed Split boot_editor.js/*index.html into separate files for local editor and collaboration editor 2013-09-03 01:02:47 +02:00