Commit Graph

241 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
a2c7a8850f Changes to alt port functionality
- don't store alt port preference in `localStorage` anymore
- don't show information about what port the client is connecting to,
  because this information isn't useful to users
2013-02-28 19:27:15 -07:00
Cathy J. Fitzpatrick
8342068a5c Fix an issue resulting from the ladder move 2013-02-28 04:05:43 -07:00
Cathy J. Fitzpatrick
8be53b902e Changes for ladder database move 2013-02-28 00:04:32 -07:00
Guangcong Luo
afd7a89c64 All HP percentages round the same way now 2013-02-26 19:34:15 -08:00
Guangcong Luo
b92a21e564 Show HP for active pokemon on mouseover 2013-02-26 10:37:19 -08:00
Cathy J. Fitzpatrick
e97f68d51f Correct percent display 2013-02-24 18:48:19 -07:00
Cathy J. Fitzpatrick
8a4324d141 More changes to HP display 2013-02-24 18:44:11 -07:00
Cathy J. Fitzpatrick
675c4081da Changes to HP display 2013-02-24 18:41:08 -07:00
Cathy J. Fitzpatrick
3b3f8112be More changes to HP display
- show best available information when hovering over pokeballs
- show an approximate percent in the log and when hovering
2013-02-24 17:04:52 -07:00
Cathy J. Fitzpatrick
d74b81b0d2 Changes for pixel health display
- show number of pixels of HP beside HP bars
- show damage as a number of pixels rather than a percent
2013-02-24 16:46:29 -07:00
Cathy J. Fitzpatrick
57c00c2164 hexasexual (Solace) gets a new colour 2013-02-23 16:46:26 -07:00
Cathy J. Fitzpatrick
e4165eaf42 Aurora gets a new colour 2013-02-23 02:58:03 -07:00
Cathy J. Fitzpatrick
8b5199cdd1 Fix typo 2013-02-23 02:28:00 -07:00
Cathy J. Fitzpatrick
ba75dce604 Implement updateuserstats action 2013-02-23 02:25:34 -07:00
Cathy J. Fitzpatrick
36836fc5b2 Fix the debouncing logic 2013-02-22 15:33:34 -07:00
Cathy J. Fitzpatrick
7fdc3438bb Further decrease frequency of debounced updates 2013-02-22 15:26:52 -07:00
Cathy J. Fitzpatrick
d15f08c1a8 Tab complete: fix alphabetical sorting 2013-02-22 00:38:28 -07:00
Cathy J. Fitzpatrick
163c3f679b Remove some unused code 2013-02-21 22:20:16 -07:00
Cathy J. Fitzpatrick
036acb2505 Store sound preference in prefs instead of special cookie 2013-02-21 21:58:06 -07:00
Cathy J. Fitzpatrick
fff9d155fd Add another missing swf file 2013-02-21 21:31:47 -07:00
Cathy J. Fitzpatrick
b5fd671927 Changes to sound support 2013-02-21 21:27:10 -07:00
Cathy J. Fitzpatrick
bc3ea99616 Trivial formatting changes to index.php 2013-02-21 19:53:11 -07:00
Cathy J. Fitzpatrick
23f1b56b67 Add support for server alternative ports
If connecting to the server's main port fails, the client will
automatically attempt to connect on the alternative port. If connecting
on the alternative port is successful, this is recorded in localStorage
so that next time, the alternative port is used first.

This is mainly intended to be used by the main server, which has a
primary port of 8000 and a relatively little known alternative port
of 80.
2013-02-21 19:33:56 -07:00
Cathy J. Fitzpatrick
adcb180502 ginganinja gets a new colour 2013-02-21 01:47:43 -07:00
Bill Meltsner
25dc501bbc Smeargle cannot Sketch Chatter or Struggle. 2013-02-20 22:53:55 -08:00
Cathy J. Fitzpatrick
5a7abe13a8 Fix a bug in the userlist buttons' onclick handler 2013-02-20 18:50:29 -07:00
Cathy J. Fitzpatrick
0330992dcc Delete unused file: /learnsets.js
A version of this file which is used is found in the `data` directory.
2013-02-20 04:26:38 -07:00
Cathy J. Fitzpatrick
15ae1ff16f Disable web access to some more files 2013-02-20 04:16:42 -07:00
Cathy J. Fitzpatrick
64f49813be Move notification.php to the backup directory
`notification.php` is unused, so it's safer to keep it in the
`backup` directory, which is not accessible over HTTP.
2013-02-20 04:10:53 -07:00
Cathy J. Fitzpatrick
6ed5c51aeb Add query string syntax to testclient.html 2013-02-20 03:55:26 -07:00
Cathy J. Fitzpatrick
7917f89a49 Fix for the battle list not updating 2013-02-20 03:06:13 -07:00
Cathy J. Fitzpatrick
2e852de9b1 Fix horizontal scrolling of chat 2013-02-20 00:56:13 -07:00
Cathy J. Fitzpatrick
4f17107ba3 Fix issue with empty element in userlist 2013-02-20 00:12:12 -07:00
Cathy J. Fitzpatrick
8d697b7e6d Fix minor display issue when no users are online 2013-02-19 22:46:09 -07:00
Cathy J. Fitzpatrick
6179c75e9e Better method of updating the user list
Instead of constructing the user list from scratch at regular intervals,
we now construct it only when joining the lobby. Each subsequent join,
part, or rename then adds or removes elements from the user list, rather
than constructing it from scratch.

This change should significantly reduce client lag.
2013-02-19 22:22:12 -07:00
Cathy J. Fitzpatrick
35c5be5a85 Fix a bug in tab completion 2013-02-19 20:08:48 -07:00
Cathy J. Fitzpatrick
1e0efb7612 Add some profiling code 2013-02-19 18:39:46 -07:00
Cathy J. Fitzpatrick
5c763e4606 Temporary change to make client less laggy
Unfortunately, this does introduce 1.4 seconds of new lag when clicking
to view a user's profile, but it's an improvement overall, pending the
development of a more robust solution.
2013-02-19 18:23:27 -07:00
Marty-D
0fa966f47f Fix Fly and Razor Wind's messages. 2013-02-19 16:43:28 -05:00
Cathy J. Fitzpatrick
dfb58aed59 Don't load the client if teams fail to load
If teams fail to load due to some bug, the user may lose their teams
permanently if they save their teams. In avoid to avoid a catastrophe,
we now decline to load the client if teams fail to load.

This should never happen unless a bug is introduced that breaks team
loading.
2013-02-19 01:07:18 -07:00
Cathy J. Fitzpatrick
278479865e Changes to notifications
- don't show a notification if the client has focus
- page title notifications now alternate every 1.5 seconds rather than
  every 0.5 seconds
2013-02-19 00:27:08 -07:00
Cathy J. Fitzpatrick
3b822f05f6 Allow safe proprietary (nonstandard) CSS 2013-02-19 00:01:26 -07:00
Cathy J. Fitzpatrick
369642c72c Fix bug in highlight feature
Because highlight matching was done with a global regular expression,
subsequent calls to `test` started searching after the end of the
previous match, meaning that highlight matches were often misses.
There is no reason for highlight matching to be done with a global
regular expression, so this commit fixes the issue by deleting
option 'g' from the regular expression.

In addition, I have renamed `lobby.regex` to `lobby.highlightRegExp`.
2013-02-18 21:42:33 -07:00
Marty-D
d69053441a Fix Gravity, Smack Down, and remove a few duplicate messages. 2013-02-18 21:40:00 -05:00
Cathy J. Fitzpatrick
2025ba7955 Implement /refreshpage command 2013-02-18 00:02:48 -07:00
Cathy J. Fitzpatrick
4c2526b562 Revert recent changes for now
These changes introduced some unexpected issues.
2013-02-17 23:05:59 -07:00
Cathy J. Fitzpatrick
e2f3b23c6c Fix for some servers on the testclient server chooser 2013-02-17 22:38:26 -07:00
Cathy J. Fitzpatrick
55581d5a48 Add server chooser to testclient.html 2013-02-17 22:35:04 -07:00
Cathy J. Fitzpatrick
34b309d58d Add serverlist action to action.php
The `serverlist` action returns a list of registered servers. It accepts
cross-domain requests, which is safe since it merely returns publicly
available information.
2013-02-17 21:53:02 -07:00
Cathy J. Fitzpatrick
548cd6bc31 Don't show auth buttons to voice users 2013-02-17 21:20:22 -07:00