Commit graph

56 commits

Author SHA1 Message Date
Rob Scanlon
4113eefaf1 Fixes bug when user attempts to create task with no value field 2013-04-03 22:51:41 -04:00
Daniel Saewitz
7591846937 Remove req.task 2013-03-22 16:57:34 -04:00
Daniel Saewitz
355dde07f4 Array to /user/tasks 2013-03-22 16:52:33 -04:00
Daniel Saewitz
b56bc6b1d9 Mark todos and dailies as completed via api 2013-03-22 16:01:40 -04:00
Daniel Saewitz
4d3db53bef Remove extra newline 2013-03-21 11:56:06 -04:00
Daniel Saewitz
81b14cfac6 Add alternate scoreTask 2013-03-20 16:52:32 -04:00
Tyler Renelle
5580fd6802 remove hashed_password & salt from /user 2013-03-19 18:32:18 -06:00
Tyler Renelle
14a892043a add some api comments (just so i can visually separate the functions
for now)
2013-03-16 11:50:02 -04:00
Daniel Saewitz
188e4ff271 Remove one id from array of typeIds instead of rewriting whole array 2013-03-09 09:14:07 -05:00
Rob Scanlon
2b8f2f48c1 Delete task for the API 2013-03-09 02:08:20 -05:00
Daniel Saewitz
7cb291c4de Rename user.stats.tnl to user.stats.toNextLevel 2013-03-06 20:39:48 -05:00
Daniel Saewitz
5a1343a3b7 Set maxHealth to 50 2013-03-06 09:11:14 -05:00
Daniel Saewitz
ef7d705059 Add to next level to user stats on API 2013-03-06 08:45:51 -05:00
Daniel Saewitz
30a3e46f20 Move deprecated api back into new 2013-03-03 19:37:54 -05:00
Daniel Saewitz
4919cd22b5 Move deprecated API back to deprecated 2013-03-03 19:30:53 -05:00
Tyler Renelle
4b77daff0a redirect deprecated task-scoring to new API, some cleanup to score function to use switz auth 2013-03-03 12:44:50 -05:00
Tyler Renelle
264119b755 remove ical link from new API. shouldn't even be in old API, really -
it's just a link... don't know why I did that. but alas, people
already have subscriptions on that link so if it aint broke
2013-03-03 12:22:56 -05:00
Daniel Saewitz
4377ff918a Prepend /user to the /task/:id routes 2013-03-01 15:11:35 -05:00
Daniel Saewitz
5ce5152757 More secure regex type check 2013-03-01 06:11:32 -05:00
Daniel Saewitz
4e6c741594 Shouldn't update type in task PUT 2013-03-01 05:48:49 -05:00
Daniel Saewitz
c080ddc683 Separate out logic for tasks plus specs 2013-03-01 05:16:55 -05:00
Tyler Renelle
6fe375114c set req._isServer=true for API calls, use that as access check 2013-02-28 20:00:08 -05:00
Tyler Renelle
9c6e061e8d return all objects on user API call 2013-02-27 17:10:20 -05:00
Daniel Saewitz
822f779812 Merge and fix tests 2013-02-26 19:17:11 -05:00
Tyler Renelle
9b20d8ceba move scoring to its own class (attempt to remove model from hanging
around in closure on server, which is what's causing our memory leak -
see http://goo.gl/7Gt0M)
2013-02-26 16:51:00 -05:00
Daniel Saewitz
c38f215db5 Add type parameter to /user/tasks 2013-02-26 16:44:26 -05:00
Tyler Renelle
63392d644f use derby-auth new findOne() motif spec (aka, no more
res.at(0).get()). Also, try tripple subscription on parties instead of
multiple individual subs
2013-02-26 16:37:47 -05:00
Daniel Saewitz
bc5abba179 Add task/:id PUT 2013-02-26 15:21:17 -05:00
Daniel Saewitz
07648cd60b all tests passing - woo 2013-02-26 03:48:10 -05:00
Daniel Saewitz
f9f57a6b91 Cleanup and more checks 2013-02-26 02:36:51 -05:00
Daniel Saewitz
e4f4227072 Cleanup 2013-02-25 14:32:46 -05:00
Daniel Saewitz
1be9fb97fe Use headers instead of auth 2013-02-25 02:43:50 -05:00
Daniel Saewitz
bfd30cd4b7 wip 2013-02-25 00:24:11 -05:00
Daniel Saewitz
faa94b3692 Almost perfect 2013-02-24 23:00:22 -05:00
Daniel Saewitz
bddd0bd148 wip 2013-02-23 04:45:00 -05:00
Daniel Saewitz
177c7e4f17 Working again 2013-02-23 03:20:16 -05:00
Daniel Saewitz
0fa00b2c1e merge 2013-02-22 22:27:46 -05:00
Daniel Saewitz
4358455ef2 update 2013-02-22 22:24:21 -05:00
Daniel Saewitz
32323a39af wip 2013-02-22 22:11:46 -05:00
Daniel Saewitz
55afba34ae Nothing went wrong 2013-02-22 13:55:09 -05:00
Tyler Renelle
2641670ebe add check on isServer in busted session, accept(false) 2013-02-22 13:48:39 -05:00
Daniel Saewitz
b8d43fabcc wip 2013-02-21 20:38:12 -05:00
Daniel Saewitz
08d57e32ff wip 2013-02-21 20:17:23 -05:00
Daniel Saewitz
ddff29ccf0 wip 2013-02-21 14:18:53 -05:00
Daniel Saewitz
b92145f5a3 wip 2013-02-20 20:07:05 -05:00
Daniel Saewitz
f75e3662b9 wi[ 2013-02-20 20:04:09 -05:00
Daniel Saewitz
897cd3f2bb wip 2013-02-20 13:35:21 -05:00
Daniel Saewitz
a777f6ce60 Fix indentation 2013-02-19 20:57:33 -05:00
Daniel Saewitz
4a28d25d5d Align comments 2013-02-18 19:53:48 -05:00
Daniel Saewitz
0945434dda Update to most recent codebase 2013-02-18 19:15:35 -05:00