Scott Erickson
30f785f7cf
Moved the model schemas into a models folder.
2014-04-12 10:51:02 -07:00
Aditya Raisinghani
6fb5b59a01
Refactored schemas to be in /app
2014-04-12 14:33:55 +05:30
Scott Erickson
97a7bc7614
Merge branch 'backbone_mediator' of https://github.com/rubenvereecken/codecombat into feature/jsondiffpatch
...
Conflicts:
app/initialize.coffee
bower.json
2014-04-11 10:32:19 -07:00
Nick Winter
8d5e129c2c
Merged the jobs in. Look out for Treema bugs from the last four months.
2014-04-11 10:20:12 -07:00
Michael Schmatz
b182afd413
Fixed cron ladder auth
2014-04-10 17:50:39 -07:00
Nick Winter
7a35a6248f
Adding contact form for employers to contact candidates.
2014-04-10 14:59:32 -07:00
Scott Erickson
c382889748
Bunch of server changes, mainly adding all the JSON schema validation and fixing tests.
2014-04-08 14:10:50 -07:00
Michael Schmatz
17c1bb7344
Fixed transactional mail auth and added 2 week email
2014-04-07 09:51:32 -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
Nick Winter
29e7b8e5c1
Fixed mail to correctly capture the matches.
2014-03-22 09:48:36 -07:00
Michael Schmatz
13a74ba560
Added resimulateAllSessions route
2014-03-22 09:17:14 -07:00
Nick Winter
dfcdcaa678
No email addresses for non-admins on CLA submissions.
2014-03-21 17:20:47 -07:00
Nick Winter
ba66dbf5a1
Adding CLAs view.
2014-03-21 16:22:47 -07:00
Nick Winter
ca1e3742c0
Added simulation counts.
2014-03-20 15:40:02 -07:00
Michael Schmatz
6dcbaddbbd
Merge branch 'master' of https://github.com/codecombat/codecombat
...
Conflicts:
app/views/play/spectate_view.coffee
2014-03-15 09:20:44 -07:00
Michael Schmatz
2c6e667bb7
Added API for queue messages count
2014-03-15 09:20:13 -07:00
Nick Winter
95cd3782a1
Oops, don't keep sending ladder updates just to me.
2014-03-15 07:45:44 -07:00
Nick Winter
6e9945040f
Truncated long score graphs; made my-matches score graphs independent of time; showed crude score y-axis for now.
2014-03-13 19:20:22 -07:00
Nick Winter
4f0805ce1e
I changed the semantics of the i18n fallback to not hit 'text' for other properties, so updated a test.
2014-03-13 18:50:52 -07:00
Michael Schmatz
291f5eb02f
Disabled authentication for now
2014-03-13 18:41:58 -07:00
Michael Schmatz
edb28f6caf
Changed cron handler IP check
2014-03-13 16:11:44 -07:00
Nick Winter
9d8b8e7395
Probably too mean to tell users that their password is wrong three times, so just once will do.
2014-03-13 10:27:32 -07:00
Michael Schmatz
23f62e5598
Added ip checks on cron mail route
2014-03-12 08:11:48 -07:00
Nick Winter
b560827e32
Working on cleaning up some server errors.
2014-03-11 19:17:58 -07:00
Nick Winter
bba3c78107
Ties are not victories in the emails.
2014-03-11 13:20:52 -07:00
Nick Winter
eac219a2be
Inserted score history graph into ladder update emails.
2014-03-10 22:03:33 -07:00
Nick Winter
32baf2ae79
Improved my-matches rank history and name fetching, ladder update emails, ladder update unsubscribes.
2014-03-10 21:30:46 -07:00
Nick Winter
6ce65488aa
Added simple rank history graph. Improving ladder update mail.
2014-03-10 20:22:25 -07:00
Nick Winter
6055512ac7
Working on ladder updates.
2014-03-10 13:20:00 -07:00
Nick Winter
3d71fcbc70
Wins, losses, and realizing that I'm not doing server code right.
2014-03-09 18:46:11 -07:00
Nick Winter
82857fd080
Was able to send out some emails.
2014-03-08 21:29:41 -08:00
Nick Winter
f05e8432a9
Starting work on ladder update emails.
2014-03-08 18:49:09 -08:00
Scott Erickson
9726840d8a
Trying to handle a case where a user did not have their user account created.
2014-03-04 12:21:02 -08:00
Scott Erickson
881ec1a4b3
Added a fix for files with spaces.
2014-03-03 17:03:02 -08:00
Michael Schmatz
b648098c95
Implemented espionage mode
2014-02-26 14:14:43 -08:00
Scott Erickson
e63763d539
Made the server resistant to req.user being undefined sometimes.
2014-02-24 20:27:38 -08:00
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
92bec1a95c
Added pairwise utility route
2014-02-24 07:50:53 -08:00
Michael Schmatz
465ea22b1a
More progress with queues and client-side simulation
2014-02-10 13:18:39 -08:00
Michael Schmatz
24043eaee9
Refactored queue files and moved scoring queue out of commons queue
2014-02-06 14:32:35 -08:00
Michael Schmatz
609547a37c
Refactored queue routing structure
2014-02-06 13:25:11 -08:00
Michael Schmatz
3ccaa6796a
Improved routes and put in session access
2014-02-05 16:41:01 -08:00
Michael Schmatz
b174b10642
Added message class for SQS, basic scoring routes
2014-02-05 15:07:15 -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
Michael Schmatz
177eb60e48
Merge pull request #342 from codecombat/master
...
Merge server refactor into task queue
2014-02-05 09:38:18 -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
a3b17c7d86
Put in basic client-side routes and created server side scoring routing file
2014-02-04 10:07:14 -08:00
Michael Schmatz
3256a5d65d
Added support for replica set
2014-02-03 08:56:32 -08:00
Sébastien Moratinos
f27db34976
add server auth test (reset password)
2014-02-03 00:08:52 +01:00
Sébastien Moratinos
8895f12aff
Fix error 500 when resetting password if bad input.
2014-02-03 00:08:07 +01:00
Scott Erickson
46dd4044aa
I'm pretty sure it's working now.
2014-01-24 17:42:47 -08:00
Scott Erickson
eafa82357c
MailChimp webhook fix.
2014-01-24 17:35:34 -08:00
Scott Erickson
3122dd9594
More tweaks to the mail module.
2014-01-24 17:19:20 -08:00
Scott Erickson
7bc6d0f6ed
No longer returning error messages when given bad input, because then MailChimp won't accept it as a webhook.
2014-01-24 13:55:23 -08:00
Scott Erickson
c4114f9f92
More fixes.
2014-01-24 13:47:25 -08:00
Scott Erickson
ced57ac35d
More tweaks.
2014-01-24 13:22:56 -08:00
Scott Erickson
dd9c4007a2
Reverting back to super log mode cause it stopped working.
2014-01-24 13:14:31 -08:00
Scott Erickson
79032b1c35
Couple remaining fixes.
2014-01-24 12:54:15 -08:00
Scott Erickson
4450747671
Finished setting up the mailchimp webhook.
2014-01-24 12:53:41 -08:00
Scott Erickson
a71b688a15
Fixed the mailchimp webhook.
2014-01-24 12:39:05 -08:00
Scott Erickson
95186cc5ae
Much improved the mailchimp webhook.
2014-01-24 12:23:14 -08:00
Scott Erickson
b2366c50af
Came up with a better hacky logging system.
2014-01-24 11:55:44 -08:00
Scott Erickson
62770c35df
Added a test webhook for MailChimp.
2014-01-24 11:48:00 -08:00
Scott Erickson
004e7cc79e
Refactored some mail functions and constants to a new common module.
2014-01-24 11:47:14 -08:00
Sébastien Moratinos
bbfc0eff69
server db route (handlers and schemas)
...
- use associative arrays to store path/filename
- add more test for schemas
2014-01-23 23:06:12 +01:00
Sébastien Moratinos
e7ca7c4c1a
remove unused modules
2014-01-23 01:01:45 +01:00
Sébastien Moratinos
729cd300b7
server reorganize files and folder by features
...
- move and rename files
- use associative arrays which store handlers for 'dynamically'
load module from de db route
- store models_path in test/server/common,
a global model variable has the same name that the filename of the model
2014-01-23 01:01:40 +01:00
Sébastien Moratinos
771099d43e
server : move routes files (HTTP endpoint) in a new "routes" folder
2014-01-23 01:01:30 +01:00