Commit Graph

73 Commits

Author SHA1 Message Date
Guangcong Luo
c1135497e0
Remove SoundManager dependency (#1563)
All sound stuff is now handled directly by BattleSound, using the
HTML5 audio API.

The main complicated thing we do with sound is loop music with an intro.
This is unfortunately not supported by ANY sound library out there
(I had to manually add support for it myself to soundManager!)

https://github.com/scottschiller/SoundManager2/pull/13

In the end, I don't think the existing libraries out there actually
give us anything I care about.
2020-07-23 12:51:47 -07:00
Annika
367ed82e56
Support configurable URLs (#1543) 2020-07-21 15:27:21 -07:00
Kirk Scheibelhut
787a7998da Fix ladder prefix search to search by ID 2019-07-19 06:45:48 -07:00
Kirk Scheibelhut
80aaab1ef1 Support filtering ladder by username prefix (for OLT) (#1326) 2019-07-18 14:02:06 -05:00
Guangcong Luo
7e82afd2de Support <button name="login"> in HTML panels
This is a stopgap until the new client supports these properly.
2019-01-05 03:59:21 -05:00
Guangcong Luo
eff5359fb4 Rename Tools to Dex
This has already been done server-side, and there's no use delaying
client.
2018-12-05 21:11:47 -06:00
Guangcong Luo
5f05adc856 Split battle-log.ts off from battle-dex.ts
This splits battle-dex.ts up into:

- `battle-dex.ts`
  - dex data access, misc tools
- `battle-log.ts`
  - manipulating HTML, especially in battle logs

This turned out to be a pretty significant portion of what was
previously battle-dex.
2018-11-15 18:52:53 -06:00
Guangcong Luo
ba4c512166 Remove local class definitions for LGTM
This makes how classes are defined in the client less consistent
than before, but the new client, which doesn't have this problem, is
well underway, so this isn't a big deal in the long term.
2018-10-28 14:54:12 -04:00
The Immortal
73030656bb Ladder: Hide sections without any formats
And fix Unrated Random Battle being displayed.
2018-09-19 00:28:34 +04:00
Guangcong Luo
a133ee8c5e Fix some bugs caught by LGTM 2018-09-05 16:48:27 -05:00
Guangcong Luo
0a637cdbc3 Auto-dismiss |notifyonce| on focus by default 2018-05-07 16:57:50 -05:00
Guangcong Luo
d6bdcf02e8 Remove COIL
https://www.smogon.com/forums/threads/suspect-tests-stop-having-game-limits-also-im-removing-coil.3627581/
2018-02-16 04:55:01 -05:00
Guangcong Luo
bf34d79ac4 Ladders: Add a link to user lookup
This is imo much better than teaching users to use commands
2017-12-25 01:16:24 -05:00
Guangcong Luo
58f9331eda Support |tempnotify| and highlight notifications 2017-12-25 01:16:14 -05:00
Guangcong Luo
9a63614f1c Send /join and /leave for HTML rooms
The server now suppresses these messages by default, but this allows
the server to react to them if it wants.
2017-12-13 17:26:21 -05:00
HoeenHero
d5d130fff4 Support |notify| in html rooms (#1051) 2017-11-24 12:25:06 -06:00
HoeenHero
900e3fc6f5 Subtly notify HTML room changes (#1050) 2017-11-24 12:10:22 -06:00
Guangcong Luo
e3f96c983e Support HTML rooms
This adds support for a new kind of roomtab that just contains plain
HTML.

The current use-case is modlog, but it could be used for a number of
things where an article would be useful.
2017-11-24 03:04:12 -05:00
Kris Johnson
75bb1d8a7c Remove Sketchmons COIL (#1042) 2017-11-05 01:42:53 +08:00
The Immortal
8e6982347a Update COIL 2017-10-17 01:29:02 +04:00
Kris Johnson
053b11b524 Update Monotype COIL (#1023)
* Update Monotype COIL

* Update client-ladder.js
2017-10-10 16:46:29 +04:00
The Immortal
1080ee0b58 Update COIL 2017-09-27 23:12:15 +04:00
Ridaz
b3862d0a35 Add refresh button to Ladders tab (#977) 2017-07-30 19:39:33 -04:00
The Immortal
e1c6fd610b Update Monotype COIL 2017-07-27 15:00:08 +04:00
The Immortal
a6f9d31fd1 Update COIL 2017-07-17 08:31:55 +04:00
The Immortal
f2179a43d2 Add 1v1 COIL 2017-05-07 22:27:15 +04:00
The Immortal
44568e10c7 Add Monotype suspect COIL 2017-04-17 11:00:35 +04:00
The Immortal
a4e018feee Update Mix and Mega COIL
Closes #898
2017-04-11 15:03:06 +04:00
The Immortal
ed4235a64a Update Mix and Mega COIL 2017-03-09 06:12:34 +04:00
The Immortal
98ec211625 Update COIL 2017-03-04 09:26:52 +04:00
The Immortal
fa031bb239 Update COIL 2017-02-13 16:56:04 +04:00
The Immortal
c87b4e9fc3 Update COIL 2017-01-25 08:39:46 +04:00
The Immortal
e61dcc6b23 Add Sketchmons COIL 2017-01-14 11:22:18 +04:00
Guangcong Luo
15d52bc68a Fix typo in e343f0ec76 2016-12-29 15:34:42 -05:00
The Immortal
e343f0ec76 Add BH suspect COIL 2016-12-29 15:46:19 +04:00
The Immortal
dd88b790da Add SM OU suspect COIL 2016-12-25 01:53:32 +04:00
The Immortal
4ef9348aec Add COIL for Mix and Mega 2016-12-14 00:20:21 +04:00
The Immortal
fbe80f48dc Remove Return'd COIL 2016-11-17 10:03:19 +04:00
The Immortal
ba5290e0af Add COIL for Return'd 2016-10-05 22:33:06 +04:00
The Immortal
16a04dcd1b Add AAA COIL 2016-09-25 04:19:29 +04:00
The Immortal
ff12202e3d Update RU COIL 2016-09-23 12:01:49 +04:00
The Immortal
7f2f4edc18 Add RU current COIL 2016-08-30 15:40:25 +04:00
The Immortal
7c2afee1f6 Update ladder COIL 2016-08-27 16:57:08 +04:00
The Immortal
bc6d39c225 Remove AAA & Monotype COIL 2016-08-20 06:01:53 +04:00
The Immortal
4de3e3b7ec Add AAA COIL 2016-08-09 05:31:59 +04:00
The Immortal
ca18107335 Add Monotype COIL 2016-08-05 16:58:05 +04:00
The Immortal
91916e5bc7 Revert "Add Monotype COIL"
This reverts commit 0a46a3c20c.
2016-07-02 18:40:29 +04:00
The Immortal
0a46a3c20c Add Monotype COIL 2016-06-13 23:47:58 +04:00
Ivo Julca
273ad45e8b Improve /rank command
- Coil B parameters are now stored in client-ladder.js
- Output will now display rank names rather than IDs
2016-06-04 00:42:52 -05:00
Guangcong Luo
dd4e9ae51c Support ladder resets
A lot of this stuff involves the website itself, but this part is
the part contained in the client.
2015-12-31 00:33:47 -05:00