Commit Graph

19 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
15dabc4eec Don't truncate /data etc. in battle data 2013-04-17 10:09:07 -07:00
Cathy J. Fitzpatrick
aa39361f54 Fix horizontal scrolling of battle chats 2013-04-17 03:11:56 -07:00
Guangcong Luo
4ae953ee7a Fix to how large overlays scroll 2013-04-13 17:37:45 -07:00
Guangcong Luo
8dd9524fa8 Avatar changing in options menu 2013-04-13 16:42:58 -07:00
Guangcong Luo
2df43efbc8 Don't display scrollbar by default in overlays 2013-04-13 14:21:25 -07:00
Guangcong Luo
9c56d0079b Options menu UI
A lot of preferences are no longer hidden behind console commands.
More to follow.
2013-04-13 14:12:31 -07:00
Guangcong Luo
2341e9c1ae Add sim layout to sim.css
Apparently part of replayer.css was being used for font definitions in
the sim. That's been moved to sim.css.
2013-04-11 21:26:51 -07:00
Guangcong Luo
9367836562 Fix Toxic in switch menu 2013-04-03 20:53:26 -07:00
Guangcong Luo
3e5d3857e4 Aesthetically pleasing switch menu HP bar colors 2013-03-29 13:52:31 -07:00
Guangcong Luo
56c439e5cf Use protocol-relative URLs for resources 2013-03-29 10:29:29 -07:00
Cathy J. Fitzpatrick
92867f22b9 Implement HP bar colours 2013-03-29 02:53:52 -06:00
Cathy J. Fitzpatrick
d99ede9def Always load resources from play.pokemonshowdown.com
With the advent of the *.psim.us URI scheme, one problem was that
images and other resources were not cached across different servers
because each server had a different URI for the same resource. This
commit resolves the problem by loading all resources from
play.pokemonshowdown.com.
2013-03-22 04:07:30 -06:00
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