Pita/etherpad-lite — pull request #661 by redhog (2012-04-23 14:52:18+00:00)
Title: Readonly pads & realtime updating timeslider

This pull request adds support for real time updating of the timeslider as the pad is changed.

It also adds support for readonly pads. readonly pads uses the same URLs for the editor and the timeslider as normal pads, but with different ID:s (that all begin with "r."). Readonlyness is enforced by the server, and implemented correctly on the client apart from the editbar (editbar icons shouldget disabled but are not).

A few comments:

The components "timeslider" and "pad" in SocketIORouter have been merged, as the timeslider needs to get the same COLABROOM messages as the editor.

"Sessions" as used in PadMessageHandler should probably be renamed connections, as there are two other concepts called sessions: message.sessionID (which seems to be used only by the API), and express sessions (which the API probably should be using).

SecurityManager should probably use/be a hook.