Commit Graph

147 Commits

Author SHA1 Message Date
Guangcong Luo
bdcbded0bb Update Font Awesome to 4.4.0
Font Awesome 3 -> 4 was a backwards-incompatible change, so this
update is pretty invasive. I tested everything we use it for and it
still works, though. Including supporting both Font Awesome versions
in battle.js.
2015-09-25 02:46:34 -05:00
Guangcong Luo
b38b06f6ab Merge pull request #479 from urkerab/pm-chatbox-history
Support chat history in PM chatboxes
2015-09-24 03:53:32 -05:00
urkerab
6e861e535e Support chat history in PM chatboxes 2015-09-24 09:46:15 +01:00
Guangcong Luo
447d11bd8a Improve visual appearance of PM header
Specifically, provide visual feedback that clicking it expands
and collapses PMs.
2015-09-23 20:23:01 -04:00
Guangcong Luo
e232b988d7 Turn PM windows orange on new message until focused
Before, only minimized PM windows turn orange when receiving a new
message. Now, all unfocused PM windows do until focused.
2015-09-23 01:29:03 -04:00
Joimer
6350f33eb9 Update credits 2015-09-22 00:35:07 +02:00
urkerab
969f77e2e7 Support additional keys in PM chatboxes 2015-09-17 14:09:21 +01:00
urkerab
a1c674851a Make it possible to minimise the Latest News box 2015-09-09 12:33:09 +01:00
urkerab
4238e9a3e4 Display battle formats in groups 2015-08-31 16:43:15 +01:00
Ivo Julca
804b6b7b5d Don't hide suppressed spoilers in notifications 2015-08-05 21:13:52 -05:00
Ivo Julca
ada7385bb4 Unify chat message parsing in rooms and PMs
Most notably, this adds support for /announce and /mee in battle rooms, and /html in chat rooms.
A better user group inference is now used for PMs and chat rooms.

This is done by implementing a general Tools.parseChatMessage method.
2015-08-05 21:07:28 -05:00
Guangcong Luo
8b7fe71049 Support /ignore in PM boxes 2015-07-20 21:32:25 -04:00
Guangcong Luo
cfbff0571c Update Credits 2015-07-18 14:22:25 -04:00
Guangcong Luo
d50f07c188 Highlight own messages
Your own messages are now sent with a slightly darker background.

PS actually originally had a feature that made your own messages gray,
which stopped working during the redesign two years ago. I only just
realized this and brought it back, but since the redesign, the
background has gotten darker and gray text is harder to read, so
I'm trying out this new approach with the background.

I personally think design-wise, gray text is better, but readability
is more important. Maybe I'll have a better idea later, but for now,
this doesn't look all that bad.
2015-07-15 17:29:38 -04:00
Guangcong Luo
698b413801 Revert mode changes from recent style fixes 2015-07-14 19:00:58 -04:00
Freigeist
4d242777c1 Miscellaneous style changes 2015-07-14 21:17:22 +02:00
Freigeist
87b94e7284 Fix spaces on string concatenation 2015-07-14 21:15:04 +02:00
Freigeist
993e8911ac Put spaces before anon function's opening parenthesis 2015-07-14 21:12:58 +02:00
Konrad Borowski
4a2cb72ce4 Link to Showdown dex in /data 2015-07-11 21:22:51 +02:00
Guangcong Luo
bbc2188a40 Refactor teambuilder to use packed teams
This is a major refactor that changes the teambuilder to store
teams in packed format whenever possible, for approximately 50%
less memory usage for team storage.

The only visible change here is that pokemon nicknames have been
replaced with pokemon icons in the teambuilder team list, to
match the team selector in the main menu, which simplifies
extracting information from packed teams.
2015-06-30 02:16:55 -05:00
Guangcong Luo
1eea2b3f45 Prevent 'Find a user' from finding Zarel
It has been deemed to cause too much spam for Zarel :(
2015-06-28 00:50:17 -04:00
Guangcong Luo
50c8273d03 Support /error in PMs
It's like /text, except the text is red.
2015-06-28 00:50:17 -04:00
Guangcong Luo
ec43507738 New 'Find a user' button in Main Menu
Should make it easier for players arranging battles outside of PS
to challenge each other.
2015-06-25 20:14:00 -04:00
Guangcong Luo
fa6f20d352 Watch Battle window: Move Close button to top right 2015-06-25 19:07:46 -04:00
Guangcong Luo
9a9c7010de Open semimodal popups next to opener
Before, only nonmodal popups would appear next to the button that
opens them. Now, semimodal popups do as well. This should make certain
operations faster and more intuitive.

Watch Battle is now modal instead of semimodal, because it doesn't
work well in this kind of presentation.
2015-06-25 19:05:09 -04:00
Guangcong Luo
5803513cb6 Default 'PMs in chat rooms' to false
This feature is a holdover from the old days before we had PM boxes.
I'm pretty sure most people don't like it.
2015-06-15 18:07:25 -04:00
Guangcong Luo
3ab229fa1a Revert "Make sure Staff and Upper Staff are first"
Now that autojoin saves the position of Staff and Upper Staff, this
is no longer necessary.

This reverts commit e5b3326703.
2015-06-12 14:27:47 -04:00
Guangcong Luo
e5b3326703 Make sure Staff and Upper Staff are first
This is a dumb hack to make sure that Staff and Upper Staff are to
the left of any autojoined rooms. They're excluded from autojoin, so
without this, they would be all the way on the right.
2015-06-11 18:40:11 -04:00
Guangcong Luo
0d9d56a98a Remove unused code 2015-06-07 23:43:53 -04:00
Ivo Julca
f7a37a3537 Improve support for searching battles in multiple formats
- `|updatesearch|{searching}` now allows an array of formats as a `searching` value.
- Old gen sprite data will be loaded based on the data sent by the server rather than the current DOM state
2015-06-05 13:28:54 -05:00
Quite Quiet
299777f297 Load gen 5 sprites when required 2015-04-25 08:43:23 +02: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
Juanma Serrano
8d3b33056f Update credits
I'm no longer retired
2014-12-04 16:49:39 +01:00
Ivo Julca
4de0a12110 Move feature support flags to app.supports 2014-11-26 00:37:58 -05:00
Guangcong Luo
e26f8c32ec Support more PM message types 2014-10-05 17:09:39 -05:00
Guangcong Luo
d7fbc74742 Update credits 2014-09-27 14:59:09 -05:00
Ivo Julca
5196f8cbcb Fix issues with semicolons and variable declaration
Also remove duplicate of method 'joinRoom' from MainMenuRoom, as well as unused methods 'updateCurrentUser' and 'buttonOnClick' from UserList.
2014-09-03 23:28:18 -05:00
Guangcong Luo
2e1b122580 Updates to downtime message 2014-08-04 01:27:33 -05:00
The Immortal
ef734d13ba Fix /ignore 2014-05-29 15:00:40 +04:00
Slayer95
006bb46e68 Support tab-complete in PMs if there is no side room 2014-05-09 12:24:23 -05:00
Slayer95
81514bec30 Support tab-complete in PMs when Lobby isn´t joined 2014-05-09 01:55:34 -05:00
Guangcong Luo
67eee0b847 Improve /ignore
It now ignores challenges and in-battle chat as well as PMs and
chat-room chat.
2014-04-25 01:40:33 -05:00
Guangcong Luo
31476bfc9c Credits: Add sirDonovan 2014-04-22 21:23:59 -05:00
Guangcong Luo
92120e4d0c Fix main menu join chat button
By default, the main server shows the room list, and alternate servers
go straight to lobby. If you close them, though, the rejoin button
was for lobby. This changes the rejoin button to be for the room list
on the main server.
2014-03-18 22:50:56 -05:00
Guangcong Luo
39a2e0ee0d Update credits, add link to full credits 2014-03-15 23:45:35 -05:00
Guangcong Luo
1f1bb50f21 Move 'Watch battles' below main links 2014-03-15 23:44:34 -05:00
Guangcong Luo
d9f80be0c7 Drop support for old updatechallenge format
Any servers using the old formats aren't compatible with 0.9.2 anyway,
and attempting to support both caused compatibility problems on
certain browsers.
2014-03-06 18:18:40 -06:00
Guangcong Luo
bb5e4f45ab New optimized team format
This is a backwards-incompatible change; if you are running a server,
please update to 0.9.2 immediately.

See the corresponding server commit Zarel/Pokemon-Showdown@e2b57563a6
2014-03-05 22:52:26 -06:00
Guangcong Luo
52bea948bf Support optimized updateChallenges
See the corresponding server commit Zarel/Pokemon-Showdown@d5b528dbcc
2014-03-05 22:52:26 -06:00
Quinella
3467f3648e Support max-height for pseudo PM windows 2014-02-16 16:12:10 +01:00