Matteo Pagliazzi
b08a30a76b
Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop
2013-11-02 09:54:44 +01:00
Matteo Pagliazzi
5a103db716
upgrade lodash to 2.2.1
2013-11-02 09:52:48 +01:00
Tyler Renelle
08498e37ac
[ #1718 ] don't 404 for group not found
2013-11-02 01:38:51 -07:00
Matteo Pagliazzi
898adfdc13
fix when leaving public guild
2013-11-02 09:34:56 +01:00
Tyler Renelle
8ae75e09c5
[ #1716 ] use ui-router to collapse challenge participants (WIP)
2013-11-01 23:46:14 -07:00
Tyler Renelle
87bc7fd722
[ #1710 ] fix to party-in-header
2013-11-01 20:32:43 -07:00
Tyler Renelle
62b2d5780b
[ #1710 ] some simplification on Groups memoization. No need for all that
...
special handling of Header Party, just have it's own controller and do
specific-handling. Also, removing MenuCtrl & StatsCtrl - they weren't
used TMK, I think twas a vestige of mobile. @paglias give that a gander
2013-11-01 20:15:04 -07:00
Matteo Pagliazzi
03b945d755
update memberCount & typo
2013-11-01 21:18:31 +01:00
Matteo Pagliazzi
f7dba5f323
avoid reloading for group operations
2013-11-01 21:08:36 +01:00
Matteo Pagliazzi
eccc9a7953
Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop
2013-11-01 18:33:54 +01:00
Matteo Pagliazzi
3562079ba6
small design tweaks, fix #1682
2013-11-01 18:33:50 +01:00
Tyler Renelle
7037e1c8eb
[ #1672 ] don't allow clicking checkboxes on challenge-editing page
2013-11-01 10:20:14 -07:00
Tyler Renelle
dfeae89a07
challenges: minimum 1 gem for public challenges
2013-10-31 19:30:07 -07:00
Tyler Renelle
0ce76ee689
[ #1673 ] challenges: better tag-syncing, show tag bull-horn
2013-10-31 17:49:51 -07:00
Tyler Renelle
baf52db594
[ #1670 ] don't refresh on challenge create/join/leave (meh, workaround)
2013-10-31 16:39:26 -07:00
Tyler Renelle
d8218927e5
add debug buttons back in, including +10 gems (@sabrecat)
2013-10-31 15:14:19 -07:00
Tyler Renelle
39821752fa
challenges: move options/challenges to options/social/challenges
2013-10-31 14:37:04 -07:00
Tyler Renelle
d5e78266e5
challenge prize: various fixes. Woo, challenge prizes work now!
...
@sabrecat @lemoness @wc8 (still some bugs & cleanup, but it's mostly there)
2013-10-31 14:06:18 -07:00
Tyler Renelle
693061c77b
challenge prize: award winner 1 achievement and challenge.prize gems. then close challenge.
2013-10-31 13:57:12 -07:00
Tyler Renelle
f6ebd9997e
challenge gems: popover for closing (delete or select winner)
2013-10-31 13:26:18 -07:00
Tyler Renelle
13fa947c57
challenge prize: add to challenge creation form (including min/max validation)
2013-10-31 11:44:50 -07:00
Matteo Pagliazzi
70c630fcc9
Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop
2013-10-31 17:35:20 +01:00
Matteo Pagliazzi
904677e3a6
try to limit need to refresh after party operations, @lefnire this is only for parties and I got it working only for removeMember and leave party because I could not get join & create working
2013-10-31 17:35:04 +01:00
Tyler Renelle
931e8125b4
[ #1693 ] make revive available to /options too
2013-10-31 09:34:12 -07:00
Matteo Pagliazzi
fc10e9d6e6
move party.removeSelf to client side
2013-10-31 15:41:22 +01:00
Tyler Renelle
f5a1ec96f9
[ #1679 ] wrong cancel check
2013-10-31 01:24:47 -07:00
Tyler Renelle
d2c50dc02f
challenges: GET /groups now returns a merged array of groups, rather
...
than structured object of {public,guilds,party,tavern}. I was having
trouble with ngResource without doing this, @paglias let me know what
you think
2013-10-30 15:14:08 -07:00
Tyler Renelle
28cdeb0ac6
challenges: fixed joining / leaving groups. Back to the old method of Group.query({type:'public'}), etc - since ngResource can only work with top-level objects. This approach is bad performance (two calls), I'll fix when I can think of a better way of organizing groups requested at GET /groups
2013-10-30 14:50:49 -07:00
Matteo Pagliazzi
e2331e5194
added growl style notification for errors
2013-10-30 19:29:46 +01:00
Tyler Renelle
ff3266bac8
get rid of ngRoute completely, depend on ui-router instead
2013-10-30 10:31:36 -07:00
Tyler Renelle
ea54f0aa75
challenges: implement basic filters on challenges tab
2013-10-30 01:21:44 -07:00
Tyler Renelle
d116ac7b81
challenges: lots of misc. bug fixes
2013-10-29 22:30:58 -07:00
Tyler Renelle
6e71a76e22
challenges: back to dealing with taskLists from scopes, rather than the
...
habitrpg-tasks directive. Was having trouble accessing it by reference
otherwise. Would love to move off of the directive entirely and use
ng-include instead, but some scope issues with lists
2013-10-29 19:07:39 -07:00
Tyler Renelle
02ebc536ca
challenges: get Challenges (mostly) working along the same ui-router
...
principles as groups. Having some $scope variable resolution timing issues
2013-10-29 17:49:49 -07:00
Tyler Renelle
77fee06fdb
gMerge branch 'challenges' into develop
...
Conflicts:
migrations/20131028_cleanup_deleted_tags.js
src/controllers/groups.js
views/options/groups/group.jade
views/options/profile.jade
2013-10-29 15:38:47 -07:00
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
Matteo Pagliazzi
fd952701db
groups, list users invited with ability to remove their invitation, @lefnire i used group.invites from Group Schema which was already defined but not used by anything, fix #1523
2013-10-29 18:01:01 +01:00
Matteo Pagliazzi
6af71f0e44
better group invite handling
2013-10-29 16:50:28 +01:00
Matteo Pagliazzi
19433f7100
remove old code
2013-10-28 22:22:33 +01:00
Matteo Pagliazzi
36229ac44c
port assign group leader
2013-10-28 22:21:18 +01:00
Matteo Pagliazzi
5744146ff6
port group websites
2013-10-28 21:58:38 +01:00
Matteo Pagliazzi
6ee1b14e97
dismissable errors and warnings, fix #1580
2013-10-28 20:16:40 +01: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
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