Tyler Renelle
188db745fc
allow users to trigger "missed day" manually from Restore modal
2013-11-05 17:43:43 -08:00
Matteo Pagliazzi
63b4e5152e
better fix #1740
2013-11-04 15:21:05 +01:00
Matteo Pagliazzi
774ded9fb2
fix #1740
2013-11-04 15:17:09 +01:00
Matteo Pagliazzi
33c78c7168
more fixes for guild leaving
2013-11-03 12:12:43 +01:00
Matteo Pagliazzi
126fd55ec6
update guild member count
2013-11-03 12:00:57 +01:00
Matteo Pagliazzi
06f6dc0a43
better guild join/leave
2013-11-03 11:58:42 +01:00
Matteo Pagliazzi
d024470abe
update gem count after guild creation
2013-11-02 10:04:31 +01:00
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
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
cd97cc1e24
hotfix for streak bonus being given when selling item for gold
2013-10-27 13:44:04 +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
Tyler Renelle
ef972bf70d
[ #1540 ] add restore option for streak achievement
2013-10-24 11:04:35 -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
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
44cb797063
migrate: flags.ads -> purchased.ads (boolean); flags.newStuff to boolean
2013-10-22 18:50:50 -07:00
Tyler Renelle
f59d5b056c
Merge branch 'halloween' into develop
2013-10-22 17:57:57 -07:00
Tyler Renelle
6f32ac2a24
halloween: purchase full set
2013-10-22 13:59:30 -07:00
Tyler Renelle
619c00fb5c
halloween: some unlocking bug fixes (appears a markModified was required)
2013-10-22 13:37:55 -07:00
Tyler Renelle
d184237c79
halloween: begin adding mechanic for the special skins
2013-10-22 13:24:31 -07:00
Matteo Pagliazzi
c4882942d6
fix chart shown below task edit form
2013-10-21 20:41:19 +02:00
Tyler Renelle
2cf814acd6
drops: description on combining eggs/potions, selling to
...
alex. de-selectable drops. sell in a button of alex's dialog
2013-10-19 23:44:03 -07:00
Tyler Renelle
e4f2a4386d
eggs: bug fixes on selling potions
2013-10-19 20:22:12 -07:00
Tyler Renelle
c882525150
eggs: add ability to sell potions / eggs
2013-10-19 20:04:26 -07:00
Tyler Renelle
017398eb83
eggs: some cleanup and passing around of $index so we can retrieve
...
egg/pot value
2013-10-19 19:58:11 -07:00
Tyler Renelle
be624a03b0
pets: basic framework for selecting both eggs & potions. now it shows which is hatchable with green background, setting up for selling eggs
2013-10-19 19:30:39 -07:00
Tyler Renelle
c52bbc8f0d
graphs: hack 300px width on charts because I can't figure out how to
...
make 100% work
2013-10-19 16:42:29 -07:00
Tyler Renelle
cef8431af0
charts: port toggleChart back in (functional, but it's not getting the
...
right width)
2013-10-19 16:15:48 -07:00
Tyler Renelle
5d46793373
Merge pull request #1591 from djuretic/develop
...
Tests for AuthCtrl
2013-10-15 19:59:47 -07:00
Matteo Pagliazzi
68426c7ccb
profile edits saved only on click
2013-10-13 20:47:59 +02:00
Matteo Pagliazzi
4e56df0e82
restore values saved only when Save is clicked
2013-10-13 19:58:13 +02:00
Tyler Renelle
f8328d3eeb
paypal: add configurable merchant and sandbox/production environment
2013-10-12 19:22:06 -07:00
Dušan Juretić
89b4d2ece0
authCtrl tests now working, replaced window for $window
2013-10-12 22:46:13 -03:00
Tyler Renelle
5de0c928fe
paypal: conslidate buy gems modals
2013-10-12 16:51:01 -07:00
Matteo Pagliazzi
993a255c46
may be fix for #1560
2013-09-22 17:29:16 +02:00
Matteo Pagliazzi
93aab9d459
typo
2013-09-21 16:14:19 +02:00
Matteo Pagliazzi
55661a6659
typo
2013-09-20 18:05:01 +02:00
Matteo Pagliazzi
2c2367cf7c
update store, fix #1553
2013-09-20 18:04:20 +02:00
Matteo Pagliazzi
2c32095924
confirmation when leaving party or guilds, fix #866
2013-09-18 20:09:35 +02:00
Dušan Juretić
c6472bc615
fix hardcoded total pets count
2013-09-18 11:07:23 -03:00
Tyler Renelle
9ec3c4aaed
fix so admins can delete chat msgs
2013-09-18 09:06:51 -04:00
Tyler Renelle
082bfd46da
Merge branch 'develop' of github.com:lefnire/habitrpg into develop
2013-09-17 14:16:11 -04:00
Tyler Renelle
36b3a77877
[ #1397 #1543 #1540 ] start adding in unlock notifications (working for some, not for all). Also some tour & header fixes
2013-09-17 14:10:10 -04:00
Matteo Pagliazzi
66a8af5959
Merge pull request #1545 from djuretic/develop
...
Profile: allow deletion of websites
2013-09-17 10:50:04 -07:00
Tyler Renelle
1c7081495f
misc cleanup
2013-09-17 12:52:51 -04:00
Tyler Renelle
f26b0a2cf5
[ #1394 ] add drop notifications back in
2013-09-17 12:16:16 -04:00
Tyler Renelle
9d633eceaf
[ #1394 ] bug fixes
2013-09-17 12:04:46 -04:00
Tyler Renelle
0fc413f3b7
[ #1394 ] move notifications from controller to service, lots of notification
...
fixes, put streak notification back in
2013-09-17 11:43:05 -04:00
Dušan Juretić
2c8a5b5ff8
remove website in edit profile page works
2013-09-16 22:58:20 -03:00
Tyler Renelle
dc303f83c1
[ #1221 ] misc bug fixes on backer.* doesn't exist in chat, default backer &
...
preference attrs in user model
2013-09-13 15:10:47 -04:00
Tyler Renelle
2f8c9fea78
[ #1516 ] fixes to handling user.invitations.guilds - both accept & reject
2013-09-11 17:16:23 -04:00
Matteo Pagliazzi
48c078a6ea
various fixed
2013-09-11 20:08:53 +02:00
Matteo Pagliazzi
1342a2cb89
fix reject guild function
2013-09-11 17:07:38 +02:00
Matteo Pagliazzi
8e377d7343
fix various guilds issues
2013-09-11 16:28:14 +02:00
Tyler Renelle
a7e99d0ac0
[ #1396 ] add ability to show tour at any time. Also add ability to show
...
Bailey at any time
2013-09-10 18:36:10 -04:00
Tyler Renelle
598c4445ff
[ #1396 ] setup tour, using user.flags.showTour now instead of
...
localStorage. double check with #1507
2013-09-10 18:06:16 -04:00
Tyler Renelle
89fabc38cb
add "member since" in modal
2013-09-09 18:56:46 -04:00
Tyler Renelle
e1828153dd
[ #1489 ] add edit-gropu server route, basic editing of group info for now (with markdown!)
2013-09-09 17:09:45 -04:00
Tyler Renelle
09963ee30a
[ #1489 ] WIP start adding group edit. remove angular-ui-bootstrap accordion as it
...
was causing problems.
2013-09-09 16:15:57 -04:00
Tyler Renelle
4caec6f737
[ #1444 ] implement delete-tag (incl server route). run tags-cleanup migration
2013-09-09 00:04:02 -04:00
Tyler Renelle
f99b496a29
[ #1444 ] add filters back to use schema. Allow editing of top-level tags
...
object in PUT /user, WARNING! We want to get away from that ASAP and
instead have a nested resource for managing tags. Set default task tags
if not present, will revisit after tasks are a subdoc too
2013-09-08 23:28:34 -04:00
Tyler Renelle
55dffcc317
[ #1476 ] re-order "you already have this combo" message to bail early
2013-09-08 22:42:59 -04:00
Tyler Renelle
5c5212eb0e
[ #1477 ] add delete account
2013-09-08 15:17:49 -04:00
Tyler Renelle
f250a98fb7
[ #1477 ] add reset account
2013-09-08 15:11:04 -04:00
Tyler Renelle
5e51148f8e
[ #1477 ] port settings modals to jade, implemented restore
2013-09-08 13:23:37 -04:00
Tyler Renelle
aad034564e
[ #1459 ] add profile-editing (note, it requires bluring the input fields for
...
changes to go through - this is a pretty assuming solution, but I doubt it
will cause problems)
2013-09-08 12:28:06 -04:00
Tyler Renelle
0b34b41bbe
fix to toggle helm
2013-09-08 11:39:30 -04:00
Matteo Pagliazzi
c9f3d3029c
delete chat message
2013-09-08 17:22:03 +02:00
Tyler Renelle
0ccdb48751
[ #1468 ] hatchingPotion purchasing fix. also some temp hacks to get the UI to update
2013-09-07 19:06:41 -04:00
Tyler Renelle
5cb8238b7c
change badge from master => royal
2013-09-07 15:31:36 -04:00
Tyler Renelle
a960d310f7
[ #1465 ] allow clicking self for modal
2013-09-07 13:59:49 -04:00
Tyler Renelle
69faa27f68
[ #1465 ] bug fixes to achievements listing
2013-09-07 13:38:43 -04:00
Tyler Renelle
91d1cdf361
[ #1465 ] add member modals back in. Not all info is present, just a bit more
...
work. Can now click guild & tavern members! does lazy-loading of members
so we don't have to load all their information at once
2013-09-07 12:45:39 -04:00
Tyler Renelle
e23acc4c0a
Merge branch 'paglias/grunt' into develop
2013-09-06 22:23:02 -04:00
Matteo Pagliazzi
7cd075d787
initial grunt support, gzip enabled
2013-09-06 19:19:43 +02:00