Commit Graph

152 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
ebeeb9a081 Save preferred avatar in prefs 2013-02-10 21:37:24 -07:00
Cathy J. Fitzpatrick
4fed69c330 Add error message for invalid username 2013-02-10 20:14:30 -07:00
Cathy J. Fitzpatrick
2ff3957c3b Don't sign assertions for invalid usernames 2013-02-10 20:08:31 -07:00
Cathy J. Fitzpatrick
a6b7ad5977 Set maximum username length to 18 for consistency
The Pokemon Showdown server already enforced a maximum username length
of 18 characters, but the login server allowed registering names up to
63 characters long.
2013-02-10 19:18:21 -07:00
Cathy J. Fitzpatrick
5c1ec0b695 Allow two username registrations every two hours 2013-02-10 18:18:21 -07:00
Cathy J. Fitzpatrick
2ae1040c9f Revise formatting of action.php 2013-02-10 17:27:47 -07:00
Cathy J. Fitzpatrick
849786d782 Allow only one username registration per day 2013-02-10 17:19:51 -07:00
Cathy J. Fitzpatrick
f2b90b3b4e Fix ladder tab when connected via alternative port
This allows the ladder tab to work when connected to the main server
via port 80 rather than port 8000.
2013-02-09 21:54:05 -07:00
Cathy J. Fitzpatrick
9172a6b37d Fix typo in previous commit 2013-02-09 21:51:49 -07:00
Cathy J. Fitzpatrick
af33ac2748 Changes to chat history feature
- all client side text commands are now included in the history
- `chatHistory.sentences` is now named `chatHistory.lines`
2013-02-09 21:50:25 -07:00
The Immortal
cbd68d59c7 Give Limi a custom color n_n 2013-02-09 19:17:09 +04:00
Cathy J. Fitzpatrick
23f9865992 Refactor serverid/servertoken 2013-02-09 04:50:49 -07:00
Cathy J. Fitzpatrick
78356e64c3 Specify character encoding for getassertion output 2013-02-09 02:40:42 -07:00
Cathy J. Fitzpatrick
01435a97e5 Fix /rating (etc.) when connected to server via alternative port 2013-02-09 02:32:13 -07:00
Cathy J. Fitzpatrick
75262eb607 Remove unusual use of group 2013-02-08 19:25:57 -07:00
Cathy J. Fitzpatrick
d3c4bc26fe Remove two more unused actions 2013-02-08 19:24:13 -07:00
Cathy J. Fitzpatrick
3d810fa926 Remove more obsolete code from action.php 2013-02-08 18:37:40 -07:00
Cathy J. Fitzpatrick
500999151d Remove obsolete upkeep action from action.php 2013-02-08 18:15:21 -07:00
Cathy J. Fitzpatrick
6a2f29eb7f Include only necessary information in Config.upkeep 2013-02-08 18:06:39 -07:00
Cathy J. Fitzpatrick
86a81f9614 Display friendly error message when trying to register 'guest*' 2013-02-08 17:02:31 -07:00
Marty-D
10eb8911e9 Add more move messages. 2013-02-08 17:00:53 -05:00
Cathy J. Fitzpatrick
909ba32c7c Add check for name === '' in renameMe 2013-02-08 07:16:31 -07:00
Cathy J. Fitzpatrick
4fee96910b Detect user error in testclientgetassertion 2013-02-08 05:43:45 -07:00
Cathy J. Fitzpatrick
58600066de Revise list of what works in the testclient 2013-02-08 05:32:21 -07:00
Cathy J. Fitzpatrick
92e8aabf72 Another testclient improvement 2013-02-08 05:26:03 -07:00
Cathy J. Fitzpatrick
4076152c85 Add support for omitting userid for getassertion 2013-02-08 05:15:49 -07:00
Cathy J. Fitzpatrick
135b4b8bd1 Fix to testclient for Chrome 2013-02-08 04:37:34 -07:00
Cathy J. Fitzpatrick
1d5e58d9b7 Add mention of 'Bogus request' message to testclient overlay 2013-02-08 04:30:12 -07:00
Cathy J. Fitzpatrick
d14bfd7aa2 Revise README.md for new testclient.html 2013-02-08 04:20:16 -07:00
Cathy J. Fitzpatrick
c6b26c5719 Revise testclient.html to be more user-friendly 2013-02-08 04:18:12 -07:00
Cathy J. Fitzpatrick
d2783cf610 No need to sanitise $challenge in getassertion
I now sanitise the challenge in getAssertion() instead.
2013-02-08 03:44:00 -07:00
Cathy J. Fitzpatrick
319b00539f More revisions to index.php for challenge-response authentication 2013-02-08 01:55:31 -07:00
Cathy J. Fitzpatrick
1eeb0acd71 Changes to index.php for challenge-response authentication 2013-02-08 01:22:18 -07:00
Cathy J. Fitzpatrick
01522f0a15 Fix bug in testing for presence of challengekeyid 2013-02-08 01:07:52 -07:00
Cathy J. Fitzpatrick
dff5b85e88 Changes to sim.js for challenge-response authentication 2013-02-08 00:10:28 -07:00
Cathy J. Fitzpatrick
f0fde921ec Changes to action.php for challenge-response authentication 2013-02-07 23:22:13 -07:00
Guangcong Luo
1a0ae1f17f pokedex.php moved - useful test page for utilichart.js 2013-02-07 16:35:33 -08:00
Guangcong Luo
41a6b2d96b Pokemon with formes work correctly in teambuilder now 2013-02-07 16:33:57 -08:00
Cathy J. Fitzpatrick
f7adbee232 More changes to cached index.php logging
- record lag time in the log
- use an <img> tag rather than an AJAX request to reduce false
  positives caused by slow internet
2013-02-07 13:54:24 -07:00
Marty-D
6c9c6ef9f7 Fix Skull Bash's message. 2013-02-07 13:15:48 -05:00
Marty-D
538a0afe17 Add the last Pledge move messages. 2013-02-07 12:06:32 -05:00
Cathy J. Fitzpatrick
b15904fe12 Changes to chat history feature
This commit revises the chat history feature to work like my
terminal emulator. Specifically, when reviewing the history
with up/key, changes to the lines are now saved. This makes
the feature significantly more useful and also prevents
annoyance if the user presses up when typing a line, because
the user can now just press down to get the line back (and vice
versa), as opposed to the line being gone.
2013-02-07 03:51:48 -07:00
Cathy J. Fitzpatrick
ddaeb974e3 Track clicks of the 'Report bug' link
This might be an interesting statistic.
2013-02-07 02:23:29 -07:00
Cathy J. Fitzpatrick
7fe3af122b Fix for shift handling in chatbox
I used pull request #11 as the base for @9b976cf9b8, but I forgot
to fix this aspect of it.
2013-02-07 01:41:57 -07:00
Cathy J. Fitzpatrick
9b976cf9b8 Implement chat history recall with up/down keys
This commit implements a feature commonly found in IRC clients,
wherein the user can press the up key to recall previously sent
messages (and can press the down key to cycle back the other
direction in the history).

This commit is similar to pull request #11, except that this
implementation works properly.
2013-02-07 01:26:42 -07:00
Cathy J. Fitzpatrick
1be6d82e34 Disable web access to .git directory 2013-02-06 23:40:29 -07:00
Cathy J. Fitzpatrick
0964746432 Don't use actionphp variable in index.php 2013-02-06 22:37:43 -07:00
Cathy J. Fitzpatrick
7a50b31b6b More changes to cached index.php logging
- check timestamp in index.php rather than sim.js to reduce the chance
  of false positives caused by the user's internet connection being
  slow or the user's clock being slightly wrong

- require timestamp logging to be a POST request
2013-02-06 22:36:32 -07:00
Cathy J. Fitzpatrick
877594bc35 Remove 'Connecting to login server...' message
The initialisation of the client no longer makes an AJAX request
to the login server, so this message is not applicable anymore.
2013-02-06 22:10:46 -07:00
Cathy J. Fitzpatrick
b15a9c9561 Use different set of headers to indicate no caching
Use headers from http://stackoverflow.com/questions/49547/making-sure-a-web-page-is-not-cached-across-all-browsers
2013-02-06 19:25:20 -07:00