Guangcong Luo
0b33ed2dc9
Merge pull request #40 from kotarou3/whitespace
...
Whitespace
2013-08-19 10:01:47 -07:00
Guangcong Luo
0a0a64990f
Yet another change to the MMR formula
...
It's now (2*rpr+r)/3
2013-08-18 16:17:39 -05:00
小太
cf699c0494
Obliterate trailing whitespace
2013-08-18 22:48:11 +10:00
Guangcong Luo
6918000c34
Ladder: Rating period length reduced to 2 days
...
(Reduced from 3 days)
2013-08-14 21:48:42 -05:00
Guangcong Luo
4b65f40779
MMR is now projected rating
2013-08-14 00:47:34 -05:00
Guangcong Luo
4d5b1f89e4
Ladder: Function to lear a ladder
2013-07-12 15:36:30 -05:00
Guangcong Luo
420c702e54
Ladders now show top 500
2013-07-07 16:18:27 -05:00
Cathy J. Fitzpatrick
63791dabd2
Correct check for all-numeric name
2013-06-20 22:34:19 -05:00
Cathy J. Fitzpatrick
5fe36c3090
Fix SQL injection vulnerability in ntbb-ladder.lib.php
2013-06-20 12:10:55 -06:00
Cathy J. Fitzpatrick
0dbd829ec6
Rename some globals to avoid namespace collisions
2013-06-03 15:24:50 -06:00
Cathy J. Fitzpatrick
f0e7eabac0
Support using the login database as the ladder database
2013-06-02 21:49:05 -05:00
Cathy J. Fitzpatrick
983c94d1df
Implement change password dialogue
2013-06-01 01:16:26 -05:00
Cathy J. Fitzpatrick
0a0e5f011b
Usernames must contain at least one letter
2013-05-28 23:32:20 -05:00
Cathy J. Fitzpatrick
685910046d
New method for invalidating custom CSS
2013-05-25 04:38:42 -05:00
Cathy J. Fitzpatrick
ecc09d4f6f
Revert recent ACRE changes
...
This reverts commit the part of 18faee531a
that made changes to lib/ntbb-ladder.lib.php.
2013-05-21 02:06:47 -06:00
Cathy J. Fitzpatrick
70102adff5
Merge branch 'client-overhaul'
2013-05-20 22:56:05 -06:00
Guangcong Luo
18faee531a
Option to hide PMs from lobby chat log
2013-05-20 19:22:36 -05:00
Cathy J. Fitzpatrick
a38be39eb0
Use mb_strlen rather than strlen
2013-05-01 17:27:20 -07:00
Cathy J. Fitzpatrick
e2b7a3a46a
ipidentification is now always enabled
2013-04-26 06:55:13 -07:00
Cathy J. Fitzpatrick
e19f727226
ipidentification is now always enabled
2013-04-26 07:49:15 -06:00
Cathy J. Fitzpatrick
a9f7f3356c
Remove unused sessiontoken
2013-04-25 03:29:12 -06:00
Cathy J. Fitzpatrick
e52a0339ad
Safer approach to updating the stats
2013-04-22 19:53:01 -07:00
Cathy J. Fitzpatrick
bf740992fb
Fix include path
2013-04-22 17:56:13 -07:00
Cathy J. Fitzpatrick
17b8917d0b
Update PO userstats whenever the main server reports userstats
2013-04-22 18:35:28 -06:00
Cathy J. Fitzpatrick
4e35bab1c5
Drop deprecated ladderformatgetmmr action
2013-04-20 05:08:00 -06:00
Cathy J. Fitzpatrick
bf4763dd1d
Specify charset for ladder database
2013-04-19 19:57:27 -06:00
Cathy J. Fitzpatrick
6b9d5e4cf2
Drop the action name from JSON output in action.php
2013-04-17 16:33:12 -06:00
Cathy J. Fitzpatrick
b701edc906
Send correct Content-Type header in action.php
2013-04-17 16:30:22 -06:00
Cathy J. Fitzpatrick
3021e2aca5
More thorough replay upload validation
2013-04-15 17:48:22 -06:00
Cathy J. Fitzpatrick
371a1d8c7f
Validate battle/format IDs in replay uploading
2013-04-15 17:29:11 -06:00
Cathy J. Fitzpatrick
9b26fcc218
Correct domain for showdown_username cookie
2013-04-13 19:38:59 -06:00
Cathy J. Fitzpatrick
e955c116c0
Replace "Change name" button by "Log out" button
2013-04-13 19:32:17 -06:00
Cathy J. Fitzpatrick
b09e853b3d
Refactor authentication code and drop support for old scheme
...
This drops support for the pre-challenge-response authentication scheme
(i.e. the scheme in use before Zarel/Pokemon-Showdown@7dbd8cfec5 on
February 8, 2013), and, by doing so, simplifies quite a bit of the
authentication code.
In particular, it is no longer necessary to make any database queries in
index.php, which reduces our database use significantly and also moves us
closer to the goal of the index page being static HTML.
2013-04-07 02:26:30 -06:00
Cathy J. Fitzpatrick
9d811c697a
Remove obsolete crossdomain sid sharing
2013-04-06 04:38:43 -06:00
Guangcong Luo
84adaa6de6
One more bugfix to replay uploading
2013-04-05 17:11:52 -07:00
Cathy J. Fitzpatrick
68dce72aeb
Fix incorrect use of 'break'
2013-04-05 18:00:55 -06:00
Guangcong Luo
42636f0ed7
Allow replays to be reuploaded
...
Previously, a bug prevented a replay from being re-uploaded if the
first replay upload failed, or if the battle continued after a
replay was uploaded. This has been fixed.
2013-04-05 16:58:54 -07:00
Guangcong Luo
818a28e30e
Replay upload improvements
...
The replay upload system should be a lot less brittle now. Errors
should be rarer, and when they do happen, the error message will
be clearer.
For instance, 'hash mismatch' will happen much less often, and
when it does happen it will give the message: "Someone else is already
uploading a replay. Try again in five seconds."
2013-04-05 16:42:01 -07:00
Guangcong Luo
9936c957c1
Support replay saving on registered servers
2013-04-05 16:21:58 -07:00
Cathy J. Fitzpatrick
3166be1fc8
Move getIp to a function of the dispatcher so it can be overriden
2013-04-02 03:28:52 -06:00
Cathy J. Fitzpatrick
c4be8d36c6
File-relative includes in dispatcher
2013-04-02 02:33:42 -06:00
Cathy J. Fitzpatrick
8040e824cc
Remove some unnecessary use of globals
2013-04-02 01:42:16 -06:00
Cathy J. Fitzpatrick
fd81ec3931
Fix mistake in previous commit
...
I accidentally introduced an incorrect `public` specifier by using
a naive find and replace
2013-04-02 01:37:39 -06:00
Cathy J. Fitzpatrick
ce5f2d6f9a
Remove some unnecessary database queries
2013-04-02 01:36:19 -06:00
Cathy J. Fitzpatrick
82de98d166
Refactor action.php
...
This moves most of the logic of action.php into a separate file
lib/dispatcher.lib.php and separates the actions into ladder-related
actions and non-ladder-related actions. This is intended to make it
possible to have a second action.php that handlers only ladder-related
actions, which can run on the main server computer and allow
that computer to make HTTP requests to `localhost`, which should
help reduce ladder errors.
2013-04-01 23:21:33 -07:00
Cathy J. Fitzpatrick
8342068a5c
Fix an issue resulting from the ladder move
2013-02-28 04:05:43 -07:00
Cathy J. Fitzpatrick
8be53b902e
Changes for ladder database move
2013-02-28 00:04:32 -07:00
Guangcong Luo
b16c1527da
Populate with current state of client
2013-01-23 16:39:14 -08:00