Matteo Pagliazzi
8fa8e39eca
Revert "Revert "fix(tasks): tmp fix for #4066 , minimize:false on tasks so they have""
...
This reverts commit 0fa7277cf0 .
2014-10-03 19:05:37 +02:00
Tyler Renelle
0fa7277cf0
Revert "fix(tasks): tmp fix for #4066 , minimize:false on tasks so they have"
...
This reverts commit a6631f5d36 .
2014-09-30 21:28:47 -06:00
Tyler Renelle
a6631f5d36
fix(tasks): tmp fix for #4066 , minimize:false on tasks so they have
...
tags:{} default empty object
2014-09-27 15:53:42 -06:00
Tyler Renelle
e77f667a98
Revert "feat(todo_archive)" (see http://goo.gl/mCygbz )
2014-05-15 23:47:38 -06:00
Jason Butz
53877ff1c0
feat(todo_archive): add archive flag
...
This is part 1 of habitrpg#3062 It MUST be merged prior to parts 2 and 3
2014-04-18 11:49:29 -04:00
Tyler Renelle
b1afc177aa
fix(todos): add dateCompleted to todos so they're archived 3 days after
...
completion, not 3 days after creation. Fixes #2478
2014-01-19 17:12:33 -08:00
Tyler Renelle
b96ce1d07f
add created (creation-date) to TaskSchema
2014-01-14 16:46:16 -07:00
Tyler Renelle
77c6777506
checklists: collapse individually
2013-12-31 13:50:14 -07:00
Tyler Renelle
74c905f1e1
checklists WIP
2013-12-30 10:33:17 -07:00
Tyler Renelle
c85450db04
classes: add task attributes for point allocations
2013-12-13 17:50:43 -07:00
Tyler Renelle
9d9b8120cd
classes: migrate priority from !,!!,!!! to Number (prep for passive stats)
2013-12-12 20:59:20 -07:00
Tyler Renelle
ee1cd3c05d
[ #1977 ] APIv2 WIP - start of a framework where operations are shared
...
between client & server. If the op is called on the client, it updates
the user & then POSTs to the server with op of the same name. If called
on server, it updates the user and user.save()s
2013-12-11 21:42:57 -07:00
Tyler Renelle
18d6bed3b8
[ #1879 ] separate task schema types into habitschema, dailyschema, etc to reduce server load and to ensure the proper default type (some people are getting habits in the wrong columns)
2013-11-22 17:07:27 -07:00
Tyler Renelle
15d9e33252
[ #1745 ] task.date as string instead of date
2013-11-04 09:12:32 -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
14fac02a52
[ #1738 ] add due date to taskSchema
2013-11-03 17:53:51 -08:00
Tyler Renelle
c5d3d142d9
[ #1711 ] taskSchema back to doc so we can use .id(). The performacne hit isn't
...
drastic, it was the history entries that was hurting us
2013-11-02 17:09:24 -07:00
Tyler Renelle
ba8a8d2494
add .id back to task schema
2013-11-02 16:40:00 -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
2f83ac27ae
[ #1702 ] much more thorough migration of tasks to new schema, providing defaults
...
where task attrs fail type checks
2013-11-01 10:43:24 -07:00
Tyler Renelle
37027ac874
[ #1672 ] assign tasks.id = tasks._id for challenges, fixes html ids & for lables
2013-11-01 09:48:22 -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
4ac0ef4ac2
challenges: migration script for TaskSchema subdocs, cleanup tags, remove old challenges
2013-10-28 12:27:50 -07:00
Tyler Renelle
35c4a62de0
challenges: switch from ngRoute to ui-router
2013-10-28 11:34:08 -07:00
Tyler Renelle
a078889d58
challenges: sync score to challenge, lotsa bug fixes
2013-10-28 11:34:07 -07:00
Tyler Renelle
d60a56432f
challenges: better unlinkig of tasks on unsubscribe
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