Commit Graph

6323 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
3fe5805296 Fix indentation
This is really trivial, but it might as well be fixed.
2013-01-26 00:48:54 -07:00
Cathy J. Fitzpatrick
56cc3f0de4 Change version script for PHP 5.2
The live web server runs PHP 5.2, which apparently does not
support anonymous functions, so the anonymous funciton has
been removed from update-version-query-strings.
2013-01-26 00:25:01 -07:00
Cathy J. Fitzpatrick
7dbb3330c2 New system to automatically update version strings
The index.php file specifies a version query string for each
resource which is likely to change. For example:

    <script src="/js/sim.js?v0.8.2c"></script>

Each time the file is changed, we have incremented the version
number so that browsers and/or the CDN know to download the
file from the web site, rather than using a cached version.
This works because changing the version query string changes
the file name of the resource.

This commit introduces a new program (update-version-query-strings)
which parses index.php and sets each version query string to be
the MD5 hash of the corresponding resource. On the live web
server, this program is set to run for the following git hooks:

    post-commit, post-checkout, post-merge, post-rewrite

This new system removes the need to manually update version query
strings. Instead, the version query strings will be automatically
updated when we update the live web site from now on.
2013-01-25 23:36:33 -07:00
Marty-D
01fb0bb135 Fix several -activate messages. 2013-01-25 23:47:35 -05:00
Marty-D
93b6f47035 Add Pay Day message. 2013-01-25 21:58:22 -05:00
Guangcong Luo
130f71631b Merge pull request #2 from yenatch/master
Add a button to stop the battle timer when applicable
2013-01-25 16:52:42 -08:00
yenatch
d6ad3f0031 add a button to stop the battle timer 2013-01-25 19:49:26 -05:00
Cathy J. Fitzpatrick
29dd4c9db4 Properly increment version of sim.js
Version 0.8.2b was used previously, so use 0.8.2c instead.
2013-01-25 13:14:47 -07:00
Cathy J. Fitzpatrick
3b82cf5cec Refactor acknowledging requests from server
See the corresponding server commit for details.
2013-01-25 12:20:46 -07:00
Cathy J. Fitzpatrick
4f04065399 Increment version of battledata.js 2013-01-25 06:53:43 -07:00
Cathy J. Fitzpatrick
3e7ffe693c Increment version of battle.js 2013-01-25 06:24:11 -07:00
Cathy J. Fitzpatrick
130c695516 Merge pull request #1 from TheImmortal/patch-1
Add Flame Burst message to -damage
2013-01-25 05:22:12 -08:00
TheImmortal
deac1f2195 Add Flame Burst message to -damage 2013-01-25 17:19:55 +04:00
Cathy J. Fitzpatrick
ccf0a97733 Acknowledge receiving requests from the server
There will be a more detailed explanation of this in the
corresponding server commit.
2013-01-25 01:05:59 -07:00
Guangcong Luo
04e3f491e8 Make sure the regular Hidden Power animation works 2013-01-24 16:50:10 -08:00
Guangcong Luo
d52d7bcc52 Support displaying Hidden Power base power 2013-01-24 15:03:54 -08:00
Guangcong Luo
f3b62c601c Fix ladder tab 2013-01-23 19:47:45 -08:00
Guangcong Luo
1ba0c95ad0 Fix crash for non-main servers 2013-01-23 18:18:42 -08:00
Guangcong Luo
d9c2d8c757 Clarify what's usable with testclient.html 2013-01-23 18:18:25 -08:00
Guangcong Luo
8c80a318ac Rephrase README a bit 2013-01-23 17:45:26 -08:00
Guangcong Luo
e4bde150e0 Add support for a test client 2013-01-23 17:45:03 -08:00
Guangcong Luo
b16c1527da Populate with current state of client 2013-01-23 16:39:14 -08:00
Guangcong Luo
1f699b56c9 Initial commit 2013-01-23 16:09:53 -08:00