Commit Graph

2115 Commits

Author SHA1 Message Date
Marty-D
3987b06098 Correct Mental Herb message 2015-06-25 12:30:43 -04:00
Guangcong Luo
5007cf3a38 Merge pull request #405 from SolarisFox/patch-5
Teambuilder: NaN IVs default to 31
2015-06-21 21:59:03 +00:00
SolarisFox
1a63765186 Teambuilder: NaN IVs default to 31 2015-06-21 13:39:43 -07:00
Guangcong Luo
92ff7d6da4 Merge pull request #404 from Bryan-0/patch-1
Escape é in "Pokémon"
2015-06-21 07:55:08 +00:00
Bryan AA
7c600fdf7c Escape é in "Pokémon"
- Add "é" Instead of "é".
2015-06-20 14:03:25 -06:00
The Immortal
f4c8a4f63f Teambuilder: Set level 5 for Gen 5 LC 2015-06-20 05:20:23 +04:00
Guangcong Luo
3e521b91a8 Merge pull request #365 from xfix/url-parsing-escape
Improve parsing of HTML entities for URLs.
2015-06-18 14:26:32 +00:00
Guangcong Luo
ac7be9ad37 Merge pull request #403 from QuiteQuiet/rage
Add the Rage status
2015-06-18 14:26:01 +00:00
Quite Quiet
bc7063f90b Add the Rage status 2015-06-18 15:58:34 +02:00
Guangcong Luo
3b8b925a2b Disallow arrow-key switching battle/chat rooms
The current implementation is buggy enough to be useless. Eventually
I'll make them continuous, but for now arrow-keys can only be used to
switch between chatrooms or between battle rooms.
2015-06-15 18:33:41 -04:00
Guangcong Luo
41990df431 Roomlist refactor
This adds the 'Join other room' button on first load, allowing it to
be focused before the room list is retrieved. The button is also
focused whenever the room is focused (by clicking inside the room
or by switching to the room's tab), allowing people to switch out
of the room by pressing Left, or opening the join menu by pressing
Enter.
2015-06-15 18:16:13 -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
9b57f521a5 Teambuilder: Fix import/export textbox size 2015-06-12 20:34:42 -04:00
Guangcong Luo
4e2842d7e6 Support packed teams in TeambuilderRoom.toText 2015-06-12 20:04:58 -04:00
Guangcong Luo
ec94d28cf4 Suppress horizontal scrollbar in userlist 2015-06-12 18:14:16 -04:00
Guangcong Luo
f5b3d7c0c3 Add 'Forum' link to bottom left linkbar 2015-06-12 14:29:34 -04:00
Guangcong Luo
870465492e Hide 'use arrow keys' after keys are used 2015-06-12 14:29:13 -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
ad7cc47933 Don't automatically redirect to replay
Previously, PS would automatically redirect to a replay if linked
to a nonexistent battle room. This has been replaced with a
pop-up message linking to the replay.

Very old battles are still redirected to the replay.
2015-06-11 18:40:11 -04:00
Guangcong Luo
4d9ea6998a Prevent /autojoin etc from being used
/autojoin, /query, and /cmd are internal commands sent from client to
server, and do nothing but waste bandwidth if typed into chat.

Normally, this isn't worth protecting against, but some users are
confused about how autojoin works, so this guard saves some bandwidth.
2015-06-11 18:40:11 -04:00
Guangcong Luo
90de34188c Rearrange username rules 2015-06-11 18:40:11 -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
547629ba28 Automatic autojoin
Basically, when opening PS, reopen the last chatrooms that were open
when PS was closed.

Limit 8 rooms. Staff and Upper Staff don't count towards the limit
because they're autojoined server-side. Lobby is not allowed to be
autojoined for server load reasons, and because it's autojoined
server-side on many other servers.

Currently only works for PS Main. An update that works for other
servers is coming soon.
2015-06-11 18:40:11 -04:00
Guangcong Luo
0eee136c35 Support passing room title to addRoom 2015-06-11 18:40:11 -04:00
Guangcong Luo
d1db78718e Add '(use arrow keys)' hint text
This commit adds placeholder text reminding users that they can use
arrow keys to move between rooms when textboxes are focused and empty.
The placeholder text also includes the IDs of the rooms that can be
moved between.
2015-06-11 18:40:11 -04:00
Guangcong Luo
02fe59f757 Sync data 2015-06-11 18:40:11 -04:00
Guangcong Luo
9d75b1f4b9 Fix crash in Safari Private Mode 2015-06-11 18:40:11 -04:00
The Immortal
0dd8902387 Teambuilder: Don't recommend Speed with Prankster 2015-06-10 13:04:23 +04:00
Guangcong Luo
9e05431d87 Merge pull request #399 from kubetz/master
Remove crossdomain issues on load for testclient over https
2015-06-09 01:40:11 +00:00
The Immortal
99bc1419a1 Teambuilder: Don't recommend Attack for Super Fang 2015-06-08 22:58:42 +04:00
kubetz
f467808606 Remove crossdomain issues on load for testclient over https 2015-06-08 17:56:50 +00:00
Guangcong Luo
ebf4f58732 Merge pull request #401 from kubetz/spectators
When ignoring spectators join/left messages won't be shown
2015-06-08 16:55:50 +00:00
kubetz
8af51c9dae When ignoring spectators join/left messages won't be shown 2015-06-08 11:50:09 +00:00
Guangcong Luo
1667107c8f Merge pull request #400 from sirDonovan/tournaments
Tournaments: add cancel button
2015-06-08 07:26:12 +00:00
Guangcong Luo
5c40d429a1 Improve name color readability
This narrows the range of possible lightness for generated name
colors.
2015-06-07 23:44:43 -04:00
Guangcong Luo
0d9d56a98a Remove unused code 2015-06-07 23:43:53 -04:00
Guangcong Luo
53e8f04875 Update icons 2015-06-07 23:42:34 -04:00
Guangcong Luo
6c42d72548 Update jQuery 2015-06-07 23:42:03 -04:00
Guangcong Luo
2b79d9c97f Sync data
This time, we're adding all server-side data files to client.
This doesn't really have any side effects, but makes syncing
data more straightforward, and also allows anyone who wants to
request data files from client a way to do so.
2015-06-07 23:41:17 -04:00
sirDonovan
e408ae76c9 Tournaments: add cancel button 2015-06-07 16:34:15 -05:00
Guangcong Luo
171e9cd1c3 Merge pull request #398 from kubetz/master
Testclient was not working when custom server was using port 443
2015-06-06 18:47:39 +00:00
kubetz
b77ab203a1 port is now converted into integer when custom server is used 2015-06-06 18:14:03 +00:00
Guangcong Luo
543483abee Merge pull request #396 from kubetz/master
Sidebar update for dragIn
2015-06-06 17:24:54 +00:00
Guangcong Luo
2e1f1cd65c Merge pull request #397 from Layell/patch-13
Naviathan icon CAP20
2015-06-06 17:23:43 +00:00
Layell
bdfd45abbd Update battledata.js 2015-06-06 12:38:51 -04:00
kubetz
001ea68fdd sidebar is updated for dragIn 2015-06-06 03:54:49 +00:00
Guangcong Luo
4ca8b1121a Merge pull request #393 from Slayer95/mm
Improve support for searching battles in multiple formats
2015-06-06 01:15:42 +00: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
Guangcong Luo
ee4de5e5c5 Merge pull request #395 from Layell/patch-12
CAP: Naviathan model addition and render update
2015-06-05 17:09:22 +00:00
Layell
2da9da6f8d CAP: Naviathan model addition and render update 2015-06-04 22:37:59 -04:00