Commit Graph

2529 Commits

Author SHA1 Message Date
Marty-D
dcdfb4a8ba Fix XSS vulnerability in previous version of -fail unboost 2015-10-21 11:14:08 -04:00
Marty-D
bb01378673 Move Flower Veil activation to -fail 2015-10-21 09:35:32 -04:00
Guangcong Luo
a411bb8394 Merge pull request #517 from Marty-D/master
Improve support for Ability activation
2015-10-20 14:47:50 -05:00
Marty-D
830e87fa94 Improve support for Ability activation 2015-10-20 11:38:03 -04:00
Guangcong Luo
e98f625a8d Merge pull request #516 from urkerab/gen2-tooltip-item
Fix item display in Gen2 battles
2015-10-19 13:40:03 -05:00
urkerab
71f1082cef Fix item display in Gen2 battles 2015-10-19 09:53:08 +01:00
Ivo Julca
b6f647d5ab Fix action when clicking links of joined rooms in user popups
The event handler for opening the avatar selection popup is more specific and thus no longer ran.
2015-10-18 17:51:41 -05:00
Guangcong Luo
0c9181e7c4 Merge pull request #514 from urkerab/teambuilder-guess-evs-lc
Properly calculate EV spreads for LC
2015-10-18 16:18:58 -05:00
urkerab
019be92103 Properly calculate EV spreads for LC 2015-10-18 20:33:13 +01:00
Ivo Julca
4bcc23dd50 User popups: visually indicate if the user is in the room/battle 2015-10-16 01:46:52 -05:00
Slayer95
e5220f7cb1 Merge pull request #511 from Joimer/AddCommas
Add missing commas in data/graphics.js
2015-10-14 05:43:06 -05:00
Juanma Serrano
0a05785246 Add missing commas in data/graphics.js
Those missing commas make battle joining crash in a lot of browsers.
2015-10-14 12:39:48 +02:00
Quinton Lee
3c6abed084 Tournaments: escape formats
Follow-up to 7c18127ddf. Also fixes the issue of displaying format IDs instead of names
2015-10-13 19:15:04 -05:00
Marty-D
4c51f33509 Stop Status moves from showing type changes with -ate Abilities
Note: Technically it's not known whether they actually change type or
not. In all likelihood they do (like Normalize or Electrify), but it's
overall pretty distracting and not relevant at all unless an absorption
Ability for Fairy/Flying/Ice happens in the future.
2015-10-13 19:37:20 -04:00
Guangcong Luo
943c16c2a6 Merge pull request #510 from Layell/morebgs
Add more past gen backgrounds
2015-10-12 20:18:50 -05:00
Layell
9a2306298d Add more past gen backgrounds 2015-10-12 08:00:22 -04:00
Marty-D
86e07617e0 Fix crashes in base power display
Previously, any time there was only one opposing Pokemon remaining in
Doubles/Triples and it wasn't the leftmost one (viewed from the back),
the tooltip for any of the moves requiring a target would crash when
moused over. This basically caused an automatic forfeit for those
playing on the desktop app.
2015-10-10 20:07:42 -04:00
Marty-D
6a62852212 Mark Pursuit when used during a switch 2015-10-10 18:36:01 -04:00
Guangcong Luo
7c30eb66a8 Merge pull request #508 from Layell/gen4bg
Add gen 4 backgrounds
2015-10-09 03:38:02 -05:00
Layell
5abecf7632 Add gen 4 backgrounds 2015-10-09 03:20:25 -04:00
Guangcong Luo
a25c28e127 Merge pull request #504 from urkerab/battle-tab-format
Show the pretty format name in the battle tab
2015-10-08 21:44:59 -05:00
Guangcong Luo
0a79f6f8e2 Merge pull request #507 from urkerab/bp-preview-abilities
Fix base power preview for ability modifiers
2015-10-08 21:44:43 -05:00
urkerab
bc45b342aa Show the pretty format name in the battle tab 2015-10-08 22:44:09 +01:00
urkerab
ae9a109f8e Fix base power preview for ability modifiers 2015-10-08 21:57:58 +01:00
Guangcong Luo
c77338e9b9 Merge pull request #506 from urkerab/chatbox-focus-text
Update chatbox focus text to reflect reality
2015-10-08 15:25:01 -05:00
urkerab
b4fe927cb4 Update chatbox focus text to reflect reality 2015-10-08 17:31:48 +01:00
Guangcong Luo
df3622aae0 Merge pull request #503 from sirDonovan/hidemessages
Update |unlink|hide|
2015-10-08 04:32:20 -05:00
sirDonovan
574e1af2de Update |unlink|hide|
- allow messages to be toggled between hidden and revealed
- prevent multiple buttons for the same user
- add usernames to buttons
2015-10-08 02:32:04 -05:00
Guangcong Luo
53c3bc4ce5 Add some icons by Layell 2015-10-07 01:31:42 -04:00
Guangcong Luo
8349b423e7 Update autojoin when rearranging rooms 2015-10-07 01:31:23 -04:00
Ivo Julca
7c18127ddf More consistently escape formats 2015-10-07 01:31:09 -04:00
Guangcong Luo
6ca9d2e470 Better Left/Right room navigation
Left/Right now supports switching between rooms and siderooms, as
well as to and from the rooms list. This also fixes the regression
where you couldn't move from the rooms list with Left.
2015-10-06 05:58:23 -04:00
Guangcong Luo
e53cbfe1f3 Support moving rooms between main and side 2015-10-06 05:51:56 -04:00
Guangcong Luo
74d5343d26 Make /logout more DRY 2015-10-06 05:09:25 -04:00
Guangcong Luo
4d4926aabf Escape more HTML in teambuilder
As far as I know, none of this lack of escaping was exploitable, but we
might as well be safe.
2015-10-06 05:09:05 -04:00
Guangcong Luo
424c455272 Assume all servers support rooms
The rooms feature was pushed out over two years ago, so we're dropping
support for non-rooms-supporting servers. Even for one-room servers,
the rooms tab includes a user count and a battle count.

This smoothes out preloading on the main server.
2015-10-05 16:28:46 -04:00
Marty-D
de5474dceb Mark moves prevented from being used but revealed 2015-10-05 10:17:23 -04:00
Guangcong Luo
bdb21fe127 Merge pull request #502 from urkerab/tablist-popup-overflow
Don't let room names overflow the tablist popup
2015-10-04 19:22:35 -05:00
urkerab
88f86589c6 Don't let room names overflow the tablist popup 2015-10-05 00:38:22 +01:00
Guangcong Luo
c394a06f63 Merge pull request #497 from urkerab/tab-reorder
Allow tabs to be reordered with Shift+Arrow
2015-10-04 16:08:08 -05:00
urkerab
a4de2afdfb Allow tabs to be reordered with Shift+Arrow 2015-10-04 21:56:10 +01:00
Guangcong Luo
b542a3491f Merge pull request #501 from urkerab/testclient-rooms
Show the Rooms tab in the test client
2015-10-04 13:47:15 -05:00
urkerab
32ad4c195d Show the Rooms tab in the test client 2015-10-04 11:45:37 +01:00
Guangcong Luo
454087a164 Merge pull request #500 from QuiteQuiet/master
Add perish0 status
2015-10-04 01:53:19 -05:00
Quite Quiet
1d7c33dac0 Add perish0 status 2015-10-04 08:40:33 +02:00
Ivo Julca
0e29936864 Refactor timestamps slightly for clarity
ChatRoom.getTimestamp now accepts a numeric date in seconds.
2015-10-03 12:52:26 -05:00
Guangcong Luo
92c1dfe4c0 Merge pull request #496 from urkerab/tabbar-sideroom-overflow-left
Make side rooms overflow left on the tab bar
2015-10-02 13:15:36 -05:00
urkerab
984a1da026 Make side rooms overflow left on the tab bar 2015-10-02 13:28:34 +01:00
Guangcong Luo
6f11157238 Merge pull request #495 from Irraquated/patch-1
Focus PS! when disconnection notif. is clicked
2015-09-30 12:55:21 -05:00
Irraquated
c7a58f7ab9 Focus PS! when disconnection notif. is clicked 2015-09-30 16:29:49 +00:00