612 Commits
Author SHA1 Message Date
Aditya Bhatt 2c682bb73b Update other references to be aware of getMemberIds
working for all members, and not just cursors

Adds a new OdtDocument.hasMember method
2015-07-17 13:44:40 +02:00
Philip Peitsch fdee3711c5 Remove unneeded loadClass calls 2015-07-15 20:38:04 +10:00
Friedrich W. H. Kossebau 4a2f734395 A some API dox to Bella class 2015-06-07 14:07:41 +02:00
Friedrich W. H. Kossebau e3c2eeff35 Add types for random and config parameters 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau c01e78ce19 Indent properly 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau bb750b10c4 Make jslint more happy 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau 81ae859141 Default to all actions enabled for Bella 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau c07247c84e Inject Bella (& future devel) plugins via "secret" window.wodo_plugins hook
Also drop custom bella.js variant of localeditor.js
2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau aa0277e200 Ensure Bella only tries to create selections in the same root 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau 68cc8025f6 Allow to control verifyCache behaviour of existing ops.StepsCache instances 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau 617eba24ed Allow to start and stop Bella activity via buttons on the toolbar 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau d63e2b6f3d Allow to specify container of SimpleStatusReporter
gives a separate status view per editor
2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau d700865440 Extend Bella state by a name property 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 4c3bb7ae80 Make Bella doing typing and direct styling some config options 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 76c8f7a075 Allow to configure utterances of Bella 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 024dd26baf Make Bella doing undo/redo a config option 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau b9b01a412d Make Bella doing annotations a config option 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 4815a0f892 Have custom "app" for Bella, let her also be the real editor 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 15dd742eb7 Draft for generic support for plugins in Tools, instead of hardcoding Bella 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 2f23bc83cb Have Bella also mess with annotation creation/removal 2015-06-07 13:16:33 +02:00
Philip Peitsch 5e26b5a1e0 Meet Bella. She will destroy your documents.
* Supports multiple instances in the same doc
* Able to exercise entire selection controller
* Can say meow (and other text manipulation actions)
* Knows  about undo & redo
* Will also destroy your document formatting too!
* Can cut, copy & paste
* Bella is a tidy cat and likes valid documents
* Bella can be hooked up to use an existing cursor
* Custom actions to be loaded externally
* Has AMD integration
* Add checks to ensure the cursor is in a valid step.
Issue highlighted in review of PR #451.
* Add a seeded random number generator to allow reproduction of crashes.
Original source: https://github.com/davidbau/seedrandom
* Add some really simple reporting stats
* Allow seed to be specified via URL

Major features
==============
Add an "auto drive" feature (the cat herder)

Auto drive will automatically cycle the page after the specified
number of pounces. If an unhandled exception occurs, it will PUT a
file to the server in the same location that contains the number of
pounces that happened, and the original seed, along with the error
information.

Notes
=====
* Limit how frequently document length checks are performed
* Using a real SessionController causes problems with double-events
2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 4ed6c50705 Disable custom buttons save/saveAs/close/download when there is no session 2015-05-20 13:52:05 +02:00
Friedrich W. H. Kossebau b4854727b3 Remove unstablefeature flag from annotations in Wodo.CollabTextEditor 2015-05-06 18:39:15 +02:00
Friedrich W. H. Kossebau c428ec57f1 HowTo-Wodo.TextEditor: Tag all code snippets and files, also link sample files. 2015-04-02 17:26:49 +02:00
Friedrich W. H. Kossebau 486876e3a4 Add revieweditor samples to Wodo.TextEditor package 2015-04-02 17:26:48 +02:00
Friedrich W. H. Kossebau e9746b0732 Add "mode" flag to Wodo.TextEditor, to switch between review and full edit 2015-04-02 17:26:48 +02:00
Friedrich W. H. Kossebau 0d1077b205 Fix API generation for Wodo.TextEditor
fixup for c749ca8927
2015-04-02 17:25:54 +02:00
Friedrich W. H. Kossebau dd4ac7c323 Use "Wodo.TextEditor" as name in about dialog 2015-03-15 19:56:01 +01:00
Friedrich W. H. Kossebau 5c2be268f5 Add French translation for the editor 2015-03-14 01:13:49 +01:00
Friedrich W. H. Kossebau b16f0d192d Compile Dojo translations for all supported languages 2015-03-13 22:37:17 +01:00
Friedrich W. H. Kossebau 5cbf30c382 Stop adding lots of debug comments to dojobundle.js & dojo-amalgamation.js 2015-03-13 22:36:34 +01:00
Friedrich W. H. Kossebau 0789a512a1 Remove unneeded translations 2015-03-13 21:24:24 +01:00
Friedrich W. H. Kossebau 91bebcf41a Remove broken duplicated older version of zoomSlider.setEditorSession
fixup for c749ca8927
2015-02-27 17:16:15 +01:00
Friedrich W. H. Kossebau c749ca8927 Code cleanups in programs/editor for issues found with JSLint 2015-02-23 17:31:37 +01:00
Friedrich W. H. Kossebau 90f7dbdbb9 Add an optional "Save as" button to Wodo.TextEditor
saveas.png icon composed from Dijit icons,
thus with same license as Dijit icons
2015-02-18 22:50:04 +01:00
Friedrich W. H. Kossebau 63396508e0 Add an optional Download button to Wodo.TextEditor
Download as possible counterpart to Save, which could save to a server
2015-02-18 22:44:35 +01:00
Friedrich W. H. Kossebau 23bbfc2edc Fix wrong old signal name EVENT_MODIFIEDCHANGED
fixup for fa34a33037
2015-02-12 00:45:38 +01:00
Friedrich W. H. Kossebau e0395eaa97 Support zipping of all Wodo.CollabTextEditor files (without any backends) 2015-01-28 17:47:25 +01:00
Friedrich W. H. Kossebau 012f08c1a3 Block browser translation service from translating content (editor-only) 2015-01-27 15:26:35 +01:00
Friedrich W. H. Kossebau bf74d13999 Add short note about property "documentModified". 2015-01-17 19:34:54 +01:00
Friedrich W. H. Kossebau fa34a33037 Rename consistently property "modified" to "documentModified" 2015-01-17 19:34:54 +01:00
Friedrich W. H. Kossebau fb131de8f2 Change method name "set[Document]Unmodified" to "set[Document]Modified" 2015-01-17 19:34:54 +01:00
Friedrich W. H. Kossebau 2ff51f30a4 Extend UndoManager with a modified flag for a certain state 2015-01-17 19:34:54 +01:00
Friedrich W. H. Kossebau c29f77c29c Prevent editor toolbar being too small, at least for left-aligned elements
If there are only floating elements, the Dojo toolbar shrinks to 0 height.

To prevent this for left-aligned elements, do not set them as
float:left. (Also reorder generation to keep current tool ordering)

And for elements floating to the right, clear any floating for the toolbar element
with "clear:both" on the pseudo :after element.
2015-01-05 12:03:18 +01:00
Lukas Reschke 28c407940c Sanitize paragraph and font names 2014-12-02 15:45:18 +01:00
Lukas Reschke d2c5435693 Add "dojox/html" as dependency
"dojox/html/entities" will be used to sanitize the strings.
2014-12-02 15:29:58 +01:00
Friedrich W. H. Kossebau a68442d4e6 Remove duplicated code, linksInSelection is set later again 2014-09-24 17:12:59 +02:00
Friedrich W. H. Kossebau 3053b18ff3 Fix wrongly enabled hyperlink tools with no document loaded 2014-09-24 17:12:58 +02:00
Philip Peitsch 018448d792 Extract ODF field highlighting into standalone view
As per design discussed in issue #816. Extracting this into a separate
view makes it optional for consumers to use (or potentially further
customize).

Fixes #816.
2014-09-18 00:38:28 +10:00
Philip Peitsch b82360797c Change missed runtime.read hooks to override runtime.readFile instead
These hooks are all intended to override file loading within odf.Zip.
As of c2b4592, odf.Zip now uses runtime.readFile, these hooks all need
to be updated as well.
2014-09-17 22:01:59 +10:00