Commit Graph

62 Commits

Author SHA1 Message Date
Matteo Pagliazzi d6f52f0604 v3: fetch whole user when booting from group tto avoid issues with pre save hook expecting all data 2016-05-18 22:11:42 +02:00
Matteo Pagliazzi f0f67e1e88 v3: fallbackto authWithHeaders if wuthWithSession or authWithUrl fails 2016-05-18 18:29:38 +02:00
Keith Holliday 425172daae Removed v2 calls from views (#7351) 2016-05-18 17:48:32 +02:00
Blade Barringer 93d50e4f60 fix: Correct get tasks route to properly get todos (#7349) 2016-05-18 16:54:02 +02:00
Matteo Pagliazzi 2f934455ad v3: support party invitation from email 2016-05-18 16:39:11 +02:00
Matteo Pagliazzi 034e464bf2 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-18 15:30:46 +02:00
Matteo Pagliazzi 7ea581bb38 v3 client: fix predicatbale random 2016-05-18 15:30:23 +02:00
Matteo Pagliazzi 210ac57165 v3: misc fixes 2016-05-18 12:16:31 +02:00
Blade Barringer dba53b85a2 refactor: Extract out finding task by id or _legacyId into a function 2016-05-17 17:12:41 -05:00
Blade Barringer 38473f09c7 fix: check for _legacyId in tasks if id does not exist 2016-05-17 16:48:42 -05:00
Blade Barringer 5931aee26b fix: Add _legacyId prop to tasks to support non-uuid identifiers 2016-05-17 15:51:31 -05:00
Blade Barringer bf2e6489b7 fix: Provide default type and text for new task creation in score route 2016-05-17 15:51:31 -05:00
Matteo Pagliazzi a0f8b715aa v3: move TAVERN_ID to common code 2016-05-17 22:49:31 +02:00
Matteo Pagliazzi d293b2d6ee v3 client: fix ability to send cards 2016-05-17 17:35:49 +02:00
Matteo Pagliazzi 41152157c2 v3: fix unlinking multiple tasks 2016-05-17 16:24:54 +02:00
Alys 810e4cbd78 completed To-Dos: return the 30 most recent instead of 30 oldest (#7318) 2016-05-17 08:13:47 +02:00
Alys cad538dd51 [API v3] add CRON_SAFE_MODE (#7286)
* add CRON_SAFE_MODE to example config file, fix some bugs, add an unrelated low-priority TODO

* create CRON_SAFE_MODE to disable parts of cron for use after extended outage - fixes https://github.com/HabitRPG/habitrpg/issues/7161

* fix a bug with CRON_SAFE_MODE, remove duplicated code, remove completed TODO comment

* fix check for CRON_SAFE_MODE
2016-05-16 22:52:56 +02:00
Blade Barringer a16bc02167 Merge pull request #7299 from TheHollidayInn/api-v3-load-member-front-page
Fixed member modal on front page
2016-05-16 14:39:52 -05:00
Blade Barringer 4672fd3b0b Merge branch 'api-v3' into Alys-v3-armoire-fix 2016-05-16 14:10:39 -05:00
Blade Barringer 4d98aa2d89 Merge branch 'Alys-v3-buy-health-potion' into api-v3 2016-05-16 14:06:02 -05:00
Blade Barringer e6b5fe4013 fix: Correct missing * in apidoc comments 2016-05-16 13:45:04 -05:00
Keith Holliday dbd6daeca0 Updated task model to allow setting streak (#7306) 2016-05-16 20:12:46 +02:00
Alys cfb5e2be60 fix bug in Rebirth test, add new tests, adjust apidocs (#7293) 2016-05-16 18:13:49 +02:00
Alys 4bba10fac2 adjust text in apidocs for errors / clarity / consistency / standard terminology (no code changes) (#7298) 2016-05-16 18:08:54 +02:00
Keith Holliday 11b567038e Fixed member modal on front page 2016-05-16 09:54:22 -05:00
Alys daa0955ac1 rename buyPotion and buy-potion to buyHealthPotion and buy-health-potion; fix apidoc param error 2016-05-16 23:15:01 +10:00
Matteo Pagliazzi ad03cc8f9a Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-16 12:55:14 +02:00
Matteo Pagliazzi 793ca3b172 v3: fix tasks saving and selection for rebirth reroll and reset (server-only) 2016-05-16 12:04:09 +02:00
Alys b676fc0b71 fix incorrect Armoire test; remove unneeded param details from apidocs; disambiguate health potion 2016-05-16 16:21:24 +10:00
Blade Barringer 6bbfbbf613 fix: Fix quest progress button 2016-05-15 21:17:11 -05:00
Blade Barringer 21203c3f2e feat: Add modify inventory debug menu 2016-05-15 16:07:30 -05:00
Alys 4ceab38d0b fix typos and missing information in apidocs - fixes https://github.com/HabitRPG/habitrpg/issues/7277 (#7282) 2016-05-15 22:37:31 +02:00
Matteo Pagliazzi faaa52035d v3: more fixes for spells 2016-05-15 22:37:08 +02:00
Matteo Pagliazzi fff65f5dda v3: always save user when casting spell 2016-05-15 22:32:16 +02:00
Matteo Pagliazzi c1c77b68b4 v3: always save user when casting spell 2016-05-15 22:30:04 +02:00
Matteo Pagliazzi 1a14a6f4b7 v3: do not log sensitive data 2016-05-15 22:20:10 +02:00
Matteo Pagliazzi 52bedc3563 v3 client: fix casting spells 2016-05-15 21:17:17 +02:00
Matteo Pagliazzi 0be5d1da9c v3: misc fixes 2016-05-15 15:10:41 +02:00
Matteo Pagliazzi 3fbc156811 v3: misc fixes 2016-05-15 14:20:20 +02:00
Blade Barringer 164c024512 Merge branch 'set-cron_make-admin' into api-v3 2016-05-15 07:17:09 -05:00
Blade Barringer 2851af1a29 chore: Disable make admin debug route for v3 prod testing 2016-05-15 07:01:09 -05:00
Blade Barringer 44c9449913 feat: Separate out update-user into set-cron and make-admin debug routes 2016-05-15 06:58:54 -05:00
Matteo Pagliazzi 6ec4d942df v3: disable Bluebird warning for missing return, fixes #7269 2016-05-15 13:38:18 +02:00
Matteo Pagliazzi 64930ea07f v3: add CHALLENGE_TASK_NOT_FOUND to valid broken reasons 2016-05-15 11:35:10 +02:00
Matteo Pagliazzi 18ce4127e9 v3 cron: only save modified tasks 2016-05-15 11:31:34 +02:00
Matteo Pagliazzi a8a063d3f6 v3: execute all actions when leaving a solo party 2016-05-15 11:01:37 +02:00
Blade Barringer 480937c800 fix: Temporarilly comment out udpate user debug route 2016-05-14 23:07:18 -05:00
Blade Barringer 7b15967215 Merge pull request #7263 from crookedneighbor/debug-update-user
Debug update user
2016-05-14 22:48:20 -05:00
Blade Barringer 3b8ce8451b feat: Create debug update user route 2016-05-14 22:30:18 -05:00
Alys 887d187691 change "an user" to "a user" in comments and text (no code changes) (#7257) 2016-05-15 01:10:08 +02:00