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

139 Коммитов

Автор SHA1 Сообщение Дата
Christopher Van d2c94c6e2f add tests for `lib.utils.returnError` (issue #309) 2014-12-19 17:28:56 -08:00
Christopher Van cbc5342093 add tests for `lib.utils.promisify` (issue #309) 2014-12-19 17:28:56 -08:00
Christopher Van 21a9116d48 add tests for `lib.utils.stringifyObject` (issue #309) 2014-12-19 17:28:56 -08:00
Christopher Van 160b444e2d add `lab` for unit testing; add tests for `lib.utils.isStringAnInt` (issue #309) 2014-12-19 17:28:56 -08:00
Christopher Van 3d7ef5ec41 use `Boom.internal` when preparing error response for `DatabaseError` 2014-12-19 17:28:55 -08:00
Christopher Van 2484f86d31 ensure DB errors are properly caught and internal errors are caught+logged but not shown in responses (fixes #259) 2014-12-19 17:28:55 -08:00
Christopher Van fabac447c2 use boom to surface hapi API errors 2014-12-19 17:28:55 -08:00
Christopher Van 78b18efc8e use `hapi-node-postgres`, postgres migrations, queries; add basic create/get game hapi endpoints (issue #215; issue #296, issue #297) 2014-12-19 17:28:55 -08:00
Christopher Van e29996484b remove `lib.utils.extend` 2014-12-19 17:28:54 -08:00
Christopher Van c0ba28e2c5 use hapi-pg for maintaining postgres connections 2014-12-19 17:28:54 -08:00
Christopher Van d21c6cff88 replace koa with hapi (#245) 2014-12-19 17:28:54 -08:00
Christopher Van e68f777c32 s/member/user/ in leaderboard API 2014-08-26 19:32:41 -07:00
Christopher Van d685bb5adf build out leaderboard score creation (fixes #229) and ranking list (fixes #230) 2014-08-26 14:23:04 -07:00
Christopher Van 991a731f5c load Redis only once, add separate dev/prod/test settings files, use different Redis for database for tests 2014-08-25 16:20:27 -07:00
Christopher Van 823e41ebda abstract out db logic from game API endpoints (fixes #216), remove PUTs 2014-08-18 17:06:08 -07:00
Christopher Van 655b2899ba add jshint for code linting 2014-08-13 15:27:09 -07:00
Christopher Van 9f4a091b94 add leaderboard submission API, other (WIP) leaderboard API endpoints 2014-08-13 15:12:31 -07:00
Christopher Van 88790e90d2 THIS IS THE BIG BANG 2014-08-12 19:56:10 -07:00
Christopher Van 12265262c2 remove v0 2014-08-12 19:56:10 -07:00
Christopher Van 2279399b92 Merge pull request #188 from soedar/refactor-feedback
Refactor feedback lib, and added unit tests
2014-08-05 19:01:46 -07:00
Jeremiah Orem dc1db3984b Pull all settings from GALAXY_API_SETTINGS file
Fixes #202
2014-07-18 17:09:34 -07:00
Christopher Van a137e111fb update redis/persona settings setups and document environment variables (fixes #198) 2014-07-16 15:59:16 -07:00
Charles Chong 87171186d8 retrieve waiting time when retrieving queue position 2014-04-30 18:16:09 -07:00
soedar eb666730e3 Refactor feedback lib, and added tests 2014-04-17 10:23:28 +08:00
Charles Chong 114bb2a95b Fixed race condition with gameIDsByDeveloperID ranking on game creation 2014-04-16 18:40:08 -07:00
Charles Chong c4c256bc93 Fixed minor issues 2014-04-07 09:30:53 -07:00
Charles Chong 485f21e9b3 fixed queue position retrieval, updated gameByStatus sets on game moderation 2014-04-07 09:30:53 -07:00
Charles Chong 2520cf2117 Added gamesByStatus:pending 2014-04-07 09:30:53 -07:00
soedar 94232134a2 Added more tests for user 2014-04-07 02:49:24 +08:00
Tay Yang Shun 9df7f5dd70 Merge pull request #172 from cvan/no-of-players-squashed
Added number of players field to the Game object
2014-04-07 01:45:50 +08:00
Tay Yang Shun 0b653e4101 Updated keys of game object 2014-04-07 00:39:33 +08:00
Birkan Uzun 17717c7357 Added number of players field to the Game object 2014-04-06 20:17:34 +08:00
root dc9f7d4937 implement feedback modal endpoint (fixes #123)
implement feedback modal endpoint (fixes #123)

implement feedback modal endpoint (fixes #123)
2014-03-27 02:05:24 -04:00
Charles Chong 399ae66f51 Fixed minor bug with gameByDevIDs on game creation 2014-03-25 09:10:23 -07:00
Charles Chong 4f7f159fe1 Changed user to developer in variable names 2014-03-25 05:39:24 -07:00
Charles Chong eb73072346 Fixed bug with JSON parsing gameIDsByUserID 2014-03-25 05:39:23 -07:00
Charles Chong ab4f34d670 Fixed bugs with gameIDsByUserID and developer game list filter 2014-03-25 05:39:23 -07:00
Charles Chong 04204e7b1f Added preliminary gameIDsByUserID set and game list filtering on userIDs 2014-03-25 05:38:23 -07:00
Charles Chong 3dfe2f50b6 Fixed bug with JSON parsing gameIDsByUserID 2014-03-25 05:34:03 -07:00
Charles Chong ffe4b66392 Fixed bugs with gameIDsByUserID and developer game list filter 2014-03-25 05:34:03 -07:00
Charles Chong ee0ed25d63 Added preliminary gameIDsByUserID set and game list filtering on userIDs 2014-03-25 05:34:03 -07:00
Andrew Richardson 2a845f3b46 Merge pull request #146 from cvan/script-fixes
Fixed bugs with pre-fill and admin scripts
2014-03-18 15:47:28 -07:00
Evan Alexander Moore 76324b0e14 Merge pull request #142 from emoore24/add_status
Add 'status' to public game object -- needed for galaxy #124
2014-03-18 15:16:04 -04:00
scottmeng bd5e13a0ab convert to teamName and teamSlug 2014-03-18 17:16:17 +08:00
scottmeng aee82fdc7b revert back to companyslug for data storage, api endpoints remain as team slug 2014-03-18 17:16:17 +08:00
scottmeng a81c6de5de change companySlug to teamSlug, add team slug modification function. fix issue #141 2014-03-18 17:16:17 +08:00
scottmeng b1b5883d3d change company name to team name 2014-03-18 17:16:17 +08:00
Andrew Richardson a76c25b2d9 Fixed pre-fill script by handling errors correctly (some weren't being caught), creating a developer user with which to authenticate game submission requests, and added a couple of missing fields required for submitting games. Also fixed a typo in userIDView / userDataView that caused an error not to be caught. 2014-03-16 23:28:25 -07:00
emoore24 b8f6fe4e2d Add 'status' to public game object -- needed for galaxy #124 2014-03-13 20:54:44 -04:00
soedar 9425ef63f5 Updated featured endpoint to use game id instead of slug (Unblocks #132) 2014-03-10 17:08:04 +08:00