Commit Graph

300 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
3e263e892e Add missing OK button to nothirdparty overlay 2013-04-17 19:25:13 -06:00
Cathy J. Fitzpatrick
7d697f15b5 Improve *.psim.us error messages 2013-04-17 19:11:50 -06:00
Cathy J. Fitzpatrick
d22a87872c testclient.html is no longer necessary 2013-04-17 17:31:38 -06:00
Guangcong Luo
b2801a5b82 Don't crash getIcon without pokedex-mini loaded 2013-04-17 14:46:25 -07:00
Cathy J. Fitzpatrick
f872ebda0a Move custom name colours to config.js 2013-04-15 19:56:53 -06:00
Guangcong Luo
4840c8269c Various bugfixes to new search library 2013-04-15 18:00:32 -07:00
Guangcong Luo
41b4695ed9 Implement Tools.getType in client 2013-04-15 18:00:08 -07:00
Guangcong Luo
97857cf718 Templates always get name set correctly 2013-04-15 17:59:50 -07:00
Cathy J. Fitzpatrick
791a0eb360 Add an error callback to battle.js 2013-04-15 18:21:26 -06:00
Cathy J. Fitzpatrick
371a1d8c7f Validate battle/format IDs in replay uploading 2013-04-15 17:29:11 -06:00
Cathy J. Fitzpatrick
7c8b6c3028 Fix the preferred avatar feature 2013-04-15 15:00:16 -06:00
Cathy J. Fitzpatrick
e911c955dd Eliminate almost all PHP from index.php 2013-04-15 06:57:18 -06:00
Cathy J. Fitzpatrick
b3d148d6fe Correct fix for replay uploading on alternative ports 2013-04-15 03:14:25 -06:00
Cathy J. Fitzpatrick
9cb8531ccf Fix uploading replays on showdown-80.psim.us 2013-04-15 03:11:53 -06:00
Cathy J. Fitzpatrick
49f707870f Add support for upkeep action to testclient.html 2013-04-15 02:14:19 -06:00
Cathy J. Fitzpatrick
e17aa898f5 Eliminate various global variables 2013-04-15 01:50:15 -06:00
Guangcong Luo
81a4d3756b battledata fixes:
- Tools.getMove no longer has graphics.js as a dependency
- Templates get an effectType
2013-04-14 23:09:11 -07:00
Guangcong Luo
cc5313887a New search scripts
These scripts will eventually replace the old utilichart.js. For
now, they're only used in the pokedex.
2013-04-14 23:08:11 -07:00
Guangcong Luo
6d0dd7162b battledata no longer has config as a dependency 2013-04-14 20:58:28 -07:00
Cathy J. Fitzpatrick
d82b5e6b7b Rename sanitisation and escaping functions
- `window.sanitize` is now `Tools.escapeHTML`
- `window.unsanitize` is now `Tools.unescapeHTML`
- `window.jsEscape` is now `Tools.escapeQuotes`
- `window.htmlSanitize' is now `Tools.sanitizeHTML`
- `battle.escape` has been eliminated and replaced by calls
   to `Tools.escapeHTML`
2013-04-14 21:49:51 -06:00
Cathy J. Fitzpatrick
56345b89a2 Nicer API for Tools.prefs 2013-04-14 18:21:28 -06:00
Cathy J. Fitzpatrick
465cad4532 Simplify the Config object 2013-04-14 00:51:39 -06:00
Cathy J. Fitzpatrick
f7fdacc2bc Remove me.token 2013-04-14 00:40:30 -06:00
Cathy J. Fitzpatrick
46589e7af0 Nicer definition of me 2013-04-14 00:33:33 -06:00
Cathy J. Fitzpatrick
e2e3dd4367 Fix possible crash in viewing profiles 2013-04-13 21:38:32 -06:00
Cathy J. Fitzpatrick
39d7e1542c Use absolute resource path in teambuilder.js 2013-04-13 21:26:38 -06:00
Cathy J. Fitzpatrick
2a23221ec8 Fix killing the username cookie when not required 2013-04-13 19:34:05 -07:00
Cathy J. Fitzpatrick
fb8016fd3b Kill the showdown_username cookie when logging out 2013-04-13 20:21:07 -06:00
Cathy J. Fitzpatrick
279e719e73 Different implementation of me.logout 2013-04-13 20:02:25 -06:00
Cathy J. Fitzpatrick
1fba5bd20e Fix to last commit 2013-04-13 19:36:35 -06:00
Cathy J. Fitzpatrick
e955c116c0 Replace "Change name" button by "Log out" button 2013-04-13 19:32:17 -06:00
Cathy J. Fitzpatrick
b6694b591e Add some (strictly unnecessary) URI encoding 2013-04-13 18:45:49 -06:00
Guangcong Luo
24bada5e6b Wider avatars menu 2013-04-13 17:28:23 -07:00
Guangcong Luo
c60db6b0b2 Remove showjoins/showbattles from options menu
These are obscure options that just clutter up the options menu.

They're still available by the console commands /showjoins
and /showbattles
2013-04-13 17:12:58 -07:00
Guangcong Luo
d6f4ee20e0 Ignore spectators option 2013-04-13 17:10:41 -07:00
Guangcong Luo
a103b28897 Options changes
- Options menu rearranged
- Canceling avatar choosing goes back to options menu
2013-04-13 16:47:30 -07:00
Guangcong Luo
8dd9524fa8 Avatar changing in options menu 2013-04-13 16:42:58 -07:00
Guangcong Luo
7f99bf2fbd Fix HP bars when animation is off 2013-04-13 16:42:44 -07:00
Guangcong Luo
027c8163ad Option to disable animations 2013-04-13 15:01:05 -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
Cathy J. Fitzpatrick
1b77ce44f6 Tools.prefs.set now saves to localStorage by default 2013-04-13 14:52:35 -06:00
Cathy J. Fitzpatrick
efe3f52d74 Fix the mute setting on *.psim.us 2013-04-13 14:52:35 -06:00
Guangcong Luo
6033c934a1 Update files for new replay viewer 2013-04-12 14:56:16 -07:00
Guangcong Luo
2cb7b6566f update soundManager 2013-04-11 21:11:44 -07:00
Cathy J. Fitzpatrick
3edb995b8c Use selfP rather than this 2013-04-11 18:02:53 -06:00
Cathy J. Fitzpatrick
48b737f8aa More intuitive definition of hpWidth 2013-04-11 17:59:25 -06:00
Guangcong Luo
2a1ed5b5ee Remove bug report link
We're not out of beta yet, but we're stable enough that we're
getting more erroneous bug reports than real bug reports, so
it's getting close to time to remove this link.
2013-04-11 16:54:27 -07:00
Cathy J. Fitzpatrick
8e6b5b9339 Moves are never final decisions 2013-04-10 21:35:21 -06:00
Cathy J. Fitzpatrick
ce4d149be9 Fix incorrect disabling of cancel UI in some cases 2013-04-10 21:25:33 -06:00
Cathy J. Fitzpatrick
5303d0a660 Client UI changes for correct trapping mechanics 2013-04-10 21:19:11 -06:00