mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
updated documentation
This commit is contained in:
parent
f1d06c55b4
commit
0772f6bb4e
16 changed files with 188 additions and 20 deletions
15
doc/jsdoc/utils/Abiword.md
Normal file
15
doc/jsdoc/utils/Abiword.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# utils/A
|
||||
`require("./utils/Abiword");`
|
||||
|
||||
Controls the communication with the Abiword application
|
||||
|
||||
## Functions
|
||||
|
||||
- - -
|
||||
### convertFile (srcFile, destFile, type, callback)
|
||||
|
||||
* **srcFile** *No description*
|
||||
* **destFile** *No description*
|
||||
* **type** *No description*
|
||||
* **callback** *No description*
|
||||
|
15
doc/jsdoc/utils/AttributePoolFactory.md
Normal file
15
doc/jsdoc/utils/AttributePoolFactory.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# utils/AttributePoolF
|
||||
`require("./utils/AttributePoolFactory");`
|
||||
|
||||
This code represents the Attribute Pool Object of the original Etherpad.
|
||||
90% of the code is still like in the original Etherpad
|
||||
Look at https://github.com/ether/pad/blob/master/infrastructure/ace/www/easysync2.js
|
||||
You can find a explanation what a attribute pool is here:
|
||||
https://github.com/Pita/etherpad-lite/blob/master/doc/easysync/easysync-notes.txt
|
||||
|
||||
## Functions
|
||||
|
||||
- - -
|
||||
### createAttributePool ()
|
||||
|
||||
|
363
doc/jsdoc/utils/Changeset.md
Normal file
363
doc/jsdoc/utils/Changeset.md
Normal file
|
@ -0,0 +1,363 @@
|
|||
# utils/Cha
|
||||
`require("./utils/Changeset");`
|
||||
|
||||
## Functions
|
||||
|
||||
- - -
|
||||
### _slicerZipperFunc (attOp, csOp, opOut, pool)
|
||||
|
||||
* **attOp** *No description*
|
||||
* **csOp** *No description*
|
||||
* **opOut** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### appendATextToAssembler (atext, assem)
|
||||
|
||||
* **atext** *No description*
|
||||
* **assem** *No description*
|
||||
|
||||
- - -
|
||||
### applyToAText (cs, atext, pool)
|
||||
|
||||
* **cs** *No description*
|
||||
* **atext** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### applyToAttribution (cs, astr, pool)
|
||||
|
||||
* **cs** *No description*
|
||||
* **astr** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### applyToText (cs, str)
|
||||
|
||||
* **cs** *No description*
|
||||
* **str** *No description*
|
||||
|
||||
- - -
|
||||
### applyZip (in1, idx1, in2, idx2, func)
|
||||
|
||||
* **in1** *No description*
|
||||
* **idx1** *No description*
|
||||
* **in2** *No description*
|
||||
* **idx2** *No description*
|
||||
* **func** *No description*
|
||||
|
||||
- - -
|
||||
### attribsAttributeValue (attribs, key, pool)
|
||||
|
||||
* **attribs** *No description*
|
||||
* **key** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### attributeTester (attribPair, pool)
|
||||
|
||||
* **attribPair** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### builder (oldLen)
|
||||
|
||||
* **oldLen** *No description*
|
||||
|
||||
- - -
|
||||
### characterRangeFollow (cs, startChar, endChar, insertionsAfter)
|
||||
|
||||
* **cs** *No description*
|
||||
* **startChar** *No description*
|
||||
* **endChar** *No description*
|
||||
* **insertionsAfter** *No description*
|
||||
|
||||
- - -
|
||||
### checkRep (cs)
|
||||
|
||||
* **cs** *No description*
|
||||
|
||||
- - -
|
||||
### clearOp (op)
|
||||
|
||||
* **op** *No description*
|
||||
|
||||
- - -
|
||||
### cloneAText (atext)
|
||||
|
||||
* **atext** *No description*
|
||||
|
||||
- - -
|
||||
### cloneOp (op)
|
||||
|
||||
* **op** *No description*
|
||||
|
||||
- - -
|
||||
### compose (cs1, cs2, pool)
|
||||
|
||||
* **cs1** *No description*
|
||||
* **cs2** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### composeAttributes (att1, att2, resultIsMutation, pool)
|
||||
|
||||
* **att1** *No description*
|
||||
* **att2** *No description*
|
||||
* **resultIsMutation** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### copyAText (atext1, atext2)
|
||||
|
||||
* **atext1** *No description*
|
||||
* **atext2** *No description*
|
||||
|
||||
- - -
|
||||
### copyOp (op1, op2)
|
||||
|
||||
* **op1** *No description*
|
||||
* **op2** *No description*
|
||||
|
||||
- - -
|
||||
### eachAttribNumber (cs, func)
|
||||
|
||||
* **cs** *No description*
|
||||
* **func** *No description*
|
||||
|
||||
- - -
|
||||
### filterAttribNumbers (cs, filter)
|
||||
|
||||
* **cs** *No description*
|
||||
* **filter** *No description*
|
||||
|
||||
- - -
|
||||
### follow (cs1, cs2, reverseInsertOrder, pool)
|
||||
|
||||
* **cs1** *No description*
|
||||
* **cs2** *No description*
|
||||
* **reverseInsertOrder** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### followAttributes (att1, att2, pool)
|
||||
|
||||
* **att1** *No description*
|
||||
* **att2** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### identity (N)
|
||||
|
||||
* **N** *No description*
|
||||
|
||||
- - -
|
||||
### inverse (cs, lines, alines, pool)
|
||||
|
||||
* **cs** *No description*
|
||||
* **lines** *No description*
|
||||
* **alines** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### isIdentity (cs)
|
||||
|
||||
* **cs** *No description*
|
||||
|
||||
- - -
|
||||
### joinAttributionLines (theAlines)
|
||||
|
||||
* **theAlines** *No description*
|
||||
|
||||
- - -
|
||||
### makeAText (text, attribs)
|
||||
|
||||
* **text** *No description*
|
||||
* **attribs** *No description*
|
||||
|
||||
- - -
|
||||
### makeAttribsString (opcode, attribs, pool)
|
||||
|
||||
* **opcode** *No description*
|
||||
* **attribs** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### makeAttribution (text)
|
||||
|
||||
* **text** *No description*
|
||||
|
||||
- - -
|
||||
### makeSplice (oldFullText, spliceStart, numRemoved, newText, optNewTextAPairs, pool)
|
||||
|
||||
* **oldFullText** *No description*
|
||||
* **spliceStart** *No description*
|
||||
* **numRemoved** *No description*
|
||||
* **newText** *No description*
|
||||
* **optNewTextAPairs** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### mapAttribNumbers (cs, func)
|
||||
|
||||
* **cs** *No description*
|
||||
* **func** *No description*
|
||||
|
||||
- - -
|
||||
### mergingOpAssembler ()
|
||||
|
||||
|
||||
- - -
|
||||
### moveOpsToNewPool (cs, oldPool, newPool)
|
||||
|
||||
* **cs** *No description*
|
||||
* **oldPool** *No description*
|
||||
* **newPool** *No description*
|
||||
|
||||
- - -
|
||||
### mutateAttributionLines (cs, lines, pool)
|
||||
|
||||
* **cs** *No description*
|
||||
* **lines** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### mutateTextLines (cs, lines)
|
||||
|
||||
* **cs** *No description*
|
||||
* **lines** *No description*
|
||||
|
||||
- - -
|
||||
### newLen (cs)
|
||||
|
||||
* **cs** *No description*
|
||||
|
||||
- - -
|
||||
### newOp (optOpcode)
|
||||
|
||||
* **optOpcode** *No description*
|
||||
|
||||
- - -
|
||||
### numToString (num)
|
||||
|
||||
* **num** *No description*
|
||||
|
||||
- - -
|
||||
### oldLen (cs)
|
||||
|
||||
* **cs** *No description*
|
||||
|
||||
- - -
|
||||
### oneInsertedLineAtATimeOpIterator (opsStr, optStartIndex, charBank)
|
||||
|
||||
* **opsStr** *No description*
|
||||
* **optStartIndex** *No description*
|
||||
* **charBank** *No description*
|
||||
|
||||
- - -
|
||||
### opAssembler ()
|
||||
|
||||
|
||||
- - -
|
||||
### opAttributeValue (op, key, pool)
|
||||
|
||||
* **op** *No description*
|
||||
* **key** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### opIterator (opsStr, optStartIndex)
|
||||
|
||||
* **opsStr** *No description*
|
||||
* **optStartIndex** *No description*
|
||||
|
||||
- - -
|
||||
### opString (op)
|
||||
|
||||
* **op** *No description*
|
||||
|
||||
- - -
|
||||
### pack (oldLen, newLen, opsStr, bank)
|
||||
|
||||
* **oldLen** *No description*
|
||||
* **newLen** *No description*
|
||||
* **opsStr** *No description*
|
||||
* **bank** *No description*
|
||||
|
||||
- - -
|
||||
### parseNum (str)
|
||||
|
||||
* **str** *No description*
|
||||
|
||||
- - -
|
||||
### prepareForWire (cs, pool)
|
||||
|
||||
* **cs** *No description*
|
||||
* **pool** *No description*
|
||||
|
||||
- - -
|
||||
### smartOpAssembler ()
|
||||
|
||||
|
||||
- - -
|
||||
### splitAttributionLines (attrOps, text)
|
||||
|
||||
* **attrOps** *No description*
|
||||
* **text** *No description*
|
||||
|
||||
- - -
|
||||
### splitTextLines (text)
|
||||
|
||||
* **text** *No description*
|
||||
|
||||
- - -
|
||||
### stringAssembler ()
|
||||
|
||||
|
||||
- - -
|
||||
### stringIterator (str)
|
||||
|
||||
* **str** *No description*
|
||||
|
||||
- - -
|
||||
### stringOp (str)
|
||||
|
||||
* **str** *No description*
|
||||
|
||||
- - -
|
||||
### subattribution (astr, start, optEnd)
|
||||
|
||||
* **astr** *No description*
|
||||
* **start** *No description*
|
||||
* **optEnd** *No description*
|
||||
|
||||
- - -
|
||||
### textLinesMutator (lines)
|
||||
|
||||
* **lines** *No description*
|
||||
|
||||
- - -
|
||||
### toBaseTen (cs)
|
||||
|
||||
* **cs** *No description*
|
||||
|
||||
- - -
|
||||
### toSplices (cs)
|
||||
|
||||
* **cs** *No description*
|
||||
|
||||
- - -
|
||||
### unpack (cs)
|
||||
|
||||
* **cs** *No description*
|
||||
|
||||
##Variables
|
||||
|
||||
- - -
|
||||
### assert
|
||||
|
||||
|
||||
- - -
|
||||
### error
|
||||
|
||||
|
24
doc/jsdoc/utils/ExportHtml.md
Normal file
24
doc/jsdoc/utils/ExportHtml.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# utils/Expo
|
||||
`require("./utils/ExportHtml");`
|
||||
|
||||
Copyright 2009 Google Inc.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
## Functions
|
||||
|
||||
- - -
|
||||
### getPadHTMLDocument (padId, revNum, noDocType, callback)
|
||||
|
||||
* **padId** *No description*
|
||||
* **revNum** *No description*
|
||||
* **noDocType** *No description*
|
||||
* **callback** *No description*
|
||||
|
16
doc/jsdoc/utils/Minify.md
Normal file
16
doc/jsdoc/utils/Minify.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# utils/
|
||||
`require("./utils/Minify");`
|
||||
|
||||
This Module manages all /minified/* requests. It controls the
|
||||
minification && compression of Javascript and CSS.
|
||||
|
||||
## Functions
|
||||
|
||||
- - -
|
||||
### minifyJS (req, res, jsFilename)
|
||||
creates the minifed javascript for the given minified name
|
||||
|
||||
* **req** the Express request
|
||||
* **res** the Express response
|
||||
* **jsFilename** *No description*
|
||||
|
40
doc/jsdoc/utils/Settings.md
Normal file
40
doc/jsdoc/utils/Settings.md
Normal file
|
@ -0,0 +1,40 @@
|
|||
# utils/Se
|
||||
`require("./utils/Settings");`
|
||||
|
||||
The Settings Modul reads the settings out of settings.json and provides
|
||||
this information to the other modules
|
||||
|
||||
##Variables
|
||||
|
||||
- - -
|
||||
### abiword
|
||||
The path of the abiword executable
|
||||
|
||||
- - -
|
||||
### dbSettings
|
||||
This setting is passed with dbType to ueberDB to set up the database
|
||||
|
||||
- - -
|
||||
### dbType
|
||||
|
||||
|
||||
- - -
|
||||
### defaultPadText
|
||||
The default Text of a new pad
|
||||
|
||||
- - -
|
||||
### ip
|
||||
The IP ep-lite should listen to
|
||||
|
||||
- - -
|
||||
### logHTTP
|
||||
A flag that shows if http requests should be loged to stdout
|
||||
|
||||
- - -
|
||||
### minify
|
||||
A flag that shows if minification is enabled or not
|
||||
|
||||
- - -
|
||||
### port
|
||||
The Port ep-lite should listen to
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue