Commit graph

96 commits

Author SHA1 Message Date
Nick Winter
5aefd5ffa2 I think the server needs to gzip now, and possibly only a bug is keeping it working. 2014-12-04 16:33:17 -08:00
Scott Erickson
42c7fca055 Tweaked the error middleware to proxy and be silent about client errors. 2014-11-29 11:06:02 -08:00
Nick Winter
d2aabbdacc A couple workarounds for crashing server tests. Including method in HipChat error messages. Trying to work around undefined ThangType fetch during level loading. 2014-11-29 08:43:40 -08:00
Scott Erickson
b698745e05 Set up the site to load its logic and templates piecemeal rather than in one giant app.js file. 2014-11-28 16:38:56 -08:00
Michael Schmatz
6cb46aafa8 Link to Papertrail logs in error messages 2014-11-28 14:37:55 -05:00
Michael Schmatz
897fe6c63e Improved error handling 2014-11-28 11:44:03 -05:00
Nick Winter
98f1eec10c Upgraded choose hero view for locked heroes. Went back to animated heroes instead of feature images. Removed some server logs. 2014-11-25 09:28:50 -08:00
Michael Schmatz
d56f594d58 Better error handling 2014-11-24 20:07:29 -05:00
Scott Erickson
54a9497a4f Disabling space-less json for development. 2014-11-03 10:51:20 -08:00
Scott Erickson
cea04d27ad Built diplomat-specific views for editing levels, components, achievements and thang types. 2014-10-27 17:16:22 -07:00
Matt Lott
6d9e243968 Update server development logging
Provide more details.
2014-10-26 10:52:22 -07:00
Nick Winter
e56a5bba30 Could gzipping be doing anything bad to our BrowserStack proxy problem? 2014-10-24 14:46:41 -07:00
Nick Winter
13fe1bbece Improved branching choices and set up an A/B/C/D test around branching. 2014-10-23 16:37:09 -07:00
David Beckley
069657a1d5 Call save rather than return it 2014-09-23 17:07:54 -07:00
David Beckley
27dece30f7 Send response before saving to database 2014-09-23 17:03:53 -07:00
David Beckley
2acebb54c6 Fix #1005 2014-09-21 23:02:06 -07:00
Scott Erickson
f54c3236ab Refactored Achievement's getExpFunction to use the new defaults system, now on the server side. 2014-08-29 12:41:25 -07:00
Nick Winter
1864cb09bc Fixed #712. Fixed a bug with listing files/musics in admin files view due to removed trailing slashes. 2014-08-26 15:42:33 -07:00
Ruben Vereecken
40ba28f49b Basics for account and user home pages 2014-07-15 16:15:21 +02:00
Ruben Vereecken
a60451368e Merged in master 2014-07-14 18:58:25 +02:00
Ruben Vereecken
9db84befa6 Set up a 301 Redirect for account/profile instead of a backbone redirect 2014-07-13 22:34:32 +02:00
Ruben Vereecken
3d510b98d6 Express now removes all trailing slashes. 2014-07-13 20:49:13 +02:00
Tery Lim
618ade4946 Clean up mixed quotes 2014-07-01 12:23:22 +08:00
Scott Erickson
d0ac09122f Forcing the server to return 200 rather than 304 to requests for the main html file, hopefully fixing some authentication/caching issues. 2014-06-11 09:53:32 -07:00
Tery Lim
cb8a2b36c6 Fix typo (missing e) 2014-06-09 00:35:59 +08:00
Nick Winter
48f5347075 Fixed gigantor server scoring bug. Cleaned up a bit of logging and error handling. Finished not resetting scores on resubmitting. 2014-05-21 21:56:11 -07:00
Dominik Maier
b95a475969 + more than one </script> tag in username no longer breaks the page.
(aka. Javascript never ceases to surprise me)
2014-05-21 20:12:46 +02:00
Dominik Maier
2d03c3f78c + </script> tag in username no longer breaks the page 2014-05-20 00:13:09 +02:00
Nick Winter
46487f55a4 Fixed up some styles for job profile page, and prevented long links from destroying things with poor wrapping. 2014-04-17 11:34:55 -07:00
Nick Winter
eec1888b22 gzipping when in production but not going through Cloudflare. 2014-04-17 10:12:23 -07:00
Nick Winter
5c8c7fff1d Starting work on simple recruitment listings. Moved Treema and the JS parts of Bootstrap to bower. 2014-04-05 17:05:03 -07:00
Scott Erickson
0a78368217 Refactored user authentication again. Now the user object is inserted into main.html, which was renamed from index.html so the express static middleware wouldn't serve it. 2014-04-02 13:12:24 -07:00
bang honam
845d4cecef Added a space for coding convention 2014-03-15 08:30:29 -07:00
Michael Schmatz
6563f43511 Edited fallback route to use all methods in fallback 2014-03-12 10:07:21 -07:00
Nick Winter
9aa1d5a26c Okay, we'll just let Cloudflare compress things. 2014-03-03 18:50:59 -08:00
Nick Winter
df95e8c784 Experimenting with using compress() in production. 2014-03-03 16:19:35 -08:00
Nick Winter
967d6cd889 Let's try this without the request timeout middleware, to see if we still need that. 2014-03-03 08:13:53 -08:00
Nick Winter
a5adf5a1bf Tweaked status colors for production logging; applying it only when in production. 2014-03-03 08:10:36 -08:00
Aditya Raisinghani
a5f633961f Added log setting for production. 2014-03-02 01:48:21 +05:30
Scott Erickson
2be752ceed Refactored user creation to /auth/whoami, and made the app call that first, so only one user is created. Fixed #318. Think this also fixes #406. 2014-02-24 11:12:52 -08:00
Michael Schmatz
308f34bc76 Merge branch 'feature/task-queue' of github.com:codecombat/codecombat into feature/task-queue
Conflicts:
	server_setup.coffee
2014-02-05 09:42:25 -08:00
Michael Schmatz
5c328d09f5 Added scoring and queue modules 2014-02-05 09:39:14 -08:00
Sébastien Moratinos
f58acf0fbb rename some variables 2014-02-04 23:28:21 +01:00
Sébastien Moratinos
baf5ada19d use a mapping for handlers, schemas, and routes 2014-02-04 23:27:24 +01:00
Sébastien Moratinos
23a07303e3 move database setup (mongodb) out of db route (http endpoint) 2014-02-04 23:26:04 +01:00
Michael Schmatz
7534f47be4 Refactored server.coffee 2014-01-27 15:36:35 -08:00