Matteo Pagliazzi
cee7700a50
switch from Q to Bluebird
2016-05-11 14:34:01 +02:00
Matteo Pagliazzi
afb7d1d627
v3: start cleaning up TODO comemnts
2016-05-06 20:24:53 +02:00
Matteo Pagliazzi
6380161321
Api v3 Migration (WIP) ( #7131 )
...
* v3 migration: remove old code and polish user migration
* v3 migration: start to work on challenges
* wip v3 migration
* wip v3 migration: fix _id -> id for reminders, tags and checklists
2016-04-30 18:34:16 +02:00
Matteo Pagliazzi
6568fcfd5e
res.respond: allow for thrid parameter (message), refactor shared ops responses and adapt tests
2016-04-21 00:52:03 +02:00
Matteo Pagliazzi
b271520c53
v3: general cleanup
2016-04-17 01:17:22 +02:00
Matteo Pagliazzi
7562a589c5
apidoc: update urls and add notice about private api
2016-04-14 16:02:28 +02:00
Matteo Pagliazzi
bc9f2b81e7
refactor getUserLanguage, automatically apply getUserLanguage and cron middlewares where needed
2016-04-14 13:30:58 +02:00
Matteo Pagliazzi
925881b2a0
misc fixes and enable dev endpoints for easier live testing
2016-04-13 22:55:39 +02:00
Matteo Pagliazzi
8817f795b1
v3: expose public interface for logger and add tests
2016-04-13 18:18:00 +02:00
Matteo Pagliazzi
6458796a36
v3: first review of common code and task models
2016-04-12 19:30:39 +02:00
Matteo Pagliazzi
c3945de098
fix tasks updating and reminders tests
2016-04-04 17:18:42 +02:00
Matteo Pagliazzi
382e391fd0
port updateTask, addTask, clearCompleted, taskDefaults, uuid
2016-04-04 17:18:42 +02:00
Matteo Pagliazzi
68ff26e6d6
v3: check that tasks are deleted when the user deletes the acocunt and misc fixes
2016-04-04 17:16:36 +02:00
Victor Piousbox
e6e2c26a12
shared-code-user-score-task
2016-04-01 16:11:37 +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
7c005e7c68
fix typo in tests and increase sleep time
2016-03-17 15:20:41 +01:00
Matteo Pagliazzi
219ec01ce9
port shared.ops.allocate
2016-03-15 18:41:23 +01:00
Matteo Pagliazzi
73cb50b01a
Merge pull request #6872 from TheHollidayInn/api-v3-delete-challenge-tasks-tests
...
Added initial delete challenge tasks tests
2016-03-15 17:26:39 +01:00
Keith Holliday
534ec07b6a
Added tests to ensure challenge member can not delete active challenge task and can delete broken or unlinked challenge task
2016-03-15 10:03:48 -05:00
Matteo Pagliazzi
8e3284a4e3
wip(shared): adapt to v3
2016-03-13 22:26:32 +01:00
Keith Holliday
c04e53b5a5
Added initial delete challenge tasks tests
2016-03-12 21:00:43 -06:00
Matteo Pagliazzi
13a86c3858
Merge pull request #6869 from TheHollidayInn/api-v3-remove-challenge-checklist-item
...
Added initial test for removing challenge checklist item
2016-03-12 18:08:27 +01:00
Matteo Pagliazzi
ce916e31bd
Merge pull request #6866 from TheHollidayInn/api-v3-updated-checklist-item
...
Added initial checklist item update tests
2016-03-12 18:07:50 +01:00
Keith Holliday
152f7605cd
Added initial test for removing challenge checklist item
2016-03-12 10:55:12 -06:00
Keith Holliday
e4124f9e02
Added initial checklist item update tests
2016-03-12 10:38:40 -06:00
Matteo Pagliazzi
2fa361d9ea
Merge pull request #6865 from TheHollidayInn/api-v3-challenge-add-checklist-item
...
Add initial tests for add checklist item to challenge
2016-03-12 15:56:32 +01:00
Matteo Pagliazzi
8463abb830
Merge pull request #6853 from TheHollidayInn/api-v3-challenge-tasks-put
...
Added initial challenge task update tests
2016-03-12 14:52:54 +01:00
Keith Holliday
0af912bebb
Add initial tests for add checklist item to challenge
2016-03-11 14:19:46 -06:00
Matteo Pagliazzi
29b6e958c6
fix failing tests
2016-03-11 09:51:59 +01:00
Keith Holliday
61e360a1d8
Added initial challenge task update tests
2016-03-10 15:30:22 -06:00
Matteo Pagliazzi
fbdbd8e006
Merge branch 'develop' into api-v3
2016-03-10 18:30:09 +01:00
Keith Holliday
22e64bb88e
Added initial get challenge task by id
2016-03-08 12:42:05 -06:00
Matteo Pagliazzi
863ca9954e
errors working with babel 6, export v3 shared modules in main common module
2016-03-05 18:58:40 +01:00
Blade Barringer
b97511db31
fix: Use module.exports instead of export default
2016-03-04 13:29:51 -06:00
Matteo Pagliazzi
8b7719d25e
fix apidoc comments
2016-02-14 12:56:40 +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
Matteo Pagliazzi
35e6274cd6
Move cron and preening code to server, add support for quests in cron
2016-02-08 22:18:57 +01:00
Matteo Pagliazzi
7a5aa731db
add population to challenge.group, challenge.leader and group.leader
2016-02-02 21:47:12 +01:00
Matteo Pagliazzi
337b68ce43
make sure that tasks are returned in the correct order
2016-02-02 12:23:56 +01:00
Matteo Pagliazzi
4aa6545c79
fix access control when getting tasks for a challenge
2016-02-02 11:56:06 +01:00
Matteo Pagliazzi
9854d1cf34
add missing test file and update parameters for GET tasks
2016-02-02 11:42:05 +01:00
Matteo Pagliazzi
824603bc89
fix moveTask and add tests
2016-02-02 11:14:55 +01:00
Matteo Pagliazzi
f16b605c37
add update challenge with tests
2016-01-27 12:22:24 +01:00
Blade Barringer
e5f1c44a3e
feat: Add removeFromArray function
2016-01-25 18:08:01 -06:00
Matteo Pagliazzi
d5751837ed
add clearCompletedTodos route with tests, add test for getting completed todos, misc fixes
2016-01-25 17:23:01 +01: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
Matteo Pagliazzi
ee854229c7
fix dateCompleted not remove from un-completed todos and fix tasks test
2016-01-18 15:01:46 +01:00
Matteo Pagliazzi
ec7ed9c90e
add tests for getChallengeMemberProgress route and several bug fixes
2016-01-17 18:31:03 +01:00
Matteo Pagliazzi
b0caf71641
fix several busg with tasks and challenges
2016-01-15 18:54:28 +01:00
Matteo Pagliazzi
7d5a7503cb
fix access to user.tasksOrder
2016-01-14 20:55:13 +01:00