Guangcong Luo
0a39ebf140
Use .textbox for teambuilder textboxes
...
Teambuilder textboxes used to have their own CSS. They've been updated
to use the regular textbox CSS. This also makes them dark in Dark
Mode.
2016-01-21 20:49:17 -08:00
Guangcong Luo
04e96af909
Dark mode (beta)
...
Exactly what it says on the tin.
Most things aren't particularly dark, but at the moment there aren't
any parts that look particularly ugly, so I consider this a mild
success.
More changes planned.
2016-01-21 02:34:26 -08:00
Guangcong Luo
700067c9aa
Change close-roomtab button to button
...
There's a reason why close-roomtab buttons are <a> tags right now, and
I think it has to do with compatibility with some obscure browser like
IE9 or something.
Still, though, the CSS is much nicer this way, especially for the
upcoming dark mode feature, so I'll just commit this and figure out a
different workaround for whatever problems come up.
2016-01-21 02:31:13 -08:00
Guangcong Luo
c60f6fa8f7
Fix /warn
...
RulesPopup was accidentally ommitted in a recent refactor.
2016-01-21 03:00:08 -05:00
Guangcong Luo
0de45868bc
Merge pull request #620 from Ridaz/patch-1
...
Update Move Animations
2016-01-20 19:17:46 -08:00
Ridaz
913f9bddca
Update Move Animations
2016-01-21 00:43:37 +00:00
Guangcong Luo
f45a36365a
Update Tailwind/etc duration on use
...
Previously, the duration of side conditions like Tailwind, Reflect,
etc would only appear at the end of the turn. Now, they appear
immediately when the move is used.
This should also fix the issue of users asking "Why does it say '3
turns left' when Tailwind lasts 4 turns?"
2016-01-20 17:50:44 -05:00
Guangcong Luo
6131f7f009
Merge pull request #619 from Teremiare/Teremiare-ignoreRename
...
Update ignore list on rename
2016-01-20 12:58:23 -08:00
Teremiare
f0c5515768
Update ignore list on rename
...
If ignored users change their name the new name will be added to the ignore list.
If you change name to an already ignored one that name will be removed from the ignore list.
2016-01-20 15:21:04 +01:00
Guangcong Luo
17e19ae7c4
Teambuilder: Update team dragging
...
New shadow is semitransparent instead of solid gray, to better match
how room dragging looks.
2016-01-19 20:26:44 -05:00
Guangcong Luo
c1f0a23c85
Improve roomtab drag-and-drop
...
This fixes the flickering when dragging a small tab over a large tab.
2016-01-19 20:26:10 -05:00
Guangcong Luo
81e045d237
Move replay file creation to battledata.js
...
This mainly allows a Download button to be available to the replay
player.
2016-01-19 20:25:48 -05:00
Guangcong Luo
effa959600
Teambuilder: Show HP moves as useless if outclassed
2016-01-18 20:00:40 -05:00
Guangcong Luo
b347a15ef2
Merge pull request #614 from sirDonovan/tournament-notify
...
Don't notify for old tournament creation messages
2016-01-18 16:51:26 -08:00
Guangcong Luo
742da99528
Implement drag-and-drop roomtab rearranging
...
This uses the HTML5 drag-and-drop API to rearrange rooms.
Harder to code and less pretty than doing it manually, but on the
upside, browsers still consider them links, allowing them to be
dragged to bookmarks, textboxes, etc.
Closes #203
2016-01-18 16:47:44 -08:00
Guangcong Luo
5fcb16b163
Detect that dragged files are teams
...
Previously, due to the HTML5 drag-and-drop API's security model, we
couldn't tell if a dragged file was a team or not. This new code makes
the check slightly more reliable.
2016-01-18 16:47:42 -08:00
Guangcong Luo
8be8204c61
Remove no-longer-necessary Chart placeholder
2016-01-18 01:42:31 -08:00
Guangcong Luo
bf68cdc1c4
Slightly improve comments
2016-01-18 01:42:31 -08:00
Guangcong Luo
78334b7a15
Split off client-topbar.js from client.js
...
client.js is still kind of huge, but oh well. Progress!
2016-01-18 01:42:30 -08:00
Guangcong Luo
9370f0fbf0
Merge pull request #617 from urkerab/battle-exception-stack
...
Improve stacks for exceptions in battles
2016-01-17 12:13:27 -08:00
Guangcong Luo
3fb0c4d868
Merge pull request #618 from urkerab/potential-slot-fixes
...
Fix some potential issues with pokemon.slot
2016-01-17 12:10:55 -08:00
urkerab
0c0d4677fb
Fix some potential issues with pokemon.slot
2016-01-17 18:49:13 +00:00
urkerab
cc2aac7bb9
Improve stacks for exceptions in battles
2016-01-17 11:45:38 +00:00
Guangcong Luo
6698d649f6
Teambuilder: Fix names when importing/exporting
...
Import/export used to have trouble with the new storage format for
pokemon without nicknames; this has been fixed.
2016-01-17 05:57:56 -05:00
Guangcong Luo
388494196e
Hide tooltips when switching rooms
...
Tooltips wouldn't disappear in certain obscure situations. This should
mitigate those obscure situations.
(Specifically, opponent forfeits while you're hovering over a move or
pokemon.)
2016-01-17 05:57:56 -05:00
Guangcong Luo
be5cb1c676
Teambuilder: Add PU as a filterable tier
2016-01-17 05:57:56 -05:00
Guangcong Luo
5fc82af152
Teambuilder: Fix Tab/Enter behavior
...
- Enter now moves onto the next field if the selected field is valid
- Tab/Enter on the last move now focuses EVs/IVs button, so it's much
easier to refocus the last move
2016-01-17 05:57:56 -05:00
Marty-D
91fb82c4bc
Add Spiky Shield message
2016-01-16 12:56:17 -05:00
Guangcong Luo
15e6d69fac
Slightly more helpful error message in action.php
2016-01-16 04:14:13 -05:00
Guangcong Luo
72c02cadf5
Update main server URL
...
psim.us isn't blocked from some places smogon.com is blocked from, so
this should help.
2016-01-16 04:13:23 -05:00
Guangcong Luo
416522c383
Fix /data in replays
2016-01-16 04:13:00 -05:00
Guangcong Luo
ee3c3f2f70
Fix outdated credit link
...
The original credit wasn't even actually used in PS officially, it was
just used for part of the 0.9 beta.
2016-01-15 23:34:56 -05:00
Guangcong Luo
95f291730a
Make show-locked-hidden-text button subtler
2016-01-15 23:34:35 -05:00
Guangcong Luo
1c457b4b5e
Revert "Make user popups use the usernames color for names"
...
This reverts commit d84a4b199d .
2016-01-15 23:32:41 -05:00
sirDonovan
44d79f69a5
Remove redundant tournament creation notifications
2016-01-15 19:11:54 -06:00
Guangcong Luo
5f4ac7e1a3
Merge pull request #616 from Ridaz/patch-1
...
Fix animations
2016-01-15 14:51:51 -08:00
Ridaz
a7b3dff9f7
Fix animations
2016-01-15 22:50:48 +00:00
Guangcong Luo
5beca695c0
Fix style error
2016-01-15 16:54:43 -05:00
Marty-D
24894dfd3c
Add Ghost Curse message
2016-01-15 16:35:51 -05:00
Guangcong Luo
24e1ffba95
Merge pull request #615 from Ridaz/patch-1
...
Move Animations Update #2
2016-01-15 12:41:40 -08:00
The Immortal
c0d346ae7a
Add COIL to 1v1 ladder
2016-01-15 20:24:28 +04:00
Ridaz
29e79a1e7a
Move Animations Update #2
2016-01-15 12:23:09 +00:00
Guangcong Luo
ba3d48644f
Merge pull request #612 from urkerab/tooltip-triples-any-target
...
Display move target in Doubles and Triples battles
2016-01-14 18:25:12 -08:00
Guangcong Luo
e2ecab4884
Support allowRename in RoomGames
...
Now, if you're in a roomgame that doesn't allow renames, the client will
warn you about that.
2016-01-14 21:31:13 -05:00
Guangcong Luo
7fd31032a3
Tournaments: Only deselect teams when necessary
2016-01-14 21:30:21 -05:00
Guangcong Luo
1c0f52d6fb
Teambuilder: Support filtering by tier
2016-01-14 21:30:21 -05:00
Guangcong Luo
19f5cf0d11
Merge pull request #613 from urkerab/pok-eacute-mon
...
Use Pokémon in messages instead of Pokemon.
2016-01-14 18:20:15 -08:00
urkerab
1f61f0012f
Display move target in Doubles and Triples battles
2016-01-15 01:34:28 +00:00
urkerab
a7bc84e6f7
Use Pokémon in messages instead of Pokemon.
2016-01-15 01:14:52 +00:00
Guangcong Luo
6bacf20121
Merge pull request #543 from panpawn/patch-1
...
Make user popups use the usernames color for names
2016-01-13 22:55:12 -08:00