Commit Graph

190 Commits

Author SHA1 Message Date
Matteo Pagliazzi c7f8426bce preparation for code for lowercase emails and lowercase version of username to check for duplicates 2015-10-21 11:01:06 +02:00
Phillip Thelen 3a42711427 nicer style for default gem value 2015-10-19 12:48:50 +02:00
Phillip Thelen 4835de55a8 Adjust iap test 2015-10-15 00:09:24 +02:00
Phillip Thelen 319c294354 Fix global variable leak 2015-10-15 00:08:25 +02:00
Phillip Thelen b0922f04b8 Handle new possible iOS in-app-purchases 2015-10-14 23:21:19 +02:00
Dan Cecile 22284bbc24 Issue #2606 - Verify/fix indices during sortTask
Because the 'sortTask' operation uses a 'from' index and a 'to'
index as parameters, the server needs to check if these indices
are valid before performing the client's request. If the task ID
doesn't match the task at the 'from' index, then it's clear that
the client was looking at a preened list of todos (everything except
more-than-3-days-old-non-quest completed tasks). In that case, try
to recalculate the indices before continuing.
2015-10-06 21:24:34 -04:00
Matteo Pagliazzi a0f84bcf48 fix a few eslint rules 2015-09-25 15:58:39 +02:00
Blade Barringer 4c84728873 Removes quest from group if quest leader is booted 2015-09-15 18:10:31 -05:00
Blade Barringer a655242c49 Correct test assertion 2015-09-15 17:38:22 -05:00
Blade Barringer 9abe67b0ad Prevent quest leaders from leaving party
(cherry picked from commit dc43aa5902)
2015-09-15 16:41:50 -05:00
Blade Barringer f8850755d0 Correct leave call to prevent leaving if quest is in progress
(cherry picked from commit eddea562f4)
2015-09-15 16:41:25 -05:00
Blade Barringer e554309822 Add route to add a hourglass 2015-09-13 15:09:41 -05:00
Matteo Pagliazzi bfd6d055b0 merge into develop 2015-09-06 21:21:39 +02:00
Matteo Pagliazzi 995e3a796d store group name on firebase 2015-09-06 16:29:45 +02:00
Matteo Pagliazzi 521c999963 delete groups and users from firebase when deleted on habitica 2015-09-06 16:09:13 +02:00
Matteo Pagliazzi db0a73d332 add router to get firebase token for user 2015-09-05 16:21:46 +02:00
Matteo Pagliazzi c89cf20bd3 sync groups' members with firebase 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi e5f4898222 when last user is removed from private group, delete the group 2015-09-05 15:44:44 +02:00
Matteo Pagliazzi d5fb2afaa4 add Group.methods.leave, user is removed from groups when his account is deleted 2015-09-05 15:44:44 +02:00
Matteo Pagliazzi 0cd35a374a when last user is removed from private group, delete the group 2015-09-05 15:44:44 +02:00
Blade Barringer 807e6eb7cf Merge branch 'develop' into sabrecat/party-page 2015-09-04 19:00:48 -05:00
Blade Barringer 1d032a43a6 Format if else 2015-09-04 18:39:45 -05:00
Blade Barringer 0d78c01de3 Merge pull request #5877 from TheHollidayInn/guilds-user-becomes-lead-when-joins-empty-group
Groups now make joining user the leader when they are empty
2015-09-04 09:43:26 -05:00
TheHollidayInn 0adfcc3415 Groups now make joining user the leader when they are empty 2015-09-02 12:36:13 -05:00
Matteo Pagliazzi 7acec14e6b do not allow leaders to kick themselves from group 2015-09-01 16:33:24 +02:00
Blade Barringer fcf187fb47 Remove logic for removing quest info 2015-08-28 22:55:02 -05:00
Blade Barringer 342343d34f Prevent user from leaving party during active quest 2015-08-28 22:41:30 -05:00
Blade Barringer ce7d0039f8 Q-ify save functions 2015-08-24 17:36:06 -05:00
Blade Barringer f584b173c8 Add user scrub quest data back in 2015-08-24 12:58:31 -05:00
Blade Barringer 66d16fefc3 Send back 204 from questLeave route 2015-08-24 12:38:43 -05:00
Blade Barringer bc24fa8130 Add front end button to leave quest 2015-08-23 22:38:55 -05:00
Blade Barringer 0b7e43f156 Add route for leaving active quest 2015-08-23 20:29:57 -05:00
Blade Barringer fefcbd1d2f Merge branch 'develop' into sabrecat/party-page 2015-08-22 21:42:05 -05:00
Alys fd446fc5e5 convert habitica.com to BASE_URL 2015-08-23 12:23:35 +10:00
Blade Barringer 99d2b7f749 Merge branch 'develop' into sabrecat/party-page 2015-08-22 19:18:08 -05:00
Blade Barringer 8fc69102aa Merge branch 'develop' into 3onyc-fix-hash-leak 2015-08-22 17:45:47 -05:00
Blade Barringer 93f02363e5 Add feature to join new party if user is in a party of one 2015-08-22 12:19:37 -05:00
Blade Barringer 3153fbac3c Fix bug where mutliple user ids could not be saved 2015-08-21 08:19:39 -05:00
Blade Barringer 7fcfe6734b Correct spacing 2015-08-21 08:19:06 -05:00
3onyc 1c13c48bee Fix removing user salt+hash from API response 2015-08-16 17:04:24 +02:00
Alys 71a9f7caf4 make challenge permission error messages translatable 2015-08-16 17:30:51 +10:00
Alys 53f861f3c0 allow challenges to be edited, deleted, closed by admin users (moderators and staff) through the web UI (not by API calls) 2015-08-16 16:51:53 +10:00
Matteo Pagliazzi 289d288f38 fix typo 2015-08-14 15:02:46 +02:00
Matteo Pagliazzi d3c78bb890 revert dataexport controller changes 2015-08-14 15:02:16 +02:00
Matteo Pagliazzi e1620bad2b stringify into window.env only what we really need, save a lot of KBs 2015-08-14 14:53:17 +02:00
Matteo Pagliazzi 4993d67f2f export avatars to separate folder in s3 bucket 2015-08-13 14:12:32 +02:00
Alys 3e9cfdc437 Improve instructions in password reset email. Replace BASE_URL with habitica.com TEMPORARILY (Alys has a To-Do to revert this). 2015-08-09 20:07:27 +10:00
Blade Barringer 68f5a162fd Merge branch 'Lokeh_webhooks-more-details' into develop 2015-08-02 09:28:49 -05:00
Blade Barringer a960f5ef72 Revert back to toJSON() 2015-08-01 16:08:54 -05:00
Blade Barringer c7e751d662 Adjsut formatting 2015-08-01 14:04:33 -05:00