Граф коммитов

  • cf1264d89f Style fixes Andrew Richardson 2014-02-18 14:30:44 -0800
  • 64ff84408c Added documentation for SSA verification plugin, and fixed a potential security flaw by always setting the _email parameter Andrew Richardson 2014-02-18 14:26:19 -0800
  • 821ac17436 Replaced all instances of `auth.verifySSA(_user)` with the new `_email` param outputted by the SSA verification plugin Andrew Richardson 2014-02-18 14:21:00 -0800
  • 947dfe1ed9 Added an SSA verification plugin to restify that transforms the _user token, when present, to an email address, setting the _email param of the request object on success. If that step fails, it automatically returns a 403 bad_user response. This will help eliminate some boilerplate we've been using in pretty much every API endpoint. Andrew Richardson 2014-02-18 14:04:40 -0800
  • 79c6fd90dd Merge pull request #93 from cvan/list-fixes Andrew Richardson 2014-02-18 14:33:07 -0800
  • 134cb78cc8 Style Andrew Richardson 2014-02-18 14:07:14 -0800
  • 42269f6179 Fixed a couple of silly bugs in list.js Andrew Richardson 2014-02-18 13:32:22 -0800
  • 1338b27748 Merge pull request #89 from cvan/review-list Andrew Richardson 2014-02-17 18:04:31 -0800
  • 4a38d42d47 Merge branch 'master' into review-list Andrew Richardson 2014-02-17 12:32:31 -0800
  • a2c976ae0f Fixed refactoring mistakes Andrew Richardson 2014-02-17 12:29:51 -0800
  • 9f117384bd Stylin' Andrew Richardson 2014-02-17 12:21:39 -0800
  • 5c30e9b983 Reorganized imports Andrew Richardson 2014-02-17 12:02:39 -0800
  • 34bf7aed8b Changed stdout / stderr prefixing to use a proper stream.Writable subclass; style fixes Andrew Richardson 2014-02-17 12:01:39 -0800
  • 7fcc8f4cd4 Style fixes Andrew Richardson 2014-02-17 11:31:38 -0800
  • 3be1dc5309 Reverse-abstracted everything Andrew Richardson 2014-02-17 11:30:18 -0800
  • b8da7a06b0 Merge pull request #86 from soedar/genre soedar 2014-02-17 15:12:49 +0800
  • 6cb29df360 (Fixed #34) Refactored with style changes Russell Chreptyk 2014-02-17 01:48:11 -0500
  • ee56b63e20 (fixed #35) Changed to single quotes Russell Chreptyk 2014-02-17 01:28:33 -0500
  • e2f7db06a9 (#35) Games should default to 'pending' status when created Russell Chreptyk 2014-02-16 23:29:14 -0500
  • 963b993187 Uppercased some constants Andrew Richardson 2014-02-16 20:19:28 -0800
  • 7f54871ef0 (#34) Refactored and changed success response Russell Chreptyk 2014-02-16 22:47:51 -0500
  • 7d0434562a Merge branch 'moderateJS' Russell Chreptyk 2014-02-16 22:10:18 -0500
  • 72b1b66515 (#34) Now updates status in database Russell Chreptyk 2014-02-16 22:05:39 -0500
  • 2c6257136e Added 'game/list' endpoint to fetch a list of games using filters, including limiting by count. Supports restricted filters that require additonal permissions to use (ie. filtering by 'status' requires reviewer or admin permissions). Currently only the 'status' filter is implemented, but adding others is trivial thanks to an abstracted model and filter support in game.js. Andrew Richardson 2014-02-16 18:16:59 -0800
  • 52ac6fd7a8 Refactored game.js to support filtering a list of games by its properties Andrew Richardson 2014-02-16 16:18:45 -0800
  • e16287dc9b Moved startServers to its chronological location, and refactored the server ready listening into a promise with a timeout handler for easier debugging Andrew Richardson 2014-02-16 11:56:16 -0800
  • 679fa3c292 Setup exit handler before calling startServers so that if we crash for some reason after creating one server but before finishing the other, we can still kill the server that we had already started Andrew Richardson 2014-02-16 11:38:45 -0800
  • 039837a37b Cleanup Andrew Richardson 2014-02-15 22:05:05 -0800
  • b833210efd Prefix stdout / stderr of child processes with their respective names in db-prefill Andrew Richardson 2014-02-15 21:55:34 -0800
  • 9c6bee38ce Modified db-prefill to use `fork()` to start up an instance of the API and persona-faker servers, then kill them on completion; this means that we can now run db-prefill without any prior setup (after `npm install`). Andrew Richardson 2014-02-15 20:37:07 -0800
  • 6088a2c657 Merge branch 'master' of github.com:cvan/galaxy-api into moderateJS Russell Chreptyk 2014-02-15 18:51:09 -0500
  • 3c1a71b22c Merge pull request #70 from emoore24/master Evan Alexander Moore 2014-02-14 09:36:39 -0500
  • 50f70b4663 small fixes Evan Alexander Moore 2014-02-14 09:36:25 -0500
  • 0eef6ea23b don't expose err Evan Alexander Moore 2014-02-14 09:35:44 -0500
  • 971831b004 Updated the genre endpoint, and minor changes from review soedar 2014-02-14 03:34:15 +0800
  • d629ba663a Added api endpoints for genre (Fixes #84) soedar 2014-02-14 03:01:05 +0800
  • 9f9de8d289 Merge pull request #76 from cvan/db-pre-fill Andrew Richardson 2014-02-13 11:01:02 -0800
  • b54562b780 use name/version from package.json when serving server Christopher Van 2014-02-12 18:05:48 -0800
  • c59da93023 indentation fix Evan Alexander Moore 2014-02-12 00:28:57 -0500
  • be5529a504 Update acl.js Evan Alexander Moore 2014-02-12 00:17:52 -0500
  • c8cd706638 small fix to acl emoore24 2014-02-08 14:12:31 -0800
  • b77ffb3fff Only allow admin to update acl emoore24 2014-02-08 13:32:18 -0800
  • 50e336e3f7 Added sample usage for promiseMap, converted remaining uses of request.post to use postPromise, and made more style fixes Andrew Richardson 2014-02-11 13:14:38 -0800
  • 68458f7c77 Merge pull request #50 from cvan/profile-api Andrew Richardson 2014-02-11 01:51:26 -0800
  • d359924ddc Removed an entire line of code Andrew Richardson 2014-02-11 01:39:53 -0800
  • fb7957d390 Fixed style issues, and adapted acceptRequest to use the postPromise helper Andrew Richardson 2014-02-11 01:29:16 -0800
  • 702b98a252 Style fixes Andrew Richardson 2014-02-11 00:51:04 -0800
  • 5cb114ce2f Merge pull request #81 from soedar/leaderboard soedar 2014-02-10 22:52:20 -0800
  • 4cee78d7b9 Fixed style issues for leaderboard library (Fixes #62) soedar 2014-02-10 22:49:21 -0800
  • 27814c04bd Cleaned up log statements Andrew Richardson 2014-02-10 19:41:24 -0800
  • 431aabedd0 Replaced a clunky boardCallback call with a less clunky one. soedar 2014-02-09 12:38:11 -0800
  • 42b7dbc799 Removed redis comments (not needed) and test.js that shouldn't be there Andrew Richardson 2014-02-09 12:12:39 -0800
  • 9a202ed66a Merge branch 'master' into profile-api Andrew Richardson 2014-02-09 12:05:55 -0800
  • f10bd8aa5d changed some each to map and made wrapper for requests Charles Chong 2014-02-09 11:40:04 -0800
  • eeb3f4368e simple style fixes Charles Chong 2014-02-09 12:58:09 -0800
  • b4b33ba700 Updated the leaderboard library function, and first pass at including leaderboard data (#62) soedar 2014-02-09 11:22:44 -0800
  • daf64963ab remove manifest (fixes #77) Christopher Van 2014-02-09 09:13:13 -0800
  • 49ca576404 Abstracted out leaderboard methods into leaderboard.js soedar 2014-02-09 10:56:07 -0800
  • bac22f75db Fixed typos, bugs, and improved error handling Andrew Richardson 2014-02-09 10:55:11 -0800
  • 5fe540fdbd Merge pull request #66 from cvan/game-lib soedar 2014-02-09 10:37:46 -0800
  • e4bfe2b232 Refactored profile updating into updateUser, which is now much more elaborate, and updated existing uses of updateUser to be asynchronous Andrew Richardson 2014-02-09 10:23:10 -0800
  • afabcce30e Merge ea37f57793 into 10280c8d2f Christopher Van 2014-02-09 09:53:47 -0800
  • ea37f57793 remove manifest (fixes #77) Christopher Van 2014-02-09 09:13:13 -0800
  • 780a413e56 Merge commit 'b012c09a032333db997e57404ac38d6d80cd6d4a' into profile-api Andrew Richardson 2014-02-09 09:19:17 -0800
  • e0e5004f68 Added persona-faker as a dev dependency so that it can be launched using a script Andrew Richardson 2014-02-09 09:15:06 -0800
  • b012c09a03 remove manifest (fixes #77) Christopher Van 2014-02-09 09:13:13 -0800
  • e1cdd3c3dc Fixed minor issues relating from pull request (#31) soedar 2014-02-09 08:51:37 -0800
  • a38cb64c0a Remove flatfile from db.js (#31) soedar 2014-02-08 17:35:02 -0800
  • 1640f1024b Updated manifest to use the new game lib APIs soedar 2014-02-08 17:33:58 -0800
  • c043632d56 Merge f04618564b into 10280c8d2f Christopher Van 2014-02-08 17:23:20 -0800
  • 10280c8d2f Merge pull request #72 from cvan/dev_search Evan Alexander Moore 2014-02-08 17:22:47 -0800
  • 03335cedb0 space fixes emoore24 2014-02-08 17:20:58 -0800
  • 5c5d31bb4d - Flush db before running if FLUSH_DB_ON_PREFILL is set - Cleaned up script output to be more useful - Added TODOs for things we should eventually fix in the script Andrew Richardson 2014-02-08 17:11:21 -0800
  • 9a47fa9d9d Detail and submit now uses redis as datastore soedar 2014-02-08 16:01:59 -0800
  • 79bf240c7f Removed old slug in the UpdateGame call soedar 2014-02-08 15:46:24 -0800
  • ca1a5de876 Fixed stylistic issues from pull request (#31) soedar 2014-02-08 14:40:21 -0800
  • 7348f94d4d Removed unnecessary leaderboard require soedar 2014-02-08 12:13:08 -0800
  • 546e1c7fb7 Updated game detail to use redis instead of flatfile (#31) soedar 2014-02-08 10:50:04 -0800
  • b64f8fc57b Replace occurrence of email with slug soedar 2014-02-08 10:27:58 -0800
  • 6a61913c26 store games in redis - WIP (#31) Christopher Van 2014-02-07 16:37:06 -0800
  • cccc00d0b8 only add to developer list when company slug is changed emoore24 2014-02-08 15:05:08 -0800
  • 00275736f5 Fixed the promise chain for friend requests, handle redundant friend requests correctly, and join friend requests and game purchase promises together so we can know when we're done Andrew Richardson 2014-02-08 14:56:58 -0800
  • 202637872f Merge 06a93dfca8 into 66500b2821 soedar 2014-02-08 14:29:08 -0800
  • 06a93dfca8 add leaderboard view endpoints (fixes #52) soedar 2014-02-02 01:08:58 +0800
  • 644e426241 add ability to search for company info by dev emoore24 2014-02-08 14:27:30 -0800
  • d7b9471902 Fixed typo Andrew Richardson 2014-02-08 13:55:34 -0800
  • 38519fd04c changed request/accepts to be parallel Charles Chong 2014-02-08 14:14:22 -0800
  • bbd84c99c1 some internal documentation emoore24 2014-02-08 13:57:07 -0800
  • 1b4beccd92 flattened friend request array, ignore already_requested Charles Chong 2014-02-08 13:56:47 -0800
  • 9f55f57af4 fixed conflicts Charles Chong 2014-02-08 13:32:58 -0800
  • 1f0551609e preliminary friend creation Charles Chong 2014-02-08 13:29:14 -0800
  • 9542b38a58 Merge commit '69f97283a340259819736fe84f50f36b0bb0a04f' into db-pre-fill Andrew Richardson 2014-02-08 13:08:11 -0800
  • b47ff1902e Merge branch 'master' of https://github.com/cvan/galaxy-api into dev_search emoore24 2014-02-08 13:01:43 -0800
  • 4b5d4468ca Hooked up users and games creation (run concurrently and join when done), and call purchaseGames when done Andrew Richardson 2014-02-08 12:58:15 -0800
  • 9a3bd8cd2f Added utils API for creating a promise map (takes a map of keys to promises, returns a map of keys to results) Andrew Richardson 2014-02-08 12:57:30 -0800
  • 66500b2821 Merge pull request #65 from cvan/user_acl Evan Alexander Moore 2014-02-08 12:16:38 -0800
  • 71bb980d0f (#34) Refactored moderate.js to be cleaner and only match specific urls Russell Chreptyk 2014-02-08 12:08:53 -0800
  • 6978648a49 acl fixes emoore24 2014-02-08 12:12:16 -0800
  • fc40827a09 (#34) Refactored moderate.js to be cleaner and only match specific urls Russell Chreptyk 2014-02-08 12:08:53 -0800
  • f55ba9ab96 Simplify ACL + small fix in app.js emoore24 2014-02-08 11:56:04 -0800