Commit Graph

1926 Commits

Author SHA1 Message Date
Guangcong Luo
a46bf4e2de Open Rooms room when it fits
By default, the Join Room window is only auto-opened on startup if
it fits. This changes it so that if it doesn't fit on startup but
the window is later resized to fit, the Join Room window will
auto-open if it hasn't been opened yet.

In addition to behaving more expectedly, this deals with an issue
in NW.js in Windows where maximizing doesn't happen before PS
loads.
2015-01-31 15:58:20 -05:00
Guangcong Luo
aea0957df8 Desktop: Add right-click menu 2015-01-31 15:58:20 -05:00
Guangcong Luo
f82c73dd3b Fix links to PS rooms
Clicking links to PS rooms can be pretty unreliable in terms of whether
and where they open. This commit uses a global click handler, to make
sure that any and every link to PS rooms, including links in the News,
will open in the current PS window.

You can always right-click and Open in New Tab, of course.
2015-01-31 15:58:20 -05:00
Guangcong Luo
6a3b9e06e1 Teambuilder: Suppress crash in EV slider 2015-01-31 15:58:19 -05:00
Guangcong Luo
25db6c44f2 Merge pull request #323 from sirDonovan/unlinkhide
Update |unlink|hide| message
2015-01-30 13:45:53 -06:00
sirDonovan
a6e6162e60 Improve |unlink|hide| message
Display the reveal button based on each user's screen instead of the current room's chat for cases such as a user being locked/banned for a PM offense without having any messages in the room.
2015-01-30 13:43:38 -06:00
Guangcong Luo
0fa4d6e2c0 Merge pull request #322 from ascriptmaster/move-anim
Graphics Animation Update Round 5
2015-01-30 13:40:00 -06:00
Kevin Lau
17b660a992 Graphics Update Round 5
- Added a new graphic for fire animations
- Added many new spread move animations (Surf, Heat Wave, Snarl)
- Changed some miscellaneous move animations
2015-01-30 11:31:50 -08:00
ascriptmaster
54df5bcc83 Update waterwisp.png
Added feathering to the edges to make it less jagged.
2015-01-30 00:36:00 -08:00
Ivo Julca
98aee2c508 Reset finalDecision flag on new battle requests 2015-01-29 21:28:38 -05:00
Guangcong Luo
8e76746f63 Merge pull request #319 from QuiteQuiet/master
Zweilous/Swanna model update
2015-01-28 13:06:47 -06:00
Guangcong Luo
4b203011ad Merge pull request #320 from Slayer95/disable
Support removal of Cancel button
2015-01-28 00:59:55 -06:00
Ivo Julca
10404f926f Support removal of Cancel button 2015-01-28 00:32:59 -05:00
QuiteQuiet
5a3633493d Zweilous/Swanna model update 2015-01-27 13:18:53 +01:00
Guangcong Luo
31f888a0e3 Update node-webkit to nwjs 0.12.0a2 2015-01-24 02:11:04 -06:00
Guangcong Luo
814127acc9 Merge pull request #317 from xfix/autolink
Auto-link URLs without closing parenthesis at end
2015-01-23 15:06:05 -06:00
Konrad Borowski
6b8b68d4ef Auto-link URLs without closing parenthesis at end
Currently Pokémon Showdown doesn't auto-link URLs properly in the
following form.

    (Check out http://play.pokemonshowdown.com/)

In this case, it's obvious that `)` not part of an URL, but the current
auto-linker believes that it is. Making `)` illegal character at end of
URL doesn't solve the problem, as sometimes URLs actually do contain
parenthesis. The new URL regex supports one level of parenthesis
(regexes don't support recursion, but if you have more than one layer
of parenthesis in an URL, you are doing something wrong). This is a
case with URLs on Wikipedia.

    https://en.wikipedia.org/wiki/Pokémon_(disambiguation)
2015-01-23 19:03:15 +01:00
Marty-D
1255bfa0b0 Add the missing partial-trapping end messages 2015-01-22 18:33:14 -05:00
Guangcong Luo
de4018e6ab Merge pull request #312 from sirDonovan/tooltip
Show tooltip for fainted pokemon
2015-01-20 20:53:24 -06:00
sirDonovan
49d5130180 Show tooltip for fainted pokemon
Allow tooltips to be displayed by styling buttons as disabled instead of actually disabling them
2015-01-20 20:41:23 -06:00
Guangcong Luo
feec37fbbf Sync data 2015-01-20 01:44:29 -05:00
Guangcong Luo
640ffb8186 Merge pull request #311 from Slayer95/learnsets-update
Improve learnsets-g6 updater
2015-01-16 18:33:50 -08:00
Ivo Julca
1f4541d40d Improve learnsets-g6 updater
- Its execution will be aborted if no relevant files have been modified since last index update.
- It will no longer require learnsets-g6.js to already exist.
- It will no longer error if entries of learnsets.js are deleted.
- It will no longer throw if there is an error, allowing the rest of the script to get executed.
2015-01-16 20:58:49 -05:00
Guangcong Luo
6e8e8c0be9 Merge pull request #309 from Slayer95/learnsets-update
Update learnsets-g6 in `update` githook
2015-01-15 23:09:16 -08:00
Slayer95
9cd113abd6 Merge pull request #310 from sirDonovan/unlinkhide
Update |unlink|hide| message
2015-01-16 01:32:02 -05:00
sirDonovan
46f26ea277 Update |unlink|hide| message
Only show the restore button if messages were removed from the current
room
2015-01-15 09:22:35 -06:00
Ivo Julca
c09e836f86 Update learnsets-g6 in update githook 2015-01-15 01:55:15 -05:00
Guangcong Luo
067c6c5969 Merge pull request #308 from Joimer/gen1-stattooltip-spc
Implement Special text for gen 1 on stats tooltip
2015-01-14 13:33:00 -08:00
Juanma Serrano
151af7a13d Implement Special text for gen 1 on stats tooltip 2015-01-14 16:02:17 +01:00
Ivo Julca
0a442f2f34 Automatically save EVs, IVs and nature when editted
This fixes the long-standing issue of "spreads disappearing".
2015-01-14 05:28:19 -05:00
Guangcong Luo
e66b4740e3 Merge pull request #302 from sirDonovan/removemessages
Add support for removal of messages from chats
2015-01-12 14:13:46 -08:00
Ivo Julca
1fc292f88e Fix silent crash in /rank 2015-01-11 18:11:38 -05:00
sirDonovan
86589a8f0c Refactor |unlink| message
This refactor adds a class referencing users to their chat messages, enabling both the original and new |unlink| messages to be handled using the same jQuery object, as well as removing the need for adding a similar class to links in Tools.parseMessage.

The new |unlink|hide| message allows chat messages to be hidden from view with the option to restore them by clicking on the added notice.
2015-01-11 14:26:17 -06:00
Guangcong Luo
1b2a9b5433 Merge pull request #299 from YaYana/rank-formats
/rank format targeting
2015-01-09 20:57:22 -08:00
Yana
2f65b6aab9 /rank format targeting 2015-01-09 19:13:06 +01:00
Guangcong Luo
41dc5157b4 Merge pull request #304 from Joimer/gen1-bg
Add in battle the background for Gens 1 & 2
2015-01-08 13:16:45 -08:00
The Immortal
8d930fd870 Merge pull request #305 from Layell/patch-8
Staraptor/Braviary render update
2015-01-07 00:37:59 +04:00
Layell
10948d8ad8 Staraptor/Braviary render update
Wingspan was fixed, new sizes.
2015-01-06 12:57:36 -05:00
Joimer
917a5f672a Add in battle the background for Gens 1 & 2 2015-01-06 18:11:03 +01:00
Guangcong Luo
5e7a60114e Add gen 1 battle backdrop 2015-01-05 02:46:30 -05:00
Guangcong Luo
bd2746be9a Improve EV recommender
- Odd/even HP is improved
- Offensive spreads are recommended more often now
2015-01-05 02:46:30 -05:00
Guangcong Luo
129af500ba Sync data 2015-01-05 02:46:30 -05:00
Guangcong Luo
0f35e2e07c Merge pull request #300 from Freigeist/patch6
Combine ignore and unignore help entries
2015-01-04 20:42:02 -06:00
The Immortal
333f16c81f Merge pull request #301 from Layell/patch-7
Update Hoopa render
2015-01-05 00:18:39 +04:00
Layell
7c4241c8f4 Update Hoopa render 2015-01-04 12:58:08 -05:00
Freigeist
ed41eacafa Combine ignore and unignore help entries 2015-01-04 04:40:42 +01:00
Guangcong Luo
2f0fc707a6 Merge pull request #298 from asgdf/client-help
Move client command documentation to client
2015-01-03 00:47:05 -06:00
asgdf
28196073f9 Move client command documentation to client 2015-01-03 07:25:58 +01:00
Guangcong Luo
8ccfbc86b1 Merge pull request #289 from woodrush/master
Fixes Zarel/Pokemon-Showdown-Client#278 (weather prediction bug)
2015-01-03 00:11:21 -06:00
hikuta924
a3ba685d74 Don't show tooltip on everlasting weathers, fix tooltip message
- Don't show tooltip on Strong Sunlight/Heavy Rain/Strong Wind
- 5 "or" 8 turns instead of 5 "to" 8 turns
2015-01-03 00:35:56 +09:00