Commit Graph

11480 Commits

Author SHA1 Message Date
Blade Barringer
63b17f0173 Create method to reset habitica db 2015-10-18 08:47:14 -05:00
Blade Barringer
ece2985eb0 Return better error when connection can't be established 2015-10-18 08:46:47 -05:00
Blade Barringer
bab093b7ab Write get group tests 2015-10-18 07:15:35 -05:00
Blade Barringer
4fa82ba196 Update generated document with update object 2015-10-18 07:00:48 -05:00
Blade Barringer
9b2da51991 Create pending tests for unhandled behavior 2015-10-18 06:48:43 -05:00
Blade Barringer
82b133e8fc Add tests for creating groups 2015-10-18 06:38:22 -05:00
Blade Barringer
24001c5c66 Create generate group function 2015-10-18 06:15:38 -05:00
Blade Barringer
8f7ecf7d7c Rename uuid function 2015-10-18 06:03:22 -05:00
Blade Barringer
ab2b564a03 Update error check 2015-10-17 21:24:46 -05:00
Blade Barringer
477fb8edcb Add missing semicolon 2015-10-17 20:38:18 -05:00
Blade Barringer
7f5c556654 Add pending tests 2015-10-17 20:23:29 -05:00
Blade Barringer
680be3a641 Add delete user test 2015-10-17 20:18:44 -05:00
Blade Barringer
416f82ade7 Clean up user test 2015-10-17 20:18:37 -05:00
Blade Barringer
1d22382c16 Remove get user test from legacy script 2015-10-17 20:15:34 -05:00
Blade Barringer
75f63b1367 Add functionality to generate user to update user 2015-10-17 19:19:40 -05:00
Blade Barringer
7f6b392511 Add gulp watch task for api tests 2015-10-17 19:17:23 -05:00
Blade Barringer
c51caa0664 Add generate new user helper 2015-10-17 18:27:19 -05:00
Blade Barringer
5291d1a4e9 Add test for registering a user 2015-10-17 18:13:38 -05:00
Blade Barringer
de6a853aaf Adjust api helper 2015-10-17 18:05:44 -05:00
Blade Barringer
5d268c58de Adjust api test commands 2015-10-17 18:04:32 -05:00
Blade Barringer
0444a7d713 Move status test to own folder 2015-10-17 15:51:00 -05:00
Blade Barringer
ddf2ceeccd Change name of test 2015-10-17 15:05:32 -05:00
Blade Barringer
4a69dcbdf1 Remove status test from legacy infrastructure 2015-10-17 12:40:00 -05:00
Blade Barringer
5b729bf776 Merge branch 'develop' into new_api_test_infrastructure 2015-10-17 12:39:24 -05:00
Blade Barringer
02e9775ba7 Set up new api test structure 2015-10-17 12:37:17 -05:00
Blade Barringer
59e2b92dae Kill mocha test if not set to watch 2015-10-17 12:23:04 -05:00
Blade Barringer
9a14368170 Correct test commands 2015-10-17 12:22:04 -05:00
Blade Barringer
56baf59195 Add global module to mocha requires 2015-10-17 11:55:05 -05:00
Blade Barringer
aa9be8cb1a Update superagent 2015-10-17 11:46:57 -05:00
Blade Barringer
a61632fa92 Set up api tests 2015-10-16 21:56:46 -05:00
Blade Barringer
b26c8c3e74 Add api test task 2015-10-16 21:43:43 -05:00
Blade Barringer
c5b0e82acb Merge pull request #6057 from Vorgone/develop
Refactor API unit tests
2015-10-16 19:26:21 -05:00
Blade Barringer
115af819a0 Create task to set up a test server 2015-10-16 15:00:33 -05:00
Alex Hart
d7498245dc Refactor API unit tests
Move GET /user tests from status.coffee to users.coffee.
Remove GET /status test that uses user id and token.
2015-10-16 14:59:09 -05:00
Blade Barringer
0992f560e0 Merge branch 'develop' into new_api_test_infrastructure 2015-10-16 14:54:03 -05:00
ksami
65dc274e49 Make text in options/settings translatable 2015-10-16 20:48:12 +08:00
Alys
8af975755f Merge pull request #6049 from nivl4/develop
Updated vagrant provisioning script to update npm to the latest version
2015-10-16 06:12:43 +10:00
Matteo Pagliazzi
215ca0371c fix(signup): correct email checks 2015-10-15 19:52:21 +02:00
Matteo Pagliazzi
69fdff615a use lowercase only emails - register phase 2015-10-15 18:26:23 +02:00
nivl4
485dc68fe4 Updated vagrant provisioning script to update npm to the latest version as the older version (1.4.28) was causing the following error during npm install.
npm ERR! EEXIST, open '/home/vagrant/.npm/9fb4c098-adable-stream-1-0-33-package-tgz.lock'
File exists: /home/vagrant/.npm/9fb4c098-adable-stream-1-0-33-package-tgz.lock
Move it away, and try again.

npm ERR! System Linux 3.2.0-23-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--no-bin-links"
npm ERR! cwd /vagrant
npm ERR! node -v v0.10.37
npm ERR! npm -v 1.4.28
npm ERR! path /home/vagrant/.npm/9fb4c098-adable-stream-1-0-33-package-tgz.lock
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! not ok code 0
2015-10-15 21:51:36 +08:00
Sabe Jones
380265731f feat(world-boss): Exhaust Ian's text 2015-10-14 21:02:59 -04: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
Sabe Jones
e88030e15f Merge pull request #6039 from HabitRPG/sabrecat/halloween-mount
Jack-O'-Lantern mounts
2015-10-14 16:46:55 -05:00
Phillip Thelen
b0922f04b8 Handle new possible iOS in-app-purchases 2015-10-14 23:21:19 +02:00
Sabe Jones
59b2c1662e fix(news): Revised Bailey 2015-10-14 12:54:33 -04:00
Alys
f9a3884c79 Merge pull request #6044 from roryokane/patch-1
Fix capitalization of “GitHub” on Contact Us page
2015-10-14 18:11:16 +10:00
Rory O’Kane
4a23f40415 Fix capitalization of “GitHub” on Contact Us page
The live page is at https://habitica.com/static/contact.
2015-10-14 03:55:46 -04:00
Sabe Jones
825b316ba8 fix(analytics): Cap progressUp
Previously, users could cron with enormous quest progress values, and this would be logged to the cron event in Analytics. However, for the purposes of damaging world bosses, quest progress is capped at 900. Given that progressUp is primarily used to predict world boss damage, this commit now caps progressUp in analytics at 900 as well.
2015-10-13 14:27:16 -04:00
Alys
30de99b700 adjust world bosses FAQ answer 2015-10-13 06:49:07 +10:00