Tyler Renelle
68155045d1
classes: Fix migration (some users had 1e+18+ for "restore user" values, causing script
...
to crash). Default to skin_c06534
2013-12-14 19:26:01 -07:00
Tyler Renelle
dc348d5601
[ #1969 ] add in @Fandekasp's shirts, had to do separate commit for handling of
...
user.preferences.shirt
2013-12-14 00:35:03 -07:00
Tyler Renelle
549add08ed
classes: 2gems / new hair,beard,stache
2013-12-13 22:56:00 -07:00
Tyler Renelle
c85450db04
classes: add task attributes for point allocations
2013-12-13 17:50:43 -07:00
Tyler Renelle
9d9b8120cd
classes: migrate priority from !,!!,!!! to Number (prep for passive stats)
2013-12-12 20:59:20 -07:00
Tyler Renelle
d9bef28c5d
migrate flags.rest => preferences.sleep
2013-12-12 20:59:16 -07:00
Tyler Renelle
d4e0ae85a0
[ #1977 ] port pet-feeding to user.ops, so that it's now available in the API. Also add handling of 200 errors to simply notify and continue on up to server (friendly messages)
2013-12-12 15:58:17 -07:00
Tyler Renelle
ee1cd3c05d
[ #1977 ] APIv2 WIP - start of a framework where operations are shared
...
between client & server. If the op is called on the client, it updates
the user & then POSTs to the server with op of the same name. If called
on server, it updates the user and user.save()s
2013-12-11 21:42:57 -07:00
Tyler Renelle
714dad6e91
classes: small bug fixes
2013-12-07 20:41:48 -07:00
Tyler Renelle
59f8727cbf
classes: small tweaks
2013-12-07 11:31:11 -07:00
Tyler Renelle
c51cdd0849
classes: proper handling of items on class-switch, un-equipping items,
...
etc. Paves way for item-loss on death. See habitrpg-shared#acae9c3
2013-12-06 15:41:58 -07:00
Tyler Renelle
ad0c953d0a
classes: misc spell-casting fixes, support party spells
2013-12-05 11:05:47 -07:00
Tyler Renelle
dde0655900
classes: fixes to class-selection & reroll, remove show/hide gear since
...
we're using costumes
2013-12-04 23:53:55 -07:00
Tyler Renelle
5fea978e6b
costumes: add costume support in inventory
2013-12-04 22:50:20 -07:00
Tyler Renelle
55d0a0a94d
classes: fix customizations based on habitrpg-shared#9821a88
2013-12-04 15:09:56 -07:00
Tyler Renelle
19b6eb73e0
Merge branch 'develop' into classes
...
Conflicts:
public/css/index.styl
src/models/user.js
views/options/profile.jade
views/shared/header/avatar.jade
views/shared/tasks/lists.jade
views/shared/tasks/task.jade
2013-12-02 18:24:33 -07:00
Tyler Renelle
91c141140d
classes: armory WIP
2013-11-30 16:33:21 -07:00
Nick Gordon
9bb4e2c272
update userschema to use specialPets from habitrpg-shared https://github.com/HabitRPG/habitrpg-shared/pull/45
2013-11-29 09:06:13 -08:00
Tyler Renelle
7c20988c41
Merge branch 'thanksgiving' into develop
2013-11-27 11:53:18 -07:00
Tyler Renelle
db5befb570
thanksgiving turkey & npcs
2013-11-27 11:50:18 -07:00
Matteo Pagliazzi
d3eed2282c
fix custom day start, @lefnire we may have to restore old values or make a bailey announcement about this, also client-side the validation prevents deleting the old value, it only allows to use the increase/decrease button or selecting the old value and replacing it
2013-11-27 16:08:34 +01:00
Tyler Renelle
2b128f71f4
[ #1532 ] add better validation on preferences.dayStart, and a migration to
...
cleanup corrupt ones
2013-11-26 15:18:20 -07:00
Tyler Renelle
e9467dc466
Merge pull request #1896 from Fandekasp/party_members_order
...
Party members order
2013-11-23 16:52:31 -08:00
Tyler Renelle
83e3a6aff2
classes WIP
2013-11-23 16:59:41 -07:00
Adrien Lemaire
5579030d20
party.order set and cases added
2013-11-23 21:18:33 +11:00
Tyler Renelle
123c515cbb
challenges: only push history for dailies / habits
2013-11-22 23:22:24 -07:00
Tyler Renelle
c2b8a62749
[ #1879 ] separate task schema types into habitschema, dailyschema, etc to reduce server load and to ensure the proper default type (some people are getting habits in the wrong columns)
2013-11-22 17:12:43 -07:00
Tyler Renelle
18d6bed3b8
[ #1879 ] separate task schema types into habitschema, dailyschema, etc to reduce server load and to ensure the proper default type (some people are getting habits in the wrong columns)
2013-11-22 17:07:27 -07:00
Matteo Pagliazzi
bca346e616
use _.isFunction
2013-11-20 18:56:40 +01:00
Matteo Pagliazzi
56437d499e
hotfix for pet count on server
2013-11-20 18:55:03 +01:00
Matteo Pagliazzi
4bedefbc57
use helpers.countPets on server, fix client side pet count
2013-11-20 18:48:48 +01:00
Adrien Lemaire
7c15f09e03
code logic to update preferences
2013-11-19 11:22:41 +11:00
Tyler Renelle
b762ecba81
admin: add list of contributors. Add contributor.contributions, textarea for links of contributions for tracking. move all admin stuff to dedicated controller & routes
2013-11-15 19:27:23 -08:00
Tyler Renelle
550ca394a9
groups: remove _v for now, it's causing issues (cast to Number failed
...
for Object) and I don't know why
2013-11-14 20:30:48 -08:00
Tyler Renelle
224cbe2277
pets: better fix than 64ac920 , and unsets beastmaster if wrongly set
2013-11-14 13:49:59 -08:00
Tyler Renelle
64ac920ca7
pets: fix to beastmaster with new pet system
2013-11-14 13:25:00 -08:00
Tyler Renelle
4c3f04cc49
Merge branch 'mounts' into develop
...
Conflicts:
views/options/inventory/stable.jade
2013-11-14 13:04:44 -08:00
Tyler Renelle
10e9c205e6
Merge branch 'translations' into develop
...
Conflicts:
locales/bg/app.json
locales/nl/app.json
2013-11-13 23:37:29 -08:00
Adrien Lemaire
153d1957a8
clean code from websites
...
Need review !
2013-11-14 15:20:35 +11:00
Matteo Pagliazzi
154a652726
middleware.locals back to a middleware, use user specified language if avalaible, list of avalaible languages avalaible in window.env
2013-11-12 15:57:46 +01:00
Tyler Renelle
244fe63bdd
mounts: add support for rare mounts
2013-11-10 14:36:40 -08:00
Tyler Renelle
60421a85cc
mounts: revamp UserSchema.items to store all animal-related items as
...
objects rather than arrays. Preparation for the mount system
2013-11-09 20:14:35 -08:00
Matteo Pagliazzi
3a332c4c45
port beastMaster achievement, @lefnire shown client side but not set, using user.pre("save") for setting
2013-11-08 22:33:48 +01:00
Tyler Renelle
7c94b4b6d3
contrib: add contributor achievement modal
2013-11-07 13:42:29 -08:00
Tyler Renelle
d679fa1e62
contrib: add Admin page to update contributor status. Start migrating from User.backer => User.contributor
2013-11-06 15:59:56 -08:00
Tyler Renelle
cde3bb4c69
user._v & group._v fixes
2013-11-04 13:43:24 -08:00
Tyler Renelle
15d9e33252
[ #1745 ] task.date as string instead of date
2013-11-04 09:12:32 -08:00
Tyler Renelle
7161ddf70e
bug fix on saving chal
2013-11-04 09:08:30 -08:00
Tyler Renelle
aa8cdfb198
bug fix to challenge.tasks._id out of sync
2013-11-03 22:47:20 -08:00
Tyler Renelle
452c4e1ece
[ #1729 ] move most chal-user syncing logic to their models rather than
...
controllers. don't sync task.value or task.history over to user on
challenge.join()! some work-arounds for the task._id/id mismatch (still
not perfect, need to work on some more)
2013-11-03 22:33:53 -08:00