Commit Graph

92 Commits

Author SHA1 Message Date
Blade Barringer c5215e80de Merge branch 'TheHollidayInn-api-v3-challenge-shortname-validation' into api-v3 2016-05-22 20:58:23 -05:00
Blade Barringer 8cf4f9f414 fix: Validate challenge shortname on server 2016-05-22 20:58:03 -05:00
Matteo Pagliazzi 4c8ad80911 fix avatar sharing and caching (30 minutes) 2016-05-22 16:35:57 +02:00
Matteo Pagliazzi 1e83ddaf69 s3: convert moment to date instance 2016-05-22 14:22:30 +02:00
Matteo Pagliazzi deca281233 fix production logging 2016-05-22 13:59:37 +02:00
Matteo Pagliazzi ab3371213e second attempt at fixing exporting avatar 2016-05-22 13:51:57 +02:00
Matteo Pagliazzi ecfacd6c9a fix exporting avatar 2016-05-22 13:07:41 +02:00
Sabe Jones 57754adee7 feat(maintenance): post-downtime news & awards (#7406) 2016-05-21 23:40:36 -05:00
Matteo Pagliazzi 942ee522a1 fix production logging 2016-05-22 03:58:40 +02:00
Keith Holliday e3c79fbdfa Added tags update route. Added sort to user service (#7381)
* Added tags update route. Added sort to user service

* Change update tasks route to reorder tasks

* Fixed linting issue

* Changed params for reorder tags route

* Fixed not found tag and added test
2016-05-22 03:55:45 +02:00
Blade Barringer 81a30d1f20 Docs changes (#7401)
* chore: Clarify transfer-gems documentation

* chore: Clarify api status route documentation

* chore: Mark webhooks as BETA
2016-05-22 03:55:03 +02:00
Matteo Pagliazzi 7ef529988a update links for v3 2016-05-22 00:00:05 +02:00
Matteo Pagliazzi 0c20cf30d7 v3: $w -> splitWhitespace 2016-05-21 20:27:11 +02:00
Matteo Pagliazzi 58485841da v3: correctly return user subset 2016-05-21 19:25:31 +02:00
Matteo Pagliazzi 559c7bed94 v3: do not saved populated user 2016-05-21 19:23:51 +02:00
Matteo Pagliazzi b49826129a v3: implement automatic syncing if user is not up to date 2016-05-21 18:43:35 +02:00
Matteo Pagliazzi a210542e0a Merge branch 'develop' into api-v3 2016-05-21 16:46:22 +02:00
Sabe Jones 237bc062ea [API v3] Maintenance Mode (#7367)
* WIP(maintenance): maintenance

* WIP(maintenance): working locale features

* fix(maintenance): don't translate info page target

* WIP(maintenance): start adding info page

* fix(maintenance): linting

* feat: Add container to maintenance info page

* fix(maintenance): add config.json edits
Also DRY variables for main vs info pages

* fix(maintenance): linting

* refactor(maintenance): further slim down variables

* refactor: Remove unnecessary variables

* fix: Correct string interpolation in maintenace view

* feat: Dynamically add time to maintenance pages

* maintenance mode: do not connect to mongodb

* fix(maintenance): clean up timezones etc.

* fix(maintenance): remove unneeded sprite
2016-05-21 12:24:13 +02:00
Alys 5c885c77a0 add dateCreated to all tasks; add empty challenge object to tasks that don't have one (#7386) 2016-05-21 09:20:11 +10:00
Blade Barringer 5bd436f3c8 fix: Change all instances of spookDust -> spookySparkles 2016-05-20 09:17:44 -05:00
Blade Barringer 42bc4bdd3d fix: Correct spelling of healAll skill
fix: Correct sprite name of healAll skill
2016-05-20 09:17:16 -05:00
Blade Barringer f3537351bf Merge branch 'TheHollidayInn-api-v3-user-set-last-cron-fix' into api-v3 2016-05-20 08:03:47 -05:00
Blade Barringer 1fb77c0e92 feat: complete custom day start route
Closes #7363
2016-05-20 08:03:14 -05:00
Matteo Pagliazzi 5ba33bc5a1 v3: iap accessible under /api/v3, fixes to spells and groups invitations 2016-05-19 22:43:11 +02:00
Keith Holliday 5b7a56d28d Changed route to user set custom day start 2016-05-19 21:14:35 +01:00
Matteo Pagliazzi c6da283b54 v3: fix build and ios IAP 2016-05-19 21:18:43 +02:00
Matteo Pagliazzi c8f55302ca v3: fix iap url 2016-05-19 20:44:44 +02:00
Keith Holliday e8b53d6b22 Added new route for setting last cron and updated front end 2016-05-18 23:24:32 +01:00
Matteo Pagliazzi 0a14d29ebb fix(tests): never connect to NODE_DB_URI for tests 2016-05-18 23:50:24 +02:00
Matteo Pagliazzi e98930cd4a v3: limit fields of challenge tasks that can be updated 2016-05-18 23:27:49 +02:00
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