Scott Erickson
7210de02e9
Set up stripe to get user emails so receipts can be emailed.
2014-12-03 16:36:03 -08:00
Scott Erickson
eb98cf4952
Hooked up Level handler to deny creating new LevelSessions when the level requires a subscription and the user doesn't have one.
2014-12-03 13:32:28 -08:00
Scott Erickson
cd3bb690f4
Created stripe subscription logic.
2014-12-02 20:02:35 -08:00
Scott Erickson
3e0394d0d8
Fixed the latest version handler to handle invalid original id inputs.
2014-11-29 11:11:40 -08:00
Scott Erickson
31214e854e
Wabam. Refactored a bunch of stuff into 'core' folders so that it's clearer which files are being loaded first thing, and which are not. Also reworked a bunch of the anymatch things in config.coffee, cause there were better ways.
2014-11-28 17:49:41 -08:00
Scott Erickson
790217f227
Tweaked how the I18N editor works to guard against garbage English submissions and make the chosen language more consistent.
2014-11-25 16:22:06 -08:00
Scott Erickson
03705825d9
Made the GET /db/* endpoints generally accessible without needing to have a user object associated with the request.
2014-11-22 18:41:06 -08:00
Nick Winter
df51e28a1d
Fixed camera zoom killing coordinate hover unnecessarily.
2014-11-20 11:37:10 -08:00
Scott Erickson
13de055c0b
Set up a basic achievements list modal for the world map.
2014-11-19 14:56:40 -08:00
Scott Erickson
7012d5dfbe
Built payment endpoint for processing Apple IAPs.
2014-11-11 17:40:29 -08:00
Nick Winter
b33fee406b
Server now logs the messages of its bad responses instead of just sending them to the client. Added a script that migrated bad ObjectIds in purchased items.
2014-11-10 13:27:40 -08:00
Scott Erickson
33d14918b0
Implementation of Heald's design of the PlayItemsModal. Added purchasing logic to the server to support it. Refactored header font from Bangers to Open Sans Condensed.
2014-11-03 20:48:59 -08:00
Nick Winter
47c090f7c7
Hiding locked items with no slot selected. Silhouetting items that are too far above you. Only showing items with a gem cost in the inventory screen. Sorting items by gem cost. Animating double-clicking items to show their motion to the slot, sort of.
2014-10-30 13:07:04 -07:00
Nick Winter
60bf580c5b
Bumped Handler fetch limit from 300 to 500 to deal with 300+ ThangTypes. It's great.
2014-10-29 12:18:00 -07:00
Nick Winter
c7713b4105
Showing i18n in property docs.
2014-10-28 21:15:47 -07:00
Scott Erickson
ee95e4e450
Got rid of a race condition.
2014-10-28 11:21:26 -07:00
Nick Winter
68ac412f2b
I think this return is needed to prevent sending the i18n query results twice and crashing the server.
2014-10-27 22:54:50 -07: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
8f923f9e1e
Replacing http PATCHs with PUTs
...
We’re keeping the patch behavior though.
Real patch calls return incorrect http responses in some environments,
like Browserstack and schools.
2014-10-27 16:09:52 -07:00
David Beckley
b9a511155e
Remove sendUnauthorizedError, as it merely returned the same value (HTTP 403) as sendForbiddenError
2014-09-19 02:26:18 -07:00
Nick Winter
124f999bc8
Fixed #1105 . Also send HipChat notifications whenever anyone changes anything; let's see if it's too much.
2014-08-28 19:39:46 -07:00
Nick Winter
54207f0f7d
Fixed #1000 .
2014-08-28 10:50:20 -07:00
Nick Winter
832402af6e
Merged/tweaked GitHub login.
2014-08-26 08:37:11 -07:00
Nick Winter
28176c7f72
Misc workarounds.
2014-08-20 13:26:48 -07:00
Ruben Vereecken
40818fd7bc
GitHub Login implemented
2014-08-15 16:20:45 +02:00
Matt Lott
9b79e2ca27
Instrument user code problems
2014-08-14 13:32:00 -07:00
Ruben Vereecken
3fd396974d
Merge branch 'master' into achievements
...
Conflicts:
app/views/DemoView.coffee
app/views/docs/ComponentDocumentationView.coffee
app/views/editor/level/LevelEditView.coffee
server/users/User.coffee
2014-08-13 10:43:42 +02:00
Ruben Vereecken
47f00f9b5e
Added achievement deleting and automatic achievement filling
2014-08-08 17:20:07 +02:00
Scott Erickson
cc025942f8
Extended the LevelLoader to load thang types and components dynamically for hero levels.
2014-08-07 18:27:47 -07:00
Nick Winter
4d4e321265
Fixed #1062 . Added Item kind to level editor Thang filters.
2014-08-06 08:24:50 -07:00
Ruben Vereecken
5d66560673
Merge remote-tracking branch 'upstream/master' into achievements_progress
...
Conflicts:
app/views/editor/level/LevelEditView.coffee
server/levels/sessions/LevelSession.coffee
2014-08-05 11:55:46 +02:00
Nick Winter
84ccde9fd3
Merged User editableProperties move with adding savedEmployerFilterAlerts to editableProperties.
2014-08-04 12:48:41 -07:00
Ruben Vereecken
30a6cf1cca
Merged in name changes from master
2014-07-29 17:28:13 +02:00
Ruben Vereecken
0f3b049189
Added test cases for fetching related by user slug instead of ID
2014-07-29 12:48:31 +02:00
Ruben Vereecken
19d59ac8ff
Refactored Users and Level Sessions to have private properties:
2014-07-22 20:07:00 +02:00
Ruben Vereecken
1c6da9711b
Added the Recently Played collection and endpoint
2014-07-21 14:36:10 +02:00
Scott Erickson
1b999a2efe
Extended getLatestVersion for Handler to also be able to accept project parameters.
2014-07-17 16:28:52 -07:00
Michael Schmatz
337de506dd
Removed mail task from server mapping
2014-07-17 07:15:14 -07:00
Michael Schmatz
2a865a0ca0
Remove testing conditions
2014-07-16 19:49:48 -07:00
Michael Schmatz
c717e609ea
Initialize value of this.redisNotAvailable
2014-07-16 19:46:30 -07:00
Michael Schmatz
59a35c844f
Made mail system resilient to redis failures
2014-07-16 14:29:30 -07:00
Michael Schmatz
449f1e1afc
Updated locking/release procedure
2014-07-16 12:12:44 -07:00
Michael Schmatz
013ace65f6
Basic email structure plus distributed locking system
2014-07-09 16:24:14 -07:00
Ruben Vereecken
601c4e2731
Merged with master
2014-07-05 16:47:16 +02:00
Ruben Vereecken
e904a0a8f7
Achievement recalculation is now covered with tests
2014-07-04 19:27:41 +02:00
Ruben Vereecken
7a07e1feb0
Whoop whoop test for recalculation of gamesCompleted
2014-07-04 19:27:37 +02:00
Tery Lim
618ade4946
Clean up mixed quotes
2014-07-01 12:23:22 +08:00
Scott Erickson
ee0b14eb61
Changed the versions history modal to show name and date.
2014-06-24 16:41:55 -04:00
Nick Winter
0b8a0c8f6f
Added UserRemarks.
2014-06-17 13:03:13 -07:00
Tery Lim
b6c8a170d1
Fix typo for receive
2014-06-17 10:50:56 +08:00
Nick Winter
66e2805a9a
Added StackLead integration. Employerified profile backgrounds.
2014-06-14 20:59:28 -07:00
Scott Erickson
8ab69cf833
Merge pull request #1138 from rubenvereecken/search-endpoint
...
Search endpoint is now without the /search prefix
2014-06-12 11:33:28 -07:00
Ruben Vereecken
b66f4984c3
Finished basic functional tests for achievement
2014-06-12 19:42:30 +02:00
Ruben Vereecken
bea751eed9
Laid down the basics for an admin server endpoint
2014-06-12 19:40:59 +02:00
Ruben Vereecken
0751581113
Search endpoint is now without the /search prefix
...
Intermediate commit for search refactoring
2014-06-12 19:19:30 +02:00
Ruben Vereecken
8d2c62ba84
Got repeatables working flawlessly and improved the achievement popup by a great deal
2014-06-02 20:34:05 +02:00
Ruben Vereecken
d766a24e11
Achievements now popup when polled for by the client
2014-06-02 20:33:01 +02:00
Ruben Vereecken
c26f96f33e
Added achievement model and some missing pieces
2014-06-02 20:32:00 +02:00
Ruben Vereecken
51e326efaa
Created a GET endpoint for earned achievements by user
2014-06-02 20:29:12 +02:00
Ruben Vereecken
967e698cb2
Added a getAll handler for achievements
2014-06-02 20:29:12 +02:00
Scott Erickson
3602f67c24
Tweaked how editPath is passed to the server so it doesn't foul up validation.
2014-05-30 14:41:41 -07:00
Nick Winter
8a5a45950f
Simulator now pleads for you to help simulate when your match is being ranked.
2014-05-19 14:59:47 -07:00
Nick Winter
589410ed8e
Merged master into feature/thangload.
2014-05-09 12:56:58 -07:00
Michael Schmatz
1793d9a882
Fixed testing logic
2014-05-05 17:33:47 -07:00
Scott Erickson
b9f4093b08
Set up the LevelLoader to load names instead of whole ThangTypes.
2014-04-28 14:58:58 -07:00
Scott Erickson
32ba4a8f75
Added a handler for fetching names of versioned docs by originals.
2014-04-28 14:31:11 -07:00
Scott Erickson
3dc3f62473
Merge branch 'master' into feature/loading-views
...
Conflicts:
app/views/editor/components/main.coffee
2014-04-25 14:31:58 -07:00
Nick Winter
73f39095e6
Upgraded table sorter.
2014-04-24 11:09:01 -07:00
Scott Erickson
f57be1ae52
Migrated to the new email system, along with a setting for recruit notifications.
2014-04-21 16:15:23 -07:00
Scott Erickson
1e50ef36ce
Merge branch 'RefactorAndDeltaSystemNaming' of https://github.com/dpen2000/codecombat into dpen2000-RefactorAndDeltaSystemNaming
2014-04-21 12:53:11 -07:00
Scott Erickson
c754f7b943
Merge branch 'master' into feature/loading-views
2014-04-21 11:53:18 -07:00
Nick Winter
05dfa21a93
Fixed #872 . Removed permissions check on old versions of document for version history, because we're not selecting any sensitive fields anyway.
2014-04-19 17:52:17 -07:00
Ting-Kuan
692693c181
Merge branch 'master' into feature/loading-views
...
Conflicts:
app/locale/en.coffee
app/views/editor/level/edit.coffee
app/views/kinds/CocoView.coffee
app/views/play/ladder/ladder_tab.coffee
app/views/play/ladder_view.coffee
app/views/play/level/level_loading_view.coffee
2014-04-19 01:15:04 -04:00
dpen2000
b20f8fd260
Refactor getNameById to use mongo db's $in instead of parallel and use a new generic method in Handler.coffee
2014-04-18 21:06:57 +01:00
Scott Erickson
8adca4a1da
Added a transactional email for when changes are made, to notify watchers.
2014-04-17 17:30:55 -07:00
Scott Erickson
ed0c7e1412
Creators of documents are automatically added as watchers. Added a patch creation email for watchers.
2014-04-17 17:09:01 -07:00
Ting-Kuan
b7439ed1ca
Fix loading bar and retry block in ladder_view, #857 .
2014-04-17 16:54:26 -04:00
Ting-Kuan
070e354eee
Handler for test.
2014-04-17 12:56:21 -04:00
Scott Erickson
02a7381fa9
Fixed the watch buttons for levels and components.
2014-04-16 11:02:40 -07:00
Scott Erickson
58b1019934
Switched listen to watch (would have been confusing with eye-con, and listenTo function in Backbone). Added watch button and patch badge to level editor.
2014-04-15 15:09:36 -07:00
Michael Schmatz
415e34e701
Fixed isRanking and reduced logging
2014-04-14 11:01:55 -07:00
Michael Schmatz
e32524536e
Quick fix for crashing server
...
Undo when investigating which schema does this
2014-04-13 14:06:29 -07:00
Scott Erickson
30f785f7cf
Moved the model schemas into a models folder.
2014-04-12 10:51:02 -07:00
Aditya Raisinghani
3078036da1
Deleted updated schemas.
2014-04-12 15:33:57 +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
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
26cebf7e7e
Fixing some recruitment profile bugs.
2014-04-09 18:10:30 -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
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
Nick Winter
ddf0636e7e
Revert logic for deleting model properties that interfered with signup.
2014-04-01 23:16:50 -07:00
Nick Winter
9e947ce7ab
Fix for c94a7e for #356
2014-04-01 13:31:59 -07:00
Nick Winter
626a689553
Raised search fetch limit to head off exploding ThangType list. #377
2014-04-01 13:20:15 -07:00
Nick Winter
c94a73e066
Fixed #356 .
2014-04-01 12:13:11 -07:00
Nick Winter
8c013c1192
Fixed 101: added level completion status to /play.
2014-03-31 15:48:22 -07:00
Nick Winter
389323953b
Fixed #180 .
2014-03-31 13:56:13 -07:00
Nick Winter
05fed5f79b
Fixed #29 .
2014-03-28 13:51:52 -07:00
Nick Winter
ff7e2d5d47
Fixed #728 .
2014-03-28 11:02:23 -07:00
Michael Schmatz
4d617d44f6
Fixed queue
2014-03-20 11:31:26 -07:00
Michael Schmatz
9e8a31f2df
Removed sort by scheduled visibility time
2014-03-20 08:44:41 -07:00
Mikhail Koltsov
a28eedc229
nothing
2014-03-17 22:45:59 +04:00
Michael Schmatz
2c6e667bb7
Added API for queue messages count
2014-03-15 09:20:13 -07:00
Michael Schmatz
6e9e3ccc3c
Another hot fix for #550
2014-03-14 14:41:39 -07:00
Michael Schmatz
7d150d96e8
Hotfix for #550
2014-03-14 14:27:43 -07:00
Nick Winter
6ce65488aa
Added simple rank history graph. Improving ladder update mail.
2014-03-10 20:22:25 -07:00
Nick Winter
df95e8c784
Experimenting with using compress() in production.
2014-03-03 16:19:35 -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
52a6cdf09c
Added a route for getting user names by id.
2014-02-17 15:19:19 -08:00
Scott Erickson
72b6bcb7ed
Temp fix for the number of thang types exploding recently.
2014-02-17 09:22:12 -08:00
Scott Erickson
0fb2018f2a
Added project query param to getLatestVersion.
2014-02-15 14:09:30 -08:00
Nick Winter
9a835ffc0a
Re-enabled spell tab entry docs.
2014-02-13 16:09:32 -08:00
Michael Schmatz
40c26bb395
Scoring queues mostly working
2014-02-13 12:59:24 -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
Michael Schmatz
76b949ac1e
Various changes before merge
2014-02-11 15:47:06 -08:00
Michael Schmatz
465ea22b1a
More progress with queues and client-side simulation
2014-02-10 13:18:39 -08:00
Michael Schmatz
824af18e39
Improved Mongo queueing and various refactors
2014-02-10 10:30:08 -08:00
Michael Schmatz
b9569a310a
Implemented task logging and new score calculations
2014-02-08 10:11:43 -08:00
Michael Schmatz
350384f5cb
Implementing task log object
2014-02-07 15:52:24 -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
ecf578ad3c
Prototyped client response methods, refactored queue routes
2014-02-07 14:24:42 -08:00
Michael Schmatz
4b0e384668
Refactored and added sample objects/errors
2014-02-07 12:36:56 -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
Sébastien Moratinos
8e841b397d
delete unused code on server
2014-02-06 00:16:47 +01: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
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
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
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