Commit Graph

7 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
2e852de9b1 Fix horizontal scrolling of chat 2013-02-20 00:56:13 -07:00
Guangcong Luo
2faa86f94f New naming scheme for CSS 2013-02-12 23:35:34 -08:00
Cathy J. Fitzpatrick
272a076aca Fix coloured output in /learn 2013-02-12 20:28:36 -07:00
Cathy J. Fitzpatrick
63d4c2ad46 Fix message-modchat-disable CSS class 2013-02-12 12:17:13 -07:00
Cathy J. Fitzpatrick
274e9c96de Prevent servers from injecting JavaScript into client
This commit makes various changes to prevent servers from injecting
arbitrary JavaScript into the client. This prevents a variety of
possible exploits. The main changes in the client are as follows:

- Raw HTML from the server is now sanitised using caja to prevent
  excution of JavaScript. See
    https://code.google.com/p/google-caja/wiki/JsHtmlSanitizer
  for details.

- The client now has a variety of CSS classes for possible chat
  command messages that can be sent from the server, rather than the
  server injecting arbitrary CSS `style` attributes into the client.
2013-02-12 02:57:17 -07:00
Cathy J. Fitzpatrick
12b3b59ed0 Break long words in chat 2013-01-31 02:57:27 -08:00
Guangcong Luo
b16c1527da Populate with current state of client 2013-01-23 16:39:14 -08:00