Commit graph

33 commits

Author SHA1 Message Date
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