Commit Graph

46 Commits

Author SHA1 Message Date
Matteo Pagliazzi
159b9eaa8d port disable classes and change class ops 2016-03-24 14:25:30 +01:00
Matteo Pagliazzi
bd3c162b97 port allocateNow and autoAllocate 2016-03-20 20:21:15 +01:00
Matteo Pagliazzi
480194f53c add routes for buy ops and integration tests 2016-03-20 17:41:17 +01:00
Blade Barringer
5c3c8ebb74 refactor: Move auth update routes from user to auth controller 2016-03-18 07:35:29 -05:00
Blade Barringer
d1af7adff6 refactor: Update user update routes to be under auth namespace 2016-03-18 07:35:14 -05:00
Blade Barringer
22d25f8be3 fix: Change update user routes to use PUT instead of POST 2016-03-18 07:35:14 -05:00
Matteo Pagliazzi
219ec01ce9 port shared.ops.allocate 2016-03-15 18:41:23 +01:00
Matteo Pagliazzi
b2b4340ee3 change response for shared.ops.sleep, save user in POST /user/sleep and add integration tests for it 2016-03-15 17:05:07 +01:00
Matteo Pagliazzi
490c6a9ae1 wip(shared): port sleep op 2016-03-15 16:33:44 +01:00
Victor Piousbox
0b25720232 cleanup 2016-03-13 14:01:53 -07:00
Victor Piousbox
c61b10a6eb resolve conflicts 2016-03-13 10:45:19 -07:00
Victor Piousbox
c14f0c4247 update username, password 2016-03-13 10:42:59 -07:00
Victor Piousbox
46322cfd38 update username, password 2016-03-12 23:32:20 -08:00
Matteo Pagliazzi
6830a4464a Merge branch 'api-v3-email-3' of https://github.com/piousbox/habitrpg into piousbox-api-v3-email-3 2016-03-05 19:24:11 +01:00
Victor Piousbox
7dfdbb8b05 /user/update-email endpoint 2016-03-04 21:27:16 +00:00
Blade Barringer
b97511db31 fix: Use module.exports instead of export default 2016-03-04 13:29:51 -06:00
Matteo Pagliazzi
80f791c86b add tests, move CustomError to common, fix casting 2016-03-03 00:16:28 +01:00
Matteo Pagliazzi
05b6e25c28 port spells to api-v3 2016-03-02 13:05:17 +01:00
Matteo Pagliazzi
aebe2fa400 finish porting to async/away syntax 2015-12-31 11:46:21 +01:00
Matteo Pagliazzi
13cbf03759 use cron middleware 2015-12-15 12:11:32 +01:00
Matteo Pagliazzi
9394fb0d94 use res.respond 2015-12-13 20:12:04 +01:00
Matteo Pagliazzi
a34f41f0f7 misc fixes, GET user (with tests), more comments for preenHistory 2015-12-13 20:08:14 +01:00
Matteo Pagliazzi
90d7f1f6a8 improve tasks models, fix a part of user pre save, rename auth controller 2015-11-28 13:46:53 +01:00
Matteo Pagliazzi
7086fbfbd6 add res.respond middleware... and use it in user controller 2015-11-23 13:07:21 +01:00
Matteo Pagliazzi
349122c9a1 add res.respond, fix linting 2015-11-23 13:01:47 +01:00
Matteo Pagliazzi
a26f713e18 misc fixes, add ability to attach local auth to social user 2015-11-23 12:47:15 +01:00
Matteo Pagliazzi
3459b51cef use throw instead of returning next inside of promises 2015-11-23 10:20:07 +01:00
Blade Barringer
867efd7078 fix(controller): Adjust next calls to throw errors instead inside promise 2015-11-21 17:01:56 -06:00
Blade Barringer
d1839b816e chore(lint): Clean up user model and controller 2015-11-21 16:17:42 -06:00
Blade Barringer
074b3f5079 fix(controller): Validate params for register route in user controller 2015-11-21 14:57:59 -06:00
Blade Barringer
7ce554c578 fix(controller): Correct path to EmailUnsubscription model 2015-11-21 14:41:07 -06:00
Matteo Pagliazzi
5c33a404fb handle mongoose validation errors, fix bug in import and add more tests for errors 2015-11-21 15:00:31 +01:00
Matteo Pagliazzi
3608742e20 fix bugs on user controller 2015-11-21 12:26:48 +01:00
Matteo Pagliazzi
2f4e6e015a Merge branch 'api-v3-user' of github.com:HabitRPG/habitrpg into api-v3-user 2015-11-21 12:03:26 +01:00
Matteo Pagliazzi
7866f7393b clean up code, add deleteSocial method 2015-11-21 12:03:08 +01:00
Blade Barringer
e4827f1b78 fix(user ctrl): Correct path to use model import 2015-11-20 19:08:25 -06:00
Matteo Pagliazzi
c87200f582 comment out incomplete code 2015-11-19 22:04:18 +01:00
Matteo Pagliazzi
e028af9f3f add social login / signup and misc fixes 2015-11-19 21:50:23 +01:00
Matteo Pagliazzi
972cbbdaa6 try moving all the logic to the model 2015-11-19 21:09:39 +01:00
Matteo Pagliazzi
55d743ebe5 remove q import 2015-11-19 16:29:22 +01:00
Matteo Pagliazzi
5874e89e2a simplify code 2015-11-19 16:22:16 +01:00
Matteo Pagliazzi
dd8c22584d req.t --> res.t 2015-11-19 12:17:44 +01:00
Matteo Pagliazzi
6451264572 start porting register local user handler, several bug fixes 2015-11-19 12:13:54 +01:00
Matteo Pagliazzi
5c859ca52e add req.t in place of i18n.t passing req.language, begins implementing user signup 2015-11-18 22:04:36 +01:00
Matteo Pagliazzi
bd980e166b fix action method 2015-11-18 18:16:14 +01:00
Matteo Pagliazzi
d5d13477d7 wip user controllers: local login method 2015-11-18 18:02:35 +01:00