Commit graph

135 commits

Author SHA1 Message Date
Tyler Renelle
630a6bf9ce Remove loading of a bunch of external javascript files if usign mobile device 2012-07-31 12:59:42 -04:00
Tyler Renelle
b2c9035ca9 convert viewHelpers to helpers, for other util functions in there.
some template code for next schema update
2012-07-30 17:25:04 -04:00
Tyler Renelle
035a705805 put stuff in viewHelpers file 2012-07-28 17:02:09 -04:00
Tyler Renelle
3895d0610a many bug fixes regarding schema updates 2012-07-28 16:26:06 -04:00
Tyler Renelle
994efb5f79 Add clear-completed button 2012-07-28 00:01:58 -04:00
Tyler Renelle
8c50969899 Add a schema and schema-updating mechanism. not ideal the way it is,
but bette than nothing
2012-07-27 23:10:20 -04:00
Tyler Renelle
05121a2d18 Finished _todoList/_completedList transfering. instead of remove/push
on lists, just splice/push to todoIds and completedIds
2012-07-27 22:29:02 -04:00
Tyler Renelle
33c5acf5ec use 'passed' parameter to ignore *.completed on cron 2012-07-27 21:56:21 -04:00
Tyler Renelle
b9a9239bbd moved tally functionality into scoring file 2012-07-27 21:11:53 -04:00
Tyler Renelle
52a96eb5e3 fix for *.completed on dailies 2012-07-27 20:47:59 -04:00
Tyler Renelle
1eae25ae54 _completedList working properly for todos, messes up dailies 2012-07-27 20:35:05 -04:00
Tyler Renelle
aff781ad3d Attempt at _completedList. still has race condition with setting *.copmleted 2012-07-27 19:38:28 -04:00
Tyler Renelle
bcc3c488bb Use racer.uuid() instead of Guid.raw() 2012-07-20 21:45:53 -04:00
Tyler Renelle
0b58c24e58 Moved scoring functionality into score.coffee, separate it out so i
can start implementing services
2012-07-20 21:39:29 -04:00
Tyler Renelle
2f008533bc more comment on accessControls not being called 2012-07-19 14:59:45 -04:00
Tyler Renelle
d53668065d comment on accessControl failing 2012-07-19 14:52:03 -04:00
Tyler Renelle
2bb4af286e All the setup necessary to get accessControl working (theoretically),
still doesn't work
2012-07-19 14:48:49 -04:00
Tyler Renelle
1afdfaaa53 remove some debugging code 2012-07-18 08:59:29 -04:00
Tyler Renelle
5bed0351af Update model.session.userId for next requests 2012-07-17 18:10:17 -04:00
Tyler Renelle
7f1693b425 fixed initial tasks not havign .id 2012-07-17 16:35:26 -04:00
Tyler Renelle
39329dba3a Almost fixed saved session management 2012-07-17 15:55:36 -04:00
Tyler Renelle
bc6b30ee5a better defaultTasks implementation 2012-07-17 15:45:05 -04:00
Tyler Renelle
4261ff82c7 Closer to getting initial contentn imported properly 2012-07-17 15:33:08 -04:00
Tyler Renelle
036badb3e4 Step towards working with new middleware, still broken 2012-07-17 14:47:19 -04:00
Tyler Renelle
98e824eb2e Remove tyler defaults & "toggle debug" button 2012-07-16 18:10:01 -05:00
Tyler Renelle
e6e8f87d3d try using "for in []" isntead of underscore for cron debugging 2012-07-16 18:01:18 -05:00
Tyler Renelle
961d06a5ee Remove hp & exp logging 2012-07-16 17:06:44 -05:00
Tyler Renelle
3a155fb306 Trying (new Date) instead of new Date() due to multiple crons on 1 day bug 2012-07-13 09:43:53 -05:00
Tyler Renelle
2620b25ffb Check at least if url is a guid, better to check if model exists but
that's not working
2012-07-11 20:14:29 -04:00
Tyler Renelle
2fa58da27e purl bug fix 2012-07-11 20:07:54 -04:00
Tyler Renelle
584dd1c4b0 Note on a purl error that is bound to happen, properly link purl text 2012-07-11 19:44:52 -04:00
Tyler Renelle
08632bd17a Add persistent URL for accessing data accross multiple
browsers (temporary solution to no authentication)
2012-07-11 19:27:53 -04:00
Tyler Renelle
42610f189e And removing it, dangerous 2012-07-11 16:24:58 -04:00
Tyler Renelle
186bcac166 Adding loadUserSession debugging 2012-07-11 16:24:41 -04:00
Tyler Renelle
8417e8fd62 Add cron to debugging buttons 2012-07-11 15:58:17 -04:00
Tyler Renelle
03b5361be9 history charts: use date.toDateString() when done debugging 2012-07-11 15:38:01 -04:00
Tyler Renelle
25d42f078f remove console.log on previous 2012-07-11 15:26:27 -04:00
Tyler Renelle
095865ff2e lastCron: set as midnight using new Date().toDateString() 2012-07-11 15:24:23 -04:00
Tyler Renelle
8f43f7d0c7 lastCron: setting as difference between two dates on midnight,
currently a bug where it calculates the difference in 24h between two
dates
2012-07-11 15:13:08 -04:00
Tyler Renelle
48f26edfb7 use math.floor, not math.round, when computing daysPassed on cron 2012-07-11 14:37:47 -04:00
Tyler Renelle
e4257766a6 poormanscron: run once ever hour on client 2012-07-11 10:17:47 -04:00
Tyler Renelle
b974d98f36 Add "revive" modal on death 2012-07-08 23:29:54 -04:00
Tyler Renelle
9f671548b5 implemented exp & hp modifiers based on lvl & armor/weapon 2012-07-08 22:23:57 -04:00
Tyler Renelle
4120a39df5 fix popover bug (they didn't show aftre editing stuff) , model.on
'set', * which isn't very efficient, revisit
2012-07-08 21:51:25 -04:00
Tyler Renelle
87f832be12 Implemented re-roll 2012-07-08 21:35:32 -04:00
Tyler Renelle
c71f1d9424 more bug fixes, store still messed up when final armor & weapon purchased 2012-07-08 21:20:30 -04:00
Tyler Renelle
f58cd5609a many bug fixes, but weapon is still tripping out 2012-07-08 19:56:55 -04:00
Tyler Renelle
ecc3bdee2d purchasing weapons & armor now updates the images 2012-07-08 19:37:36 -04:00
Tyler Renelle
3305697a4e Can buy items, storing to user now. many bug fixes 2012-07-08 18:58:11 -04:00
Tyler Renelle
2ddbe61141 put unlockedMessage in content.coffee, some prep for purchase button 2012-07-08 18:06:13 -04:00