Commit Graph

1937 Commits

Author SHA1 Message Date
Guangcong Luo
e4f68d06cb Merge pull request #326 from sirDonovan/unlinkhide
Show the number of messages hidden in |unlink|hide|
2015-02-01 14:31:15 -06:00
sirDonovan
c550532713 Show the number of messages hidden in |unlink|hide| 2015-02-01 13:52:32 -06:00
Guangcong Luo
266e3dc776 Merge pull request #325 from sirDonovan/anim
Fix crash in Precipice Blades animation
2015-02-01 00:52:36 -06:00
sirDonovan
638d122f39 Fix crash in Precipice Blades animation 2015-01-31 22:59:56 -06:00
Guangcong Luo
414462e54a Revert "Auto-link URLs without closing parenthesis at end"
This reverts commit 6b8b68d4ef.
2015-01-31 22:41:40 -05:00
Guangcong Luo
69a27e1843 Desktop: Fix chat log timestapms 2015-01-31 22:41:40 -05:00
Guangcong Luo
1c29498bb6 Merge pull request #324 from Morfent/nounlinkhide
Toggle hiding unlinked users' chat messages
2015-01-31 16:54:18 -06:00
Morfent
331882b95a Toggle |unlink|hide| suppression, update /help doc
Users can now set whether or not these are hidden by default, or left
visible.

Missing documentation has been added to /help and inconsistencies in
their grammar have been fixed.
2015-01-31 17:14:28 -04:00
Guangcong Luo
01eab488d2 Fix 'lobby chat' phrasing
Lobby is no longer the only chat room, but some of the settings in
Options seem not to have gotten that hint.
2015-01-31 15:58:20 -05:00
Guangcong Luo
fc8c0a1558 Fix crash in notifications
This crash made it so clicking a notification did not focus the room
it came from.
2015-01-31 15:58:20 -05:00
Guangcong Luo
875eabf768 Desktop: Dock badge notifications
Notification count is now displayed on the Dock icon in the desktop
client (in Windows, the taskbar needs to be in Large Icons mode).

Since notifications aren't persistent, this is useful as a long-term
reminder that you have something in PS pending.

This uses a newer NW.js feature, so it requires updating to the
latest version of the PS desktop client (0.3.0).
2015-01-31 15:58:20 -05:00
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