Commit graph

44 commits

Author SHA1 Message Date
Tyler Renelle
7e811b9998 safety-check task removal 2013-11-02 18:29:53 -07:00
Tyler Renelle
e84aa13d62 fix reroll 2013-11-02 16:58:24 -07:00
Tyler Renelle
838108d579 [#1711] got it! task.*.history & user.history as defined schemas was the
problem, since they're arrays of >100 each
2013-11-02 12:49:08 -07:00
Tyler Renelle
01536a2e29 Revert "[#1711] back to Schema.Types.Mixed for user.tasks, this makes me sad :("
This reverts commit c0292d0842.
2013-11-02 12:24:05 -07:00
Tyler Renelle
c0292d0842 [#1711] back to Schema.Types.Mixed for user.tasks, this makes me sad :( 2013-11-02 11:41:34 -07:00
Tyler Renelle
0638888e4b make sure task._id == task.id (we should put this in pre(save) or something) 2013-11-01 13:38:46 -07:00
Tyler Renelle
57116d949a [#1709] fix to 'user is not defined' (for whomever is using this route, not
us. we need to clean up our api)
2013-11-01 13:38:46 -07:00
Tyler Renelle
fbbcecc6e2 [#1708] fix to taskDefault when creating a task and scoring 2013-11-01 13:38:46 -07:00
Tyler Renelle
751ae60342 [#1701] don't sync chal scoring for broken chals 2013-10-31 20:37:56 -07:00
Tyler Renelle
d8218927e5 add debug buttons back in, including +10 gems (@sabrecat) 2013-10-31 15:14:19 -07:00
Tyler Renelle
8b1ef412b2 [#1692] don't sync score to challenge's rewards 2013-10-31 10:22:57 -07:00
Tyler Renelle
a078889d58 challenges: sync score to challenge, lotsa bug fixes 2013-10-28 11:34:07 -07:00
Tyler Renelle
e45d8307e7 Subdocs & script templates. Migrate the API from User.tasks =>
User.habits/dailys/todos/rewards. Move /#/tasks & /#/options page
loading from server-sent html to everything loaded in the page as script
templates (including necessary fixes for adsense). NOTE: this commit
won't work, it depends a bit on the *next* commit with Challenges
functionality, but I wanted to separate it out a bit for clarity
2013-10-28 11:34:07 -07:00
Matteo Pagliazzi
1f8915f5de add api.deleteTag to batch update operations 2013-10-24 18:21:34 +02:00
Tyler Renelle
44cb797063 migrate: flags.ads -> purchased.ads (boolean); flags.newStuff to boolean 2013-10-22 18:50:50 -07:00
Tyler Renelle
f59d5b056c Merge branch 'halloween' into develop 2013-10-22 17:57:57 -07:00
Tyler Renelle
6f32ac2a24 halloween: purchase full set 2013-10-22 13:59:30 -07:00
Tyler Renelle
619c00fb5c halloween: some unlocking bug fixes (appears a markModified was required) 2013-10-22 13:37:55 -07:00
Tyler Renelle
d184237c79 halloween: begin adding mechanic for the special skins 2013-10-22 13:24:31 -07:00
Matteo Pagliazzi
cc05926e6b do not log "Reply sent" after every user update 2013-10-21 17:51:14 +02:00
Tyler Renelle
33549971f9 paypal: fix retrying by responding to IPN with 200 first 2013-10-13 09:46:22 -07:00
Tyler Renelle
4c018d84c1 Merge branch 'paypal' into develop
Conflicts:
	bower.json
2013-10-12 19:23:44 -07:00
Tyler Renelle
09cd132420 paypal: begin adding paypal alternative to credit-card payments 2013-10-12 15:24:35 -07:00
Matteo Pagliazzi
2d02e49e06 always send _v 2013-09-20 16:09:55 +02:00
Matteo Pagliazzi
0c0e0834be send response only if modified or drop 2013-09-20 16:01:09 +02:00
Tyler Renelle
402e2aedb0 [#1397 #1543 #1540] misc bug fixes 2013-09-17 14:44:02 -04:00
Tyler Renelle
f26b0a2cf5 [#1394] add drop notifications back in 2013-09-17 12:16:16 -04:00
Tyler Renelle
1bcdcf8590 [#1444] bug fix 2013-09-09 00:13:11 -04:00
Tyler Renelle
4caec6f737 [#1444] implement delete-tag (incl server route). run tags-cleanup migration 2013-09-09 00:04:02 -04:00
Tyler Renelle
f99b496a29 [#1444] add filters back to use schema. Allow editing of top-level tags
object in PUT /user, WARNING! We want to get away from that ASAP and
instead have a nested resource for managing tags. Set default task tags
if not present, will revisit after tasks are a subdoc too
2013-09-08 23:28:34 -04:00
Tyler Renelle
ecc442285b [#1491] add user.loggedin on cron, some comments on remove-staging-users 2013-09-08 21:45:46 -04:00
Tyler Renelle
5c5212eb0e [#1477] add delete account 2013-09-08 15:17:49 -04:00
Tyler Renelle
f250a98fb7 [#1477] add reset account 2013-09-08 15:11:04 -04:00
Tyler Renelle
ef69309b0c [#1431] add temporary server-based pet-purchasing mechanism. Lotsa cleanup /
refactoring to be had here
2013-09-06 00:28:18 -04:00
Tyler Renelle
53fdca2f5c fix API toNextLvl & maxHealth 2013-09-04 10:19:55 -04:00
Tyler Renelle
4333d055e5 auth bug fixes 2013-09-04 00:20:49 -04:00
Tyler Renelle
466c727d4e rewrite: facebook auth bug fixes. still not ideal solution, but it works
for now
2013-09-03 23:40:27 -04:00
Tyler Renelle
ceae8bf768 rewrite: start adding facebook auth. note, this isn't going to work properly due to issues outlined in http://stackoverflow.com/questions/14572600/passport-js-restful-auth . gotta figure something out here... 2013-09-03 23:20:31 -04:00
Tyler Renelle
e43740e939 update bailey notif 2013-09-03 20:08:49 -04:00
Tyler Renelle
62a10d4b28 cleanup 2013-09-02 19:03:45 -04:00
Tyler Renelle
7f68fd017a rewrite: add big update notification, small bug fixes 2013-09-02 17:15:12 -04:00
Tyler Renelle
ef9e1f3444 rewrite: push login modal to the front page, don't allow anonymous
usage.
2013-09-02 01:08:28 -04:00
Tyler Renelle
488c5b3e64 rewrite: uhoh, controller scoping issues due to
angular-bootstrap#0.4.0. We can't use 0.5.0 bacause it can't handle
nested tabs. we may have to scrap it altogether
2013-08-29 23:57:00 -04:00
Tyler Renelle
17a9469370 rewrite: start implementing groups. Note angular-bootstrap 0.4.0 required for nested tabs 2013-08-29 22:11:52 -04:00
Renamed from src/controllers/api.js (Browse further)