Commit Graph

23714 Commits

Author SHA1 Message Date
Joim
1d3b1b8f91 Fix access denied message for warn
It currently says "/redirect - Access denied."
2013-04-27 16:02:07 +03:00
Guangcong Luo
68fd57131c Memory optimisation in Tools data
During initialisation of Tools, each new mod no longer makes a copy
of every data object from the parent mod. Instead, a new object is
created when and only when the mod actually makes changes to a
particular object. In other words, this is a "copy-on-write" system.
2013-04-27 04:50:37 -07:00
Cathy J. Fitzpatrick
8c72f7cb22 Spell Pokémon with an acute e in README.md 2013-04-27 02:07:14 -06:00
Guangcong Luo
1a7bba8f80 Malaconda is Dark/Grass, not Grass/Dark 2013-04-26 20:32:21 -07:00
Guangcong Luo
f63a35f2da Fix Harvest message 2013-04-26 20:16:33 -07:00
Marty-D
084368668e Update Malaconda's viable moves. 2013-04-26 16:36:33 -04:00
Marty-D
cec7085f52 Implement CAP 5 - Malaconda 2013-04-26 16:12:37 -04:00
Cathy J. Fitzpatrick
7f625b4ed9 Merge pull request #214 from Joimer/patch-15
Move all user information commands to /whois
2013-04-26 05:39:11 -07:00
Joim
3026ff96c5 Move all user information commands to /whois
The following commands are now aliases of /whois:
/ip, /getip, /rooms, /altcheck, /alt, /alts, /getalts.
Whois now provides alt information of an user.
In due time the aliases will be deprecated and removed. This is meant to centralise user information seeking in /whois, which has all the information available.
2013-04-26 15:32:45 +03:00
Cathy J. Fitzpatrick
65247e3e4c Don't send unnecessary information in searching updates 2013-04-26 06:23:38 -06:00
Cathy J. Fitzpatrick
8dc0d17c6f Don't include userid in init messages 2013-04-26 06:10:04 -06:00
Cathy J. Fitzpatrick
147ad46993 Don't send renamePending or token to clients 2013-04-26 06:03:37 -06:00
Cathy J. Fitzpatrick
072bb5e042 Remove legacy code for old protocols 2013-04-26 04:22:17 -06:00
Cathy J. Fitzpatrick
9d60ccb58a Add support for custom HTTP responses 2013-04-25 21:17:58 -06:00
Cathy J. Fitzpatrick
838a33b691 Fewer module-level variables in app.js 2013-04-25 21:05:20 -06:00
Cathy J. Fitzpatrick
2d2b183802 Move the LoginServer object to loginserver.js 2013-04-25 17:17:38 -06:00
Guangcong Luo
28034e9970 Update Zarel's information in package.json 2013-04-25 16:01:55 -07:00
Guangcong Luo
3b24ef347d Update README with new nicer URIs
The message on server start has been updated, too
2013-04-25 16:00:03 -07:00
Guangcong Luo
019793cae2 Merge pull request #213 from Joimer/patch-13
Add item gen directly
2013-04-25 14:30:10 -07:00
Joim
a44a1c341b Add item gen directly
Item numbering is erratic from generation 3 to 4 and in some cases in generation 5, so every item has the generation in which it was added in it.
2013-04-26 00:21:22 +03:00
Guangcong Luo
9e69b6337c Merge pull request #211 from Joimer/patch-11
Gens 3 and 4: Fix item checking
2013-04-25 11:39:23 -07:00
Joim
8daafcd85a Add item validation on Pokemon ruleset
Add item validation on Pokemon ruleset to validate non standard items, such as unreleased items in previous gens or mod items.
2013-04-25 20:34:20 +03:00
Joim
61590b201e Add item generation
Add an automatic way to decide the generation an item comes from.
The items have been numbered the same way in the generations 3, 4, and 5. Generation 2 items need to specify its gen in its item.js specifically.
2013-04-25 20:14:10 +03:00
Joim
a965842c15 Add item numeration from the games
Added the item numeration from the game cartridges to better distinguish them between generations.
2013-04-25 20:08:22 +03:00
Guangcong Luo
1b2ed1079e Warn message no longer says 'kick' 2013-04-25 01:07:43 -07:00
Cathy J. Fitzpatrick
1512f38db9 Actually commit crashlogger.js 2013-04-25 00:15:54 -06:00
Cathy J. Fitzpatrick
5854da2c62 Move crash logging to new file: crashlogger.js 2013-04-25 00:14:36 -06:00
Cathy J. Fitzpatrick
387b7974f3 Revisions to crash logging
- crash logging is now handled by `Tools.logCrash`
- simulator processes now send crash emails as well
- emails are now rate limited to 1 email per 5 minutes per process
2013-04-24 23:53:47 -06:00
Cathy J. Fitzpatrick
d8d3d897be Implement email crash logging 2013-04-24 23:20:29 -06:00
Cathy J. Fitzpatrick
f454177364 Changes to static file serving
- /static/custom.css is now located at /config/custom.css
- /static/avatars/ is now located at /config/avatars/
- The redirect script now redirects all room URIs, not just the root
  path. For example, if you are running a server on localhost port 8000,
  visiting http://localhost:8000/teambuilder will now take you to the
  teambuilder. This works for any room.
2013-04-24 20:41:49 -06:00
Cathy J. Fitzpatrick
6a61871697 Move custom.css to custom-example.css 2013-04-24 19:11:06 -06:00
Guangcong Luo
80b375fa52 Fix crash in monotype validator 2013-04-24 17:52:15 -07:00
Cathy J. Fitzpatrick
4c36582434 Improve some documentation in config-example.js 2013-04-24 16:28:50 -06:00
Cathy J. Fitzpatrick
5a50366bdb Add a stub static/custom.css file 2013-04-24 16:23:10 -06:00
Cathy J. Fitzpatrick
3d65a9b180 Fix some indentation in app.js 2013-04-24 16:19:35 -06:00
Marty-D
417710e391 Gen IV: Fix Roost. 2013-04-24 12:05:15 -04:00
Guangcong Luo
d31e98aff4 Merge pull request #209 from Joimer/patch-9
Update /othermetas command
2013-04-24 08:15:54 -07:00
Guangcong Luo
83f848d82b Fix redirect for port 80
Remember, default PS port isn't default HTTP port.
2013-04-24 07:41:23 -07:00
Guangcong Luo
7aec35f6ee New warning system
Replaces /kick
2013-04-24 07:07:27 -07:00
Cathy J. Fitzpatrick
c0880f1d21 Fix /static/index.html redirect 2013-04-24 04:33:10 -06:00
Joim
30e757e493 Update /othermetas command
Updated /othermetas, changing DW OU for pure Hackmons since DW is now available via challenge only. Changed Seasonal Ladder to generic name to avoid having to update the command every month. Change Tier Shift name to just "Tier Shift" and link ot its thread, added link to "Other Meta of the Month" which will be valid for each month.
2013-04-24 12:14:34 +03:00
Cathy J. Fitzpatrick
2864cec3e0 Add /static/avatars/ to .gitignore 2013-04-24 02:47:15 -06:00
Cathy J. Fitzpatrick
47f456a26d Revise custom avatar feature 2013-04-24 02:43:33 -06:00
Cathy J. Fitzpatrick
2d8b489bc1 Add support for serving static files over HTTP 2013-04-24 01:37:58 -06:00
Cathy J. Fitzpatrick
876d2191c1 sockjs now runs under /showdown prefix 2013-04-24 01:03:46 -06:00
Guangcong Luo
60632f0e09 Fix gen 4 Roost 2013-04-23 20:44:08 -07:00
Cathy J. Fitzpatrick
77f0c127a0 Implement sockjs hack for Heroku
See https://github.com/sockjs/sockjs-node/issues/57#issuecomment-5242187
2013-04-23 21:24:29 -06:00
Cathy J. Fitzpatrick
35d5b3ef75 Implement /hotpatch formats 2013-04-23 20:38:18 -06:00
Guangcong Luo
ab2cad4e38 Allow chatting in battles while disabling lobby chat 2013-04-23 19:00:43 -07:00
Cathy J. Fitzpatrick
4f42bd525c Introduce global variable Server
This allows us to access the sockjs server using the console.
2013-04-23 19:54:21 -06:00