Matteo Pagliazzi
de74fae0b4
v3: port coupons
2016-04-02 16:37:55 +02:00
Matteo Pagliazzi
843dd09d35
Merge pull request #6986 from HabitRPG/api-v3-one-app
...
[Api v3] Consolidate server code and share middlewares where possible
2016-04-01 19:30:52 +02:00
Matteo Pagliazzi
6cbbdcdcbe
v3: port static pages, make routes lib more flexible, share middlewares between v2 and v3, port v1, simplify server.js
2016-04-01 19:07:03 +02:00
Victor Piousbox
e6e2c26a12
shared-code-user-score-task
2016-04-01 16:11:37 +00:00
Victor Piousbox
5aacd978c6
api-v3-get-user-anonymized
2016-03-24 18:23:43 +00:00
Keith Holliday
b46219adc5
Added tests for challenge task scoring and moved scoring code to model
2016-03-18 14:00:14 -05:00
Matteo Pagliazzi
6830a4464a
Merge branch 'api-v3-email-3' of https://github.com/piousbox/habitrpg into piousbox-api-v3-email-3
2016-03-05 19:24:11 +01:00
Victor Piousbox
7dfdbb8b05
/user/update-email endpoint
2016-03-04 21:27:16 +00:00
Matteo Pagliazzi
8920b05f9e
Merge branch 'develop' of github.com:HabitRPG/habitrpg into api-v3
2016-03-02 12:59:51 +01:00
Blade Barringer
c96ddaeebe
refactor: Remove unused common script src files
2016-03-01 08:49:25 -06:00
Matteo Pagliazzi
a04bf4c045
use different i18n module for tests
2016-02-29 17:07:33 +01:00
Matteo Pagliazzi
5e68589ac8
check for membership when leaving public guild, fix memberCount update when leaving group, add missing files
2016-02-28 01:11:45 +01:00
Matteo Pagliazzi
e9ac123d0e
make sure cookie is never shared among multiple test users
2016-02-20 21:14:11 +01:00
Matteo Pagliazzi
62ebde3186
fix tests that require session authentication
2016-02-20 21:02:46 +01:00
Matteo Pagliazzi
e1b01e3853
Merge pull request #6565 from HabitRPG/sabrecat/quest-accept
...
WIP: Quests for API v3
2016-02-12 20:56:19 +01:00
Blade Barringer
b6ed2f8c44
refactor: Move sleep function to seprate file
2016-02-10 08:21:36 -06:00
Matteo Pagliazzi
7a5aa731db
add population to challenge.group, challenge.leader and group.leader
2016-02-02 21:47:12 +01:00
Matteo Pagliazzi
b1848da8de
do not output server logs when testing, ability to run tests and server separately
2016-01-29 14:43:14 +01:00
Matteo Pagliazzi
361d0aa35c
finally fix tests
2016-01-29 12:52:57 +01:00
Matteo Pagliazzi
80160597b0
fix for travis?
2016-01-29 12:37:17 +01:00
Matteo Pagliazzi
e345fa76f5
failing unit test
2016-01-29 12:07:46 +01:00
Matteo Pagliazzi
b960ecdd94
first attempt to fix fialing api-v3 tests
2016-01-29 11:13:39 +01:00
Matteo Pagliazzi
1369327c44
requester should resolve response.text if response is not json, better tests for csv export
2016-01-28 11:30:53 +01:00
Blade Barringer
e5f1c44a3e
feat: Add removeFromArray function
2016-01-25 18:08:01 -06:00
Keith Holliday
2063070f18
Added group toJSON conversion and fixed syntax errors
2016-01-23 13:42:01 -06:00
Keith Holliday
ab5fc1f526
Added initial get group tests
2016-01-23 13:42:00 -06:00
Keith Holliday
ef6afaedb4
Added intitial group leave tests
...
Fixed test readability, updated party test, and updated challenge update code when leaving group
Updated library, added group existance check, and reset full party
Updated syntax, added new userUnlinkChallenges, and added some initial testing for challenges
Added challenge tasks tests
Added try/catch to group remove, add more party tests, fixed broken challenge test, removed useless return value
Added public guild tests, added more tests to party, and abstracted remove invitations logic
Closes #6506
2016-01-20 08:51:30 -06:00
Blade Barringer
7b59455252
tests(api): Add generateChallenge helper
2016-01-17 13:58:46 -06:00
Blade Barringer
81e6172fb1
tests: Tighten up generateGroup members helper
2016-01-17 13:42:09 -06:00
Blade Barringer
b75adb4f3b
tests(api): Pull in theunknown's changes to createAndPopulateGroup
...
https://github.com/KristianTashkov/habitrpg/commit/bf6814265c34b52b6efa565c60f3bb43da814164
2016-01-17 13:22:39 -06:00
Blade Barringer
1e9f24a6b0
Merge branch 'api-v3' into api-v3-groups
2016-01-17 11:45:00 -06:00
Blade Barringer
5d803fde56
tests(api): Adjust v3 api-integration helper to export all generate methods
2016-01-17 11:43:31 -06:00
Blade Barringer
08381793a8
Merge branch 'develop' into api-v3
2016-01-17 11:41:49 -06:00
Blade Barringer
4a3871f52f
tests(api): Add ApiChallenge class
2016-01-17 11:41:29 -06:00
Matteo Pagliazzi
c27f98075c
Merge branch 'api-v3-groups' into api-v3-members
2016-01-17 11:24:10 +01:00
Blade Barringer
38cdf07a4d
Merge branch 'api-v3' into api-v3-groups
2016-01-16 21:56:55 -06:00
Blade Barringer
5de2503039
Merge branch 'develop' into api-v3
2016-01-16 21:54:13 -06:00
Blade Barringer
96f6bbfb0c
tests(api): Add sync method to api objects
2016-01-16 21:50:54 -06:00
Blade Barringer
965c5dbaa7
Merge branch 'api-v3' into api-v3-groups
2016-01-16 19:46:47 -06:00
Blade Barringer
a44cf5e0fc
lint: Fix linting erros in test helpers
2016-01-16 19:27:03 -06:00
Blade Barringer
5dd2dcd6d8
Merge branch 'improve_tests' into api-v3
2016-01-16 19:24:39 -06:00
Blade Barringer
87d4c68bea
lint: Correct linting errors
2016-01-16 19:13:33 -06:00
Blade Barringer
ec9d0fd278
tests: Set up placeholder file for api test helpers
2016-01-16 18:13:11 -06:00
Blade Barringer
07f08de989
Merge branch 'improve_tests' into api-v3
2016-01-16 18:12:36 -06:00
Blade Barringer
91ffe5c402
tests(api): Reorganize integration helper for v2
2016-01-16 17:28:36 -06:00
Blade Barringer
ef5064f351
Move generators to own file
2016-01-16 17:23:30 -06:00
Blade Barringer
6287ae6776
tests(api): Outsource mongo updates to mongo module in api helper
2016-01-16 14:33:53 -06:00
Blade Barringer
80224adafa
tests: Extract mongo functions into separate file
2016-01-16 14:12:26 -06:00
Blade Barringer
54159c069d
tests: Move api translation checkout out into separate file
2016-01-16 14:09:20 -06:00
Blade Barringer
e9f618da5e
tests: Extract api objects to separate files
2016-01-16 14:06:47 -06:00