Commit Graph

87 Commits

Author SHA1 Message Date
Tyler Renelle
fe08c1e3cb coffee version difference 2012-10-28 15:29:28 -04:00
Tyler Renelle
d5cc627c74 remove duplicates on the server instead
Conflicts:
	lib/app/index.js
2012-10-18 00:08:15 -04:00
Tyler Renelle
2e2d09a7d1 better routes delegation in /:uid? 2012-10-12 11:53:58 -04:00
Tyler Renelle
b672a07632 ssl round 4 2012-10-12 08:48:32 -04:00
Tyler Renelle
6a42b681e3 a bunch of small fixes 2012-10-12 07:11:06 -04:00
Tyler Renelle
cb42e88f13 cleaner date format in graphs 2012-10-11 12:52:40 -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
33f8c43e93 more bug-fixing on async cron, using lodash instead of underscore 2012-09-24 16:45:37 -04:00
Tyler Renelle
baf689a8d1 scoring function refactoring & testing 2012-09-24 14:23:11 -04:00
Tyler Renelle
6b4ad78ec5 misplaced bracket 2012-09-24 11:26:44 -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
cffc3aef75 minor tweaks
Conflicts:

	lib/app/index.js
2012-09-24 09:52:22 -04:00
Tyler Renelle
8480ef3564 some bugs which are a result of user not being tested as already dead.
using scoring.setUser() so we don't have to pass user all over the
place, there's probably a better approach -- revisit
2012-09-20 10:57:32 -04:00
Tyler Renelle
be9d419313 Quarters system, generalized modal dialogs, bug fixes 2012-09-18 21:37:49 -04:00
Tyler Renelle
bde52a01a9 Pull in changes from private branch, including many bug fixes and -
drumrole - functioning facebook auth!!
2012-09-15 15:06:51 -04:00
Tyler Renelle
10c5fecb75 Merge branch 'master' of https://github.com/lefnire/habitrpg 2012-09-07 19:35:24 -04:00
Tyler Renelle
a0611297fa necessary changes to get everyauth working (since can't run
model.fetch() on the server). revisit, this might not be the case
2012-09-07 19:34:40 -04:00
Tyler Renelle
ee2c4663d5 Pull in a bunch of changes from private branch, initial everyauth code 2012-09-07 17:23:31 -04:00
Tyler Renelle
9fd4367a8a pull in some changes from private branch 2012-09-06 15:33:06 -04:00
Tyler Renelle
79cf7d2bb9 use linear growth TNL algorithm 2012-09-06 12:28:06 -04:00
Tyler Renelle
9c58a7809f Beginnings of toggling days-of-week for repeatable dailies
Conflicts:

	lib/app/index.js
	package.json
	src/app/index.coffee
2012-09-04 23:07:58 -04:00
Tyler Renelle
f68dcbf469 add trash icon, remove delete button (people aren't deleting the same
tasks, maybe this will help them). add a bunch of tooltips on the
controls. prevent accidental deletes
2012-09-04 18:01:42 -04:00
Tyler Renelle
91711aad07 use heart & star icons instead of HP / Exp
Conflicts:

	lib/app/index.js
2012-09-04 16:09:54 -04:00
Tyler Renelle
0391cee8a5 in fact, remove shortcuts altogether - we're not using formatting yet,
and it's borking firefox
2012-09-04 14:28:52 -04:00
Tyler Renelle
06e96407d3 Fix firefox by removing the document.execCommand('useCSS', false, true) stuff 2012-09-04 14:28:48 -04:00
Tyler Renelle
8a4185815f move terms & privacy to staticPages
Conflicts:

	lib/server/index.js
	src/server/index.coffee
	views/app/index.html
2012-09-02 23:01:14 -04:00
Tyler Renelle
1dea15f551 prevent long-standing red tasks from being deleted by hurting on delete 2012-09-01 19:15:26 -04:00
Tyler Renelle
91e4a50179 divide tibia TNL by 5, make leveling easier 2012-09-01 16:46:44 -04:00
Tyler Renelle
b711ccfc03 Move purl authentication to server/index.js and don't redirect. keep
them on that url
2012-08-26 16:02:42 -04:00
Tyler Renelle
e4524e0958 temporary fix on _purl, using $().val() instead of view binding 2012-08-23 22:54:18 -04:00
Tyler Renelle
29acf91e03 some typos and bugs, though didn't seem to fix anything 2012-08-09 11:02:56 -04:00
Tyler Renelle
73e857049e use page.redirect('/') after setting session, so don't have to use
middleware (don't need to use purl the whole time)
2012-08-06 16:55:51 -04:00
Tyler Renelle
e3700bc183 attempt fix using _.each in place of for loops 2012-08-06 16:04:49 -04:00
Tyler Renelle
203632b6a1 try using setTimeout to fix poormanscron-on-load issue 2012-08-06 13:39:27 -04:00
Tyler Renelle
6d204fb08c remove poormanscron() from refresh for now, only in setInterval 2012-08-06 12:34:54 -04:00
Tyler Renelle
2e3e99e366 small passed.cron bug fix 2012-08-06 10:15:58 -04:00
Tyler Renelle
0f013d2ef3 DRY daysPassed with helpers.daysBetween 2012-08-06 09:48:18 -04:00
Tyler Renelle
364641740a use node.extend module to deep-copy schema.userSchema when creating
new users - was a bug that duplicated initial tasks for each new user
2012-08-02 22:51:39 -04:00
Tyler Renelle
e2c5096311 removing accesscontrol for now, but at least only subscribing to the
necessary data
2012-08-02 14:36:55 -04:00
Tyler Renelle
71a4430efc almost got accessControl working, getting errors in createWriteGuard 2012-08-02 14:12:17 -04:00
Tyler Renelle
595ad960f3 attempts at purlMiddleware - using server/index.js to set
session.userId so can properly handle access paths
2012-07-31 19:21:45 -04:00
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
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