Commit Graph

301 Commits

Author SHA1 Message Date
Tyler Renelle d59f1f6925 Revert "back to xhr-polling or a bit, will figure out why websockets having"
This reverts commit e5549d0501.
2013-05-14 23:53:59 +01:00
Tyler Renelle e5549d0501 back to xhr-polling or a bit, will figure out why websockets having
issues soon
2013-05-14 23:42:36 +01:00
Daniel Saewitz 8e7ab79098 Turn off locale set 2013-05-11 18:05:27 -04:00
Slappybag 88e6f40804 Tokens = Gems for front-end display. 2013-05-10 17:30:13 +01:00
Stan Lindsey 12c6e111b4 Merge pull request #921 from switz/locales
@slappybag => Allow locale to be set from a model middleware
2013-05-10 03:49:13 -07:00
Daniel Saewitz 58d6c39be8 Allow translations to be set from local model 2013-05-09 13:07:54 -04:00
Tyler Renelle d92157cf13 why is findOne crapping out on dev? "function(e){return this.where("id").equals(e).findOne()" 2013-05-09 09:27:21 +01:00
Tyler Renelle 745612d2f4 optimize the initial subscription process by first sbuscribing to
parties. this will require a small overhaul of the party system, which
I'll do next
2013-05-08 12:17:41 +01:00
Daniel Saewitz 3526cd6f72 Keep relative times updated every 60 seconds 2013-05-05 13:44:24 -04:00
Tyler Renelle 7ebe611078 adjust achievement view logic for previous commit 2013-05-04 16:41:07 +01:00
Tyler Renelle 3a259ae1c7 preparation for backer-gear setting by restricting sets to user.backer 2013-05-04 14:10:38 +01:00
Tyler Renelle ce959f0fef add achievements to visible _partyMember attributes 2013-05-03 16:13:54 +01:00
Tyler Renelle 7308b8ffbc cleaner profiles modal, also fix bug where user.profile not being
sent (hence not seeing eachother's info)
2013-05-03 12:04:17 +01:00
Tyler Renelle c48d6bde13 add tavern chat 2013-05-02 21:09:50 +01:00
Daniel Saewitz 166b64dd68 Allow gzip headers 2013-04-22 11:42:48 -04:00
Tyler Renelle 88d2eee519 start adding tests for user.put 2013-04-12 16:38:07 -04:00
Tyler Renelle cb34cb22b7 begin refactoring PUT /user & POST /user/tasks 2013-04-12 12:49:15 -04:00
Tyler Renelle 5fe344edc6 mass update-user function (PUT /user) which piggy-backs on PUT /tasks to mass-update tasks, including task.del (see mobile 961b86a) 2013-04-12 12:49:07 -04:00
Tyler Renelle e9a164d2ad enable websockets! 2013-04-09 22:15:04 -04:00
Tyler Renelle f6e53a377f some bug-fixes & cleanup on removal of _view.* 2013-04-08 11:24:45 -04:00
Tyler Renelle 6522badaa6 rename _view.* to _* - don't know why I did that whole _view.* thing
in the first place, but whatevs
2013-04-07 20:29:13 -04:00
Rob Scanlon 3139e51535 fix problem when updating task 2013-04-04 17:11:27 -04:00
Rob Scanlon 4113eefaf1 Fixes bug when user attempts to create task with no value field 2013-04-03 22:51:41 -04:00
Tyler Renelle 367ca4a76b redirect about, team, extensions to the community site. remove header 2013-04-03 17:15:28 -04:00
Tyler Renelle 1bdbd93afa redirect extensions to community site 2013-04-03 16:37:05 -04:00
Tyler Renelle d2b4072ad6 better wording on buying tokens 2013-03-28 00:49:57 -07:00
Tyler Renelle 6d6085e29b Merge branch 'ads' into pets 2013-03-28 00:28:59 -07:00
Tyler Renelle 01f2bfeab7 remove FAQ page, redirect to http://community.habitrpg.com/faq-page 2013-03-25 17:41:25 -07:00
Daniel Saewitz 7591846937 Remove req.task 2013-03-22 16:57:34 -04:00
Daniel Saewitz 355dde07f4 Array to /user/tasks 2013-03-22 16:52:33 -04:00
Daniel Saewitz b56bc6b1d9 Mark todos and dailies as completed via api 2013-03-22 16:01:40 -04:00
Daniel Saewitz 4d3db53bef Remove extra newline 2013-03-21 11:56:06 -04:00
Daniel Saewitz 81b14cfac6 Add alternate scoreTask 2013-03-20 16:52:32 -04:00
Tyler Renelle 5580fd6802 remove hashed_password & salt from /user 2013-03-19 18:32:18 -06:00
Tyler Renelle ee9e6064b2 add a ton of static page, beef up the footer, make this website look
official! @zakkain, I hope I didn't break anything!
2013-03-16 23:03:59 -04:00
Tyler Renelle 9c0a640f9f add ads back in 2013-03-16 19:18:17 -04:00
Tyler Renelle 14a892043a add some api comments (just so i can visually separate the functions
for now)
2013-03-16 11:50:02 -04:00
Tyler Renelle 795aac8fcb Merge branch 'develop' of github.com:lefnire/habitrpg into develop 2013-03-09 11:03:57 -05:00
Tyler Renelle 155747bfd0 fix to 401 user not found (can't use @byId) 2013-03-09 10:26:08 -05:00
Daniel Saewitz 188e4ff271 Remove one id from array of typeIds instead of rewriting whole array 2013-03-09 09:14:07 -05:00
Rob Scanlon 2b8f2f48c1 Delete task for the API 2013-03-09 02:08:20 -05:00
Tyler Renelle 3407565d37 remove console.log(req.headers.origin) 2013-03-08 18:10:26 -05:00
Tyler Renelle 1ef32c771b remove console.log(req.headers.origin) 2013-03-08 18:10:12 -05:00
Tyler Renelle 399e4b9dda strange fix to CORS issue - move CORS middleware to top, respond with
200 if OPTIONS request
2013-03-08 18:04:57 -05:00
Tyler Renelle 8cbf777232 allow OPTIONS, req.headers.origin || * 2013-03-08 15:34:37 -05:00
Tyler Renelle 75c1a38beb add x-api-user and x-api-key to accpeted headers 2013-03-08 14:33:19 -05:00
Daniel Saewitz 7cb291c4de Rename user.stats.tnl to user.stats.toNextLevel 2013-03-06 20:39:48 -05:00
Tyler Renelle 722b5c7640 Merge pull request #601 from switz/api-alg
Add 'To next level' to user stats on API
2013-03-06 07:19:22 -08:00
Daniel Saewitz 5a1343a3b7 Set maxHealth to 50 2013-03-06 09:11:14 -05:00
Daniel Saewitz ef7d705059 Add to next level to user stats on API 2013-03-06 08:45:51 -05:00