Commit Graph

3064 Commits

Author SHA1 Message Date
Tyler Renelle d9d769a0e1 challenges: much better implemntation of ui-router for nested groups. No
need to specify fields or populate members at /groups - instead, provide
that functionality at /groups/:gid
2013-10-29 15:25:50 -07:00
Tyler Renelle be657a76e0 challenges: pass down if user is member of group (group._isMember) for
performance. some bug fixes
2013-10-29 12:26:13 -07:00
Tyler Renelle 219318b405 challenges: remove username(), since we're now using user.profile.name 2013-10-28 18:20:21 -07:00
Tyler Renelle c5671550f1 challenges: add group.memberCount and ability to specifiy field projections in GET request /api/v1/groups?type=guild&fields=name,description,chat 2013-10-28 18:20:02 -07:00
Tyler Renelle 4ac0ef4ac2 challenges: migration script for TaskSchema subdocs, cleanup tags, remove old challenges 2013-10-28 12:27:50 -07:00
Tyler Renelle 35c4a62de0 challenges: switch from ngRoute to ui-router 2013-10-28 11:34:08 -07:00
Tyler Renelle f178eb2322 challenges: better lock-down on member's tasks (remove actionable items
except stats)
2013-10-28 11:34:08 -07:00
Tyler Renelle d62586ef0a challenges: stats setup 2013-10-28 11:34:08 -07:00
Tyler Renelle 44d67ac9f8 UserSchema: set default profile.name (either from facebook or username)
if not provided. This way we can remove the expensive username() helper
function throughout our html
2013-10-28 11:34:08 -07:00
Tyler Renelle a078889d58 challenges: sync score to challenge, lotsa bug fixes 2013-10-28 11:34:07 -07:00
Tyler Renelle e52d0a156a challenges: better syncing of new, updated, & deleted tasks from
challenge to user. start with task.challenge.broken code
2013-10-28 11:34:07 -07:00
Tyler Renelle d60a56432f challenges: better unlinkig of tasks on unsubscribe 2013-10-28 11:34:07 -07:00
Tyler Renelle fa25f3d300 challenges: WIP beginning challenges feature. some basic CRUD & some
basic subscribe / unsubscribe functional (but buggy)
2013-10-28 11:34:07 -07:00
Tyler Renelle e45d8307e7 Subdocs & script templates. Migrate the API from User.tasks =>
User.habits/dailys/todos/rewards. Move /#/tasks & /#/options page
loading from server-sent html to everything loaded in the page as script
templates (including necessary fixes for adsense). NOTE: this commit
won't work, it depends a bit on the *next* commit with Challenges
functionality, but I wanted to separate it out a bit for clarity
2013-10-28 11:34:07 -07:00
Tyler Renelle e81193ef28 challenges: pull in updates from the old 0.5 branch 2013-10-28 11:34:07 -07:00
Matteo Pagliazzi e0c95b3a86 port member modal to group members list, fix #1656 2013-10-28 18:27:03 +01:00
Matteo Pagliazzi 34fedca239 always use removeSelf only for parties 2013-10-28 18:08:21 +01:00
Tyler Renelle da563042dc Merge pull request #1654 from HabitRPG/paglias/remove-deleted-tags
Migration to remove deleted tags from tasks
2013-10-28 09:25:41 -07:00
Matteo Pagliazzi c444feb29c removeMember return whole group 2013-10-28 17:18:15 +01:00
Matteo Pagliazzi 23c3bcfa32 add ability to group leader to remove members, fix #1639 2013-10-28 17:10:29 +01:00
Matteo Pagliazzi 9e21974108 revert previous commit, reload after party invite accept 2013-10-28 16:24:40 +01:00
Matteo Pagliazzi e8173a4962 remove need to refresh after having accepted party invite 2013-10-28 16:21:53 +01:00
Matteo Pagliazzi ffdfe0b734 migration to remove deleted tags from tasks 2013-10-28 15:55:34 +01:00
Matteo Pagliazzi cd97cc1e24 hotfix for streak bonus being given when selling item for gold 2013-10-27 13:44:04 +01:00
Matteo Pagliazzi c9ff96af6c added small notice about password manager 2013-10-27 13:36:20 +01:00
Matteo Pagliazzi 24f3ba7b5c fix for gems not removed after guild creation, fix #1186 2013-10-27 13:03:03 +01:00
Matteo Pagliazzi a5af52a275 correctly award ultimategear achievement 2013-10-27 12:11:59 +01:00
Matteo Pagliazzi 39e37e1404 Merge pull request #1650 from HabitRPG/paglias/fix-1647
Fix #1647
2013-10-27 02:58:23 -07:00
Matteo Pagliazzi 8cdcbcf685 added comment for minimze: false 2013-10-27 10:55:43 +01:00
Matteo Pagliazzi e4b575dcb7 add minimize: false also to group schema 2013-10-27 10:55:05 +01:00
Matteo Pagliazzi c90b1e757c better fix for #1647 2013-10-27 10:49:32 +01:00
Matteo Pagliazzi 110986951b fix #1647 2013-10-27 10:18:23 +01:00
Matteo Pagliazzi d336c65633 Merge branch 'develop' of https://github.com/lefnire/habitrpg into develop 2013-10-26 18:16:38 +02:00
Matteo Pagliazzi 6b23530caa fix typo 2013-10-26 18:16:16 +02:00
Tyler Renelle 5d14a1811f Merge pull request #1637 from ozymandiasthegreat/manual-due-date
Manual due date
2013-10-24 12:45:42 -07:00
Matteo Pagliazzi 29f5eb5293 remove self from group after sending invite, fix #1509 2013-10-24 21:38:25 +02:00
Tyler Renelle ef972bf70d [#1540] add restore option for streak achievement 2013-10-24 11:04:35 -07:00
Tyler Renelle c7c8338316 Merge pull request #1642 from Shaners/develop
Adds red hair option for web.
2013-10-24 10:10:27 -07:00
Matteo Pagliazzi 1f8915f5de add api.deleteTag to batch update operations 2013-10-24 18:21:34 +02:00
Matteo Pagliazzi 211433858c correctly remove tag from task 2013-10-24 17:50:35 +02:00
Matteo Pagliazzi 715e4e42a5 remove console.log 2013-10-24 17:50:24 +02:00
Matteo Pagliazzi 3a45e72138 fix group chat syncing 2013-10-24 14:44:08 +02:00
Shaners 5fa398780f Adds red hair option for web. 2013-10-24 00:03:09 -07:00
J. Ozymandias Fallick 22b429242f Merge remote-tracking branch 'upstream/develop' into manual-due-date 2013-10-23 14:34:36 -04:00
Tyler Renelle b23ce8426b fix to editing profile: "TypeError: Cannot call method 'toString' of undefined" 2013-10-23 10:25:43 -07:00
Matteo Pagliazzi fe52731393 fix small error on startup 2013-10-23 18:49:14 +02:00
Matteo Pagliazzi 20f2d75bbf add streak achievement notification 2013-10-23 17:57:02 +02:00
Matteo Pagliazzi f56b76b5ae Merge branch 'develop' of https://github.com/lefnire/habitrpg into develop 2013-10-23 16:38:37 +02:00
Matteo Pagliazzi 0c7ba32c6b fix #1635 2013-10-23 16:38:05 +02:00
Tyler Renelle 9397c13960 add an "oh-shit" backtrack migration 2013-10-22 20:56:13 -07:00