Commit graph

25747 commits

Author SHA1 Message Date
Tyler Renelle
f11943349a force-ssl round 2 2012-10-12 08:48:29 -04:00
Tyler Renelle
31086df654 bug fix 2012-10-12 08:48:28 -04:00
Tyler Renelle
a37fba5524 try force-ssl again 2012-10-12 08:48:26 -04:00
Tyler Renelle
489e61c4e4 add github-btns back in, as local clone into /public files 2012-10-12 08:48:25 -04:00
Tyler Renelle
9d844a7104 remove forced-ssl for now 2012-10-12 08:48:16 -04:00
Tyler Renelle
6a42b681e3 a bunch of small fixes 2012-10-12 07:11:06 -04:00
Tyler Renelle
80922c1047 setting up iframes to remove ssl errors: addthis as https, removing
github-btns for now (will add back in when I can do it with https)
2012-10-11 17:31:45 -04:00
Tyler Renelle
17914586f4 Force ssl (just a redirect, depends on x-forwarded-proto via heroku's ngnix 2012-10-11 16:22:19 -04:00
Tyler Renelle
2c6288e997 test for running cron multiple times. it's passing, but not working
inthe browser - will need to test with capser
2012-10-11 13:12:54 -04:00
Tyler Renelle
cb42e88f13 cleaner date format in graphs 2012-10-11 12:52:40 -04:00
Tyler Renelle
eb9e385eb1 cleaning up the modificationsLookup function 2012-10-11 12:41:31 -04:00
Tyler Renelle
476fb63a0d tests passing for basic scoring 2012-10-11 11:41:47 -04:00
Tyler Renelle
bad2f6f5b3 Revert "Just pass in task object to taskClasses view helper", this was
breaking deleting tasks - revisit later

This reverts commit d04140977f.
2012-10-11 11:15:39 -04:00
Tyler Renelle
d04140977f Just pass in task object to taskClasses view helper 2012-09-29 18:03:47 -04:00
Tyler Renelle
38e1a95140 some fixes to test/user.mocha based on scoring lookup function 2012-09-26 21:36:28 -04:00
Tyler Renelle
00dc7cd061 test a few modification numbers, ready to test cron & habits 2012-09-26 00:32:55 -04:00
Tyler Renelle
18d8e93e55 remove rerollsRemaining, export delta function 2012-09-26 00:19:19 -04:00
Tyler Renelle
80ac213fda export some scoring functions for use in testing 2012-09-25 23:51:15 -04:00
Tyler Renelle
534e1be622 numerical tests down-score 2012-09-25 23:04:24 -04:00
Tyler Renelle
2e08217799 aha! my first bug caught by mocha 2012-09-25 23:02:54 -04:00
Tyler Renelle
3ae3ba7a6e setting up to test numerical precision in scoring 2012-09-25 22:52:05 -04:00
Tyler Renelle
27c617741e scoring modifiers based on lvl-1, not lvl (lvl 1 should not modify score) 2012-09-25 22:20:12 -04:00
Tyler Renelle
4866fe602d remove moment.js, included with require 2012-09-25 22:19:50 -04:00
Tyler Renelle
6ec80c945c use lodash.clone instead of node.extend 2012-09-24 23:51:56 -04:00
Tyler Renelle
b63ac10657 shared helpers.dayMapping 2012-09-24 23:12:13 -04:00
Tyler Renelle
f78cd64218 bug fix on missing task 2012-09-24 21:29:53 -04:00
Tyler Renelle
9d165a0ff7 async + user aggregate hp loss 2012-09-24 21:23:29 -04:00
Tyler Renelle
ce901f7b93 back to syncronous calls on the client 2012-09-24 20:10:49 -04:00
Tyler Renelle
893b0bd383 try running cron on the server instead 2012-09-24 19:40:18 -04:00
Tyler Renelle
d5b233106c second trial in habit test 2012-09-24 19:03:26 -04:00
Tyler Renelle
1087f4abc4 some cleanup 2012-09-24 18:47:08 -04:00
Tyler Renelle
7a894ceefd back to syncronous _.each on cron - slower, but async doesn't seem to save items to database 2012-09-24 17:46:46 -04:00
Tyler Renelle
0f9b70daf2 fix moment() bugs (word from the wise, moment() functions modify the
original object)
2012-09-24 17:26:25 -04:00
Tyler Renelle
33f8c43e93 more bug-fixing on async cron, using lodash instead of underscore 2012-09-24 16:45:37 -04:00
Tyler Renelle
13a7019413 setup for async cron 2012-09-24 16:19:27 -04:00
Tyler Renelle
baf689a8d1 scoring function refactoring & testing 2012-09-24 14:23:11 -04:00
Tyler Renelle
163395829a restructuring user test a bit 2012-09-24 11:39:11 -04:00
Tyler Renelle
90f30ac1f0 renaming to user.mocha.coffee 2012-09-24 11:30:37 -04:00
Tyler Renelle
6b4ad78ec5 misplaced bracket 2012-09-24 11:26:44 -04:00
Tyler Renelle
950c31a00c Add some next-step test cases 2012-09-24 11:26:32 -04:00
Tyler Renelle
63a9eac2d0 only run notitifications in the browser 2012-09-24 09:56:42 -04:00
Tyler Renelle
d81ee34d2f setup some habit tests 2012-09-24 09:56:40 -04:00
Tyler Renelle
f21a365a13 use moment().diff instead of custom days between function 2012-09-24 09:56:38 -04:00
Tyler Renelle
d929905c48 use model events to handle stats notifications. not perfect, need to
fix handling of "undo exp/gp" operation
2012-09-24 09:56:34 -04:00
Tyler Renelle
0ba7ccd370 move scoring functions around
Conflicts:

	lib/app/index.js
	src/app/index.coffee
2012-09-24 09:56:25 -04:00
Tyler Renelle
1c0d8726c3 setup modifier using constant 2012-09-24 09:52:52 -04:00
Tyler Renelle
1a68f00fb2 moving some schema stuff around 2012-09-24 09:52:48 -04:00
Tyler Renelle
ef73281f9e setting up stuff for tests 2012-09-24 09:52:45 -04:00
Tyler Renelle
cffc3aef75 minor tweaks
Conflicts:

	lib/app/index.js
2012-09-24 09:52:22 -04:00
Tyler Renelle
6c32f42bb1 user-tokens as uneditable-input instead of well 2012-09-20 10:57:39 -04:00