Commit Graph

48 Commits

Author SHA1 Message Date
Tyler Renelle
7c94b4b6d3 contrib: add contributor achievement modal 2013-11-07 13:42:29 -08:00
Tyler Renelle
d679fa1e62 contrib: add Admin page to update contributor status. Start migrating from User.backer => User.contributor 2013-11-06 15:59:56 -08:00
Tyler Renelle
cde3bb4c69 user._v & group._v fixes 2013-11-04 13:43:24 -08:00
Tyler Renelle
aa8cdfb198 bug fix to challenge.tasks._id out of sync 2013-11-03 22:47:20 -08:00
Tyler Renelle
452c4e1ece [#1729] move most chal-user syncing logic to their models rather than
controllers. don't sync task.value or task.history over to user on
challenge.join()! some work-arounds for the task._id/id mismatch (still
not perfect, need to work on some more)
2013-11-03 22:33:53 -08:00
Tyler Renelle
7060f75c83 [#1741] remove _id from TaskSchema (we're too deep in our legacy task.id
requirement, we can revisit later)
2013-11-03 21:17:33 -08: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
0ce76ee689 [#1673] challenges: better tag-syncing, show tag bull-horn 2013-10-31 17:49:51 -07:00
Tyler Renelle
9d15e724e2 challenge prize: award winner 1 achievement and challenge.prize
gems. then close challenge.
2013-10-31 13:49:31 -07:00
Tyler Renelle
a90f37f35c more migration fixes, fix up metrics.js 2013-10-30 18:58:09 -07:00
Tyler Renelle
4764bf738c challenges: some more user cleanup in migration 2013-10-30 17:02:42 -07:00
Tyler Renelle
4ac0ef4ac2 challenges: migration script for TaskSchema subdocs, cleanup tags, remove old challenges 2013-10-28 12:27:50 -07:00
Tyler Renelle
44d67ac9f8 UserSchema: set default profile.name (either from facebook or username)
if not provided. This way we can remove the expensive username() helper
function throughout our html
2013-10-28 11:34:08 -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
8cdcbcf685 added comment for minimze: false 2013-10-27 10:55:43 +01:00
Matteo Pagliazzi
c90b1e757c better fix for #1647 2013-10-27 10:49:32 +01:00
Matteo Pagliazzi
110986951b fix #1647 2013-10-27 10:18:23 +01:00
Tyler Renelle
44cb797063 migrate: flags.ads -> purchased.ads (boolean); flags.newStuff to boolean 2013-10-22 18:50:50 -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
Andre Casey
ac7aba4ce0 Fix spelling error on Mongoose 2013-09-26 18:10:35 -04:00
Andre Casey
48602e4f91 Added FIXME line, since this commented code was confusing.
Not sure whether to comment it referring to doc.filters or if it is a legacy function.
2013-09-26 18:10:21 -04:00
Andre Casey
978497656b add markdown to existing comments. 2013-09-26 18:10:11 -04:00
Tyler Renelle
5006cda946 [#1394] fix customizationsNotification issue 2013-09-17 14:59:06 -04:00
Tyler Renelle
f26b0a2cf5 [#1394] add drop notifications back in 2013-09-17 12:16:16 -04:00
Tyler Renelle
dc303f83c1 [#1221] misc bug fixes on backer.* doesn't exist in chat, default backer &
preference attrs in user model
2013-09-13 15:10:47 -04:00
Tyler Renelle
bf032ce808 Merge branch 'origin-paglias-fix-guilds' into develop
Conflicts:
	public/css/index.styl
2013-09-11 17:18:36 -04:00
Tyler Renelle
2f8c9fea78 [#1516] fixes to handling user.invitations.guilds - both accept & reject 2013-09-11 17:16:23 -04:00
Tyler Renelle
9b78e4e7fa [#1520] add defaults to items.lastDrop date & count 2013-09-11 16:51:18 -04:00
Tyler Renelle
598c4445ff [#1396] setup tour, using user.flags.showTour now instead of
localStorage. double check with #1507
2013-09-10 18:06:16 -04:00
Tyler Renelle
41cc18c1db [#1442] hotfix - put user.tasks back into the api for now 2013-09-09 11:43:24 -04:00
Tyler Renelle
2230b67857 tmp hotfix, people still have null tasks? `Cannot read property 'tags'
of undefined`
2013-09-09 09:12:00 -04:00
Tyler Renelle
1bcdcf8590 [#1444] bug fix 2013-09-09 00:13:11 -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
a461bda7b8 [#1491] remove old.habit from bailey notif 2013-09-08 22:01:20 -04:00
Tyler Renelle
1101a1c3f3 [#1491] some bug-fixes to corruption-cleanup, remove some unecessary
return-values on user route
2013-09-08 20:56:28 -04:00
Tyler Renelle
e2f951e138 userSchema.lastCron.default new Date => Date.now 2013-09-07 20:24:25 -04:00
Tyler Renelle
08f4d5fe20 [#1470] set user.lastCron to type=Date in model 2013-09-07 20:00:39 -04:00
Tyler Renelle
5f2405a3f4 fix to #1401 "add task to empty list" 2013-09-03 19:48:10 -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
36e6772967 temp fix to #1388 2013-09-02 16:19:49 -04:00
Tyler Renelle
5fd095165d temp fix to #1388 2013-09-02 15:54:32 -04:00
Tyler Renelle
687da68d52 rewrite: add read-only inventory. fix empty pet issue, it was the wrong
casting type UserSchema.items.eggs.type
2013-09-02 14:26:59 -04:00
Tyler Renelle
45383a9630 rewrite & api: use mongoose populate to replace group.members array with
popualte member objects. this puts a load on the front-end, we'll need
to optimize! also added some duplicates sanitization.
2013-08-31 17:47:03 -04:00
Tyler Renelle
e568a5ba31 api & rewrite: buy gems, reroll, fully converted server to JS, bug fixes 2013-08-29 01:45:54 -04:00