Commit Graph

202 Commits

Author SHA1 Message Date
Blade Barringer b70597e1d1 Merge pull request #6122 from crookedneighbor/batch_update_adjustment
Batch update adjustment
2015-10-27 21:35:19 -05:00
Blade Barringer ed464a2b70 Merge pull request #6127 from crookedneighbor/reinstate_amplitude
Reinstate amplitude
2015-10-27 21:35:10 -05:00
Blade Barringer a7c52e6086 Reinstate amplitude analytics 2015-10-27 19:37:57 -05:00
Matteo Pagliazzi 3bae95d3ae remove console.log for push notifications 2015-10-27 22:11:47 +01:00
Matteo Pagliazzi d05b00fb34 fix(analytics): enable analytics and correctly export methods 2015-10-27 17:39:37 +01:00
Matteo Pagliazzi 2443177729 fix(server): disable analytics until bug is fixed 2015-10-27 17:26:15 +01:00
Blade Barringer f9afc8a8c6 Reorganize development user operations 2015-10-27 08:48:18 -05:00
Blade Barringer 4886b50aa3 Add testing for batch update. Handle unknown operations better. 2015-10-27 08:13:30 -05:00
Alys a29c412781 prevent addTenGems and addHourglass being used in production -- PRs https://github.com/HabitRPG/habitrpg/pull/6115 and https://github.com/HabitRPG/habitrpg/pull/6117 by nivl4 2015-10-27 18:31:17 +10:00
Blade Barringer 2790008937 Adjust error message to not point to a readme file that does not exist. 2015-10-26 17:27:08 -05:00
Blade Barringer 13bca6b9a9 Prevent class from being changed via PUT /user 2015-10-26 17:25:51 -05:00
Matteo Pagliazzi e75d3547c5 force emails to lowercase and use a lowercase version of username to check for duplicates 2015-10-21 13:14:18 +02:00
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