garyfeng / etherpad-lite

Etherpad: Really real-time collaborative document editing
http://etherpad.org
Apache License 2.0
0 stars 0 forks source link

add message logging on the server side #2

Open garyfeng opened 8 years ago

garyfeng commented 8 years ago

It uses log4js, which we use for the N* project. We can add an appender to write this to a log file pretty easily.

Another method is to directly access the dirtyDB, which is a flat text file var/dirty.db.

garyfeng commented 8 years ago

Changed the logging setting in setting.json from INFO to DEBUG. Started a pad called gary on my server, and did the following editing (after clearing the pad):

The resulted debugging log on the terminal is something like the following:

[2016-01-18 18:00:08.281] [DEBUG] message - from 3TQ51KjSF-usA17YAAAA: {"type":"COLLABROOM","component":"pad","data":{"type":"USER_CHANGES","baseRev":18,"changeset":"Z:1>1*0+1$1","apool":{"numToAttrib":{"0":["author","a.iI4jOfEBNY3fAx6a"]},"nextNum":1}}}
[2016-01-18 18:00:08.281] [DEBUG] ueberDB - GET    - token2author:t.ffu9ajtAe5xjY3tbw9z0 - "a.iI4jOfEBNY3fAx6a" - from database 
[2016-01-18 18:00:08.281] [DEBUG] ueberDB - SETSUB - globalAuthor:a.iI4jOfEBNY3fAx6a["timestamp"] - 1453158008281
[2016-01-18 18:00:08.282] [DEBUG] ueberDB - SET    - pad:gary:revs:19 - {"changeset":"Z:1>1*0+1$1","meta":{"author":"a.iI4jOfEBNY3fAx6a","timestamp":1453158008282}} - to database
[2016-01-18 18:00:08.282] [DEBUG] ueberDB - SET    - pad:gary - {"atext":{"text":"1\n","attribs":"*0+1|1+1"},"pool":{"numToAttrib":{"0":["author","a.iI4jOfEBNY3fAx6a"],"1":["author","a.d6pjGBK0Z7UY5ObD"],"2":["underline","true"],"3":["bold","true"]},"nextNum":4},"head":19,"chatHead":-1,"publicStatus":false,"passwordHash":null,"savedRevisions":[]} - to database
[2016-01-18 18:00:08.282] [DEBUG] ueberDB - GET    - globalAuthor:a.iI4jOfEBNY3fAx6a - {"colorId":"#d722bb","name":"gary","timestamp":1453158000982,"padIDs":{"gary":1}} - from database 
[2016-01-18 18:00:08.282] [DEBUG] ueberDB - SET    - globalAuthor:a.iI4jOfEBNY3fAx6a - {"colorId":"#d722bb","name":"gary","timestamp":1453158008281,"padIDs":{"gary":1}} - to database
[2016-01-18 18:00:08.282] [DEBUG] ueberDB - GET    - pad:gary:revs:19 - {"changeset":"Z:1>1*0+1$1","meta":{"author":"a.iI4jOfEBNY3fAx6a","timestamp":1453158008282}} - from database 
[2016-01-18 18:00:08.282] [DEBUG] message - to 3TQ51KjSF-usA17YAAAA: {"type":"COLLABROOM","data":{"type":"ACCEPT_COMMIT","newRev":19}}
[2016-01-18 18:00:08.283] [DEBUG] ueberDB - GET    - globalAuthor:a.iI4jOfEBNY3fAx6a - {"colorId":"#d722bb","name":"gary","timestamp":1453158008281,"padIDs":{"gary":1}} - from database 
[2016-01-18 18:00:08.283] [DEBUG] ueberDB - SET    - globalAuthor:a.iI4jOfEBNY3fAx6a - {"colorId":"#d722bb","name":"gary","timestamp":1453158008281,"padIDs":{"gary":1}} - to database
[2016-01-18 18:00:09.489] [DEBUG] message - from 3TQ51KjSF-usA17YAAAA: {"type":"COLLABROOM","component":"pad","data":{"type":"USER_CHANGES","baseRev":19,"changeset":"Z:2>1=1*0+1$2","apool":{"numToAttrib":{"0":["author","a.iI4jOfEBNY3fAx6a"]},"nextNum":1}}}
[2016-01-18 18:00:09.489] [DEBUG] ueberDB - GET    - token2author:t.ffu9ajtAe5xjY3tbw9z0 - "a.iI4jOfEBNY3fAx6a" - from database 
[2016-01-18 18:00:09.489] [DEBUG] ueberDB - SETSUB - globalAuthor:a.iI4jOfEBNY3fAx6a["timestamp"] - 1453158009489
[2016-01-18 18:00:09.490] [DEBUG] ueberDB - SET    - pad:gary:revs:20 - {"changeset":"Z:2>1=1*0+1$2","meta":{"author":"a.iI4jOfEBNY3fAx6a","timestamp":1453158009490}} - to database
[2016-01-18 18:00:09.490] [DEBUG] ueberDB - SET    - pad:gary - {"atext":{"text":"12\n","attribs":"*0+2|1+1"},"pool":{"numToAttrib":{"0":["author","a.iI4jOfEBNY3fAx6a"],"1":["author","a.d6pjGBK0Z7UY5ObD"],"2":["underline","true"],"3":["bold","true"]},"nextNum":4},"head":20,"chatHead":-1,"publicStatus":false,"passwordHash":null,"savedRevisions":[]} - to database
[2016-01-18 18:00:09.490] [DEBUG] ueberDB - GET    - globalAuthor:a.iI4jOfEBNY3fAx6a - {"colorId":"#d722bb","name":"gary","timestamp":1453158008281,"padIDs":{"gary":1}} - from database 
[2016-01-18 18:00:09.490] [DEBUG] ueberDB - SET    - globalAuthor:a.iI4jOfEBNY3fAx6a - {"colorId":"#d722bb","name":"gary","timestamp":1453158009489,"padIDs":{"gary":1}} - to database
[2016-01-18 18:00:09.491] [DEBUG] ueberDB - GET    - pad:gary:revs:20 - {"changeset":"Z:2>1=1*0+1$2","meta":{"author":"a.iI4jOfEBNY3fAx6a","timestamp":1453158009490}} - from database 
[2016-01-18 18:00:09.491] [DEBUG] message - to 3TQ51KjSF-usA17YAAAA: {"type":"COLLABROOM","data":{"type":"ACCEPT_COMMIT","newRev":20}}
[2016-01-18 18:00:09.491] [DEBUG] ueberDB - GET    - globalAuthor:a.iI4jOfEBNY3fAx6a - {"colorId":"#d722bb","name":"gary","timestamp":1453158009489,"padIDs":{"gary":1}} - from database 
[2016-01-18 18:00:09.491] [DEBUG] ueberDB - SET    - globalAuthor:a.iI4jOfEBNY3fAx6a - {"colorId":"#d722bb","name":"gary","timestamp":1453158009489,"padIDs":{"gary":1}} - to database

ueberDB is an abstraction of underlying dirtyDB, used for saving and retrieving messages as key:value pairs. The following line (beautified) contains the most meaningful information.

[2016-01-18 18:00:08.282] [DEBUG] ueberDB - SET    - pad:gary - {
  "atext":{
    "text":"1\n",
    "attribs":"*0+1|1+1"
  },
  "pool":{
    "numToAttrib":{
      "0":["author","a.iI4jOfEBNY3fAx6a"],
      "1":["author","a.d6pjGBK0Z7UY5ObD"],
      "2":["underline","true"],
      "3":["bold","true"]
    },
    "nextNum":4
  },
  "head":19,
  "chatHead":-1,
  "publicStatus":false,
  "passwordHash":null,
  "savedRevisions":[]
} - to database
garyfeng commented 8 years ago

The same record in dirty.db looks like the following. The last record for each revision seems to be an unnecessary replication. Need to understand the encoding of the changeset.

{"key":"pad:gary:revs:18","val":{
  "changeset":"Z:bk<bj|8-bb-8$",
  "meta":{"author":"a.iI4jOfEBNY3fAx6a","timestamp":1453158000983}}}
{"key":"pad:gary","val":{
  "atext":{"text":"\n","attribs":"|1+1"},
  "pool":{
    "numToAttrib":{"0":["author","a.iI4jOfEBNY3fAx6a"],"1":["author","a.d6pjGBK0Z7UY5ObD"],"2":["underline","true"],"3":["bold","true"]},
    "nextNum":4},
  "head":18,"chatHead":-1,"publicStatus":false,"passwordHash":null,"savedRevisions":[]}}
{"key":"globalAuthor:a.iI4jOfEBNY3fAx6a","val":{
  "colorId":"#d722bb","name":"gary","timestamp":1453158000982,"padIDs":{"gary":1}}}
{"key":"globalAuthor:a.iI4jOfEBNY3fAx6a","val":{
  "colorId":"#d722bb","name":"gary","timestamp":1453158000982,"padIDs":{"gary":1}}}

{"key":"pad:gary:revs:19","val":{
  "changeset":"Z:1>1*0+1$1",
  "meta":{"author":"a.iI4jOfEBNY3fAx6a","timestamp":1453158008282}}}
{"key":"pad:gary","val":{
  "atext":{"text":"1\n","attribs":"*0+1|1+1"},
  "pool":{
    "numToAttrib":{"0":["author","a.iI4jOfEBNY3fAx6a"],"1":["author","a.d6pjGBK0Z7UY5ObD"],"2":["underline","true"],"3":["bold","true"]},
    "nextNum":4},
  "head":19,"chatHead":-1,"publicStatus":false,"passwordHash":null,"savedRevisions":[]}}
{"key":"globalAuthor:a.iI4jOfEBNY3fAx6a","val":{
  "colorId":"#d722bb","name":"gary","timestamp":1453158008281,"padIDs":{"gary":1}}}
{"key":"globalAuthor:a.iI4jOfEBNY3fAx6a","val":{
  "colorId":"#d722bb","name":"gary","timestamp":1453158008281,"padIDs":{"gary":1}}}

{"key":"pad:gary:revs:20","val":{
  "changeset":"Z:2>1=1*0+1$2","meta":{"author":"a.iI4jOfEBNY3fAx6a","timestamp":1453158009490}}}
{"key":"pad:gary","val":{
  "atext":{"text":"12\n","attribs":"*0+2|1+1"},
  "pool":{
    "numToAttrib":{"0":["author","a.iI4jOfEBNY3fAx6a"],"1":["author","a.d6pjGBK0Z7UY5ObD"],"2":["underline","true"],"3":["bold","true"]},
    "nextNum":4},
  "head":20,"chatHead":-1,"publicStatus":false,"passwordHash":null,"savedRevisions":[]}}
{"key":"globalAuthor:a.iI4jOfEBNY3fAx6a","val":{
  "colorId":"#d722bb","name":"gary","timestamp":1453158009489,"padIDs":{"gary":1}}}
{"key":"globalAuthor:a.iI4jOfEBNY3fAx6a","val":{
  "colorId":"#d722bb","name":"gary","timestamp":1453158009489,"padIDs":{"gary":1}}}
garyfeng commented 8 years ago

Several things are noteworthy at this point:

garyfeng commented 8 years ago

Decoding changeset: see https://github.com/garyfeng/etherpad-lite/blob/develop/doc/api/changeset_library.md

Guesses

Experiments:

garyfeng commented 8 years ago

https://github.com/garyfeng/etherpad-lite/blob/develop/doc/easysync/easysync-notes.txt''


- no unicode (for efficient escaping, sightliness)
- efficient operations for ACE and collab (attributed text, etc.)
- good for time-slider
- good for API
- line-ending aware
X more coherent (deleting or styling text merging with insertion)
- server-side syntax highlighting?
- unify author map with attribute pool
- unify attributed text with changeset rep
- not: reversible
- force final newline of document to be preserved

- Unicode bad:
  - ugly (hard to read)
  - more complex to parse
  - harder to store and transmit correctly
  - doesn't save all that much space anyway
  - blows up in size when string-escaped
  - embarrassing for API

# Attributes:

An "attribute" is a (key,value) pair such as (author,abc123456) or
(bold,true).  Sometimes an attribute is treated as an instruction to
add that attribute, in which case an empty value means to remove it.
So (bold,) removes the "bold" attribute.  Attributes are interned and
given numeric IDs, so the number "6" could represent "(bold,true)",
for example.  This mapping is stored in an attribute "pool" which may
be shared by multiple changesets.

Entries in the pool must be unique, so that attributes can be compared
by their IDs.  Attribute names cannot contain commas.

A changeset looks something like the following:

Z:5g>1|5=2p=v*4*5+1$x

With the corresponding pool containing these entries:

...
4 -> (author,1059348573)
5 -> (bold,true)
...

This changeset, together with the pool, represents inserting
a bold letter "x" into the middle of a line.  The string consists of:

- a letter Z (the "magic character" and format version identifier)
- a series of opcodes (punctuation) and numeric values in base 36 (the
  alphanumerics)
- a dollar sign ($)
- a string of characters used by insertion operations (the "char bank")

If we separate out the operations and convert the numbers to base 10, we get:

Z :196 >1 |5=97 =31 *4 *5 +1 $"x"

Here are descriptions of the operations, where capital letters are variables:

":N" : Source text has length N (must be first op)
">N" : Final text is N (positive) characters longer than source text (must be second op)
"<N" : Final text is N (positive) characters shorter than source text (must be second op)
">0" : Final text is same length as source text
"+N" : Insert N characters from the bank, none of them newlines
"-N" : Skip over (delete) N characters from the source text, none of them newlines
"=N" : Keep N characters from the source text, none of them newlines
"|L+N" : Insert N characters from the source text, containing L newlines.  The last
         character inserted MUST be a newline, but not the (new) document's final newline.  
"|L-N" : Delete N characters from the source text, containing L newlines. The last
         character inserted MUST be a newline, but not the (old) document's final newline.
"|L=N" : Keep N characters from the source text, containing L newlines.  The last character
         kept MUST be a newline, and the final newline of the document is allowed.
"*I"   : Apply attribute I from the pool to the following +, =, |+, or |= command.
         In other words, any number of * ops can come before a +, =, or | but not
         between a | and the corresponding + or =.
         If +, text is inserted having this attribute.  If =, text is kept but with
         the attribute applied as an attribute addition or removal.
         Consecutive attributes must be sorted lexically by (key,value) with key
         and value taken as strings.  It's illegal to have duplicate keys
         for (key,value) pairs that apply to the same text.  It's illegal to
         have an empty value for a key in the case of an insertion (+), the
         pair should just be omitted.

Characters from the source text that aren't accounted for are assumed to be kept
with the same attributes.

Additional Constraints:

- Consecutive +, -, and = ops of the same type that could be combined are not allowed.
  Whether combination is possible depends on the attributes of the ops and whether
  each is multiline or not.  For example, two multiline deletions can never be
  consecutive, nor can any insertion come after a non-multiline insertion with the
  same attributes.
- "No-op" ops are not allowed, such as deleting 0 characters.  However, attribute
  applications that don't have any effect are allowed.
- Characters at the end of the source text cannot be explicitly kept with no changes;
  if the change doesn't affect the last N characters, those "keep" ops must be left off.
- In any consecutive sequence of insertions (+) and deletions (-) with no keeps (=),
  the deletions must come before the insertions.
- The document text before and after will always end with a newline.  This policy avoids
  a lot of special-casing of the end of the document.  If a final newline is
  always added when importing text and removed when exporting text, then the
  changeset representation can be used to process text files that may or may not
  have a final newline.

Attribution string:

An "attribution string" is a series of inserts with no deletions or keeps.
For example, "*3+8|1+5" describes the attributes of a string of length 13,
where the first 8 chars have attribute 3 and the next 5 chars have no
attributes, with the last of these 5 chars being a newline.  Constraints
apply similar to those affecting changesets, but the restriction about
the final newline of the new document being added doesn't apply.

Attributes in an attribution string cannot be empty, like "(bold,)", they should
instead be absent.

-------
Considerations:

- composing changesets/attributions with different pools
- generalizing "applyToAttribution" to make "mutateAttributionLines" and "compose"
garyfeng commented 8 years ago

also https://github.com/ether/etherpad-lite/blob/develop/doc/easysync/easysync-notes.pdf

garyfeng commented 8 years ago

You can save EtherPad content to *.etherpad format, which looks like the following:

{
   "pad:main:revs:0":{
      "changeset":"Z:1>db|7+db$Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nGet involved with Etherpad at http://etherpad.org\n\nThis version of Etherpad includes the following plugins: ep_align ep_author_neat ep_comments_page ep_font_color ep_font_family ep_font_size ep_headings2 ep_markdown ep_page_view ep_print ep_spellcheck ep_sticky_attributes ep_subscript_and_superscript\n",
      "meta":{
         "author":"",
         "timestamp":1453926023276,
         "atext":{
            "text":"Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nGet involved with Etherpad at http://etherpad.org\n\nThis version of Etherpad includes the following plugins: ep_align ep_author_neat ep_comments_page ep_font_color ep_font_family ep_font_size ep_headings2 ep_markdown ep_page_view ep_print ep_spellcheck ep_sticky_attributes ep_subscript_and_superscript\n\n",
            "attribs":"|8+dc"
         }
      }
   },
   "pad:main:revs:1":{
      "changeset":"Z:dc>1|7=db*0|1+1$\n",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926080070
      }
   },
   "pad:main:revs:10":{
      "changeset":"Z:dv>1|9=dd=h*0+1$h",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926084848
      }
   },
   "pad:main:revs:11":{
      "changeset":"Z:dw<1|9=dd=h-1$",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926085507
      }
   },
   "pad:main:revs:12":{
      "changeset":"Z:dv>2|9=dd=h*0+2$is",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926086084
      }
   },
   "pad:main:revs:13":{
      "changeset":"Z:dx>3|9=dd=j*0+3$ ti",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926086584
      }
   },
   "pad:main:revs:14":{
      "changeset":"Z:e0>2|9=dd=m*0+2$m ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926087087
      }
   },
   "pad:main:revs:15":{
      "changeset":"Z:e2>3|9=dd=o*0+3$sli",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926087587
      }
   },
   "pad:main:revs:16":{
      "changeset":"Z:e5>3|9=dd=r*0+3$der",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926088087
      }
   },
   "pad:main:revs:17":{
      "changeset":"Z:e8>2|9=dd=u*0|1+2$?\n",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926088589
      }
   },
   "pad:main:revs:18":{
      "changeset":"Z:ea>2|a=e9*0|1+1*0+1$\nI",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926089090
      }
   },
   "pad:main:revs:19":{
      "changeset":"Z:ec>3|b=ea=1*0+3$ so",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926089590
      }
   },
   "pad:main:revs:2":{
      "changeset":"Z:dd>1|8=dc*0|1+1$\n",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926080565
      }
   },
   "pad:main:revs:20":{
      "changeset":"Z:ef<1|b=ea=2-2*0+1$d",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926090090
      }
   },
   "pad:main:revs:21":{
      "changeset":"Z:ee>5|b=ea=3*0+5$ont' ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926090590
      }
   },
   "pad:main:revs:22":{
      "changeset":"Z:ej>5|b=ea=8*0+5$belie",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926091089
      }
   },
   "pad:main:revs:23":{
      "changeset":"Z:eo>5|b=ea=d*0+5$ve it",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926091590
      }
   },
   "pad:main:revs:24":{
      "changeset":"Z:et<1|b=ea=h-1$",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926092091
      }
   },
   "pad:main:revs:25":{
      "changeset":"Z:es<3|b=ea=e-3$",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926092590
      }
   },
   "pad:main:revs:26":{
      "changeset":"Z:ep<2|b=ea=c-2$",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926093091
      }
   },
   "pad:main:revs:27":{
      "changeset":"Z:en<4|b=ea=8-4$",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926093595
      }
   },
   "pad:main:revs:28":{
      "changeset":"Z:ej>1|b=ea=8*0+1$t",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926094095
      }
   },
   "pad:main:revs:29":{
      "changeset":"Z:ek>4|b=ea=9*0+4$rust",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926094595
      }
   },
   "pad:main:revs:3":{
      "changeset":"Z:de>1|9=dd*0+1$O",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926081345
      }
   },
   "pad:main:revs:30":{
      "changeset":"Z:eo>3|b=ea=d*0+3$ it",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926095095
      }
   },
   "pad:main:revs:31":{
      "changeset":"Z:er>2|b=ea=g*0+2$. ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926095595
      }
   },
   "pad:main:revs:32":{
      "changeset":"Z:et>1|b=ea=i*0|1+1$\n",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926146295
      }
   },
   "pad:main:revs:33":{
      "changeset":"Z:eu>1|c=et*0|1+1$\n",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926146795
      }
   },
   "pad:main:revs:34":{
      "changeset":"Z:ev>1|d=eu*0+1$a",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926147296
      }
   },
   "pad:main:revs:35":{
      "changeset":"Z:ew>1|d=eu=1*0+1$ ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926147800
      }
   },
   "pad:main:revs:36":{
      "changeset":"Z:ex>1|d=eu=2*0+1$l",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926148302
      }
   },
   "pad:main:revs:37":{
      "changeset":"Z:ey>5|d=eu=3*0+5$ong p",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926148801
      }
   },
   "pad:main:revs:38":{
      "changeset":"Z:f3>5|d=eu=8*0+5$ause ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926149304
      }
   },
   "pad:main:revs:39":{
      "changeset":"Z:f8>1|d=eu=d*0+1$a",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926149803
      }
   },
   "pad:main:revs:4":{
      "changeset":"Z:df>1|9=dd=1*0+1$k",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926081847
      }
   },
   "pad:main:revs:40":{
      "changeset":"Z:f9>1|d=eu=e*0+1$f",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926150304
      }
   },
   "pad:main:revs:41":{
      "changeset":"Z:fa>4|d=eu=f*0+4$ter ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926150803
      }
   },
   "pad:main:revs:42":{
      "changeset":"Z:fe>4|d=eu=j*0+4$this",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926151306
      }
   },
   "pad:main:revs:43":{
      "changeset":"Z:fi>1|d=eu=n*0+1$ ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926151805
      }
   },
   "pad:main:revs:44":{
      "changeset":"Z:fj>1|d=eu=o*0|1+1$\n",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926156020
      }
   },
   "pad:main:revs:45":{
      "changeset":"Z:fk>3|e=fj*0|1+1*0+2$\nan",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926156520
      }
   },
   "pad:main:revs:46":{
      "changeset":"Z:fn>2|f=fk=2*0+2$d ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926157019
      }
   },
   "pad:main:revs:47":{
      "changeset":"Z:fp>3|f=fk=4*0+3$go ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926157520
      }
   },
   "pad:main:revs:48":{
      "changeset":"Z:fs>2|f=fk=7*0+2$on",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926158022
      }
   },
   "pad:main:revs:5":{
      "changeset":"Z:dg>2|9=dd=2*0+2$, ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926082347
      }
   },
   "pad:main:revs:6":{
      "changeset":"Z:di>5|9=dd=4*0+5$what ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926082848
      }
   },
   "pad:main:revs:7":{
      "changeset":"Z:dn>3|9=dd=9*0+3$exa",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926083347
      }
   },
   "pad:main:revs:8":{
      "changeset":"Z:dq>2|9=dd=c*0+2$ct",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926083848
      }
   },
   "pad:main:revs:9":{
      "changeset":"Z:ds>3|9=dd=e*0+3$ly ",
      "meta":{
         "author":"a.hHqkxZmVKsVUWToV",
         "timestamp":1453926084348
      }
   },
   "pad:main":{
      "atext":{
         "text":"Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nGet involved with Etherpad at http://etherpad.org\n\nThis version of Etherpad includes the following plugins: ep_align ep_author_neat ep_comments_page ep_font_color ep_font_family ep_font_size ep_headings2 ep_markdown ep_page_view ep_print ep_spellcheck ep_sticky_attributes ep_subscript_and_superscript\n\n\nOk, what exactly is tim slider?\n\nI dont' trust it. \n\na long pause after this \n\nand go on\n",
         "attribs":"|7+db*0|8+29*0+9|1+1"
      },
      "pool":{
         "numToAttrib":{
            "0":[
               "author",
               "a.hHqkxZmVKsVUWToV"
            ]
         },
         "nextNum":1
      },
      "head":48,
      "chatHead":-1,
      "publicStatus":false,
      "passwordHash":null,
      "savedRevisions":[

      ]
   },
   "globalAuthor:a.hHqkxZmVKsVUWToV":{
      "colorId":8,
      "name":"Demo User",
      "timestamp":1453926164154,
      "padIDs":"main"
   }
}