Commit graph

233 commits

Author SHA1 Message Date
Scott Erickson
5a794306fe Merge branch 'refactorSchemas' of https://github.com/adi2412/codecombat into adi2412-refactorSchemas 2014-04-12 08:53:24 -07:00
Scott Erickson
6eab5003f8 Merge branch 'feature/jsondiffpatch' 2014-04-12 08:52:35 -07:00
Scott Erickson
10b1660419 Fixed the level editor so you can save again. 2014-04-12 08:48:49 -07:00
Aditya Raisinghani
e04787475c Rebased master to get updated schemas and added patch schema 2014-04-12 15:16:42 +05:30
Aditya Raisinghani
b932bf1e7c Deleted schemas from /server and modified files to point to /app/schemas 2014-04-12 14:45:59 +05:30
Scott Erickson
35fe47bbac Merge branch 'feature/jsondiffpatch' 2014-04-11 22:52:58 -07:00
Nick Winter
99ead5d193 #223 is done, since goals aren't in scripts, and I just removed some goals-of-scripts stuff. 2014-04-11 19:51:20 -07:00
Michael Schmatz
7ddd84248b Simulator fixes!
Fixed memory bug with aggregation framework
2014-04-11 17:11:57 -07:00
Scott Erickson
2c67df355c Merge branch 'backbone_mediator' of https://github.com/rubenvereecken/codecombat into feature/jsondiffpatch
Conflicts:
	app/initialize.coffee
	bower.json
2014-04-11 10:33:22 -07:00
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
Michael Schmatz
a796d88967 Fixed tutorial modal for nonexistent tutorials 2014-04-10 11:42:22 -07:00
Scott Erickson
2f988ba485 Made the server side of the patch system. 2014-04-08 19:26:19 -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
7019bb6dea Added score histogram to ladder tab 2014-04-04 13:38:36 -07:00
Nick Winter
8c013c1192 Fixed 101: added level completion status to /play. 2014-03-31 15:48:22 -07:00
Scott Erickson
72b88a3ee9 First pass on setting up gplus friends on the ladder page. 2014-03-23 09:30:01 -07:00
Scott Erickson
f7e1b338a6 Removed a line for debugging the ladder friends fetching handler. 2014-03-20 17:03:06 -07:00
Scott Erickson
22555790b5 Set up a trimmed down leaderboard showing just top players and your rank. 2014-03-20 14:40:17 -07:00
Scott Erickson
5f45c5cf27 Added a handler for looking up friends on a leaderboard. 2014-03-19 19:42:42 -07:00
Scott Erickson
eee8fbba2c New level page with new artwork. 2014-03-16 16:59:48 -07:00
Michael Schmatz
07a0057e72 Removed defaults on schema for ladder-related things 2014-03-14 13:20:42 -07:00
Michael Schmatz
075ea23be9 Fixed random sessions fetching 2014-03-14 12:54:54 -07:00
Scott Erickson
39ed6c3a43 Merge branch 'master' of https://github.com/codecombat/codecombat 2014-03-14 11:58:42 -07:00
Scott Erickson
eee4934d1b Put back the sort for the leaderboard handler. 2014-03-14 11:57:17 -07:00
Michael Schmatz
71aa6cc2c6 Added random session pair choosing
Due to a bug I cannot test this immediately
2014-03-14 11:30:06 -07:00
Nick Winter
2b487eeed8 Using /db/thang.type instead of /db/thang_type in URLs, for consistency. 2014-03-11 18:30:25 -07:00
Darredevil
a6c508a442 Added descripton 2014-03-12 02:20:28 +02:00
Darredevil
b1d61d3681 Added GetALLToLocations and KeepALLFromLocations schemas 2014-03-12 02:11:22 +02:00
Nick Winter
392534878a Keeping old matches, up to 200, and showing them as stale. Added LevelSession.isRanking for better display of when you're still in the initial ranking phase. 2014-03-11 16:31:39 -07:00
Nick Winter
93028483b9 Merge branch 'master' of https://github.com/codecombat/codecombat 2014-03-10 13:20:10 -07:00
Nick Winter
6055512ac7 Working on ladder updates. 2014-03-10 13:20:00 -07:00
Michael Schmatz
d4abad88a2 Removed leaderboard mongo sort 2014-03-10 12:57:27 -07:00
Michael Schmatz
2ed83f4b40 Sped up my_sessions using projection, bypassing auth 2014-03-10 10:56:36 -07:00
Michael Schmatz
69b902f62a Added support for score history 2014-03-10 08:14:28 -07:00
Darredevil
af2b43a309 Changed description of "Get to Locations" 2014-03-09 15:09:22 +02:00
Scott Erickson
990a2e34e5 Utilizing the new level type property in the level handler. 2014-03-07 15:15:49 -08:00
Scott Erickson
2f68e64dc5 Almost forgot to add to the level handler the new properties. 2014-03-07 13:14:27 -08:00
Scott Erickson
17231bce06 Added showsGuide and type properties to level. 2014-03-07 13:13:58 -08:00
Scott Erickson
956e2b3c40 Set up the my matches tab in the new ladder view. 2014-03-02 13:24:41 -08:00
Scott Erickson
2894d4f39c Set up session-repeating scripts. 2014-02-28 11:28:23 -08:00
Michael Schmatz
f82483b905 Changed session scheduling 2014-02-26 17:31:01 -08:00
Scott Erickson
45e6fadfe2 Added a property to prevent scripts from running after certain other scripts have run. 2014-02-25 10:50:40 -08:00
Scott Erickson
e63763d539 Made the server resistant to req.user being undefined sometimes. 2014-02-24 20:27:38 -08:00
Nick Winter
cc8a8cabd5 Merge branch 'master' of https://github.com/codecombat/codecombat 2014-02-20 11:57:15 -08:00
Nick Winter
7266142c02 Upgrading docs return value schema. Added button template for tutorial and screencast on ladder. 2014-02-20 11:57:04 -08:00
Scott Erickson
b53fa8db89 Fixed the level handler to allow editing of goals. 2014-02-20 11:42:01 -08:00
Scott Erickson
07c0edcefe Fixed the level session schema submitDate property. 2014-02-19 08:18:40 -08:00
Michael Schmatz
d02d09ae36 Simulation fixes 2014-02-18 11:46:14 -08:00
Michael Schmatz
2be3286e06 Added sessionID and userID to session schema 2014-02-17 12:44:04 -08:00
Michael Schmatz
b4f75c6274 Added titles and descriptions for schema 2014-02-17 12:28:19 -08:00
Michael Schmatz
3b5d881c46 Changed schema date to proper format 2014-02-17 09:24:46 -08:00
Michael Schmatz
302a13b6e7 Added submitDate to session schema 2014-02-17 09:23:49 -08:00
Michael Schmatz
9b53873414 Updated session schema for session aggregation 2014-02-17 08:51:12 -08:00
Michael Schmatz
643cafc89f Refactored level handler and level session schema 2014-02-14 14:55:30 -08:00
Scott Erickson
4001d1c7fe Merge branch 'master' of https://github.com/codecombat/codecombat 2014-02-13 16:42:49 -08:00
Scott Erickson
476cc87628 Set up the ladder to be able to compete against other sessions. 2014-02-13 16:42:35 -08:00
Nick Winter
9a835ffc0a Re-enabled spell tab entry docs. 2014-02-13 16:09:32 -08:00
Michael Schmatz
ad0590f9ba Merged in Scott's changes manually 2014-02-13 15:14:10 -08:00
Michael Schmatz
480de71eb6 Leaderboard is starting to work 2014-02-13 15:02:49 -08:00
Scott Erickson
ccbb521b59 Set up a temporary hack to get 2014-02-13 10:42:25 -08:00
Michael Schmatz
14530b779a Refactored scoring submissions, added beginnings of spectator view 2014-02-13 10:37:44 -08:00
Nick Winter
8a80b9770d More work on docs. Got rid of Docs.coffee. 2014-02-12 18:54:45 -08:00
Nick Winter
dc8c4394e1 Spell palette entries now using property docs from components. 2014-02-12 16:42:09 -08:00
Scott Erickson
2f48925e86 Added a list of goals as a property to levels for when they won't be added by scripts. Set up the editor to be able to edit these values. 2014-02-12 12:27:02 -08:00
Michael Schmatz
c0d43ea32b Merge branch 'master' into feature/task-queue 2014-02-10 17:10:26 -08:00
Michael Schmatz
0cbf669474 Added teamSpells persistence 2014-02-10 16:31:21 -08:00
Michael Schmatz
465ea22b1a More progress with queues and client-side simulation 2014-02-10 13:18:39 -08:00
Scott Erickson
3f2fde0fa9 Tweaked the level schema nextLevel property to only be an object. 2014-02-10 12:11:53 -08:00
Scott Erickson
0365998658 Began work on a ladder view. 2014-02-07 15:51:05 -08:00
Michael Schmatz
73b0d98538 Merge branch 'master' into feature/task-queue
Conflicts:
	server/commons/mapping.coffee
2014-02-07 14:31:34 -08:00
Michael Schmatz
f87d25c192 Updated level session schema to contain scoring metrics 2014-02-07 14:29:20 -08:00
Scott Erickson
fa809308b2 Set up some new session handlers for the upcoming multiplayer, allowing one session for each team. 2014-02-07 11:50:40 -08:00
Scott Erickson
9105888685 Added a team property to the level session schema. 2014-02-07 11:49:37 -08:00
Scott Erickson
cde7a4798f Added team as a property to goals in the level schema. 2014-02-06 16:03:08 -08:00
Sébastien Moratinos
8e841b397d delete unused code on server 2014-02-06 00:16:47 +01:00
Scott Erickson
966155593c Various fixes. 2014-02-05 11:03:32 -08:00
Sébastien Moratinos
f58acf0fbb rename some variables 2014-02-04 23:28:21 +01:00
Nick Winter
d46716eec4 Merge pull request #299 from p-buse/eventcheck-regexp
Added Regular Expression Event Checker
2014-01-31 07:58:13 -08:00
Nick Winter
6e40fa09a6 Updated some Bootstrap event names. 2014-01-30 16:36:36 -08:00
Paul Buser
8881a880ea Merge branch 'master' of https://github.com/codecombat/codecombat into eventcheck-regexp 2014-01-29 23:57:47 -05:00
Scott Erickson
5173e7990b Added effect system to the component schema. 2014-01-29 12:28:57 -08: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