Commit Graph

1158 Commits

Author SHA1 Message Date
Quinella
d73f97d8f9 Changed the behavior of /challenge
/challenge now opens the challenge window instead of the user window (like /user does)

/challenge also accepts multiple parameters now: user, format, team
user is the name(id) of the user you want to challenge
format is the format you want. It gets changed to an id, so you can enter it in any way you want. For example: ou, ou no stealth rock, etc.
team is the name of the team you wish to use. It also gets changed to an id and stops at the first match (problem: multiple teams with the same name?)
Both the format and team parameters are optional
2013-10-08 23:34:47 +02:00
Guangcong Luo
627f587c81 Merge pull request #57 from kotarou3/patch
Fix parse error in http://pokemonshowdown.com/replay/ubers-55161015
2013-10-06 23:37:39 -07:00
小太
6be79c6760 Fix parse error in http://pokemonshowdown.com/replay/ubers-55161015 2013-10-07 17:33:36 +11:00
Guangcong Luo
0b395ca236 Team export: 'Ability:' instead of 'Trait:'
PO will support this in their next release.
2013-10-06 13:56:58 -05:00
Guangcong Luo
ab5e6f1220 Team import: Support 'Ability:' as well as 'Trait:' 2013-10-06 13:56:58 -05:00
Guangcong Luo
63397a0562 Merge pull request #54 from Quinella/dogars
Dogars song fix
2013-10-06 09:49:28 -07:00
Quinella
e52634efe9 Dogars song fix so that it only plays when Dogars is on the field 2013-10-06 16:47:44 +02:00
Guangcong Luo
c883db6e07 Support both static/dynamic index pages 2013-10-04 16:56:27 -05:00
Guangcong Luo
476e6989ef Graphics sources: Add old client background 2013-10-03 20:34:44 -05:00
Guangcong Luo
333275e3f7 Support bad routers that can't route to their own IP
So in theory, a user hosting PS on their own computer should be able
to visit their server with their IP. For some reason, certain routers
don't allow this, and force them to use localhost or 127.0.0.1.

This commit makes it so we do this for them, so they can still use
their server's official address [serverid].psim.us to connect to
their server.
2013-10-03 19:32:17 -05:00
Guangcong Luo
1c17af0020 Move back to static index page
Dynamic one had too much server load during restarts
2013-10-03 19:32:17 -05:00
Guangcong Luo
c458e06655 Graphics sources: Add some more 2013-10-01 21:45:53 -05:00
Guangcong Luo
0b340aef9b Graphics sources: Rename 'scrapped' to 'unused' 2013-10-01 21:45:18 -05:00
Guangcong Luo
d03bea97af Rooms can now expire
Rooms send |expire| when they expire; this means that the room no
longer exists server-side but the client might want to leave the room
open.
2013-09-29 22:52:40 -05:00
Guangcong Luo
89aeb2ecaa Hide links in spoilers too 2013-09-29 21:49:07 -05:00
Guangcong Luo
34c8607104 Change spoiler syntax
Now supports 'spoiler:' and 'spoilers:', requires the ':' so it
doesn't accidentally spoiler stuff, and the word 'spoiler' doesn't
have to be at the beginning of the line.
2013-09-29 21:32:44 -05:00
Guangcong Luo
0f4b365091 Setting to disable spoiler hiding 2013-09-29 21:15:22 -05:00
Guangcong Luo
17b66a40c3 Merge pull request #56 from V4Victini/patch-3
Fix -ability parsing errors
2013-09-29 17:05:12 -07:00
V4Victini
ccae8885bc Fix -ability parsing errors
Only Unnerve passes the side in args, so args[3] was undefined for every other ability.
2013-09-29 20:00:34 -04:00
Guangcong Luo
a48e096ebd Spoiler tag
You can now make spoilers by starting a sentence with 'spoiler:'
or 'spoiler'.
2013-09-29 17:54:20 -05:00
Guangcong Luo
0ea30bfd1d Merge pull request #55 from V4Victini/unnerve
Fix Unnerve's message
2013-09-28 16:18:28 -07:00
V4Victini
a27e420f22 Fix Unnerve's message 2013-09-28 17:06:32 -04:00
Quinella
a753f59a97 Dogars song fix 2013-09-27 10:37:34 +02:00
Guangcong Luo
daf090e673 Merge pull request #53 from Quinella/tabtitles
Fixes tabs so that it will show roomname instead of roomid on joining
2013-09-25 06:57:04 -07:00
Quinella
fd4fdb5988 Fixes tabs so that it will show roomname instead of roomid on joining 2013-09-25 11:25:19 +02:00
Guangcong Luo
f845104122 Actual horizon background 2013-09-23 15:12:57 -05:00
Guangcong Luo
617d194478 Merge pull request #52 from Quinella/formats
Made format column index one-based
2013-09-23 11:30:42 -07:00
Quinella
5889f1680d Fixed default format column 2013-09-23 20:26:26 +02:00
Quinella
4e4c710740 Made format column index one-based 2013-09-23 20:21:30 +02:00
Guangcong Luo
0caf105732 New background: Horizon 2013-09-23 13:16:18 -05:00
Guangcong Luo
4b8fd46728 Merge pull request #51 from Quinella/formats
Adds the possibility to put sections (of formats) in other columns by changing it serverside
2013-09-23 10:54:28 -07:00
Quinella
78f5247cdb Changed format column separator; prefixed by a comma 2013-09-23 19:26:46 +02:00
Quinella
51ecb2a6e6 Adds the possibility to put sections (of formats) in other columns by changing it serverside 2013-09-23 18:43:55 +02:00
Guangcong Luo
99cf301eba Merge pull request #50 from Quinella/notifications
Added a "persistent notifications" option.
2013-09-22 16:05:58 -07:00
Quinella
e94e2c27cf Renamed "persistent notifications" to "temporary notifications" 2013-09-22 23:00:20 +02:00
Quinella
44aceead8f Added a "persistent notifications" option.
Defaults to yes. If set to no, notifications will disappear automatically after 5 seconds.
The option will only be shown if window.Notification is available.
2013-09-22 22:47:55 +02:00
Guangcong Luo
9f7251e954 Merge pull request #49 from Quinella/testclientfail
Fixes testclient.html; the loading message didn't disappear.
2013-09-22 10:55:26 -07:00
Quinella
da1280ba86 Fixes testclient.html; the loading message didn't disappear.
Because of that PMing and challenging others on testclient.html was impossible.
2013-09-22 15:00:53 +02:00
Guangcong Luo
5ac54eee3a Merge pull request #48 from Quinella/chattime
Added |tc| and the like for the correct time in replays
2013-09-21 17:47:21 -07:00
Quinella
7b26873667 Added |tc| and the like for the correct time in replays 2013-09-22 01:04:55 +02:00
Guangcong Luo
2fc1999d66 Automatically redirect old IE to downloadable client 2013-09-21 13:22:41 -05:00
Guangcong Luo
daaa6f3bfd Embed news into HTML for faster loading 2013-09-20 16:48:31 -05:00
Guangcong Luo
3abcba151c iframe for news page 2013-09-20 16:48:31 -05:00
Guangcong Luo
30490f23d7 Teambuilder: Fix deleting teams
Deleting teams now correctly updates the team list
2013-09-20 16:48:31 -05:00
Guangcong Luo
264aadc3eb Better loading message 2013-09-20 16:48:31 -05:00
Guangcong Luo
45e47c9d66 News popup 2013-09-20 16:48:31 -05:00
Guangcong Luo
a90404685d Desktop client: Make sure links open in browser 2013-09-20 16:48:31 -05:00
Guangcong Luo
3b824aab57 Merge pull request #47 from Quinella/b1
Fixes the teambuilder's number input's events
2013-09-20 14:34:45 -07:00
Quinella
e7dae9beab Fixes the teambuilder's number input's events
Only the keyup event was fired, which caused a bug where changes are not registered when the up/down buttons are clicked (in browsers that support the number input).
The keyup event still has to be fired for the sake of the browsers that haven't heard of the number input yet.
2013-09-20 23:26:00 +02:00
Guangcong Luo
a171908cec Fix room links
Room links were broken by a mistake in the port number detection
commit.
2013-09-18 00:03:07 -05:00