Commit Graph

1330 Commits

Author SHA1 Message Date
Tyler Renelle 2d53844984 add note about populate + match in chatc 2013-09-04 13:22:22 -04:00
Tyler Renelle 41255dcc20 groups: return group members on chat 2013-09-04 13:13:43 -04:00
Tyler Renelle 53fdca2f5c fix API toNextLvl & maxHealth 2013-09-04 10:19:55 -04:00
Tyler Renelle 4333d055e5 auth bug fixes 2013-09-04 00:20:49 -04:00
Tyler Renelle 466c727d4e rewrite: facebook auth bug fixes. still not ideal solution, but it works
for now
2013-09-03 23:40:27 -04:00
Tyler Renelle ceae8bf768 rewrite: start adding facebook auth. note, this isn't going to work properly due to issues outlined in http://stackoverflow.com/questions/14572600/passport-js-restful-auth . gotta figure something out here... 2013-09-03 23:20:31 -04:00
Tyler Renelle e43740e939 update bailey notif 2013-09-03 20:08:49 -04:00
Tyler Renelle 5f2405a3f4 fix to #1401 "add task to empty list" 2013-09-03 19:48:10 -04:00
Tyler Renelle e5bafe7f0b rewrite: 2-week session instead of 1h 2013-09-03 19:22:16 -04:00
Tyler Renelle 80fd023012 use cookieSession so we can launch in production mode 2013-09-02 21:38:05 -04:00
Tyler Renelle 62a10d4b28 cleanup 2013-09-02 19:03:45 -04:00
Tyler Renelle 7f68fd017a rewrite: add big update notification, small bug fixes 2013-09-02 17:15:12 -04:00
Tyler Renelle 36e6772967 temp fix to #1388 2013-09-02 16:19:49 -04:00
Tyler Renelle 5fd095165d temp fix to #1388 2013-09-02 15:54:32 -04:00
Tyler Renelle 687da68d52 rewrite: add read-only inventory. fix empty pet issue, it was the wrong
casting type UserSchema.items.eggs.type
2013-09-02 14:26:59 -04:00
Tyler Renelle ef9e1f3444 rewrite: push login modal to the front page, don't allow anonymous
usage.
2013-09-02 01:08:28 -04:00
Tyler Renelle 3bd6771687 fix "already pending invite" 2013-09-01 23:07:50 -04:00
Tyler Renelle 4862968925 groups: proper joining & leaving groups 2013-09-01 22:08:01 -04:00
Tyler Renelle f5f6c957de groups: try to update GroupsCtrl scope to notify of joined / left
groups, not working
2013-09-01 21:31:38 -04:00
Tyler Renelle 306e4de7e7 groups: fix create & leave 2013-09-01 20:57:01 -04:00
Tyler Renelle 010995b38b api: createGroup 2013-09-01 20:50:36 -04:00
Tyler Renelle ac992ea865 groups: misc groups fixes 2013-09-01 20:24:44 -04:00
Tyler Renelle 9befe8a7f8 api: move middleware up before app.router 2013-09-01 18:20:39 -04:00
Tyler Renelle fb0ffd075e rewrite: converted static pages, removed old unused static pages 2013-09-01 13:30:53 -04:00
Tyler Renelle 633d6fdb52 api: group invitations, leave, join 2013-09-01 11:33:39 -04:00
Tyler Renelle 14ddad958e join & leave guilds 2013-08-31 23:35:53 -04:00
Tyler Renelle bc4798b354 groups: big changes here i may decide to revert. GET /api/v1/groups
optionally takes ?type=guilds (guilds, party, tavern, public). this
allows us to incrementally load the app as they click through the tabs,
because guilds is really large (1.5mb!) - gotta cut this down
somehow. The big issue is requireing return values as an array, so
ngResource can work with the response (subsequent group.$postChat(),
group.$join(), etc.). The array format doesn't really work out that
well, so I may scrap
2013-08-31 22:59:35 -04:00
Tyler Renelle e069718da7 rewrite: add basic chat functionality, `POST
/api/v1/groups/:gid/chat` (which returns chat list). Some bugs present
2013-08-31 19:14:58 -04:00
Tyler Renelle 62ebd9aae6 rewrite: misc. fixes, & back to bootstrap-vanilla tabs for
options. angular-bootstrap tabs were too slow
2013-08-31 18:17:57 -04:00
Tyler Renelle 45383a9630 rewrite & api: use mongoose populate to replace group.members array with
popualte member objects. this puts a load on the front-end, we'll need
to optimize! also added some duplicates sanitization.
2013-08-31 17:47:03 -04:00
Tyler Renelle 488c5b3e64 rewrite: uhoh, controller scoping issues due to
angular-bootstrap#0.4.0. We can't use 0.5.0 bacause it can't handle
nested tabs. we may have to scrap it altogether
2013-08-29 23:57:00 -04:00
Tyler Renelle 17a9469370 rewrite: start implementing groups. Note angular-bootstrap 0.4.0 required for nested tabs 2013-08-29 22:11:52 -04:00
Tyler Renelle 39dc60ade6 api: be sure to flag user as modified if cron was run 2013-08-29 12:07:29 -04:00
Tyler Renelle e568a5ba31 api & rewrite: buy gems, reroll, fully converted server to JS, bug fixes 2013-08-29 01:45:54 -04:00
Tyler Renelle afb510fe84 rewrite & api: add reroll api route POST /api/v1/user/reroll. pretty bad
interface on client for now since I can't get the UI to update, have to
refresh. will revisit. routes/api.coffee => routes/api.js
2013-08-29 00:20:38 -04:00
Tyler Renelle ad67cbcc1c rewrite: begin the great server-side javascript migration 2013-08-28 23:21:06 -04:00
Tyler Renelle 10b0c9f9a5 api & rewrite: implement clear-completd at POST /api/v1/user/clear-completed 2013-08-28 22:51:45 -04:00
Tyler Renelle 2219068fad api & rewrite: add party members! need to optimize! 2013-08-28 22:08:59 -04:00
Tyler Renelle 7343faca6e api: add Group model & GET /groups api route, returns {party, guilds, public} 2013-08-28 21:20:26 -04:00
Tyler Renelle ab9b6e47cf rewrite: hack for transient filters for now, fix later 2013-08-28 19:40:50 -04:00
Tyler Renelle f956570593 rewrite: start adding filters / tags 2013-08-28 18:57:25 -04:00
Tyler Renelle 72a26d35bb API: very rudimentary implementation of _v. We'll have a proper
implementation in APIv2, but this will help with performance for rewrite
& mobile
2013-08-28 17:21:36 -04:00
Tyler Renelle bbab8eb73c rewrite: fix sortables. we need to change the way this api route handles
sorting, it's really inconsistent - especially for the batch-update routec
2013-08-28 14:04:54 -04:00
Tyler Renelle 7fba8db654 rewrite: add footer deferrred scripts, plus middwlare for sending node
envs to jade
2013-08-28 12:53:55 -04:00
Tyler Renelle e355627bf0 rewrite: add footer 2013-08-28 00:20:50 -04:00
Tyler Renelle 7bfaac80a7 rewrite2 big one: add ngRoute for /#/tasks & /#/options. requires 2
/partial routes on server. code cleanup & reorganization, remove a lot
of return statements (coffeescript compiled)
2013-08-27 21:13:05 -04:00
Tyler Renelle 4841c4d54e allow purchasing potion on API 2013-08-25 20:39:54 -04:00
Tyler Renelle 3c45220e1f rewrite2 WIP 2013-08-24 23:54:08 -04:00
Tyler Renelle 449ea620af mongoose WIP: use mongoose in API routes, instead of Racer. Add mongoose middleware to perform proper Derby <-> API transformations. some safe-guarding of PUT /user paths, send error messages if they're using the old way. remove task deletion & addition from PUT /user 2013-08-24 18:52:29 -04:00
Tyler Renelle 85845d726a static-groups: no need for parallel fetchs, squash them to a single fetch 2013-08-21 01:00:13 -04:00