Compare commits

..

4099 Commits

Author SHA1 Message Date
Keith Holliday 048d55b962 Removed sync call on load (#7485) 2016-05-24 22:41:38 +02:00
Matteo Pagliazzi 91e16ff191 do not run cron when loading party to avoid race conditions 2016-05-24 22:40:54 +02:00
Matteo Pagliazzi c7d3539815 do not colorize or pretty print logs in production 2016-05-24 21:42:31 +02:00
Matteo Pagliazzi 2ca52785e1 remove unused variable in payments code 2016-05-24 21:41:14 +02:00
Matteo Pagliazzi 67e68ece29 fix gifting gems 2016-05-24 21:31:29 +02:00
Matteo Pagliazzi 9855f8c385 fix typo in stripe cancel 2016-05-24 18:42:08 +02:00
Blade Barringer 6c017b31fb Merge pull request #7467 from crookedneighbor/fix_change_password
fix: Correct change password on client
2016-05-24 06:45:44 -05:00
Blade Barringer ac77ceb75f fix: Correct change password on client
* Add additional checks on server to prevent 500
* Add tests for param checks
2016-05-24 06:21:38 -05:00
Matteo Pagliazzi 6ce2f53503 Merge branch 'develop' of github.com:HabitRPG/habitrpg into develop 2016-05-24 13:11:33 +02:00
Matteo Pagliazzi 70d7a922f6 fix expression in angular template 2016-05-24 13:10:59 +02:00
Matteo Pagliazzi 64b3896797 fix typo in migration script 2016-05-24 13:10:42 +02:00
Blade Barringer 02d075e342 lint: Ignore === for == null check in sort task 2016-05-23 22:41:37 -05:00
Blade Barringer 8faf73084a fix: correct sort task when task is at the top
closes #7457

!0 === true, so we need to check for == null which matches undefined and
null
2016-05-23 22:33:18 -05:00
Alys 810355d2a5 implement cron semi-safe mode - cron behaves as normal except boss causes no damage (#7462) 2016-05-24 13:31:39 +10:00
Blade Barringer aaf2ff5b70 fix: Correct api documentation for score route
Fixes #7458
2016-05-23 22:13:59 -05:00
Blade Barringer 977d2ae525 Merge pull request #7466 from crookedneighbor/beastmastercount_fix
fix: Display beastmaster count even if member route returned no items
2016-05-23 22:07:22 -05:00
Blade Barringer f9b759ae57 fix: Impliment redirect for /static/api -> /apidoc 2016-05-23 22:06:06 -05:00
Blade Barringer 1f3bd45471 Merge pull request #7463 from crookedneighbor/make_admin
feat: Add make-admin debug route back in
2016-05-23 21:50:39 -05:00
Blade Barringer b1519eed14 fix: Display beastmaster count even if member route returned no items
Because of this line:
https://github.com/HabitRPG/habitrpg/blob/f1286762a813186cb4f1093dc33a52b117ab2827/website/server/controllers/api-v3/members.js#L53

We minimize any empty objects, which causes the statCalc methods to fail
2016-05-23 21:47:42 -05:00
Blade Barringer f1286762a8 Merge branch 'TheHollidayInn-tasks-delete-checklist' into develop 2016-05-23 21:19:01 -05:00
Blade Barringer 770ffe93fc fix: Prevent task cloning from cloneing challenge object
fixes #7435
closes #7451
2016-05-23 21:13:35 -05:00
Blade Barringer 2ab76db27c feat: Add make-admin debug route back in 2016-05-23 20:59:47 -05:00
Blade Barringer a099c1b3b5 Merge branch 'TheHollidayInn-hall-add-service' into develop 2016-05-23 20:59:24 -05:00
Keith Holliday d4287e1fd8 Added sync with user adds checklist item. Prevented task checklist remove request from being called on blank checklist 2016-05-23 23:34:45 +01:00
Keith Holliday 80323120b6 Updated hall service and updated hall controller 2016-05-23 21:32:43 +01:00
Matteo Pagliazzi 20f4a49c0b fix missing 4th parameter to setWith 2016-05-23 20:02:57 +02:00
Matteo Pagliazzi f1f593bcfd fix unlocking items with numbers in paths 2016-05-23 19:59:14 +02:00
Matteo Pagliazzi 51254c26dc fix cancelling stripe subscription 2016-05-23 18:59:54 +02:00
Matteo Pagliazzi 30c2d8e25f payments: fix typo in paypal code 2016-05-23 17:18:55 +02:00
Blade Barringer 763429402b chore(i18n): update locales 2016-05-23 09:51:47 -05:00
Blade Barringer d856d59bf7 Merge pull request #7441 from crookedneighbor/merge_v3_correctly
Merge v3 correctly
2016-05-23 08:10:20 -05:00
Blade Barringer b9a2265766 Merge branch 'api-v3' into develop 2016-05-23 07:53:22 -05:00
Blade Barringer 0a7b6b65e7 Revert "API v3 [WIP] (#6144)"
This reverts commit 28f2e9c356.
2016-05-23 07:53:14 -05:00
Matteo Pagliazzi 28f2e9c356 API v3 [WIP] (#6144)
* Fixed more tests

* Added tags into user service

* Added api-v3 auth urls

* v3: fix package.json

* v3: fix package.json

* Fixed auth tests. Updated Authctrl response

* v3: remove newrelic config file in favour of env variables

* v3: upgrade some deps

* switch from Q to Bluebird

* v3 fix tests with deferred

* Removed extra consoles.log. Changed data.data to res.data

* v3 fix tests and use coroutines instead of regenerator

* v3: fix tests

* v3: do not await a non promise

* v3: q -> bluebird

* Changed id param for registration response

* Updated party query and create

* Ensured login callback happens after user sync

* Add challenges to groups. Fixed isMemberOfGuild check

* Updated party and group tests

* Fixed cron test

* return user.id and send analytics event before changing page

* fix trailing spaces

* disable redirects

* Api v3 party tavern fixes (#7191)

* Added check if user is in party before query

* Cached party query. Prevented party request when user is not in party. Updated Party create with no invites

* Update tavern ctrl to use new promise

* v3: misc fixes

* Api v3 task fixes (#7193)

* Update task view to use _id

* Added try catch to user service ops calls

* v3 client: saving after syncing is complete

* Fixed test broken by part sync change (#7195)

* v3: fix todo scoring and try to fix production testing problem

* revert changes to mongoose config

* mongoose: increase keepAlive

* test mongoose fix

* fix: Only apply captureStackTrace if it exists on the error object

* v3: fix reminders with no startDate

* mongoose: use options

* chore(): rename website/src -> website/server and website/public -> website/client (#7199)

* v3 fix GET /groups: return an error only if an invalid type is supplied not when there are 0 results (#7203)

* [API v3] Fix calls to user.ops and deleting tags (#7204)

* v3: fixes calls to user.ops from views and deleting tags

* v3: fix tests that use user._statsComputed

* Api v3 fixes continued (#7205)

* Added timzeone offset back

* Added APIToken back to settings page

* Fixed fetch recent messages for party

* Fixed returning group description

* Fixed check if user is member of challenge

* Fixed party members appearing in header

* Updated get myGroups param to include public groups. Fixed isMemberOf group

* Fixed hourglass purchase

* Fixed challenge addding tasks on first creating

* Updated tests to accomidate new changes

* fix: Correct checklist on client

Closes #7207

* fix: Pin eslint to 2.9

* minor improvements to cron code for clarity; fix inaccurate comments; add TODOs for rest-in-inn actions

* fix: Add missing type param to equip call

closes #7212

* rename and reword pubChalsMinPrize to reflect that it's only for Tavern challenges

* allows players to send gems to each other; other minor related changes - fixes https://github.com/HabitRPG/habitrpg/issues/7227

* fix tests for /members/transfer-gems

* fix: Set gems sent notification as translatable string

* chore: Remove unusued variable

* fix: Remove requirement on message paramter in transfer-gems

* add a missing variable declaration

* chore: clarify comments on cron code

* fix: Correct client request from habitrpg -> tavern

* update apidoc URL in package.json

Closes #7222

* Fixed start party by invites

* Updated spell casting to v3

* Fixed adding and removing tags on tasks

* Fixed page reload on settings change

* Fixed battle monsters with friends button

* Loaded completed todos when done is clicked

* chore: Reinstate floating version number for eslint

babel-eslint regression fixed

* Fixed reload tests

* change "an user" to "a user" in comments and text (no code changes) (#7257)

* fix: Alert user that drops were recieved

* remove userServices.js from karma.conf - it's been moved to website/client/js/services

* feat: Create debug update user route

* fix: Correct set cron debug function

* feat: Add make admin button to debug menu

* lint: Add missing semicolons in test

* fix: Temporarilly comment out udpate user debug route

* v3: fix _tmp for crit and streakBonus

* v3: execute all actions when leaving a solo party

* v3 client: fix group not found when leaving party

* v3 migration: fix challenge prize

* v3 cron: only save modified tasks

* v3: add CHALLENGE_TASK_NOT_FOUND to valid broken reasons

* v3: fix tasks chart

* v3 client: fix ability to leave challenge

* v3 client: fix filtering by tag and correctly show tag tooltip

* v3 common: fix tags tests

* v3 client: support unlinking not found challenges tasks

* v3: disable Bluebird warning for missing return, fixes #7269

* feat: Separate out update-user into set-cron and make-admin debug routes

* chore: Disable make admin debug route for v3 prod testing

* v3: misc fixes

* v3: misc fixes

* v3: fix adding multiple tasks

* Fixed join/leave button updates

* Queried only user groups to be available when creating challenges

* Fixed bulk add tasks to challenge

* Synced challenge tasks after leave and join.

* Fixed default selected group

* Fixed challenge member info. Fixed challenge winner selection

* Fixed deleting challenge tasks

* Fixed particiapting filter

* v3 client: fix casting spells

* v3: do not log sensitive data

* v3: always save user when casting spell

* v3: always save user when casting spell

* v3: more fixes for spells

* fix typos and missing information in apidocs - fixes https://github.com/HabitRPG/habitrpg/issues/7277 (#7282)

* v3: add TODO for client side spells

* feat: Add modify inventory debug menu

* Fixed viewing user progress on challenge

* Updated tests

* fix: Fix quest progress button

* fix incorrect Armoire test; remove unneeded param details from apidocs; disambiguate health potion

* v3: fix stealth casting

* v3: fix tasks saving and selection for rebirth reroll and reset (server-only)

* v3: fix auto allocation

* v3 client: misc fixes

* rename buyPotion and buy-potion to buyHealthPotion and buy-health-potion; fix apidoc param error

* Added delete for saved challenge task

* Fixed member modal on front page

* adjust text in apidocs for errors / clarity / consistency / standard terminology (no code changes) (#7298)

* fix bug in Rebirth test, add new tests, adjust apidocs (#7293)

* Updated task model to allow setting streak (#7306)

* fix: Correct missing * in apidoc comments

* Api v3 challenge fixes (#7287)

* Fixed join/leave button updates

* Queried only user groups to be available when creating challenges

* Fixed bulk add tasks to challenge

* Synced challenge tasks after leave and join.

* Fixed default selected group

* Fixed challenge member info. Fixed challenge winner selection

* Fixed deleting challenge tasks

* Fixed particiapting filter

* Fixed viewing user progress on challenge

* Updated tests

* Added delete for saved challenge task

* v3: fix sorting

* [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

* v3 client: fix typo

* adjust debug menu Modify Inventory: hungrier pets, fewer Special items, "Hide" buttons

* completed To-Dos: return the 30 most recent instead of 30 oldest (#7318)

* v3 migration: fix createdAt date

* adjust locales text, key names, and files for Rebirth, Reset, and Fortify / ReRoll for consistency with existing strings (#7321)

* v3: fix unlinking multiple tasks

* v3 fix releasing pets

* v3: fix authenticating with apiUrl

* v3: fix typo

* v3 fix client tests for unlinking

* v3 client: do not show start quest button when quest is active

* v3 client: fix ability to send cards

* v3 client: fix misc challenge issues

* v3: fix notifications

* v3 client: more user friendly errors

* v3 client: only load completed todos once

* v3 client: fix tests

* v3: move TAVERN_ID to common code

* fix: Provide default type and text for new task creation in score route

* fix: Provide default history [] for habit in score route

* fix: Add _legacyId prop to tasks to support non-uuid identifiers

* chore: Change v3 migration to use _legacyId instead of legacyId

* fix: check for _legacyId in tasks if id does not exist

* refactor: Extract out finding task by id or _legacyId into a function

* Api v3 party quest fixes (#7341)

* Fix display of add challenge message when group challenges are empty

* Fixed forced quest start to update quest without reload

* Fixed needing to reload when accepting party invite

* Fix group leave and join reload

* Fixed leave current party and join another

* Updated party tests

* v3 client: remove console.log statement

* v3: misc fixes

* v3 client: fix predicatbale random

* v3: info about API v3

* v3: update footer with links to developer resources

* v3: support party invitation from email

* v3 client: fix chat flagging

* fix: Correct get tasks route to properly get todos (#7349)

* move locales strings from api-v3.json to other locales files (#7347)

* move locales strings from api-v3.json: authentication strings -> front.json

* move locales strings from api-v3.json: authentication strings -> tasks.json

* move locales strings from api-v3.json: authentication strings -> groups.json

* move locales strings from api-v3.json: authentication strings -> challenge.json

* move locales strings from api-v3.json: authentication strings -> groups.json (again)

* move locales strings from api-v3.json: authentication strings -> quests.json

* move locales strings from api-v3.json: authentication strings -> subscriber.json

* move locales strings from api-v3.json: authentication strings -> spells.json

* move locales strings from api-v3.json: authentication strings -> character.json

* move locales strings from api-v3.json: authentication strings -> groups.json (PMs)

* move locales strings from api-v3.json: authentication strings -> npc.json

* move locales strings from api-v3.json: authentication strings -> pets.json

* move locales strings from api-v3.json: authentication strings -> miscellaneous

* move locales strings from api-v3.json: authentication strings -> contrib.json and settings.json

* move locales strings from api-v3.json: delete unused string (invalidTasksOwner), delete api-v3.json, whitespace cleanup

* v3 client: fix sticky header

* v3: remove unused code

* v3 client: correctly redirect after inviting

* Removed v2 calls from views (#7351)

* v3: fix tests for challenge export

* v3: fallbackto authWithHeaders if wuthWithSession or authWithUrl fails

* Added force cache update when fetching new messages (#7360)

* v3: fetch whole user when booting from group tto avoid issues with pre save hook expecting all data

* v3: misc fixes for payments

* v3: limit fields of challenge tasks that can be updated

* fix(tests): never connect to NODE_DB_URI for tests

* Added new route for setting last cron and updated front end

* v3: fix iap url

* v3: fix build and ios IAP

* Changed route to user set custom day start

* v3: iap accessible under /api/v3, fixes to spells and groups invitations

* v3: correctly use v3 routes in client

* remove XP, GP when unticking a Daily with a completed checklist - fixes https://github.com/HabitRPG/habitrpg/issues/7246

* use natural language for error message about skills on challenge tasks (#7336), fix other gramatical error

* Updated ui when user rejects a guild invite (#7368)

* feat: complete custom day start route

Closes #7363

* fix: Correct spelling of healAll skill

fix: Correct sprite name of healAll skill

* fix: Change all instances of spookDust -> spookySparkles

* add dateCreated to all tasks; add empty challenge object to tasks that don't have one (#7386)

* add plumilla to artists for Tangle Tree in Bailey message

* Fixed quest drop modal (#7377)

* Fixed quest drop modal

* Fixed broken party test

* [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

* Tavern party challenges invites fix (#7394)

* Added challenges and invitations to party

* Loaded tavern challenges

* Updated group and quest services tests

* v3: implement automatic syncing if user is not up to date

* Removed unnecessary fields when updating groups and challenges (#7395)

* v3: do not saved populated user

* v3: correctly return user subset

* Chained party promises together (#7396)

* v3: $w -> splitWhitespace

* use bluebird

* use babel polyfill

* migration: fix items

* update links for v3

* Updated shortname validation to support multiple browsers

* Docs changes (#7401)

* chore: Clarify transfer-gems documentation

* chore: Clarify api status route documentation

* chore: Mark webhooks as BETA

* 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

* Added password confirmation when deleteing account (#7402)

* fix production logging

* feat(commit): push

* empty commit

* feat(maintenance): post-downtime news & awards (#7406)

* fix exporting avatar

* second attempt at fixing exporting avatar

* fix production logging

* s3: convert moment to date instance

* fix avatar sharing and caching (30 minutes)

* fix: Correct missing parameter

Closes #7433

* fix: Validate challenge shortname on server

* adjust text strings - fixes https://github.com/HabitRPG/habitrpg/issues/5631 and also Short Name -> Tag Name
2016-05-23 13:58:31 +02:00
Alys fa009a19f4 adjust text strings - fixes https://github.com/HabitRPG/habitrpg/issues/5631 and also Short Name -> Tag Name 2016-05-23 06:27:52 -04:00
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
Blade Barringer 7d45223296 fix: Correct missing parameter
Closes #7433
2016-05-22 20:50:08 -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
Matteo Pagliazzi f76e387d05 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-22 13:07:21 +02:00
Sabe Jones 57754adee7 feat(maintenance): post-downtime news & awards (#7406) 2016-05-21 23:40:36 -05:00
Matteo Pagliazzi a90e607e70 Merge branch 'master' of https://git.heroku.com/habitrpg into api-v3 2016-05-22 05:13:05 +02:00
Matteo Pagliazzi 0a396c461d empty commit 2016-05-22 05:11:38 +02:00
Sabe Jones 4d7444e46f feat(commit): push 2016-05-22 02:53:24 +00:00
Matteo Pagliazzi 942ee522a1 fix production logging 2016-05-22 03:58:40 +02:00
Keith Holliday 1a19c9d2a6 Added password confirmation when deleteing account (#7402) 2016-05-22 03:55:52 +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
Keith Holliday c9eebf0b84 Updated shortname validation to support multiple browsers 2016-05-22 02:20:25 +01:00
Matteo Pagliazzi 7ef529988a update links for v3 2016-05-22 00:00:05 +02:00
Matteo Pagliazzi 308e70432f migration: fix items 2016-05-21 23:22:17 +02:00
Matteo Pagliazzi ee691c252b use babel polyfill 2016-05-21 22:57:19 +02:00
Matteo Pagliazzi 4e12cd293c use bluebird 2016-05-21 22:54:27 +02:00
Matteo Pagliazzi 0c20cf30d7 v3: $w -> splitWhitespace 2016-05-21 20:27:11 +02:00
Keith Holliday 25511a8e64 Chained party promises together (#7396) 2016-05-21 19:46:38 +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
Keith Holliday d6e7eb8c75 Removed unnecessary fields when updating groups and challenges (#7395) 2016-05-21 18:45:08 +02:00
Matteo Pagliazzi c44c2a35ba Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-21 18:43:59 +02:00
Matteo Pagliazzi b49826129a v3: implement automatic syncing if user is not up to date 2016-05-21 18:43:35 +02:00
Keith Holliday b378e41f2c Tavern party challenges invites fix (#7394)
* Added challenges and invitations to party

* Loaded tavern challenges

* Updated group and quest services tests
2016-05-21 17:26:34 +02:00
Matteo Pagliazzi a210542e0a Merge branch 'develop' into api-v3 2016-05-21 16:46:22 +02:00
Blade Barringer ef3a2fc286 chore(i18n): update locales 2016-05-21 09:14:25 -05: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
Keith Holliday f4ca97ffc3 Fixed quest drop modal (#7377)
* Fixed quest drop modal

* Fixed broken party test
2016-05-21 12:21:39 +02:00
Alys d36c514c06 add plumilla to artists for Tangle Tree in Bailey message 2016-05-20 22:07:03 -04: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
Alys bce5b44cb6 add plumilla to artists for the Tangle Tree quest - fixes https://github.com/HabitRPG/habitrpg/issues/7385 2016-05-21 06:52:23 +10:00
Blade Barringer f5d65a1e4d fix: remove unused vars
closes #7383
2016-05-20 14:27:22 -05:00
Sabe Jones 18822854f7 fix(static-page): remove timezone handling 2016-05-20 16:53:40 +00:00
Blade Barringer d3ecdae25c Merge pull request #7365 from crookedneighbor/skill_fixes
Skill fixes
2016-05-20 09:32:58 -05: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
Keith Holliday 5e30aeb24c Updated ui when user rejects a guild invite (#7368) 2016-05-20 14:17:54 +02:00
Blade Barringer 25c69afb5f chore: Update i18n locales 2016-05-20 06:55:50 -05:00
Alys 207ed39f36 fix for maintenance window dates properly 2016-05-20 03:42:51 -04:00
Alys 6b31f2845f replace time code with fixed time text 2016-05-20 17:33:21 +10:00
Sabe Jones 908e80d2ca fix(announcement): upcoming features wording 2016-05-19 22:30:31 -05:00
Sabe Jones d221bcc84c Maintenance announcement (#7372)
* chore(news): announce downtime

* fix(news): tweaks and corrections

* fix: Update maintenance page to use dynamic date
2016-05-19 22:28:13 -05:00
Blade Barringer 283c2a0823 Merge pull request #7370 from Alys/v3-7246-unchecking-daily-mana
remove XP, GP when unticking a Daily with a completed checklist
2016-05-19 22:17:27 -05:00
Alys b9d55e3562 use natural language for error message about skills on challenge tasks (#7336), fix other gramatical error 2016-05-19 23:54:22 +00:00
Alys af37b30363 remove XP, GP when unticking a Daily with a completed checklist - fixes https://github.com/HabitRPG/habitrpg/issues/7246 2016-05-19 17:08:15 -04:00
Matteo Pagliazzi bf776e38c7 v3: correctly use v3 routes in client 2016-05-19 22:59:17 +02: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 65c739f7de v3: misc fixes for payments 2016-05-18 22:35:03 +02:00
Matteo Pagliazzi 9efe75e9b8 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-18 22:12:02 +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
Keith Holliday 9a32a01a3e Added force cache update when fetching new messages (#7360) 2016-05-18 21:49:58 +02:00
Matteo Pagliazzi f0f67e1e88 v3: fallbackto authWithHeaders if wuthWithSession or authWithUrl fails 2016-05-18 18:29:38 +02:00
Matteo Pagliazzi ef9dc9a15a v3: fix tests for challenge export 2016-05-18 17:49:17 +02:00
Keith Holliday 425172daae Removed v2 calls from views (#7351) 2016-05-18 17:48:32 +02:00
Matteo Pagliazzi 58b9a08539 v3 client: correctly redirect after inviting 2016-05-18 17:41:42 +02:00
Blade Barringer 18a3024aea fix: Correct hourglass test 2016-05-18 10:33:05 -05:00
Matteo Pagliazzi 163b5b4ac3 v3: remove unused code 2016-05-18 17:28:33 +02:00
Blade Barringer 7c96d45e86 feat: Add v3 strings to develop for translating (#7354) 2016-05-18 17:25:35 +02:00
Matteo Pagliazzi ae26713dd9 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-18 17:16:53 +02:00
Matteo Pagliazzi 95542cd42e v3 client: fix sticky header 2016-05-18 17:16:40 +02:00
Alys dad60909f7 move locales strings from api-v3.json to other locales files (#7347)
* move locales strings from api-v3.json: authentication strings -> front.json

* move locales strings from api-v3.json: authentication strings -> tasks.json

* move locales strings from api-v3.json: authentication strings -> groups.json

* move locales strings from api-v3.json: authentication strings -> challenge.json

* move locales strings from api-v3.json: authentication strings -> groups.json (again)

* move locales strings from api-v3.json: authentication strings -> quests.json

* move locales strings from api-v3.json: authentication strings -> subscriber.json

* move locales strings from api-v3.json: authentication strings -> spells.json

* move locales strings from api-v3.json: authentication strings -> character.json

* move locales strings from api-v3.json: authentication strings -> groups.json (PMs)

* move locales strings from api-v3.json: authentication strings -> npc.json

* move locales strings from api-v3.json: authentication strings -> pets.json

* move locales strings from api-v3.json: authentication strings -> miscellaneous

* move locales strings from api-v3.json: authentication strings -> contrib.json and settings.json

* move locales strings from api-v3.json: delete unused string (invalidTasksOwner), delete api-v3.json, whitespace cleanup
2016-05-18 16:56:05 +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 73dd9f5920 v3 client: fix chat flagging 2016-05-18 16:50:50 +02:00
Matteo Pagliazzi 2f934455ad v3: support party invitation from email 2016-05-18 16:39:11 +02:00
Matteo Pagliazzi d1f9e9e7ca v3: update footer with links to developer resources 2016-05-18 16:06:05 +02:00
Matteo Pagliazzi 4b81c97bfc v3: info about API v3 2016-05-18 15:49:58 +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
Blade Barringer 9fdbec879a Merge pull request #7337 from crookedneighbor/v2_fixes
Legacy Id for v2
2016-05-18 06:46:23 -05:00
Matteo Pagliazzi 210ac57165 v3: misc fixes 2016-05-18 12:16:31 +02:00
Matteo Pagliazzi d888fc7588 v3 client: remove console.log statement 2016-05-18 11:23:11 +02:00
Keith Holliday 1a87619bac Api v3 party quest fixes (#7341)
* Fix display of add challenge message when group challenges are empty

* Fixed forced quest start to update quest without reload

* Fixed needing to reload when accepting party invite

* Fix group leave and join reload

* Fixed leave current party and join another

* Updated party tests
2016-05-18 11:22:32 +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 990d43928b chore: Change v3 migration to use _legacyId instead of legacyId 2016-05-17 15:52:00 -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 4f1d738272 fix: Provide default history [] for habit in score route 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
Blade Barringer 7ac67315e6 Merge branch 'develop' into api-v3 2016-05-17 15:50:31 -05:00
Matteo Pagliazzi a0f8b715aa v3: move TAVERN_ID to common code 2016-05-17 22:49:31 +02:00
Matteo Pagliazzi 2ff5c883d8 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-17 22:48:13 +02:00
Matteo Pagliazzi e8b8fc3b3a v3 client: fix tests 2016-05-17 22:43:18 +02:00
Blade Barringer 485c4599cd Merge pull request #7316 from Alys/v3-debug-menu
[API v3] Debug menu jade file only - small adjustments
2016-05-17 15:20:41 -05:00
Sabe Jones 0d69a504d2 chore(news): Challenge Spotlight 2016-05-17 18:53:58 +00:00
Matteo Pagliazzi b963acb91b v3 client: only load completed todos once 2016-05-17 19:31:59 +02:00
Matteo Pagliazzi 2064db364f v3 client: more user friendly errors 2016-05-17 19:22:35 +02:00
Matteo Pagliazzi a757df9f5b v3: fix notifications 2016-05-17 19:12:39 +02:00
Matteo Pagliazzi 30c9458493 v3 client: fix misc challenge issues 2016-05-17 18:19:45 +02:00
Matteo Pagliazzi d293b2d6ee v3 client: fix ability to send cards 2016-05-17 17:35:49 +02:00
Matteo Pagliazzi bb6809fd6b v3 client: do not show start quest button when quest is active 2016-05-17 17:06:28 +02:00
Matteo Pagliazzi 1b48ff4b8f v3 fix client tests for unlinking 2016-05-17 17:02:36 +02:00
Matteo Pagliazzi 2d63076369 v3: fix typo 2016-05-17 16:40:18 +02:00
Matteo Pagliazzi d2e9c45c0a v3: fix authenticating with apiUrl 2016-05-17 16:37:48 +02:00
Matteo Pagliazzi f4159daf21 v3 fix releasing pets 2016-05-17 16:26:59 +02:00
Matteo Pagliazzi 4b0262cee5 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-17 16:25:12 +02:00
Matteo Pagliazzi 41152157c2 v3: fix unlinking multiple tasks 2016-05-17 16:24:54 +02:00
Alys 1cf2c89171 adjust locales text, key names, and files for Rebirth, Reset, and Fortify / ReRoll for consistency with existing strings (#7321) 2016-05-17 15:48:58 +02:00
Matteo Pagliazzi d648b0e0c8 v3 migration: fix createdAt date 2016-05-17 15:46:30 +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 daf899374d adjust debug menu Modify Inventory: hungrier pets, fewer Special items, "Hide" buttons 2016-05-16 23:01:23 -04:00
Matteo Pagliazzi 9f12acf241 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-16 23:10:38 +02:00
Matteo Pagliazzi c1ef633b0f v3 client: fix typo 2016-05-16 23:10:19 +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
Matteo Pagliazzi ec80785384 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-16 22:52:25 +02:00
Matteo Pagliazzi ab6e34aa6f v3: fix sorting 2016-05-16 22:50:58 +02:00
Sabe Jones beb4a0d8bb feat(content): May 2016 pet quest (#7310) 2016-05-16 15:18:51 -05:00
Blade Barringer 24fb7fff22 Merge branch 'TheHollidayInn-api-v3-challenge-fixes' into api-v3 2016-05-16 15:01:09 -05:00
Keith Holliday bc44fa062e Api v3 challenge fixes (#7287)
* Fixed join/leave button updates

* Queried only user groups to be available when creating challenges

* Fixed bulk add tasks to challenge

* Synced challenge tasks after leave and join.

* Fixed default selected group

* Fixed challenge member info. Fixed challenge winner selection

* Fixed deleting challenge tasks

* Fixed particiapting filter

* Fixed viewing user progress on challenge

* Updated tests

* Added delete for saved challenge task
2016-05-16 21:49:22 +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
Keith Holliday 1187d77ba5 Added delete for saved challenge task 2016-05-16 08:51:24 -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 ab27ef47fe v3 client: misc fixes 2016-05-16 12:54:43 +02:00
Matteo Pagliazzi 4d08fde068 v3: fix auto allocation 2016-05-16 12:17:26 +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
Matteo Pagliazzi ba1628427e v3: fix stealth casting 2016-05-16 11:38:22 +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
Keith Holliday bb0be9a626 Updated tests 2016-05-15 18:57:15 -05:00
Keith Holliday 20642c9dde Fixed viewing user progress on challenge 2016-05-15 18:19:00 -05:00
Blade Barringer 08d4b13b05 Merge pull request #7284 from crookedneighbor/debug_inventory
feat: Add modify inventory debug menu
2016-05-15 16:27:09 -05:00
Blade Barringer 21203c3f2e feat: Add modify inventory debug menu 2016-05-15 16:07:30 -05:00
Matteo Pagliazzi 93546f6546 v3: add TODO for client side spells 2016-05-15 22:55:06 +02: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
Keith Holliday f593add576 Fixed particiapting filter 2016-05-15 11:40:45 -05:00
Keith Holliday 2173719e43 Fixed deleting challenge tasks 2016-05-15 11:32:47 -05:00
Keith Holliday 21191fdc45 Fixed challenge member info. Fixed challenge winner selection 2016-05-15 11:19:58 -05:00
Keith Holliday a7e71163c0 Fixed default selected group 2016-05-15 10:52:44 -05:00
Keith Holliday bda90fad68 Synced challenge tasks after leave and join. 2016-05-15 10:14:29 -05:00
Keith Holliday fcc02b16c6 Fixed bulk add tasks to challenge 2016-05-15 10:03:34 -05:00
Keith Holliday 400e434f1c Queried only user groups to be available when creating challenges 2016-05-15 09:50:30 -05:00
Keith Holliday 6bd893d497 Fixed join/leave button updates 2016-05-15 09:44:23 -05:00
Matteo Pagliazzi b31de3845b v3: fix adding multiple tasks 2016-05-15 16:43: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 23a9a3e0e4 v3 client: support unlinking not found challenges tasks 2016-05-15 13:00:42 +02:00
Matteo Pagliazzi 438d2779b5 v3 common: fix tags tests 2016-05-15 12:45:27 +02:00
Matteo Pagliazzi cb0939a38c v3 client: fix filtering by tag and correctly show tag tooltip 2016-05-15 12:31:27 +02:00
Matteo Pagliazzi 0f7964cac1 v3 client: fix ability to leave challenge 2016-05-15 12:12:19 +02:00
Matteo Pagliazzi 4c056426e8 v3: fix tasks chart 2016-05-15 12:00:50 +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 708f495684 v3 migration: fix challenge prize 2016-05-15 11:12:12 +02:00
Matteo Pagliazzi 6ab3280045 v3 client: fix group not found when leaving party 2016-05-15 11:06:20 +02:00
Matteo Pagliazzi a8a063d3f6 v3: execute all actions when leaving a solo party 2016-05-15 11:01:37 +02:00
Matteo Pagliazzi bbf5791aa0 v3: fix _tmp for crit and streakBonus 2016-05-15 10:45:12 +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 4a2e3d4410 lint: Add missing semicolons in test 2016-05-14 22:45:35 -05:00
Blade Barringer 8ae3dd779e Merge pull request #7264 from Alys/karma.conf
remove userServices.js from karma.conf
2016-05-14 22:43:16 -05:00
Blade Barringer 50d7345832 feat: Add make admin button to debug menu 2016-05-14 22:37:26 -05:00
Blade Barringer bc58bd97bb fix: Correct set cron debug function 2016-05-14 22:33:02 -05:00
Blade Barringer 3b8ce8451b feat: Create debug update user route 2016-05-14 22:30:18 -05:00
Alys d28860620b remove userServices.js from karma.conf - it's been moved to website/client/js/services 2016-05-15 13:21:08 +10:00
Blade Barringer ac87366f20 Merge pull request #7261 from crookedneighbor/fix_drops
fix: Alert user that drops were recieved
2016-05-14 21:51:05 -05:00
Blade Barringer 44102f6b46 fix: Alert user that drops were recieved 2016-05-14 18:45:36 -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
Sabe Jones 6ceea9346f chore(news): misc announcements 2016-05-14 20:56:22 +00:00
Blade Barringer 8a72c91060 Merge branch 'TheHollidayInn-upstream/api-v3-fixes-2' into api-v3
Closes #7245
2016-05-14 12:00:53 -05:00
Keith Holliday 2d5bf9b1bc Fixed reload tests 2016-05-14 12:00:41 -05:00
Blade Barringer 2487ebac90 chore: Reinstate floating version number for eslint
babel-eslint regression fixed
2016-05-14 11:59:00 -05:00
Keith Holliday 72c1729d54 Loaded completed todos when done is clicked 2016-05-14 11:05:31 -05:00
Keith Holliday 0537ff3552 Fixed battle monsters with friends button 2016-05-14 11:05:31 -05:00
Keith Holliday 936ff1f200 Fixed page reload on settings change 2016-05-14 11:05:31 -05:00
Keith Holliday 409dfbb2b0 Fixed adding and removing tags on tasks 2016-05-14 11:05:31 -05:00
Keith Holliday 6222c23810 Updated spell casting to v3 2016-05-14 11:05:31 -05:00
Keith Holliday 439d20c82e Fixed start party by invites 2016-05-14 11:05:31 -05:00
Blade Barringer 769d9e5148 Merge branch 'Alys-api-v3-apidoc-url' into api-v3 2016-05-14 10:21:04 -05:00
Alys e4b17d2d04 update apidoc URL in package.json
Closes #7222
2016-05-14 10:20:43 -05:00
Blade Barringer c534f31593 Merge pull request #7226 from Alys/api-v3-pubChalsMinPrize-rename
[API v3] rename and reword pubChalsMinPrize to reflect that it's only for the Tavern
2016-05-14 10:19:43 -05:00
Blade Barringer a697d028b7 fix: Correct client request from habitrpg -> tavern 2016-05-14 09:37:21 -05:00
Blade Barringer e654b47537 Merge branch 'Alys-api-v3-cron-comments-etc' into api-v3 2016-05-14 09:21:55 -05:00
Blade Barringer 56dccf016e chore: clarify comments on cron code 2016-05-14 09:20:57 -05:00
Alys 210d01ddae add a missing variable declaration 2016-05-14 23:01:45 +10:00
Blade Barringer 9969aa667a fix: Remove requirement on message paramter in transfer-gems 2016-05-14 07:37:47 -05:00
Blade Barringer 25f0819f1e chore: Remove unusued variable 2016-05-14 06:59:11 -05:00
Blade Barringer 3e57620666 fix: Set gems sent notification as translatable string 2016-05-14 06:54:44 -05:00
Alys 44e9d8b09e fix tests for /members/transfer-gems 2016-05-14 07:18:00 -04:00
Alys 2e078f4776 allows players to send gems to each other; other minor related changes - fixes https://github.com/HabitRPG/habitrpg/issues/7227 2016-05-14 05:58:40 -04:00
Alys fd13c7aa60 rename and reword pubChalsMinPrize to reflect that it's only for Tavern challenges 2016-05-14 16:40:40 +10:00
Blade Barringer 4dd7c29baf fix: Add missing type param to equip call
closes #7212
2016-05-13 22:49:05 -05:00
Blade Barringer 38f09c7766 Merge pull request #7215 from crookedneighbor/fix_checklist
[API v3] Correct checklist on v3 client
2016-05-13 22:38:50 -05:00
Alys 6acaef50e6 minor improvements to cron code for clarity; fix inaccurate comments; add TODOs for rest-in-inn actions 2016-05-14 13:26:26 +10:00
Blade Barringer e19146d6be fix: Pin eslint to 2.9 2016-05-13 22:17:19 -05:00
Blade Barringer 0a8b8236c1 fix: Correct checklist on client
Closes #7207
2016-05-13 22:05:00 -05:00
Keith Holliday 1fd7df7521 Api v3 fixes continued (#7205)
* Added timzeone offset back

* Added APIToken back to settings page

* Fixed fetch recent messages for party

* Fixed returning group description

* Fixed check if user is member of challenge

* Fixed party members appearing in header

* Updated get myGroups param to include public groups. Fixed isMemberOf group

* Fixed hourglass purchase

* Fixed challenge addding tasks on first creating

* Updated tests to accomidate new changes
2016-05-13 23:36:25 +02:00
Lucas Torroba (@zesme) 2a8f24697f chore(typo): Fix typos in ISSUE_TEMPLATE.md
Closes #7202
2016-05-13 12:50:09 -05:00
Matteo Pagliazzi cc20812674 [API v3] Fix calls to user.ops and deleting tags (#7204)
* v3: fixes calls to user.ops from views and deleting tags

* v3: fix tests that use user._statsComputed
2016-05-13 19:45:16 +02:00
Matteo Pagliazzi 468a312357 v3 fix GET /groups: return an error only if an invalid type is supplied not when there are 0 results (#7203) 2016-05-13 19:08:38 +02:00
Matteo Pagliazzi 199732539f chore(): rename website/src -> website/server and website/public -> website/client (#7199) 2016-05-13 15:35:12 +02:00
Matteo Pagliazzi 486b93a3c9 mongoose: use options 2016-05-13 10:42:48 +02:00
Matteo Pagliazzi 9514e9c5a8 v3: fix reminders with no startDate 2016-05-13 10:34:09 +02:00
Matteo Pagliazzi 8183b0d084 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-13 10:31:49 +02:00
Blade Barringer afc51cbdc4 Merge pull request #7198 from crookedneighbor/capture_stack_trace
fix: Only apply captureStackTrace if it exists on the error object
2016-05-12 19:25:44 -05:00
Blade Barringer de1f2c2788 fix: Only apply captureStackTrace if it exists on the error object 2016-05-12 18:57:49 -05:00
Matteo Pagliazzi b5a7f8e3a1 test mongoose fix 2016-05-12 23:12:11 +02:00
Matteo Pagliazzi e47ae45f9f mongoose: increase keepAlive 2016-05-12 22:43:38 +02:00
Matteo Pagliazzi c7fb69b530 revert changes to mongoose config 2016-05-12 21:44:57 +02:00
Matteo Pagliazzi f1f18859de v3: fix todo scoring and try to fix production testing problem 2016-05-12 21:29:53 +02:00
Keith Holliday ca6dca5fd0 Fixed test broken by part sync change (#7195) 2016-05-12 19:55:34 +02:00
Matteo Pagliazzi bb1cb3397e v3 client: saving after syncing is complete 2016-05-12 18:18:24 +02:00
Keith Holliday 781f0bf1ab Api v3 task fixes (#7193)
* Update task view to use _id

* Added try catch to user service ops calls
2016-05-12 18:07:17 +02:00
Matteo Pagliazzi 93336f3894 v3: misc fixes 2016-05-12 18:06:26 +02:00
Keith Holliday c9b7aa8342 Api v3 party tavern fixes (#7191)
* Added check if user is in party before query

* Cached party query. Prevented party request when user is not in party. Updated Party create with no invites

* Update tavern ctrl to use new promise
2016-05-12 16:45:53 +02:00
Matteo Pagliazzi 7fea1d3a98 disable redirects 2016-05-12 14:07:05 +02:00
Matteo Pagliazzi 3f555b012d fix trailing spaces 2016-05-12 09:53:32 +02:00
Matteo Pagliazzi 8c351b6c56 return user.id and send analytics event before changing page 2016-05-12 09:40:21 +02:00
Matteo Pagliazzi 1dbd866ca1 Merge pull request #7189 from TheHollidayInn/api-v3-fixes
Api v3 fixes
2016-05-12 09:37:22 +02:00
Keith Holliday 01a8fde124 Fixed cron test 2016-05-11 23:40:20 -05:00
Keith Holliday 5d7ebd82a4 Updated party and group tests 2016-05-11 17:06:16 -05:00
Keith Holliday eff2f04b45 Add challenges to groups. Fixed isMemberOfGuild check 2016-05-11 14:34:36 -05:00
Keith Holliday 12eba7bbe9 Ensured login callback happens after user sync 2016-05-11 14:18:32 -05:00
Keith Holliday ee948f2447 Updated party query and create 2016-05-11 14:17:11 -05:00
Sabe Jones 0eb7bc537d fix(contact): add clear subscription trouble email 2016-05-11 18:43:59 +00:00
Matteo Pagliazzi 679d56bc5c Merge pull request #7186 from TheHollidayInn/api-v3-registration-fix
Changed id param for registration response
2016-05-11 20:35:32 +02:00
Keith Holliday 5b490116db Changed id param for registration response 2016-05-11 10:40:40 -05:00
Matteo Pagliazzi bf2c69aaca v3: q -> bluebird 2016-05-11 16:57:43 +02:00
Matteo Pagliazzi a8f4731a0a Merge pull request #7091 from HabitRPG/api-v3-client
[API v3] Client
2016-05-11 16:36:22 +02:00
Matteo Pagliazzi 969459252b v3: do not await a non promise 2016-05-11 16:22:56 +02:00
Matteo Pagliazzi 8276ffcfe2 v3: fix tests 2016-05-11 16:21:22 +02:00
Matteo Pagliazzi 998c679e96 Merge branch 'api-v3' into api-v3-client 2016-05-11 16:01:54 +02:00
Matteo Pagliazzi 95aff08de3 v3 fix tests and use coroutines instead of regenerator 2016-05-11 15:59:18 +02:00
Matteo Pagliazzi bcb2877f61 Merge pull request #7145 from TheHollidayInn/api-v3-client-user-service
[WIP] Ported User Serivce to client side and to api v3
2016-05-11 15:50:09 +02:00
Keith Holliday 2e2aa55fc5 Removed extra consoles.log. Changed data.data to res.data 2016-05-11 08:27:35 -05:00
Matteo Pagliazzi 84b198f17f v3 fix tests with deferred 2016-05-11 14:55:51 +02:00
Matteo Pagliazzi a947afa5c6 Merge branch 'develop' into api-v3 2016-05-11 14:36:58 +02:00
Matteo Pagliazzi cee7700a50 switch from Q to Bluebird 2016-05-11 14:34:01 +02:00
Matteo Pagliazzi 299ed624f5 v3: upgrade some deps 2016-05-11 13:48:39 +02:00
Matteo Pagliazzi 0d4870b1e6 v3: remove newrelic config file in favour of env variables 2016-05-11 11:43:50 +02:00
Keith Holliday f807bc2a49 Fixed auth tests. Updated Authctrl response 2016-05-10 22:09:04 -05:00
Matteo Pagliazzi f46b336a1f v3: fix package.json 2016-05-11 01:33:49 +02:00
Matteo Pagliazzi 17e763db37 v3: fix package.json 2016-05-11 01:32:55 +02:00
Keith Holliday 04d8e7dd28 Added api-v3 auth urls 2016-05-10 16:54:50 -05:00
Keith Holliday 1315e5914c Added tags into user service 2016-05-10 16:35:23 -05:00
Sabe Jones 7f11e766c3 Sabrecat/glasses chairs (#7182)
* feat(customization): new chairs, eyeglass sprites

* feat(avatar): finish glasses implementation

* fix(test): include glasses in base equipment
2016-05-10 16:07:46 -05:00
Keith Holliday 4e41028ddd Fixed more tests 2016-05-10 15:15:55 -05:00
Keith Holliday 632a1ebbf3 Fixed linting and some tests 2016-05-10 15:15:55 -05:00
Keith Holliday a0939155c9 Updated login headers save. Added task service to user service. Sync user tasks 2016-05-10 15:15:55 -05:00
Keith Holliday a92359e119 Moved markPMSRead to common.ops. Added tests 2016-05-10 15:15:55 -05:00
Keith Holliday c88cae4ddb Added mark pms read route. Fixed error checking and extra code. 2016-05-10 15:15:55 -05:00
Keith Holliday b037ddd14c Ported User Serivce to client side and to api v3 2016-05-10 15:15:55 -05:00
Matteo Pagliazzi 02a01a64ec Merge pull request #7030 from HabitRPG/sabrecat/v3-payments
[API v3] Payments refactor
2016-05-10 18:33:00 +02:00
Matteo Pagliazzi b3a78fba97 v3 payments: fix tests 2016-05-10 18:14:28 +02:00
Matteo Pagliazzi d33564e5d4 v3 payments: port paypal 2016-05-10 17:57:55 +02:00
Matteo Pagliazzi 1c887b18e1 v3 payments: fix urls in tests 2016-05-10 17:00:47 +02:00
Matteo Pagliazzi cd84ebd4c5 v3 payments: fix client errors for Stripe 2016-05-10 16:57:12 +02:00
Matteo Pagliazzi 1a43ab35c0 v3 payments: port amazon payments 2016-05-10 16:56:01 +02:00
Keith Holliday 9146e4601e Added tags service (#7176) 2016-05-10 16:27:36 +02:00
Matteo Pagliazzi 03008c0d40 Merge branch 'api-v3' into sabrecat/v3-payments 2016-05-09 23:29:38 +02:00
Matteo Pagliazzi 0cb0780c14 v3: do not log entire promise on error and add ability to enable console logging of errors in prod 2016-05-09 23:29:20 +02:00
Keith Holliday 20f9bbf449 Corrected reset checklist logic (#7154)
* Corrected reset checklist logic

* Change cron logic to reset rather than set

* Remove extra paranthesis
2016-05-09 23:06:27 +02:00
Matteo Pagliazzi 0114e310eb v3 payments: working IAP and Stripe, move paypalBillingSetup to its own file, closeChal is now a challenge instance method 2016-05-09 22:58:15 +02:00
Matteo Pagliazzi e980b3ce0a Merge branch 'api-v3' into sabrecat/v3-payments 2016-05-08 19:19:20 +02:00
Keith Holliday e747bba669 Updated add and remove tests for challenges (#7155) 2016-05-08 18:35:38 +02:00
Matteo Pagliazzi 94220c5483 Merge branch 'TheHollidayInn-api-v3-client-tests2' into api-v3-client 2016-05-08 16:59:30 +02:00
Matteo Pagliazzi 34251ca7fc Merge branch 'api-v3-client-tests' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-client-tests2 2016-05-08 16:59:15 +02:00
Keith Holliday 4c37417bd4 Updated task service to use api v3 (#7136)
* Updated task service to use api v3

* Add user.ops functions back

* Removed extra parameter
2016-05-08 16:52:43 +02:00
Keith Holliday a7c6457d79 Removed dateCreated 2016-05-08 09:40:08 -05:00
Matteo Pagliazzi e19130bd8c fix typo custsomerId -> customerId 2016-05-08 15:50:38 +02:00
Matteo Pagliazzi 77d2d943ae v3: fix crashes when group or leader cannot be populated and fixes challenges migration for tavern challenges 2016-05-07 17:35:13 +02:00
Matteo Pagliazzi 4e3d4c8831 v3: more verbose logging in production and fix migration bugs 2016-05-07 15:01:40 +02:00
Matteo Pagliazzi afb7d1d627 v3: start cleaning up TODO comemnts 2016-05-06 20:24:53 +02:00
Matteo Pagliazzi b687a6bf9d fix typo in v3 groups migration 2016-05-06 19:40:36 +02:00
Blade Barringer 7d41b76b2e Merge pull request #7148 from crookedneighbor/require-again
feat: Add require-again to help with unit testing
2016-05-06 12:20:19 -05:00
Blade Barringer 192488cb02 feat: Add require-again to help with unit testing 2016-05-06 12:05:06 -05:00
Keith Holliday 6556c2a670 Added missing done to tests. Fixed partyCtrl tests 2016-05-06 09:10:47 -05:00
Keith Holliday fd244ac021 Turned on client side tests. Fixed broken tests 2016-05-05 23:36:17 -05:00
Matteo Pagliazzi c94f4ef0e9 v3 migration: delete old completed todos 2016-05-05 12:15:28 +02:00
Sphinx 7bfd9b0fd9 shieldSpecialSpring2015RogueNotes typo (#7144) 2016-05-05 19:55:02 +10:00
Matteo Pagliazzi ebf3a0979f fix challenges members migration 2016-05-05 09:28:07 +02:00
Matteo Pagliazzi bb2dd8ca08 v3: remove trimming and lowercase from fields that must be unique 2016-05-04 23:43:04 +02:00
Matteo Pagliazzi e5e4bb5823 v3 migration: correctly migrate challenges tasks 2016-05-03 23:27:24 +02:00
Sabe Jones d5b3bbfaad Sabrecat/armoire 201605 (#7142)
* feat(content): May BGs and Armoire

* chore(news): Bailey 20160503
2016-05-03 15:20:00 -05:00
Keith Holliday 78a8eea79a Updated quest service to use new api-v3 (#7126)
* Updated quest service to use new api-v3

* Updated inviteToQuest function name. Used quest return rather than syncing party
2016-05-03 17:16:30 +02:00
Matteo Pagliazzi c218a2cbdf v3 fix apidoc broken layout 2016-05-03 15:54:02 +02:00
Matteo Pagliazzi 21d798bca7 v3: GET /groups accept a guilds type which returns all the guilds the user is a member of 2016-05-03 15:49:47 +02:00
Sabe Jones 166a37d53f chore(event): end Spring Fling 2016 2016-05-02 01:36:03 +00:00
Matteo Pagliazzi 72f4bd0aab Merge branch 'api-v3' into sabrecat/v3-payments 2016-05-02 00:26:02 +02:00
Matteo Pagliazzi 01c07ae6df Merge branch 'api-v3' into api-v3-client 2016-05-02 00:25:25 +02:00
Matteo Pagliazzi f0e696b0ec Merge branch 'develop' into api-v3 2016-05-02 00:24:50 +02:00
Matteo Pagliazzi fbce7e65ab v3 migration: fixes 2016-05-01 23:54:58 +02:00
Matteo Pagliazzi 60eefde15f fix linting 2016-05-01 16:36:21 +02:00
Matteo Pagliazzi e8024f98e1 v3 migration: first finished version that contains all models 2016-05-01 16:27:04 +02:00
Matteo Pagliazzi a0e63c0eb2 use uuid module for uuids 2016-05-01 15:01:00 +02:00
Matteo Pagliazzi 4457b1c18c v3: fix tags and challenges migration 2016-05-01 14:46:22 +02:00
Matteo Pagliazzi 8391494b89 v3: fix tags tests 2016-05-01 14:15:26 +02:00
Matteo Pagliazzi a8fbafb801 v3: fix tags tests 2016-05-01 13:48:55 +02:00
Matteo Pagliazzi a63d5ae97f v3: fix tags tests 2016-05-01 13:25:19 +02:00
Matteo Pagliazzi f5144fddaa v3 adapt v2: fix tags _id, stickyHeader and unlocking 2016-05-01 12:51:32 +02:00
Matteo Pagliazzi 79c8449e1e Merge branch 'api-v3' into sabrecat/v3-payments 2016-04-30 19:28:45 +02:00
Matteo Pagliazzi 115c5374cb Merge branch 'api-v3' into api-v3-client 2016-04-30 19:28:16 +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 0c38caa2f9 Merge branch 'api-v3' into sabrecat/v3-payments 2016-04-30 16:51:51 +02:00
Matteo Pagliazzi 3437744f62 Merge branch 'api-v3' into api-v3-client 2016-04-30 16:51:15 +02:00
Matteo Pagliazzi f69a566178 Merge branch 'develop' into api-v3 2016-04-30 16:49:44 +02:00
Victor Pudeyev a567476bb7 V3 payments 7 stripe (#7124)
* payments api: cancelSubscription

* some more tests for amazon payments

* promisifying amazon payments

* somehow payment stub is not working

* cleaning up tests

* renaming tests in api/v3/integration/payments

* improvements

* cleanup, lint

* fixes as per comments

* moment.zone() is back in.

* basic controller for stripe payments

* authWithUrl is in

* stripe cleanup

* making tests pass

* stripe bug fixes

* 400 error is right

* cleanup of sinon spy for fakeSend

* paypal payments

* lint of paypal

* require -> import
2016-04-30 16:42:10 +02:00
Keith Holliday 415418f30c Api v3 members port (#7109)
* Ported groups service to user new api v3 and ported dependent controllers

* Remove  and extra remove inviation code. Fixed group service caching and update group service tests

* Fixed test logic and added party cache support

* Updated members service to use api v3

* Removed onlys

* Added invites to group detail

* Removed old user reject invite code
2016-04-30 10:54:25 +02:00
Alys 590e185ecd fix spelling mistake: reseting to resetting 2016-04-29 18:44:49 -04:00
Sabe Jones 1787342951 chore(news): Last Chance Bailey 201604 2016-04-29 22:16:36 +00:00
Matteo Pagliazzi 3364019fcc v3 and adapted v2: bugs fixes for groups, challenges and tasks 2016-04-29 11:49:12 +02:00
Blade Barringer 2aa3a3175f Merge branch 'develop' into kelsin-develop 2016-04-27 19:11:56 -05:00
Victor Pudeyev fa21577c46 V3 payments 6 (#7104)
* payments api: cancelSubscription

* some more tests for amazon payments

* promisifying amazon payments

* somehow payment stub is not working

* cleaning up tests

* renaming tests in api/v3/integration/payments

* improvements

* cleanup, lint

* fixes as per comments

* moment.zone() is back in.
2016-04-27 21:26:32 +02:00
Matteo Pagliazzi f78bc2e6a8 v3 migration: barebone migration 2016-04-27 19:35:07 +02:00
Sabe Jones 7bc89aa55c fix(sprites): updateabee 2016-04-27 17:14:49 +00:00
Keith Holliday 570d5c7fd9 Updated challenge service to user apiv3 and update challenge ctrl (#7111)
* Updated challenge service to user apiv3 and update challenge ctrl

* Removed extra code. Added challenge update. Fixed group qurey
2016-04-27 16:11:06 +02:00
Keith Holliday 2619b34c65 Updated chat service to use api v3 (#7113)
* Updated chat service to use api v3

* Removed , added back User functions, added todo
2016-04-27 15:59:10 +02:00
Sabe Jones bf7ce46ea4 chore(news): Be-Wilder conclusion 2016-04-27 04:16:35 +00:00
Blade Barringer a326873935 chore: Add emoji lib back in
The 3rd party chat extension was breaking because this library was
missing. Remove this after the chat extension is updated

https://github.com/Horacious/HabitRPG-Chat-Extension/pull/40
2016-04-26 23:07:15 -05:00
Blade Barringer ebe3eefcc5 chore: reorganize quest sprites 2016-04-26 21:13:06 -05:00
Sabe Jones 0d4532c12e fix(elastic-beanstalk): extend connection timeout for ELB 2016-04-26 19:09:36 +00:00
Blade Barringer ee3aa056f9 feat: Add eb extension to increase deploy timeout to 30 minutes (#7049) 2016-04-26 14:07:28 -05:00
Blade Barringer f415810a0f Merge branch 'markdown_rework' into develop 2016-04-26 12:53:47 -05:00
Blade Barringer b5de787c4d refactor: Remove uneeded emoji images 2016-04-26 12:53:18 -05:00
Blade Barringer e88d0ff450 feat: switch to version number for habitica-markdown 2016-04-26 12:52:59 -05:00
Blade Barringer 4f1a4393e1 fix: Adjust spacing of emoji in tags 2016-04-26 12:50:37 -05:00
Blade Barringer e7315253dd feat: Switch out js-emoji for habtiica-markdown 2016-04-26 08:19:47 -05:00
Sabe Jones d96b13ed43 chore(news): Floral Potions Bailey 2016-04-25 21:20:21 +00:00
Keith Holliday ea490c9a1f Ported groups service to user new api v3 and ported dependent controllers (#7108)
* Ported groups service to user new api v3 and ported dependent controllers

* Remove  and extra remove inviation code. Fixed group service caching and update group service tests

* Fixed test logic and added party cache support

* Added promise rejections and updated http interceptor
2016-04-25 23:11:23 +02:00
Sabe Jones 974896ce7b feat(events): April Mystery and Floral Potions (#7107)
* feat(events): April Mystery and Floral Potions
Also reorganizes the spritesmith folders for mounts so that head, body, and icon sprites are in separate folders.
2016-04-25 14:17:31 -05:00
Blade Barringer b86348dd0e refactor: Remove MOBILE_APP logic 2016-04-25 07:44:05 -05:00
Blade Barringer ad57dedecb refactor: Swap out remarkable for habitica flavored markdown-it 2016-04-25 07:36:02 -05:00
Matteo Pagliazzi d6ea0a3b40 v3: fix setting challenge.official 2016-04-25 14:34:59 +02:00
Matteo Pagliazzi 5b217ec3db v3: fix setting challenge.official 2016-04-25 14:21:00 +02:00
Matteo Pagliazzi 6cad3616f3 v3: define migration spec (add files) 2016-04-25 13:53:42 +02:00
Matteo Pagliazzi 12b05b9492 v3: define migration spec and misc fixes 2016-04-25 13:51:08 +02:00
Matteo Pagliazzi f2d5c921ed Merge branch 'api-v3' into api-v3-client 2016-04-24 15:09:10 +02:00
Matteo Pagliazzi b6f79aff0b Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-04-24 15:08:54 +02:00
Matteo Pagliazzi 6197fcea3b Merge branch 'develop' into api-v3 2016-04-24 15:08:13 +02:00
Matteo Pagliazzi c78c3b9fd8 v3: first iteration of users migration 2016-04-24 15:07:45 +02:00
Keith Holliday 050539d8f3 Added tests for cron (#7081)
* Added inital cron tests

* Added more subscribe tests and updated various tests for syntax and expectations
2016-04-24 00:54:50 +02:00
Matteo Pagliazzi c608d03e35 v3: start writing migrations 2016-04-23 15:00:55 +02:00
Sabe Jones 8355dbe63f chore(news): Bewildered Bailey 2016-04-23 04:00:30 +00:00
Matteo Pagliazzi 537facd118 Merge branch 'api-v3' into api-v3-client 2016-04-23 03:33:32 +02:00
Matteo Pagliazzi 7dab7939cc v3: fix tavern during tests 2016-04-23 03:33:00 +02:00
Matteo Pagliazzi 4cda56e3eb Merge branch 'api-v3' into api-v3-client 2016-04-23 03:08:37 +02:00
Matteo Pagliazzi c5aa15cf47 v3: fix ability to join public guild you were already a member of 2016-04-23 03:08:03 +02:00
Matteo Pagliazzi 2d87cb0d87 Merge branch 'develop' into api-v3 2016-04-22 17:43:48 +02:00
Matteo Pagliazzi 91314a497c Merge branch 'api-v3-unlock-fix' into api-v3 2016-04-22 12:33:55 +02:00
Matteo Pagliazzi 6ba1afe479 Merge branch 'api-v3' into api-v3-unlock-fix 2016-04-22 12:33:39 +02:00
Matteo Pagliazzi 1fe2220aa1 v3: improve docs and fix bugs 2016-04-22 12:15:24 +02:00
Sabe Jones 2cdb30bd5b fix(NR): remove metric check that crashed 2016-04-21 22:47:04 +00:00
Sabe Jones 73e4c719b2 Merge pull request #7096 from piousbox/v3-payments-5
V3 payments 5
2016-04-21 14:45:41 -05:00
Sabe Jones 578e28b6b6 Merge pull request #7095 from piousbox/v3-payments-4
V3 payments 4
2016-04-21 14:42:58 -05:00
Sabe Jones 867146dc19 fix(xss): Update site to use remarkable instead of marked
https://snyk.io/vuln/npm%3Amarked%3A20150520
https://github.com/chjj/marked/pull/592
2016-04-21 13:23:53 -05:00
Sabe Jones 43f8e943f6 Merge pull request #7097 from vIiRuS/patch-7
Fix timezone issue with iOS app
2016-04-21 12:54:44 -05:00
Phillip Thelen a5fbc08016 Set timezoneOffset to 0 as default
Fixes an issue with the iOS app not setting the offset, when no initial value exists.
2016-04-21 19:41:39 +02:00
Blade Barringer 5c1d86c513 Merge branch 'develop' into MathWhiz-mount-images 2016-04-21 07:52:21 -05:00
Victor Piousbox cbf1a4c8d3 breaking changes promisifying amazon payments 2016-04-21 04:37:25 +00:00
Victor Piousbox 54a94db2de working on amazon payments 2016-04-21 03:52:29 +00:00
Victor Piousbox 612e3b725f little changes to lint 2016-04-21 00:25:43 +00:00
Victor Piousbox f9915c3f77 recovering last weeks work on promisifying amazon payments 2016-04-21 00:07:58 +00:00
mathwhiz 45bc69308c mounts 2016-04-20 23:52:26 +00: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
Victor Piousbox 62b059d4d8 little changes, no console.log 2016-04-20 22:27:37 +00:00
Victor Piousbox 3cba6d934b resolving conflicts 2016-04-20 22:04:31 +00:00
Alys 823f51e727 revert npm 3 to npm 2 for vagrant installs; adjust instructions so novice users don't try to run commands before doing 'vagrant ssh' 2016-04-20 09:25:05 +10:00
Sabe Jones cdf4a384d6 fix(sprites): add Bee mount icon 2016-04-19 21:07:03 +00:00
Keith Holliday 9e3d8ba4ac Separated out buy functions into buyGear, buyArmoire, and buyPotion (#7065) 2016-04-19 16:50:04 +02:00
Matteo Pagliazzi 4138eab155 v3: undo changes to client that were necessary to test v2 2016-04-19 12:16:39 +02:00
Matteo Pagliazzi f44dbbbd71 Merge branch 'develop' into api-v3 2016-04-19 12:16:22 +02:00
Matteo Pagliazzi 2dd633a471 better organize common/index 2016-04-19 12:11:10 +02:00
Matteo Pagliazzi ad77922cf0 Merge branch 'piousbox-shared-code-random-drop2' into api-v3 2016-04-19 12:07:31 +02:00
Matteo Pagliazzi 7aa6587f2f Merge branch 'shared-code-random-drop' of https://github.com/piousbox/habitrpg into piousbox-shared-code-random-drop2 2016-04-19 12:07:18 +02:00
lucubro ea9900d27f Fix installation of test dependencies in vagrant provisioning (#7069)
* Fix #7054 installation test dependencies in vagrant provisioning

* Fix small typo in output during vagrant provisioning
2016-04-19 17:28:17 +10:00
Alys 5d040ac442 change habitrpg.com to habitica.com in new profile edit message 2016-04-19 10:39:04 +10:00
MathWhiz ed49a377e1 add community guidelines info to profile editing (#7086)
* add community guidelines info to profile editing

* Update profile.jade
2016-04-19 10:15:21 +10:00
MathWhiz f1788080da Add list of Featured third-party Apps (#7046)
* add list of featured third-party apps

* Add comma

* add descriptions

* add description to other

* add table

* add description to other

Conflicts:
	common/locales/en/settings.json
	website/views/options/settings.jade

* Update settings.json

* Sort extensions by name
2016-04-19 08:21:07 +10:00
Sabe Jones 62f44771af fix(stable): rename Bumblebees throughout code 2016-04-18 21:02:24 +00:00
Matteo Pagliazzi 277248b8b7 switch to standard response format in v3 2016-04-18 21:56:58 +02:00
Matteo Pagliazzi 318abfeefa v2: fix debug menu in production 2016-04-17 12:54:27 +02:00
Matteo Pagliazzi 2c87a0bf34 v2: fix casting 2016-04-17 12:50:48 +02:00
Matteo Pagliazzi 2eca9fce32 v3: fix linting 2016-04-17 01:24:46 +02:00
Matteo Pagliazzi b271520c53 v3: general cleanup 2016-04-17 01:17:22 +02:00
Matteo Pagliazzi dea693f799 v3: start to fix unlocking 2016-04-16 20:51:16 +02:00
Matteo Pagliazzi c2b8cad886 v3: fix v3 proxied ops in v2, logout 2016-04-16 19:56:33 +02:00
Victor Pudeyev 715bb5e047 shared-code-statsComputed (#7067)
* shared-code-statsComputed

* \$w is in common/script/index.js
2016-04-16 19:24:13 +02:00
Sabe Jones ee6092d7d2 refactor(payments): PayPal setup linting pass 2016-04-15 21:31:40 +00:00
Sabe Jones 881cf0292d chore(news): mobile and Beguilement Bailey 2016-04-15 18:46:02 +00:00
Sabe Jones 36740e7dc8 Merge pull request #7087 from piousbox/v3-payments-3
bringing v3-payments up to date with api-v3 branch
2016-04-15 12:10:42 -05:00
Victor Piousbox ab156c0e4d resolving conflicts 2016-04-15 16:55:37 +00:00
Sabe Jones c608ac9ecc fix(news): Erratum 2016-04-15 11:53:58 -05:00
Victor Piousbox 4a45fc1c37 working on amazon payment promisification 2016-04-15 16:46:50 +00:00
Victor Piousbox 2bb36b5e04 things are broken with nconf 2016-04-15 16:46:50 +00:00
Victor Piousbox d27bbbe994 some locales work 2016-04-15 16:46:50 +00:00
Victor Piousbox 261a5a66b1 working on promisifying amazonPayments 2016-04-15 16:46:50 +00:00
Matteo Pagliazzi 1d5d6e9146 move payments to /top-level 2016-04-15 16:45:03 +00:00
Ubuntu c850ccf463 refactor(payments): Stripe linting pass 2016-04-15 16:45:03 +00:00
Ubuntu d49115eff6 refactor(payments): IAP linting pass 2016-04-15 16:45:03 +00:00
Ubuntu a06f9954dd refactor(payments): index.js lint pass 2016-04-15 16:45:03 +00:00
Ubuntu 8870cef0e2 WIP(payments): lint Amazon Payments file 2016-04-15 16:45:03 +00:00
Blade Barringer 887aa478ec chore: merge in develop 2016-04-15 10:11:54 -05:00
Blade Barringer 227797a393 Merge pull request #7079 from crookedneighbor/eslint-config
chore: Switch to custom eslint-config
2016-04-15 09:15:39 -05:00
Blade Barringer 10936d9a4d chore: Switch to custom eslint-config 2016-04-15 09:03:59 -05:00
Blade Barringer e27bdfef6a Merge pull request #7085 from crookedneighbor/lint_for_new_config
chore(lint): lint files in preparation for eslint v2
2016-04-15 09:00:44 -05:00
Blade Barringer 33c0cdd569 chore(lint): lint files in preparation for eslint v2 2016-04-15 08:37:05 -05:00
Blade Barringer 1a64886f7d Merge branch 'develop' into api-v3 2016-04-15 08:04:46 -05:00
Sabe Jones ffb3ed0aa4 chore(news): annouce Android update 2016-04-14 23:48:45 +00:00
Sabe Jones cb08003007 Merge pull request #7080 from piousbox/v3-payments-2
V3 payments - promisifying amazon
2016-04-14 17:57:26 -05:00
Victor Piousbox 74fc45524b working on promisifying amazonPayments 2016-04-14 22:49:24 +00:00
Matteo Pagliazzi 11b5c1b405 v3: several fixes to class system, move /logout outside of api 2016-04-14 20:05:30 +02:00
Victor Piousbox 948d667a67 Merge branch 'sabrecat/v3-payments' of https://github.com/HabitRPG/habitrpg into v3-payments 2016-04-14 17:38:31 +00:00
Victor Piousbox 14d3abdd90 moved payments/ to controllers/top-level/ 2016-04-14 16:20:15 +00:00
Ubuntu 7f89f8b936 refactor(payments): Stripe linting pass 2016-04-14 16:20:15 +00:00
Ubuntu f4be29952b refactor(payments): IAP linting pass 2016-04-14 16:20:15 +00:00
Ubuntu fc46bdf184 refactor(payments): index.js lint pass 2016-04-14 16:20:15 +00:00
Ubuntu a13f25e07c WIP(payments): lint Amazon Payments file 2016-04-14 16:20:15 +00:00
Matteo Pagliazzi c9e3e0e68c move payments to /top-level 2016-04-14 18:18:57 +02:00
Ubuntu da84f631e9 refactor(payments): Stripe linting pass 2016-04-14 18:17:51 +02:00
Ubuntu 71e0792da8 refactor(payments): IAP linting pass 2016-04-14 18:17:51 +02:00
Ubuntu c5549787b4 refactor(payments): index.js lint pass 2016-04-14 18:17:51 +02:00
Ubuntu 626d8d6e73 WIP(payments): lint Amazon Payments file 2016-04-14 18:17:51 +02:00
Matteo Pagliazzi 7562a589c5 apidoc: update urls and add notice about private api 2016-04-14 16:02:28 +02:00
Matteo Pagliazzi 4c4a7ce3ce do not run cron when user is not available 2016-04-14 13:51:01 +02:00
Matteo Pagliazzi 6ba41f3099 remove console statement 2016-04-14 13:31:35 +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 a590a66c47 support top level controllers 2016-04-14 11:54:47 +02:00
Blade Barringer e70add1ac4 chore: lint files 2016-04-13 20:11:07 -05:00
Ubuntu 13edca4588 chore(news): add skill icon announcement 2016-04-13 21:25:31 +00:00
Matteo Pagliazzi 925881b2a0 misc fixes and enable dev endpoints for easier live testing 2016-04-13 22:55:39 +02:00
Matteo Pagliazzi 54aac99a6a v2: make tests working with new tavern id 2016-04-13 22:28:29 +02:00
Matteo Pagliazzi 57497f246f make tests working with new tavern id 2016-04-13 22:27:32 +02:00
Matteo Pagliazzi cc024533aa FIXME -> TODO to make searching easier 2016-04-13 21:55:31 +02:00
Matteo Pagliazzi 99e201fc07 v3: move tavern to valid UUID and set Leslie as the leader 2016-04-13 21:52:53 +02:00
Matteo Pagliazzi 2458f92e1b fix linting and correctly save collect quests progress 2016-04-13 20:03:26 +02:00
Sabe Jones 7bb6f968b4 feat(content): Pet Quest 2016-04 (#7071)
Also renames the Be-Wilder special pet/mount rewards to "Magical Bee" from "Bumblebee".
2016-04-13 12:15:38 -05:00
Matteo Pagliazzi 471657c013 fix tests that relied on different logger 2016-04-13 18:43:15 +02:00
Matteo Pagliazzi 8817f795b1 v3: expose public interface for logger and add tests 2016-04-13 18:18:00 +02:00
Matteo Pagliazzi 28d8c370c3 v3 adapt v2: remove references to sanitizeCreate and fix tests 2016-04-12 23:53:55 +02:00
Matteo Pagliazzi 793ce38f6b v3: review some more files, add logging for unhandled promises 2016-04-12 20:14:36 +02:00
Matteo Pagliazzi 6458796a36 v3: first review of common code and task models 2016-04-12 19:30:39 +02:00
Matteo Pagliazzi 004b032084 adapt reset to v2 and remove deleted files from gulpfile 2016-04-12 18:50:02 +02:00
Matteo Pagliazzi c64ba3e8d7 Merge pull request #7043 from TheHollidayInn/api-v3-ops-reset
Ported reset. Added unit tests. Added reset route. Added integration tests
2016-04-12 18:46:53 +02:00
Matteo Pagliazzi 7de93cdd12 apidoc: change url to testing heroku app 2016-04-12 18:43:20 +02:00
Keith Holliday 3970064fe5 Ported reset. Added unit tests. Added reset route. Added integration tests 2016-04-12 11:19:36 -05:00
Angel Piscola 59749acf50 Fixed reward sound playing after gold subtracted
(cherry picked from commit 2508b5ac18)

closes #7058
fixes #6963
2016-04-12 07:36:44 -05:00
Matteo Pagliazzi 40c9366a47 v3 adapt v2: misc fixes 2016-04-12 12:59:30 +02:00
Matteo Pagliazzi fa32dabc92 Merge pull request #7064 from piousbox/shared-code-crit
shared-code-crit
2016-04-12 09:58:46 +02:00
Victor Pudeyev 2f1329254e shared-code-tags-gold-silver (#7056) 2016-04-12 09:57:57 +02:00
Matteo Pagliazzi a29dd1a1c7 fix(build) temporarily use habitrpg-shared from habitica.com in v3 client 2016-04-12 09:46:01 +02:00
Matteo Pagliazzi 1b699ea6d3 Merge pull request #7068 from crookedneighbor/api_doc_build
feat: build api doc after prod build
2016-04-12 00:46:33 +02:00
Blade Barringer 83850d7a0c feat: build api doc after prod build 2016-04-11 17:34:44 -05:00
Victor Piousbox 2d69285080 shared-code-crit 2016-04-11 20:21:33 +00:00
Matteo Pagliazzi 26b718ba1f fix(build) require babel-polyfill in production too 2016-04-11 20:03:44 +02:00
Matteo Pagliazzi 463ba81468 fix(build) only require/import the main common file 2016-04-11 19:46:48 +02:00
Matteo Pagliazzi 27a2b9002d fix(gulp) make apidoc available in production 2016-04-11 19:05:15 +02:00
Matteo Pagliazzi 36594b668a fix(apidoc): apidoc now builds correctly 2016-04-11 18:05:54 +02:00
Matteo Pagliazzi 020b7c5464 v3 adapt v2: fix tasks creation 2016-04-11 17:54:37 +02:00
Blade Barringer ecb9e09ad8 fix: Add missing sprite class for skills icon in rewards column
closes #4276
closes #6950
2016-04-11 08:00:42 -05:00
Blade Barringer b4eb386047 chore: Change spells file name to skills 2016-04-11 08:00:10 -05:00
Blade Barringer 2f715c4530 chore: Compile skill icon sprites 2016-04-11 07:59:53 -05:00
mathwhiz 5b110159a1 Add spell images 2016-04-11 07:59:39 -05:00
Matteo Pagliazzi 2f4f62f342 return filters only for api v2 2016-04-10 19:51:05 +02:00
Matteo Pagliazzi 01a2afc12f v3 adapt v2: fix updating and deleting tags 2016-04-10 19:26:32 +02:00
Matteo Pagliazzi ad3c8f0ad2 fix(lint): missing semicolon 2016-04-10 19:18:46 +02:00
Matteo Pagliazzi 8ea05c3c46 v3 adapt v2: fix a few bugs with batchUpdate and tasks 2016-04-10 19:09:53 +02:00
Matteo Pagliazzi c6879aa5df fix(v3): cleanup of shared code 2016-04-10 18:42:59 +02:00
Matteo Pagliazzi 9027a9a907 Merge pull request #7052 from TheHollidayInn/api-v3-ops-addPushDevice
Ported addPushDevice. Added unit tests. Added addPushDevice route.
2016-04-10 18:07:30 +02:00
Keith Holliday 42ef779b46 Ported addPushDevice. Added unit tests. Added addPushDevice route. Added integration tests 2016-04-10 09:47:14 -05:00
Matteo Pagliazzi 7a24bceac9 Merge pull request #7051 from piousbox/shared-code-percent
shared-code-percent
2016-04-10 12:29:43 +02:00
Matteo Pagliazzi 9b7186a839 Merge pull request #7040 from piousbox/shared-code-private-messages
shared-code-private-messages
2016-04-10 12:27:00 +02:00
Victor Piousbox 3c784e869a shared-code-percent 2016-04-09 21:13:16 +00:00
Victor Piousbox 1f4a0680ea shared-code-private-messages 2016-04-09 16:56:03 +00:00
Matteo Pagliazzi f4d2184f34 Merge pull request #7010 from HabitRPG/api-v3-adapt-v2
[API v3] Adapt v2
2016-04-09 17:42:44 +02:00
Matteo Pagliazzi 6f1dde4beb v3 adapt v2: port challenge.update 2016-04-09 17:25:41 +02:00
Matteo Pagliazzi aa8fb81b26 v3 adapt v2: port res.respond, challenge.getMember and challenge.csv 2016-04-09 17:16:00 +02:00
Matteo Pagliazzi 6b2d1a1416 v3 adapt v2: adapt common ops 2016-04-09 16:45:43 +02:00
Blade Barringer 80c115940e fix: Correct southpole background
closes #7039
closes #7041
2016-04-09 09:31:18 -05:00
Blade Barringer 8ba150074a chore(i18n): update locales 2016-04-09 09:27:04 -05:00
Blade Barringer 231cfc176a Merge branch 'develop' into api-v3 2016-04-09 09:12:53 -05:00
Matteo Pagliazzi 910ea836ba Merge branch 'api-v3' into api-v3-adapt-v2 2016-04-09 15:31:09 +02:00
Matteo Pagliazzi 06db7e6353 v3 adapt v2: port leave, join and unlink for challenges 2016-04-09 15:29:37 +02:00
Matteo Pagliazzi 81fa689a11 Merge pull request #7042 from TheHollidayInn/api-v3-ops-reroll
Ported reroll. Added unit tests. Added reroll route. Added integration tests
2016-04-09 15:14:04 +02:00
Blade Barringer db62d1add0 fix: correct coupon generation code 2016-04-09 08:03:32 -05:00
Blade Barringer fd1f42af24 Merge pull request #7047 from HabitRPG/merge_in_develop
[v3] Merge in develop
2016-04-08 22:19:53 -05:00
Blade Barringer 1ab78f1c9a refactor: Port v2 flag report change to v3 2016-04-08 21:49:16 -05:00
Blade Barringer 60f99a29ed Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-04-08 21:31:53 -05:00
Blade Barringer 8a42a3a51e Merge branch 'develop' into api-v3 2016-04-08 21:31:41 -05:00
Blade Barringer 1bc1968f3a chore: Upgrade winston dependency and remove unused modules 2016-04-08 17:35:03 -05:00
Blade Barringer 3a63896e40 chore: Upgrade dependencies to v3 versions 2016-04-08 17:35:03 -05:00
Blade Barringer 3250d9d064 chore: Remove unused qs dependency 2016-04-08 17:35:03 -05:00
Blade Barringer 46681d9a1a chore: Update nodemailer to v1 2016-04-08 17:35:03 -05:00
Blade Barringer e6b5a6820f Merge pull request #7044 from HabitRPG/flag_email_refactor
refactor: Simplify flag_report_email load
2016-04-08 17:31:13 -05:00
Blade Barringer 2bbae8c5f5 refactor: Simplify flag_report_email load 2016-04-08 17:14:14 -05:00
Sabe Jones b7d801a603 fix(news): typo 2016-04-08 16:17:51 -05:00
Keith Holliday 1685b7285f Ported reroll. Added unit tests. Added reroll route. Added integration tests 2016-04-08 15:56:11 -05:00
Ubuntu 7118e68cf0 chore(news): Beguilement Strike Bailey 2016-04-08 19:06:09 +00:00
Matteo Pagliazzi 83fa30fd0a v3 adapt v2: port challenges closing and fix create 2016-04-08 18:45:50 +02:00
Matteo Pagliazzi 70fd869934 Merge branch 'api-v3' into api-v3-adapt-v2 2016-04-08 12:03:50 +02:00
Matteo Pagliazzi 276cbc58bb v3: fix cron middleware, remove unused code from shared 2016-04-08 11:56:51 +02:00
Matteo Pagliazzi 116839ca81 Merge pull request #7018 from piousbox/shared-code-webhooks
Shared code webhooks
2016-04-08 11:04:57 +02:00
Victor Piousbox 9704c47293 Merge branch 'api-v3' into shared-code-webhooks 2016-04-07 21:23:38 +00:00
Victor Piousbox 4c0f9ed1c8 resolving conflicts 2016-04-07 21:23:16 +00:00
Matteo Pagliazzi 4d28eea6e2 Merge pull request #7037 from TheHollidayInn/api-v3-ops-rebirth
Ported rebirth. Add unit tests. Added rebirth route. Added integration tests
2016-04-07 23:18:15 +02:00
Keith Holliday fec9ce3dbe Ported rebirth. Add unit tests. Added rebirth route. Added integration tests 2016-04-07 15:02:55 -05:00
Matteo Pagliazzi 5a259e7a25 v3 adapt v2: port quests 2016-04-07 16:11:17 +02:00
Matteo Pagliazzi 2d3fbe9f13 v3 adapt v2: lint client only shared ops and enable members integration tests 2016-04-07 11:54:36 +02:00
Matteo Pagliazzi d49847688e v2 adapt to v3: port challenges create, get and list 2016-04-07 11:22:10 +02:00
Matteo Pagliazzi 12255181d8 Merge branch 'TheHollidayInn-api-v3-ops-revive' into api-v3 2016-04-06 23:24:27 +02:00
Matteo Pagliazzi 81d665513c Merge branch 'api-v3-ops-revive' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-ops-revive 2016-04-06 23:24:14 +02:00
Matteo Pagliazzi cc4ade2e6d Merge pull request #7029 from TheHollidayInn/api-v3-ops-unlock
Ported unlock. Add unit tests. Create unlock route. Add integration tests
2016-04-06 23:08:17 +02:00
Keith Holliday 621bf9609e Ported revive. Added unit tests. Add revive route. Added integration tests 2016-04-06 15:59:42 -05:00
Keith Holliday 2bd710a882 Ported unlock. Add unit tests. Create unlock route. Add integration tests 2016-04-06 15:53:32 -05:00
Matteo Pagliazzi 884493f165 fix(delete tags): correctly import Tasks module 2016-04-06 19:41:38 +02:00
Matteo Pagliazzi b431b02012 v3 adapt v2: port tags, cast, cron, deletUser and removeMember. Fix a few bugs in v3 2016-04-06 19:28:43 +02:00
Matteo Pagliazzi a72c6c782d Merge pull request #7026 from TheHollidayInn/api-v3-ops-sell
Ported sell function. Add unit tests. Create sell route. Add integration tests
2016-04-06 18:42:06 +02:00
Keith Holliday 05b41bb41c Ported sell function. Add unit tests. Create sell route. Add integration tests 2016-04-06 08:27:18 -05:00
Blade Barringer 7e9163a17f chore: Remove apdex check from new relic monitoring 2016-04-05 20:08:44 -05:00
Blade Barringer 74dace9b5a chore: Re-enable New Relic
closes #7011
2016-04-05 20:08:31 -05:00
Blade Barringer ae14d405cb fix(css): Scope textarea z-index to just task boxes 2016-04-05 20:07:11 -05:00
Sabe Jones 1f6eef0082 Sabrecat/armoire 201604
* WIP(content): add sprites

* feat(content): Armoire and Backgrounds 2016-04
2016-04-05 15:30:01 -05:00
Blade Barringer 7425af4fb4 Merge pull request #7013 from Hus274/develop
Splitting party and boss damage notifications into two code blocks.
2016-04-05 09:01:36 -05:00
Blade Barringer 7d17921621 Merge pull request #7020 from MathWhiz/patch-2
fix: Allow task notes textarea to rest above other elements when expanded
2016-04-05 08:56:39 -05:00
Matteo Pagliazzi 08239345b5 v3 adapt v2: port leave, join and invite for groups controller 2016-04-05 13:03:20 +02:00
Matteo Pagliazzi 374d11b0e4 v3 adapt v2: port chat routes and group.update 2016-04-05 12:02:00 +02:00
MathWhiz c7d058f2bc Add z-index to notes textarea 2016-04-04 20:48:54 -05:00
Matteo Pagliazzi 0a40c56973 api v3 adapt v2: correctly import dependencies, port create, get, list groups 2016-04-04 23:18:49 +02:00
Victor Piousbox 14b0ec8b03 shared-code-webhooks 2016-04-04 16:31:48 +00:00
Matteo Pagliazzi f6fc50f6c2 adapt v2: port updateUser 2016-04-04 17:18:42 +02:00
Matteo Pagliazzi 10583b78de fix challenge unit tests 2016-04-04 17:18:42 +02:00
Matteo Pagliazzi c3945de098 fix tasks updating and reminders tests 2016-04-04 17:18:42 +02:00
Matteo Pagliazzi f3abdaf692 adapt v2: port updateTask 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 060e3b1045 adapt v2: fix linting 2016-04-04 17:16:57 +02:00
Matteo Pagliazzi cc65bb1ed7 adapt v2: getTask, getTasks, clearCompleted, addTask, deleteTask, getUser, getUserAnonymized, scoreTask (challenge part missing) 2016-04-04 17:16:57 +02:00
Matteo Pagliazzi 58c20c2a64 v2 port: enable integration tests, port register route 2016-04-04 17:16:57 +02:00
Matteo Pagliazzi fc73fc7f8c v3: start adapting v2 2016-04-04 17:16:57 +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
Matteo Pagliazzi 1620614b3b Merge branch 'TheHollidayInn-api-v3-ops-release-mounts' into api-v3 2016-04-04 11:49:17 +02:00
Matteo Pagliazzi c86898c7e4 Merge branch 'api-v3-ops-release-mounts' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-ops-release-mounts 2016-04-04 11:49:06 +02:00
Matteo Pagliazzi 4083b1b045 Merge branch 'TheHollidayInn-api-v3-ops-release-both' into api-v3 2016-04-04 11:46:56 +02:00
Matteo Pagliazzi 66959c23f5 Merge branch 'api-v3-ops-release-both' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-ops-release-both 2016-04-04 11:46:46 +02:00
Matteo Pagliazzi c755cb5d26 Merge pull request #7003 from TheHollidayInn/api-v3-ops-release-pets
Ported release pets, added unit tests, added route with integration t…
2016-04-03 22:19:25 +02:00
Keith Holliday c916c74775 Ported release both, added unit tests, add release both route with integration tests 2016-04-03 14:44:00 -05:00
Keith Holliday 487a26ec43 Ported release pets, added unit tests, added route with integration tests 2016-04-03 14:37:20 -05:00
Keith Holliday 24b7b4c838 Ported release mounts, add unit tests, added release mounts route with integration tests 2016-04-03 14:34:43 -05:00
Husman bb373ed93a Splitting party and boss damage notifications into two code blocks.
Splitting the party and boss damage notifications into two code blocks will allow the page to push them to newlines if needed instead of added a scroll bar and making the user scroll to see the entire message.

Related issue: https://github.com/HabitRPG/habitrpg/issues/3453
2016-04-03 10:42:15 -07:00
Victor Piousbox 3844bafae5 shared-code-random-drop 2016-04-03 16:22:21 +00:00
Matteo Pagliazzi d133fc08f2 Merge pull request #7004 from HabitRPG/api-v3-coupons
[Api v3] Coupons
2016-04-02 19:44:06 +02:00
Matteo Pagliazzi de74fae0b4 v3: port coupons 2016-04-02 16:37:55 +02:00
Matteo Pagliazzi 731ac86244 port changes to cron develop 2016-04-02 12:15:24 +02:00
Matteo Pagliazzi e95837f69f Merge branch 'develop' into api-v3 2016-04-02 11:34:04 +02:00
Alys 0ba47de43d adjust cron so that it prevents a double cron when timezone decreases (timezoneOffset increases)
* start to fix cron for when timezones change

* add some incomplete code

* change cron to identify when timezone changes and run only if both zones agree it should run - BAD - does cron an hour early one day later

* change timezone offset variable names

* improve handling of each individual timezone change possibility

* remove unnecessary casting to number

* remove duplicated code

* finish code for dangerous timezone change

* fix linting errors

* remove console.log lines and other testing code

* add a TODO comment for further actions for timezone changes in the "safe" direction
2016-04-02 11:42:15 +10:00
Matteo Pagliazzi 3b98fe377f Merge pull request #6999 from piousbox/shared-code-update-stats
Shared code update stats
2016-04-01 23:16:35 +02:00
Victor Piousbox 7f3feedd12 shared-code-update-stats 2016-04-01 20:50:28 +00: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
Matteo Pagliazzi 238dee7608 Merge pull request #6962 from piousbox/shared-code-user-score-task
shared-code-user-score-task
2016-04-01 18:28:55 +02:00
Victor Piousbox e6e2c26a12 shared-code-user-score-task 2016-04-01 16:11:37 +00:00
Matteo Pagliazzi e54bd0f364 Merge branch 'TheHollidayInn-api-v3-open-mystery-item3' into api-v3 2016-04-01 16:40:08 +02:00
Matteo Pagliazzi aae94bf1b4 Merge branch 'api-v3-open-mystery-item' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-open-mystery-item3 2016-04-01 16:39:52 +02:00
Matteo Pagliazzi ad0f1ee0f4 Merge branch 'TheHollidayInn-api-v3-ops-read-card' into api-v3 2016-04-01 16:30:59 +02:00
Matteo Pagliazzi 82afc1971d Merge branch 'api-v3-ops-read-card' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-ops-read-card 2016-04-01 16:30:48 +02:00
Matteo Pagliazzi 4b77dd171d Merge branch 'TheHollidayInn-api-v3-hourglass-purchase2' into api-v3 2016-04-01 16:28:30 +02:00
Matteo Pagliazzi 7e093f1622 Merge branch 'api-v3-hourglass-purchase' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-hourglass-purchase2 2016-04-01 16:28:20 +02:00
Matteo Pagliazzi 519b3a1e4f Merge pull request #6988 from TheHollidayInn/api-v3-ops-purchase
Ported purchase, add unit tests, created new user purchase route, and added tests
2016-04-01 16:20:33 +02:00
Keith Holliday 6d9617e345 Ported read card, added unit tests, added read card route and integration tests 2016-04-01 09:17:40 -05:00
Keith Holliday 3fe88fd8d0 Ported open mystery item, added unit tests, added route, and integration tests 2016-04-01 08:23:40 -05:00
Keith Holliday ad0bc58028 Ported purchase, add unit tests, created new user purchase route, and added tests 2016-04-01 08:14:15 -05:00
Keith Holliday dd12443166 Ported Hourglass Purchase, add unit tests. Created new hourglass purchase route and tests 2016-04-01 08:11:26 -05:00
Matteo Pagliazzi c5f17b4011 Merge branch 'develop' into api-v3 2016-04-01 11:50:41 +02:00
Sabe Jones 41b3ee1df0 fix(world-boss): Correct generic Tavern text 2016-03-31 23:45:34 -05:00
Sabe Jones a90562e3ad Merge pull request #6992 from HabitRPG/sabrecat/spring-boss
Spring Fling 2016 World Boss
2016-03-31 21:51:10 -05:00
Sabe Jones 3281894d83 chore(news): World Boss Bailey 2016-03-31 19:54:13 -04:00
Sabe Jones 7aa668be4e chore(gulp): compile sprites 2016-03-31 18:41:10 -05:00
Sabe Jones a07aed331c fix(world-boss): add chat message, Bailey handling, animation 2016-03-31 19:38:43 -04:00
Sabe Jones def6b6cd5c chore(gulp): compile sprites 2016-03-31 17:20:30 -05:00
Sabe Jones f51653b7a5 WIP(world-boss): partial build 2016-03-31 17:29:21 -04:00
Matteo Pagliazzi 3089658cc7 Merge branch 'develop' into api-v3 2016-03-30 23:40:00 +02:00
Matteo Pagliazzi 7e9520b920 fix(test): make sure error is catched using done() callback 2016-03-30 23:32:12 +02:00
Matteo Pagliazzi d0383766e3 Merge pull request #6985 from HabitRPG/api-v3-update-user
[Api v3] update user
2016-03-30 23:16:28 +02:00
Sabe Jones 4fa8c6dfbd chore(news): Bailey 2016-03-30 2016-03-30 15:39:12 -04:00
Sabe Jones 95fa91522a Merge pull request #6955 from HabitRPG/wheelchair
Wheelchair
2016-03-30 14:25:12 -05:00
Matteo Pagliazzi bf93275693 v3: port updateUser 2016-03-30 16:18:22 +02:00
Blade Barringer 5c34f7586d Merge pull request #6984 from lbraun/develop
Remove extra 'it' from spec description
2016-03-29 23:29:12 -04:00
Lucas Braun ee9dc7c196 Remove extra 'it' from spec description 2016-03-29 22:11:36 -04:00
Alys 9a1e7a0ad7 Merge pull request #6981 from Alys/develop
cron timezone fix (stage 1): cron records current timezone in preferences.timezoneOffsetAtLastCron
2016-03-29 23:05:50 +10:00
Alys ae9e6fbe30 allow cron to record user's current timezone offset in preferences.timezoneOffsetAtLastCron (initial stage of cron timezone fix for https://github.com/HabitRPG/habitrpg/issues/3806 ) 2016-03-29 22:34:23 +10:00
Blade Barringer a9d227b490 Merge branch 'develop' into wheelchair 2016-03-28 21:12:52 -05:00
Blade Barringer 02a60d90d8 Merge branch 'develop' into api-v3 2016-03-28 16:02:04 -05:00
Blade Barringer f4b43f55f0 refactor: Remove express-csv dependency 2016-03-28 10:24:29 -05:00
Blade Barringer cb5a79b1bf chore: Set express session options 2016-03-28 10:24:01 -05:00
Blade Barringer b1c3b8e7e7 chore: Update res.json(code, json) to res.status(code).json(json) 2016-03-28 10:24:00 -05:00
Blade Barringer cf8153fd93 chore: Update res.send(code) to res.sendStatus(code) 2016-03-28 10:24:00 -05:00
Blade Barringer 2477507b2e chore: Set extended option for bodyParser
See
https://github.com/expressjs/body-parser/blob/3f1b02247702c2966d33ee73610a98d54cf32fe8/lib/types/urlencoded.js#L41-L44
2016-03-28 10:24:00 -05:00
Blade Barringer 41b961004a chore: upgrade express to version 4 2016-03-28 10:24:00 -05:00
Blade Barringer 6552f04b0c chore(i18n): update locales 2016-03-28 09:58:32 -05:00
Matteo Pagliazzi 1112d93b15 Merge pull request #6907 from HabitRPG/sabrecat/server-party-cheevos
[v3] Add Party Up / Party On achievements to server in V3
2016-03-27 20:53:15 +02:00
Sabe Jones 861a32f72a feat(achievements): move party cheevos to server 2016-03-27 14:51:39 -04:00
Matteo Pagliazzi c4bbfcf2f3 Merge pull request #6968 from HabitRPG/api-v3-buy-list
v3: port getBuyList and shared.updateStore
2016-03-26 16:39:52 +01:00
Matteo Pagliazzi 228ce7ca0d Merge pull request #6960 from HabitRPG/api-v3-content
Api v3 Get Content
2016-03-26 16:38:47 +01:00
Matteo Pagliazzi 67d49bc9fc v3: port getContent route caching responses to disk 2016-03-26 16:29:22 +01:00
Matteo Pagliazzi 3002c9b7fd v3: port getBuyList and shared.updateStore 2016-03-26 16:25:15 +01:00
Matteo Pagliazzi 93b80352c4 Merge branch 'piousbox-api-v3-get-user-anonymized' into api-v3 2016-03-25 16:05:01 +01:00
Matteo Pagliazzi 5ee33b08b9 Merge branch 'api-v3-get-user-anonymized' of https://github.com/piousbox/habitrpg into piousbox-api-v3-get-user-anonymized 2016-03-25 16:04:48 +01:00
Matteo Pagliazzi d89d1e50dd Merge branch 'develop' into api-v3 2016-03-25 15:58:04 +01:00
Matteo Pagliazzi 53b2743d94 Merge branch 'TheHollidayInn-api-v3-send-private-message' into api-v3 2016-03-25 15:56:37 +01:00
Matteo Pagliazzi 15e8f881fe Merge branch 'api-v3-send-private-message' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-send-private-message 2016-03-25 15:56:28 +01:00
Matteo Pagliazzi 55b0642523 Merge pull request #6934 from TheHollidayInn/api-v3-user-delete
[v3] Ported user delete route and added initial tests
2016-03-25 15:51:54 +01:00
Keith Holliday d7b6e0b760 Ported refPush and added tests 2016-03-25 08:33:55 -05:00
Keith Holliday 19a63e8128 Ported sendGift route and renamed it to transferGems. Refactored user.sendMessage logic. 2016-03-25 08:33:54 -05:00
Keith Holliday 95ea73d440 Fixed route namespace and added translation strings 2016-03-25 08:33:54 -05:00
Keith Holliday e9a9079c46 Ported sendPrivateMessage route and added initial tests 2016-03-25 08:33:54 -05:00
Keith Holliday 075b31c075 Added password requirement 2016-03-25 08:32:49 -05:00
Keith Holliday 7f65707ee4 Ported user delete route and added initial tests 2016-03-25 08:32:49 -05:00
Matteo Pagliazzi be9312deb0 Merge branch 'api-v3-equip-feed-hatch2' into api-v3 2016-03-25 12:23:12 +01:00
Matteo Pagliazzi 192409a0b5 Merge branch 'api-v3' into api-v3-equip-feed-hatch2 2016-03-25 12:22:55 +01:00
Blade Barringer cd6adf2421 fix: correct wheelchair spelling 2016-03-24 21:31:20 -05:00
Victor Piousbox 5aacd978c6 api-v3-get-user-anonymized 2016-03-24 18:23:43 +00:00
Matteo Pagliazzi 9452fd3128 Merge pull request #6945 from piousbox/api-v3-test-attach-local-to-social-auth
[v3] working on attaching local to social auth
2016-03-24 19:18:04 +01:00
Matteo Pagliazzi 0f1add62cf Merge pull request #6956 from HabitRPG/api-v3-shared-ops
[Api v3] Port changeClass and disableClasses
2016-03-24 19:17:48 +01:00
Matteo Pagliazzi 0a65e6a6f1 v3: port hatch, equip and feed ops 2016-03-24 18:59:09 +01:00
Victor Piousbox 528d805cda api-v3-test-attach-local-to-social-auth 2016-03-24 17:51:31 +00:00
Sabe Jones 2652de88ae Merge pull request #6940 from HabitRPG/sabrecat/mystery-201603
Subscriber items 2016-03
2016-03-24 12:33:06 -05:00
Matteo Pagliazzi 159b9eaa8d port disable classes and change class ops 2016-03-24 14:25:30 +01:00
Blade Barringer 2d55a2a31d chore: compile sprites 2016-03-24 07:57:57 -05:00
Blade Barringer c88f2ce580 refactor: Use resized version of wheelchair for selection 2016-03-24 07:57:57 -05:00
Blade Barringer f33469609c Adjust sprite task to not include wheelchair images in the customize-option handling 2016-03-24 07:57:50 -05:00
Nick Bunn 0f9cf57613 feat: Add wheelchair to avatar customization 2016-03-24 07:57:13 -05:00
Blade Barringer 01a7132b0b refactor: Extract play reward sound logic into function 2016-03-23 17:55:44 -05:00
Kenny Carlsen 7b708f51ba Proposed bug fix, issue #6668 - erroneous reward purchase sound 2016-03-23 17:55:41 -05:00
Sabe Jones 17b02f2867 fix(news): missing promo 2016-03-23 15:47:22 -04:00
Sabe Jones ba1cc67654 chore(news): fill out remaining Bailey 2016-03-23 15:36:24 -04:00
Sabe Jones be159adf77 fix(event): pastel skin, not hair 2016-03-23 15:36:24 -04:00
Sabe Jones 1286b6fbee fix(event): make spring hair/skin available server side 2016-03-23 15:36:24 -04:00
Sabe Jones f7027b5cf3 feat(event): subscriber items 2016-03 2016-03-23 15:36:24 -04:00
Blade Barringer 2a4a8466ca Merge pull request #6948 from MathWhiz/patch-1
Fix ISSUE_TEMPLATE.md
2016-03-23 11:48:13 -05:00
MathWhiz 802b8bed0a Fix ISSUE_TEMPLATE.md
Added parentheses around two of the comments to hide them.
2016-03-23 09:11:08 -05:00
Blade Barringer a958fefa6b Merge pull request #6946 from HabitRPG/update_pageres
Update pageres
2016-03-23 08:36:52 -05:00
Blade Barringer ef2a1f5929 chore: Update pageres
Removes dependency on memoize-async, which was unpublished:
https://medium.com/@azerbike/i-ve-just-liberated-my-modules-9045c06be67c#.tlcdr5ieg
2016-03-23 08:16:39 -05:00
Blade Barringer fd10422e0c tests: Add preliminary tests around send message and send gift 2016-03-22 21:49:27 -05:00
Blade Barringer f5d4eba292 fix: Default message to '' when not passed in sendGift route 2016-03-22 21:49:27 -05:00
Brian Murray eaea55687b Make change regarding pluralization of gem gift message easier to read and not one long line 2016-03-22 21:49:27 -05:00
Brian Murray 369386e370 Only add an 's' to months of subscription or gems given if they are not 1. 2016-03-22 21:49:22 -05:00
Blade Barringer 9b9722a7b4 chore(i18n): update locales 2016-03-22 17:40:42 -05:00
Bleu 521195ab95 fix: Unify html in translation strings
Closes #6859
2016-03-22 17:34:29 -05:00
Matteo Pagliazzi 23f92e2d28 Merge pull request #6923 from TheHollidayInn/api-v3-groups-reject-invite
[v3] Added group reject invite route and initial tests
2016-03-22 22:46:12 +01:00
Keith Holliday da08b6c814 Removed group query from route 2016-03-22 16:10:17 -05:00
MathWhiz 86516b5e20 Update presskit 2016-03-22 08:41:02 -05:00
Blade Barringer 92ac703ecc chore(i18n): update locales 2016-03-22 08:31:14 -05:00
Blade Barringer 3add287a85 Merge branch 'khipkin-fix_class_change_gear_modal' into develop 2016-03-22 08:10:55 -05:00
MathWhiz c70b40e0a3 Add pull request instructions to CONTRIBUTING.MD 2016-03-22 07:59:13 -05:00
Blade Barringer bbcef441bf Adjust template instructions 2016-03-22 07:59:13 -05:00
mathwhiz a5b7066358 Add templates for issues and pull requests 2016-03-22 07:59:06 -05:00
Matteo Pagliazzi 0bde9e2df2 Merge branch 'develop' into api-v3 2016-03-21 23:03:28 +01:00
Matteo Pagliazzi d8dab49b79 Merge pull request #6898 from HabitRPG/api-v3-buy-ops
[v3] Port several shared ops and their linked fns
2016-03-21 23:00:43 +01:00
Matteo Pagliazzi 85a05e0a99 Merge pull request #6938 from piousbox/api-v3-test-local-login-2
local login test
2016-03-21 22:50:37 +01:00
Matteo Pagliazzi f04d8d4d97 do not remove ops/fns from common/script/index.js until they have been ported everywhere 2016-03-21 22:50:18 +01:00
Victor Piousbox a03f34362c resolving conflicts 2016-03-21 21:28:07 +00:00
Victor Piousbox b555930e9e invalid login credentials fixes 2016-03-21 21:27:11 +00:00
Victor Piousbox 5426d63a36 local login test 2016-03-21 21:26:04 +00:00
Matteo Pagliazzi d6fa16f86c skip tests that cannot be stubbed correctly 2016-03-21 22:22:26 +01:00
Victor Piousbox ddbb8a1beb invalid login credentials fixes 2016-03-21 21:10:17 +00:00
Keith Holliday a8e4455124 Added group reject invite route and initial tests 2016-03-21 15:42:38 -05:00
Matteo Pagliazzi 1d3c67af40 Merge pull request #6937 from piousbox/api-v3-delete-social-auth-test
Api v3 delete social auth test
2016-03-21 21:28:59 +01:00
Victor Piousbox fa079bd764 added those awaits for DELETE social user testing 2016-03-21 18:35:00 +00:00
Victor Piousbox 5f5fc754b0 local login test 2016-03-21 05:48:37 +00:00
Victor Piousbox 363e23b5e0 Merge branch 'api-v3-delete-social-auth-test' of github.com:piousbox/habitrpg into api-v3-delete-social-auth-test 2016-03-21 04:53:40 +00:00
Victor Piousbox ebcf913676 strengthen the test of password-reset just a little 2016-03-21 04:49:29 +00:00
Matteo Pagliazzi 0b5506b16b Merge pull request #6908 from piousbox/api-v3-password-reset
api-v3 password reset
2016-03-20 22:32:32 +01:00
Matteo Pagliazzi bd3c162b97 port allocateNow and autoAllocate 2016-03-20 20:21:15 +01:00
Victor Piousbox f73141f1f6 strengthen the test of password-reset just a little 2016-03-20 19:00:23 +00:00
Matteo Pagliazzi 480194f53c add routes for buy ops and integration tests 2016-03-20 17:41:17 +01:00
Matteo Pagliazzi fea2e0d8c0 correctly stub methods and test errors 2016-03-20 16:06:31 +01:00
Matteo Pagliazzi 657f19af0d add tests for shared.ops.buySpecialSpell and partially fix shared.ops.buy 2016-03-20 13:46:56 +01:00
Matteo Pagliazzi 2560096466 port buyQuest tests 2016-03-20 13:33:34 +01:00
Matteo Pagliazzi ad8834f4ed port tests for shared.ops.buyMysterySet.js 2016-03-20 13:12:06 +01:00
Matteo Pagliazzi 71f304786c add pickDeep utility function to pick nested properties from objects 2016-03-20 13:07:14 +01:00
Victor Piousbox ebbca3276e revert email.send() 2016-03-20 03:29:12 +00:00
Victor Piousbox 99cb8a07f7 reset password route 2016-03-20 02:54:52 +00:00
Victor Piousbox 6d972ea9af resolving conflicts 2016-03-20 02:53:58 +00:00
Victor Piousbox 3784f68dd8 mock for emailer for resetPassword route 2016-03-20 02:32:55 +00:00
Victor Piousbox d2c1c2cec6 cleanup and moving text strings to a locale object 2016-03-19 17:37:08 +00:00
Victor Piousbox e9a355a60b tests pass 2016-03-19 10:13:44 -07:00
Matteo Pagliazzi 957e1d26d6 add tests for fns/ultimateGear, fns/handleTwoHanded, fns/randomVal, fns/predictableRandom and partial tests for ops/buy 2016-03-19 18:05:02 +01:00
Matteo Pagliazzi ff72706cae wip(shared): port buy ops and linked fns 2016-03-19 16:04:27 +01:00
Matteo Pagliazzi e68ebee980 temporarily skip challenge task deletion test 2016-03-19 13:10:40 +01:00
Matteo Pagliazzi 0a906da50c Merge pull request #6918 from TheHollidayInn/api-v3-challenge-task-score-tests
Added tests for challenge task scoring and moved scoring code to model
2016-03-19 12:08:37 +01:00
Kaitlin Hipkin 9f0704aa94 modal explaining new class gear is now class-agnostic 2016-03-18 23:23:12 -04:00
Sabe Jones 8447259016 Merge pull request #6921 from HabitRPG/sabrecat/spring-2016
Spring Fling 2016
2016-03-18 16:08:46 -05:00
Blade Barringer e124b1a00b Merge pull request #6894 from TheHollidayInn/api-v3-development-controller
Added development controller, middleware, and initial tests
2016-03-18 16:06:10 -05:00
Sabe Jones b5f91a657f feat(event): Spring Fling complete 2016-03-18 16:56:16 -04:00
Keith Holliday a3d7edd0c1 Renamed namespace to debug and added unit test for middleware 2016-03-18 14:05:14 -05:00
Keith Holliday b46219adc5 Added tests for challenge task scoring and moved scoring code to model 2016-03-18 14:00:14 -05:00
Blade Barringer 99ff440abc Merge pull request #6896 from crookedneighbor/v3_update_user_routes
[V3] WIP - User update routes
2016-03-18 08:54:22 -05:00
Blade Barringer 75ed4080dc tests: Clean up styling of auth update tests 2016-03-18 08:42:03 -05:00
Blade Barringer f6f5b1a118 tests: Remove dependency on mongoose User model in auth tests 2016-03-18 07:57:42 -05:00
Blade Barringer 2ef176c6f2 refactor: Move auth route tests to auth folder 2016-03-18 07:55:19 -05:00
Blade Barringer cd6ab23106 Merge pull request #6900 from doyler/develop
Note about weekly progress update (fixes #6884)
2016-03-18 07:37:32 -05:00
Blade Barringer 4cb652dca4 Merge pull request #6889 from crookedneighbor/add_debug_scripts
feat: Add debug scripts to easilly get all pets/mounts/gear
2016-03-18 07:36:27 -05:00
Blade Barringer 5c3c8ebb74 refactor: Move auth update routes from user to auth controller 2016-03-18 07:35:29 -05:00
Blade Barringer d1af7adff6 refactor: Update user update routes to be under auth namespace 2016-03-18 07:35:14 -05:00
Blade Barringer 22d25f8be3 fix: Change update user routes to use PUT instead of POST 2016-03-18 07:35:14 -05:00
Blade Barringer 22c83c92c2 Merge pull request #6904 from HabitRPG/inventory_sorting_debug
Inventory sorting debug
2016-03-18 07:33:45 -05:00
Matteo Pagliazzi 6d14b9d5c5 move preening tests to correct location 2016-03-18 02:59:17 +01:00
Alys fb338a00cb prevent quests being started in guilds 2016-03-18 08:38:32 +10:00
Blade Barringer de2f9eb28b Update tests to us set by default 2016-03-17 17:28:46 -05:00
Victor Piousbox 4655e5061a api-v3 password reset 2016-03-17 14:47:22 -07:00
Sabe Jones ccdbdb2969 fix(seasonal-shop): choose quest more precisely 2016-03-17 13:13:21 -04:00
Sabe Jones 10a8476aaf WIP(event): Spring Fling cont'd 2016-03-17 13:10:05 -04:00
Sabe Jones 4effa79e17 WIP(event): Spring Fling partial 2016-03-17 13:04:12 -04:00
Sabe Jones 816ef00378 Merge pull request #6890 from khipkin/new_party_badges
add tests for awarding party {up,on} achievs
2016-03-17 11:05:20 -05:00
Blade Barringer e056a62af0 refactor: Setup middleware for all development routes 2016-03-17 09:24:29 -05:00
Blade Barringer 6921c1694a feat: Allow routes to not need an async handler 2016-03-17 09:24:29 -05:00
Keith Holliday 6184fb5d24 Added development controller, middleware, and initial tests 2016-03-17 09:24:29 -05:00
Matteo Pagliazzi 7c005e7c68 fix typo in tests and increase sleep time 2016-03-17 15:20:41 +01:00
Blade Barringer ced0b44b2f fix: Remove name from sortable inventory 2016-03-17 08:47:56 -05:00
Blade Barringer d4d668a7aa fix: Correct typo in equipment click 2016-03-17 08:09:37 -05:00
Blade Barringer c7310b97ec Revert "Revert inventory equipment/gear sorting due to inability to de/equip and maybe performance issues."
This reverts commit 9d50201180.
2016-03-17 08:09:18 -05:00
Alys 9d50201180 Revert inventory equipment/gear sorting due to inability to de/equip and maybe performance issues.
This reverts commits 1c811dbc82, 146810a3e9, 9508ed45df, a6fb945120.
2016-03-17 21:47:29 +10:00
Christopher Giroir cfae524579 Updating button text to GET instead of VIEW 2016-03-16 23:23:36 -07:00
Sabe Jones b4b0d7e89c chore(news): mobile updates Bailey 2016-03-17 00:09:42 -04:00
Kaitlin Hipkin 0ca949b1bb pull initialization of controller into helper method and stub state 2016-03-16 23:50:16 -04:00
Blade Barringer 3f16cd4fbf refactor: Adjust stat allocation modal 2016-03-16 22:07:00 -05:00
Josh Holland a639038a41 Move stat allocation to a mixin to avoid code duplication 2016-03-16 22:07:00 -05:00
Josh Holland 952d9ec929 Quick allocation of attribute points from level-up modal
Resolves #6720.
2016-03-16 22:06:54 -05:00
Kaitlin Hipkin 469ece70c3 clean up party {up,on} tests, add calls to $controller after setup 2016-03-16 22:32:24 -04:00
Blade Barringer a150dbc9ca chore(i18n): update locales 2016-03-16 20:32:15 -05:00
Kaitlin Hipkin a0f65f8b25 emojis now properly displayed in challenge won modal 2016-03-16 20:12:52 -05:00
Kaitlin Hipkin ae92a98037 challenge title on challenge winner's profile supports markdown w/o emojis 2016-03-16 20:12:49 -05:00
doyler 51f3008a20 Note about weekly progress update (fixes #6884) 2016-03-16 22:11:01 +01:00
Kaitlin Hipkin ee09bee1e2 use sandbox.stub instead of sandbox.spy 2016-03-16 00:55:20 -04:00
Blade Barringer be0bcad24b chore(i18n): update locales 2016-03-15 19:51:47 -05:00
Blade Barringer 1c811dbc82 refactor: Extract orderBy equipment button into mixin 2016-03-15 19:41:24 -05:00
Blade Barringer 146810a3e9 feat: Add set property to content 2016-03-15 19:41:19 -05:00
Blade Barringer 9508ed45df refactor: Move order by equipmentment button to top of view 2016-03-15 19:41:11 -05:00
Matt Harrington a6fb945120 inventory sorting
Add inventory sorting buttons based on name, attribute, and set (armoire):
-  Each gear[klass] has its own sorting buttons and sorting state including costume classes
-  The attributes sort descending when selected, then by sum of all attributes
-  There is no default sort
-  The armoire also sorts by set which sorts by item[set] descending, it does not sort within a set (ex "1 of 3" vs "2 of 3")
-  Name sorts by .text() ascending
2016-03-15 19:41:11 -05:00
Kaitlin Hipkin 68c3c2973b cannot spy on an undefined function 2016-03-15 19:49:33 -04:00
Kaitlin Hipkin c0e636dba0 fix spy? 2016-03-15 18:36:36 -04:00
Kaitlin Hipkin 979acded92 Merge branch 'develop' into new_party_badges 2016-03-15 16:17:25 -04:00
Kaitlin Hipkin 93c5cc0385 add tests for awarding party {up,on} achievs 2016-03-15 16:03:36 -04:00
Sabe Jones a9e0a4dfaf chore(news): announce badges and Spring Plot 2016-03-15 15:42:15 -04:00
Sabe Jones beb86ea4bd Merge branch 'khipkin/party-badges' into develop
Conflicts:
	common/dist/sprites/spritesmith-main-10.png
	common/dist/sprites/spritesmith-main-11.png
	common/dist/sprites/spritesmith-main-5.css
	common/dist/sprites/spritesmith-main-5.png
	common/dist/sprites/spritesmith-main-6.png
	common/dist/sprites/spritesmith-main-7.png
	common/dist/sprites/spritesmith-main-8.png
	common/dist/sprites/spritesmith-main-9.png
2016-03-15 14:57:38 -04:00
Matteo Pagliazzi 3db06c6537 Merge branch 'develop' into api-v3 2016-03-15 19:23:23 +01:00
Matteo Pagliazzi 9a337ad15f Merge pull request #6888 from HabitRPG/api-v3-allocate
[Api v3] Port shared.ops.allocate
2016-03-15 19:21:00 +01:00
Matteo Pagliazzi 67ef70db0f remove constants tests 2016-03-15 19:10:00 +01:00
Matteo Pagliazzi 5b2584871e increase sleep time when testing "allows user to delete challenge task after challenge task is broken" 2016-03-15 19:07:01 +01:00
Blade Barringer d62807f760 feat: Add debug scripts to easilly get all pets/mounts/gear 2016-03-15 12:47:24 -05:00
Matteo Pagliazzi 219ec01ce9 port shared.ops.allocate 2016-03-15 18:41:23 +01:00
Matteo Pagliazzi fb6c927ce9 Merge pull request #6886 from HabitRPG/api-v3-port-sleep
[API v3] Port sleep operation from shared code
2016-03-15 17:42:26 +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
Matteo Pagliazzi b2b4340ee3 change response for shared.ops.sleep, save user in POST /user/sleep and add integration tests for it 2016-03-15 17:05:07 +01:00
Matteo Pagliazzi 490c6a9ae1 wip(shared): port sleep op 2016-03-15 16:33:44 +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 fdeddc8631 pin stripe to specific version 2016-03-14 18:30:10 +01:00
Blade Barringer ed013ee34d Merge pull request #6878 from crookedneighbor/update_protractor
Update protractor
2016-03-13 22:24:59 -05:00
Blade Barringer 278b972c61 lint: Add missing semicolon to test helper 2016-03-13 22:06:09 -05:00
Blade Barringer 6ce0893edc test: unpend registration test 2016-03-13 21:56:42 -05:00
Blade Barringer 3ffb84d890 test: Reset db before running e2e tests 2016-03-13 21:56:12 -05:00
Blade Barringer 88ef920a2f fix: Update travis yaml to run protractor 3 2016-03-13 21:16:51 -05:00
Matteo Pagliazzi f55df39fb7 Merge branch 'develop' into api-v3 2016-03-13 23:19:04 +01:00
Matteo Pagliazzi e506864e00 Merge pull request #6877 from HabitRPG/v3-adapt-shared
Make shared code ready for API v3
2016-03-13 23:13:00 +01:00
Matteo Pagliazzi f7c94ad854 Merge pull request #6875 from piousbox/api-v3-update-username-password-2
update username, password
2016-03-13 23:03:17 +01:00
Matteo Pagliazzi f65a7321b7 fix common tests, explictly exclude tests from linting 2016-03-13 23:00:48 +01:00
Blade Barringer 17d2efb822 refactor: Organize protractor setup 2016-03-13 16:41:57 -05:00
Matteo Pagliazzi 70df1137a0 fix statsComputed getter 2016-03-13 22:39:14 +01:00
Matteo Pagliazzi 8e3284a4e3 wip(shared): adapt to v3 2016-03-13 22:26:32 +01:00
Victor Piousbox 0b25720232 cleanup 2016-03-13 14:01:53 -07:00
Matteo Pagliazzi b948fc031f fix typo in common code 2016-03-13 21:12:19 +01:00
Victor Piousbox c61b10a6eb resolve conflicts 2016-03-13 10:45:19 -07:00
Victor Piousbox c14f0c4247 update username, password 2016-03-13 10:42:59 -07:00
Blade Barringer 0b65292e4b test: Update protractor to v3 and use mocha 2016-03-13 09:51:01 -05:00
Victor Piousbox 46322cfd38 update username, password 2016-03-12 23:32:20 -08: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 c02082a200 Merge branch 'develop' into api-v3 2016-03-12 16:00:24 +01: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 c6e5e3eb1f Merge pull request #6787 from TheHollidayInn/api-v3-challenge-model-tests
Added initial challenge model tests
2016-03-11 19:17:09 +01:00
Matteo Pagliazzi 8ca4a7ce8a Merge pull request #6824 from TheHollidayInn/api-v3-get-challenge-tasks
Added initial tests for get challenge tasks
2016-03-11 19:16:51 +01:00
Matteo Pagliazzi 6fa23ae49f make sure to clone drop so original properties do not change 2016-03-11 19:11:46 +01:00
Matteo Pagliazzi 29b6e958c6 fix failing tests 2016-03-11 09:51:59 +01:00
Kaitlin Hipkin 997fe155e2 fix blurry upscale of achievement-partyUp img 2016-03-10 20:49:54 -05:00
Kaitlin Hipkin 792e8d8094 fix awarding of party {up,on} achievs to update server 2016-03-10 20:38:53 -05:00
Sabe Jones d28219e90d fix(content): Pfeffernusse typo, again 2016-03-10 17:35:36 -06:00
Sabe Jones d608fdb437 fix(news): Pfeffernusse typo 2016-03-10 16:59:39 -06:00
Keith Holliday 61e360a1d8 Added initial challenge task update tests 2016-03-10 15:30:22 -06:00
Matteo Pagliazzi 78c1ee2053 Merge pull request #6858 from crookedneighbor/babel_fix
Add fix for running in dev and test mode
2016-03-10 19:38:32 +01:00
Blade Barringer 0f7a730a58 Add fix for running in dev and test mode 2016-03-10 12:16:19 -06:00
Matteo Pagliazzi fbdbd8e006 Merge branch 'develop' into api-v3 2016-03-10 18:30:09 +01:00
Matteo Pagliazzi a9c9d6d1cc Merge pull request #6834 from HabitRPG/split-shared
Split shared ops
2016-03-10 17:34:46 +01:00
Matteo Pagliazzi 05676d834e remove git conflict data 2016-03-10 17:13:13 +01:00
Matteo Pagliazzi c39967767c Merge branch 'develop' into split-shared 2016-03-10 17:00:59 +01:00
Matteo Pagliazzi ec13a34228 Merge pull request #6842 from TheHollidayInn/api-v3-challenge-tasks-get
Added initial get challenge task by id
2016-03-10 16:53:14 +01:00
Sabe Jones 2a5011b648 fix(content): don't be clever with quest names 2016-03-09 16:57:43 -06:00
Sabe Jones d92614844a Merge pull request #6849 from HabitRPG/sabrecat/pets-201603
Pet quest March 2016
2016-03-09 15:11:14 -06:00
Sabe Jones cc53e6e9dc Merge pull request #6733 from vIiRuS/mobileStorage
Store data for next mobile update
2016-03-09 14:56:15 -06:00
Sabe Jones 45b8dbc1a6 feat(content): snails complete 2016-03-09 15:55:22 -05:00
Sabe Jones d153df7805 feat(content): snail pet quest WIP 2016-03-09 15:34:57 -05:00
Kaitlin Hipkin b0fe5f4081 add 2x party up/on achieve images and recompile spritesheets 2016-03-09 12:43:54 -05:00
Kaitlin Hipkin 6642a8e131 add party up/on achiev images and recompile spritesheets 2016-03-09 12:02:43 -05:00
Keith Holliday f96de74abd Added test for incorrect task and id and renamed test file 2016-03-09 10:01:16 -06:00
Kaitlin Hipkin fe178a62d9 move party up/on achievs about beast/mount achievs on profile 2016-03-08 21:03:57 -05:00
Kaitlin Hipkin 2ade78fc34 show party up/on achievs on user's profile achievements section 2016-03-08 20:57:19 -05:00
Kaitlin Hipkin d2d3b9deab award party {up,on} achiev when party reaches {2,4} members 2016-03-08 20:55:18 -05:00
Kaitlin Hipkin 167eb8973a add strings for new partyUp and partyOn achievs 2016-03-08 20:45:33 -05:00
Blade Barringer 3fa9d17ad4 Merge branch 'develop' into api-v3 2016-03-08 19:25:50 -06:00
Matteo Pagliazzi 582ded4494 disable rate limiting middleware 2016-03-08 23:21:11 +01:00
Sabe Jones f5ea9c5524 fix(analytics): don't log chat messages 2016-03-08 15:19:39 -05:00
Blade Barringer 842d031d5b Merge pull request #6828 from HabitRPG/upgrade_node
chore: Upgrade node
2016-03-08 13:09:59 -06:00
Keith Holliday 22e64bb88e Added initial get challenge task by id 2016-03-08 12:42:05 -06:00
Matteo Pagliazzi 986bfd8035 split remaining utilities from shared 2016-03-08 19:35:02 +01:00
Blade Barringer 155cd6c626 fix: Correct how faq module is exported 2016-03-08 11:59:45 -06:00
Matteo Pagliazzi bb6f0f4252 split user.fns 2016-03-08 18:58:39 +01:00
Matteo Pagliazzi 393a26e51a fix typo: reroll -> rebirth 2016-03-08 18:02:23 +01:00
Matteo Pagliazzi a351cb5f4e change references to imported libs 2016-03-08 17:49:18 +01:00
Matteo Pagliazzi 5a2daabada remove all changes from eslint --fix 2016-03-08 17:45:14 +01:00
Alys 76799eee05 Merge pull request #6837 from zesme/fix-tavern-tier-1-icon
Changed tavern tier 1 text icon
2016-03-08 20:26:46 +10:00
Lucas Torroba d502db71e5 Changed tavern tier 1 text icon
The icon for the text/description of the 1st tier contributor was
incorrect. It should be the boot icon, but the firefox icon was being
displayed.
2016-03-08 03:05:46 -03:00
Matteo Pagliazzi eeebe4c342 wip: split shared ops 2016-03-07 23:02:42 +01:00
Matteo Pagliazzi 8437c21a51 start splitting ops (readCard has tests) 2016-03-07 19:32:49 +01:00
Kaitlin Hipkin 98497ea739 Merge branch 'develop' of https://github.com/khipkin/habitrpg into develop 2016-03-07 03:20:58 -05:00
Phillip Thelen 36790592c6 add tests for improvement categories 2016-03-06 17:56:51 +01:00
Alys 34057c375b Merge pull request #6819 from zesme/develop
Closed issue #6758 - prevent multiple confirm/cancel popups from group Leave button
2016-03-06 20:28:47 +10:00
Alys 87bd55cca1 Merge pull request #6780 from colwem/issue6774
Improve styling of markdown blockquotes - fixes #6774
2016-03-06 19:59:30 +10:00
Alys e59f614568 Merge pull request #6786 from murraybd/use-level-style-in-modals
Use level style in modals
2016-03-06 18:52:21 +10:00
Alys 9cac8dd95e Merge pull request #6741 from delftswa2016/fix-hidden-button-issue-6740
Fixed partially hidden button in chat box
2016-03-06 18:18:02 +10:00
Alys 612d455fe1 Merge pull request #6782 from andrewcham/issue6779
update community guidelines - fixes #6779
2016-03-06 17:42:08 +10:00
Christopher Giroir edce3d01a9 Resizing image to remove aliasing 2016-03-05 11:13:20 -08:00
Christopher Giroir 82cfd8afc8 Moving to new purple logo.png 2016-03-05 11:06:01 -08:00
Matteo Pagliazzi b5e1cd33e2 Merge branch 'develop' into api-v3 2016-03-05 19:29:02 +01:00
Matteo Pagliazzi 45e7609dd1 Merge branch 'piousbox-api-v3-email-3' into api-v3 2016-03-05 19:24:22 +01: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
Matteo Pagliazzi a266ffdabd Merge pull request #6821 from HabitRPG/upgrade_babel_v3
Upgrade babel v3
2016-03-05 19:07:34 +01: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 d82dd67930 chore: Upgrade node 2016-03-05 09:17:31 -06:00
Blade Barringer b553a6c134 fix: Remove active handles (incompatible with node v4) 2016-03-05 08:11:21 -06:00
Blade Barringer a007effddd chore(i18n): update locales 2016-03-05 07:46:08 -06:00
Alys 9517920de6 fix error in nodemon command for running API tests individually 2016-03-05 15:51:54 +10:00
Keith Holliday 0e96840e3d Added initial tests for get challenge tasks 2016-03-04 15:38:32 -06:00
Victor Piousbox 7dfdbb8b05 /user/update-email endpoint 2016-03-04 21:27:16 +00:00
Blade Barringer b97511db31 fix: Use module.exports instead of export default 2016-03-04 13:29:51 -06:00
Blade Barringer 4cd0428f0a Merge branch 'develop' into api-v3 2016-03-04 12:16:22 -06:00
Keith Holliday bcc4d568df Moved unlinkChallengeTasks to challenge model and added tests 2016-03-04 11:45:21 -06:00
Lucas Torroba 4f4ea8416c Closed issue #6758
After some discussion on the thread, this is probably the neatest
solution to issue #6758. I have also modified the code on the guild
controller, which displayed the very same problem when pressing the
'Leave' button to leave a guild.
2016-03-04 13:16:37 -03:00
Blade Barringer 511b003ec5 Merge pull request #6811 from crookedneighbor/upgrade_babel
chore: upgrade babel to v6
2016-03-04 08:36:08 -06:00
Blade Barringer 9447a6ce10 feat: pre-compile babel when used in production 2016-03-04 07:44:22 -06:00
Phillip Thelen a1e1ac211f improve improvement category validation 2016-03-04 14:00:26 +01:00
Blade Barringer 99242ac60f fix: remove dependency that was causing build to fail 2016-03-03 22:24:55 -06:00
Blade Barringer 7f4beb747f Merge branch 'develop' into api-v3 2016-03-03 21:24:54 -06:00
Blade Barringer b61cfefc30 fix: fix issue where build would fail but exit as if oy passed 2016-03-03 21:05:06 -06:00
Blade Barringer 8c6d8163bc refactor: adjust path to cron module in common code 2016-03-03 18:09:07 -06:00
Matteo Pagliazzi d85c64705e Merge branch 'develop' into api-v3 2016-03-03 21:15:16 +01:00
Matteo Pagliazzi ba4d969751 Merge pull request #6802 from HabitRPG/api-v3-cast-2
[Api v3] Cast
2016-03-03 21:06:47 +01:00
Sabe Jones ea983179a4 Merge pull request #6804 from HabitRPG/sabrecat/active-handles
Active handles logging
2016-03-03 13:55:14 -06:00
Matteo Pagliazzi 96c582e062 fix tests, move most errors to shared code 2016-03-03 19:16:03 +01:00
Blade Barringer 0406142e0e chore: upgrade babel to v6 2016-03-02 21:36:27 -06:00
Alys c3107ad3fb improve commenting style 2016-03-03 13:35:55 +10:00
Matteo Pagliazzi 80f791c86b add tests, move CustomError to common, fix casting 2016-03-03 00:16:28 +01:00
Alys 56e53cc95f fix Burst of Flames / fireball skill - was doing too much boss damage; add human-friendly names to skills for ease of searching 2016-03-03 08:30:49 +10:00
Sabe Jones af38e83e36 fix(logging): don't log without env var 2016-03-02 11:30:49 -05:00
Sabe Jones c761944c35 feat(logging): timestamp active handles output 2016-03-02 10:22:46 -05:00
Matteo Pagliazzi 05b6e25c28 port spells to api-v3 2016-03-02 13:05:17 +01:00
Matteo Pagliazzi 8920b05f9e Merge branch 'develop' of github.com:HabitRPG/habitrpg into api-v3 2016-03-02 12:59:51 +01:00
Matteo Pagliazzi 5b012750bb convert spells to es6 2016-03-02 12:46:06 +01:00
Alys f69a29c152 improve group invitation code and tests 2016-03-02 09:26:55 +10:00
Sabe Jones a698559c04 fix(log-handles): don't log verbose code 2016-03-01 16:46:39 -05:00
Sabe Jones bff5258a56 fix(logging): get interval from env var 2016-03-01 16:46:39 -05:00
Sabe Jones 078100aac8 chore(logging): output active handles per 10 minutes 2016-03-01 16:46:38 -05:00
Sabe Jones 2516eae8d3 Merge pull request #6799 from HabitRPG/sabrecat/armoire-201603
Armoire and BGs 2016-03
2016-03-01 15:34:50 -06:00
Sabe Jones ea6abbfabc feat(content): Armoire and BGs 2016-03 2016-03-01 15:59:25 -05:00
Keith Holliday 20621b940e Added better tests to ensure tasks are synced 2016-03-01 14:38:09 -06:00
Blade Barringer ae56dd5c2e Merge pull request #6796 from crookedneighbor/refactor_remove_unused_common_src_files
refactor: Remove unused common script src files
2016-03-01 09:21:58 -06:00
Blade Barringer c96ddaeebe refactor: Remove unused common script src files 2016-03-01 08:49:25 -06:00
Matteo Pagliazzi 9114d74357 Merge branch 'develop' into api-v3 2016-03-01 09:44:57 +01:00
Matteo Pagliazzi 531d3969f4 fix cluster.fork 2016-03-01 09:15:13 +01:00
Alys 01b12cd8b4 Merge pull request #6793 from Sinble/develop
Change Menu Names
2016-03-01 15:43:27 +10:00
Nick Bunn b6255e9240 Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into menu_name_change 2016-02-29 20:23:24 -06:00
Nick Bunn 251dd3cb8e Changed submenu from Hall of Heroes to Hall of Contributors 2016-02-29 20:23:05 -06:00
Matteo Pagliazzi 25471b3f81 Merge pull request #6792 from HabitRPG/api-v3-tmp-filters
[API v3] add support for user._tmp, disable user.filters since it is not used
2016-03-01 00:09:34 +01:00
Matteo Pagliazzi e5224a7b2a add support for user._tmp, disable user.filters since it is not used 2016-02-29 23:20:13 +01:00
Alys 3464914655 Revert "remove common/script/src"
This reverts commit 7c5572608f.
2016-03-01 05:30:44 +10:00
Matteo Pagliazzi a04bf4c045 use different i18n module for tests 2016-02-29 17:07:33 +01:00
Matteo Pagliazzi 0c700cc36d Merge branch 'develop' into api-v3 2016-02-29 16:39:31 +01:00
Matteo Pagliazzi 7c5572608f remove common/script/src 2016-02-29 16:35:35 +01:00
Matteo Pagliazzi cbb29eac55 update gitignore for elastic beanstalk 2016-02-29 16:28:08 +01:00
Josh Holland fae0bbc8f6 Add Moonstone Chain quest art 2016-02-28 19:37:07 -06:00
Matteo Pagliazzi 03c3beba0e Merge pull request #6788 from HabitRPG/api-v3-model-paths
[Api v3] Models paths
2016-02-29 01:12:55 +01:00
Matteo Pagliazzi 3512233966 add meta/models controller to get public models paths 2016-02-29 01:04:19 +01:00
Nick Bunn 075ed9f172 updated menu names for better description 2016-02-28 16:10:26 -06:00
Keith Holliday 6e732a67c9 Added initial challenge model tests 2016-02-28 14:44:18 -06:00
Christopher Giroir 7e845962f4 Fixing comments 2016-02-28 11:58:39 -08:00
Brian Murray 8d7c46d79f Merge branch 'develop' into use-level-style-in-modals 2016-02-28 10:13:10 -08:00
Josh Holland e2ca21f935 Add Message in a Bottle quest art 2016-02-28 17:12:57 +00:00
Alys 6cd861dcdc Merge pull request #6742 from murraybd/develop
Display attribute info in Character Build
2016-02-28 19:39:20 +10:00
Andrew Cham 518532efdc #6779 Update community-guidelines.jade with current date 2016-02-28 01:20:31 -08:00
Alys c8b5cf95be Merge pull request #6764 from querry43/add-missing-docker-depends
adding two deps to dockerfile required for karma
2016-02-28 19:11:01 +10:00
Alys ccfff7270f Merge pull request #6763 from querry43/tests-in-docker
TEST_DB_URI env override
2016-02-28 19:04:58 +10:00
Alys 91fc6186e5 Merge pull request #6736 from delftswa2016/fix-perks-buygems
Fixed perk amounts when buying subscription through gem
2016-02-28 18:32:39 +10: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 733da70b48 getFirebaseToken route 2016-02-27 18:31:28 +01:00
Matteo Pagliazzi 3284bb2384 add logout 2016-02-27 18:18:56 +01:00
Matteo Pagliazzi 84810ae758 Merge pull request #6778 from HabitRPG/api-v3-session-invite
[API v3] Refactor session invite (no more session!)
2016-02-27 18:07:39 +01:00
Matteo Pagliazzi 9321a2d904 remove checks for emails 2016-02-27 17:58:56 +01:00
Matteo Pagliazzi 6c8da9a53a fix user schema definition and add missing schema 2016-02-27 17:46:00 +01:00
Matteo Pagliazzi 432d27fab2 better default values for user schema 2016-02-27 12:40:24 +01:00
Matteo Pagliazzi b4f7625d93 Merge branch 'develop' into api-v3-session-invite 2016-02-27 12:04:39 +01:00
Matteo Pagliazzi b4e4e31be5 fix invitations and add missing tests 2016-02-27 12:01:00 +01:00
Andrew Cham bf64c6503d #6779 Update community guidelines 2016-02-27 02:47:58 -08:00
Alys cc5f794f3d prevent party inviter's email address being used as a Reply-To 2016-02-27 18:48:41 +10:00
Martin Colwell 93410c4f7a issue(6774): add support for markdown blockquote 2016-02-26 20:07:12 -05:00
Matteo Pagliazzi 0014afb75e add tests for req.query.groupInvite 2016-02-26 19:43:17 +01:00
Matteo Pagliazzi d2ba8e223c remove session party invitation. Implement the same feature using a query string when signing up 2016-02-26 19:18:18 +01:00
Matteo Pagliazzi bb461f0c5a Merge branch 'develop' into api-v3 2016-02-26 10:08:24 +01:00
Brian Murray c107e42978 Change userLevelStyle to a root scope so it can be used in modals. 2016-02-25 15:59:04 -08:00
Matteo Pagliazzi 82c4f91317 put newrelic behind a flag 2016-02-25 21:05:42 +01:00
Sabe Jones bf002a2d1e chore(news): add bang 2016-02-25 14:06:06 -05:00
Sabe Jones 3270cbf89f fix(events): revert missed sprite and quest availability 2016-02-24 19:49:17 -05:00
Matt Harrington 46e13fecad TEST_DB_URI env override 2016-02-25 00:08:24 +00:00
Sabe Jones d2a487aea1 Merge pull request #6761 from HabitRPG/sabrecat/mystery-201602
Mystery Items 201602
2016-02-24 17:01:18 -06:00
Sabe Jones 86824c5304 fix(news): add byline 2016-02-24 17:25:49 -05:00
Sabe Jones ca57fad0b9 feat(time-travel): add Phoenixes
Also adds Bailey news for the above and the subscriber set.
2016-02-24 17:23:42 -05:00
Phillip Thelen 668ad6ff45 change imrovementCategories to array; 2016-02-24 15:57:08 +01:00
Matt Harrington f129df2e03 adding two deps required for karma 2016-02-24 05:22:31 +00:00
Sabe Jones 5c1d379f41 feat(subscription): mystery items 201602 2016-02-23 17:00:55 -05:00
Kaitlin Hipkin 8c444e8a62 Merge pull request #1 from HabitRPG/develop
update my fork
2016-02-23 14:25:07 -05:00
Christopher Giroir 47688bfed5 Moving to a specific commit of smart-app-banner 2016-02-22 22:57:37 -08:00
Matteo Pagliazzi 2b8846b803 Merge pull request #6748 from TheHollidayInn/api-v3-unsubscribe
Added unsubscribe route and initial tests
2016-02-22 18:03:05 +01:00
Keith Holliday d60ff421c9 Updated route to be named /emails/unsubscribe and other minor fixes 2016-02-22 09:03:21 -06:00
Matteo Pagliazzi 68a57bc2f6 enable strict mode to allow use of let, const without babel 2016-02-22 11:45:26 +01:00
Matteo Pagliazzi 9ef4b6409e Merge branch 'develop' into api-v3 and move new relic to new location 2016-02-22 11:43:35 +01:00
Matteo Pagliazzi d3e1a415a8 require newrelic as the first thing on startup 2016-02-21 22:39:55 +01:00
Matteo Pagliazzi f4d66c7384 config newrelic 2016-02-21 22:30:25 +01:00
Matteo Pagliazzi 4dfb24af6e enable newrelic 2016-02-21 22:02:37 +01:00
Keith Holliday 34b03934cc Added unsubscribe route and initial tests 2016-02-21 10:05:51 -06:00
Matteo Pagliazzi 91be89e05a Merge pull request #6735 from HabitRPG/api-v3-dataexport
[API v3] Data export
2016-02-20 21:17:32 +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
Christopher Giroir 896773f9ef Adding android app banners
Fixes #6692
2016-02-20 11:56:39 -08:00
Matteo Pagliazzi 2ed2fb5d06 tests for user data export 2016-02-20 10:46:11 +01:00
Matteo Pagliazzi a6d87aaa9b add tests for /export/history.csv 2016-02-20 10:16:55 +01:00
Brian Murray 45a938c12d put the atrribute allocation td building in a loop to clean up the code per Alys 2016-02-19 21:46:23 -08:00
Brian Murray 04d0bcadb7 in profile.jade in the character build section display detailed info about the attribute 2016-02-19 19:22:05 -08:00
Brian Murray 7822e2aaec end sureRest sentence with a period 2016-02-19 19:15:32 -08:00
kogelnikp 00473dded7 fixed partially hidden button
added clearfix class to prevent floating for the next elements.
2016-02-19 22:17:39 +01:00
Matteo Pagliazzi 3aab4d3ef6 Merge pull request #6739 from HabitRPG/api-v3-pushnotifications
port push notifications in api v3
2016-02-19 21:08:00 +01:00
Matteo Pagliazzi fbc944a5cc fix push notifications imports 2016-02-19 20:59:12 +01:00
Matteo Pagliazzi fb343f8feb port push notifications in api v3 2016-02-19 20:34:55 +01:00
Matteo Pagliazzi 130110fed2 use correct path for v2 locals middleware 2016-02-19 19:44:43 +01:00
Matteo Pagliazzi cc31d266e4 port locals middleware, add some tests and a lot of fixes 2016-02-19 18:42:03 +01:00
Matteo Pagliazzi feadfbcd9e fix case when req.session is undefined and use correct syntax for authWithSession 2016-02-19 12:23:53 +01:00
Matteo Pagliazzi 192c57fa85 re-add removed code for dataexport.history 2016-02-19 12:16:09 +01:00
Matteo Pagliazzi a6db8e693f refactor dataexport controller 2016-02-19 12:13:48 +01:00
kogelnikp db595564b3 fixed perk amounts when buying subscription through gem
set SettingsCtrl as ng-controller for modal buy-gems window to show perk
amounts when buying subscriptions through gem button
2016-02-18 23:43:25 +01:00
Phillip Thelen 762576e7a2 fix typo 2016-02-18 20:59:20 +01:00
Matteo Pagliazzi 624c0da5ab Merge pull request #6732 from HabitRPG/api-v3-hall
[API v3] Hall
2016-02-18 20:49:51 +01:00
Phillip Thelen c751ee74c0 store which areas the user wants to improve in 2016-02-18 20:30:14 +01:00
Phillip Thelen 86181253c6 store reminders for tasks 2016-02-18 20:30:02 +01:00
Matteo Pagliazzi d79e0f6e2e add tests for hall 2016-02-18 19:41:35 +01:00
Matteo Pagliazzi 2547676783 add hall controller, missing tests 2016-02-18 14:55:52 +01:00
Alys c95950c679 recompile spritesheets 2016-02-18 20:07:35 +10:00
Alys 8d106d6d78 Merge branch 'fix_gryphons' of https://github.com/taldin/habitrpg into taldin-fix_gryphons
Conflicts:
	common/dist/sprites/spritesmith-main-5.css
	common/dist/sprites/spritesmith-main-5.png
2016-02-18 18:56:40 +10:00
Alys f631712a45 deemphasise the warning that spritesheets might be too large for mobile safari - ref https://github.com/HabitRPG/habitrpg/pull/6683#issuecomment-185462180 2016-02-18 18:52:09 +10:00
Alys 3563244cdc change number of users from 1,000,000 to 1,100,000 2016-02-18 12:42:47 +10:00
Sabe Jones bafdfc4ed5 chore(news): Bailey 20160217 2016-02-17 20:59:11 -05:00
Alys ffb5cfd46e Merge pull request #6582 from tylerxo/remove_modal_username
Adds user details to the removal modal
2016-02-18 06:39:31 +10:00
Matteo Pagliazzi 5ca45df602 Revert "tests for deleting old todos"
This reverts commit d9dd031e7f.
2016-02-15 22:12:21 +01:00
Matteo Pagliazzi e6b425d713 Revert "delete completed todos 30/90 days after completion"
This reverts commit 0a9391ea75.
2016-02-15 22:11:03 +01:00
Sabe Jones f7c9769aab chore(event): revert Valentine's 2016-02-15 14:48:39 -05:00
Blade Barringer d0ac43592f chore(i18n): update locales 2016-02-14 21:13:40 -06:00
Matteo Pagliazzi 28c6c27b78 Merge branch 'develop' into api-v3 2016-02-14 13:03:29 +01:00
Matteo Pagliazzi 8b7719d25e fix apidoc comments 2016-02-14 12:56:40 +01:00
Matteo Pagliazzi 1eee27bdd4 Merge pull request #6374 from HabitRPG/api-v3-groups
[API v3] Port groups, challenges and members
2016-02-13 11:48:31 +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
Sabe Jones 00f98d90b6 Merge pull request #6705 from HabitRPG/sabrecat/chat-cutoff
No chat notifs from big Guilds
2016-02-12 13:22:10 -06:00
Matteo Pagliazzi edaf3ef4db fix typo: 1028->1024 bytes 2016-02-12 19:50:50 +01:00
Matteo Pagliazzi 599510aa78 higher maxBuffer for integration tests 2016-02-12 19:49:53 +01:00
Sabe Jones b4b64dcf19 fix(performance): no chat notifs from big Guilds 2016-02-12 13:18:30 -05:00
Blade Barringer 4360f01936 feat(api-v3): Add force-start quest route 2016-02-12 08:09:16 -06:00
Sabe Jones a74279f629 Merge pull request #6702 from HabitRPG/sabrecat/fix-newbie-guild
Don't send chat notifs for Newbies Guild
2016-02-11 20:48:17 -06:00
Sabe Jones 67929f3a96 fix(performance): don't send chat notifs for Newbies Guild 2016-02-11 21:29:32 -05:00
Matteo Pagliazzi befdb189fc fix tests for quests routes 2016-02-11 21:09:14 +01:00
Matteo Pagliazzi f68b812b90 Merge branch 'TheHollidayInn-api-v3-quests-leave' into sabrecat/quest-accept 2016-02-11 20:48:26 +01:00
Matteo Pagliazzi 6cae147b83 Merge branch 'sabrecat/quest-accept' into TheHollidayInn-api-v3-quests-leave 2016-02-11 20:48:18 +01:00
Matteo Pagliazzi 498bd31f10 Merge branch 'TheHollidayInn-api-v3-quests-abort' into sabrecat/quest-accept 2016-02-11 20:44:45 +01:00
Matteo Pagliazzi e8a38a6326 Merge branch 'sabrecat/quest-accept' into TheHollidayInn-api-v3-quests-abort 2016-02-11 20:44:27 +01:00
Matteo Pagliazzi 7d86039a82 Merge branch 'TheHollidayInn-api-v3-quests-cancel' into sabrecat/quest-accept 2016-02-11 20:24:44 +01:00
Matteo Pagliazzi 84d03dc2ad Merge branch 'sabrecat/quest-accept' into TheHollidayInn-api-v3-quests-cancel 2016-02-11 20:24:16 +01:00
Matteo Pagliazzi a73d9af020 Merge pull request #6693 from HabitRPG/TheHollidayInn-api-v3-quests-reject
Updated quest reject
2016-02-11 20:18:25 +01:00
Sabe Jones fdd170c977 Merge pull request #6698 from HabitRPG/sabrecat/elastic-beanstalk
AWS Elastic Beanstalk
2016-02-11 11:38:12 -06:00
Matteo Pagliazzi 41c3276e66 fetch leader id when cancelling quest 2016-02-11 15:36:21 +01:00
Matteo Pagliazzi c79cb0efc6 update quest abort route 2016-02-11 15:32:25 +01:00
Matteo Pagliazzi 096bb3f853 Merge branch 'api-v3-quests-abort' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-quests-abort 2016-02-11 15:16:29 +01:00
Matteo Pagliazzi ab187720a5 reject quest: test response 2016-02-11 15:14:07 +01:00
Matteo Pagliazzi dfb6ec2f48 cancel quest: test response 2016-02-11 15:11:38 +01:00
Matteo Pagliazzi 354b6bc39e update quest leave route 2016-02-11 15:07:45 +01:00
Matteo Pagliazzi c6c852cd6d Merge branch 'api-v3-quests-leave' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-quests-leave 2016-02-11 14:52:09 +01:00
Matteo Pagliazzi 6c1950972b update quest cancel routes 2016-02-11 13:19:46 +01:00
Matteo Pagliazzi 3cd7e8ad5d Merge branch 'api-v3-quests-cancel' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-quests-cancel 2016-02-11 12:54:34 +01:00
Matteo Pagliazzi 879506b38a update reject quest route 2016-02-11 12:50:28 +01:00
Matteo Pagliazzi 210a8ee11f Merge branch 'api-v3-quests-reject' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-quests-reject 2016-02-11 12:12:09 +01:00
Matteo Pagliazzi a998282c35 Merge pull request #6690 from HabitRPG/paglias/quest-accept
Quest accept
2016-02-11 12:02:37 +01:00
Sabe Jones 81098d5fe8 fix(static): update Android app image 2016-02-10 18:48:31 -05:00
Matteo Pagliazzi a2af6c390b fix quest accept route and add tests 2016-02-10 22:27:59 +01:00
Sabe Jones b228aa3f89 feat(elastic-beanstalk): deploy extensions 2016-02-10 16:24:24 -05:00
Matteo Pagliazzi fa14464a0c add accept quest route 2016-02-10 17:07:34 +01:00
Matteo Pagliazzi 95a3cea297 Merge pull request #6688 from crookedneighbor/blade-quest-start-tests
start quest tests
2016-02-10 16:10:18 +01:00
Matteo Pagliazzi 02a61e260b add tests for GET challenges/:challengeId 2016-02-10 16:10:00 +01:00
Blade Barringer 8ff4cfe709 tests: Finish start quest 2016-02-10 08:51:12 -06:00
Blade Barringer b6ed2f8c44 refactor: Move sleep function to seprate file 2016-02-10 08:21:36 -06:00
Alys e425e75b9d change Beast Master text from insanely to incredibly - partial fix for https://github.com/HabitRPG/habitrpg/issues/6685 2016-02-10 07:45:22 +10:00
Taldin b293d7acc2 Fixes #6356 (gryphon avatar clipping)
Updated gryphon mount graphics.
2016-02-09 10:27:10 -08:00
Alys e7c88d6e5d set purchased.plan.dateUpdated during cron if it hasn't been set - ref https://github.com/HabitRPG/habitrpg/issues/6682 2016-02-09 20:52:50 +10:00
Alys 13c06756e3 Merge pull request #6586 from anowlcalledjosh/front_page_image_alts
#6560: Add alt attributes for images on front page
2016-02-09 18:15:47 +10:00
Alys badebe8bcc adjust rebirth description to specify that you must change class to buy class-specific gear 2016-02-09 11:52:07 +10:00
Matteo Pagliazzi 0b336d8012 add missing dot in field path 2016-02-08 23:40:03 +01:00
Matteo Pagliazzi 2f3ae32a0e finalize invite to quest route and startQuest method 2016-02-08 23:30:49 +01:00
Sabe Jones 884e3573a6 fix(deploy): junk commit for Heroku 2016-02-08 17:25:01 -05:00
Sabe Jones 75b95bfd67 Merge pull request #6681 from HabitRPG/sabrecat/pets-201602
Monkey Pet Quest
2016-02-08 15:30:55 -06:00
Sabe Jones e1b13db6e8 feat(quests): pets 201602
Also enables the Valentine's Day card for selection in the Market.
2016-02-08 16:20:05 -05: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
Alys 7aca788ce8 adjust subscription benefit task history information 2016-02-07 22:24:32 +10:00
Alys 2e79c5b5b8 create script to mark the Enchanted Arrmoire as not being empty for users who logged in recently and who do not have all gear 2016-02-07 16:07:33 +10:00
Sabe Jones a3251ac9a0 fix(groups): DRY profile name logic 2016-02-05 15:26:15 -05:00
Sabe Jones dd3918436f fix(groups): don't show HP in Guilds 2016-02-05 15:19:23 -05:00
Blade Barringer 3b9c921c2f feat(api-v3): First iteration of quest invite 2016-02-05 10:26:06 -06:00
Blade Barringer 03c9c2933f feat(api-v3): finish first iteration of group.startQuest method 2016-02-05 09:29:46 -06:00
Matteo Pagliazzi 1e433290d2 Merge pull request #6665 from HabitRPG/paglias/quests-methods
API v3 - Group model methods
2016-02-05 11:14:12 +01:00
Matteo Pagliazzi 18958bde5a review and fix group model methods 2016-02-05 11:06:40 +01:00
Sabe Jones e0effcdf5f Merge pull request #6626 from taldin/party_health
Add HP to party page
2016-02-04 15:56:39 -06:00
Sabe Jones b5bb73347a Merge pull request #6631 from anowlcalledjosh/icon_zoom
Make task help icons consistent across browsers
2016-02-04 15:51:49 -06:00
Keith Holliday 6f606df211 Added quest abort route and initial tests 2016-02-04 15:22:37 -06:00
Alys 2d6a8e4b6a renumber armoire Jester Set - fixes https://github.com/HabitRPG/habitrpg/issues/6658 2016-02-05 06:55:29 +10:00
Keith Holliday 5ca663db57 Added quest leave route and initial tests 2016-02-04 12:31:38 -06:00
Keith Holliday 442a654e94 Removed questKey from url, added quest member support, removed extra tests, and fixed analytics import 2016-02-04 12:27:51 -06:00
Keith Holliday 0684e30790 Added quest cancel route and initial tests 2016-02-03 17:04:57 -06:00
Sabe Jones 963b4849d2 Merge pull request #6647 from HabitRPG/sabrecat/armoire-201602
BGs and Armoire 201602
2016-02-03 13:56:28 -06:00
Matteo Pagliazzi 19a709c360 remove console.log statements 2016-02-03 11:30:09 +01:00
Matteo Pagliazzi 1daf87531a add population to join and update routes of challenges and groups, remove chat flags info everywhere 2016-02-03 11:29:19 +01:00
Keith Holliday d5148a7bf0 Added quest reject route and intial tests 2016-02-02 16:38:31 -06:00
Matteo Pagliazzi a8dc529449 adapt create challenge tests to population 2016-02-02 22:09:35 +01:00
Sabe Jones d8e9b781c8 feat(content): BGs and Armoire 201602 2016-02-02 16:02:50 -05:00
Matteo Pagliazzi 9af2282c36 Merge pull request #6625 from KristianTashkov/challenge-create-tests
Challenge create tests
2016-02-02 21:56:37 +01:00
Matteo Pagliazzi 7a5aa731db add population to challenge.group, challenge.leader and group.leader 2016-02-02 21:47:12 +01:00
Kristian Tashkov 0e5c3f6e82 Challenge create tests 2016-02-02 22:16:03 +02:00
Tyler Smith 065238525c Removing extra class in favor of .lead 2016-02-02 10:22:17 -08:00
Matteo Pagliazzi 509dffd0c7 update hasAccess to include public guilds 2016-02-02 19:13:29 +01:00
Matteo Pagliazzi 2ad5dbcc74 Merge pull request #6590 from TheHollidayInn/api-v3-get-group-challenges
Added get group challenges route and initial tests
2016-02-02 19:06:37 +01:00
Taldin 51e579cb6a Update for cleaner code.
Per Alys and crookedneighbor's suggestion.
2016-02-02 10:01:08 -08:00
Keith Holliday 754befc580 Updated test syntax and added get user challenges tests 2016-02-02 10:29:55 -06: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
Alys a05f6c46d6 add name for mysterySet201601 (Champion of Resolution Set) - fixes https://github.com/HabitRPG/habitrpg/issues/6642 2016-02-02 15:48:28 +10:00
Blade Barringer e3c7d2834e refactor(api-v3): Move quest routes to separate file 2016-02-01 21:14:20 -06:00
Blade Barringer a7486821e5 feat: Add quest details to group in quest invite route 2016-02-01 18:02:32 -06:00
Blade Barringer c699874e36 feat: Add startQuest method on group model 2016-02-01 17:55:55 -06:00
Sabe Jones 8ee535b4fa Merge pull request #6636 from HabitRPG/sabrecat/end-wonderland
End Winter Wonderland 2015-16
2016-02-01 16:14:32 -06:00
Sabe Jones 0fcdc49adb chore(event): end Winter Wonderland 2016-02-01 17:01:17 -05:00
Taldin 12749ba497 fixed it so infinite decimals wouldn't print
Added .toFixed(1) call.
2016-02-01 10:14:42 -08:00
Matteo Pagliazzi d9dd031e7f tests for deleting old todos 2016-01-31 21:24:59 +01:00
Matteo Pagliazzi 0a9391ea75 delete completed todos 30/90 days after completion 2016-01-31 19:45:30 +01:00
Josh Holland f7163519c1 Make task help icons consistent across browsers
The zoom CSS property isn't supported by Firefox, and nor is
vertical-align: -webkit-baseline-middle. font-size: 1.5em has the same
effect, and vertical-align: middle ensures that the tooltip doesn't
overlap with the icon.
2016-01-31 15:41:00 +00:00
Alys ea57808176 remove instructions for Beeminder users to read a warning about deleting completed To-Dos (warning is no longer needed) 2016-01-31 18:25:37 +10:00
Alys 9b9072be45 removed mention of cookies from message about clearing local storage (cookies are not removed) 2016-01-31 18:16:26 +10:00
Taldin e08f77651b Add HP to party page
Party page now displays each party member's health next to their name
(healers don't have to click on each party member to see their health)
2016-01-30 16:32:10 -08:00
Keith Holliday 461eb96d45 Added get group challenges route and initial tests 2016-01-30 13:46:01 -06:00
Blade Barringer 707170ec7e feat(api-v3): Add failure conditions for quest invite route 2016-01-30 13:35:46 -06:00
Matteo Pagliazzi 9b09848655 revert change to static files testing 2016-01-30 19:42:09 +01:00
Matteo Pagliazzi 6851a39dec test no-cache instead of max-age=0 2016-01-30 19:24:56 +01:00
Blade Barringer a6ed635978 Merge branch 'api-v3-groups' into sabrecat/quest-accept 2016-01-30 11:10:33 -06:00
Blade Barringer a84e0d1a6c Merge branch 'api-v3' into api-v3-groups 2016-01-30 10:20:04 -06:00
Blade Barringer a2f5c2a842 tests: Add readme for v3 tests 2016-01-30 09:28:03 -06:00
Blade Barringer 0533e46576 Merge pull request #6599 from KristianTashkov/fix-broken-unit-tests-windows
Fix failing unit tests on windows
2016-01-30 09:18:50 -06:00
Matteo Pagliazzi 69e24eafa3 fix typo when creating tavern 2016-01-30 16:04:38 +01:00
Sabe Jones 834cca0ddc test(quests): finish invite route 2016-01-29 18:30:41 -05:00
Alys 376e1b7491 Merge pull request #6617 from murraybd/develop
Add in missing word your to passMan phrase.
2016-01-30 08:49:08 +10:00
Brian Murray 4b5e3cd4fb Update front.json 2016-01-29 14:24:14 -08:00
Brian Murray e48c47fbec Revert change to en_GB since the locales files don't get updated through
GitHub.
2016-01-29 14:20:06 -08:00
Sabe Jones b7ee6f7da0 fix(event): award old Robes to new users, not 2016 2016-01-29 15:12:07 -05:00
Brian Murray 2799905169 Add in missing word your to passMan phrase. 2016-01-29 11:37:51 -08:00
Matteo Pagliazzi 0972d32d03 improve _closeChal to run some ops immediately 2016-01-29 20:05:06 +01:00
Matteo Pagliazzi 9c5683c45c Merge pull request #6611 from KristianTashkov/challenge-delete-tests
Add challenge delete tests
2016-01-29 19:22:00 +01:00
Matteo Pagliazzi 340e918def Merge pull request #6600 from KristianTashkov/challenge-winner-tests
Challenge select winner route tests
2016-01-29 19:21:52 +01:00
Sabe Jones 5512be01cd fix(subscription): clarify credits wording 2016-01-29 13:09:40 -05:00
Matteo Pagliazzi 0084a0d057 move tests to gulp tasks 2016-01-29 19:09:19 +01:00
Sabe Jones 9c809ce2e3 Merge pull request #6612 from HabitRPG/sabrecat/birthday-2016
Habit Birthday 2016
2016-01-29 11:57:48 -06:00
Matteo Pagliazzi 98a110c5c8 Merge branch 'api-v3-groups-fix-tests' into api-v3-groups 2016-01-29 14:43:51 +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 549b1b0fac Merge pull request #6615 from HabitRPG/api-v3-groups-fix-tests
Api v3 Fix Tests
2016-01-29 13:00:06 +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 bcfb52a16e passing tests 2016-01-29 12:14:33 +01:00
Matteo Pagliazzi bcbaa75aad failing integration test 2016-01-29 12:08:30 +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
Sabe Jones 91c6ce27c5 feat(event): Habit Birthday 2016
Also adds AWS Elastic Beanstalk local config file to .gitignore.
2016-01-28 17:16:01 -05:00
Kristian Tashkov 2c378bf2f2 Add challenge delete tests 2016-01-28 23:22:35 +02:00
Kristian Tashkov c52064b3df Add challenge select winner test for broken and winner flags of challenge tasks 2016-01-28 23:08:22 +02: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
Kristian Tashkov 6dce552140 Challenge select winner route tests 2016-01-28 00:05:16 +02:00
Kristian Tashkov 32be629878 Fix failing unit tests on windows 2016-01-27 23:07:29 +02:00
Matteo Pagliazzi 6d38caf78b tests for challengeExportCsv 2016-01-27 20:52:47 +01:00
Matteo Pagliazzi 4518d3693c add exportChallengeCsv route (missing tests) 2016-01-27 20:28:54 +01:00
Matteo Pagliazzi 2cd8d202b5 Merge pull request #6595 from HabitRPG/api-v3-groups-update-challenge
[Api v3] Update challenge
2016-01-27 12:32:34 +01:00
Matteo Pagliazzi 1bf4d1298a Merge pull request #6591 from KristianTashkov/challenge-leave-route
Challenge leave route and tests
2016-01-27 12:25:11 +01:00
Matteo Pagliazzi f16b605c37 add update challenge with tests 2016-01-27 12:22:24 +01:00
KristianTashkov 995148cbfb Make challenge leave route return empty object on success 2016-01-27 11:37:52 +02:00
Kristian Tashkov 13b12830da Challenge leave route and tests 2016-01-27 09:34:54 +02:00
Sabe Jones d7782584db chore(news): Bailey 20160126 2016-01-26 20:31:43 -05:00
Sabe Jones f6468a1520 Merge pull request #6587 from HabitRPG/sabrecat/mystery-201601
January 2016 mystery items
2016-01-26 14:47:08 -06:00
Sabe Jones e7ee38758f feat(subscription): update migration 2016-01-26 15:30:36 -05:00
Sabe Jones 953c504867 feat(subscription): mystery gear strings 2016-01-26 15:26:11 -05:00
Sabe Jones c6d6e73ae6 feat(subscription): January 2016 mystery items 2016-01-26 15:20:55 -05:00
Josh Holland 7cc618b32c Add alt attributes for images on front page
Some images have an empty alt attribute (alt=""); this isn't a mistake,
it's part of the HTML spec for images that don't add any information.
Debatably, some images marked up as such with this commit do add
information, but that information (e.g. what the Habitica UI looks
like from the intro image) isn't likely to be useful to someone not
able to see.

It's also difficult to convey purely visual concepts like the arrows
with alt-text, especially as the arrows themselves are not images and
therefore cannot have an alt attribute.

Fixes #6560.
2016-01-26 17:35:35 +00:00
Tyler Smith ff2ebe46b8 Fixing jade and angular syntax miscues 2016-01-26 07:59:31 -08:00
Tyler Smith 588fdc6cad Properly chaining classes in jade 2016-01-26 07:52:35 -08:00
Matteo Pagliazzi f225843cf6 Merge pull request #6579 from TheHollidayInn/api-v3-groups-chat-refactor
Updated chat tests with new async/await syntax
2016-01-26 11:25:49 +01:00
Alys 6c106ad644 fix name of Base Hatching Potion quest reward - https://github.com/HabitRPG/habitrpg/pull/6583 2016-01-26 18:42:22 +10:00
Phillip Thelen 8e8c28725a Add avatar customizations to content API 2016-01-25 21:59:13 -06:00
Blade Barringer f430b6ff6f tests: Correct phrasing of tests 2016-01-25 21:46:53 -06:00
Tyler Smith fd157785f4 Adding text-center to container rather than individual elements 2016-01-25 17:42:50 -08:00
Tyler Smith 77cfc99b59 Adding user details to the removal modal 2016-01-25 17:37:18 -08:00
Blade Barringer e5f1c44a3e feat: Add removeFromArray function 2016-01-25 18:08:01 -06:00
Blade Barringer 95603b9d21 tests: Change baseModel test to more accurately reflect use case 2016-01-25 17:55:10 -06:00
Matteo Pagliazzi f12c9d2353 fix removeMember route and tests 2016-01-26 00:20:56 +01:00
Keith Holliday bd87ada902 Updated chat tests with new async/await syntax 2016-01-25 15:22:54 -06:00
Matteo Pagliazzi b28e0629b1 add feature to invite user if he is partying solo 2016-01-25 18:17:09 +01:00
Matteo Pagliazzi 211a7bb46a add new files for clearCompletedTodos functionality 2016-01-25 17:23:22 +01: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
Alys 0d06d765f2 Merge pull request #6569 from shellbot/quest-accept-highlight
Color code quest accepted/rejected text
2016-01-25 08:13:59 +10:00
Matteo Pagliazzi 4149cbf381 check for memberCount in join group and removeMemberFromGroup test 2016-01-24 13:14:29 +01:00
Matteo Pagliazzi 490d92eb2f fix increments memberCount when joining guilds test 2016-01-24 12:59:54 +01:00
Matteo Pagliazzi df0b49f4f3 tests: check that memberCount is increased for public guilds too 2016-01-24 12:59:04 +01:00
Matteo Pagliazzi 9239ea931a Merge pull request #6513 from KristianTashkov/missing-join-group-tests
Add missing tests in group join route
2016-01-24 12:54:28 +01:00
Matteo Pagliazzi ea48194d96 Merge pull request #6543 from TheHollidayInn/api-v3-groups-remove-member
Added intial group remove member tests
2016-01-24 12:53:35 +01:00
Matteo Pagliazzi 59f5a80af7 improve access control for challenges 2016-01-24 12:52:59 +01:00
Matteo Pagliazzi 198d2e6ab5 misc fixes and run gulp lint when testing 2016-01-24 12:38:20 +01:00
Matteo Pagliazzi ba60604899 Merge branch 'TheHollidayInn-api-v3-groups-chat-clear-flagss' into api-v3-groups 2016-01-24 12:27:42 +01:00
Matteo Pagliazzi e8c2d16f2c Merge branch 'api-v3-groups-chat-clear-flags' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-groups-chat-clear-flagss 2016-01-24 12:27:23 +01:00
Matteo Pagliazzi bf1991d3de Merge branch 'TheHollidayInn-api-v3-chat-delete' into api-v3-groups 2016-01-24 12:24:25 +01:00
Matteo Pagliazzi 9e1f23edbd Merge branch 'api-v3-chat-delete' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-chat-delete 2016-01-24 12:23:51 +01:00
Matteo Pagliazzi fe170a591a Merge pull request #6531 from TheHollidayInn/api-v3-group-get-groups-test
Added initial get groups tests
2016-01-24 12:13:54 +01:00
Matteo Pagliazzi c5d731aa80 Merge pull request #6563 from TheHollidayInn/api-v3-get-group-tests
Added initial get group tests
2016-01-24 12:12:28 +01:00
Matteo Pagliazzi f8274ad504 Merge pull request #6574 from TheHollidayInn/api-v3-groups-seen-chat
Fixed send message and added intiial seen chat tests
2016-01-24 12:06:47 +01:00
Keith Holliday e8c13d3117 Added initial clear chat flags tests 2016-01-23 23:11:57 -06:00
Keith Holliday c498eef21c Added initial chat delete tests 2016-01-23 23:09:22 -06:00
Keith Holliday ff034cf61b Fixed send message for parties and added party seen message test 2016-01-23 19:56:11 -06:00
Keith Holliday 9405d4b054 Fixed send message and added intiial seen chat tests 2016-01-23 14:32:24 -06:00
Keith Holliday 2063070f18 Added group toJSON conversion and fixed syntax errors 2016-01-23 13:42:01 -06:00
Keith Holliday febc48cd41 Fixed failing chat test by using and admin to view chat flags 2016-01-23 13:42:01 -06:00
Keith Holliday ab5fc1f526 Added initial get group tests 2016-01-23 13:42:00 -06:00
Matteo Pagliazzi 13693a041a fix npm test so that it does not fail - temporary solution 2016-01-23 19:44:55 +01:00
Matteo Pagliazzi cded1aa8ab remove duplicate eslint rules 2016-01-23 19:13:24 +01:00
Sabe Jones a414aeaf70 fix(test): linting 2016-01-22 17:38:47 -05:00
Sabe Jones 0ec63ca68d test(quests): invite and accept WIP 2016-01-22 16:59:34 -05:00
Shellbot 7d0ad86c43 Color code quest accepted/rejected text 2016-01-22 21:56:39 +00:00
Blade Barringer 71c4a0de32 Merge pull request #6564 from KristianTashkov/fix-vagrant
Return enable symlinks in vagrant and use npm@3
2016-01-22 09:06:43 -06:00
Sabe Jones 3bd806a0f0 test(quests): accept route WIP 2016-01-21 17:31:54 -05:00
Kristian Tashkov 2fec986006 Return enable symlinks in vagrant and use npm@3 2016-01-21 23:28:28 +02:00
Sabe Jones f872547264 chore(news): Bailey 2016-01-20 2016-01-20 16:32:12 -05:00
Matteo Pagliazzi 1a31f73238 fix query when setting new group leader 2016-01-20 21:35:00 +01:00
Sabe Jones 274157d21d Merge branch 'tylerxo/menu-error-fix' into develop 2016-01-20 14:34:55 -05:00
Sabe Jones 016b080836 Merge branch 'anowlcalledjosh/add-task-fix' into develop 2016-01-20 14:27:21 -05:00
Sabe Jones af53285e01 Merge branch 'proarunas/fix-css-bugs' into develop 2016-01-20 14:17:39 -05:00
Kristian Tashkov 926f22f272 Add missing tests in group join route 2016-01-20 19:52:09 +02: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
Tyler Smith f3d6c62484 More closely matching coding style within the file 2016-01-19 19:57:11 -08:00
Tyler Smith b5b3a1545b Adding conditional to prevent undefined object error 2016-01-19 19:53:20 -08:00
Josh Holland 77342e5790 Fix 'add task' button jumping around 2016-01-19 20:56:06 +00:00
Sabe Jones 023ee44ddc Merge pull request #6553 from dbarnett/develop
Open links from task notes into new browser window/context (Fixes #5622)
2016-01-19 14:54:59 -06:00
Sabe Jones c4acd262eb Merge pull request #6476 from Sighne/sighne/upgrade-amount-users
#6460: upgrade amount of users
2016-01-19 13:41:03 -06:00
David Barnett 7a29542815 Open links from task notes into new browser window/context (Fixes #5622) 2016-01-19 11:01:41 -08:00
Sabe Jones 2848f5d709 Merge branch 'NathanMaton/fix-homepage-text' into develop
Conflicts:
	common/dist/sprites/habitrpg-shared.css
2016-01-19 13:59:49 -05:00
Sabe Jones 95ee19b4ca Merge branch 'taldin/faq-wiki-links' into develop
Conflicts:
	common/dist/sprites/habitrpg-shared.css
2016-01-19 13:50:35 -05:00
Matteo Pagliazzi 3a300cb93e add new emails images 2016-01-19 18:30:57 +01:00
Keith Holliday be55176954 Ensured tavern is not returned twice and removed leader population 2016-01-19 08:13:24 -06:00
Blade Barringer 92657fa8af refactor: Remove unused code in test 2016-01-18 22:40:11 -06:00
Jason Vinson 2989057dd3 Fix for issue #5182: Allow cancel editing group infobox 2016-01-18 22:39:06 -06:00
Blade Barringer 0b5a8bf76d chore(i18n): update locales 2016-01-18 18:24:44 -06:00
Blade Barringer 66083f766c Merge branch 'api-v3' into api-v3-groups 2016-01-18 18:04:20 -06:00
Blade Barringer 32a2b3121e Merge branch 'develop' into api-v3 2016-01-18 18:04:07 -06:00
Kristian Tashkov 5b740b1a11 Fix setting of environment variables in gulp test tasks in Windows
See this stackoverflow link for why this is necessary
http://stackoverflow.com/questions/27084392/code-coverage-for-mocha-in-windows-7/27193866#27193866
2016-01-18 16:55:15 -06:00
Sabe Jones fc8c377eab Merge pull request #6455 from querry43/docker-changes
Docker changes
2016-01-18 16:13:18 -06:00
Sabe Jones d44ff94acb Merge pull request #6547 from vIiRuS/guidelinespage
Add viirus to Community Guidelines page. Fixes #6546
2016-01-18 15:37:58 -06:00
Sabe Jones c6b4b24052 Merge pull request #6523 from HabitRPG/sabrecat/subscription-tweaks
Text and visual tweaks for Gems
2016-01-18 15:25:58 -06:00
Sabe Jones 9b008f71a0 fix(CSS): remove redundant style 2016-01-18 16:13:24 -05:00
Alys fe58129cd3 remove Completion from Octopus quest text - ref https://github.com/HabitRPG/habitrpg/issues/5631#issuecomment-172600908 2016-01-19 06:18:49 +10:00
Phillip Thelen d0de12abac Add viirus to Community Guidelines page. Fixes #6546 2016-01-18 20:52:27 +01:00
Alys fd62e39f20 fix spelling mistake: crystaline -> crystalline 2016-01-19 04:47:50 +10:00
Blade Barringer 477603539e Merge branch 'api-v3' into api-v3-groups 2016-01-18 11:24:55 -06:00
Blade Barringer 64c4f0f94a Merge branch 'develop' into api-v3 2016-01-18 11:24:34 -06:00
Blade Barringer 79f2dc6b1a tests: Update gulp task to use npm scripts 2016-01-18 11:10:22 -06:00
Blade Barringer c56f5fefc1 chore: remove unused npmignore 2016-01-18 10:14:06 -06:00
Blade Barringer 1ff9db253b Merge branch 'api-v3' into api-v3-groups 2016-01-18 10:13:48 -06:00
Blade Barringer aa68a5ed38 fix: Update vagrant to use npm 3 2016-01-18 10:13:09 -06:00
Blade Barringer a0a840e22a Merge branch 'develop' into api-v3 2016-01-18 10:12:42 -06:00
Blade Barringer 89ef7c24c4 refactor: Modularize vagrant scripts 2016-01-18 10:08:49 -06:00
Blade Barringer 0ee7970276 fix: vagrant provisioning installs node automatically 2016-01-18 08:47:57 -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
Blade Barringer 5b0d3be444 Merge branch 'develop' into KristianTashkov-nvm-in-vagrant-develop 2016-01-18 06:47:17 -06:00
Blade Barringer 0c1bb2e4df Merge pull request #6119 from nivl4/nivl4/vagrant
Update vagrant provisioning script to create symlinks for any binaries the package might contain
2016-01-18 06:42:28 -06:00
Blade Barringer af19d0d77b fix: Correct stylus comment about modal height 2016-01-17 16:11:42 -06:00
Blade Barringer 0a2c833f9b Merge branch 'tylerxo-develop' into develop 2016-01-17 16:10:59 -06:00
Blade Barringer 53f93675c3 Merge branch 'anowlcalledjosh-homepage_news_icons' into develop 2016-01-17 16:07:30 -06:00
Keith Holliday d93cabafb9 Added initial tests for createChallengeTasks and fixed some issues in the challenge and challengeTask routes 2016-01-17 16:03:19 -06:00
Kristian Tashkov f37b5a7fac Challenges join route and tests 2016-01-17 15:44:15 -06:00
Blade Barringer b24ff233f2 Merge pull request #6542 from crookedneighbor/api_v3_generate_challenge
Api v3 generateChallenge helper
2016-01-17 14:55:18 -06:00
Keith Holliday c5947ca9c4 Updated party test to conform to new leader populate 2016-01-17 14:20:51 -06:00
Keith Holliday 417d754a0d Added intial group remove member tests 2016-01-17 14:02:17 -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
Keith Holliday b60e0a4c64 Added initial get groups tests 2016-01-17 13:32:31 -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 3630f5a3ea Merge pull request #6504 from HabitRPG/api-v3-members
[API v3] Members routes
2016-01-17 18:40:17 +01:00
Matteo Pagliazzi ec7ed9c90e add tests for getChallengeMemberProgress route and several bug fixes 2016-01-17 18:31:03 +01:00
Matteo Pagliazzi 8de8ca7e18 add getChallengeMemberProgress route and misc fixes 2016-01-17 12:01:57 +01: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
Tyler Smith 1d7c30a06d Fixes for the profile modal
This commit fixes the following:

1. Unintented scrollbar was being created on the .modal container element
2. 15px gap between the footer and scrollable content, creating an odd visual lapse
3. Modal was too wide between 768px and 900px, bleeding off the page.
2016-01-16 16:14:20 -08: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
Joshua Holland e98dc1405b Fix rendering of front page news icons
Rendering was 'pixelated', is now 'auto'.
2016-01-16 22:43:29 +00:00
Joshua Holland c85f994f4c Make .img-rendering-auto apply to descendants 2016-01-16 22:39:40 +00: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
Blade Barringer 29415441f7 tests: Create base class that ApiUser and ApiGroup inherit from 2016-01-16 09:48:51 -06:00
Blade Barringer 9f2a8c03b2 tests: Remove references to different api routes in helper 2016-01-16 09:45:02 -06:00
Matteo Pagliazzi f8f591e521 do not use wait inside for loop 2016-01-16 16:37:21 +01:00
Matteo Pagliazzi a59da8607b add tests for getting invites to a group 2016-01-16 16:32:46 +01:00
Matteo Pagliazzi 4e5c4e9953 add missing test file 2016-01-16 16:18:29 +01:00
Matteo Pagliazzi f447af19ae add tests for getting challenge members and fix a lot of bugs 2016-01-16 16:18:06 +01:00
Matteo Pagliazzi d7d63ad229 populate group.leader 2016-01-16 15:10:18 +01:00
Sighne 4d1daf1c41 Uses a const instead of a variable 2016-01-16 11:11:48 +01:00
Sighne a716ce3fa7 Adds a variable to manage user count 2016-01-16 11:11:48 +01:00
Sighne 5931ddf2ba Decrease margin for the new logo to fit in social pages 2016-01-16 11:11:48 +01:00
Sighne ffe1dd6c6a Upgrade amount of users where I missed and add Discover logo on social pages 2016-01-16 11:11:48 +01:00
Sighne a9f10380b9 Upgrades amount of users on static page 2016-01-16 11:11:48 +01:00
Sighne de3d4ae8e7 Adds Discover magazine logo 2016-01-16 11:11:48 +01:00
Blade Barringer 28fc6dd4bd tests: Convert helpers to use async/await 2016-01-15 20:36:54 -06:00
Matteo Pagliazzi 96c523493a fix missing semicolon 2016-01-15 22:08:51 +01:00
Matteo Pagliazzi ad41037f59 finish tests for members controller 2016-01-15 21:47:20 +01:00
Sabe Jones 23720e0a43 style(subscription): more tweaks 2016-01-15 14:10:02 -05:00
Matteo Pagliazzi 2ee75c1ad3 add tests for getMember 2016-01-15 19:44:45 +01:00
Matteo Pagliazzi b0caf71641 fix several busg with tasks and challenges 2016-01-15 18:54:28 +01:00
Taldin 3b3c1fead7 Moved the Habitica Wiki link down to the bottom
Per Lemoness' request.
2016-01-15 09:48:16 -08:00
Matteo Pagliazzi 3eb9d4b098 members controller: support challenges 2016-01-15 15:30:13 +01:00
Matteo Pagliazzi 50a85337a7 better access control for challenges 2016-01-15 15:29:50 +01:00
Matteo Pagliazzi e0b10d44ca Merge branch 'api-v3-groups' into api-v3-members 2016-01-15 11:22:11 +01:00
Luveluen 5315cc9055 Update character.json to separate optOut into two translation strings
optOut is currently used to skip the class selection and to opt out of the messaging system.
that creates translation problems.

Fixes #6511
Closes #6518
2016-01-14 20:40:07 -06:00
Georgi Gardev 24e08676db Add icon for pinned Safari tabs
Fixes #6451
Closes #6522
2016-01-14 20:32:51 -06:00
Georgi Gardev e761315c74 Remove tooltip for 'reverse chat messages' checkbox
Fixes #6517
Closes #6525
2016-01-14 20:28:08 -06:00
Josh Holland a0b264f686 Align progress and help icons on to-dos column
Fixes #6474

As per #6474, progress and help icons on the to-dos column were
previously misaligned due to inline styles. This commit adds the same
inline styles to both icons.

Move inline styles on task column icons to a class

This uses existing classes instead of adding a new one, because if new
icons are added in the future this should catch them without any extra
classes having to be added to the new icons.

In addition, this will catch any new .option-box added to .task-column
in the future; this may be good or bad, but is easy to fix in any case.
2016-01-14 20:24:09 -06:00
Blade Barringer c084b6b7cd Merge pull request #6526 from HabitRPG/no_sprite_sheets_css
refactor: Remove compiled spritesheet from source control
2016-01-14 18:10:31 -06:00
Blade Barringer d02c3d321e refactor: Remove compiled spritesheet from source control 2016-01-14 18:03:14 -06:00
Blade Barringer 2a6241d549 Merge pull request #6520 from HabitRPG/api-v3-groups-create-and-populate
Add createAndPopulate group helper for v3
2016-01-14 17:26:35 -06:00
Sabe Jones b6b2c25358 style(modal): text and visual tweaks for Gems 2016-01-14 15:58:14 -05:00
Matteo Pagliazzi 7d5a7503cb fix access to user.tasksOrder 2016-01-14 20:55:13 +01:00
Matteo Pagliazzi 5206469e90 add unlinkTask route and refactor user.unlink (now user.unlinkChallengesTasks) 2016-01-14 19:46:43 +01:00
Blade Barringer 5ff54fa332 Merge branch 'api-v3-groups' into api-v3-groups-create-and-populate 2016-01-14 12:23:52 -06:00
Blade Barringer 0f5cf318d9 fix: Update member objects with guild info in test helper 2016-01-14 12:22:56 -06:00
Matteo Pagliazzi 01458574f9 Merge branch 'api-v3-challenges-tasks' into api-v3-groups 2016-01-14 18:27:22 +01:00
Matteo Pagliazzi 2b9aa11598 Merge branch 'api-v3-groups' into api-v3-challenges-tasks 2016-01-14 18:25:59 +01:00
Blade Barringer 42530b9a5f refactor(tests): Adjust tests to use createAndPopulateGroup 2016-01-14 08:56:16 -06:00
Blade Barringer 2cc02ee1f1 refactor(test helper): Fix api v3 helper to be specific for v3 2016-01-14 08:55:44 -06:00
Sabe Jones b0a9425cee Merge pull request #6512 from HabitRPG/sabrecat/pets-201601
feat(quests): January 2016 pet
2016-01-13 17:01:57 -06:00
Sabe Jones 14a6d0dabf feat(quests): January 2016 pet 2016-01-13 17:15:02 -05:00
Matteo Pagliazzi 52eaecf653 Merge branch 'api-v3-groups' of github.com:HabitRPG/habitrpg into api-v3-groups 2016-01-13 23:07:34 +01:00
Matteo Pagliazzi 9a908785c1 new history preening, save tasks after cron 2016-01-13 23:07:08 +01:00
Blade Barringer 1f4e58e5cc tests(api): Port integration helper to v3 version for groups tests 2016-01-13 12:39:23 -06:00
Blade Barringer 799b3780b1 Merge branch 'api-v3' into api-v3-groups 2016-01-13 12:32:48 -06:00
Blade Barringer b68861681c tests(integration): Create separate helper for api integration tests 2016-01-13 12:32:36 -06:00
Matteo Pagliazzi 6f6d4edcec Merge branch 'api-v3-groups' into api-v3-members 2016-01-13 18:41:53 +01:00
Matteo Pagliazzi 4afad11067 Merge branch 'api-v3' into api-v3-groups 2016-01-13 18:41:27 +01:00
Matteo Pagliazzi 771bc0c5b5 put back acceptablePUTPaths variable deleted in merge 2016-01-13 18:41:09 +01:00
Matteo Pagliazzi e2edb974d7 Merge branch 'api-v3' into api-v3-groups 2016-01-13 18:40:04 +01:00
Matteo Pagliazzi 914b2eb008 Merge branch 'develop' into api-v3 2016-01-13 18:39:44 +01:00
Matteo Pagliazzi 6088b6da42 fix edge case where res.respond would not work, misc comments 2016-01-13 18:35:29 +01:00
Matteo Pagliazzi 7c15472fab wip on members controllers 2016-01-13 18:29:02 +01:00
Alys fc01104a0d change habitrpg to habitica for PayPal subscription config 2016-01-14 03:08:16 +10:00
Matteo Pagliazzi f83b271b30 rever new history preening 2016-01-13 11:07:52 +01:00
Blade Barringer 7a8321ec36 Merge branch 'api-v3' into api-v3-groups 2016-01-12 18:10:48 -06:00
Blade Barringer c9d378ab35 tests(api): bring in await format tests 2016-01-12 18:10:10 -06:00
Blade Barringer 0c30b56bb0 Merge pull request #6498 from TheHollidayInn/api-v3-groups-update
Added initial group update tests
2016-01-12 18:03:38 -06:00
Blade Barringer a3fd838677 tests(api): Fix PUT /task test to be valid 2016-01-12 18:01:47 -06:00
Blade Barringer ae67efd7ce Merge branch 'GeorgeSG-api-v3-groups' into api-v3-groups 2016-01-12 17:47:21 -06:00
Blade Barringer 336d8c9916 tests(api): Clean up misc test styles 2016-01-12 17:36:14 -06:00
Blade Barringer fdfc8fb2f5 Merge branch 'api-v3-groups' into GeorgeSG-api-v3-groups 2016-01-12 17:20:55 -06:00
Sabe Jones 9887fe58c4 fix(Stripe): zoom out so gryphon is visible 2016-01-12 16:12:44 -05:00
Sabe Jones 6247d5e365 Merge pull request #6346 from HabitRPG/sabrecat/conditional-buy-gem
(WIP) Conditional Buy Gem modal, cont'd
2016-01-12 14:47:31 -06:00
Sabe Jones 81842bbee1 fix(subscription): visual and wording tweaks 2016-01-12 15:29:10 -05:00
Sabe Jones 2db1ef0f7a style(subscriptions): Gem layout feedback 2016-01-12 15:00:07 -05:00
AnitaYCheng 8bc78af5ae Added specificity to CSS, removed exxtra line 2016-01-12 15:00:07 -05:00
AnitaYCheng bf6ebd88f6 Modifications to settings mixin and misc last changes. 2016-01-12 15:00:07 -05:00
AnitaYCheng 6a72027d8b Add subscription conditionals for buying or purchasing gems 2016-01-12 14:58:39 -05:00
AnitaYCheng 5f88aef3ca Add new mixin for purchasing gems. Add new areas that will be conditionally set by user subscription status. 2016-01-12 14:58:39 -05:00
AnitaYCheng 313a18971e Add CSS changes for conditional buy-gem modal 2016-01-12 14:58:39 -05:00
AnitaYCheng 2a8eb9f476 Added translation strings for conditional buy-gems modal 2016-01-12 14:58:39 -05:00
Keith Holliday e4fd37f3d0 Cleaned up code style and abstracted variables that are reused. 2016-01-12 13:08:13 -06:00
Matteo Pagliazzi 45aacc1e6f challenge.group -> challenge.groupId 2016-01-12 19:43:41 +01:00
Keith Holliday da02f8ca0f Removed pending status on test 2016-01-12 11:48:07 -06:00
Keith Holliday 99217e865c Added initial group update tests 2016-01-12 11:44:44 -06:00
Georgi Gardev ac6a0276ab Refactor Tasks tests to use await syntax 2016-01-12 19:11:59 +02:00
Georgi Gardev 2e3bee08d8 Refactor User tests to use await expect instead of return expect 2016-01-12 19:00:16 +02:00
Matteo Pagliazzi 12705932e3 abstract common logic in members controller 2016-01-12 18:00:03 +01:00
Georgi Gardev eaddf5a393 Refactor notFound test to use await expect syntax 2016-01-12 18:59:53 +02:00
Matteo Pagliazzi 55db0a4a4b add routes to get a single user, get members for a group, get members invited to a group 2016-01-12 17:27:06 +01:00
Georgi Gardev 98b0db749b Refactor User tests to use await syntax 2016-01-12 18:02:09 +02:00
Matteo Pagliazzi baf0179eb7 Merge branch 'TheHollidayInn-api-v3-groups-invites' into api-v3-groups 2016-01-12 15:48:59 +01:00
Matteo Pagliazzi b102ff7cae Merge branch 'api-v3-groups-invites' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-groups-invites 2016-01-12 15:48:47 +01:00
Keith Holliday 1b395b39f8 Added invite limit and tests for when multiple users with an error 2016-01-12 08:43:11 -06:00
Keith Holliday 9141598a34 Updated invite route and function for new standards, and added tests. 2016-01-12 08:43:11 -06:00
Blade Barringer 36cd9e9430 tests(api): Increase test coverage for group post tests 2016-01-12 08:14:50 -06:00
Blade Barringer 88755e69ae tests(api): Simplify tests 2016-01-12 08:14:12 -06:00
Georgi Gardev ddd0709b12 Refactor Tags tests to use await syntax 2016-01-12 16:12:35 +02:00
Blade Barringer fffa95ca09 refactor: Test against party not being private, instead of public 2016-01-12 08:11:19 -06:00
Kristian Tashkov 37cabedecb Use nvm to install node 4 to vagrant env 2016-01-11 22:29:23 +02:00
Sabe Jones dba620ee7a Merge pull request #6417 from GeorgeSG/reverse-chat-option
Add option to reverse chat order
2016-01-11 12:55:28 -06:00
Sabe Jones 7e8f0d24c5 Merge remote-tracking branch 'origin/pr/6307' into develop
Conflicts:
	common/dist/sprites/habitrpg-shared.css
2016-01-11 13:48:01 -05:00
Keith Holliday ffbd4696e3 Converted posts tests to async/await syntax and updated tests 2016-01-11 12:35:46 -06:00
Matteo Pagliazzi 9e61137e8e Merge branch 'develop' of github.com:HabitRPG/habitrpg into develop 2016-01-11 18:30:10 +01:00
Matteo Pagliazzi 5244702e48 perf improvements for challenges history and migration 2016-01-11 18:29:39 +01:00
Alys 0d47f8d116 allow purchase of Find the Cub evilsanta2 quest scroll before completing previous quest - fixes https://github.com/HabitRPG/habitrpg/issues/6405 2016-01-12 02:58:33 +10:00
Matt Harrington 1a1823bd43 fixup 2016-01-11 05:17:20 +00:00
Matt Harrington 67f184c0f4 docker maintenance
- added docker-compose.yml for quick one-command spinup
 - added docker-compose.dev.yml to override /habitrpg mount
 - modified Dockerfile to accept /habitrpg mount
2016-01-11 05:04:22 +00:00
Matt Harrington 85c532fe8a docker maintenance
- removing broken sed (was also updating BASE_URL) in favor of NODE_DB_URI (will require documentation)
 - changing build order to reduce rebuilding some things unnecessarily
 - more effectively using WORKDIR to simplify commands
2016-01-11 05:04:22 +00:00
Matteo Pagliazzi 193e89a79e fix index when marking task as modified after history preening 2016-01-10 15:57:22 +01:00
Taldin fd81f70ffa Adjusted for generic translation
Per Lady Alys's suggestion.
2016-01-09 23:59:05 -08:00
Blade Barringer c5ad006007 chore(i18n): update locales 2016-01-09 23:46:53 -06:00
Blade Barringer 980bec9be3 Merge pull request #6456 from querry43/use-example-dot-com
use example.com in the example json so as not to spam legit servers
2016-01-09 23:38:38 -06:00
Blade Barringer 502ba27b47 chore(sprites): Compile sprites 2016-01-09 23:32:17 -06:00
Nathan Maton b26d3bef40 replaced collars 2016-01-09 23:29:54 -06:00
Matteo Pagliazzi 1d0b05a6df fix typo in history preening 2016-01-09 21:17:17 +01:00
Matteo Pagliazzi f55e4f65f9 Merge pull request #6483 from HabitRPG/new-history-preening
fixes for new history preening, allow only 1 history entry per day in…
2016-01-09 21:03:18 +01:00
Matteo Pagliazzi b1a7e44722 fixes for new history preening, allow only 1 history entry per day in challenges tasks 2016-01-09 21:02:40 +01:00
Matteo Pagliazzi be0fe3eb4f Merge pull request #6479 from HabitRPG/new-history-preening
New history preening
2016-01-09 20:12:33 +01:00
Matteo Pagliazzi 2fff34cff4 finalize tests 2016-01-09 19:47:18 +01:00
pittaxx 8cd34e49bd Removed extra scrollbars at medium width. Cleared floating for todo tab in medium width. 2016-01-09 18:47:04 +02:00
Alys 58a92f626d Merge pull request #6464 from HabitRPG/fix_stat_allocation_bug
fix: Corrects stat allocation bug where it was possible to receive more points than 100
2016-01-09 23:00:06 +10:00
Matteo Pagliazzi dec08955ac fix tests 2016-01-08 23:02:18 +01:00
Sabe Jones 1b7f17cbd2 chore(news): Bailey 2016-01-08 2016-01-08 16:28:49 -05:00
Sabe Jones eadf967c9f Merge pull request #6409 from pnrich/flag-text
add extra text to flagging confirmation dialog and to top of PM inbox -- Fix for issue #4648, parts 3 and 4
2016-01-08 14:05:22 -06:00
Matteo Pagliazzi 82651cf1ed initial tests 2016-01-08 18:58:54 +01:00
Matteo Pagliazzi ae852f9a2e complete preening and enable for challenges too 2016-01-08 17:47:08 +01:00
Matteo Pagliazzi 243b839392 wip: new history preening, delineate process and differentiate between subscribers and non 2016-01-07 20:07:13 +01:00
Matteo Pagliazzi fdd5ab724a begin implementing new preenUserHistory method: port current code to es6 and setup tests 2016-01-07 18:44:25 +01:00
Blade Barringer 44dd6674d1 Merge branch 'TayHobbs-develop' into develop 2016-01-06 20:52:53 -06:00
Blade Barringer 8a19a84f3f lint(tests): Add e2e tests to linter 2016-01-06 20:52:24 -06:00
Taylor Hobbs a92646b4e9 tests(e2e): Fix test name to use proper English 2016-01-06 20:09:42 -06:00
Daniel Van Camp 99a694bb10 added EU version of t-shirt 2016-01-06 23:15:36 +01:00
Daniel Van Camp 0362977dbd Merge branch 'develop' into static-page-merch 2016-01-06 22:38:19 +01:00
Matteo Pagliazzi f235010536 add getChallenge route and remove old code 2016-01-06 22:29:47 +01:00
Sabe Jones a150efc202 Merge pull request #6473 from HabitRPG/sabrecat/armoire-201601
Backgrounds and Armoire 2016-01
2016-01-06 14:29:37 -06:00
Sabe Jones adfa248dd0 feat(content): backgrounds and Armoire 2016-01 2016-01-06 15:11:20 -05:00
Matteo Pagliazzi 9dfcad238c rename tasks tests to match new routes 2016-01-06 18:41:25 +01:00
Matteo Pagliazzi 8ba486ec12 change tasks routes to /tasks/(user|challenge) 2016-01-06 18:40:11 +01:00
Matteo Pagliazzi 2b2dcfe7ce do not delete completed todos that belongs to a challenge 2016-01-06 12:25:53 +01:00
Matteo Pagliazzi 3a6d7bd466 fix sync of remove challenge task 2016-01-06 12:16:41 +01:00
Nathan Maton 602dfd8369 went with head on habitrpg-shared.css 2016-01-05 22:09:33 -08:00
Nathan Maton ef52e276ce try 2 to ignore the right files 2016-01-05 20:10:19 -08:00
Nathan Maton 6fa0fbc03a tried to remove .gitignore from push 2016-01-05 20:06:57 -08:00
Nathan Maton 0e28c59878 changed type of activity from habit to daily for goals and chores on front page 2016-01-05 19:48:55 -08:00
Taldin 07fc30a131 update help menu and FAQ to jump to Wikia
The Help > FAQ option no longer jumps to the Wiki.  Added a help menu
item to fix that.   I also added a link to the Wiki FAQ at the bottom of
the FAQ.
2016-01-05 12:19:18 -08:00
Matteo Pagliazzi a5b1dfd32d finish implementing tasks syncing for challenges 2016-01-05 20:19:55 +01:00
Blade Barringer 8a546c7ec3 chore(i18n): update locales 2016-01-05 08:40:48 -06:00
Blade Barringer 75f71bc2ca fix: Corrects stat allocation bug where it was possible to recieve more points than 100
fixes #6434
2016-01-05 08:35:40 -06:00
Sabe Jones cb984d8d22 fix(event): remove NYE card 2016-01-04 18:27:52 -05:00
Alys 8db492099c Revert "fix(common): Corrects bug where stat points could be awarded after level 100"
This reverts commit 2bbdf66d76.
2016-01-05 07:05:40 +10:00
Alys ece0de51cc Revert "assign correct number of attribute points after leveling up - fixes 6434"
This reverts commit 53e2939ad9.
2016-01-05 07:05:26 +10:00
Matteo Pagliazzi 3bc8945bcc adapt current tests and change urls to avoid conflicts 2016-01-04 22:03:21 +01:00
Alys 53e2939ad9 assign correct number of attribute points after leveling up - fixes 6434 2016-01-05 06:31:43 +10:00
Matteo Pagliazzi 6680853078 finish adding challenges support for tasks (except syncing) 2016-01-04 20:48:48 +01:00
Matteo Pagliazzi b73f5a8f40 add support for getting single challenges tasks 2016-01-04 19:57:20 +01:00
Matteo Pagliazzi d25cb70f66 wip get and create tasks plus initial user syncing 2016-01-04 19:44:39 +01:00
Sabe Jones cc00602112 fix(event): remove magic potions 2016-01-04 11:56:34 -05:00
Blade Barringer 2bbdf66d76 fix(common): Corrects bug where stat points could be awarded after level 100
Closes #6434
2016-01-04 07:58:59 -06:00
Matt Harrington cad31cb69a use example.com in the example json so as not to spam legit servers 2016-01-04 05:30:58 +00:00
Blade Barringer 837c27ff4c Merge pull request #6428 from GeorgeSG/fix-paypal-special-chars
Encode special characters when sending to paypal
2016-01-03 19:40:39 -06:00
Blade Barringer 874f319d95 fix: Corrects logic where it was possible to customize avatar
with gem purchasable items without purchasing them.

Closes #6427
Closes #6448

lint(common): Add unnecessary quotes to make object look less weird
2016-01-03 10:41:44 -06:00
Blade Barringer 45eed84d55 Merge pull request #6446 from KristianTashkov/group-join-tests
Add tests for group join route
2016-01-03 10:16:24 -06:00
Kristian Tashkov 5bcce0b86b Add tests for group join route 2016-01-03 18:09:17 +02:00
Blade Barringer f38d0ebf81 Merge branch 'api-v3' into api-v3-groups 2016-01-03 09:50:38 -06:00
Blade Barringer f80f41f764 lint: Correct linting errors in v3 tests 2016-01-03 09:47:27 -06:00
Blade Barringer 76c97dfa6e Merge branch 'api-v3' into api-v3-groups 2016-01-02 22:29:59 -06:00
Blade Barringer 37916271e8 Merge branch 'develop' into api-v3 2016-01-02 22:29:03 -06:00
Blade Barringer dfa2228dcc tests(api): Convert v2 status test to use await syntax 2016-01-02 22:23:53 -06:00
Blade Barringer 116fffaf4f lint: Fix linting errors in api v2 tests 2016-01-02 22:19:47 -06:00
Blade Barringer ff1e5ef221 lint: Use eslint --fix to automatically fix some issues in api v2 tests 2016-01-02 18:28:06 -06:00
Blade Barringer 262d04e14c lint(tests): Re-enable inting for api tests 2016-01-02 18:27:27 -06:00
Blade Barringer c06d87b98b lint: Add babel rules to .eslintrc 2016-01-02 18:25:30 -06:00
Matteo Pagliazzi a775c992ab fix linting and add pending test 2016-01-02 18:23:01 +01:00
Matteo Pagliazzi 27065b3f4d more tests for user.tasksOrder 2016-01-02 18:21:06 +01:00
Matteo Pagliazzi 743f98d67d make sure user.tasksOrder is update only when necessary 2016-01-02 17:46:31 +01:00
Matteo Pagliazzi 7490bfae87 update POST-tasks test to async/await syntax 2016-01-02 16:04:39 +01:00
Matteo Pagliazzi 775766b30f allow multiple tasks to be created at once 2016-01-02 15:43:33 +01:00
Blade Barringer 66572ad9d5 tests(api): Update PUT user test to use await 2016-01-01 19:37:14 -06:00
Blade Barringer 195fdce9ce tests(api): Update GET groups and GET groups id tests to use await 2016-01-01 19:33:23 -06:00
Blade Barringer 9f9ba2797a tests(api): Update complex beforeEachs to use await 2016-01-01 13:31:11 -06:00
Blade Barringer 70b23d0629 tests(api): Convert simple user generation to use await 2016-01-01 13:17:25 -06:00
Blade Barringer ed753f4921 tests(api): Remove extra async 2016-01-01 12:56:43 -06:00
Blade Barringer 69c5192f70 tests(api): Add async to every it, before and beforeEach in v2 tests 2016-01-01 10:33:26 -06:00
Alys 23aaf78167 revert change to Bailey about Party Hats now that the code behaviour has changed 2016-01-01 16:06:52 +10:00
Sabe Jones 2c6f600703 fix(event): NYE hat for new users 2015-12-31 21:35:17 -05:00
Alys 6a7cd0900e adjust Bailey message about party hats to clarify that they're not available to players who join from now on, and that only one hat will appear for each player 2016-01-01 11:24:15 +10:00
Blade Barringer 91e7b9eb32 tests(api): Convert GET and flag chat posts to use async/await 2015-12-31 18:11:03 -06:00
Blade Barringer 90cd322af5 Merge branch 'api-v3' into api-v3-groups 2015-12-31 15:50:46 -06:00
Blade Barringer 3a0e7149f6 Merge branch 'develop' into api-v3 2015-12-31 15:50:34 -06:00
Blade Barringer 730e5e3431 chore(lint): Add sandbox as global to test .eslintrc 2015-12-31 15:49:59 -06:00
Blade Barringer 0d75d5b541 lint: Move test eslint rules to .eslintrc in test directory 2015-12-31 15:46:47 -06:00
Kristian Tashkov 7025bbfa32 Fix basilist scroll giving logic when joining party
closes #6416
2015-12-31 12:32:52 -06:00
Blade Barringer 7cf43680e6 Merge branch 'api-v3' into api-v3-groups 2015-12-31 12:22:20 -06:00
Blade Barringer aa6f5fff23 Merge branch 'develop' into api-v3 2015-12-31 12:17:57 -06:00
Blade Barringer 108f90b0bf tests(api): Add update method for api user 2015-12-31 12:15:57 -06:00
Blade Barringer 4bc96c2c99 tests(api): Update GET /user test to use async syntax 2015-12-31 12:11:40 -06:00
Blade Barringer 9428c6d997 lint: Correct linting errors in api v3 tests 2015-12-31 08:57:20 -06:00
Blade Barringer 70151fd073 lint: Fix tests that can be fixed with the eslint --fix flag 2015-12-31 08:57:20 -06:00
Blade Barringer 6f220c6869 lint: Turn on linting for v3 group tests 2015-12-31 08:57:20 -06:00
Blade Barringer 16e8104d35 chore: Move eslint modules to devDependencies 2015-12-31 07:42:15 -06:00
Blade Barringer bf0a5cba2b fix: Remove extranous comma in eslint confi 2015-12-31 07:37:25 -06:00
Blade Barringer a86c160370 Merge pull request #6424 from HabitRPG/api-v3-async
Port API v3 controllers to es7 async functions
2015-12-31 07:34:33 -06:00
Alys 5304b37102 properly fix Winter Flame Set 2015-12-31 22:09:06 +10:00
Alys e7cbb2cd16 add Winter Flame Set to locale file - fixes #6433 2015-12-31 21:49:21 +10:00
Matteo Pagliazzi aebe2fa400 finish porting to async/away syntax 2015-12-31 11:46:21 +01:00
Georgi Gardev 430bcd2652 Encode special characters when sending to paypal 2015-12-31 02:46:56 +02:00
Sabe Jones 02f4a84146 fix(news): Winter Flame not Penguin 2015-12-30 18:38:00 -05:00
Blade Barringer 790cf647e5 Merge pull request #6423 from crookedneighbor/test_with_async_and_await
tests(api): Convert new group tests to use async and await (ES7)
2015-12-30 17:34:56 -06:00
Blade Barringer 4563f0efb7 tests(api): Convert new group tests to use async and await (ES7) 2015-12-30 17:32:08 -06:00
Sabe Jones 050baf96d8 Merge pull request #6413 from HabitRPG/sabrecat/nye2015
New Year's Eve 2015
2015-12-30 16:09:45 -06:00
Matteo Pagliazzi f76c9d025f remove comments 2015-12-30 23:00:54 +01:00
Matteo Pagliazzi 25b0c3be2b porh auth controller to es7 async functions 2015-12-30 22:59:36 +01:00
Sabe Jones 6c3e8e2081 feat(event): more NYE 2015-12-30 16:58:57 -05:00
Georgi Gardev 42d09bd758 Reverse order of chat messages from chat box 2015-12-30 23:47:10 +02:00
Georgi Gardev beaf0b83bb Add option to reverse order of chat messages 2015-12-30 23:47:03 +02:00
Matteo Pagliazzi 59b8ba0c85 add TODOs to tavern creation 2015-12-30 17:14:20 +01:00
Blade Barringer dc3407e1af tests(api): Convert groups tests to use user['HTTP_METHOD'] syntax 2015-12-30 08:44:02 -06:00
Blade Barringer cd9fe5f1b6 Merge branch 'api-v3' into api-v3-groups 2015-12-30 08:30:43 -06:00
Blade Barringer ca1513aaa9 tests(api): Use new user['HTTP_METHOD'] for v3 integration tests 2015-12-30 08:25:06 -06:00
Blade Barringer a662d4b688 Merge branch 'develop' into api-v3 2015-12-30 07:58:55 -06:00
Blade Barringer eab15a3dd0 tests(api): Port over new integration helper from develop 2015-12-30 07:57:41 -06:00
Blade Barringer 802bb93b6c tests(api): Update integration helper in v2 to v3 changes 2015-12-29 20:37:29 -06:00
Blade Barringer 381b30fcfc Merge pull request #6415 from crookedneighbor/add_user_request_class
Add user request class for integration tests
2015-12-29 19:55:39 -06:00
Blade Barringer 4c74c9949c Correct linting error 2015-12-29 17:43:11 -06:00
Blade Barringer 4cf9518a5a tests(api): Convert tests to use new api user methods 2015-12-29 17:34:33 -06:00
Blade Barringer b2336c7adf tests(api): Add http methods to user object that is returned form generateUser 2015-12-29 17:34:11 -06:00
Matteo Pagliazzi 24f1b8c71b Merge branch 'api-v3-groups' of github.com:HabitRPG/habitrpg into api-v3-groups 2015-12-29 21:37:25 +01:00
Matteo Pagliazzi a5aeb6917e allow getGroup to optionally work for groups where the user is not a member 2015-12-29 21:36:52 +01:00
Matteo Pagliazzi 8361afc433 Merge pull request #6412 from KristianTashkov/fix-api-v3-tests
Fix GET chat tests stopping execution of other tests in api-v3-groups branch
2015-12-29 21:05:46 +01:00
Matteo Pagliazzi 08e0c67089 refactor pushNotifications 2015-12-29 20:57:37 +01:00
Matteo Pagliazzi 6003dad24b misc fixes, port challenge task scoring, delete chal and select winner 2015-12-29 20:57:20 +01:00
Sabe Jones 054e3cb361 feat(event): New Year's Eve 2015 2015-12-29 14:55:05 -05:00
Kristian Tashkov 411bfe1bb6 Fix GET chat tests stopping execution of other tests 2015-12-29 20:51:16 +02:00
Matteo Pagliazzi 61fc490f84 port challenges\' tasks scoring 2015-12-29 18:35:34 +01:00
Matteo Pagliazzi a44090e1ed Merge branch 'api-v3' into api-v3-groups 2015-12-29 18:17:36 +01:00
Blade Barringer ae9ec63229 Merge branch 'develop' into api-v3 2015-12-29 08:07:04 -06:00
Blade Barringer bce049a316 Merge branch 'develop' of github.com:HabitRPG/habitrpg into api-v3 2015-12-29 08:06:22 -06:00
Blade Barringer f3ae42e49a refactor(common): Update beastmaster functions to use newer each syntax 2015-12-29 08:03:19 -06:00
Matteo Pagliazzi 71a910ccfb temporary fix for eslint 2015-12-29 14:45:29 +01:00
Blade Barringer 773bb23b88 chore(dependency): Remove unneeded lodash submodules 2015-12-29 07:45:13 -06:00
Blade Barringer b3050e5a67 chore(dependency): Upgrade lodash from v2 to v3 2015-12-29 07:45:03 -06:00
Matteo Pagliazzi 565d5f08dc Merge branch 'api-v3-groups' of github.com:HabitRPG/habitrpg into api-v3-groups 2015-12-29 14:43:40 +01:00
Matteo Pagliazzi 547e8a04f5 cleanup group model 2015-12-29 14:43:29 +01:00
Matteo Pagliazzi ad58a77b75 Merge pull request #6393 from TheHollidayInn/api-v3-chat-post
Added chat post route and initial tests
2015-12-29 13:57:47 +01:00
Blade Barringer 33714b4947 chore(i18n): update locales 2015-12-28 21:40:51 -06:00
Georgi Gardev ea54ec607a Add confirmation popover for Release pets/mounts
Add tests for releasing pets and mounts

Refactor tests to use expect syntax from sinon-chai

tests(karma): Refine settings controller tests

refactor(client): Remove unecessary releaseX functions from $scope in settings ctrl
2015-12-28 21:37:38 -06:00
Georgi Gardev f6f82cafc4 Add confirmation popover for Rebirth
Add confirmation popover for Fortify/Reroll

Add tests for reroll and rebirth
2015-12-28 21:37:23 -06:00
Keith Holliday 2750446e7b Updated POST like route to persist data between updates 2015-12-28 18:45:34 -06:00
Keith Holliday cb388eea40 Ensured that only one like or flag is updated during query 2015-12-28 14:08:10 -06:00
Paul Rich c9fdff38f9 Fix for issue #4648, parts 3 and 4 2015-12-28 14:24:48 -05:00
Matteo Pagliazzi 9748ffb0a6 add updateGroup route 2015-12-28 19:45:34 +01:00
Blade Barringer d53ac4c66f tests: Add ability to use ES2015 in karma tests 2015-12-28 08:24:23 -06:00
Keith Holliday b3feb997d3 Change group save to Group update, added flags route and tests, and made eslint edits 2015-12-28 08:09:17 -06:00
Paul Rich 56a00efb19 Fix for Issue #3517 Display Current Page Name
Revision for Fix for issue #3517

lint: Remove extraneous white space in app.js file

fix: Correct attribute from pageTitle to title in $state interface
2015-12-28 07:53:51 -06:00
Matteo Pagliazzi ceb20742dc fix an import 2015-12-28 12:21:15 +01:00
Matteo Pagliazzi 488685ceff typo 2015-12-28 12:15:28 +01:00
Matteo Pagliazzi ba0fb884dd port create challenge 2015-12-28 12:14:56 +01:00
Matteo Pagliazzi 01e2bb56df port getChallenges 2015-12-28 11:18:58 +01:00
Matteo Pagliazzi 20092f3ddb port challenge model 2015-12-28 10:46:34 +01:00
Matteo Pagliazzi 831c8c4165 Merge branch 'api-v3-groups' of github.com:HabitRPG/habitrpg into api-v3-groups 2015-12-27 17:26:01 +01:00
Matteo Pagliazzi 6ae2c5fa89 wip on groups controller 2015-12-27 17:24:55 +01:00
Alys 7ef4fab289 change scroll drop text for The Golden Knight, Part 1 quest - it drops Gold Knight (Scroll) not Tarnished Gold (Scroll) 2015-12-28 01:06:08 +10:00
Blade Barringer b5b44072fb Merge pull request #6394 from KristianTashkov/fix-vagrant-e2e-tests
Fix e2e test in vagrant environment
2015-12-27 08:13:41 -06:00
pittaxx 6fff7f9b93 Changed css bootstrap screen-width constants to variables. 2015-12-27 13:28:41 +02:00
Keith Holliday 54109f0e62 Removed redundant code and changed like route to return only altered message 2015-12-27 00:27:06 -06:00
Blade Barringer e46436f77b chore(i18n): update locales 2015-12-26 22:28:55 -06:00
Blade Barringer b6ab74ceda refactor(common): Update variable name 2015-12-26 20:10:56 -06:00
Blade Barringer 80ed048d5c tests: Update updateStats test 2015-12-26 19:52:25 -06:00
Blade Barringer 1b118d86b2 refactor: Extract constants into constants file 2015-12-26 19:41:20 -06:00
Blade Barringer ba31cda85d Merge branch 'develop' into TheHollidayInn-leveling-ensure-user-gets-100-points 2015-12-26 19:14:40 -06:00
Blade Barringer 363ef5e091 fix: Remove stray {{ characters 2015-12-26 19:05:12 -06:00
Blade Barringer d0e6dbe103 fix: Remove only call from tests 2015-12-26 19:04:14 -06:00
Blade Barringer 5127068ca7 chore: Compile css 2015-12-26 19:02:28 -06:00
Blade Barringer 7df3b333f6 feat: Refine clear local storage function 2015-12-26 19:00:45 -06:00
Blade Barringer ef25956ba3 feat(views): Create generic message alert modal 2015-12-26 19:00:44 -06:00
Blade Barringer d36755b64a tests: Remove unnecessary describe closure in auth ctrl spec 2015-12-26 19:00:44 -06:00
darkmeep 1c261056fe clear local storage page added
changed submit bug to clear browser data

feat(views): Style clear local storage button
2015-12-26 19:00:42 -06:00
pittaxx c7d47dcd0a Fixed css bug, where both min-width and max-width were set to 768.
Max-width was changed to 767 to prevent overlap, which produces artifacts when
screen width is exactly 768 pixels.
2015-12-26 21:37:42 +02:00
Blade Barringer e5c9924141 lint: Ignore rule for one-var in tests 2015-12-26 08:13:45 -06:00
Blade Barringer c5bf06cd24 tests(common): Add test for preening todos 2015-12-26 08:11:02 -06:00
Keith Holliday dff464489a Added chat like route and tests 2015-12-24 18:52:14 -06:00
Sabe Jones 7a41d36834 fix(mystery): add event timeframe 2015-12-23 20:33:45 -05:00
Sabe Jones 799e68614d Revert "fix(test): pend brittle subscription checks"
This reverts commit 61c5e2e3e9.
2015-12-23 20:32:39 -05:00
Sabe Jones 26a1bcee6b Merge pull request #6395 from HabitRPG/sabrecat/subscriber-201512
Subscriber items 2015-12
2015-12-23 14:17:33 -06:00
Sabe Jones 61c5e2e3e9 fix(test): pend brittle subscription checks 2015-12-23 15:07:21 -05:00
Sabe Jones 7d0efdeeda chore(news): Android announcement
Also adds a higher-quality version of the Winter Town background.
2015-12-23 14:43:16 -05:00
Sabe Jones 468198b9e2 feat(mystery): subscriber items 2015-12
Also enables the Snowball in the Seasonal Shop.
2015-12-22 16:16:30 -05:00
Kristian Tashkov 1607b05a77 Add dependencies in vagrant dev environment for e2e tests 2015-12-22 21:53:36 +02:00
Keith Holliday 77414ca49a Added chat post route and initial tests 2015-12-22 08:48:47 -06:00
Blade Barringer 1aaebef114 tests(docs): Document how to run tests against a locally running server 2015-12-21 18:08:01 -06:00
Blade Barringer 6539399667 tests: Move api integration test readme to api directory 2015-12-21 18:03:13 -06:00
Sabe Jones a48ece7a34 fix(test): return functions 2015-12-21 18:45:24 -05:00
Sabe Jones 67da5a977a test(chat): user not member of group
Currently failing because group is not getting defined correctly?
2015-12-21 17:33:16 -05:00
Matteo Pagliazzi 99be74b6f7 misc fixes 2015-12-21 12:20:10 +01:00
Matteo Pagliazzi 83364c1d56 add leaveGroup, joinGroup and remove member from group methods 2015-12-21 11:53:47 +01:00
Matteo Pagliazzi 8b79f74e54 fix tests 2015-12-19 18:23:13 +01:00
Matteo Pagliazzi 3e87c8d3e9 fix some tests 2015-12-19 18:07:39 +01:00
Matteo Pagliazzi ba22575e1a Merge pull request #6380 from TheHollidayInn/thehollidayinn/api-v3-groups
Added initial group POST tests
2015-12-19 17:40:26 +01:00
Keith Holliday 33525b105f Added initial group POST tests 2015-12-18 23:43:57 -06:00
Sabe Jones afe3c87357 fix(credits): Lady Snuffles 2015-12-18 20:09:26 -05:00
Sabe Jones 1c833eadc1 Merge pull request #6381 from HabitRPG/sabrecat/winter-wonderland
Winter Wonderland 2015-16
2015-12-18 17:08:49 -06:00
Sabe Jones c259c5c819 fix(event): sprite and string tweaks 2015-12-18 17:58:46 -05:00
Sabe Jones 1e1f15b495 fix(content): linting errors 2015-12-18 17:27:27 -05:00
Sabe Jones 493ae6f26a feat(event): Winter Wonderland complete 2015-12-18 15:48:14 -05:00
Matteo Pagliazzi d8fae3a067 add sanitization to group creation 2015-12-18 17:45:56 +01:00
Matteo Pagliazzi c4ea3efb2e initial implementation for POST group 2015-12-18 17:37:26 +01:00
Matteo Pagliazzi 1132e3971d initial implementation for GET groups 2015-12-18 17:26:49 +01:00
Matteo Pagliazzi 6b430e6866 add getGroup static method and refactor controllers to use it 2015-12-18 16:38:10 +01:00
Matteo Pagliazzi 7adc060312 add GET group 2015-12-18 16:32:37 +01:00
Matteo Pagliazzi e53bd5079a adapt chat routes to groups saved on user model 2015-12-18 16:29:57 +01:00
Matteo Pagliazzi ddf77e0e35 add cliff for completed todos and PMs 2015-12-18 16:00:49 +01:00
Matteo Pagliazzi c1daada82c do not store members or invitations on group doc 2015-12-18 15:10:37 +01:00
Sabe Jones c7b3e3c3e1 fix(test): Remove only 2015-12-17 18:50:26 -05:00
Sabe Jones c3b981dc91 test(api): chat WIP 2015-12-17 18:48:10 -05:00
Sabe Jones 21f93c9399 WIP(chat): v3 controller 2015-12-17 14:49:14 -05:00
Matteo Pagliazzi 18c49493e0 fixes tests 2015-12-17 16:27:17 +01:00
Matteo Pagliazzi bbc47f5e00 finish porting group model 2015-12-17 16:11:45 +01:00
Sabe Jones 1bf0b6ca8d Merge pull request #6375 from mfdeveloper/phantomjs-dependency
Fix npm install error - Phantomjs dependency
2015-12-16 16:14:28 -06:00
Michel Felipe de Oliveira Ferreira 11bbf165b1 Added explicitly phantomjs dependency 2015-12-16 16:47:17 -03:00
Matteo Pagliazzi 455eaf0932 add skeleton for groups controller 2015-12-16 20:41:54 +01:00
Matteo Pagliazzi bf7fc985d0 begins porting group model to es6 2015-12-16 20:00:10 +01:00
Matteo Pagliazzi 2e5c7df94f Merge pull request #6343 from HabitRPG/api-v3-tasks2
[API v3] Tasks 2
2015-12-16 13:18:05 +01:00
Matteo Pagliazzi 35316ebeb6 move completed todos outside of tasksOrder (and back) with tests 2015-12-16 12:57:19 +01:00
Matteo Pagliazzi d9e786ebaa checklists tests 2015-12-16 12:29:03 +01:00
Matteo Pagliazzi cc7bd1b5ac disable server_side (api v2) tests for api v3 2015-12-16 11:17:56 +01:00
Matteo Pagliazzi a46fa873a9 disable common tests for api v3 2015-12-16 11:16:30 +01:00
Keith Holliday ad196ecafb Added Max Stat Points constant 2015-12-15 18:48:47 -06:00
Keith Holliday 5573689d4e Added tests for ensuring user gets 100 points 2015-12-15 18:38:33 -06:00
Keith Holliday ff1f63da9a Removed user.stats.lvl check before attribution 2015-12-15 18:38:33 -06:00
Keith Holliday 298df73619 Added check for total points before skipping attribution 2015-12-15 18:38:33 -06:00
Sabe Jones 6ed9133f70 WIP(event): Winter Wonderland 2015-16 partial 2015-12-15 17:15:02 -05:00
Sabe Jones 3cc2866c76 Merge pull request #6368 from HabitRPG/sabrecat/pets-201512
December Pet Quest
2015-12-15 11:55:08 -06:00
Nathan Maton 35a921bf43 feat(content): Make mystery set strings translatable
Squashed and cleaned up version of
https://github.com/HabitRPG/habitrpg/pull/6367
2015-12-15 08:47:13 -06:00
Matteo Pagliazzi 13cbf03759 use cron middleware 2015-12-15 12:11:32 +01:00
Matteo Pagliazzi e547eb2dde add tests for tags ops on tasks 2015-12-14 22:44:50 +01:00
Sabe Jones fe1de12494 feat(pets): December quest 2015-12-14 16:28:39 -05:00
Matteo Pagliazzi da154d3ea3 tests for tags (missed some files before) 2015-12-14 21:56:29 +01:00
Matteo Pagliazzi 9864b8a1cb tests for tags 2015-12-14 21:56:09 +01:00
Daniel Van Camp 338cfb3fc9 update logo and image links to be dynamicly added instead with a manual written link 2015-12-14 21:44:32 +01:00
Sabe Jones e638661c71 Merge pull request #6314 from TheHollidayInn/tasks-fix-delete-message
Changed language when deleteing tasks to indicate type and text of task
2015-12-14 14:30:06 -06:00
Daniel Van Camp 3c7ddf8df1 Merge branch 'develop' into static-page-merch 2015-12-14 21:27:50 +01:00
Matteo Pagliazzi 155719996d remove user.tasks getter on the server 2015-12-14 20:10:18 +01:00
Blade Barringer 6709c83804 tests(apiv3): Remove incorrect tests 2015-12-14 12:37:59 -06:00
Blade Barringer 3857316a1e fix(api): Correct sendTaskWebhook call 2015-12-14 12:23:13 -06:00
Blade Barringer 9205f01e01 tests(apiv3): Use lessThan and greaterThan expectation syntax 2015-12-14 12:13:02 -06:00
Blade Barringer ac61809fc0 tests(apiv3): Remove user dependency 2015-12-14 12:00:23 -06:00
Blade Barringer c20617e185 tests(apiv3): Remove unused dependency 2015-12-14 09:00:22 -06:00
Blade Barringer f4af7309cb tests(helpers): Fix local doc update 2015-12-14 08:59:41 -06:00
Nathan Maton 9ac1dd8f9e went with head on habitrpg-shared.css merge conflict 2015-12-13 15:30:17 -08:00
Matteo Pagliazzi 409102ae19 wip score tests 2015-12-13 23:51:06 +01:00
Blade Barringer 850aeb6565 Merge branch 'develop' into api-v3 2015-12-13 16:41:08 -06:00
Blade Barringer 883fd14775 tests(lint): remove unused variables 2015-12-13 16:40:44 -06:00
Blade Barringer 65bb655a10 Merge branch 'develop' into api-v3 2015-12-13 16:39:59 -06:00
Blade Barringer 9ec26a8ee9 tests(common): Use generateUser helper in dailies test 2015-12-13 16:29:29 -06:00
Blade Barringer b10c6f21a8 tests(common): Convert algos tests to use generateUser helper 2015-12-13 16:23:25 -06:00
Blade Barringer e82085ac1b tests(helpers): Add common helpers for generating tasks 2015-12-13 16:22:58 -06:00
Blade Barringer 0f789ba780 Merge branch 'TheHollidayInn-skills-burst-backstap-leveling-fix' into develop 2015-12-13 15:38:03 -06:00
Blade Barringer ce06d8a873 tests(common): Simplify spell tests 2015-12-13 15:37:18 -06:00
Alys 9edb0831c0 specify $ USD for subscription prices 2015-12-14 07:16:22 +10:00
Matteo Pagliazzi 9394fb0d94 use res.respond 2015-12-13 20:12:04 +01:00
Matteo Pagliazzi a34f41f0f7 misc fixes, GET user (with tests), more comments for preenHistory 2015-12-13 20:08:14 +01:00
Keith Holliday f152a352bb Merge pull request #4 from crookedneighbor/common_helper
Common helper
2015-12-13 12:06:22 -06:00
Blade Barringer 4ee21f2578 tests(common): Use helper to generate user 2015-12-13 10:40:50 -06:00
Blade Barringer 70751abe01 tests(helpers): Add helper to generate user for common and content tests 2015-12-13 10:40:00 -06:00
Blade Barringer dafe014ec8 Merge branch 'develop' into TheHollidayInn-skills-burst-backstap-leveling-fix 2015-12-13 10:06:27 -06:00
Keith Holliday beea6d920f Added tests for backstab and fireball 2015-12-13 09:19:20 -06:00
Nathan Maton 6203d94ec8 updated .gitignore 2015-12-12 20:03:17 -08:00
Blade Barringer 5fa91713f5 fix(favicon): Add 192x192 image 2015-12-12 20:11:25 -06:00
Blade Barringer 025b302ec6 Merge branch 'develop' into anilanar-favicon192 2015-12-12 20:08:34 -06:00
Blade Barringer 530babf516 chore(css): Add explanation for empty-task-notification rule 2015-12-12 17:27:43 -06:00
Blade Barringer 73c8db01ad chore(sprites): Update readme 2015-12-12 17:17:04 -06:00
Blade Barringer 81067efd19 Merge branch 'joyclark-new_mount_heads' into develop 2015-12-12 17:16:36 -06:00
Blade Barringer ee87d1b4b7 chore(sprites): Compile 2015-12-12 17:12:53 -06:00
Blade Barringer a7ffb41acd fix(sprites): Correct size of tiger mount icon 2015-12-12 16:04:03 -06:00
Blade Barringer 1f37338782 fix(sprites): Correct mount head icons for peppermint pets 2015-12-12 14:35:14 -06:00
Blade Barringer 6d6e1caf0f fix(sprites): Correct spooky pet mount icons 2015-12-12 14:20:38 -06:00
Blade Barringer 8ad2b07253 fix(sprites): Correct gryphon mount icon sizing 2015-12-12 11:09:27 -06:00
Blade Barringer 9aa73db281 fix(sprites): Correct size of tiger sprites 2015-12-12 11:02:54 -06:00
Blade Barringer 963995e42e refactor(css): Adjust mount heads pixel paw positioning 2015-12-12 10:50:05 -06:00
Alys 10a63a6cb7 make Android link in footer open in new tab 2015-12-12 18:59:44 +10:00
Alys 95dbcde4b6 change Android link in footer to point to Google Play 2015-12-12 18:33:36 +10:00
Blade Barringer c0e2520bb3 Merge pull request #6365 from VirenMohindra/updated-readme
removed gymnasium dependency status
2015-12-11 20:29:11 -06:00
Alys 5d6c4d4dcd add Android app with Google Play logo to static apps page; remove mailing list signup form 2015-12-12 11:32:17 +10:00
Viren Mohindra 3c08a26312 removed gymnasium dependency status
broken link- no point in keeping it in the readme
2015-12-11 20:24:49 -05:00
Matteo Pagliazzi e6d9c978f7 change score task route 2015-12-11 11:41:46 +01:00
Matteo Pagliazzi 501a808893 move cron logic back to common 2015-12-11 11:21:36 +01:00
Sabe Jones f6cdf5d257 chore(news): Android Bailey 2015-12-10 17:00:48 -05:00
Alys cf01376f7d adjust forgot password text to specify that you must use the website - fixes https://github.com/HabitRPG/habitrpg-android/issues/170 2015-12-11 06:39:03 +10:00
Matteo Pagliazzi 9ffa0d5893 port cron and preening 2015-12-10 19:07:09 +01:00
Sabe Jones 33f5dda99a Merge pull request #6351 from HabitRPG/sabrecat/docker
Overhauled Dockerfile
2015-12-09 15:56:01 -06:00
Sabe Jones 1bd9582b2c refactor(Dockerfile): more readable comments re IP 2015-12-09 16:32:39 -05:00
Sabe Jones 816ce5b782 feat(Docker): overhauled Dockerfile 2015-12-09 16:23:47 -05:00
Matteo Pagliazzi c5b7873406 add support for habitica-android in x-client header 2015-12-09 11:02:26 +01:00
Matteo Pagliazzi 6a0f9564e0 begins testing score task route 2015-12-09 10:40:40 +01:00
Matteo Pagliazzi 0f3b307f40 port tests for score and randomDrop 2015-12-09 10:21:15 +01:00
Keith Holliday 215cf840b1 Added tests for removing task 2015-12-08 12:40:43 -06:00
Joy Clark 8756aeebfa fixing wolf sprite 2015-12-08 18:05:18 +01:00
Matteo Pagliazzi 72b2791bc4 refactor scoreTask 2015-12-08 14:41:42 +01:00
joyclark 91fe5fed97 Merge remote-tracking branch 'origin/new_mount_heads' into new_mount_heads
Conflicts:
	common/dist/sprites/spritesmith-main-10.css
	common/dist/sprites/spritesmith-main-10.png
	common/dist/sprites/spritesmith-main-8.css
	common/dist/sprites/spritesmith-main-8.png
	common/dist/sprites/spritesmith-main-9.css
	common/dist/sprites/spritesmith-main-9.png
2015-12-08 13:43:49 +01:00
joyclark faf2611ca3 making change for peppermit heads. 2015-12-08 13:36:25 +01:00
Joy Clark 1769fc15f7 css files and sprite sheets 2015-12-08 13:22:13 +01:00
Joy Clark 7628882f24 use new css class 2015-12-08 13:22:13 +01:00
Joy Clark d8b0774618 Add Mount_Icon images 2015-12-08 13:22:12 +01:00
Sabe Jones 3385cb807e Merge pull request #6334 from bennyty/develop
Normalize theme audio volumes
2015-12-07 18:33:39 -06:00
Sabe Jones 7472d17c3a Merge pull request #6335 from HabitRPG/sabrecat/peppermint-pets
Peppermint Hatching Potions
2015-12-07 15:18:42 -06:00
Sabe Jones dd4ca5c476 refactor(modals): More readable invalid hatch check 2015-12-07 16:00:52 -05:00
Matteo Pagliazzi 237be08a61 GET-tasks_id tests 2015-12-07 21:15:02 +01:00
Matteo Pagliazzi 3c4491606b finish PUT-tasks_id tests and fix some edge bugs 2015-12-07 21:00:15 +01:00
Matteo Pagliazzi 0272a36bac finish implementing tests for POST-tasks.test.js 2015-12-07 14:22:54 +01:00
Matteo Pagliazzi af1946dd7c starts implementing scoreTask 2015-12-06 18:03:51 +01:00
Matteo Pagliazzi 66a675c5b0 simplify some tests, replace tags when updating tags (like for checklist) 2015-12-06 17:29:14 +01:00
Matteo Pagliazzi 582aeafb4b Merge branch 'develop' into api-v3 2015-12-06 17:17:20 +01:00
Matteo Pagliazzi dc5a1d1438 Merge pull request #6309 from HabitRPG/api-v3-tasks
[API v3] Port tasks and tags
2015-12-06 17:14:44 +01:00
Matteo Pagliazzi 955b0f042b fix tests 2015-12-06 17:07:29 +01:00
Matteo Pagliazzi cb08c383b9 misc fixes, add tests for some tasks routes 2015-12-06 16:51:18 +01:00
Joy Clark 7f2496b397 css files and sprite sheets 2015-12-06 00:16:36 +01:00
Joy Clark 1b50197610 use new css class 2015-12-05 23:26:50 +01:00
Joy Clark 545a802a03 Add Mount_Icon images 2015-12-05 23:17:44 +01:00
Joy Clark 144e3003bb Add Mount_Icon images 2015-12-05 23:17:39 +01:00
Sabe Jones 0f578b79ff feat(pets): Peppermint Hatching Potions
Also fixes an issue where the pet hatching modal would appear when the user attempted to hatch a premium version of a quest pet.
2015-12-04 17:20:33 -05:00
bennyty ed944f83bf Rebalance audio themes 2015-12-04 13:39:29 -05:00
Blade Barringer 8a872bd8c0 tests: Add pending tests for scoring tasks 2015-12-04 11:12:25 -06:00
Blade Barringer 834ae123e8 tests: Add pending test for GET /tasks 2015-12-04 10:56:54 -06:00
Blade Barringer 431fc571fa tests: Add pending tests for getting a specific task in v3 2015-12-04 10:55:15 -06:00
Blade Barringer 5aca166837 tests: Add delete task integration test for v3 2015-12-04 10:50:41 -06:00
Blade Barringer 1a2cda0835 tests: Add additional pending tests 2015-12-04 10:39:20 -06:00
Blade Barringer 49cc6db05b tests(tasks): Rename test to conform to route style 2015-12-04 10:25:27 -06:00
Blade Barringer b0bcfff12d tests(tasks): Add pending tests for create task test 2015-12-04 10:24:40 -06:00
Blade Barringer c2ba90afcc tests(fix): Add return to expect promise in create task test 2015-12-04 09:13:50 -06:00
Matteo Pagliazzi 1e9386f7b6 create model for tags, add routes 2015-12-04 14:47:02 +01:00
Blade Barringer a3665e7095 chore(image): Add vice2 quest image 2015-12-04 07:46:02 -06:00
Sabe Jones aa00eae0d5 Merge pull request #6324 from ojeytonwilliams/unequip-notification-fix
Unequip notification fix
2015-12-03 14:01:45 -06:00
Matteo Pagliazzi a6648fc638 add tags routes, misc fixes 2015-12-03 19:19:53 +01:00
Matteo Pagliazzi c0a99eec8b fix user model, sanitize some fields on task creation, add some tests and comments 2015-12-03 18:15:22 +01:00
Matteo Pagliazzi 506609cc29 starts writing tests for tasks, fix errors in auth middleware and tasks methods 2015-12-03 17:48:32 +01:00
Oliver Eyton-Williams 36df8138fc Fixed template syntax. 2015-12-03 13:33:52 +01:00
Alys d63cf64944 allow Fetch Recent Messages button to appear on newly-created groups 2015-12-03 10:03:59 +10:00
Alys e907e2e4ee adjust test for IAP GooglePlay to specify 21 gems 2015-12-03 07:23:31 +10:00
Alys 904dd595ed change Google iap-live for Android mobile app gem purchases, at negue's request 2015-12-03 06:22:59 +10:00
Negue b337efb01a raise android gem purchase: 21 instead 20 2015-12-02 20:13:33 +01:00
Oliver Eyton-Williams dcd7cae312 Reverted changes related to multiple messages and changed handleTwoHanded to send single, clearer, messages. 2015-12-02 16:51:01 +01:00
Blade Barringer 6aa164ab31 chore(i18n): update locales 2015-12-02 07:42:29 -06:00
Matteo Pagliazzi 62708d4365 cleanup 2015-12-02 11:30:58 +01:00
Matteo Pagliazzi 427c805ea5 fix user tests and misc changes 2015-12-02 11:22:53 +01:00
Sabe Jones 1add0084e8 chore(news): Update Bailey for GX3 2015-12-01 18:27:03 -05:00
Sabe Jones 5b943b4ab9 feat(event): Enable GaymerX armor 2015-12-01 18:11:04 -05:00
Sabe Jones 03222bf084 feat(content): Armoire and backgrounds 2015/12 2015-12-01 16:29:22 -05:00
Sabe Jones 483ff8cb67 Merge pull request #6275 from TheHollidayInn/tasks-add-push-to-bottom
Tasks add push to bottom
2015-12-01 14:20:02 -06:00
Sabe Jones 9366b22fef Merge pull request #6320 from HabitRPG/sabrecat/fix-rehatch-modal
Fix modal display when rehatching pets
2015-12-01 14:16:21 -06:00
Oliver Eyton-Williams da35eb6067 user.ops functions can now send multiple messages at once. Clearer messages are sent when equipping/unequipping two-handed weapons. 2015-12-01 18:24:23 +01:00
Oliver Eyton-Williams ee7bfece06 Added tests for equipping and unequipping. 2015-12-01 17:58:12 +01:00
Sabe Jones dd3218ebbd refactor(modal): Remove unnecessary ternary 2015-11-30 16:43:46 -05:00
Daniel Van Camp 3d9b2047d0 updated static.styl with less classes
added key attribute to merchant array
changed item to merchant for clearity
added fallback for when no logo is found (no image can be provided)
updated guidelines
updated json
2015-11-30 22:33:12 +01:00
Sabe Jones 1643e3dbc6 test(modals): Rehatch scenario 2015-11-30 16:19:12 -05:00
Sabe Jones 3a20455cda fix(modals): Rehatch pets
Corrects an issue with #6281 that would cause the pet hatching modal to fail to display if the pet had a value of -1 (i.e. raised to a mount and not yet re-hatched).
2015-11-30 16:11:13 -05:00
Alys c4f3c2b1f4 change website FAQ to link to Overview for New Users on website instead of wiki 2015-12-01 07:08:07 +10:00
Sabe Jones a42c671f1f fix(model): Remove common.inviteParty
Per @vIiRuS
2015-11-30 15:48:46 -05:00
Matteo Pagliazzi fde47bdc90 add ability to get completed todos (only 30 for now) 2015-11-30 21:00:09 +01:00
Matteo Pagliazzi 93fcc7957e fix trying to move completed todos 2015-11-30 20:22:22 +01:00
Sabe Jones 78890012c1 Merge pull request #6305 from markhowson/fix_narrow_guild_desc
Fixes #6252 - Guild description is too narrow on guild page
2015-11-30 13:16:59 -06:00
Matteo Pagliazzi 67bcfde6dc implement move task 2015-11-30 20:14:53 +01:00
Matteo Pagliazzi 1bd794b5e3 simplify tasks naming 2015-11-30 19:38:53 +01:00
Matteo Pagliazzi ebdfe4c49b add checklists routes 2015-11-30 17:25:40 +01:00
Keith Holliday 4663c7cf5e Added translation functions to task types 2015-11-30 09:26:07 -06:00
Keith Holliday ea87784575 tasks-fix-delete-message 2015-11-29 14:30:22 -06:00
Daniel Van Camp 6056a59cbe minor update in the comment section 2015-11-29 19:12:45 +01:00
Daniel Van Camp afecae9ef0 cleared merch.json of attributes that should not be translated 2015-11-29 19:05:32 +01:00
Matteo Pagliazzi 3002db3d75 add ability to update tasks, can pass additional fields to Model.sanitize at runtime 2015-11-29 19:05:24 +01:00
Matteo Pagliazzi 5291753841 prevent the deletion of challenge tasks 2015-11-29 18:29:35 +01:00
Keith Holliday 06ee603942 Initialized usr._temp when score function is skipped 2015-11-29 11:11:06 -06:00
Matteo Pagliazzi 6849fd49be add ability to remove a task 2015-11-29 17:47:10 +01:00
Alys 5e105a0e45 allow moderators to reset flags for a chat message when there's only one flag 2015-11-29 19:46:27 +10:00
Keith Holliday 0dcba276a6 Fixed task push text and move ctrlPressed logic to rootScope. 2015-11-28 12:06:34 -06:00
Matteo Pagliazzi 454aa3731c add tasks to user.tasksOrder or creation 2015-11-28 18:18:28 +01:00
Matteo Pagliazzi c2dac2c494 fix import paths 2015-11-28 18:05:07 +01:00
Matteo Pagliazzi 6c904330e7 misc fixes, add createTask route and ability to get tasks by type to getTasks route 2015-11-28 17:47:32 +01:00
Matteo Pagliazzi 786845effd fix tour/tutorial on signup 2015-11-28 14:07:33 +01:00
Matteo Pagliazzi 90d7f1f6a8 improve tasks models, fix a part of user pre save, rename auth controller 2015-11-28 13:46:53 +01:00
Alys 42d1fd93f3 Merge branch 'kylestratis-issue-6043' into develop 2015-11-28 19:41:00 +10:00
Alys 7bf5300369 Merge branch 'issue-6043' of https://github.com/kylestratis/habitrpg into kylestratis-issue-6043 and remove redundant $and specifier
Conflicts:
	migrations/mystery_items.js
2015-11-28 19:07:37 +10:00
Daniel Van Camp 6a535277a7 updated tab indent
added link in footer
renamed Merchandise to Merch (looks better in the footer)
moved css to static.styl
2015-11-27 23:25:56 +01:00
Matteo Pagliazzi 58d87887e6 fix linting 2015-11-27 21:28:49 +01:00
Matteo Pagliazzi cfa776fff3 starts fixing default tasks and use discriminator 2015-11-27 21:18:37 +01:00
Sabe Jones 046e7bcfdc chore(event): Revert NPCs 2015-11-27 13:10:54 -05:00
Matteo Pagliazzi 7d53a4fd54 port task model to es6 and implement discriminators 2015-11-27 19:06:26 +01:00
Matteo Pagliazzi 9adfd6311f fix merge conflict 2015-11-27 17:09:01 +01:00
Matteo Pagliazzi 5fa514b6fa Merge branch 'develop' into api-v3 2015-11-27 17:05:29 +01:00
Daniel Van Camp 37378e8497 once more i try to add it back 2015-11-27 10:28:45 +01:00
Daniel Van Camp a28a167437 merge 2015-11-27 10:25:08 +01:00
Daniel Van Camp ae8153c1f0 Merge branch 'static-page-merch' of https://github.com/danielvancamp/habitrpg into static-page-merch 2015-11-27 10:23:53 +01:00
Daniel Van Camp 45f43379b0 added original static.styl again, mistakenly removed it while editing 2015-11-27 10:23:10 +01:00
Daniel Van Camp 1f8ae40d9d updated counter to the real 2 sellers 2015-11-27 10:07:12 +01:00
Daniel Van Camp 3a47221d74 added better bootstrap for multiple merchandises 2015-11-27 10:07:12 +01:00
Daniel Van Camp f67bf77143 added guide how to add merchandise 2015-11-27 10:07:12 +01:00
Daniel Van Camp e881ba37e7 added static merch page
added lang en .json
modified pages.js with the extra merch page
2015-11-27 10:07:12 +01:00
Daniel Van Camp a7c05de8e7 added better bootstrap for multiple merchandises 2015-11-27 00:19:52 +01:00
Daniel Van Camp 610a555849 added guide how to add merchandise 2015-11-27 00:06:33 +01:00
Daniel Van Camp 169a8d9915 added static merch page
added lang en .json
modified pages.js with the extra merch page
2015-11-26 23:51:57 +01:00
Alys 9f53365648 add comment for refactoring to fix reset bug that doesn't unequip gear properly (e.g., https://github.com/HabitRPG/habitrpg/issues/6304) 2015-11-27 06:13:14 +10:00
Mark Howson f67bd384d4 Moved guild leader message down slightly 2015-11-26 18:47:54 +00:00
Sabe Jones ad347090c3 Merge remote-tracking branch 'origin/pr/5968' into develop
Conflicts:
	website/views/options/social/challenge-box.jade
2015-11-26 13:33:33 -05:00
Sabe Jones 3c672ea814 Merge pull request #6281 from TheHollidayInn/inventory-prevent-hatch-model-from-showing-on-hatched-pet
Prevented modal from showing when user tries to hatch a pet they own
2015-11-26 11:56:38 -06:00
Sabe Jones 846b6597ab Merge pull request #6280 from vIiRuS/patch-6
Store inviteParty coachmark for iOS app
2015-11-26 11:45:33 -06:00
Sabe Jones 0a90c7c66d Merge pull request #6270 from Arodang/challenge-tag-field-character-limit
Removed Challenge Tag Maxlength
2015-11-26 11:15:23 -06:00
Sabe Jones 5d02b70be1 Merge pull request #6264 from ojeytonwilliams/two-handed-weapon-fix
Two-handed weapons no longer automatically equip unless desired. fixes #6231
2015-11-26 10:53:50 -06:00
Sabe Jones 9cbe94c602 chore(gulp): compile sprites 2015-11-26 11:25:25 -05:00
Daniel Van Camp 98a62c5cc9 fix the phoenix base on the right place now
(cherry picked from commit a8a2e3b74a)
2015-11-26 11:22:57 -05:00
Matteo Pagliazzi 99f6ac8f1a Merge pull request #6290 from HabitRPG/api-v3-baseModel
[API v3] [WIP] Base model plugin
2015-11-26 16:19:08 +01:00
Mark Howson fa462a1829 Renamed to wide-popover as it's the only remaining use 2015-11-26 12:56:22 +00:00
Mark Howson 848a96a9fa Fix for #6252 2015-11-26 11:56:32 +00:00
Keith Holliday 274f4ab4d2 Removed css in favor of using inverted glyphicon 2015-11-25 23:44:13 -06:00
Alys 0c77737f36 Merge pull request #6299 from ojeytonwilliams/static-string-fix
Fixed broken string reference and centered the string.
2015-11-26 08:59:03 +10:00
Alys 5461345770 remove trailing whitespace 2015-11-26 08:49:40 +10:00
Keith Holliday 83934bf5c9 Added markdown directive to challenge titles 2015-11-26 08:49:40 +10:00
Sabe Jones e429be7046 Merge pull request #6293 from HabitRPG/sabrecat/fix-mount-modal
Show mount modal more often
2015-11-25 16:24:05 -06:00
Sabe Jones 863f416514 Merge pull request #6303 from HabitRPG/sabrecat/thanksgiving
Habitica Thanksgiving event
2015-11-25 16:23:09 -06:00
Sabe Jones 29a84e6666 feat(event): Habitica Thanksgiving 2015-11-25 17:06:52 -05:00
Sabe Jones 9671f4a09d feat(event): November sprites 2015-11-25 13:33:36 -06:00
Oliver Eyton-Williams d385b2e415 Fixed broken string reference and centered the string. 2015-11-25 15:46:59 +01:00
Matteo Pagliazzi d67836ee1f allow for additional transform functions for toJSON and sanitize 2015-11-25 15:42:29 +01:00
Matteo Pagliazzi 94fc1c9bef baseModel: delete properties instead of setting them to undefined, transform toJSON only not toObject 2015-11-25 15:19:21 +01:00
Matteo Pagliazzi 77d25ddc32 correctly add _id default 2015-11-25 13:43:34 +01:00
Oliver Eyton-Williams 9bda5657d2 Fixed syntax for linter. 2015-11-25 12:40:40 +01:00
Oliver Eyton-Williams 707cd08a8b Merged: updating two-handed tests to use arrow functions. 2015-11-25 12:12:22 +01:00
Sabe Jones 28205663e4 fix(modals): Show mount modal more often
Fixes #6288. Previously, we used a count of all properties within the user's items.pets.mounts to determine whether or not they'd gained a new mount. That would not work as expected if they had mounts with a null or false status, such as after using the Key to the Kennels. This commit also adds some tests to the inventory controller in Angular for pet raising.
2015-11-24 16:54:59 -05:00
Matteo Pagliazzi 3f1faf113e add baseModel plugin with some tests 2015-11-24 18:51:48 +01:00
Alys e04066e45f Merge pull request #6228 from AminArria/timezone-information
Timezone information
2015-11-24 21:21:10 +10:00
Alys 431eaec71a add a missing full stop to a message and to the associated test 2015-11-24 14:11:01 +10:00
Alys 69553260d3 revert refactor of preenHistory 2015-11-24 08:24:33 +10:00
Matteo Pagliazzi 1826cf2784 Merge pull request #6266 from HabitRPG/api-v3-user
[API v3] User controller
2015-11-23 21:52:32 +01:00
Matteo Pagliazzi 6a4ab17c56 fix linting and add comment 2015-11-23 21:43:39 +01:00
Matteo Pagliazzi 1bf91030c6 format express-validator errors 2015-11-23 21:34:21 +01:00
Matteo Pagliazzi 4a941deece remove success field from json responses 2015-11-23 21:04:21 +01:00
Keith Holliday b6e79f3ba8 Prevented modal from showing when user tries to hatch a pet they own 2015-11-23 10:20:39 -06:00
Amin Arria 671d4aaecc Change timezone text 2015-11-23 11:38:26 -04:30
Phillip Thelen 743e7cbebd store inviteParty coachmark for iOS app 2015-11-23 16:24:46 +01:00
Blade Barringer 093970b48a Merge branch 'api-v3' into api-v3-user 2015-11-23 08:51:30 -06:00
Blade Barringer 8196c65627 fix(api tests): Let api test script pass the correct api version for helper.
(cherry picked from commit 2fa2e0f483)
2015-11-23 08:48:24 -06:00
Blade Barringer 7d49a8cbf8 Merge branch 'develop' into HabitRPG-sabrecat/modularize-statHelpers 2015-11-23 08:07:58 -06:00
Blade Barringer b88a1c98db Merge branch 'Alys-refactor-cron-time-day-2015-11-21' into develop 2015-11-23 08:04:17 -06:00
Matteo Pagliazzi 645095e58f fix errorHandler tests, add tests for res.respond 2015-11-23 13:28:25 +01:00
Matteo Pagliazzi 7086fbfbd6 add res.respond middleware... and use it in user controller 2015-11-23 13:07:21 +01:00
Matteo Pagliazzi 349122c9a1 add res.respond, fix linting 2015-11-23 13:01:47 +01:00
Matteo Pagliazzi a26f713e18 misc fixes, add ability to attach local auth to social user 2015-11-23 12:47:15 +01:00
Matteo Pagliazzi 3459b51cef use throw instead of returning next inside of promises 2015-11-23 10:20:07 +01:00
Matteo Pagliazzi 6d238a0770 fix .eslintrc 2015-11-23 10:09:17 +01:00
Keith Holliday 9a8f9c6938 Fixed wording to be parallel with logic 2015-11-22 15:59:18 -06:00
Keith Holliday b668829d85 Added ability to invert pushToBottom when holding down ctrl or cmd button 2015-11-22 15:57:14 -06:00
Alys 65c276c477 fix formatting in preenHistory 2015-11-22 21:08:51 +10:00
Matteo Pagliazzi dcfd7eb6d0 Merge pull request #6274 from crookedneighbor/api-v3-user-local-spike
Api v3 user local spike
2015-11-22 11:59:28 +01:00
Alys 1082bb1f81 refactor preenHistory from index.js to cron.js 2015-11-22 15:52:30 +10:00
Alys 83ea085c21 refactor api.shouldDo and associated code; fix new bug in sanitizeOptions() 2015-11-22 11:28:51 +10:00
Alys 728a94d199 improve coding style 2015-11-22 11:05:03 +10:00
Alys a380c1aa30 refactor api.daysSince to a cron.js function not exposed on api 2015-11-22 10:48:15 +10:00
Blade Barringer 867efd7078 fix(controller): Adjust next calls to throw errors instead inside promise 2015-11-21 17:01:56 -06:00
Blade Barringer d1839b816e chore(lint): Clean up user model and controller 2015-11-21 16:17:42 -06:00
Alys 2f8b6d68e8 refactor api.startOfDay to a cron.js function not exposed on api 2015-11-22 07:13:44 +10:00
Blade Barringer 074b3f5079 fix(controller): Validate params for register route in user controller 2015-11-21 14:57:59 -06:00
Blade Barringer 75cea0c810 refactor(model): Remove password and passwordConfirmation from user model 2015-11-21 14:56:44 -06:00
Blade Barringer 43ef4e51b5 fix(model): Remove pre validation from user model 2015-11-21 14:56:20 -06:00
Blade Barringer 7ce554c578 fix(controller): Correct path to EmailUnsubscription model 2015-11-21 14:41:07 -06:00
Blade Barringer 78cdc1753f tests(api): Add test for registering with an invalid email 2015-11-21 13:52:09 -06:00
Blade Barringer 49e7799baa tests(api): clean up code style of test file 2015-11-21 13:51:31 -06:00
Blade Barringer ade764acbd tests(helper): Allow route to register user to be variable based on api version. 2015-11-21 13:45:46 -06:00
Blade Barringer 4f6b765923 Merge branch 'api-v3' into api-v3-user 2015-11-21 09:43:58 -06:00
Blade Barringer 4dee29a20b tests(fix): Correct path to i18n.js module 2015-11-21 09:42:40 -06:00
Blade Barringer 1166601510 Merge branch 'develop' into api-v3 2015-11-21 09:37:34 -06:00
Blade Barringer 9a76e7a62c chore(gulp): Add convience task for starting up a test server. 2015-11-21 09:33:29 -06:00
Blade Barringer a54db44406 Merge branch 'api-v3' into api-v3-user 2015-11-21 09:20:44 -06:00
Blade Barringer b3e9872f59 tests: Adjust integration helper to display server errors for each API. 2015-11-21 09:20:08 -06:00
Blade Barringer 85a08f881b chore(lint): Correct linting errors in test files. 2015-11-21 09:19:48 -06:00
Matteo Pagliazzi 5c33a404fb handle mongoose validation errors, fix bug in import and add more tests for errors 2015-11-21 15:00:31 +01:00
Matteo Pagliazzi afbfbdd01c fix mongoose promise, some user validation, tests urls 2015-11-21 14:27:24 +01:00
Alys 6183fd9e71 refactor api.startOfWeek to a cron.js function not exposed on api 2015-11-21 22:26:05 +10:00
Alys e0784a9791 refactor sanitizeOptions from index.js to cron.js 2015-11-21 22:06:02 +10:00
Matteo Pagliazzi 3608742e20 fix bugs on user controller 2015-11-21 12:26:48 +01:00
Matteo Pagliazzi 22464f53e9 put back linting on emailUnsubscription model 2015-11-21 12:12:48 +01:00
Matteo Pagliazzi 2e02e1bd5a Merge branch 'api-v3' into api-v3-user 2015-11-21 12:12:15 +01:00
Matteo Pagliazzi f87d6d250a remove unlinted file 2015-11-21 12:11:53 +01:00
Matteo Pagliazzi 444aff7d33 Merge branch 'api-v3' into api-v3-user 2015-11-21 12:11:25 +01:00
Matteo Pagliazzi 4862cebdb7 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2015-11-21 12:10:11 +01:00
Matteo Pagliazzi 041224b5ac fix merge conflicts 2015-11-21 12:09:40 +01:00
Matteo Pagliazzi 2f4e6e015a Merge branch 'api-v3-user' of github.com:HabitRPG/habitrpg into api-v3-user 2015-11-21 12:03:26 +01:00
Matteo Pagliazzi 7866f7393b clean up code, add deleteSocial method 2015-11-21 12:03:08 +01:00
Alys a73662bab6 refactor api.dayMapping to DAY_MAPPING const, not exposed on api 2015-11-21 20:48:18 +10:00
Blade Barringer 07247033b2 test: Add integration test for POST user/register/local 2015-11-20 19:14:07 -06:00
Blade Barringer e4827f1b78 fix(user ctrl): Correct path to use model import 2015-11-20 19:08:25 -06:00
Blade Barringer 2fa2e0f483 fix(api tests): Let api test script pass the correct api version for helper. 2015-11-20 19:02:08 -06:00
Arodang 0b1758f5c6 Removed col-lg-6 class from tags and prize 2015-11-20 18:17:51 -05:00
Sabe Jones 66725a561c fix(test): Remove only 2015-11-20 13:39:54 -05:00
Sabe Jones e5d3e7bc83 fix(test): Linting and coverage 2015-11-20 13:36:41 -05:00
Sabe Jones fb17c3ae80 Merge branch 'develop' into sabrecat/modularize-statHelpers 2015-11-20 13:27:25 -05:00
Blade Barringer a6fb5790e5 refactor(gulp): Dry out linting task 2015-11-20 07:56:59 -06:00
arodang b286a93006 removed challenge tag maxlength, reduced tag and prize field size 2015-11-19 23:21:15 -05:00
Blade Barringer 776faddb34 (chore): lint test/common files 2015-11-19 20:27:39 -06:00
Sabe Jones bdf1c82b39 chore(news): Misc Bailey 2015-11-19 21:22:38 -05:00
Matteo Pagliazzi c87200f582 comment out incomplete code 2015-11-19 22:04:18 +01:00
Matteo Pagliazzi e028af9f3f add social login / signup and misc fixes 2015-11-19 21:50:23 +01:00
Matteo Pagliazzi 972cbbdaa6 try moving all the logic to the model 2015-11-19 21:09:39 +01:00
Matteo Pagliazzi 55d743ebe5 remove q import 2015-11-19 16:29:22 +01:00
Matteo Pagliazzi 5874e89e2a simplify code 2015-11-19 16:22:16 +01:00
Matteo Pagliazzi dd8c22584d req.t --> res.t 2015-11-19 12:17:44 +01:00
Matteo Pagliazzi 6451264572 start porting register local user handler, several bug fixes 2015-11-19 12:13:54 +01:00
Blade Barringer 5947dcf68b (chore): Add lint:watch task 2015-11-18 17:23:33 -06:00
Alys cb1f745d39 Merge pull request #6247 from ojeytonwilliams/subcriber-benefits-comparisons
Potential fix for #6085 - fix subscriber benefits comparisons; round down 3 month blocks for perks - fixes #6085
2015-11-19 07:09:14 +10:00
Matteo Pagliazzi 5c859ca52e add req.t in place of i18n.t passing req.language, begins implementing user signup 2015-11-18 22:04:36 +01:00
Sabe Jones 72ea9426dd fix(lint): Space infix operator (?) 2015-11-18 15:18:44 -05:00
Sabe Jones ed443b490a refactor(constant): Screaming camel MAX_LEVEL 2015-11-18 15:14:47 -05:00
Sabe Jones 31b68219d1 refactor(stats): Address PR comments 2015-11-18 15:06:55 -05:00
Matteo Pagliazzi 662c9ecc29 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3-user 2015-11-18 20:50:15 +01:00
Blade Barringer 6991d5ab67 Correct reject block to include details about error 2015-11-18 13:01:56 -06:00
Blade Barringer f95c6ef927 Move notFound api v3 test to integration folder. 2015-11-18 13:01:35 -06:00
Blade Barringer a64085828b Correct path to api-v3 integration files in gulp test task. 2015-11-18 13:01:06 -06:00
Matteo Pagliazzi bd980e166b fix action method 2015-11-18 18:16:14 +01:00
Matteo Pagliazzi de75849c7a fix apidoc comment 2015-11-18 18:06:37 +01:00
Matteo Pagliazzi d5d13477d7 wip user controllers: local login method 2015-11-18 18:02:35 +01:00
Matteo Pagliazzi 2dfca76a5e Merge pull request #6256 from HabitRPG/api-v3-apidoc
API v3 - apidoc wip
2015-11-18 17:12:14 +01:00
Oliver Eyton-Williams 570d7c3c76 Added tests for buying two-handed weapons 2015-11-18 16:41:06 +01:00
Blade Barringer 627da76b49 Merge branch 'develop' into api-v3 2015-11-18 09:09:49 -06:00
Blade Barringer eded44fea5 Adjust helper files for linting preferences. 2015-11-18 08:54:34 -06:00
Blade Barringer 22c8a24d15 Move test specific eslint rules to eslint task 2015-11-18 08:50:03 -06:00
Blade Barringer f94394127a Remove unused var 2015-11-18 08:00:14 -06:00
Blade Barringer 9e557c43d3 Fix bug where seasonal items could not be purchased. 2015-11-18 07:58:01 -06:00
Blade Barringer 26b82dff4b Fix bug where armoire items could not be repurchased. 2015-11-18 07:57:45 -06:00
Matteo Pagliazzi 3b633a87b9 try fixing the notFound test 2015-11-18 12:44:52 +01:00
Matteo Pagliazzi 65a8d2e255 misc fixes and improvements, starts adding route tests 2015-11-18 12:36:13 +01:00
Oliver Eyton-Williams cae267c0fa Two-handed weapons no longer automatically equip unless desired. 2015-11-18 11:59:31 +01:00
Matteo Pagliazzi b5adf9f19b add apidoc to production build step 2015-11-18 11:52:13 +01:00
Matteo Pagliazzi 6fb4fdfd8a create apidoc task in grunt, update package.json version 2015-11-18 11:50:55 +01:00
Blade Barringer 08c4ec5557 Merge branch 'develop' into api-v3 2015-11-17 23:15:15 -06:00
Blade Barringer 553548046f Add linting for tests 2015-11-17 23:14:49 -06:00
Blade Barringer 94bf181301 Add noscript locales 2015-11-17 22:02:57 -06:00
Blade Barringer 0a7d7fc42d Merge pull request #6251 from crookedneighbor/modularize-content-gear
Pull out gear into separate modules
2015-11-17 21:57:13 -06:00
Blade Barringer 4d415ee9c1 chore(i18n): update locales 2015-11-17 21:54:30 -06:00
Blade Barringer fba35ea491 chore(i18n): update locales 2015-11-17 21:48:55 -06:00
Blade Barringer 6bd0ed76cc Fixes #6524. Correct spelling of community 2015-11-17 21:41:06 -06:00
Blade Barringer 71473a93ad chore(i18n): update locales 2015-11-17 21:38:32 -06:00
Blade Barringer c452cf9f99 Adjust styling of noscript block 2015-11-17 21:35:07 -06:00
Blade Barringer 1299afcb01 Merge branch 'develop' into gauthamchandra-feature/warning-for-disabled-js 2015-11-17 21:28:22 -06:00
Blade Barringer 5b7c02334a Adjust sm modal to not attach objects on rootScope 2015-11-17 21:23:20 -06:00
Gautham Chandra 37e08e8d5d Converted noscript text into translatable strings 2015-11-17 22:22:55 -05:00
Blade Barringer b280267cde Expand object to make it more readable. 2015-11-17 21:10:29 -06:00
Blade Barringer 05eb0ec782 Add missing comma. 2015-11-17 17:26:18 -06:00
Blade Barringer a11048b604 Split out wondercon gear into separate module 2015-11-17 17:16:38 -06:00
Blade Barringer f58b3eee64 Move special gear into own subdirectory 2015-11-17 17:06:00 -06:00
Sabe Jones f5f33bd1b9 fix(modals): SM modal fixes
Fixes #6253, allows quest pets to appear in hatching and raising modals, and makes code for deciding whether or not to show a generic levelup modal a bit more readable per comments on #6042.
2015-11-17 16:56:11 -05:00
Sabe Jones 7d2643063f fix(math-helpers): diminishingReturns parameter logic 2015-11-17 16:00:18 -05:00
Sabe Jones 4bf20959dd refactor(stats): Math helpers ES2015 module 2015-11-17 15:41:26 -05:00
Matteo Pagliazzi 18503e31c3 fix linting 2015-11-17 19:31:51 +01:00
Matteo Pagliazzi 2a51117d21 comment errors according to apidoc, add new tests and fix existing ones 2015-11-17 19:22:47 +01:00
Matteo Pagliazzi 846800ccc9 fix linting 2015-11-17 17:49:59 +01:00
Matteo Pagliazzi 9905deec06 move static handler to separate middleware 2015-11-17 17:02:53 +01:00
Matteo Pagliazzi aa1b046cf2 add example apidoc comments, add notFound middleware 2015-11-17 16:48:50 +01:00
Blade Barringer 195b39561b Move contributor gear to own module 2015-11-17 09:01:38 -06:00
Blade Barringer 2bac9c3c17 Separate out backer gear into own module 2015-11-17 08:17:40 -06:00
Blade Barringer 03c1a957f6 Correct ownsItem function to allow owning item if user has ever previously owned the item. 2015-11-17 08:13:20 -06:00
Oliver Eyton-Williams 53417adda1 Replaced magic numbers with variables 2015-11-17 14:07:35 +01:00
Blade Barringer 8b7f50bfcf Adjust memory leak message to be meaningful.
Got this message in the heroku logs:
2015-11-17T04:28:18.549451+00:00 app[web.1]:  '[Memory Leak] Memory=' + parseFloat(memory).toFixed(3) + ' Time=' + moment()

Converted the line into a variable and threw that instead.
2015-11-16 22:34:06 -06:00
Blade Barringer 3000517b06 Fix bug where any backer or contributor item could be purchased. 2015-11-16 21:47:46 -06:00
Blade Barringer e6a5d08150 Merge branch 'develop' into api-v3 2015-11-16 17:34:30 -06:00
Blade Barringer 639dfb31d7 Pull out gear into separate modules 2015-11-16 17:29:13 -06:00
Sabe Jones 29c4e21b67 Merge pull request #6250 from HabitRPG/sabrecat/costume-awards
Costume Contest awards 2015
2015-11-16 17:08:26 -06:00
Sabe Jones c352a30d4e chore(news): Bailey 2015-11-16
Also sprite recompile to incorporate sticker promo image.
2015-11-16 17:26:44 -05:00
Sabe Jones 2d1ad12cbd fix(strings): Make plural more greppable 2015-11-16 17:08:38 -05:00
Sabe Jones 16878af76f fix(string): Contest to Contestant 2015-11-16 16:17:48 -05:00
Sabe Jones e73c7be47a fix(achievement): Make Costume Contest repeatable 2015-11-16 16:07:16 -05:00
Sabe Jones bf0f3634d1 chore(contest): Award Costume achievements 2015-11-16 15:24:08 -05:00
Blade Barringer 2b8cf178b0 Merge pull request #6244 from crookedneighbor/modularize-content
Modularize content
2015-11-16 12:40:46 -06:00
Blade Barringer 8f9224c2ae Adjust error handling for test task. 2015-11-16 12:23:09 -06:00
Blade Barringer 61948e1ca5 Add filter to lodash import. 2015-11-16 12:22:00 -06:00
Blade Barringer c3f8bb0726 Correct count module to use correct lodash 3 syntax 2015-11-16 12:10:58 -06:00
Blade Barringer 086e1da0e1 Merge branch 'develop' into api-v3 2015-11-16 12:04:42 -06:00
Blade Barringer 7a865b5c2a Correct test output agregator 2015-11-16 12:04:09 -06:00
Matteo Pagliazzi 30eed12903 Merge pull request #6245 from HabitRPG/api-v3-routes
Api v3 Routes
2015-11-16 17:07:46 +01:00
Blade Barringer 9bf1ebdb0f Remove last of coffee files 2015-11-16 08:14:42 -06:00
Blade Barringer dcca17fa4e Set up i18n in unit test helper. 2015-11-16 08:12:45 -06:00
Oliver Eyton-Williams e811693752 Subscriber benefits changed to be dynamic. Fixed arithmetic of gemGoldCap. 2015-11-16 15:11:11 +01:00
Blade Barringer 9ec39a597e Set up i18n in test helpers 2015-11-16 08:07:28 -06:00
Blade Barringer f20336861a Correct lodash syntax 2015-11-16 08:07:20 -06:00
Amin Arria b87592c8a7 Changed p blocks to single line 2015-11-15 23:00:44 -04:30
Amin Arria 21dcafd964 Fixed missing 0 when minutes where less than 10 2015-11-15 22:59:58 -04:30
Gautham Chandra 41e6abfc83 Fixed capitalization 2015-11-15 16:58:19 -05:00
Blade Barringer 4ab2fafc5e Remove coffee files 2015-11-15 15:45:56 -06:00
Blade Barringer cc0eefd97d Remove coffeescript dependency 2015-11-15 15:45:30 -06:00
Matteo Pagliazzi 3fe6f87a96 fix linting 2015-11-15 22:44:17 +01:00
Gautham Chandra 8df005d29e Added noscript content for the landing page 2015-11-15 16:42:48 -05:00
Matteo Pagliazzi 448ed70ab9 add example controller and lib to setup routes 2015-11-15 22:40:00 +01:00
Blade Barringer 6ba9027252 Switch out babel for babel-core 2015-11-15 15:15:52 -06:00
Blade Barringer 24cd36e716 Remove second babel require 2015-11-15 15:08:31 -06:00
Blade Barringer 49fd6b9f5c Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2015-11-15 14:59:57 -06:00
Blade Barringer 00055ad055 Merge branch 'develop' into api-v3 2015-11-15 14:57:41 -06:00
Gautham Chandra b5e10bf1e9 Added a helpful message for when JS is disabled 2015-11-15 14:12:12 -05:00
Matteo Pagliazzi 83eb2308fb Merge pull request #6232 from HabitRPG/api-v3-utils
[API v3] Port Utils
2015-11-15 20:01:48 +01:00
Blade Barringer d1c1940bde Merge pull request #6243 from crookedneighbor/lint
Lint  Common Files
2015-11-15 12:36:36 -06:00
Blade Barringer ea87910c2f Correct test path 2015-11-15 12:34:40 -06:00
Blade Barringer 2a7dfe09a0 Move user can own quest categories constant to constants module. 2015-11-15 12:27:16 -06:00
Matteo Pagliazzi 1ccb9a5aaa move ported middlewares to /api-v2 2015-11-15 18:15:06 +01:00
Matteo Pagliazzi 5dc2fb0b6f port domainMiddleware 2015-11-15 18:12:55 +01:00
Blade Barringer 40cee42e03 Remove unneeded return statement 2015-11-15 11:04:17 -06:00
Blade Barringer 6ec864ea4e Remove unused src files in content directory 2015-11-15 11:03:30 -06:00
Blade Barringer 1a31c26330 Add item list to common constants module 2015-11-15 11:03:17 -06:00
Blade Barringer f7c88478bc Explicitly bump ampitude version 2015-11-15 10:48:46 -06:00
Matteo Pagliazzi 1cd7189119 Merge pull request #6240 from HabitRPG/api-v3-buildManifest
[API v3] Build manifest lib
2015-11-15 17:40:03 +01:00
Matteo Pagliazzi 78e5d913f5 update test to match possible html string 2015-11-15 17:27:22 +01:00
Blade Barringer ea14326025 Adjust faq test 2015-11-15 10:18:10 -06:00
Blade Barringer 411946e487 Modularize mystery sets 2015-11-15 10:08:40 -06:00
Blade Barringer 600f3e4554 Extract classes, events and gearTypes into constants file. 2015-11-15 09:47:06 -06:00
Blade Barringer b13b2d0f62 Remove coffee content index file 2015-11-15 09:28:26 -06:00
Blade Barringer a127bb8711 Switch to babel-core form babel.
Babel includes the CLI, which we don't need.
2015-11-15 08:59:57 -06:00
Blade Barringer 9ee56a5622 Remove rule 2015-11-15 08:52:29 -06:00
Blade Barringer 01946b64e6 Remove coffeescript from dependencies. 2015-11-15 08:29:54 -06:00
Blade Barringer 2e16bade2b Add lint task to test command. 2015-11-15 08:28:16 -06:00
Blade Barringer 037337d54f Remove extraneous anonymous function. 2015-11-15 08:24:42 -06:00
Blade Barringer 5be9b88cc6 Add babel compiler to mocha.opts 2015-11-15 08:24:19 -06:00
Blade Barringer da881153b9 Convert coffee tests to js 2015-11-15 08:19:41 -06:00
Blade Barringer e5d99ce271 Convert common files to es2015. 2015-11-15 08:16:55 -06:00
Blade Barringer ddeb0e7b23 Add babel register in the server file 2015-11-15 08:16:11 -06:00
Blade Barringer 6f11054994 Add trailing comma 2015-11-15 08:10:54 -06:00
Blade Barringer 6c5afb9369 Downgrade to babelify v6. (v7 uses babel v6) 2015-11-15 08:10:07 -06:00
Blade Barringer 351172d178 Correct common test command to compile with babel. 2015-11-14 21:52:59 -06:00
Blade Barringer 4a38c36cce Register babel in gruntfile 2015-11-14 21:51:02 -06:00
Blade Barringer c829eb21ed Removed unused mocha.opts 2015-11-14 21:50:47 -06:00
Blade Barringer bc90893284 Correct test to declare variable 2015-11-14 21:45:20 -06:00
Blade Barringer ff929b669d Convert common tests to js 2015-11-14 21:44:10 -06:00
Matteo Pagliazzi a80be380f9 add txt emails tests 2015-11-14 18:58:33 +01:00
Matteo Pagliazzi a8b3780cc0 add send email tests 2015-11-14 18:13:17 +01:00
Matteo Pagliazzi 3b75fe6ade add tests for emails (wip) and encryption, misc fixes 2015-11-14 17:43:56 +01:00
Matteo Pagliazzi 19ce7c9b53 add tests for emails (wip) and encryption, misc fixes 2015-11-14 17:43:56 +01:00
Matteo Pagliazzi 170a25c712 remove v2 utils where possible 2015-11-14 17:43:56 +01:00
Matteo Pagliazzi b315d10c79 migrate utils to v3, uprade nodemailer 2015-11-14 17:43:56 +01:00
Matteo Pagliazzi 466797cc6c add some basic tests 2015-11-14 15:50:57 +01:00
Matteo Pagliazzi 6343bc9f59 port buildManifest lib 2015-11-14 15:50:57 +01:00
Matteo Pagliazzi 9c8d4c383f fix eslint, remove unused constant 2015-11-14 15:37:02 +01:00
Matteo Pagliazzi 38416811c3 Merge branch 'develop' into api-v3 2015-11-14 14:52:20 +01:00
Matteo Pagliazzi ae656b044c firebase can be enabled when not in production 2015-11-14 14:52:10 +01:00
Blade Barringer c3b4f03c35 Add linting for common files 2015-11-14 07:49:48 -06:00
Blade Barringer 7ec9687774 Add linting from api-v3 2015-11-14 07:40:05 -06:00
Matteo Pagliazzi cf4eb7c89b Merge pull request #6237 from HabitRPG/api-v3-firebase
port firebase lib to api v3
2015-11-14 13:14:50 +01:00
Matteo Pagliazzi d89b1cb60d port firebase lib to api v3 2015-11-14 02:50:58 +01:00
Blade Barringer 1e814058e1 Merge pull request #6224 from HabitRPG/api-v3-i18n
API v3 - i18n lib and getUserLanguage middleware
2015-11-13 19:37:28 -06:00
Blade Barringer 2e21d227e0 Simplify get language from user function. 2015-11-13 19:36:49 -06:00
Blade Barringer 4a52f22774 Correct path to old i18n file 2015-11-13 19:30:36 -06:00
Blade Barringer 1ae9b7aff0 Correct path to i18n 2015-11-13 18:40:46 -06:00
Blade Barringer 805d4bba24 Adjust for linter. 2015-11-13 18:29:19 -06:00
Blade Barringer 4cd4c588a8 Add tests for browser selection of language and refactor 2015-11-13 18:22:20 -06:00
Blade Barringer f672ac8c59 Port over change to v2 lib 2015-11-13 18:22:20 -06:00
Blade Barringer dc8d52e00a Correct paths in v2 lib 2015-11-13 18:22:20 -06:00
Blade Barringer 06dd343d47 Adjust i18n script to actually display zh_TW language. 2015-11-13 18:22:19 -06:00
Blade Barringer 8372a56d88 Adjust style of User.findOne call. 2015-11-13 18:22:17 -06:00
Blade Barringer 43058f1642 Add queries for which req pieces take precedence. 2015-11-13 18:22:17 -06:00
Blade Barringer 500c520c59 Move sandbox stub to test that uses it 2015-11-13 18:22:16 -06:00
Blade Barringer d365868fdc Merge pull request #6235 from crookedneighbor/fix_ch_tw
Adjust i18n script to actually display zh_TW language.
2015-11-13 16:17:58 -06:00
Blade Barringer 0a99361953 Adjust i18n script to actually display zh_TW language. 2015-11-13 15:52:52 -06:00
Matteo Pagliazzi 0daa63c2ca Merge branch 'api-v3' into api-v3-i18n 2015-11-13 19:38:31 +01:00
Matteo Pagliazzi e84e3e1352 fix another require path 2015-11-13 18:06:50 +01:00
Matteo Pagliazzi 8fd82c6808 fix some requires 2015-11-13 17:50:34 +01:00
Blade Barringer 49a6a7167b Merge branch 'api-v3' into api-v3-i18n 2015-11-13 10:49:21 -06:00
Matteo Pagliazzi eede74758d Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2015-11-13 17:41:41 +01:00
Matteo Pagliazzi 879ec97408 fix some requires 2015-11-13 17:41:18 +01:00
Blade Barringer c6f059c1df Move delete cacth to afterEach 2015-11-13 10:40:31 -06:00
Blade Barringer 6bb107f9e0 Set up analytics middleware to test prod and non prod behavior. 2015-11-13 10:35:58 -06:00
Matteo Pagliazzi 38749eae1b fix i18n.js so that it supports lodash 3 2015-11-13 17:30:12 +01:00
Blade Barringer 810a818334 Add headers to req generator and unpend failing test. 2015-11-13 09:36:18 -06:00
Blade Barringer a6a9c3c74f Use context blocks instead of describe blocks. 2015-11-13 09:27:17 -06:00
Blade Barringer db67451a38 Add done callback to test. 2015-11-13 09:24:03 -06:00
Blade Barringer 939bc893c6 Correct test to check req status after function is finished. 2015-11-13 09:21:22 -06:00
Blade Barringer eab9d7b3ba Reorganize i18n tests. 2015-11-13 09:15:11 -06:00
Amin Arria 256bce1172 Revert "Ignorado sublime"
This reverts commit 0947a5be73.
2015-11-13 10:36:27 -04:30
Matteo Pagliazzi 79c20105a1 use new logger where possible 2015-11-13 15:16:00 +01:00
Blade Barringer be672e570c Merge branch 'api-v3' into api-v3-i18n 2015-11-13 07:44:48 -06:00
Blade Barringer 6e8e1648d9 Merge branch 'develop' into api-v3 2015-11-13 07:38:24 -06:00
Blade Barringer ada97c1f91 Add invite party to ios tutorial 2015-11-13 07:19:51 -06:00
Blade Barringer 27d3d9d296 Merge pull request #6229 from HabitRPG/emails
Adjust the way email invitations resolve.
2015-11-13 07:18:41 -06:00
Blade Barringer 565aaff976 Merge pull request #6219 from HabitRPG/js_ify_common
Js ify common
2015-11-13 06:49:54 -06:00
Blade Barringer e4679d6a63 Adjust the way email invitations resolve. 2015-11-12 18:58:01 -06:00
Blade Barringer 8e147d7b12 Allow users who register via facebook to see site tutorial. 2015-11-12 18:26:42 -06:00
Amin Arria 807726305f Added timezone form 2015-11-12 19:27:25 -04:30
Amin Arria 3f37da6f04 Created filter to convert timezone offset to UTC 2015-11-12 19:24:28 -04:30
Blade Barringer 71567be4a6 Merge pull request #6227 from crookedneighbor/fix_tutorial_flag
Fixes #6225
2015-11-12 13:05:18 -06:00
Blade Barringer abe778836d Fixes #6225 2015-11-12 12:52:35 -06:00
Blade Barringer 5fb585b896 Merge pull request #6226 from HabitRPG/fix_tutorial_flag
Move header assignment to app level
2015-11-12 12:37:31 -06:00
Blade Barringer 431bbd762f Move header assignment to app level 2015-11-12 12:23:42 -06:00
Matteo Pagliazzi de21b72027 move old i18n version to api-v2 folder and use new i18n where possible 2015-11-12 16:43:02 +01:00
Matteo Pagliazzi 60b51b8862 Merge branch 'api-v3' into api-v3-i18n 2015-11-12 16:36:19 +01:00
Matteo Pagliazzi 9516133bd8 Merge pull request #6223 from crookedneighbor/v3-port-webhooks
V3 port webhooks
2015-11-12 16:32:19 +01:00
Matteo Pagliazzi 4af8a8f7aa add tests for i18n and getUserLanguage 2015-11-12 16:24:08 +01:00
Blade Barringer 1e106b3c53 Move old webhooks to v2 lib 2015-11-12 09:08:36 -06:00
Blade Barringer a18c2f7444 Port v2 webhook lib to v3 2015-11-12 09:03:28 -06:00
Matteo Pagliazzi a07d4dad12 port i18n lib to es6 and extract middleware 2015-11-12 15:28:43 +01:00
Blade Barringer c77df40614 Merge pull request #6222 from crookedneighbor/move_logging_to_v2_directory
Move old logging lib v2 directory
2015-11-12 08:26:55 -06:00
Blade Barringer 858bf99930 Move old logging lib v2 directory 2015-11-12 08:18:23 -06:00
Blade Barringer 3a1075a0e6 Merge pull request #6221 from crookedneighbor/move_analytics_to_v2_directory
Move old analytics lib to v2 directory
2015-11-12 08:02:25 -06:00
Blade Barringer 9a3e4c8f8b Move old analytics lib to v2 directory. 2015-11-12 07:51:51 -06:00
Blade Barringer 5ebead68ab Remove coffee version of i18n 2015-11-11 21:24:21 -06:00
Blade Barringer efd0e2333e Merge pull request #6200 from gauthamchandra/feature/quick-checkout-from-dailies
User can now check out of inn from tasks page
2015-11-11 20:49:35 -06:00
Blade Barringer 7559f14f4d Remove coffee from files 2015-11-11 20:40:26 -06:00
Blade Barringer 3a13a5ee2c Remove unneeded coffeescript requires in tests. 2015-11-11 20:32:17 -06:00
Blade Barringer 25ae2e4252 Move browserify task to gulp 2015-11-11 20:32:17 -06:00
Blade Barringer 9408effb4e Remove coffeescript dependency from website 2015-11-11 20:32:16 -06:00
Blade Barringer 774a42d67e Convert coffee files to JS 2015-11-11 20:32:00 -06:00
kylestratis b5efa4ae4c Additional formatting 2015-11-11 21:25:22 -05:00
Blade Barringer 92a8c3d958 chore(i18n): update locales 2015-11-11 20:24:12 -06:00
Sabe Jones f0a484bbe1 fix(strings): Variable population count 2015-11-11 21:10:24 -05:00
kylestratis 77ded02fa0 Formatting changes for readability 2015-11-11 21:05:08 -05:00
Blade Barringer 40fab075e2 Clean up linting for user model. 2015-11-11 19:53:22 -06:00
Blade Barringer 533440ce55 Merge pull request #6214 from HabitRPG/api-v3-add-password-tests
Add tests for password utilities
2015-11-11 19:43:50 -06:00
Blade Barringer c5445dc426 Merge branch 'develop' into api-v3 2015-11-11 19:42:39 -06:00
Sabe Jones 52f9f03afb fix(news): Link to Teespring storefront 2015-11-11 20:19:48 -05:00
Blade Barringer 6acd6460ea Merge pull request #6218 from crookedneighbor/increase_code_coverage_for_clearflags_route
Increase code coverage for clearflags route
2015-11-11 18:49:37 -06:00
Blade Barringer 43064dcf9a Wrap flag purcging code in check for flags object 2015-11-11 18:00:15 -06:00
Blade Barringer 13da95b552 Add tests for clearflags route 2015-11-11 17:58:41 -06:00
Sabe Jones bbff19920f Merge pull request #6217 from HabitRPG/sabrecat/pet-201511
November pet quest: Snakes
2015-11-11 17:51:41 -06:00
Sabe Jones 83b61f9aa3 Merge branch 'develop' into sabrecat/pet-201511
Conflicts:
	common/dist/sprites/spritesmith-main-5.css
	common/dist/sprites/spritesmith-main-5.png
	common/dist/sprites/spritesmith-main-6.css
	common/dist/sprites/spritesmith-main-6.png
	common/dist/sprites/spritesmith-main-7.css
	common/dist/sprites/spritesmith-main-7.png
	common/dist/sprites/spritesmith-main-8.css
	common/dist/sprites/spritesmith-main-8.png
	common/dist/sprites/spritesmith-main-9.css
	common/dist/sprites/spritesmith-main-9.png
2015-11-11 18:36:25 -05:00
Sabe Jones 06a5a1cb95 Merge pull request #6042 from HabitRPG/sabrecat/more-modals
More and better modals; Social Media sharing
2015-11-11 17:32:43 -06:00
Sabe Jones b32ab5a587 chore(news): Pet quest Bailey
Also adds one missing sprite asset for the quest.
2015-11-11 18:31:22 -05:00
Blade Barringer cdb05e1b42 Add analytics service to v3 2015-11-11 17:30:36 -06:00
Amin Arria edb0b5e0af Merge branch 'develop' of github.com:HabitRPG/habitrpg into develop 2015-11-11 18:28:12 -04:30
Sabe Jones eba2ac386e feat(pets): November quest
Fully functional commit. Missing only Bailey and the quest scroll sprite.
2015-11-11 17:23:16 -05:00
Sabe Jones 3672601999 fix(chat): Handle nonexistent message.flags 2015-11-11 16:25:36 -05:00
Sabe Jones 586edc03c6 WIP(pets): Incomplete cobra sprites 2015-11-11 16:23:38 -05:00
Sabe Jones cc92b985a2 fix(sharing): Translatable share strings 2015-11-11 13:35:14 -05:00
Sabe Jones cc2a6d4db1 fix(sharing): Push ng-binding into Jade 2015-11-11 13:09:00 -05:00
Matteo Pagliazzi ac4f26a94f add tests for password utilities 2015-11-11 16:05:35 +01:00
Blade Barringer 117a254cc8 Patch exploit that would allow users to auto-delete messages 2015-11-11 06:46:11 -06:00
Blade Barringer c91c3f78ed Remove lodash.defaultsDeep dependency 2015-11-11 06:44:45 -06:00
Matteo Pagliazzi 367223e15c port password utilities to api v3 2015-11-11 13:05:46 +01:00
Matteo Pagliazzi 249037b80f upgrade some deps, and remove unused qs module 2015-11-11 12:12:44 +01:00
Matteo Pagliazzi 8864508482 rewrite server.js in es6 2015-11-11 11:58:15 +01:00
Matteo Pagliazzi 4f21ee290b finish upgrading to lodash 3 2015-11-11 11:08:16 +01:00
Matteo Pagliazzi 3795b1d151 wip: starts upgrading lodash to v3 2015-11-11 10:32:49 +01:00
Matteo Pagliazzi 8f9d2a5f9a change to erro handler middleware to log full error object and support express-validator 2015-11-11 10:12:13 +01:00
kylestratis be3fe8f1f4 Added check for existence of dateTerminated field 2015-11-10 22:39:53 -05:00
Sabe Jones 63f00d3643 fix(sharing): Better Tweet syntax
Angular bindings would fail to parse in Tweets if the expression evaluated to something with a space in it. Adding quotes stretches the Tweet by two characters, but addresses the issue. Commit also takes out a spurious console message from the Notifications service.
2015-11-10 17:07:34 -05:00
Sabe Jones a393cdc94b fix(sharing): Correct Jade interpolation 2015-11-10 16:33:33 -05:00
Sabe Jones ada7ca71ad fix(sharing): Use env BASE_URL 2015-11-10 16:27:40 -05:00
Sabe Jones 23df5b608d feat(sharing): Remaining cheevo modals 2015-11-10 13:43:37 -05:00
Blade Barringer 1fc21167dc Send back flag data if user had flagged the message. 2015-11-10 08:15:54 -06:00
Sabe Jones 875f2ac552 feat(sharing): More achievements 2015-11-10 00:08:17 -05:00
Blade Barringer e518e2795f Correct setupConfig to use proper linting. 2015-11-09 19:11:25 -06:00
Blade Barringer c8ee1eaaec Add support for passing in custom env file to nconf. 2015-11-09 18:41:04 -06:00
Sabe Jones eed4207c6d Merge branch 'develop' into sabrecat/more-modals
Conflicts:
	common/dist/sprites/spritesmith-largeSprites-0.png
	common/locales/en/front.json
2015-11-09 16:24:17 -05:00
Amin Arria e3f3be828e Merge branch 'develop' of github.com:HabitRPG/habitrpg into develop 2015-11-09 14:58:38 -04:30
Blade Barringer d6764d4f37 Merge branch 'develop' into api-v3 2015-11-09 12:52:25 -06:00
Blade Barringer 6b7a757459 Run tests in sequence 2015-11-09 12:47:56 -06:00
Blade Barringer 851631e465 Fix build errors 2015-11-09 08:19:24 -06:00
Blade Barringer bab41be646 Correct gruntfile to use babel require hook 2015-11-09 08:05:51 -06:00
Blade Barringer 84158c92f5 Remove extra space 2015-11-09 07:58:36 -06:00
Blade Barringer 68eb94a759 Merge pull request #6203 from crookedneighbor/v3_make_linter_happy
V3 - make linter happy
2015-11-09 07:47:02 -06:00
Blade Barringer 88a80162ee Merge branch 'api-v3' into v3_make_linter_happy 2015-11-09 07:46:39 -06:00
Blade Barringer 78bdbfc96f Add todo to use catch syntax 2015-11-09 07:43:48 -06:00
Matteo Pagliazzi 1489b41fcc fix typo 2015-11-09 10:53:49 +01:00
Matteo Pagliazzi 7dd6eb76c9 add express-validator, add body parser middleware, support some more errors in error handler middleware 2015-11-08 22:48:31 +01:00
Matteo Pagliazzi 87f50ff2b9 use callback in place of catch 2015-11-08 19:01:48 +01:00
Blade Barringer 6aaef14300 Convert catch to second callback 2015-11-08 10:06:40 -06:00
Blade Barringer a0094f4f48 Add exception for camelcase rule 2015-11-08 09:49:54 -06:00
Blade Barringer 7251a3a104 Extract profile name logic to private function 2015-11-08 09:36:10 -06:00
Blade Barringer 366cbd9bff Remove unneeded variable 2015-11-08 09:30:31 -06:00
Blade Barringer 3d86cefe78 Convert switch statement to if-else 2015-11-08 09:28:40 -06:00
Blade Barringer 7b58873866 Add names to functions 2015-11-08 09:25:45 -06:00
Matteo Pagliazzi 46505c8a0b Merge pull request #6202 from crookedneighbor/nconf_setup
Nconf setup
2015-11-08 16:14:45 +01:00
Matteo Pagliazzi 5b3c460344 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2015-11-08 16:14:10 +01:00
Matteo Pagliazzi 4b60698527 migrate user model to new code style and es6 2015-11-08 16:11:55 +01:00
Blade Barringer 832e837f6a Simplify nconf test 2015-11-08 09:07:43 -06:00
Blade Barringer 9451e7239b Add nconf setup to unit test helper 2015-11-08 09:01:25 -06:00
Blade Barringer 447d4c332d Remove extraneous nconf setup. 2015-11-08 08:56:27 -06:00
Blade Barringer 1ef6839eea Add IS_PROD to logger utility 2015-11-08 08:49:16 -06:00
Blade Barringer 0d7f984fce Add setupNconf function 2015-11-08 08:47:46 -06:00
Blade Barringer 22f76e9479 Use npm 3 for travis 2015-11-07 21:06:59 -06:00
Blade Barringer 58cf34af9d Merge branch 'develop' into api-v3 2015-11-07 21:06:37 -06:00
Blade Barringer 598d25dc48 Update browserify package 2015-11-07 20:56:56 -06:00
Blade Barringer a6c7e3b885 Update protractor dependency 2015-11-07 20:31:28 -06:00
Blade Barringer f137e0d41d Add gulp to travis 2015-11-07 20:16:32 -06:00
Blade Barringer b6a1414e1c Update npm to v2 2015-11-07 20:09:36 -06:00
Blade Barringer 05ae419d7e Update karma dependencies and remove unused packages. 2015-11-07 19:56:09 -06:00
Blade Barringer 88f8a2a375 Swap out gulp-clean for rimraf 2015-11-07 19:09:51 -06:00
Gautham Chandra b9b2536478 User can now check out of inn from tasks page
Fixes #5651
2015-11-07 18:32:19 -05:00
Blade Barringer 320b7e4a93 Merge pull request #6196 from crookedneighbor/add_unit_test_helpers
Add unit test helpers
2015-11-07 09:50:15 -06:00
Blade Barringer 3559be0f83 Use toObject instead of _doc 2015-11-07 09:42:57 -06:00
Matteo Pagliazzi f26737ab79 use q for mongoose promises and switch to promises from callbacks in queries 2015-11-07 16:28:52 +01:00
Blade Barringer b323c3b5e9 Use res and req generators in error handler test 2015-11-07 09:26:13 -06:00
Blade Barringer 1eadceea3d Add status to default res 2015-11-07 09:25:43 -06:00
Matteo Pagliazzi 0834f8eeea disable api v2 and related tests to enable changes to models 2015-11-07 15:51:26 +01:00
Matteo Pagliazzi b7fb9ec805 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2015-11-07 15:41:05 +01:00
Matteo Pagliazzi 3a12490ad7 simplify code 2015-11-07 15:40:57 +01:00
Matteo Pagliazzi ac7d3e642f port middlewares to authenticate users with headers and sessions 2015-11-07 15:37:38 +01:00
Blade Barringer e657a30320 Add next generator for easier controller testing. 2015-11-07 08:32:02 -06:00
Blade Barringer 94dbb25fa6 Add unit helper 2015-11-06 21:28:47 -06:00
Blade Barringer 6e344ce04b Add sandbox as a global 2015-11-06 21:28:31 -06:00
Blade Barringer 303b88b6fa Adjust api tests 2015-11-06 21:28:19 -06:00
Blade Barringer 18328c0c42 Add lodash.deepDefaults as a dependency 2015-11-06 21:27:38 -06:00
Blade Barringer 30ba9582b5 Merge branch 'develop' into api-v3 2015-11-06 19:07:28 -06:00
Sabe Jones 164309e050 feat(sharing): Streak Achievement 2015-11-06 16:54:23 -05:00
Sabe Jones b6702c293e Merge pull request #6172 from AminArria/Move-Overview-To-Website
Move overview to website
2015-11-06 11:04:44 -06:00
Amin Arria 4aba7afdce Merge pull request #1 from HabitRPG/sabrecat/Move-Overview-To-Website
fix(overview): Wording and layout tweaks
2015-11-05 17:44:15 -04:30
Sabe Jones 56fbc33d1c Merge branch 'develop' into Move-Overview-To-Website
Conflicts:
	website/src/routes/pages.js
2015-11-05 14:31:00 -05:00
Matteo Pagliazzi 9cf3c72002 Merge pull request #6188 from crookedneighbor/fix_user
Correct code to not iterate over mongoose object
2015-11-05 20:20:25 +01:00
Sabe Jones 18c2279be4 fix(overview): Wording and layout tweaks 2015-11-05 14:18:51 -05:00
Blade Barringer 4cbda6818c Correct code to not iterate over mongoose object 2015-11-05 13:08:37 -06:00
Sabe Jones bb55a74f48 chore(news): iOS update Bailey
Also fixes the color of the iOS app icon and codes it more intelligently.
2015-11-05 11:48:51 -05:00
Blade Barringer 0cf964728e Merge pull request #6176 from crookedneighbor/api-v3_add-babel
Api v3 add babel
2015-11-05 08:47:44 -06:00
Blade Barringer 8967e6ee90 Give function more meaningful name. 2015-11-05 08:46:20 -06:00
Blade Barringer 1e4570ff88 Move all delete user tests to new structure 2015-11-05 08:17:06 -06:00
Alys a49fecb063 minor fix to migration script 2015-11-05 18:15:25 +10:00
Alys 67a291f03d migration script for setting flags.tutorial.ios 2015-11-05 18:13:55 +10:00
Blade Barringer 78cfbd2c6a Revert btn-buy style change 2015-11-04 22:02:50 -06:00
Blade Barringer 3726f48ff2 chore(i18n): update locales 2015-11-04 21:57:16 -06:00
Sabe Jones 3a1862ecef fix(static): Non-widgety App Store links 2015-11-04 22:42:10 -05:00
Blade Barringer 07df642f15 Add gulp tasks for v3 testing 2015-11-04 21:27:19 -06:00
Blade Barringer 5cd3f0dd6e Fix eslint styling errors. 2015-11-04 21:19:58 -06:00
Blade Barringer 292177e51f Update eslintrc 2015-11-04 21:19:29 -06:00
Blade Barringer 77d60cd616 Add tests for error handling 2015-11-04 20:49:08 -06:00
Blade Barringer 87eb63ba9b Add case where errorhandlerr does not receive an error 2015-11-04 20:48:39 -06:00
Blade Barringer d5736e1178 Convert classes to use Babel syntax 2015-11-04 20:47:32 -06:00
Blade Barringer 2f6f0eb933 Add Babel require hook 2015-11-04 20:46:37 -06:00
Blade Barringer a4f12f06f4 Remove extraneous white space 2015-11-04 20:46:23 -06:00
Blade Barringer aaa4a7da12 Add sinon to helpers 2015-11-04 20:45:51 -06:00
Blade Barringer 0e8ad62607 Update nvmrc 2015-11-04 20:44:21 -06:00
Blade Barringer eae9adfaec Merge branch 'develop' into api-v3 2015-11-04 20:25:05 -06:00
Blade Barringer cde66d6167 Merge pull request #6183 from crookedneighbor/clientIdentifier
Client identifier
2015-11-04 20:03:31 -06:00
Blade Barringer 5a36d8e3f5 Switch to single quotes to conform to code style. 2015-11-04 18:03:50 -06:00
Blade Barringer 905e7b17ea Refactor user model 2015-11-04 18:00:40 -06:00
Blade Barringer 797287a75c Add and adjust tests for new register behavior. 2015-11-04 17:40:49 -06:00
Blade Barringer 8618716ca4 Update requester to take in additional set parameters. 2015-11-04 17:40:10 -06:00
Sabe Jones de5d2df94c fix(i18n): Add missing string 2015-11-04 16:04:51 -05:00
Sabe Jones c61e49f5a7 Merge pull request #6182 from HabitRPG/sabrecat/apps-page
Apps page
2015-11-04 14:46:49 -06:00
Sabe Jones df7e0236c2 fix(static): Improved /apps layout 2015-11-04 15:30:42 -05:00
Sabe Jones 8c4ecb8f6c feat(static): Apps page 2015-11-04 13:35:31 -05:00
Matteo Pagliazzi bea5fd6e59 add eslint task to tests 2015-11-04 18:58:50 +01:00
Matteo Pagliazzi 3135613be3 tweaks eslint rules, fixes gulp-eslint, adds some comments 2015-11-04 18:50:08 +01:00
Matteo Pagliazzi 235f1977ba finish .eslintrc file and update gulp task 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi f02ef9b6be add some eslint rules 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 54d89a59e3 add some eslint rules 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi cbca250b99 remove winston-mail and winston-newrelic from deps as they may not be compatible with v2 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 182e4bff6f wip api-v3: adds some comments and more eslint rules 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 5e73bc9f1c adds logger and starts logging errors 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 5f3e798016 add basic .eslintrc and correct some style issues 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 7b4d082ab8 use node v4 in travis 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi 4322b8c3dc wip api-v3: add error handler middleware and custom error classes 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi b21df9edb3 use node 4, npm 3, mongoose 4 and express 4 2015-11-04 18:26:38 +01:00
Matteo Pagliazzi f1dbe1b51d deprecate api v1 2015-11-04 18:26:38 +01:00
Phillip Thelen 7f189bebba disable tutorial/tour depending on client 2015-11-04 16:54:47 +01:00
Phillip Thelen 921ee881a5 Only create sample habits+dailies when registered through website 2015-11-04 16:41:13 +01:00
Phillip Thelen e13c008076 send "habitica-web" as x-client header 2015-11-04 16:26:50 +01:00
Blade Barringer a7f0a2a8ca Merge pull request #6171 from crookedneighbor/flag_messages_in_api
Flag messages in api
2015-11-04 08:58:34 -06:00
Blade Barringer 269fd2a94f Add test for admin flagging a message 2015-11-04 08:00:35 -06:00
Blade Barringer 799190a898 Merge branch 'develop' into flag_messages_in_api 2015-11-04 07:56:34 -06:00
Amin Arria 6d93356967 Changed overview link 2015-11-03 22:56:47 -04:30
Blade Barringer 6ed3ba36ae Refactor task helper for unit and integration tests. 2015-11-03 21:21:16 -06:00
Amin Arria 8611c00201 Added links 2015-11-03 22:38:55 -04:30
Amin Arria 5278a08c93 Added horizontal line 2015-11-03 22:32:23 -04:30
Amin Arria 7342735b1b Fix error missing web in webStep 2015-11-03 22:18:41 -04:30
Amin Arria f79110d6d2 Changed to be more like the FAQ 2015-11-03 22:03:24 -04:30
Sabe Jones caa4170f12 fix(sharing): Wording tweaks 2015-11-03 17:19:57 -05:00
Sabe Jones 02abee9f4e fix(sharing): Landing page tweaks 2015-11-03 16:16:17 -05:00
Sabe Jones 0260ea3fcd WIP(sharing): Draft functional landing page 2015-11-03 15:04:31 -05:00
Sabe Jones 502e7f0af2 Merge branch 'develop' into sabrecat/more-modals 2015-11-03 14:29:23 -05:00
Sabe Jones 3691a59ddb fix(front-page): Update registered user count 2015-11-03 12:30:54 -06:00
Amin Arria 0947a5be73 Ignorado sublime 2015-11-03 13:36:24 -04:30
Amin Arria 167af1afd4 New static page: overview 2015-11-03 13:35:14 -04:30
Sabe Jones 1fa15ba24a Merge pull request #6167 from HabitRPG/sabrecat/content-201511
November backgrounds and Armoire
2015-11-03 11:58:51 -06:00
Amin Arria fa9b331f03 Created route for overview 2015-11-03 13:15:55 -04:30
Blade Barringer 0923077f2f Correct task. 2015-11-03 08:49:10 -06:00
Blade Barringer b71f1f7862 Extract mocha function into taskHelper 2015-11-03 08:41:16 -06:00
Blade Barringer 8c95de0835 Move api tests to v2 namespace 2015-11-03 08:31:20 -06:00
Blade Barringer 1a68b5e9ee Refactor and add tests to flagged messages. 2015-11-03 08:00:14 -06:00
Blade Barringer 24480e5f04 Merge branch 'develop' into srrvnn-develop 2015-11-03 07:31:48 -06:00
Blade Barringer 2713b0f26f chore(i18n): update locales 2015-11-02 22:08:28 -06:00
Sabe Jones 6b3fcd3d11 fix(content): Correct stats for Royal Robes
...in newtype content file
2015-11-02 17:34:59 -05:00
Sabe Jones 510080325d fix(content): Correct missing Armoire items
...in newstyle content files
2015-11-02 17:33:03 -05:00
Sabe Jones e74c83be2e feat(content): November backgrounds and Armoire 2015-11-02 17:28:20 -05:00
Sabe Jones 2cb4e80019 chore(event): End Fall Festival 2015-11-02 12:55:48 -05:00
Matteo Pagliazzi ed0e4c6d20 Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other \
for the upcoming api v3

Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other for the upcoming api v3

move api v2 routes in a separate folder, rename apiv1 file for better readability, remove auth routes for api v1

move api-v2 controllers in subdirectory

move unorganized files to /libs

fix gulp requires and separate server in old (api v1 and v2) and new (api v3) app

fix require paths

fix require paths

fix require paths

put api v1 back

Reorganize files under /src and separate express app in one for api v1 and v2 and the other for v3
2015-11-02 17:43:32 +01:00
Blade Barringer 6f3be77961 Add tests for flagged messages in get group object test 2015-11-02 07:46:21 -06:00
Blade Barringer 0894a3ea2d Merge branch 'develop' into srrvnn-develop 2015-11-02 06:45:45 -06:00
Sabe Jones 9227dd89be fix(event): Extend festival one day 2015-11-01 13:27:36 -06:00
Blade Barringer da06e0736a Adjust style of tests. 2015-10-31 21:37:44 -05:00
Blade Barringer f84a10ee4e Simplify delete user test 2015-10-31 21:37:17 -05:00
Blade Barringer d5c346bf3f Merge branch 'develop' into jeremyabbott-deleteusertestupdates 2015-10-31 21:27:16 -05:00
Jeremy Abbott 19128cf8f2 Fnished user in solo group tests
Also minor code cleanup in random files.
2015-10-31 16:19:50 -05:00
Sabe Jones 2e7006a0f7 chore(news): Burnout win Bailey 2015-10-31 16:03:34 -04:00
Blade Barringer 421b402948 Add helper to check the existence of a document 2015-10-31 10:55:28 -05:00
Blade Barringer 6a65711c2f Close db connections in helpers 2015-10-31 10:55:17 -05:00
Alys fa060bf6cd revert a commit that went live prematurely when I was distracted - sorry for commit spam 2015-10-31 19:26:05 +09:00
Alys 559a2cea50 revert my stupid tavern quest hack because a server restart was all that was needed 2015-10-31 19:11:07 +09:00
Alys fbb1f9aec5 create a nasty hack to get rid of the persistent Tavern quest exhaust sprites 2015-10-31 19:01:21 +09:00
Alys 8f21fb2419 set lastCron to current moment if the user's timezone has changed when they authenticate 2015-10-31 18:34:35 +09:00
Blade Barringer eaad27dfee Merge pull request #6147 from crookedneighbor/modals_adjustments
Create a social layout
2015-10-30 23:23:00 -05:00
Blade Barringer c419ca8839 Merge pull request #6068 from AminArria/Wrong-max-level-messages
Wrong max level messages
2015-10-30 23:21:29 -05:00
Blade Barringer 2eb6cab2be Merge pull request #6014 from ahstro/toggle-chevrons
Toggle chevron direction
2015-10-30 23:13:51 -05:00
Blade Barringer add761e58e Remove extraneous div 2015-10-30 23:05:19 -05:00
Blade Barringer 4a9b0f1d12 Merge branch 'Thrashmandicoot-merchant-button-fix' into develop 2015-10-30 22:50:26 -05:00
Blade Barringer 898850fd6e Adjust wording of market message. 2015-10-30 22:50:04 -05:00
Blade Barringer 92271c2049 Clean up view for market. 2015-10-30 22:49:13 -05:00
Blade Barringer 391e09dd33 Fix auto-redirect 2015-10-30 22:28:11 -05:00
Thrashmandicoot 76de8af848 Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into merchant-button-fix 2015-10-30 20:02:16 -07:00
Thrashmandicoot 1051ff0006 Fix inline-styling to be class styling 2015-10-30 20:01:22 -07:00
Thrashmandicoot c2222a42c7 Add 70% width styling for item sales 2015-10-30 20:01:06 -07:00
Alys 154fcb4f8c make daysMissed have a negative value for a lastCron in the future so that setting your PC time backwards doesn't trigger cron 2015-10-31 13:00:42 +10:00
Alys 34c51fc710 revert recent cron change (better code incoming; what WAS I thinking) 2015-10-31 10:59:41 +10:00
Blade Barringer d37450622c Create a social layout 2015-10-30 18:41:46 -05:00
Sabe Jones 0c5e520e6f WIP(sharing): Incomplete landing page
First stab at creating landing pages for inbound social traffic. May need a different solution.
2015-10-30 17:35:30 -04:00
Sabe Jones 5d3f41637f Merge branch 'develop' into sabrecat/more-modals 2015-10-30 16:33:17 -04:00
Blade Barringer ad6fbef85c Move chat tests to new infrastructure 2015-10-30 14:47:14 -05:00
Sabe Jones 68660b3043 Merge pull request #6140 from HabitRPG/sabrecat/habitoween
WIP: Habitoween
2015-10-30 14:46:44 -05:00
Sabe Jones dca0d7c3f3 fix(event): Keep NPCs burnt out 2015-10-30 15:36:17 -04:00
Alys 161069cfec prevent cron running if the lastCron date is in the future 2015-10-31 04:12:43 +10:00
Blade Barringer 003524a19b Update npm 2015-10-30 10:28:10 -05:00
Blade Barringer 724bc6e861 Compiled css for sprites 2015-10-30 10:10:12 -05:00
Matteo Pagliazzi e82d4e59d8 put.nvmrc back 2015-10-30 15:29:56 +01:00
Matteo Pagliazzi e145439b0b starts cleaning up the repo 2015-10-30 15:27:33 +01:00
Blade Barringer e8fa22bf93 chore(i18n): update locales 2015-10-30 09:25:43 -05:00
Blade Barringer 47168cfdc1 Merge pull request #6145 from crookedneighbor/test_updates
Update Tests to test server error messages against translation strings
2015-10-30 09:21:49 -05:00
Blade Barringer 6f18470b65 Update readme 2015-10-30 09:04:19 -05:00
Blade Barringer aa111b3c1a Update tests to assert against translation strings 2015-10-30 09:01:57 -05:00
Matteo Pagliazzi 75e85c085d fix typo in package.json 2015-10-30 14:18:14 +01:00
Matteo Pagliazzi 0131ba3e45 reert all the deps upgrades 2015-10-30 14:16:35 +01:00
Matteo Pagliazzi 413a06c8d3 disable newrelic 2015-10-30 13:34:18 +01:00
Thrashmandicoot f979dd9c0f Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into merchant-button-fix 2015-10-30 03:55:23 -07:00
Matteo Pagliazzi 715dd28e24 chore(newrelic): upgrade to ~1.23.0 2015-10-30 11:51:18 +01:00
Thrashmandicoot 64ea4e42e7 Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into merchant-button-fix 2015-10-30 03:43:35 -07:00
Thrashmandicoot 0e52a62ad2 dynamic images for merchant, finishes refactor 2015-10-30 03:43:13 -07:00
Matteo Pagliazzi 2097004676 chore(node): upgrade to ^4.2.1 2015-10-30 10:44:13 +01:00
Thrashmandicoot e1b26a884c Add display for selling items, needs right img 2015-10-30 02:27:36 -07:00
Thrashmandicoot ebbc72e9c2 Refactor sellForGold, add displayPotion/item 2015-10-30 02:26:41 -07:00
Sabe Jones d3a6ff5b2d fix(front-page): Remove extra script tag
Why did I even do that?
2015-10-29 17:07:41 -04:00
Alys 1923a3a467 change on-hover text for Mystery Item gift box to just mention wiki page 2015-10-30 06:59:54 +10:00
Sabe Jones c28afc9abc feat(sharing): Buttons for more modals 2015-10-29 16:33:27 -04:00
Alys 11ae4a9b87 change on-hover text for Mystery Item gift box to link to wiki page and remove statement about finding exact date on wiki 2015-10-30 06:30:11 +10:00
Matteo Pagliazzi 4051cdf06d add requirejs to devDeps as it is a required peerDependency 2015-10-29 19:56:50 +01:00
Matteo Pagliazzi 332df1d646 Merge pull request #6136 from HabitRPG/upgrade-stack
Upgrade stack
2015-10-29 19:28:51 +01:00
Sabe Jones 27d1e9c788 feat(event): Habitoween
Swaps out basic fall costume NPCs for their Halloween versions. Removes "broken" NPC sprites not needed after World Boss.
2015-10-29 14:15:18 -04:00
Matteo Pagliazzi 82f5897c41 Merge pull request #6138 from crookedneighbor/mongo3
Update travis to use mongo 3 and npm v3
2015-10-29 19:12:27 +01:00
Blade Barringer 9844d3dc76 Use most recent version of npm 3 in travis 2015-10-29 13:07:50 -05:00
Blade Barringer b4d45834d1 Update travis to use mongo 3 and npm v3 2015-10-29 12:59:10 -05:00
Blade Barringer dd09633d31 Merge branch 'locks-auto-equip' into develop 2015-10-29 12:25:18 -05:00
Blade Barringer 0c82d757c8 Move cs tests to js 2015-10-29 12:25:02 -05:00
Matteo Pagliazzi e813b756ac use higher npm version 2015-10-29 17:26:35 +01:00
Matteo Pagliazzi 23984a7543 revert to old travis file 2015-10-29 17:12:53 +01:00
Matteo Pagliazzi 64852ae2bd Revert "add mongodb to travis ci"
This reverts commit 8c99cc1d3b.
2015-10-29 17:09:03 +01:00
Matteo Pagliazzi 8c99cc1d3b add mongodb to travis ci 2015-10-29 16:41:54 +01:00
Matteo Pagliazzi 37d83fdade mongoo 4 and new travis ci infrastructure 2015-10-29 16:35:02 +01:00
Matteo Pagliazzi 8ea69e90dd enable new relic, node 4 and npm 3 2015-10-29 16:11:56 +01:00
Matteo Pagliazzi 92fc2683c6 fix(cluster): use for loop instead of _.times 2015-10-29 16:04:30 +01:00
Matteo Pagliazzi f9ab04e4f9 upgrade to express 4.x
cleanup package.json

put errorHandler middleware as the last one

use accepts module instead of req.acceptedLanguages

use normal object notation as it is supported is es5

remove deprecations from auth controller

remove deprecations from groups controller

Revert "remove deprecations from groups controller"

This reverts commit 7cf36295ebbc50c1f2b210a8ab447d7f2c41dba9.

Revert "remove deprecations from auth controller"

This reverts commit deecd701e0551862ba53ea894f2d87a746384fed.

request limit upped to 1mb and 10k chars for query parameters

Upgrade to Express 4.x
2015-10-29 15:59:45 +01:00
Blade Barringer ee55c44548 Add text assertion to test 2015-10-29 08:42:37 -05:00
Blade Barringer 6ff904bd5a Merge branch 'develop' into czan-develop 2015-10-29 08:40:03 -05:00
Blade Barringer bf27d62cc2 Merge branch 'api_tests' into develop 2015-10-29 08:07:55 -05:00
Blade Barringer 68fabbf56f Update names 2015-10-29 08:07:06 -05:00
Blade Barringer 4b44c935e8 Merge branch 'develop' into Bunjl-develop 2015-10-29 07:58:31 -05:00
Blade Barringer bce37f7220 Adjusted Press Kit naming. 2015-10-29 07:55:17 -05:00
Blade Barringer 5cc790093e Move join party tests to new structure. 2015-10-29 07:41:49 -05:00
Blade Barringer 55fcf678c3 Move push notification to new infrastructure. 2015-10-28 21:36:04 -05:00
Blade Barringer ab1ac1f543 Remove unneeded test 2015-10-28 21:09:55 -05:00
Blade Barringer 265bb56db2 Move get user tests 2015-10-28 21:06:28 -05:00
Blade Barringer e98484d0ec Move anonymous route test to new structure. 2015-10-28 21:00:28 -05:00
Blade Barringer fd4fb836f0 Move task tests 2015-10-28 17:18:27 -05:00
Sabe Jones 22caaa7eda feat(sharing): More opt outs
Also fixes a bug where "Display Now" didn't work for pets with a space in their name.
2015-10-28 17:48:16 -04:00
Sabe Jones aad3e5ade6 fix(sharing): Add social service to Inventory
Also fixes accidental 'only' in tests.
2015-10-28 16:52:07 -04:00
Sabe Jones f4ea6c1d5d feat(sharing): Opt Out WIP
First draft of support for opting out of future modal display on specific events, and adds the second barebones target page for sharing.
2015-10-28 16:36:47 -04:00
Amin Arria bd230df0d3 Added rebirthLevel var to remove need of extra translation string 2015-10-28 14:33:45 -04:30
Sabe Jones 27e3797307 Merge branch 'develop' into sabrecat/more-modals
Conflicts:
	common/locales/en/challenge.json
2015-10-28 14:54:55 -04:00
Matteo Pagliazzi 01373882c6 make error notification persistent, change text and make it translatable 2015-10-28 19:42:26 +01:00
Blade Barringer 7205ac689d Merge pull request #6114 from kylestratis/issue-5542a
Issue 5542a - remove FIXME comment from invitations section in user model
2015-10-28 06:45:50 -05:00
jpk24rent 909d556a6d Merge remote-tracking branch 'HabitRPG/develop' into develop 2015-10-28 09:47:47 +02:00
jpk24rent 5269df2932 namefix 2015-10-28 09:47:04 +02:00
Blade Barringer 5754b4f72a chore(i18n): update locales 2015-10-27 21:38:23 -05:00
Blade Barringer 1a6b1f2a1c Update string 2015-10-27 21:36:52 -05:00
Blade Barringer b82054128d chore(i18n): update locales 2015-10-27 21:36:51 -05:00
Blade Barringer b70597e1d1 Merge pull request #6122 from crookedneighbor/batch_update_adjustment
Batch update adjustment
2015-10-27 21:35:19 -05:00
Blade Barringer ed464a2b70 Merge pull request #6127 from crookedneighbor/reinstate_amplitude
Reinstate amplitude
2015-10-27 21:35:10 -05:00
Blade Barringer 711413f832 Update string 2015-10-27 21:28:33 -05:00
Blade Barringer cdc58c78fd Merge branch 'nicolevonvon-develop' into develop 2015-10-27 20:19:09 -05:00
Blade Barringer c812c0ae90 Add popover to no owner label 2015-10-27 20:18:39 -05:00
kylestratis 0283408d1e Removed FIXME comment above invitations object - the object is still being used. 2015-10-27 21:12:19 -04:00
Blade Barringer 691ab86bd6 Add test for default user id 2015-10-27 19:40:11 -05:00
Blade Barringer a7c52e6086 Reinstate amplitude analytics 2015-10-27 19:37:57 -05:00
Matteo Pagliazzi 3bae95d3ae remove console.log for push notifications 2015-10-27 22:11:47 +01:00
nicolevonvon 47ec2e1f93 Challenges now display'no owner' if original owner deletes account 2015-10-27 22:15:19 +02:00
Blade Barringer 68689d1a05 Remove debug option from mocha opts 2015-10-27 12:25:39 -05:00
Matteo Pagliazzi 7541c5a260 fix(analytics): disable amplitude 2015-10-27 17:59:29 +01:00
Matteo Pagliazzi d05b00fb34 fix(analytics): enable analytics and correctly export methods 2015-10-27 17:39:37 +01:00
Matteo Pagliazzi 2443177729 fix(server): disable analytics until bug is fixed 2015-10-27 17:26:15 +01:00
Matteo Pagliazzi 98a00fcb4e fix(memory) do not check for new relic until it is enabled again 2015-10-27 17:10:46 +01:00
Blade Barringer f9afc8a8c6 Reorganize development user operations 2015-10-27 08:48:18 -05:00
jpk24rent 078c37bdda presskit
press kit update
2015-10-27 15:34:52 +02:00
Blade Barringer 4886b50aa3 Add testing for batch update. Handle unknown operations better. 2015-10-27 08:13:30 -05:00
Blade Barringer f13641b6a9 Add NODE_ENV to test server startup 2015-10-27 08:00:33 -05:00
Alys 1cc7ea872f chore(news): Exhaust Strike Bailey - recommiting after temporary removal 2015-10-27 19:18:05 +10:00
Alys 23059763eb revert Exhaust Strike Bailey change (commit f5d6c92897) to allow urgent deployment 2015-10-27 18:45:30 +10:00
Alys a29c412781 prevent addTenGems and addHourglass being used in production -- PRs https://github.com/HabitRPG/habitrpg/pull/6115 and https://github.com/HabitRPG/habitrpg/pull/6117 by nivl4 2015-10-27 18:31:17 +10:00
Sabe Jones f5d6c92897 chore(news): Exhaust Strike Bailey 2015-10-27 00:24:11 -04:00
Carlo Zancanaro 4d6bd38648 Add GET routes for /user/tags and /user/tags/{id}
An operation that is useful for tools to be able to do is to list a
user's tags without having to pull down the entire user object (which is
likely significantly larger than the tags). This commit adds a route to
GET /user/tags, to get a list of the user's tags, as well as a GET
/user/tags/{id} to get the details of a particular tag.

This commit also includes tests for the two new routes.
2015-10-27 13:49:17 +11:00
Blade Barringer c04b27ffd5 Simplify community guidelines string 2015-10-26 18:08:45 -05:00
Blade Barringer f0e4149adb Merge branch 'develop' into ksami-develop 2015-10-26 17:56:05 -05:00
Blade Barringer 4dd368a028 Merge pull request #6082 from anilanar/reroll-syntax-bug
fix a minor syntax error when opening reroll modal.
2015-10-26 17:55:16 -05:00
Blade Barringer a556cf1c13 Merge pull request #6113 from crookedneighbor/ogAc8BA0_prevent_changing_class_change_from_api
ogAc8BA0 - prevent changing class change from api without spending gems
2015-10-26 17:45:56 -05:00
Blade Barringer 09596c657b Remove only form test 2015-10-26 17:34:29 -05:00
Blade Barringer 2790008937 Adjust error message to not point to a readme file that does not exist. 2015-10-26 17:27:08 -05:00
Blade Barringer 13bca6b9a9 Prevent class from being changed via PUT /user 2015-10-26 17:25:51 -05:00
Blade Barringer c7b162271c Adjust context title. 2015-10-26 17:13:21 -05:00
Sabe Jones 2df6df2bee Merge pull request #6091 from HabitRPG/sabrecat/mystery-201510
October 2015 Subscriber Items
2015-10-26 15:04:43 -05:00
Blade Barringer 13fa14270d Add additional check for stat change 2015-10-26 12:52:18 -05:00
Blade Barringer f8d08b4195 Merge branch 'jeremyabbott-userputtests' into userput 2015-10-26 12:25:17 -05:00
Blade Barringer 6a6922bb3f Add tests for protected paths 2015-10-26 12:24:02 -05:00
Jeremy Abbott e4269723e1 Creates initial PUT /user test
Adds missing semi-colon to DELETE-user.test.js
2015-10-26 10:54:37 -05:00
Blade Barringer 0eac953170 Adjust stying of put test 2015-10-26 08:04:30 -05:00
Blade Barringer cf7be0b7a3 Merge branch 'develop' into jeremyabbott-userputtests 2015-10-26 08:00:30 -05:00
Blade Barringer 04fbdaa107 Reinstate error code in resolve promise for api tests. 2015-10-26 07:53:51 -05:00
Jeremy Abbott eeb14075bb Creates initial PUT /user test 2015-10-25 22:58:10 -05:00
Jeremy Abbott 6b52a32265 Creates user-put file with stub test 2015-10-25 18:07:50 -05:00
kylestratis b75f044d07 Changed Mongo query to check DateTerminated to prevent accumulation of mystery items when subscription is ended. 2015-10-25 18:16:42 -04:00
Blade Barringer 01914523e1 Remove dependency on chai-shallow-deep-equal 2015-10-25 12:50:14 -05:00
Blade Barringer b72c37301c Update api tests readme 2015-10-25 11:34:45 -05:00
Blade Barringer 8e282738f5 Convert pending api tests to use promise syntax 2015-10-25 11:21:19 -05:00
Blade Barringer 829b1253fb Revert nodemon change for tests and log errors if they arise 2015-10-25 11:10:10 -05:00
Blade Barringer f06d3cdffe Convert remaining active api tests to use promises 2015-10-25 11:09:50 -05:00
Blade Barringer 12ce4b133d Update GET groups route test to use promises. 2015-10-25 10:57:42 -05:00
Blade Barringer 177c81da81 Use promise syntax for Get groups id route test. 2015-10-25 10:43:34 -05:00
Blade Barringer 5961e02f5f Use promise syntax in POST groups test. 2015-10-25 10:12:43 -05:00
Blade Barringer 7fe2a19bc5 Adjust start server task to use nodemon to recover from syntax errors 2015-10-25 09:54:09 -05:00
Blade Barringer a5c0bae273 Update POST group id tests. 2015-10-25 09:40:36 -05:00
Blade Barringer f98c6b7192 Add chai-shallow-deep-equal plugin 2015-10-25 09:40:23 -05:00
Blade Barringer 45afc9f3fb Only start up server in tests if it is not already running. 2015-10-25 09:19:42 -05:00
Blade Barringer 96c77dad9c Promisify join group route test 2015-10-25 09:02:22 -05:00
Blade Barringer d370219142 Use promise syntax for leave groups route test. 2015-10-25 08:59:43 -05:00
Blade Barringer a52b30b33c Update group leaveMember test 2015-10-25 08:19:45 -05:00
Blade Barringer 27cb5881cd Adjust delete route test to use promises 2015-10-25 08:16:21 -05:00
Blade Barringer 69d48cb98e Adjust the get user integration test 2015-10-25 08:14:16 -05:00
Blade Barringer 600f56dae0 Convert status test to promise 2015-10-25 08:02:30 -05:00
Blade Barringer 661d070b56 Add additional tests for register route 2015-10-24 22:28:04 -05:00
Blade Barringer b763aedd29 Change helper to reject only error message 2015-10-24 22:23:30 -05:00
Blade Barringer a0547b99ca Update dependencies 2015-10-24 20:14:48 -05:00
Blade Barringer fb30a7b03b Compile sprites. 2015-10-24 20:14:30 -05:00
nivl4 495e103be5 Update vagrant provisioning script to create symlinks for any binaries the package might contain (default npm install behavior), as without those symlinks "npm test" gives the following error:
vagrant@habitrpg:/vagrant$ npm test

> habitrpg@0.0.0-152 test /vagrant
> gulp test

[Error: /vagrant/node_modules/bson/build/Release/bson.node: invalid ELF header]
js-bson: Failed to load c++ bson extension, using pure JS version
[07:07:48] Using gulpfile /vagrant/gulpfile.js
[07:07:48] Starting 'test:prepare:build'...
[07:07:48] Starting 'test:prepare:mongo'...
[07:07:48] Starting 'test:prepare:webdriver'...
[07:07:48] 'test:prepare:build' errored after 33 ms
[07:07:48] Error: Command failed: /bin/sh: 1: ./node_modules/.bin/grunt: not found

    at ChildProcess.exithandler (child_process.js:658:15)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:766:16)
    at Socket.<anonymous> (child_process.js:979:11)
    at Socket.emit (events.js:95:17)
    at Pipe.close (net.js:466:12)
[07:07:48] Finished 'test:prepare:mongo' after 78 ms
[07:08:50] Finished 'test:prepare:webdriver' after 1.02 min
npm ERR! Test failed.  See above for more details.

- "npm install" was giving the following error in earlier version of VirtualBox when creating symlinks with relative "../" path in shared folders. "--no-bin-links" was a workaround, but it's been fixed in the latest VirtualBox 5.0.8 (https://www.virtualbox.org/ticket/14563)

vagrant@habitrpg:/vagrant$ npm install
npm WARN install Couldn't install optional dependency: Unsupported
npm WARN install Couldn't install optional dependency: Unsupported
npm WARN install Couldn't install optional dependency: Unsupported
npm WARN EPEERINVALID chai-as-promised@3.3.1 requires a peer of chai@>= 1.0.2 < 2 but none was installed.
npm WARN EPEERINVALID karma-requirejs@0.2.2 requires a peer of requirejs@~2.1 but none was installed.
npm ERR! Linux 3.2.0-23-generic
npm ERR! argv "node" "/usr/bin/npm" "install"
npm ERR! node v0.10.37
npm ERR! npm  v3.3.6
npm ERR! path ../acorn/bin/acorn
npm ERR! code UNKNOWN
npm ERR! errno -1

npm ERR! UNKNOWN, symlink '../acorn/bin/acorn'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /vagrant/npm-debug.log
2015-10-24 09:53:01 +08:00
nivl4 719eb6583a Remove vagrant customization that enables symlinks in /vagrant shared folder, at that is the default behavior of vagrant since 1.1. (https://github.com/mitchellh/vagrant/issues/713#issuecomment-13201507) 2015-10-24 09:51:54 +08:00
Blade Barringer ff64523ae4 Merge pull request #6062 from crookedneighbor/new_api_test_infrastructure
New api test infrastructure
2015-10-23 18:06:39 -05:00
Blade Barringer e456bdb2ae Revert npm bin command 2015-10-23 17:35:45 -05:00
Blade Barringer 6aa6c1e1c2 Merge branch 'develop' into new_api_test_infrastructure 2015-10-23 17:32:44 -05:00
Blade Barringer 26ccde6e10 Create guidelines for writing api tests 2015-10-23 17:31:29 -05:00
Sabe Jones 2582d0b7c7 fix(sprites): Flip goblin tail
The Goblin Tail slightly breaks from convention for items (it's 12px wider than most), but that allows it to remain visible and well composed when the avatar is riding a mount.
2015-10-23 16:33:58 -04:00
Sabe Jones 392889c7da feat(mystery): October 2015 subscriber set 2015-10-23 15:45:43 -04:00
Blade Barringer 5481178dbe Move e2e tests higher up in test calls 2015-10-23 12:42:47 -05:00
Blade Barringer 7ad2e6d1ff Add comments to helper methods 2015-10-23 12:32:15 -05:00
Blade Barringer 6492554cf1 Add error handling for when mongo is not running. 2015-10-23 12:19:51 -05:00
ksami f2c856f6e6 Make link translatable in options/inventory/time-travelers 2015-10-23 23:40:11 +08:00
ksami b3cc58886c Make strings translatable in options/social/chat-box 2015-10-23 23:20:59 +08:00
Blade Barringer 27d9e60d0f Update api legacy test readme 2015-10-22 20:05:31 -05:00
Blade Barringer 73b2208106 Port final groups test to new structure 2015-10-22 20:02:08 -05:00
Blade Barringer 3c8c4343ee Move group tests to new test structure 2015-10-22 18:04:16 -05:00
Blade Barringer e3234a54ce Refactor get groups test to test all kinds of groups 2015-10-22 17:15:40 -05:00
Sabe Jones 78416f68da fix(sharing): Better social button positioning 2015-10-22 16:00:55 -04:00
Sabe Jones 152fb72899 fix(sharing): Needed return object 2015-10-22 15:08:04 -04:00
Sabe Jones e2cfd1bd54 feat(sharing): Load widgets from service 2015-10-22 14:37:29 -04:00
Sabe Jones 281411f423 Merge branch 'develop' into sabrecat/more-modals 2015-10-22 14:05:26 -04:00
Blade Barringer 9a79870b93 Change convention for naming tests 2015-10-22 12:53:48 -05:00
Sabe Jones bcc522f08d feat(sharing): Add Tumblr button 2015-10-22 13:52:26 -04:00
Blade Barringer c4402b2634 Port removeMember tests to new test format 2015-10-22 12:48:45 -05:00
Blade Barringer abf4b1c643 Fix bug where tests were failing erroneously 2015-10-22 12:46:54 -05:00
Blade Barringer d28450d52a Port groups /leave tests to new integration tests. 2015-10-22 12:28:26 -05:00
Sabe Jones 0bd4de3b88 fix(test): Update push notif string 2015-10-22 13:28:01 -04:00
Sabe Jones d08a3efbcd fix(news): Bogus trailing slash 2015-10-22 12:04:43 -05:00
Anil Anar e269e04172 fix a minor syntax error when opening reroll modal. 2015-10-22 09:24:04 +02:00
Blade Barringer c3aa70ecc3 Moved guild update tests from legacy file to new file 2015-10-21 18:02:02 -05:00
Blade Barringer f4256f7bf6 Adjust context description 2015-10-21 17:59:44 -05:00
Sabe Jones 9fb671f068 fix(social): Better share image 2015-10-21 16:25:03 -05:00
Sabe Jones a2c0e02283 fix(social): Correct OG tag errors 2015-10-21 16:37:33 -04:00
Sabe Jones d32f6f23cc feat(sharing): Improved front page FB share 2015-10-21 15:59:17 -04:00
Sabe Jones 44818882f6 feat(sharing): Pretty Tweet button for level up 2015-10-21 15:23:31 -04:00
Matteo Pagliazzi e75d3547c5 force emails to lowercase and use a lowercase version of username to check for duplicates 2015-10-21 13:14:18 +02:00
Matteo Pagliazzi fc9d0775ab add migration for lowercase version of emails and username 2015-10-21 11:19:14 +02:00
Matteo Pagliazzi c7f8426bce preparation for code for lowercase emails and lowercase version of username to check for duplicates 2015-10-21 11:01:06 +02:00
Alys 2745a172ea Merge pull request #6076 from claushellsing/patch-2
Update README.md
2015-10-21 15:37:04 +10:00
Rainer Eli 32cb29b45f Update README.md 2015-10-20 22:48:58 -06:00
Blade Barringer b52f901f41 Convert legacy api helper to js 2015-10-20 21:53:52 -05:00
Blade Barringer 3036c6db9e Merge branch 'develop' into new_api_test_infrastructure 2015-10-20 21:18:49 -05:00
Blade Barringer a0e7eef956 Fix legacy tests 2015-10-20 20:17:10 -05:00
Sabe Jones d4146d69e2 Merge pull request #6072 from HabitRPG/sabrecat/pets-201510
Pet Quest for October 2015
2015-10-20 18:12:19 -05:00
Sabe Jones 5fbd6814b0 fix(pets): Realign frog sprites
Also adds a note about the To-Do sorting fix to the Bailey announcement
2015-10-20 18:55:57 -04:00
Blade Barringer 23398b1a37 Closes #6071 2015-10-20 12:39:04 -05:00
Sabe Jones 1ad6ffd35d Merge branch 'develop' into sabrecat/more-modals 2015-10-20 12:50:34 -04:00
Sabe Jones d0a34fc0ad feat(quests): 2015-10 Pet
Also adds Exhaust Strike-specific text to the remaining affected NPCs.
2015-10-20 12:32:45 -04:00
Saravanan Ganesh df7fd2e036 fix(chat): #5864 API should return flagged messages in chat only to mods 2015-10-19 21:43:24 -07:00
Sabe Jones 0a6d9fa23a WIP(pets): Frog quest 2015-10-19 23:12:24 -04:00
Blade Barringer 703caeadff Merge pull request #6038 from vIiRuS/patch-5
store iOS tutorial steps
2015-10-19 17:49:13 -05:00
Blade Barringer a0753d31b2 Merge pull request #6046 from vIiRuS/newIAPs
Handle new possible iOS in-app-purchases
2015-10-19 17:49:01 -05:00
Amin Arria 23114ac929 Fix trailing comma 2015-10-19 17:19:30 -04:30
Matteo Pagliazzi ad6be153f4 Revert "use lowercase only emails - register phase"
This reverts commit 69fdff615a.
2015-10-19 19:42:25 +02:00
Matteo Pagliazzi 7a2d2fd3dc Revert 215ca0371c 2015-10-19 19:42:13 +02:00
Amin Arria 3bd809f7c2 Merge branch 'develop' of github.com:HabitRPG/habitrpg into Wrong-max-level-messages 2015-10-19 12:14:38 -04:30
Amin Arria 038039dbee Fixes #5550, change message according to rebirthLevel 2015-10-19 12:10:27 -04:30
Blade Barringer 2883dc6c85 Merge branch 'ksami-develop' into develop 2015-10-19 08:14:48 -05:00
Blade Barringer 9ad1dbd8ce Adjust mystic hourglass string to take in interpolation 2015-10-19 08:10:37 -05:00
Blade Barringer d9de32f2dc Add todo to investigate magic numbers 2015-10-19 08:04:47 -05:00
Blade Barringer 1a2510e4da Adjsut string to take in interpolation 2015-10-19 08:03:27 -05:00
Blade Barringer 931d688637 Use Content service 2015-10-19 08:03:14 -05:00
Blade Barringer f03be07595 Add extra line breaks 2015-10-19 08:02:35 -05:00
Blade Barringer 4a3e60d0d7 Merge branch 'develop' into ksami-develop 2015-10-19 06:26:34 -05:00
Phillip Thelen 2fde3c771f remove empty line 2015-10-19 12:50:30 +02:00
Phillip Thelen 3a42711427 nicer style for default gem value 2015-10-19 12:48:50 +02:00
Ricardo Mendes 6e68450309 Tweaks tests to account for autoEquip user preference. 2015-10-19 08:26:15 +00:00
Ricardo Mendes 5e3f46d786 Checks user auto-equip preference in buy function 2015-10-19 05:52:46 +00:00
Ricardo Mendes 73924df241 Adds auto-equip UI to equipment view 2015-10-19 05:20:11 +00:00
Ricardo Mendes e79863e134 Adds auto-equip boolean to user preferences 2015-10-19 05:20:10 +00:00
Ricardo Mendes 860abce1d7 Adds auto-equip string to locales/en 2015-10-19 05:20:10 +00:00
Blade Barringer fcec018616 Merge pull request #6009 from locks/patch-2
Typo in test description string
2015-10-18 21:35:51 -05:00
Blade Barringer dbc9c5a48c Merge pull request #6008 from locks/patch-1
Typo in comment string
2015-10-18 15:29:29 -05:00
Phillip Thelen 7a7d038602 Split up tutorial parts 2015-10-18 17:29:06 +02:00
Blade Barringer 1417d643e4 Comment out content test until we know for sure what we're doing with the content files 2015-10-18 10:14:54 -05:00
Blade Barringer b2350f10f1 Create get groups test 2015-10-18 10:01:55 -05:00
Blade Barringer cd224ac8d8 Add members attribute to tavern 2015-10-18 09:59:39 -05:00
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
Anil Anar a08fd12aa1 add new favicon with 192x192 resolution, meta tag for android:chrome. 2015-10-18 03:56:17 +02: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
Sabe Jones 22ec450521 feat(modals): Won Challenge
Draft of the modal that appears when a user wins a challenge. Needs better logic for when to display.
2015-10-16 23:36:57 -04: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
Sabe Jones 338aced208 feat(modals): Grew Mount
A modal now appears when you raise a pet into a mount, which allows the user to immediately equip the new mount.
2015-10-15 17:33:20 -04:00
Sabe Jones c6dd2a0d10 feat(modals): Hatch Pet modal
Complete except for the planned addition of a heart sprite over the pet.
2015-10-15 16:34:53 -04: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 5bfea172ee fix(notifications): Don't double-modal
Corrects behavior of the Notifications controller so that it skips showing the generic levelup modal if it's going to display the quest scroll version.
2015-10-13 17:01:07 -04:00
Sabe Jones 6505824cb6 feat(modals): Levelup modal
Introduces a new modal that displays whenever the user levels up.
2015-10-13 16:32:07 -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
Sabe Jones 5eacba54b8 feat(modals): Slim scroll notif
Establishes a new template for modal notifications, to be used across the app including a number of new notifications.
2015-10-13 14:20:51 -04:00
Alys 30de99b700 adjust world bosses FAQ answer 2015-10-13 06:49:07 +10:00
Sabe Jones dcf17b5505 feat(event): Jack-O'-Lantern mounts 2015-10-12 14:49:12 -04:00
Phillip Thelen caa7d4a220 store iOS tutorial steps 2015-10-12 16:34:07 +02:00
Blade Barringer 02133600ce Add ios question to content 2015-10-12 07:40:31 -05:00
Alys ece3e0d0aa add FAQ item for World Bosses 2015-10-12 21:26:59 +10:00
Matteo Pagliazzi a4b1c6cf64 Merge pull request #6033 from vIiRuS/patch-4
Add iOS smart app banner
2015-10-10 14:30:08 +02:00
Phillip Thelen 87012f6a7c Add iOS start app banner 2015-10-10 13:52:53 +02:00
Sabe Jones f00bbd9652 feat(modals): Small style scroll award 2015-10-09 15:39:36 -04:00
Sabe Jones b775b8f399 feat(modals): Simplified scroll drop
Conflicts:
	website/views/shared/modals/quests.jade
2015-10-09 14:07:54 -04:00
Alys 20415da586 Merge pull request #6018 from dcecile/develop
Issue #2606 - Verify/fix indices during sortTask
2015-10-09 21:30:14 +10:00
Blade Barringer 2cc4d65d78 Allow disabling logger in non-prod for testing 2015-10-08 22:42:09 -05:00
Sabe Jones 4044b0cb64 fix(world-boss): Update mechanics explanation 2015-10-08 18:48:13 -04:00
Blade Barringer 60cc428b81 chore(i18n): update locales 2015-10-08 17:42:10 -05:00
Blade Barringer d873848f81 Commit missing file 2015-10-08 17:37:10 -05:00
Blade Barringer 0ccf07a4e0 Compile sprites 2015-10-08 17:32:34 -05:00
Blade Barringer ccd77090f4 Fix css template for sprites 2015-10-08 17:31:32 -05:00
Sabe Jones 58801f5025 fix(world-boss): Don't repeat explanation 2015-10-08 13:17:49 -04:00
Sabe Jones 291a135fe1 Merge pull request #6023 from HabitRPG/sabrecat/world-boss
Fall 2015 World Boss
2015-10-08 11:15:00 -05:00
Sabe Jones 1d4536fc47 fix(sprites): Remove errant blob 2015-10-08 10:59:44 -05:00
Sabe Jones c45736fc6f Merge pull request #6024 from crookedneighbor/fix_world_dmg
Fix world dmg
2015-10-08 10:19:38 -05:00
Blade Barringer 36d471ddff Correct module exports 2015-10-08 08:42:42 -05:00
Blade Barringer 5e10b8f4c9 Correct assinging of tavernQuest object when boss damage is calculated 2015-10-08 08:32:40 -05:00
Blade Barringer 9e88d17a78 Adjust tavern export to send over only quest object 2015-10-08 07:45:25 -05:00
Thrashmandicoot 40ea62344b Add bold to item output when selling item 2015-10-07 20:11:07 -07:00
Thrashmandicoot a1328bc837 Add bolding to item name 2015-10-07 20:10:27 -07:00
Thrashmandicoot 7c16197ec9 Refactor market to display eggs properly, wip 2015-10-07 19:19:56 -07:00
Thrashmandicoot 04550a3346 Add btn-sell to increase width of market button to container 2015-10-07 19:18:54 -07:00
Thrashmandicoot 921cb3ca5d Add displayXForGold keys, refactor sell egg for gold 2015-10-07 19:17:13 -07:00
Sabe Jones aba3908170 chore(gulp): Compile sprites 2015-10-07 15:15:21 -04:00
Thrashmandicoot dadf1d5b0b Add divider between sell button and text for market 2015-10-07 11:52:47 -07:00
Dan Cecile 22284bbc24 Issue #2606 - Verify/fix indices during sortTask
Because the 'sortTask' operation uses a 'from' index and a 'to'
index as parameters, the server needs to check if these indices
are valid before performing the client's request. If the task ID
doesn't match the task at the 'from' index, then it's clear that
the client was looking at a preened list of todos (everything except
more-than-3-days-old-non-quest completed tasks). In that case, try
to recalculate the indices before continuing.
2015-10-06 21:24:34 -04:00
Sabe Jones 51355f7eea fix(quest-eggs): Short-circuit canBuy
Also corrects the FAQ link in the site footer to use the new static FAQ page instead of the wiki.
2015-10-06 16:56:17 -04:00
Sabe Jones d27fb9dba2 WIP(world-boss): Rage and rewards
Also finishes out written story content.
2015-10-06 15:59:16 -04:00
Sabe Jones 3ca836a81c fix(world-boss): Pass test
Also uncomment the line used to hide display of the boss in the Tavern, because we won't be doing a dry run of that style this time around.
2015-10-05 17:18:44 -04:00
Sabe Jones f6abcc0ddf WIP(world-boss): Initial stats outlay
Also quest reward sprites, groundwork for world damage, and partial content build.
2015-10-05 16:59:19 -04:00
ahstro 76fcbfc19f Toggle chevron direction
When editing a task, there are some expandable options available with a
chevron next to them (e.g. 'Tags' and 'Advanced Options'). This commit
makes the chevrons' directions toggle based on whether the related
option is expanded or collapsed, up and down respectively.
2015-10-05 22:17:28 +02:00
Sabe Jones 0d7a57d176 Merge branch 'develop' into sabrecat/world-boss
Conflicts:
	common/dist/sprites/habitrpg-shared.css
2015-10-05 14:57:59 -04:00
Sabe Jones dd53383ec6 Merge pull request #6002 from HabitRPG/sabrecat/backgrounds-201510
October 2015 backgrounds
2015-10-05 11:29:44 -05:00
Alys f035dfd8b9 fix "Advanced Options in tasks start collapsed" when "Open new tasks in edit mode" is on - fixes https://github.com/HabitRPG/habitrpg/issues/5981 2015-10-05 19:37:53 +10:00
Ricardo Mendes c462e65942 typo 2015-10-04 13:34:51 +01:00
Ricardo Mendes f29f3a6b0e typo 2015-10-04 13:34:22 +01:00
Blade Barringer 2683b2b0a0 Use var to declare mongoose 2015-10-03 20:55:28 -05:00
Blade Barringer 62b15c4f48 Simplify background tests 2015-10-03 11:54:58 -05:00
Blade Barringer cc579b97a3 Increase converage around egg content 2015-10-03 11:42:23 -05:00
Blade Barringer 04d3bf0f19 Refactor faq tests 2015-10-03 11:19:27 -05:00
Blade Barringer b82123e1a2 Update food tests 2015-10-03 11:11:16 -05:00
Blade Barringer 7e080d5423 Expand hatching potions test 2015-10-03 11:08:03 -05:00
Blade Barringer 95a17f6fbb Expand user defaults test 2015-10-03 11:04:04 -05:00
Blade Barringer 4b46a0e9fc Convert other globals to exported functions 2015-10-03 10:48:42 -05:00
Blade Barringer f9ee70e912 Increase max buffer for content tests 2015-10-03 10:47:26 -05:00
Blade Barringer d4843d958d Remove unneded function 2015-10-03 10:31:20 -05:00
Blade Barringer 8987645725 Export constants instead of putting them on global scope 2015-10-03 10:26:10 -05:00
Blade Barringer 3f6be30ebc Simplify spell tests and test more attributes 2015-10-03 10:21:52 -05:00
Blade Barringer 6fdfe6c3bf Correct spelling of canBuy 2015-10-03 09:59:40 -05:00
Blade Barringer a492649f71 Simplify gear tests and test more items 2015-10-03 09:59:10 -05:00
Blade Barringer 8eadecdc1a Improve testing around armor 2015-10-03 09:34:56 -05:00
Blade Barringer 393cc71309 Correct gold purchasable quests 2015-10-03 09:21:15 -05:00
Blade Barringer 495a3d3125 Add additional tests for quests 2015-10-03 09:21:06 -05:00
Blade Barringer 53a51ca3db Create helper function for testing items in object 2015-10-03 09:00:06 -05:00
Blade Barringer 36d7c59a0c Add backgrounds to content file 2015-10-03 06:49:14 -05:00
Blade Barringer 6dbfbeec81 Merge branch 'develop' into HabitRPG-sabrecat/backgrounds-201510 2015-10-03 06:40:50 -05:00
Blade Barringer 928e8478f7 Add coffeescript back in 2015-10-03 06:39:10 -05:00
Blade Barringer 655d8de7c8 chore(i18n): update locales 2015-10-02 22:28:12 -05:00
Blade Barringer 7a9bdfc9bf Correct base sets 2015-10-02 22:26:51 -05:00
Sabe Jones 56419aee25 feat(content): October 2015 backgrounds 2015-10-02 16:13:11 -04:00
Blade Barringer 36cbca380e Corrected order of backgrounds 2015-10-02 14:45:06 -05:00
Blade Barringer bf7d6dddcc chore(i18n): update locales 2015-10-02 11:41:57 -05:00
Blade Barringer c6c159a44c Add midnight shield back in 2015-10-02 11:40:42 -05:00
Blade Barringer eb5e77cbb2 Fix locales for healAll 2015-10-02 10:34:54 -05:00
Blade Barringer 97ad1a8bb2 chore(i18n): update locales 2015-10-02 10:31:27 -05:00
Blade Barringer 339ab9e507 correct key to use mispelled version :/ 2015-10-02 10:11:20 -05:00
Blade Barringer 5a7662db09 Merge pull request #5976 from crookedneighbor/refactor-content
Refactor Content Files
2015-10-02 08:55:10 -05:00
Blade Barringer a6453fec71 Merge pull request #6000 from Gondulf/develop
Issue #5928 - Replaced 'link' with actual URL in faq.json
2015-10-02 08:40:13 -05:00
Damien Gourbiere 17eff9ed84 Issue #5928 - Replaced 'link' with actual URL in faq.json 2015-10-02 08:56:25 -04:00
Blade Barringer e07a99dc27 Export premium pets and mounts 2015-10-02 04:01:14 -05:00
Blade Barringer e600791374 Merge pull request #5991 from tcyrus/patch-1
Update README.md
2015-10-01 23:01:36 -05:00
Blade Barringer 54c5741fca chore(i18n): update locales 2015-10-01 22:44:53 -05:00
Blade Barringer 4d682214c1 Merge pull request #5996 from Gondulf/develop
Issue #5978 - Corrected grammar in gear.jason
2015-10-01 22:40:43 -05:00
Blade Barringer 913faeba70 Remved unused readme 2015-10-01 22:38:58 -05:00
Damien Gourbiere 4df9299e25 Reverted change to the stirring stick description 2015-10-01 23:25:27 -04:00
Damien Gourbiere c8b1c2622e Merge branch 'develop' of https://github.com/Gondulf/habitrpg into develop 2015-10-01 23:20:25 -04:00
Damien Gourbiere d43242884f Issue #5978 - Corrected grammar in gear.jason 2015-10-01 23:09:24 -04:00
Blade Barringer b4ce683190 Correct tests 2015-10-01 21:56:14 -05:00
Damien Gourbiere 1c0df66eed Issue #5978 - Corrected grammar in gear.jason 2015-10-01 22:45:25 -04:00
Blade Barringer be3decf859 Merge branch 'develop' into refactor-content 2015-10-01 21:20:04 -05:00
Blade Barringer a7fe29e04e Add comment to quest block 2015-10-01 17:26:21 -05:00
Sabe Jones 22c69c7e2f fix(magic-potions): Correct potion list merge 2015-10-01 16:53:11 -04:00
Sabe Jones 8e69681718 chore(news): Bailey 2015-10-01 2015-10-01 15:48:18 -04:00
Sabe Jones 5349bc7312 chore(gulp): Compile sprites 2015-10-01 14:27:21 -05:00
Sabe Jones fc46023561 feat(armoire): October content
(cherry picked from commit 2b2a85838dbc4539d41e6e2d508374b0960238d6)

Conflicts:
	common/dist/sprites/habitrpg-shared.css
	common/dist/sprites/spritesmith-main-3.png
	common/dist/sprites/spritesmith-main-4.css
	common/dist/sprites/spritesmith-main-4.png
	common/dist/sprites/spritesmith-main-5.css
	common/dist/sprites/spritesmith-main-5.png
	common/dist/sprites/spritesmith-main-6.css
	common/dist/sprites/spritesmith-main-6.png
	common/dist/sprites/spritesmith-main-7.css
	common/dist/sprites/spritesmith-main-7.png
	common/dist/sprites/spritesmith-main-8.css
	common/dist/sprites/spritesmith-main-8.png
	common/dist/sprites/spritesmith-main-9.css
	common/dist/sprites/spritesmith-main-9.png
2015-10-01 14:21:01 -05:00
Sabe Jones f4c18bb7f3 chore(gulp): Compile sprites 2015-10-01 14:11:22 -05:00
Sabe Jones 233211adc9 Merge pull request #5962 from HabitRPG/sabrecat/magic-potions
Magic Potions!
2015-10-01 14:04:14 -05:00
Sabe Jones 3d38777ec8 fix(content): Correctly generate api.hatchingPotions 2015-10-01 14:54:52 -04:00
Sabe Jones bebc4556ea Merge pull request #5992 from crookedneighbor/magic-potions-row
Put magic pets on their own row
2015-10-01 13:48:42 -05:00
Blade Barringer 0f8c3e03c2 Correct mount mixin 2015-10-01 13:25:00 -05:00
Blade Barringer c8afac9580 Put magic pets on their own row 2015-10-01 13:21:15 -05:00
Blade Barringer 6667adb983 Reorder helper keys 2015-10-01 12:32:40 -05:00
Blade Barringer 86ec40e43d Add comment to gear file 2015-10-01 12:32:22 -05:00
Blade Barringer 3c933eaf4e Add comment to food file 2015-10-01 12:31:08 -05:00
Blade Barringer ee2134dcb7 Add comment to eggs file 2015-10-01 12:30:51 -05:00
Blade Barringer 5f4aa427fc Add comment to pets and mounts file 2015-10-01 12:30:36 -05:00
Timothy Cyrus ad6c0b322a Update README.md
Change all Readme Badges to SVG's
2015-10-01 08:53:47 -04:00
Blade Barringer 6c9fab254d Add coffeescript dependency back in 2015-09-30 22:49:19 -05:00
Blade Barringer 08e6759da2 Fix path to content 2015-09-30 22:38:23 -05:00
Blade Barringer 6ad7b6ba4c Correct content in analytics 2015-09-30 20:56:40 -05:00
Blade Barringer faf5d263e0 Correct gear sets 2015-09-30 20:12:14 -05:00
Blade Barringer 6ed417842f Move gulp-babel to dependency 2015-09-30 19:55:20 -05:00
Blade Barringer 02126533e7 Allow gulp babelify to exist in prod 2015-09-30 19:51:19 -05:00
Blade Barringer b96d3fc3fc Add special back 2015-09-30 19:50:57 -05:00
Blade Barringer 3be24456ec Move special and armoire gear to own module 2015-09-30 19:04:09 -05:00
Sabe Jones 3968acecb4 chore(news): Bailey 2015-09-30 2015-09-30 15:39:38 -04:00
Sabe Jones 9afaa92c2e feat(magic-potions): Clarify drop behavior 2015-09-30 15:31:09 -04:00
Blade Barringer 0199dcadf3 Add armoire set 2015-09-29 21:38:45 -05:00
Blade Barringer c56e7ba44e Move base euqipment to own module 2015-09-29 17:58:37 -05:00
Blade Barringer ff4dae8f89 Move mystery set into own module 2015-09-29 17:53:32 -05:00
Blade Barringer e9a4465a4c Merge branch 'develop' into refactor-content 2015-09-29 17:30:33 -05:00
Blade Barringer 5c0a0e1d18 Compile css 2015-09-29 17:30:08 -05:00
Blade Barringer 228b8e030e Remove only form test 2015-09-29 17:20:15 -05:00
Blade Barringer 152cb99750 Add spell tests 2015-09-29 12:58:53 -05:00
Blade Barringer 9de2ee473d Correct gear test 2015-09-29 12:54:45 -05:00
Blade Barringer 26d73d0bc1 Create user default test 2015-09-29 12:53:39 -05:00
Blade Barringer 61589ca262 Add armoire and potion locale tests 2015-09-29 12:44:35 -05:00
Blade Barringer c846cfd653 Add background content test 2015-09-29 12:38:34 -05:00
Blade Barringer 0fc41abe25 Add FAQ content test 2015-09-29 12:33:55 -05:00
Blade Barringer 8676e660a8 Correct rogue shield 2015-09-29 12:20:57 -05:00
Blade Barringer cc0eb7d672 Add gear content test 2015-09-29 09:00:27 -05:00
Blade Barringer 8e9a08ba46 Add helper to run all tests in directory 2015-09-29 08:59:42 -05:00
Blade Barringer 400f82b2d5 Add food content test 2015-09-29 08:12:10 -05:00
Blade Barringer 0af658dab7 Add hatching potions test 2015-09-29 08:09:43 -05:00
Blade Barringer 54e910d67a Add egg content test 2015-09-29 08:07:07 -05:00
Blade Barringer e27751c1be Organize quest tests by key 2015-09-29 08:06:48 -05:00
Blade Barringer bc47d44acc Add in text for evil santa quests 2015-09-29 08:00:53 -05:00
Blade Barringer f6aa316eb1 Create quest content test 2015-09-29 07:55:35 -05:00
Blade Barringer 1b9c7c51c2 Set up content tests 2015-09-29 07:55:13 -05:00
Blade Barringer 2db4b7b7b2 Move i18n to javascript 2015-09-28 17:33:45 -05:00
Sabe Jones ffe0cff7cd fix(drops): Pick drop eggs from dropEggs 2015-09-28 16:28:59 -04:00
Sabe Jones feff6fadfa feat(magic-potions): Final tweaks 2015-09-28 14:58:46 -04:00
Blade Barringer b8a8eff434 Merge branch 'develop' into refactor-content 2015-09-28 12:45:18 -05:00
Blade Barringer f1e442bed4 Extract test commands into constants 2015-09-28 08:54:53 -05:00
Blade Barringer 2d862593ae Compile sprites 2015-09-28 08:50:20 -05:00
Blade Barringer d1faa50e5e Merge branch 'develop' into refactor-content 2015-09-28 07:52:02 -05:00
Blade Barringer bc46609fbc Use shorthand function syntax 2015-09-28 07:44:31 -05:00
Blade Barringer 1616b237fa Revert npm bin commit
Vagrant installs don't use the .bin directory because Virtualbox has issues with symlinks see https://github.com/HabitRPG/habitrpg/issues/4591#issuecomment-72344790
2015-09-27 22:54:01 -05:00
Blade Barringer 86fd9cf32a Extract base into separate set 2015-09-27 09:59:29 -05:00
Blade Barringer 8bc70150c2 Remove unused module 2015-09-27 09:54:37 -05:00
Blade Barringer 43fbe23b05 Extract rogue gear into set 2015-09-27 09:53:43 -05:00
Blade Barringer 5d1a22848a Extra healer into set file 2015-09-27 09:47:59 -05:00
Blade Barringer 5a44d266f8 Extract wizard content to set file 2015-09-27 09:38:02 -05:00
Blade Barringer 3e335b591c Rewrite gear helper to take a whole set 2015-09-27 09:23:26 -05:00
Blade Barringer 40fc03263d Reformate warrior content file 2015-09-27 09:11:40 -05:00
Blade Barringer 4f0e822f09 Merge branch 'develop' into refactor-content 2015-09-26 17:04:57 -05:00
Blade Barringer 5652a47290 Move quest set defaults to helpers 2015-09-26 17:03:22 -05:00
Blade Barringer 70b68707b5 Move quest defaults function to helpers 2015-09-26 16:10:17 -05:00
Blade Barringer 6d7a7b2500 Add missing semi-colons 2015-09-26 16:04:11 -05:00
Blade Barringer 3ca761eccb Collect default and generator functions 2015-09-26 16:02:11 -05:00
Blade Barringer f73d1d35ee Collect translator functions together 2015-09-26 15:58:54 -05:00
Alys 6902d9aa2f swap README files for en and zk. What WAS I thinking? 2015-09-27 06:52:23 +10:00
Alys 7b4c50bdb7 update locales edit/translate instructions 2015-09-27 06:13:56 +10:00
Blade Barringer 64b36f8f2a Merge pull request #5916 from TheHollidayInn/user-remove-invites-when-cancels-account-tests
Added test to check that group invites are removed when user cancels account
2015-09-26 12:44:12 -05:00
Alys b9490a2aa4 change --no-bin-link to the correct --no-bin-links for npm install step - ref https://docs.npmjs.com/cli/install 2015-09-26 09:11:23 +10:00
Blade Barringer cc6117fd17 Refactor eggs 2015-09-25 17:53:58 -05:00
Blade Barringer bd8d9415e0 Move hatching potion tranform to helpers 2015-09-25 17:53:43 -05:00
Blade Barringer 68cd51fbb0 Move egg function to helpers 2015-09-25 17:34:17 -05:00
Blade Barringer 373f2757ca Move background function to helpers 2015-09-25 17:16:30 -05:00
Sabe Jones 8dcfe3078f fix(inventory): Missing pixel paws 2015-09-25 16:31:07 -04:00
Sabe Jones 926bedcfea fix(test): Change quest's canBuy to fn call 2015-09-25 15:16:17 -04:00
Sabe Jones 38bdbf020b feat(content): Generalize canBuy 2015-09-25 15:01:08 -04:00
Blade Barringer 77d75c164e Use helper for backgrounds 2015-09-25 12:59:38 -05:00
Blade Barringer c21802e7e7 Merge branch 'develop' into refactor-content 2015-09-25 12:22:11 -05:00
Blade Barringer 3d1bbaf6ef Move Content index file to js 2015-09-25 12:09:43 -05:00
Blade Barringer 8145d5a77c Correct export of quest module 2015-09-25 12:09:11 -05:00
Matteo Pagliazzi a0f84bcf48 fix a few eslint rules 2015-09-25 15:58:39 +02:00
Matteo Pagliazzi 5ac46716a3 add eslint tasks to gulp, remove .jshintrc 2015-09-25 15:44:45 +02:00
Blade Barringer 3bb48063c9 Correct saddle 2015-09-25 08:08:44 -05:00
Sabe Jones b27a12b54d Merge pull request #5973 from HabitRPG/sabrecat/quest-analytics
Track daily quest progress in server-side analytics
2015-09-24 20:57:07 -05:00
TheHollidayInn bfca612be2 Moved intial filtering to a scope function and added test 2015-09-24 16:39:53 -05:00
Sabe Jones 04416c4d73 feat(pets): Improve egg canBuy logic 2015-09-24 17:33:58 -04:00
Sabe Jones 5d6efd4f9d fix(sprite): clean up horse 2015-09-24 15:52:41 -05:00
Sabe Jones 0ceba13e7c feat(analytics): Track daily progress
Adds progressUp and progressDown event properties to the Cron analytics event. With these, we can total up the site population's quest progress, both positive and negative, for the purposes of estimating likely pace of battle with a World Boss. Note that these values are tracked regardless of whether or not the user is currently questing.
2015-09-24 16:40:20 -04:00
Sabe Jones 6d6f0f597b feat(world-boss): Dry run 2015-09-24 15:39:16 -04:00
Blade Barringer c051325f85 Remove lodash from content index 2015-09-23 17:57:20 -05:00
Blade Barringer d0e8afc068 Move mystery set transform to mystery set module 2015-09-23 17:56:44 -05:00
Blade Barringer 363b086a5c Move time travelers store to separate module 2015-09-23 17:42:54 -05:00
Blade Barringer f3a99893bc Clean up file 2015-09-23 17:29:12 -05:00
Blade Barringer 6f8511c6a6 Move potion and armoire into separate modules 2015-09-23 17:28:20 -05:00
Sabe Jones 1aa5757847 fix(magic-potions): Hatching tweaks
* Additional notes on popover noting magic potions can't be used on quest pet eggs
* Less techy error message when attempting to hatch quest pet egg with magic potion
* Don't highlight quest pet eggs as targets for magic hatching potion
2015-09-23 16:40:45 -04:00
Sabe Jones c953a25fe4 Merge branch 'develop' into sabrecat/magic-potions 2015-09-23 16:08:47 -04:00
Sabe Jones 35068481c4 chore(news): Fall plotline Bailey 2015-09-23 15:58:13 -04:00
Sabe Jones c2269b5f35 Merge pull request #5967 from HabitRPG/sabrecat/content-201509
September subscriber items and Fall Festival avatar customizations
2015-09-23 14:43:06 -05:00
Sabe Jones 009c92b532 feat(content): September sub items and customizations 2015-09-23 15:23:42 -04:00
Blade Barringer 3578e05979 Move spell function into separate module 2015-09-23 12:53:43 -05:00
Blade Barringer f3bfded624 Correct content file 2015-09-23 08:11:53 -05:00
Blade Barringer 955c163544 Merge branch 'develop' into refactor-content 2015-09-23 07:52:36 -05:00
Blade Barringer 90387707d8 Move flattening function to gear module 2015-09-22 20:53:51 -05:00
Blade Barringer 4a6c380dc3 Set up warrior set 2015-09-22 19:59:07 -05:00
Blade Barringer edce15a722 Add generateGearSet function 2015-09-22 17:39:00 -05:00
Sabe Jones 6a6b67b9c1 Merge pull request #5909 from HabitRPG/sabrecat/social-buttons
Front page Tweet button
2015-09-22 17:38:47 -05:00
Sabe Jones 8c67d22a91 feat(pets): Full purchase behavior 2015-09-22 17:03:41 -04:00
Sabe Jones e96410aa57 feat(pets): Spooky pets/mounts 2015-09-22 14:23:52 -04:00
Blade Barringer 7948e8a8e2 Create merge function 2015-09-22 13:00:46 -05:00
Blade Barringer ed5abf44e1 Move food defaults function into helpers 2015-09-22 12:46:48 -05:00
Sabe Jones cd9c372254 feat(pets): Spooky sprites 2015-09-22 12:45:59 -04:00
Blade Barringer 8eeffeb2a9 Consolidate helpers 2015-09-22 08:16:38 -05:00
TheHollidayInn 43c9683a8b Added param to filter challenges by guild when a challenge is first clicked from guild 2015-09-21 19:35:14 -05:00
Blade Barringer ad7e01d87e Move translator to helpers.js 2015-09-21 17:35:27 -05:00
Blade Barringer 0e6f563c1f Add sets 2015-09-21 17:25:14 -05:00
Blade Barringer f94c8e1060 Move gear types to separate folders 2015-09-21 17:24:42 -05:00
Sabe Jones acd3480b51 fix(test): Remove only 2015-09-21 17:14:57 -04:00
Sabe Jones 389b5b370a feat(pets): Magic Hatching Potions WIP 2015-09-21 17:12:23 -04:00
Sabe Jones 87f6af346a fix(misc): Tweaks
* Updates the text shown for Mystic Hourglasses in the inventory to account for new features.
* Fixes the date range for the Fall Festival to correctly start September 21.
* Updates test for the Inventory Controller to use lodash for object key iteration.
2015-09-21 13:59:00 -04:00
Blade Barringer 5469d1cb05 Correct candy 2015-09-21 12:29:33 -05:00
Blade Barringer cbc31cbce1 Correct food 2015-09-21 12:27:59 -05:00
Blade Barringer 1610a62b82 Move gear to separate module 2015-09-21 12:20:10 -05:00
Blade Barringer 90fc76d44c Correct module name 2015-09-21 12:13:24 -05:00
Blade Barringer 7aba6a6b99 Move item list to separate module 2015-09-21 12:10:39 -05:00
Sabe Jones b3297383d3 Merge pull request #5954 from HabitRPG/sabrecat/fall-2015
Fall Festival 2015
2015-09-21 12:06:40 -05:00
Blade Barringer 050be4a3db Add babel task as dependency 2015-09-21 12:01:06 -05:00
Sabe Jones b608e061a5 test(drops): Generalize 2015-09-21 12:57:35 -04:00
Blade Barringer 9b8e6534d0 Add pets and egss as modules 2015-09-21 09:02:12 -05:00
Blade Barringer 1d4159ebf3 Split out spells into separate modules 2015-09-21 08:56:34 -05:00
Blade Barringer d02d8159e4 Use es2015 default args 2015-09-20 21:14:42 -05:00
Blade Barringer c4ef6623f0 Add defaults to main file for quests 2015-09-20 21:05:16 -05:00
Blade Barringer 66b575ce20 Split quests into separate files 2015-09-20 20:46:35 -05:00
Blade Barringer fc00821206 Correct hatching potions 2015-09-20 08:42:37 -05:00
Blade Barringer 8b96e2ed1a Move hatching potions to separate module 2015-09-20 07:46:30 -05:00
Blade Barringer 7697b6f4a2 Split food out into separate files 2015-09-20 07:35:03 -05:00
Blade Barringer 90a0bc7e2d Move food to separate module 2015-09-20 07:10:35 -05:00
Blade Barringer 5550125455 Move quest categories to module 2015-09-20 06:55:21 -05:00
Blade Barringer bd6d8c1595 Move quests to separate module 2015-09-19 21:49:17 -05:00
Blade Barringer 278e3ca6d6 Clean up envName creation 2015-09-19 21:16:48 -05:00
Blade Barringer a4f0d96606 Move backgrounds to module 2015-09-19 21:12:09 -05:00
Blade Barringer 301ce56a5b Use import syntax 2015-09-19 19:45:53 -05:00
Blade Barringer b7cd46a6fe Move subscription blocks to separate module 2015-09-19 19:42:47 -05:00
Blade Barringer 4cb7ae4f6f Add translator 2015-09-19 19:42:38 -05:00
Blade Barringer 110480be5a Use single quotes 2015-09-19 19:37:40 -05:00
Blade Barringer 1c0943b5a4 Add parens 2015-09-19 19:36:54 -05:00
Blade Barringer c01795af2a Move user defaults to separate module 2015-09-19 19:36:35 -05:00
Blade Barringer 6665339229 Remove dist location variable. Wasn't working for some reason :( 2015-09-19 19:29:56 -05:00
Blade Barringer b51ca509ca Change to export syntax 2015-09-19 19:29:15 -05:00
Blade Barringer fd0dcbebde chore(i18n): update locales 2015-09-19 15:19:47 -05:00
Blade Barringer 87197bea8a Merge branch 'LuneFox-develop' into develop 2015-09-19 10:41:47 -05:00
Blade Barringer 2a530a207d Rename translation key 2015-09-19 10:41:21 -05:00
Blade Barringer ca6137a24e Remove unneeded file 2015-09-19 09:11:51 -05:00
LuneFox 512b959cab Merge pull request #1 from LuneFox/origin
#5955
2015-09-19 02:01:43 +03:00
LuneFox 8ae1c35b27 added string for askQuestion 2015-09-19 01:57:30 +03:00
Alys f7478aa81d add value 100 (gold cost) to Enchanted Armoire items that were missing it 2015-09-19 08:46:04 +10:00
LuneFox 91a0e0452e added match for askQuestion 2015-09-19 01:12:30 +03:00
LuneFox ec336c4f88 added link to the newbies guild 2015-09-19 01:11:27 +03:00
Sabe Jones bbf9f45aa4 fix(test): Seasonal food drop 2015-09-18 15:32:24 -04:00
Sabe Jones aed39a206d fix(services): Remove accidental WIP inclusion 2015-09-18 15:24:56 -04:00
Sabe Jones 3e8a3ee5f4 feat(event): Fall Festival 2015 2015-09-18 15:19:59 -04:00
Sabe Jones 6449fbdbc0 feat(event): Fall 2015 sprites 2015-09-18 12:42:55 -05:00
Kevin Gisi ff52aca587 Merge pull request #5951 from HabitRPG/revert-5943-revert-5912-group-remove-party-invites-when-last-member-leaves
Revert "Revert "Removed user's party invites when last user leaves pa…
2015-09-17 20:27:52 -07:00
Kevin Gisi 4525ee5358 Revert "Revert "Removed user's party invites when last user leaves party"" 2015-09-17 23:27:21 -04:00
Blade Barringer 85a16b62e5 Add babel task and move to src directory 2015-09-17 17:42:53 -05:00
Blade Barringer 993b568ad8 Add mount names for all drop pets and make creation more programmic 2015-09-17 12:43:42 -05:00
Blade Barringer df5a434d71 Move drop eggs into separate module 2015-09-17 08:45:35 -05:00
Blade Barringer c64fd6e321 Move drop eggs to separate file 2015-09-17 08:42:21 -05:00
Blade Barringer 550ceb8701 Remove uneeded .js extension 2015-09-17 08:09:47 -05:00
Blade Barringer 4681fc6c96 Move card types to separate file 2015-09-17 08:08:09 -05:00
Blade Barringer d20354dd47 Es2015ify the js content 2015-09-17 08:03:33 -05:00
Blade Barringer eaaac546b9 Move translator file into helpers folder 2015-09-17 07:47:23 -05:00
Blade Barringer a1d7ad70af Move spells to won file 2015-09-17 07:41:19 -05:00
Kevin Gisi e15cc9ec82 Merge pull request #5943 from HabitRPG/revert-5912-group-remove-party-invites-when-last-member-leaves
Revert "Removed user's party invites when last user leaves party"
2015-09-17 01:08:37 -07:00
Kevin Gisi c26cd1fe5b Revert "Removed user's party invites when last user leaves party" 2015-09-17 04:00:07 -04:00
Sabe Jones 347d028af7 fix(API): Fix inaccessible route
Mystic Hourglass routes aren't yet used by live code.
2015-09-17 01:57:28 -04:00
Blade Barringer eecc4e4a22 Rename mystery sets module 2015-09-16 20:29:26 -05:00
Blade Barringer 50d7adcae8 Extract mystery items into module 2015-09-16 20:28:46 -05:00
Blade Barringer ccdcd32174 Extract time traveler stable into separate module 2015-09-16 20:22:42 -05:00
Blade Barringer 504a2e7a52 Move events to own module 2015-09-16 20:12:09 -05:00
Blade Barringer 8881dbc034 Remove uneeded blank spaces 2015-09-16 20:01:42 -05:00
Sabe Jones 09ccb9584f Merge pull request #5938 from HabitRPG/sabrecat/timetravel-stable
Time Travel Stable
2015-09-16 18:31:48 -05:00
Sabe Jones 15cddabd80 fix(test): Remove only 2015-09-16 19:21:05 -04:00
Sabe Jones f8db8f597a refactor(test): Give user mystery items
...instead of stubbing out timeTravelerStore
2015-09-16 19:16:21 -04:00
Sabe Jones 9be0990217 chore(news): Bailey 2015-09-16 2015-09-16 18:34:20 -04:00
Sabe Jones eb0dd636c1 feat(hourglass): Confirm before buy 2015-09-16 17:40:25 -04:00
Sabe Jones fb50f27fa7 fix(hourglass): Use method on $scope 2015-09-16 16:46:12 -04:00
Sabe Jones 98cd8364c6 feat(hourglass): Individual filter functions 2015-09-16 16:35:04 -04:00
Sabe Jones 2bde07fa1c fix(test): Call hasAll correctly 2015-09-16 16:12:29 -04:00
Sabe Jones 7cc29810f3 fix(test): inject Content
Also refactors to remove lodash where it's overkill.
2015-09-16 16:01:13 -04:00
Sabe Jones 3bfeb15715 test(hourglass): TDD for Time Travel filtering 2015-09-16 15:27:19 -04:00
Sabe Jones c8cc01fc44 feat(hourglass): Buy pets/mounts
Functionally complete as of this commit. Further commits will provide more polish and refactoring.
2015-09-16 14:35:43 -04:00
Sabe Jones 25b133c562 Merge branch 'develop' into sabrecat/timetravel-stable 2015-09-16 12:48:12 -04:00
Blade Barringer e5b19344f6 Use $(npm bin) in gulp test 2015-09-16 08:18:50 -05:00
Blade Barringer 3c1fd385fa Rename existing api tests to api-legacy 2015-09-16 08:12:47 -05:00
Blade Barringer c9c169a0fb Merge pull request #5912 from TheHollidayInn/group-remove-party-invites-when-last-member-leaves
Removed user's party invites when last user leaves party
2015-09-16 07:59:32 -05:00
Blade Barringer f71e3e20eb Merge pull request #5934 from HabitRPG/adjustments_to_group_front_end_only
Adjustments to group quest behavior
2015-09-15 18:57:32 -05:00
Blade Barringer 4c84728873 Removes quest from group if quest leader is booted 2015-09-15 18:10:31 -05:00
Blade Barringer a655242c49 Correct test assertion 2015-09-15 17:38:22 -05:00
Blade Barringer e0c30a4214 Merge pull request #5935 from ziir/use-npm-bin
Ensure NPM scripts always use local binary
2015-09-15 17:21:52 -05:00
Tim PILLARD 6a96a2910e Ensure NPM scripts always use local binary 2015-09-16 00:19:19 +02:00
Blade Barringer 9abe67b0ad Prevent quest leaders from leaving party
(cherry picked from commit dc43aa5902)
2015-09-15 16:41:50 -05:00
Blade Barringer f8850755d0 Correct leave call to prevent leaving if quest is in progress
(cherry picked from commit eddea562f4)
2015-09-15 16:41:25 -05:00
Blade Barringer 78fe1073d4 Add user sync to sendAction 2015-09-15 16:39:08 -05:00
Sabe Jones 6e4cc4b35b fix(API): Missing colons 2015-09-15 15:47:19 -04:00
Sabe Jones ce764ca28e WIP(hourglass): Mystery sets API route 2015-09-15 15:41:57 -04:00
Sabe Jones 2ce52e980d feat(hourglass): Buy pets/mounts 2015-09-15 14:55:38 -04:00
Sabe Jones 66a8be526b WIP(hourglass): Error catches 2015-09-15 12:40:01 -05:00
Sabe Jones bc16ec1729 Merge branch 'develop' into sabrecat/timetravel-stable 2015-09-15 11:32:28 -05:00
Blade Barringer 6aa04aa6fb Add another dev dep to deps 2015-09-15 10:57:18 -05:00
Blade Barringer 0fe6054b76 Add missing client code 2015-09-15 10:53:56 -05:00
Blade Barringer 41afe0a2f5 Add another dev dep to deps 2015-09-15 10:49:28 -05:00
Blade Barringer 76bd6cbd59 Move some dev dependencies to normal dependencies 2015-09-15 10:38:48 -05:00
Blade Barringer b32e521c56 Pull in client side changes for quest routes 2015-09-15 09:35:17 -05:00
Sabe Jones 580a9871b9 chore(news): Bailey 2015/09/14 2015-09-14 21:21:22 -05:00
Blade Barringer 38e07246da chore(i18n): update locales 2015-09-13 18:38:59 -05:00
Blade Barringer 737b4703e6 Fix markdown bug in faq. Fixes #5920 2015-09-13 18:36:36 -05:00
Blade Barringer d573f3c53d Merge branch 'melarish-Mystery_items_already_owned' into develop 2015-09-13 18:28:18 -05:00
Blade Barringer 5974c7e079 Simplify time travelers page 2015-09-13 18:27:57 -05:00
Blade Barringer d5eaaefa72 Adjust positioning of alert message 2015-09-13 16:56:39 -05:00
Blade Barringer 5553d74334 Create method to calculate whether or not user has attained all mystery equipment 2015-09-13 16:26:29 -05:00
Blade Barringer b6f02d388f Correct method to correctly add an hourglass in debug menu 2015-09-13 16:25:57 -05:00
Blade Barringer 50b709045d Remove only from test 2015-09-13 16:24:46 -05:00
Alys 909ab4eb35 remove extra line breaks from "What are some sample tasks?" FAQ question - fixes https://github.com/HabitRPG/habitrpg/issues/5920 2015-09-14 07:07:12 +10:00
Alys cbd5626cfd remove FAQ from CONTRIBUTING.md - it's less relevant there and confusing now that we have two FAQs 2015-09-14 06:58:11 +10:00
Blade Barringer e554309822 Add route to add a hourglass 2015-09-13 15:09:41 -05:00
Blade Barringer 33c51a77d9 Add unit test for addTenGems route 2015-09-13 14:42:10 -05:00
Blade Barringer 5e9b74a2b9 Add test for addHourglass 2015-09-13 10:01:14 -05:00
Blade Barringer 7e97b73e8b Add test for addTenGems 2015-09-13 09:59:46 -05:00
Blade Barringer edbdab5912 Add test shells for debug mode functions 2015-09-13 09:47:34 -05:00
Blade Barringer 7c8a46b178 Move message into alert box 2015-09-13 09:34:54 -05:00
Blade Barringer cd4ec5bd12 Adjust formatting in footer controller 2015-09-13 02:19:34 -05:00
Blade Barringer 7aad958062 Merge pull request #5922 from crookedneighbor/gulpify
Gulpify the sprites tasks
2015-09-13 02:15:05 -05:00
Blade Barringer 14fabfbe40 Remove excess white space 2015-09-12 22:34:58 -05:00
Blade Barringer dab6b555c4 Revert files 2015-09-12 22:32:13 -05:00
Blade Barringer 41458fbd5b chore(i18n): update locales 2015-09-12 22:26:30 -05:00
Blade Barringer be6acd7c09 Move post to slack function to task helper 2015-09-12 22:23:08 -05:00
Blade Barringer b65c8e3b16 Change directory name from guides to scenes 2015-09-12 21:23:41 -05:00
Blade Barringer 5876c37271 Remove underscores from function names 2015-09-12 21:04:38 -05:00
Blade Barringer a0e5ea6f4f Reformat sprite tasks 2015-09-12 20:43:04 -05:00
Blade Barringer 1df4cf81dd compile sprites using gulp 2015-09-12 11:22:15 -05:00
Blade Barringer c2eb916be1 Add cssmin task to build:dev 2015-09-12 11:19:56 -05:00
Blade Barringer d79427e879 Functionify sprite task creation 2015-09-12 11:09:29 -05:00
Blade Barringer 2c2ab97666 Move larger sprites to separate folder 2015-09-12 11:09:08 -05:00
Blade Barringer 1a28c37167 Reorganize sprite task 2015-09-12 10:51:15 -05:00
Blade Barringer 43576addf8 Refactor sprite indicies function 2015-09-12 10:24:06 -05:00
Blade Barringer 384ee42bca Remove unused sprites 2015-09-12 08:35:18 -05:00
Blade Barringer 5cea988891 Calculate number of sprite tasks by img dimensions 2015-09-12 08:27:05 -05:00
Alys fbfd2ef0ea add a missing closing bracket to the end of webFaqAnswer6 2015-09-12 23:22:47 +10:00
Blade Barringer 17efad6a30 Rework compiled dimensions task to not rely on lodash 2015-09-11 20:53:32 -05:00
Alys 365a58641d Merge pull request #5917 from Alys/audio-LuneFox-2015-09-09
new audio theme from LuneFox
2015-09-12 11:24:12 +10:00
Alys fbaa5d4321 add new audi theme from LuneFox, moved themes to alphabetical order, adjusted file permissions for Watts Theme 2015-09-12 11:05:31 +10:00
Blade Barringer d3d365a74a Move sprites task to gulp 2015-09-11 19:59:06 -05:00
TheHollidayInn aab7d5c257 Added test to check that group invites are removed when user cancels account 2015-09-11 12:56:19 -05:00
TheHollidayInn 26e6126a25 Removed redundant code when removing group invitations 2015-09-11 12:14:01 -05:00
TheHollidayInn 5c8c5a9ed3 Removed user's party invites when last user leaves party 2015-09-10 23:29:32 -05:00
Sabe Jones 6396b064d2 fix(social): Localize Tweet button 2015-09-10 18:51:19 -04:00
Sabe Jones 45c8bb06e2 Revert "feat(modals): Simplified scroll drop"
This reverts commit 8b4d34da00.
2015-09-10 18:08:51 -04:00
Sabe Jones c03107b54b feat(social): Twitter share main page 2015-09-10 17:54:40 -04:00
Sabe Jones 9d5f9328da WIP(social): Twitter widget script 2015-09-10 17:44:52 -04:00
Sabe Jones e4c7870c22 WIP(social): Non-AddThis Tweet button 2015-09-10 17:31:12 -04:00
Sabe Jones 7a10715eee WIP(social): Tweaked Twitter desc 2015-09-10 17:12:00 -04:00
Sabe Jones 4492007f49 feat(social): Twitter meta on front 2015-09-10 16:36:23 -04:00
melarish 05cf144630 Pulled and merged 2015-09-09 23:23:45 +01:00
Matteo Pagliazzi e86809dc07 fix leaving group 2015-09-09 22:41:41 +02:00
Matteo Pagliazzi 0330735e8e fix migrations 2015-09-09 22:32:12 +02:00
Sabe Jones 3931894d97 Merge pull request #5897 from HabitRPG/sabrecat/pet-201509
September 2015 Pet Quest
2015-09-09 11:29:51 -07:00
Sabe Jones 8b4d34da00 feat(modals): Simplified scroll drop 2015-09-09 14:27:34 -04:00
melarish f3ec5ccb89 Added whitespace before all items owned message 2015-09-09 17:40:59 +01:00
Blade Barringer bd1ae09749 Simplify scripts (node scripts use ./node_modules version of things by default) 2015-09-09 09:04:10 -05:00
Blade Barringer addf19afc1 Add nvmrc file 2015-09-09 06:57:57 -05:00
Blade Barringer ddfb5c92ab Merge pull request #5899 from crookedneighbor/gulp-ify-start
Gulp-ify the start process
2015-09-09 06:46:06 -05:00
Matteo Pagliazzi d64ce2fcdf fix groups migration 2015-09-09 11:43:00 +02:00
Matteo Pagliazzi c292d7b438 Merge pull request #5888 from TheHollidayInn/groups-delete-when-last-member-leaves
Groups delete when last member leaves
2015-09-09 11:26:04 +02:00
TheHollidayInn ca37f4161c Removed firebase deleteGroup to post remove 2015-09-08 21:17:28 -05:00
TheHollidayInn cf2548693f Changed cb2 to cb and removed extra query when removing group 2015-09-08 20:12:58 -05:00
Blade Barringer 1406166823 remove unneeded require 2015-09-08 16:21:02 -05:00
TheHollidayInn c7d09acd74 Moved inivtation removal functions to group pre remove middleware 2015-09-08 15:58:53 -05:00
Blade Barringer a85116540c Move run:dev task to gulp 2015-09-08 15:45:09 -05:00
Sabe Jones 74cb7d7f04 chore(news): Horse Bailey 2015-09-08 14:56:49 -04:00
Sabe Jones 41b4d497f7 Merge branch 'develop' into sabrecat/pet-201509
Conflicts:
	common/dist/sprites/habitrpg-shared.css
	common/dist/sprites/spritesmith2.css
	common/dist/sprites/spritesmith2.png
	common/dist/sprites/spritesmith3.css
	common/dist/sprites/spritesmith3.png
	common/dist/sprites/spritesmith4.css
	common/dist/sprites/spritesmith4.png
2015-09-08 13:25:10 -05:00
Mel Marley def3eb5c36 Now correctly displays message when user owns all Mystery items 2015-09-08 17:49:56 +01:00
Mel Marley 2bddd79ffd Some things I tried 2015-09-08 13:59:34 +01:00
Sabe Jones 54fde74c29 feat(analytics): Track another partying button 2015-09-07 22:31:41 -04:00
Sabe Jones f8ce7c2292 fix(analytics): Track modals correctly
Fixes #5879.
2015-09-07 22:23:42 -04:00
Sabe Jones 9421c63ac9 fix(FAQ): Remove sample task anchors 2015-09-07 21:58:56 -04:00
Sabe Jones f044f83772 Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop 2015-09-07 21:55:28 -04:00
Blade Barringer bb06e95c4e Add emoji class to list of classes that should not use pixelated rendering 2015-09-07 15:29:24 -05:00
Blade Barringer 325fa976f6 chore(i18n): update locales 2015-09-07 15:27:52 -05:00
Sabe Jones d6f416b6d3 feat(analytics): Track party buttons 2015-09-07 12:02:01 -04:00
Blade Barringer 168ba0c96c Merge pull request #5887 from HabitRPG/sabrecat/faq
Static FAQ page
2015-09-06 20:34:49 -05:00
Blade Barringer 31aace95ef Merge pull request #5894 from crookedneighbor/merge-faqs
Merge faqs
2015-09-06 20:32:05 -05:00
Blade Barringer c9af8e60b8 Adjust formatting 2015-09-06 20:29:09 -05:00
Blade Barringer 82b7bb3a1b Add markdown to faq 2015-09-06 19:46:29 -05:00
Blade Barringer 205bbeee75 Add marked to jade rendering 2015-09-06 19:45:35 -05:00
Blade Barringer 1e29020df9 Add marked to packagejson 2015-09-06 19:44:55 -05:00
Blade Barringer e32de87991 Adjust numbering of faq.js 2015-09-06 19:44:37 -05:00
Blade Barringer ebc069747b Zero index faq strings 2015-09-06 19:43:52 -05:00
Blade Barringer 0b99f77a1c Simplify web faq 2015-09-06 18:30:01 -05:00
Blade Barringer 6fd2b9e537 Update content with web faq 2015-09-06 17:13:04 -05:00
Blade Barringer 6a1d4adcda Merge branch 'develop' into HabitRPG-sabrecat/faq 2015-09-06 17:10:45 -05:00
TheHollidayInn 82a3ca8a4d Merged changes to firebase branch 2015-09-06 16:58:44 -05:00
Blade Barringer d02f2d34e3 Merge pull request #5893 from crookedneighbor/content-faq
Content FAQ for iOS
2015-09-06 16:38:18 -05:00
Blade Barringer 2fcc7df218 Change name of locales keys 2015-09-06 16:36:21 -05:00
Blade Barringer 1bce23c12b Transform magic number to constant 2015-09-06 16:22:06 -05:00
Blade Barringer 898ea845b3 Convert translation function to js 2015-09-06 16:20:14 -05:00
Blade Barringer 245c7d48c8 Simplify faq logic 2015-09-06 16:11:53 -05:00
Blade Barringer 4081a9a62a Add faq to content 2015-09-06 16:08:53 -05:00
Blade Barringer 6bad9623d8 Remove link 2015-09-06 16:08:22 -05:00
Blade Barringer 8a06514c72 Move translation function to separate module 2015-09-06 15:54:38 -05:00
TheHollidayInn b839c0cd0c Change condition scope to fix updating for public guilds with a member count of 1 2015-09-06 15:31:41 -05:00
TheHollidayInn 700a6ddd9e Remove users inviations when guild is deleted 2015-09-06 15:31:40 -05:00
TheHollidayInn e68e29db8f Delete private guilds or parties when last member leaves. 2015-09-06 15:31:40 -05:00
Blade Barringer 5045ce3b2f Add FAQ 2015-09-06 15:31:20 -05:00
Blade Barringer b9bbc3f1ea Move content to own directory 2015-09-06 15:31:08 -05:00
Matteo Pagliazzi 15eef927a2 fix leaders migrations when there are no other members 2015-09-06 22:18:22 +02:00
Matteo Pagliazzi ea477823f6 Merge pull request #5885 from HabitRPG/paglias/firebase-requirements
Changes necessary for Firebase
2015-09-06 21:29:43 +02:00
Matteo Pagliazzi bfd6d055b0 merge into develop 2015-09-06 21:21:39 +02:00
Blade Barringer 82030a50fb Add faq to other languages 2015-09-06 13:54:40 -05:00
Blade Barringer 7bfa18fd05 chore(i18n): update locales 2015-09-06 13:33:29 -05:00
Blade Barringer 4177202cee Merge pull request #5855 from HabitRPG/sabrecat/party-page
Party Page Revamp
2015-09-06 13:28:14 -05:00
Blade Barringer 9896851001 Merge pull request #5890 from HabitRPG/change_custom_day_start
Change custom day start to ask for confirmation and prevent immediate cron
2015-09-06 13:28:04 -05:00
Matteo Pagliazzi 4600e96dc0 firebase can be enabled through config 2015-09-06 20:19:53 +02:00
Matteo Pagliazzi 607ddbb1f2 typos and disable firebase 2015-09-06 20:11:24 +02:00
Matteo Pagliazzi ef9aecf531 disable firebase syncing for tavern 2015-09-06 20:08:31 +02:00
Matteo Pagliazzi 6e2b3a805e migration to sync groups with firebase 2015-09-06 19:44:55 +02:00
Matteo Pagliazzi 4bb2c33e40 fix problems with migrations and start firebase migration 2015-09-06 19:23:11 +02:00
Matteo Pagliazzi 45f2b093f8 add migrations to fix groups 2015-09-06 19:10:24 +02:00
Blade Barringer 346440d32c Disable cds button if cds == user's preference 2015-09-06 10:14:44 -05:00
Blade Barringer ee50fec2c1 Tweak wording of custom day start warning 2015-09-06 10:11:28 -05:00
Blade Barringer 074e683ba7 Change formatting of cds modal 2015-09-06 09:57:44 -05:00
Blade Barringer 0508f77ed4 Change wording of cds modal message 2015-09-06 09:45:12 -05:00
Blade Barringer a44cd748af Use the user's preferred date format 2015-09-06 09:42:48 -05:00
Blade Barringer f1224bc6be Use select instead of an input for cds 2015-09-06 09:36:29 -05:00
Matteo Pagliazzi b395596614 firebase should only run in production 2015-09-06 16:35:49 +02:00
Matteo Pagliazzi 995e3a796d store group name on firebase 2015-09-06 16:29:45 +02:00
Blade Barringer 085a785e4d Convert input to select box 2015-09-06 09:22:40 -05:00
Matteo Pagliazzi 4c89538d18 typos and comments 2015-09-06 16:22:12 +02:00
Matteo Pagliazzi 521c999963 delete groups and users from firebase when deleted on habitica 2015-09-06 16:09:13 +02:00
Blade Barringer 3a8eda6c1a Remove extraneous info about last cron 2015-09-05 15:35:07 -05:00
Blade Barringer 9ce6144fa4 Adjustments to custom day start 2015-09-05 15:32:49 -05:00
Blade Barringer d45602c340 Adjust spacing 2015-09-05 09:45:08 -05:00
Blade Barringer 310bb3dfd9 Format settings page 2015-09-05 09:39:30 -05:00
Matteo Pagliazzi 9764e31e2a firebase: remove instead of set(false) 2015-09-05 16:33:41 +02:00
Blade Barringer 9bcaea6fa2 Merge branch 'develop' into carolstone-chron-run-early-issue-4488 2015-09-05 09:32:24 -05:00
Matteo Pagliazzi db0a73d332 add router to get firebase token for user 2015-09-05 16:21:46 +02:00
Blade Barringer 6fc8e0b5a5 Merge branch 'develop' into sabrecat/party-page 2015-09-05 09:20:06 -05:00
Matteo Pagliazzi c89cf20bd3 sync groups' members with firebase 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi ec45a87dce fix tests 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi 0f1d514460 typo 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi 37ae48891c wip: firebase 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi f5f19d146e start adding firebase 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi 6d91a1905a remove unnecessary code 2015-09-05 15:44:45 +02:00
Matteo Pagliazzi d9383e0f97 add Group.methods.leave, user is removed from groups when his account is deleted 2015-09-05 15:44:44 +02:00
Matteo Pagliazzi e5f4898222 when last user is removed from private group, delete the group 2015-09-05 15:44:44 +02:00
Blade Barringer 37b230b940 Add in @thehollidayinn's test from #5885 2015-09-05 15:44:44 +02:00
Matteo Pagliazzi ee9b3d7857 remove unnecessary code 2015-09-05 15:44:44 +02:00
Matteo Pagliazzi d5fb2afaa4 add Group.methods.leave, user is removed from groups when his account is deleted 2015-09-05 15:44:44 +02:00
Matteo Pagliazzi 0cd35a374a when last user is removed from private group, delete the group 2015-09-05 15:44:44 +02:00
Blade Barringer c141ee6d1c Fix test 2015-09-05 08:14:55 -05:00
Blade Barringer f65ca3cf48 Fix bug where non-party members could not send invitations 2015-09-05 08:02:00 -05:00
Alys e0b57fa2c5 remove Show Classes Tour button from Settings page, and associated code 2015-09-05 17:29:27 +10:00
Blade Barringer 807e6eb7cf Merge branch 'develop' into sabrecat/party-page 2015-09-04 19:00:48 -05:00
Blade Barringer c41c4e2d41 Remove recursive call 2015-09-04 18:58:34 -05:00
Blade Barringer 1b7e9c9290 Add tests for group.invite 2015-09-04 18:40:12 -05:00
Blade Barringer 1d032a43a6 Format if else 2015-09-04 18:39:45 -05:00
Blade Barringer 43439741b2 add recursive call for server_side tests 2015-09-04 17:32:26 -05:00
Blade Barringer 90cea7016d Merge branch 'gulp_build' into develop 2015-09-04 17:10:47 -05:00
Sabe Jones fe89f950f4 fix(FAQ): Bad indent 2015-09-04 17:52:20 -04:00
Sabe Jones 7637b55195 fix(style): Move accordion tweaks to static.styl 2015-09-04 17:50:01 -04:00
Blade Barringer f746f6375f Remove container class 2015-09-04 16:47:12 -05:00
Blade Barringer 1eac011d0e Remove padding rule 2015-09-04 16:46:16 -05:00
Blade Barringer 047a88cef5 Merge branch 'zedutchgandalf-develop' into gulp_build 2015-09-04 16:35:45 -05:00
Blade Barringer 53a03b4396 Hide older news link in older news page 2015-09-04 16:32:05 -05:00
Blade Barringer 3e03ff124d Remove trailing blank spaces 2015-09-04 16:24:27 -05:00
Blade Barringer f7df464ebd Remove unneeded class 2015-09-04 16:24:10 -05:00
Sabe Jones 0a71037095 fix(accordion): Move jQuery to static.js 2015-09-04 17:19:23 -04:00
Blade Barringer c8c9d6c892 Set different gulp tasks for production use 2015-09-04 15:53:07 -05:00
Blade Barringer 7aae3d6aa9 Move gulp-grunt to regular dependency 2015-09-04 15:44:18 -05:00
Blade Barringer 3434a13782 Move glob to normal dependencies 2015-09-04 15:40:57 -05:00
Blade Barringer bc9c12f253 Move static new stuff task to gulp 2015-09-04 15:32:08 -05:00
Blade Barringer cfae45a5f7 Move build task to gulp 2015-09-04 15:30:44 -05:00
Blade Barringer d3360ec403 Hide all npm-debug logs from source control 2015-09-04 15:22:59 -05:00
Sabe Jones 8213643485 fix(FAQ): Link from Help button
Also swaps a couple of URLs to use HTTPS.
2015-09-04 15:12:17 -04:00
Sabe Jones 869651f5a2 feat(FAQ): Static FAQ page
Introduces a new static page for Frequently Asked Questions, linked from the Help menu. Fixes #5773.
2015-09-04 15:05:15 -04:00
Blade Barringer 0d78c01de3 Merge pull request #5877 from TheHollidayInn/guilds-user-becomes-lead-when-joins-empty-group
Groups now make joining user the leader when they are empty
2015-09-04 09:43:26 -05:00
Robin Arys e6a0f405e3 Fix Bailey's news modal 2015-09-04 15:56:32 +02:00
Robin Arys 39df743693 Change headers to use the proper ones 2015-09-04 15:52:34 +02:00
Robin Arys 345ab4bdbe Move repeated classes up one level into a div 2015-09-04 15:34:03 +02:00
Robin Arys c5d1f37499 Add small margin to images so text doesn't stick to them 2015-09-04 10:42:05 +02:00
Robin Arys a497724d18 Fix Bailey's modal 2015-09-04 10:41:40 +02:00
Robin Arys c7dc8d551b Remove small_news_header and big_news_header CSS classes 2015-09-04 10:41:22 +02:00
Robin Arys 60d176d578 Add ability to add an extra class to the container 2015-09-04 10:40:24 +02:00
Robin Arys 39c85b9938 Make CSS statement more precise to make sure I'm not changing stuff I don't want to change. 2015-09-04 00:42:55 +02:00
Robin Arys 74dc455183 fix spacing 2015-09-04 00:22:51 +02:00
Robin Arys d03acee4bc Redesign static old news page per #5836 2015-09-04 00:22:41 +02:00
Sabe Jones b5124e6cd8 fix(warnings): Show modal only once
Also removes a random extra newline.
2015-09-03 11:12:54 -04:00
Sabe Jones d29c7ff1bb Merge pull request #5878 from HabitRPG/sabrecat/modal-warnings
Modal warning for low health
2015-09-02 16:14:52 -05:00
Sabe Jones e6068b23a7 feat(analytics): Track low health modal 2015-09-02 17:03:32 -04:00
Sabe Jones 1a675b8461 feat(warning): Revised low health modal 2015-09-02 16:31:56 -04:00
Sabe Jones e82f73c712 Merge branch 'develop' into sabrecat/modal-warnings 2015-09-02 15:17:33 -04:00
Sabe Jones c370344164 test(time-travel): TDD for pets/mounts 2015-09-02 15:03:57 -04:00
Sabe Jones 1d6bd8f392 fix(style): Decap guild/party/chat 2015-09-02 13:50:34 -04:00
Sabe Jones 9eaa35ba2f test(time-travel): Rename test 2015-09-02 13:47:37 -04:00
TheHollidayInn 0adfcc3415 Groups now make joining user the leader when they are empty 2015-09-02 12:36:13 -05:00
melarish b2bb6016fa Added +1 Hourglass to debug menu 2015-09-02 18:12:48 +01:00
Blade Barringer ceebb33daf Merge pull request #5872 from HabitRPG/paglias/firebase
Firebase changes
2015-09-02 08:35:47 -05:00
Sabe Jones 7765f9ca04 test(mystery): Time Travelers test WIP 2015-09-01 17:37:39 -04:00
Sabe Jones 5274fd236a WIP(time-travel): Time Travel pets/mounts
Also begins process of adding tests for Mystic Hourglass purchases.
2015-09-01 17:17:50 -04:00
Sabe Jones 2c0d59989a feat(groups): Hide sync button when irrelevant
Also extends the "your party chat is empty" message to have a counterpart in Guilds.
2015-09-01 15:14:38 -04:00
Sabe Jones 6f85fcfde2 Merge branch 'develop' into sabrecat/party-page
Conflicts:
	common/dist/sprites/habitrpg-shared.css
	common/dist/sprites/spritesmith0.png
	common/dist/sprites/spritesmith2.png
	common/dist/sprites/spritesmith3.css
	common/dist/sprites/spritesmith3.png
	common/dist/sprites/spritesmith4.css
	common/dist/sprites/spritesmith4.png
2015-09-01 13:40:20 -05:00
Sabe Jones 3ccf09ca27 feat(quests): Horse quest 2015-09-01 13:26:41 -04:00
Sabe Jones daf3a2d2bc feat(pets): Horse sprites 2015-09-01 12:07:21 -05:00
Sabe Jones 68fef118e1 Merge pull request #5866 from HabitRPG/sabrecat/content-201509
Content 201509
2015-09-01 10:56:24 -05:00
Matteo Pagliazzi 7acec14e6b do not allow leaders to kick themselves from group 2015-09-01 16:33:24 +02:00
Blade Barringer 41c38c6e63 Merge branch 'TheHollidayInn-directives-test-task-focus' into develop 2015-08-31 20:36:07 -05:00
Blade Barringer 1d8b10dc99 Adjust formatting 2015-08-31 20:35:23 -05:00
Blade Barringer f4ca8bb78d Rename task-focus focus-element 2015-08-31 20:31:03 -05:00
Blade Barringer d5bd5f281c Rename file names 2015-08-31 20:21:01 -05:00
Blade Barringer c65ab56641 Remove focus-me directive 2015-08-31 20:17:30 -05:00
Blade Barringer 3e44c3a8ce Change focus-me to use task-focus 2015-08-31 20:16:14 -05:00
Blade Barringer 499e8578cd Merge branch 'TheHollidayInn-menu-fix-notification-menu-closing' into develop 2015-08-31 19:02:32 -05:00
Blade Barringer dc5c35bb17 Merge branch 'develop' into TheHollidayInn-menu-fix-notification-menu-closing 2015-08-31 19:01:11 -05:00
Blade Barringer ca49412313 Use === instead of == 2015-08-31 18:59:01 -05:00
Blade Barringer dfaaed05a4 Switch double quotes to single quotes 2015-08-31 18:54:06 -05:00
Blade Barringer 0bed76d336 Restructure test 2015-08-31 17:42:33 -05:00
Blade Barringer 8e2247ab3e Remove extraneous white space 2015-08-31 17:28:47 -05:00
Sabe Jones 5ba6cfc2f5 feat(content): September content adds 2015-08-31 18:16:54 -04:00
Kevin Gisi ae5ea39c58 Merge pull request #5864 from gisikw/develop
Fixed the wrong redirect
2015-08-31 17:59:54 -04:00
Kevin Gisi 69782b5bd1 Fixed the wrong redirect 2015-08-31 17:59:19 -04:00
TheHollidayInn 42066be2cf Fixed broken test by change element to a focusable element 2015-08-31 16:49:34 -05:00
Kevin Gisi 509f845389 Merge pull request #5862 from gisikw/develop
Domain redirects -> 301
2015-08-31 17:42:00 -04:00
Kevin Gisi 177c48820c Domain redirects -> 301 2015-08-31 17:34:18 -04:00
Sabe Jones c0a47130e4 chore(content): Compile sprites 2015-08-31 15:54:08 -05:00
melarish 348d7c356d Added missing modules to package.json 2015-08-31 13:54:33 +01:00
Sabe Jones 3ead359538 chore(news): August Last Chance Bailey 2015-08-30 21:06:25 -05:00
TheHollidayInn 1624fc4417 Adjusted var declration technique 2015-08-30 20:39:21 -05:00
Blade Barringer ee0bcb5309 Correct class name 2015-08-30 17:52:16 -05:00
Blade Barringer 6e7787dcf5 chore(i18n): update locales 2015-08-30 10:25:55 -05:00
Blade Barringer 0b4c03a678 chore(i18n): update locales 2015-08-29 17:41:19 -05:00
Blade Barringer 19c3e22176 chore(i18n): update locales 2015-08-29 11:46:01 -05:00
Blade Barringer cbea9f4200 chore(i18n): update locales 2015-08-29 07:38:54 -05:00
Blade Barringer 8cb11aa85d Remove merge conflict marking 2015-08-29 07:18:17 -05:00
Blade Barringer a0040d736f Merge branch 'develop' into sabrecat/party-page 2015-08-28 23:06:00 -05:00
Blade Barringer fcf187fb47 Remove logic for removing quest info 2015-08-28 22:55:02 -05:00
Blade Barringer 29c7dd3e77 Merge branch 'sabrecat/party-page' of github.com:HabitRPG/habitrpg into sabrecat/party-page 2015-08-28 22:41:50 -05:00
Blade Barringer 342343d34f Prevent user from leaving party during active quest 2015-08-28 22:41:30 -05:00
Blade Barringer 2e3c166a40 Add test for removing quest data from user 2015-08-28 21:58:00 -05:00
Blade Barringer 4af1a4d6ac Rename image rendering class 2015-08-28 21:48:42 -05:00
Blade Barringer dd1e69b9d5 Merge branch 'RossBrunton-develop' into develop 2015-08-28 21:42:16 -05:00
Blade Barringer df3c498fcc Add rasterize class 2015-08-28 21:41:53 -05:00
Sabe Jones 5e8894a0a6 fix(groups): Show specific invite modal 2015-08-28 16:48:39 -04:00
Sabe Jones 3ad95e1ab7 fix(tutorial): Unstick Justin head
Fixes #5497.
2015-08-28 16:12:45 -04:00
Sabe Jones 6ecf3a0e50 Merge pull request #5851 from HabitRPG/sabrecat/onboarding-tweaks
Sabrecat/onboarding tweaks
2015-08-28 13:50:42 -05:00
Sabe Jones 9e45017faa Merge branch 'develop' into sabrecat/onboarding-tweaks
Conflicts:
	common/dist/sprites/habitrpg-shared.css
	common/dist/sprites/spritesmith2.css
	common/dist/sprites/spritesmith2.png
	common/dist/sprites/spritesmith3.css
	common/dist/sprites/spritesmith3.png
	common/dist/sprites/spritesmith4.css
	common/dist/sprites/spritesmith4.png
2015-08-28 13:24:10 -05:00
Sabe Jones 8d713a53c4 feat(tutorial): Splash screen overhaul complete 2015-08-28 13:58:30 -04:00
Sabe Jones f308116c54 feat(tutorial): Moar avatars 2015-08-28 11:48:30 -05:00
Blade Barringer 15a6929b44 Merge branch 'develop' into sabrecat/party-page 2015-08-28 08:41:57 -05:00
Sabe Jones f88c536836 chore(news): Back to School Bailey 2015-08-27 16:20:15 -05:00
Sabe Jones f5c08c4ae5 WIP(tutorial): Gregarious Vice 2015-08-27 15:36:53 -05:00
Sabe Jones f8994a3ee3 WIP(tutorial): Revised images 2015-08-27 15:21:09 -05:00
Sabe Jones c4012ad762 WIP(tutorial): New intro splash 2015-08-27 16:04:59 -04:00
Ross Brunton 821d562998 Set image-rendering to pixelated
Closes #5846

I explictly disabled it on img because most things that use the img tag
tend not to be pixel art.
2015-08-27 19:17:42 +01:00
Sabe Jones 5c4ebef0a9 feat(tutorial): New intro images 2015-08-27 13:08:12 -05:00
TheHollidayInn 6fb29d8766 Added ability to close menu when a child element has closeMenu directive 2015-08-26 15:32:59 -05:00
Alys 049f9280a2 Merge pull request #5798 from Alys/rebirth-keeps-free-gear-2015-08-12
prevent Orb of Rebirth from removing free gear (equipment that has zero gold cost) - partial fix for https://github.com/HabitRPG/habitrpg/issues/5750
2015-08-26 22:01:29 +10:00
TheHollidayInn 06f59bed7c Added test for task-focus directive 2015-08-25 16:11:18 -05:00
Sabe Jones 2a8529012b feat(tutorial): GP and EXP awards 2015-08-25 17:09:51 -04:00
Sabe Jones 0c0525640c Merge branch 'develop' into sabrecat/onboarding-tweaks 2015-08-25 16:47:46 -04:00
Sabe Jones 6564cb52dc fix(news): wording tweak 2015-08-25 13:10:33 -04:00
Alys bbcb9e6063 fix problem of Cheetah Costume Set mystery items not staying put -- code is ugly, improve later 2015-08-25 19:23:25 +10:00
Sabe Jones 9ed1e2ba6d fix(mystery): Force coffee compile 2015-08-24 23:37:54 -05:00
Sabe Jones d70aa46ec1 fix(mystery): Adjust date range 2015-08-24 21:33:02 -05:00
Blade Barringer 5b583f43d6 Fix api and karma test 2015-08-24 18:07:21 -05:00
Blade Barringer 484609c634 Stub Q 2015-08-24 17:55:20 -05:00
Blade Barringer ce7d0039f8 Q-ify save functions 2015-08-24 17:36:06 -05:00
Sabe Jones 99a9647c46 Merge pull request #5837 from HabitRPG/sabrecat/august-mystery
August Mystery Items
2015-08-24 16:29:09 -05:00
Sabe Jones c23312f771 feat(mystery): 2015 August items 2015-08-24 17:19:12 -04:00
Sabe Jones a0e1d50bd6 feat(mystery): 2015 August sprites 2015-08-24 15:38:09 -05:00
Sabe Jones 23259cd456 WIP(tutorial): Award GP and XP 2015-08-24 16:02:25 -04:00
Blade Barringer f584b173c8 Add user scrub quest data back in 2015-08-24 12:58:31 -05:00
Blade Barringer 66d16fefc3 Send back 204 from questLeave route 2015-08-24 12:38:43 -05:00
Blade Barringer af20986fbc Simplify qroup service quest functions 2015-08-24 08:06:34 -05:00
Blade Barringer 928a54911a Return promises in groups service 2015-08-24 07:47:01 -05:00
Blade Barringer fbd4490dbc Fix sinon assertions 2015-08-24 07:46:37 -05:00
Blade Barringer bc24fa8130 Add front end button to leave quest 2015-08-23 22:38:55 -05:00
Blade Barringer 0b7e43f156 Add route for leaving active quest 2015-08-23 20:29:57 -05:00
Blade Barringer 6955add15d Use locale string 2015-08-23 15:05:49 -05:00
Blade Barringer 427fbb959b Add join existing party button 2015-08-23 14:59:06 -05:00
Blade Barringer 3098c7d460 Refactor invite 2015-08-23 14:47:10 -05:00
Blade Barringer 63315ce281 Remove extra ng-if 2015-08-23 10:23:41 -05:00
Blade Barringer a685828226 remove unused classes 2015-08-23 10:21:21 -05:00
Blade Barringer 12137428e9 Show loading new party message when creating a solo party 2015-08-23 10:17:48 -05:00
Blade Barringer 1144defbca Restructure party page 2015-08-23 10:15:00 -05:00
Blade Barringer 74bef58537 Simplify text-centering 2015-08-23 09:32:59 -05:00
Blade Barringer 08edcb6743 Move loading new party to own partial 2015-08-23 09:31:46 -05:00
Blade Barringer 963b136a91 Reorg party views 2015-08-23 09:28:45 -05:00
Blade Barringer a36c08930e Separate out party sections 2015-08-23 09:24:55 -05:00
Blade Barringer 3f874e25a4 Fix bug where booting a member makes them appear in the other members list 2015-08-23 09:07:18 -05:00
Blade Barringer ccff3998bd Hide quest button if quest is pending or active 2015-08-23 08:42:15 -05:00
Blade Barringer e6fb8f34bb Add user id to solo party page 2015-08-23 08:34:33 -05:00
Blade Barringer fd35f58ccd Display invite party to quest only if party has more than one member 2015-08-23 08:29:45 -05:00
Blade Barringer 59a2d2b2f0 Improve quest modal appearance 2015-08-23 08:22:34 -05:00
Blade Barringer e4f2a1a699 Adjust text 2015-08-23 07:59:40 -05:00
Alys 3d47f3f835 remove "as if you had created a new account" from Orb of Rebirth description 2015-08-23 17:43:33 +10:00
Blade Barringer fefcbd1d2f Merge branch 'develop' into sabrecat/party-page 2015-08-22 21:42:05 -05:00
Blade Barringer 8b75de56b6 Correct tabbing on server side specs reporting 2015-08-22 21:41:13 -05:00
Blade Barringer a07d0cde85 Fixed karma reporting 2015-08-22 21:41:13 -05:00
Blade Barringer 37859e51b7 Move gulp task 2015-08-22 21:41:13 -05:00
Blade Barringer f4bc208226 Reorganize karma.conf 2015-08-22 21:41:13 -05:00
Blade Barringer 9fde84f3d0 Remove directive 2015-08-22 21:41:12 -05:00
Blade Barringer 7a43e7f90a Remove mocks 2015-08-22 21:41:12 -05:00
Blade Barringer 7a9cbe2cc5 Glob files in karma.conf 2015-08-22 21:41:12 -05:00
Alys 5b8c161932 changed habitrpg.wikia.com to habitica.wikia.com 2015-08-23 12:31:10 +10:00
Alys fd446fc5e5 convert habitica.com to BASE_URL 2015-08-23 12:23:35 +10:00
Blade Barringer 699ce83ee9 Merge branch 'develop' into sabrecat/party-page 2015-08-22 19:18:44 -05:00
Blade Barringer 8e80b4d8e7 Remove directive 2015-08-22 19:18:34 -05:00
Blade Barringer 99d2b7f749 Merge branch 'develop' into sabrecat/party-page 2015-08-22 19:18:08 -05:00
Blade Barringer 85243c7512 Remove mocks 2015-08-22 19:16:32 -05:00
Blade Barringer 75a77faa92 Glob files in karma.conf 2015-08-22 19:15:45 -05:00
Blade Barringer a4627be3ea Merge branch '3onyc-fix-hash-leak' into develop 2015-08-22 17:54:42 -05:00
Blade Barringer b2c4d5c012 Add test for items that are deleted when getting the user 2015-08-22 17:53:49 -05:00
Blade Barringer 8fc69102aa Merge branch 'develop' into 3onyc-fix-hash-leak 2015-08-22 17:45:47 -05:00
Blade Barringer 87c04e885d Merge pull request #5818 from lacrimae/patch-6
Wording: Proper English it was not
2015-08-22 17:44:35 -05:00
Blade Barringer 9ddf5353d1 Clean up directive tests 2015-08-22 17:21:30 -05:00
Blade Barringer b41b629e93 Remove test variable 2015-08-22 17:08:28 -05:00
Blade Barringer 01d122ad67 Remove unneded declaration 2015-08-22 17:04:46 -05:00
Blade Barringer 9643b6e650 Merge branch 'develop' into TheHollidayInn-menu-hide-when-navigate-away 2015-08-22 17:03:26 -05:00
Blade Barringer 6b7ca3e823 Use $scope instead of scope in directives 2015-08-22 17:02:32 -05:00
Blade Barringer e4eae7a23b Move ian inside quest scrolls div 2015-08-22 15:43:35 -05:00
Blade Barringer a6c5fab8a7 Correct quest display bug 2015-08-22 15:36:29 -05:00
TheHollidayInn 5e510aade0 Added tests for new menu directives 2015-08-22 15:25:51 -05:00
Blade Barringer bbb878d983 Remove uncessary divs 2015-08-22 14:26:17 -05:00
Blade Barringer e04bc21018 Move ng-if up 2015-08-22 14:26:07 -05:00
Blade Barringer 950fab237d Correct invite users to guild 2015-08-22 12:52:21 -05:00
Blade Barringer 63b492ab51 Merge branch 'develop' into sabrecat/party-page 2015-08-22 12:44:07 -05:00
Blade Barringer 67e60e7d06 Add loading screen between leaving old party and joining new one 2015-08-22 12:42:52 -05:00
Blade Barringer 93f02363e5 Add feature to join new party if user is in a party of one 2015-08-22 12:19:37 -05:00
Blade Barringer 8c66714e5f Convert methods to use sandbox 2015-08-22 11:54:03 -05:00
Blade Barringer 1ff597e944 Provide group name if not provided and save 2015-08-22 08:40:16 -05:00
Blade Barringer 1f86babad3 Assign group a type of party 2015-08-22 08:18:58 -05:00
Blade Barringer 60a36ca6fc Correct view 2015-08-22 08:18:39 -05:00
Blade Barringer cac5770649 Remove console log 2015-08-22 08:17:02 -05:00
Blade Barringer 53531ae296 Add btn-block class 2015-08-22 07:42:15 -05:00
Blade Barringer d55da12c01 Hide + button on invite by uuid tab 2015-08-22 07:41:54 -05:00
Blade Barringer 07b9b35234 Filter out blank emails 2015-08-21 21:39:04 -05:00
Blade Barringer 59dc0cdb4f Add method to remove blank uuids 2015-08-21 21:28:52 -05:00
Blade Barringer 3153fbac3c Fix bug where mutliple user ids could not be saved 2015-08-21 08:19:39 -05:00
Blade Barringer 7fcfe6734b Correct spacing 2015-08-21 08:19:06 -05:00
Alys f9a0e494a7 changed "The Dreadful Cheetah" to "Such a Cheetah" 2015-08-21 20:49:58 +10:00
lacrimae b8bd87eeb8 Wording: Proper English it was not 2015-08-20 16:55:05 +02:00
Blade Barringer e8b658b0de Add controllers to manifest and sort them 2015-08-20 08:17:47 -05:00
Blade Barringer 65888d3f8a Merge branch 'develop' into sabrecat/party-page 2015-08-20 07:39:25 -05:00
Alys 28e360d7f4 change Janet Janet Mongilio to janetmango 2015-08-20 11:23:29 +10:00
Blade Barringer 0f5f80f910 Unpend preening test 2015-08-19 19:23:23 -05:00
Sabe Jones f306ee6d1d fix(test): Skip preen test 2015-08-19 20:08:39 -04:00
Sabe Jones 99c8f941e6 chore(news): August pet Bailey 2015-08-19 17:39:11 -04:00
Sabe Jones 190fdd5bb9 feat(pets): August cheetah quest 2015-08-19 16:55:14 -04:00
Sabe Jones 3e848ce67e chore(pets): Compile sprites 2015-08-19 14:59:26 -05:00
Sabe Jones 2a09eb8911 feat(pets): August sprites 2015-08-19 14:50:09 -05:00
Blade Barringer 322785dd44 Merge branch 'develop' into sabrecat/party-page 2015-08-19 08:56:36 -05:00
Blade Barringer 59068c17a2 Add watch task for karma test 2015-08-19 08:56:20 -05:00
TheHollidayInn e762a51e4c Moved menu expand directive and created menu close directive 2015-08-19 08:53:51 -05:00
Blade Barringer 635c1ecd5a Make openInviteModal function more readable 2015-08-19 08:53:43 -05:00
Blade Barringer 0eb61a5bec Split out group controllers into separate files 2015-08-19 08:20:13 -05:00
Blade Barringer b902ff63a2 Merge branch 'develop' into sabrecat/party-page 2015-08-19 08:07:34 -05:00
Blade Barringer 45b7e9a7d2 Remove .DS_Store files 2015-08-19 08:07:06 -05:00
Blade Barringer 5b02c2776e Fix habitica in privacy policy 2015-08-19 08:06:02 -05:00
Blade Barringer fa7f957ccc Update habitrpg.com to habitica.com where applicable 2015-08-19 08:00:34 -05:00
Blade Barringer 1fecc7dc89 Change wiki links to habitica 2015-08-19 07:46:25 -05:00
Blade Barringer 00ec16877b Merge pull request #5799 from Alys/challenges-editable-by-admins-2015-08-16
allow Challenges to be edited, closed, and deleted by staff and moderators
2015-08-18 17:20:19 -05:00
Sabe Jones 12b0361d45 WIP(warning-modal): Low health warning 2015-08-18 16:05:48 -04:00
Sabe Jones 120550666d refactor(avatar): DRY out paperdolls 2015-08-18 13:07:27 -04:00
Blade Barringer 7f834429ac Add test for clickStartQuest 2015-08-18 08:19:04 -05:00
Blade Barringer 861a90a562 Use rootScope as variable 2015-08-18 08:18:53 -05:00
Blade Barringer b2e90ffb16 Merge branch 'develop' into sabrecat/party-page 2015-08-18 08:10:57 -05:00
Blade Barringer be87f69cd4 Actually save copy message modal spec 2015-08-18 08:10:38 -05:00
Blade Barringer b5a7b31fa8 Merge branch 'develop' into sabrecat/party-page 2015-08-18 08:09:33 -05:00
Blade Barringer fe22f76e30 Move copy message modal controller spec to own file 2015-08-18 08:06:46 -05:00
Blade Barringer 3f48364a4a Move autocomplete controller to own file 2015-08-18 08:05:56 -05:00
Blade Barringer a032c80aaf Move chat controller to own spec file 2015-08-18 08:05:35 -05:00
Blade Barringer a749e2d9f7 Move party controller to own spec 2015-08-18 08:04:17 -05:00
Blade Barringer ee6fe4f756 Use _.find for clickStart Quest 2015-08-18 08:02:23 -05:00
Blade Barringer 2e289777d5 Clean up groups page 2015-08-18 07:46:01 -05:00
Blade Barringer a57e19bdba Convert to private methods 2015-08-18 07:34:49 -05:00
Blade Barringer ab7a23ad00 Add quest abort function back in 2015-08-17 22:15:51 -05:00
Blade Barringer 690100b9f8 Correct common count test 2015-08-17 22:09:11 -05:00
Blade Barringer 14ae3b1046 Add one time binding 2015-08-17 22:07:09 -05:00
Blade Barringer ba2988ac98 Use new content for mixin 2015-08-17 21:51:08 -05:00
Blade Barringer f792155b45 Order quests with array 2015-08-17 21:48:58 -05:00
Blade Barringer 8ed13f1c12 Update wiki url 2015-08-17 21:34:20 -05:00
Blade Barringer 58888c8118 Add test for questOfCategory counting function 2015-08-17 19:18:21 -05:00
Blade Barringer 344eded949 Merge branch 'develop' into sabrecat/party-page 2015-08-17 19:04:25 -05:00
Alys aea8c3e5f6 Merge pull request #5806 from Gbear605/develop
Update information about max levels for buffs.
2015-08-18 09:02:03 +10:00
Garrison Taylor 94a31985b7 Update information about max levels for buffs. 2015-08-17 11:34:30 -05:00
Alys 0fec63a2a7 Merge pull request #4 from crookedneighbor/add_test_to_admin_editable_pr
Add tests to PR that lets admins edit challenges
2015-08-17 07:29:20 +10:00
3onyc 1c13c48bee Fix removing user salt+hash from API response 2015-08-16 17:04:24 +02:00
Blade Barringer 9b73c5eab8 Add tests for non-owner permissions 2015-08-16 09:45:01 -05:00
Blade Barringer ab9aab9262 Rework challenge integration test to be more autonomous 2015-08-16 09:44:38 -05:00
Blade Barringer f9e337ed40 Merge pull request #5796 from GitHubSphinx/Sphinx-i18n-db1
Change 2 locale strings to exclude html character codes not shown on the front page
2015-08-16 07:31:09 -05:00
GihHubSphinx a1f8035515 Change 2 strings to exclude html character codes
exclude mldr and rsquo character codes not shown correctly on the front
page
2015-08-16 14:17:26 +05:00
GihHubSphinx 0a0d41510e Revert "Enable html rendering for 2 locale strings"
This reverts commit a2108bbb51.
2015-08-16 14:08:58 +05:00
Alys 71a9f7caf4 make challenge permission error messages translatable 2015-08-16 17:30:51 +10:00
Alys 53f861f3c0 allow challenges to be edited, deleted, closed by admin users (moderators and staff) through the web UI (not by API calls) 2015-08-16 16:51:53 +10:00
Alys 8e667b1019 delete an outdated favicon.ico file - partial fix for https://github.com/HabitRPG/habitrpg/issues/5464 2015-08-16 14:35:38 +10:00
Alys c957fa476e remove text about unlocking Item Shop because it is now available to new players 2015-08-16 13:42:53 +10:00
Alys a94dd0d6a3 adjust Orb of Rebirth modal to state that you keep free equipment 2015-08-16 13:12:53 +10:00
Alys 87c81df375 add test for Orb of Rebirth not removing free equipment (zero gold cost gear) 2015-08-16 13:06:48 +10:00
Alys 57e7fc93d7 prevent Orb of Rebirth removing free equipment (gear that has zero gold cost) - partial fix for https://github.com/HabitRPG/habitrpg/issues/5750 2015-08-16 12:33:40 +10:00
GihHubSphinx a2108bbb51 Enable html rendering for 2 locale strings
Strings dreimQuote and teamSample3 on the front page contain symbol
codes `&mldr;` and `&rsquo;` which are not shown correctly

Closes #5571
2015-08-16 00:50:43 +05:00
Matteo Pagliazzi 7d59e1e039 start server using just node, not nodemon 2015-08-15 18:23:29 +02:00
Alys 8c186f3068 add close button audio menu on mobile web view - fixes https://github.com/HabitRPG/habitrpg/issues/5359 2015-08-15 15:21:17 +10:00
Blade Barringer 25d52bccc5 Use new newUser specHelper syntax 2015-08-15 00:08:41 -05:00
Blade Barringer 53133c6439 Adjust newUser spec helper 2015-08-14 23:55:36 -05:00
Blade Barringer 426acf44c8 Wrap task analytics in if statement 2015-08-14 23:43:47 -05:00
Blade Barringer c10a0ad31a Add habits 2015-08-14 23:43:32 -05:00
Blade Barringer a040acf739 Compile sprites 2015-08-14 23:26:50 -05:00
Blade Barringer f6dbea008a Merge pull request #5792 from Alys/deleteDefaultDaily
remove unused default tasks
2015-08-14 23:23:54 -05:00
Alys 7f0889f405 remove commented-out default task code and unused default task locale strings - fixes https://github.com/HabitRPG/habitrpg/issues/5631#issuecomment-130619901 (comment by GitHubSphinx) 2015-08-15 13:23:42 +10:00
Blade Barringer 9e47bc3f4c Merge branch 'GitHubSphinx-Sphinx-i18n-db1' into develop 2015-08-14 20:11:37 -05:00
Blade Barringer 2821e25451 Reinstate the string interpolation 2015-08-14 18:04:04 -05:00
Blade Barringer f0e3360c35 chore(i18n): update locales 2015-08-14 17:52:37 -05:00
Blade Barringer 28dda9ae9e Fix string interpolation 2015-08-14 17:49:51 -05:00
Blade Barringer 80a6b2dcf9 Merge branch 'develop' into card_tweaks 2015-08-14 17:29:17 -05:00
Matteo Pagliazzi a58c3d1e8b Merge pull request #5789 from HabitRPG/paglias/loading-times
Stringify into window.env only what is used on the client
2015-08-14 22:14:54 +02:00
Matteo Pagliazzi b31966b1ee use assign in place of merge, make sure references to tavern and mods are not lost 2015-08-14 22:02:19 +02:00
Matteo Pagliazzi 2e1b046701 add TODO comments, send mods to client as they are used there 2015-08-14 21:05:04 +02:00
Matteo Pagliazzi f896fdf16f use only client vars on index.jade 2015-08-14 20:58:57 +02:00
Matteo Pagliazzi 3cda8b0b56 remove newrelic javascript from client 2015-08-14 20:40:51 +02:00
Sabe Jones c4c563aca1 WIP(party-page): Restore Guild invite modal 2015-08-14 13:17:19 -05:00
Sabe Jones 572e64e3ed WIP(party-page): Refactor groups service 2015-08-14 12:58:46 -05:00
Sabe Jones 0f31873262 Merge branch 'develop' into sabrecat/party-page
Conflicts:
	common/dist/sprites/habitrpg-shared.css
	common/dist/sprites/spritesmith1.css
	common/dist/sprites/spritesmith1.png
	common/dist/sprites/spritesmith4.css
	common/dist/sprites/spritesmith4.png
	website/views/options/social/index.jade
2015-08-14 11:23:35 -05:00
Matteo Pagliazzi 1840c3907b fix avatar export page 2015-08-14 15:37:04 +02:00
Matteo Pagliazzi dc4c6fa6e7 add TODO commit about logging errors catched when party invite code is invalid 2015-08-14 15:21:17 +02:00
Blade Barringer 59d4d9706a Remove quotes from card strings 2015-08-14 08:13:25 -05:00
Blade Barringer 80ba33bf7c Fix issue where card strings required quotes 2015-08-14 08:13:05 -05:00
Matteo Pagliazzi 289d288f38 fix typo 2015-08-14 15:02:46 +02:00
Matteo Pagliazzi d3c78bb890 revert dataexport controller changes 2015-08-14 15:02:16 +02:00
Matteo Pagliazzi e1620bad2b stringify into window.env only what we really need, save a lot of KBs 2015-08-14 14:53:17 +02:00
Blade Barringer 998e336818 Remove extraneous white space 2015-08-14 07:40:07 -05:00
Blade Barringer 6be339fc77 Fix bug where armoire notes would not display correctly 2015-08-14 06:59:23 -05:00
Blade Barringer 576688c15b Clean up content file 2015-08-14 06:41:10 -05:00
Matteo Pagliazzi 34dd4494ec in locals middleware require tavern and mods only once 2015-08-14 13:10:53 +02:00
Matteo Pagliazzi fbeeb18923 Merge pull request #5788 from HabitRPG/paglias/loading-times
Refactor middlewares
2015-08-14 12:53:02 +02:00
Matteo Pagliazzi ca457df36a fix typo catatories -> categories 2015-08-14 12:23:10 +02:00
Matteo Pagliazzi 491652d712 fix several typypos and a missing dep 2015-08-14 12:00:09 +02:00
Matteo Pagliazzi 47f6f2febe refactor middlewares in their own folder, move buildFiles to libs/buildFiles 2015-08-14 11:50:09 +02:00
Matteo Pagliazzi 078ea4768a upgrade jade version 2015-08-14 10:58:19 +02:00
Sabe Jones ab91a6fba9 Merge pull request #5781 from HabitRPG/sabrecat/greeting-cards
Greeting and Thank-You Cards
2015-08-13 22:35:25 -05:00
Blade Barringer 610ce048cb Refactor card achievements 2015-08-13 22:27:14 -05:00
Sabe Jones 534cb48dce Merge pull request #5782 from crookedneighbor/card_tweaks
Tweaks to card PR
2015-08-13 22:21:56 -05:00
Blade Barringer c7282dc10a Remove blank space 2015-08-13 20:33:19 -05:00
Blade Barringer 4adc19caf0 Fix test 2015-08-13 19:55:13 -05:00
Blade Barringer b1b4522b4b Fix test 2015-08-13 19:40:25 -05:00
Sabe Jones 00a212660a feat(greeting-cards): Thank-You & Greets 2015-08-13 16:58:31 -05:00
Sabe Jones f57e3e69a1 WIP(greeting-cards): Working send + modals 2015-08-13 15:43:51 -05:00
Sabe Jones b2100c2c54 WIP(greeting-cards): Abandon spell refactor 2015-08-13 14:31:34 -05:00
Matteo Pagliazzi f750c53ccc remove quote from filename 2015-08-13 17:52:38 +02:00
GihHubSphinx dd7ace7eb3 Reconstructing pets and mounts progress strings
Second take, keeping the previous view
2015-08-13 20:39:23 +05:00
Matteo Pagliazzi 61cd8f58af start using cloudfront for frontpage assets 2015-08-13 17:16:24 +02:00
Matteo Pagliazzi 4993d67f2f export avatars to separate folder in s3 bucket 2015-08-13 14:12:32 +02:00
Alys 619b33795a remove mention of ads from locale strings, delete ads strings that are no longer used - fixes https://github.com/HabitRPG/habitrpg/issues/5765 2015-08-13 16:46:02 +10:00
Blade Barringer 3f941c3534 chore(i18n): update locales 2015-08-12 22:37:52 -05:00
Blade Barringer bf4d690a7c Merge pull request #5775 from HabitRPG/item_store_fix
Split out potion and armoire out of the itemStore object
2015-08-12 22:35:54 -05:00
Blade Barringer a5efc2af2b Merge pull request #5762 from crookedneighbor/transifex_test
Transifex test
2015-08-12 22:35:38 -05:00
Blade Barringer 7c6641482a Merge pull request #5776 from crookedneighbor/qhUQxV7Q_add_number_of_user_tasks_to_analytics
Analytics improvements
2015-08-12 22:31:44 -05:00
Blade Barringer ceec310e5f Use human readable name 2015-08-12 22:16:30 -05:00
Blade Barringer 9a27b2e8cb Add task numbers to analytics 2015-08-12 21:47:04 -05:00
Blade Barringer 39ead02d6c Remove comment 2015-08-12 19:09:11 -05:00
Blade Barringer bcf7c9712e Split out potion and armoire out of the itemStore object
Fixes #5743
2015-08-12 18:53:49 -05:00
GihHubSphinx c711074809 Duplicating 2 strings for better i18n
Duplicating strings "Pets Found" and "Mounts Tamed" used in inventory
and in stats with different order of numbers - words
2015-08-12 23:39:11 +05:00
Sabe Jones 3c8424a83e Merge branch 'crookedneighbor/refactor_cards' into sabrecat/greeting-cards 2015-08-12 11:53:28 -05:00
Sabe Jones 2d8fdab496 WIP(party-page): Roll back to 1x invites
Also a draft of logic for 1-step create group + invite people.
2015-08-12 11:29:36 -05:00
Blade Barringer c7edbfb9b2 Remove empty object in close 2015-08-12 08:42:01 -05:00
Blade Barringer 203a26b6df Refactor how cards are recieved 2015-08-12 08:36:57 -05:00
Alys f4c89f9379 initialise buyThis message variable at point of declaration - fixes https://github.com/HabitRPG/habitrpg/issues/5770 2015-08-12 21:26:51 +10:00
Alys dbbd03e6cb remove one-time binding from "You're resting in the inn" banner above Dailies column - fixes https://github.com/HabitRPG/habitrpg/issues/5693 2015-08-12 16:53:51 +10:00
Alys 879ba83002 change habitrpg.com to habitica.com where appropriate - email addresses in static Contact page and various in-game URLs 2015-08-12 16:12:59 +10:00
Alys 665c32ee54 change Fortify Potion description for blue tasks making the game too easy - fixes https://github.com/HabitRPG/habitrpg/issues/5758 2015-08-12 11:25:08 +10:00
Blade Barringer 60f92a8997 chore(i18n): update locales 2015-08-11 20:02:59 -05:00
Blade Barringer 869b27d786 Correct markdown 2015-08-11 20:01:45 -05:00
Blade Barringer 6861f1460a chore(i18n): update locales 2015-08-11 18:50:51 -05:00
Blade Barringer 0dc10b5f8e Convert valentines to markdown 2015-08-11 18:47:12 -05:00
Blade Barringer a29dd4cc16 Correct styling for focusable buttons
Fixes #5767
2015-08-11 18:34:46 -05:00
Alys 8360aa93fb Merge pull request #5756 from Alys/cron-missed-days-ignore-multiple-2015-07-21
make cron count multiple missed days as one missed day (part 2)
2015-08-12 08:35:37 +10:00
Blade Barringer 1477c5601c Merge branch 'develop' into transifex_test 2015-08-11 08:16:09 -05:00
Blade Barringer 455dae1032 chore(i18n): update locales 2015-08-11 08:15:34 -05:00
Blade Barringer 5750da4a13 chore(i18n): update locales 2015-08-11 08:13:41 -05:00
Blade Barringer 9d9e99045d Add exceptions to not check for malformities 2015-08-11 08:12:03 -05:00
Blade Barringer 3b0993c781 Merge branch 'develop' into transifex_test 2015-08-11 07:55:15 -05:00
Blade Barringer e31138fb76 chore(i18n): update locales 2015-08-11 07:54:42 -05:00
Blade Barringer 55934c9cc0 Merge branch 'develop' into transifex_test 2015-08-11 07:40:59 -05:00
Blade Barringer 01e2c30795 chore(i18n): update locales 2015-08-11 07:38:42 -05:00
Matteo Pagliazzi 0a340de9c8 chore(i18n): update locales 2015-08-11 14:32:00 +02:00
Blade Barringer c46659c622 Add top level transifex task 2015-08-10 17:31:43 -05:00
Blade Barringer c74625a624 Add line break for styling consistency 2015-08-10 17:17:27 -05:00
Blade Barringer ae2a9f5756 remove unused functions 2015-08-10 17:16:50 -05:00
Blade Barringer ee621b526e Remove unused dependency 2015-08-10 17:15:20 -05:00
Blade Barringer 3b1dc7be3b Merge branch 'develop' into transifex_test 2015-08-10 17:14:21 -05:00
Sabe Jones 5b15d603aa WIP(party-page): Broken multi-invite 2015-08-10 15:16:45 -05:00
Sabe Jones beacce7fe0 Merge branch 'develop' into sabrecat/party-page 2015-08-10 13:43:44 -05:00
Sabe Jones 28ae6afd92 WIP(party-page): UI draft 2015-08-10 13:42:36 -05:00
Blade Barringer 6ed3e77008 Remove double warning 2015-08-10 07:53:26 -05:00
Blade Barringer 2ec7e631e9 Update locales 2015-08-10 07:52:07 -05:00
Blade Barringer cb89f07dcf Add clarification about missing interpolations 2015-08-10 07:42:52 -05:00
Blade Barringer c8af280ce4 Revert formatting back to backticks 2015-08-10 07:33:27 -05:00
Blade Barringer abb19d1d20 Correct casing on config example 2015-08-10 07:33:14 -05:00
Blade Barringer 1ffad1997e Removed mocha test for translations 2015-08-09 16:52:25 -05:00
Blade Barringer b35453cd4b Add transifex config to example config 2015-08-09 16:52:00 -05:00
Blade Barringer 6cd3ed3e07 Set default channel 2015-08-09 16:44:34 -05:00
Blade Barringer 8415322717 Create malformed string check 2015-08-09 16:43:04 -05:00
Blade Barringer d0e4590a01 Change missingStrings to that it posts to slack 2015-08-09 16:42:44 -05:00
Blade Barringer c1f0fae456 Change format of reporting 2015-08-09 16:14:09 -05:00
Blade Barringer cd15b115ad Add constant for all languages array 2015-08-09 16:13:17 -05:00
Blade Barringer 7aa67e68d8 Revert emdash changes 2015-08-09 09:19:46 -05:00
Garrison Taylor df98a28d4c Fix typo
"successully" to "successfully"
2015-08-09 10:06:00 -04:00
Garrison Taylor f2503d0d41 Replace a hyphen with an emdash 2015-08-09 09:45:04 -04:00
Garrison Taylor 36aef28f72 Replace a hyphen with an emdash 2015-08-09 09:44:25 -04:00
Garrison Taylor a261840fb3 Rewrite the maximum gems sentence
It is not in plainer English
2015-08-09 09:40:38 -04:00
Garrison Taylor 028b5ed825 Fix grammar typo
Replace a comma with a semicolon.
2015-08-09 09:38:45 -04:00
Garrison Taylor 969d121b80 Fix grammar typo
Change "you get one point to allocate to particular stat" to "you get one point to allocate to a particular stat"
2015-08-09 09:37:16 -04:00
Garrison Taylor f5890131c7 Fix grammar typo
Change "but knight shows no signs of stopping" to "but the knight shows no signs of stopping"
2015-08-09 09:35:38 -04:00
Garrison Taylor b8d13413b8 Fix type with "Successully"
"Successully" to "Successfully" in detachedFacebook
2015-08-09 09:31:54 -04:00
Alys 3e9cfdc437 Improve instructions in password reset email. Replace BASE_URL with habitica.com TEMPORARILY (Alys has a To-Do to revert this). 2015-08-09 20:07:27 +10:00
Alys 9db46bd999 add test for cron reducing the value of a todo by only one day's worth when multiple days are missed 2015-08-09 16:37:20 +10:00
Alys a53625aafb remove (probably) unused completeDaily code from dailies tests 2015-08-09 14:10:29 +10:00
Alys fd0176f4fc fix an outdated comment 2015-08-09 14:09:10 +10:00
Alys 262340147d remove code that was added purely for testing and development 2015-08-09 14:08:28 +10:00
Alys 696027025b add tests for Dailies under new cron behaviour where multiple missed days are treated as one 2015-08-09 14:04:42 +10:00
Alys 06fd9c7a67 replace _.times with for loop to allow break 2015-08-09 13:58:18 +10:00
Alys c3d65f0bcf initial changes to cause cron to count multiple missed days as one missed day 2015-08-09 13:58:18 +10:00
Blade Barringer 8b00a772cf Remove hash function 2015-08-08 22:50:18 -05:00
Blade Barringer bfc5ac9435 Add task to check for missing files 2015-08-08 22:47:26 -05:00
Blade Barringer 092ba23ae4 Adjust each file to handle errors 2015-08-08 22:46:51 -05:00
Blade Barringer f58c9e2192 Rename task 2015-08-08 22:25:02 -05:00
Blade Barringer 9d3c40122a REmove unsued task 2015-08-08 22:24:52 -05:00
Blade Barringer 2069936603 Correct spelling of increases
Fixes #5744
2015-08-08 16:34:22 -05:00
Blade Barringer 67686c4b0b Merge branch 'develop' into transifex_test 2015-08-08 09:58:52 -05:00
Blade Barringer e1ecb9d29b Part 3 of translation fixes 2015-08-08 09:58:20 -05:00
Blade Barringer e05426ecae Part 2 of translation fix 2015-08-08 08:14:48 -05:00
Blade Barringer 6c6e22f9e6 Part 1 of translation fixes 2015-08-07 23:43:37 -05:00
Blade Barringer 6a8a189a33 Merge branch 'develop' into transifex_test 2015-08-07 23:09:01 -05:00
Blade Barringer f378fdf860 chore(i18n): update locales 2015-08-07 23:02:00 -05:00
Blade Barringer f355e8e3af Wrote task that can look up english strings 2015-08-07 22:59:55 -05:00
Blade Barringer 7ca785f33e Remove unused callback 2015-08-07 19:28:21 -05:00
Blade Barringer 894611bc34 Create shell of task for looking up strings 2015-08-07 09:34:18 -05:00
Blade Barringer 563072712b Refactor untranslated strings task 2015-08-07 09:00:17 -05:00
Blade Barringer c51f8a1289 Merge branch 'develop' into transifex_test 2015-08-07 07:42:07 -05:00
Blade Barringer 28046ba3a3 chore(i18n): update locales 2015-08-07 07:38:14 -05:00
Blade Barringer fd76baa6f8 Missing strings task 2015-08-06 22:42:24 -05:00
Sabe Jones f97012798e WIP(party-page): Party preview graphic 2015-08-06 16:36:28 -05:00
Sabe Jones f1704a6a92 WIP(party-page): Active party page 2015-08-06 12:13:50 -05:00
Blade Barringer 89a351a0d1 Add check for if string exists 2015-08-06 08:58:58 -05:00
Blade Barringer 1f6cad7baf Revert change that made death.json executable :/ 2015-08-06 08:53:08 -05:00
Blade Barringer 4bdb2a8b84 chore(i18n): update locales 2015-08-06 08:50:06 -05:00
Blade Barringer 46156601ff Add death files for other languages 2015-08-06 08:10:46 -05:00
Blade Barringer 0ca2339d87 chore(i18n): update locales 2015-08-06 08:03:11 -05:00
Blade Barringer cf507df375 chore(i18n): update locales 2015-08-06 07:38:20 -05:00
carolstone 9fe96b7f94 Renamed variables for clarity.
Moved calculation to actually change lastcron into its own function.

Changed validation errormessage to run: if ( dayStart != Math.floor(dayStart) || dayStart < 0 || dayStart > 24 ) {error message}.

Created new calculation for daystart because daystart could never be
future to the current timestamp. This "fix" has broken the whole endeavor,
though, because cron runs immedately when newlastcron > now and now >
oldlastcron.
2015-08-05 22:47:45 -04:00
Blade Barringer ac7ee80c27 Merge branch 'sgabler-add-hints-to-repeat-every-x-days-functionality' into develop 2015-08-05 18:28:09 -05:00
Blade Barringer 787cb6cabb Final adjustments to PR
- Rename strings to make them easier to expand upon in the future
- adjust line break formatting
- remove terniary operator
2015-08-05 18:27:24 -05:00
Blade Barringer 383ae3be55 Merge pull request #5746 from crookedneighbor/enchanted_armoire_test_improvements
Enchanted armoire test improvements
2015-08-05 18:13:12 -05:00
Blade Barringer e34c30a37f Improve formatting of gulp task 2015-08-05 18:12:28 -05:00
Simon Gabler 2343e4720c Add tooltips for day buttons to show "due" or "not due" 2015-08-05 22:25:03 +02:00
Simon Gabler 1997338751 Show popover for daily and weekly dailies 2015-08-05 22:23:41 +02:00
Blade Barringer 47681e90bd Reorganize and set stub behavior 2015-08-05 13:02:36 -05:00
Sabe Jones c275db6b4b Merge branch 'develop' into sabrecat/party-page 2015-08-05 12:43:56 -05:00
Blade Barringer 2598fa1ecb Move ulitmate gear 2015-08-05 12:00:57 -05:00
Blade Barringer 1bcc241c04 Rename common test 2015-08-05 12:00:00 -05:00
Simon Gabler 99bdf4c541 Add hint for "Repeat every" option title. Fixes #5603 2015-08-05 17:02:02 +02:00
Blade Barringer b402df329d Remove unneeded content variable 2015-08-05 09:01:27 -05:00
Blade Barringer c8d957255b Add placeholders for more buy tests to transfer over 2015-08-05 09:00:26 -05:00
Blade Barringer 7f3bfa0dc7 Extract enchanted armoire tests into separate file 2015-08-05 08:57:25 -05:00
Blade Barringer e22e853f21 Fix some formatting 2015-08-05 08:18:03 -05:00
Blade Barringer ba2753edc2 Refactor armoire test no longer need to be updated when items are added to the armoire
Fixes #5739
2015-08-05 08:16:38 -05:00
Blade Barringer 2d59bcab61 Add common watch task 2015-08-05 08:15:53 -05:00
Blade Barringer d1b9739c58 Merge pull request #5742 from crookedneighbor/vIiRuS-armoireResponse
Add response to armoire purchases for display in API
2015-08-04 22:10:06 -05:00
Blade Barringer 008a5f1209 Merge branch 'develop' of github.com:HabitRPG/habitrpg into vIiRuS-armoireResponse 2015-08-04 19:52:11 -05:00
Blade Barringer 3e5a3a00cb Merge pull request #5741 from HabitRPG/use_base_url_for_redirect
Adjust Force Habitica Code
2015-08-04 19:22:50 -05:00
Blade Barringer 82d2d6507f Add missing space 2015-08-04 18:55:55 -05:00
Blade Barringer e6c1b69cb0 Swap out isHabitrpg for ignoreRedirect 2015-08-04 18:55:26 -05:00
Blade Barringer e7705a7d77 chore(i18n): update locales 2015-08-04 18:42:39 -05:00
Blade Barringer 93a2d3d660 Use constants for is_prod and base_url 2015-08-04 18:30:27 -05:00
Blade Barringer 675808e54e Catch habitrpg.com specifically 2015-08-04 18:16:36 -05:00
Sabe Jones 68cc0fd56a fix(avatar): Delist Splashy Skins
Also removes a style that was causing hair colors to be the only 40x40 buttons on a page full of 60x60 buttons.
2015-08-04 15:17:38 -05:00
Sabe Jones bc11e03bef fix(sharing): Localize Tweet text 2015-08-04 14:55:15 -05:00
Sabe Jones a03fa32a3a fix(NPCs): De-Splashify sprites 2015-08-04 14:39:29 -05:00
Sabe Jones 6b37b0ced6 fix(armoire): Add sprites, pass tests 2015-08-04 13:00:34 -05:00
Sabe Jones 60e65a8bea feat(armoire): August additions
Also includes the August backgrounds and upgrades the "restock Armoire" migration to use @Alys's progressive output script.
2015-08-04 12:45:01 -05:00
Blade Barringer 5731f00736 Add baseUrl variable 2015-08-04 12:09:54 -05:00
Sabe Jones 4d576acb57 WIP(party-page): Naming and LFG 2015-08-04 11:58:57 -05:00
Blade Barringer a8d98e5f57 Add esnext parameter to jshint 2015-08-04 08:56:47 -05:00
Blade Barringer 0c92c4a048 Switch redirect to baseUrl 2015-08-04 08:42:53 -05:00
Blade Barringer c402ec61b2 Remove checkmark from focused task, increase opacity of background
Fixes #5682
2015-08-04 08:16:31 -05:00
Blade Barringer 5156d9b604 Merge pull request #5731 from teh-maxh/patch-1
HabitRPG -> Habitica
2015-08-03 22:02:08 -05:00
Max Harmony 64a3009e7a HabitRPG -> Habitica 2015-08-03 19:24:24 +00:00
Sabe Jones cafdb4d57e Merge branch 'develop' into sabrecat/party-page
Conflicts:
	common/locales/en/groups.json
2015-08-03 12:45:32 -05:00
Matteo Pagliazzi 4f333c4f8a fix(amazon-payments): swap colors between paypal and amazon 2015-08-03 18:41:34 +02:00
Blade Barringer 5ed5ca8126 Merge branch 'adjustments-to-challenge-participant-pr' into develop 2015-08-03 08:47:30 -05:00
Blade Barringer 01237df213 Add buttons to challenge participant modal 2015-08-03 08:40:33 -05:00
Blade Barringer 1b19cc1c4d Merge branch 'teh-maxh-patch-1' into develop 2015-08-03 07:54:15 -05:00
Blade Barringer 71f7578aa0 Merge pull request #5723 from sgabler/add-code-climate-yml
Add .codeclimate.yml
2015-08-03 07:43:08 -05:00
Blade Barringer f0283278b9 Correct spelling mistake 2015-08-02 21:55:16 -05:00
Blade Barringer 475b868e67 Pin to specific bower versions 2015-08-02 21:43:27 -05:00
Sabe Jones af4bb5e23f chore(news): End Summer Splash 2015-08-02 14:09:26 -05:00
Simon Gabler cfa2d937b2 Only list javascript in .codeclimate.yml 2015-08-02 17:54:05 +02:00
Blade Barringer 919c072b5d chore(i18n): update locales 2015-08-02 10:30:43 -05:00
Blade Barringer 68f5a162fd Merge branch 'Lokeh_webhooks-more-details' into develop 2015-08-02 09:28:49 -05:00
Simon Gabler c9db579763 Add .codeclimate.yml 2015-08-02 11:44:52 +02:00
Max Harmony 7c4331080c add'l link changes 2015-08-02 01:03:34 +00:00
Blade Barringer a960f5ef72 Revert back to toJSON() 2015-08-01 16:08:54 -05:00
Blade Barringer c7e751d662 Adjsut formatting 2015-08-01 14:04:33 -05:00
Blade Barringer b567a0d9a6 Refactor webhook and add tests 2015-08-01 14:03:45 -05:00
Simon Gabler c9e7b4d73d Make challenge participant's name clickable in progress modal. Fixes #5558 2015-08-01 16:12:58 +02:00
Alys 2780cd0317 Merge pull request #5714 from sgabler/cantras-mod-avatar
Add mod Cantras to community guidelines page. Fixes #5676
2015-08-01 07:56:02 +10:00
Simon Gabler cba9752111 Add mod Cantras to community guidelines page. Fixes #5676 2015-07-31 23:05:17 +02:00
Max Harmony 7b5822be4d new Habitica urls 2015-07-31 16:09:44 +00:00
Blade Barringer 4598d3d445 chore(i18n): update locales 2015-07-31 09:05:58 -05:00
Blade Barringer 09070a71b5 chore(i18n): update locales 2015-07-31 09:00:26 -05:00
Blade Barringer b565b04a69 chore(i18n): update locales 2015-07-31 08:48:30 -05:00
Blade Barringer a7de79a496 chore(i18n): update locales 2015-07-31 08:28:21 -05:00
Blade Barringer f10657af2a chore(i18n): update locales 2015-07-31 07:43:21 -05:00
Alys 07bdc89738 habitrpg.wikia.com -> habitica.wikia.com. Also a trello URL change. 2015-07-31 18:53:32 +10:00
Alys c211af8e8f HabitRPG -> Habitica 2015-07-31 18:38:51 +10:00
Alys c4c21a58c6 HabitRPG -> Habitica in header on static pages 2015-07-31 18:10:40 +10:00
Alys 798b2890d0 HabitRPG -> Habitica text changes 2015-07-31 18:05:10 +10:00
Alys 5ac3edc1d2 Merge pull request #5709 from lacrimae/patch-5
HabitRPG -> Habitica where missed
2015-07-31 17:54:04 +10:00
Alys 4c5ae5391b Merge pull request #5708 from lacrimae/patch-4
HabitRPG -> Habitica where missed
2015-07-31 17:53:05 +10:00
Alys 46550f629d Merge pull request #5707 from lacrimae/patch-3
HabitRPG -> Habitica where missed
2015-07-31 17:49:56 +10:00
lacrimae 7ba91ea0c6 HabitRPG -> Habitica where missed 2015-07-31 09:47:02 +02:00
lacrimae 8869e1b32a HabitRPG -> Habitica where missed 2015-07-31 09:45:09 +02:00
lacrimae 4c88ddc7d1 HabitRPG -> Habitica where missed 2015-07-31 09:37:17 +02:00
Alys d494d99283 Merge pull request #5706 from lacrimae/patch-2
HabitRPG -> Habitica where missed
2015-07-31 17:34:18 +10:00
Alys 30c8355922 Merge pull request #5705 from lacrimae/patch-1
HabitRPG -> Habitica where missed
2015-07-31 17:32:30 +10:00
lacrimae 2daff46991 HabitRPG -> Habitica where missed 2015-07-31 09:27:30 +02:00
lacrimae 49891d311f HabitRPG -> Habitica where missed 2015-07-31 09:20:20 +02:00
Blade Barringer a888a120d9 chore(i18n): update locales 2015-07-30 23:25:04 -05:00
Blade Barringer 25fc92d59e chore(i18n): update locales 2015-07-30 22:49:22 -05:00
Blade Barringer e28bd5bc57 Update English strings 2015-07-30 21:36:09 -05:00
Sabe Jones 183755cf74 fix(test): Correct e2e expectation 2015-07-30 20:59:55 -05:00
Sabe Jones 3dc78a86f6 fix(naming-day): Improved Habitica logo 2015-07-30 20:51:57 -05:00
Sabe Jones 65f21619ae feat(naming-day): Bailey etc. 2015-07-30 19:46:04 -05:00
Kevin Gisi 85584eaa60 Merge branch 'develop' of github.com:HabitRPG/habitrpg into develop 2015-07-30 19:32:37 -04:00
Kevin Gisi efcf0a57d4 Change host check to proxy check 2015-07-30 19:27:00 -04:00
Kevin Gisi 339dec3ac0 Emergency fix 2015-07-30 19:10:14 -04:00
Sabe Jones 2a0a26e5ce feat(naming-day): New logo
Updates the static front page to use the purple gryphon icon, changes same to refer to "Habitica" instead of "HabitRPG", and updates the site favicon to the new logo.
2015-07-30 18:01:47 -05:00
Sabe Jones 1de80a3ed8 WIP(party-page): Revised invite modals 2015-07-30 16:48:08 -05:00
Kevin Gisi 8465e8adbf Merge pull request #5699 from gisikw/habitica-redirect
Added redirects to habitica for non-API urls
2015-07-30 15:42:04 -04:00
Kevin Gisi cfdcadb2bc Added redirects to habitica for non-API urls 2015-07-30 13:20:24 -04:00
Blade Barringer 1001cc8889 Refactor webhook section to be cleaner
Added note to put webhook into own module
2015-07-30 08:19:22 -05:00
Will 7245ffa94a refactor user.toJSON() 2015-07-30 00:21:41 -07:00
Will 4e5d630a87 remove profile object from webhooks 2015-07-29 21:43:13 -07:00
Will b3ae6eef17 maxHEalth uses new shared.maxHealth 2015-07-29 21:43:13 -07:00
Will f3829c8ce4 code cleanup and commenting 2015-07-29 21:43:13 -07:00
Will a27f8d6705 add profile info and computed stats 2015-07-29 21:43:12 -07:00
Sabe Jones f8d7547923 WIP(party): Incomplete no-party page 2015-07-29 16:28:23 -05:00
Sabe Jones 6946dd23e5 Merge branch 'develop' into sabrecat/party-page 2015-07-29 15:03:46 -05:00
Sabe Jones a398fe0af2 Merge pull request #5692 from HabitRPG/sabrecat/habitica-day
Habitica Day
2015-07-29 12:28:09 -07:00
Sabe Jones b4e3efeab7 fix(news): Break before list
For readability
2015-07-29 14:17:32 -05:00
Sabe Jones bbbae27631 chore(naming-day): Bailey and sprites 2015-07-29 14:12:04 -05:00
Sabe Jones 788fba08c2 Merge branch 'develop' into sabrecat/habitica-day 2015-07-29 14:00:58 -05:00
Blade Barringer 661e79d668 Use party variable 2015-07-28 21:27:15 -05:00
Blade Barringer 442c1f358b Use Groups.party() 2015-07-28 21:05:33 -05:00
Kevin Gisi 21020a9e74 Merge pull request #5686 from gisikw/allow-proxy-bypass
Missed a baseUrl instance.
2015-07-28 19:41:19 -04:00
Kevin Gisi 27b2d932ce Missed a baseUrl instance. 2015-07-28 19:40:26 -04:00
Kevin Gisi 39b19636d7 Merge pull request #5685 from gisikw/allow-proxy-bypass
Allow x-habitica-lb: yes suffice to bypass SSL redirect
2015-07-28 19:27:08 -04:00
Kevin Gisi 3be5c2cb96 Allow x-habitica-lb: yes suffice to bypass SSL redirect 2015-07-28 19:12:52 -04:00
Sabe Jones 39a17d933d fix(achievements): Day copypasta 2015-07-28 16:26:46 -05:00
Sabe Jones ceb9cf7817 WIP(event): Habitica Day 2015-07-28 16:20:08 -05:00
Sabe Jones 60d6a479de Merge pull request #5683 from HabitRPG/sabrecat/enable-drops-sooner
Enable pets at Level 3
2015-07-28 13:12:40 -07:00
Sabe Jones ac9244af7c Merge pull request #5675 from HabitRPG/sabrecat/party-analytics
Party analytics properties
2015-07-28 13:12:25 -07:00
Sabe Jones 0f08c2a8b1 test(unlocks): Check Rebirth 2015-07-28 14:35:37 -05:00
Sabe Jones 6dbac3280d test(levelup): Add tests for unlocks 2015-07-28 14:32:16 -05:00
Sabe Jones 8492541636 fix(visuals): Armoire and Seasonal Shop
Cleans up the Enchanted Armoire sprite and fixes bad alignment of Gem prices on the Seasonal Shop page.
2015-07-28 13:35:17 -05:00
Sabe Jones 13ab60cafe feat(drops): Enable pets at Level 3 2015-07-28 13:28:45 -05:00
Sabe Jones 7c56f5e7f6 fix(analytics): Tweaks per code review 2015-07-28 13:26:39 -05:00
Blade Barringer a23b7d23a9 chore(i18n): update locales 2015-07-28 08:00:08 -05:00
Blade Barringer d3bcf57246 chore(i18n): update locales 2015-07-28 07:43:40 -05:00
Blade Barringer 08a4e30b8e chore(i18n): update locales 2015-07-27 23:15:48 -05:00
Sabe Jones 5d5f1d2b1b chore(legal): Update revision date 2015-07-27 16:58:16 -05:00
Sabe Jones 1a14ac20a6 refactor(avatar): DRY out paperdolls 2015-07-27 16:35:06 -05:00
Sabe Jones 4f36ecb8d1 fix(legal): TOS and privacy tweaks
Also updates the front page daily users brag to account for the 25% growth since the introduction of the joinOthers string.
2015-07-27 15:26:31 -05:00
Sabe Jones f6bbae3beb fix(analytics): Bad comparison
Corrects an error caught via test, where the check for intro tour completion would always fail. Also tweaks the updateUser behavior to save an explicit false if tour completion data is not found, including a test for that behavior.
2015-07-27 15:13:59 -05:00
Sabe Jones e9ed561907 fix(analytics): Add missing ID update
Also make the order of partyID and partySize consistent across updateUser calls.
2015-07-27 14:34:31 -05:00
Sabe Jones 9d7a2a1c24 feat(analytics): Party properties
Adds tracking of the user's party ID and size as user-level analytics properties.
2015-07-27 14:25:11 -05:00
Blade Barringer e72543641c Puts keys of the kennel modal on the inventory ctrl so pet counting variables can be accesssed
Closes #5668
2015-07-25 23:22:35 -05:00
Alys f5c66e51d1 refactor cron process for todos and dailys to give them separate code 2015-07-26 11:27:00 +10:00
Blade Barringer f31d1b4b1b Merge branch 'develop' into TheHollidayInn-tasks-select-with-keys-fix 2015-07-24 22:16:57 -05:00
Blade Barringer f749d1a3cb Make todos selectable with vimium 2015-07-24 22:08:13 -05:00
Blade Barringer 7c43f87858 Add test for discard method 2015-07-24 17:30:48 -05:00
Blade Barringer 60ee0c911f Add test for edit 2015-07-24 17:30:48 -05:00
Blade Barringer 6aae668b8c Rework gem adjustment so it actually makes sense 2015-07-24 17:30:47 -05:00
Blade Barringer 68f9a78aac Write tests for creating challenges 2015-07-24 17:30:47 -05:00
Blade Barringer 9e25c29e04 Correct maxPrize calculation 2015-07-24 17:30:47 -05:00
Blade Barringer 099beb5e8d Add task manipulation tests for challenges 2015-07-24 17:30:46 -05:00
Blade Barringer aea1ceafe5 Move test 2015-07-24 17:30:46 -05:00
Blade Barringer 875f30bece Add tests for filtering groups 2015-07-24 17:30:46 -05:00
Blade Barringer e37c60e0f2 Expand functions to make them readable 2015-07-24 17:30:45 -05:00
Blade Barringer 800c270944 Add tests for leave functions 2015-07-24 17:30:45 -05:00
Blade Barringer d3da391f6e Add challenge join test 2015-07-24 17:30:45 -05:00
Blade Barringer 0b85dc3e27 Correct getChallenges name 2015-07-24 17:30:44 -05:00
Blade Barringer 12e0bda8a2 Use specHelper to create mock challenges 2015-07-24 17:30:44 -05:00
Blade Barringer 32ebc8734e Set default prize for challenge at 0 2015-07-24 17:30:44 -05:00
Blade Barringer f9cc9a87ee Add challenge factory to karma specs 2015-07-24 17:30:44 -05:00
Blade Barringer 2722116b40 Organize challenge controllers specs 2015-07-24 17:30:43 -05:00
Blade Barringer 61d0172567 Add mising semi colons and line breaks 2015-07-24 17:30:43 -05:00
Blade Barringer 95131f276b Add tests for save function 2015-07-24 17:30:43 -05:00
Blade Barringer a89b612bbe Impliment challenge controller changes in view 2015-07-24 17:30:42 -05:00
Blade Barringer bac979ca4d Eliminate unused variable 2015-07-24 17:30:42 -05:00
Blade Barringer 2441f6363e Consolidate transition code 2015-07-24 17:30:42 -05:00
Blade Barringer 5cd42e85c7 bail out and alert user if prize is too high 2015-07-24 17:30:41 -05:00
Blade Barringer 7c4486e001 Use gem calc functions 2015-07-24 17:30:41 -05:00
Blade Barringer c92678008b Write functions to check if user has balance for challenge creation 2015-07-24 17:30:41 -05:00
Blade Barringer cb27c3dc44 Correct indentation and equality checks on shuldShowChallenge 2015-07-24 17:30:40 -05:00
Blade Barringer eea01216d7 Move backToChallenges to private functions section 2015-07-24 17:30:40 -05:00
Blade Barringer fb6a34c2ed Set default group to tavern if no default group is found 2015-07-24 17:30:40 -05:00
Blade Barringer fe2fb6deba Remove out of context comment 2015-07-24 17:30:40 -05:00
Blade Barringer f8e2e74336 Move getChallenges private method to bottom of file 2015-07-24 17:30:39 -05:00
Blade Barringer 061e6dbfa5 Add test for shouldShow function 2015-07-24 17:30:39 -05:00
Blade Barringer 26b3ab1f9a Add pending tests 2015-07-24 17:30:39 -05:00
Blade Barringer 59e19d98ca Remove misplaced challenge spec 2015-07-24 17:30:38 -05:00
Blade Barringer bcb128f4b6 Adjust wording for tavern challenge popover 2015-07-24 17:30:38 -05:00
Blade Barringer 791e2f0c16 Add method to get user balance in gems 2015-07-24 17:30:38 -05:00
TheHollidayInn 061e381abf Updated broken test to mimic other save test 2015-07-24 17:30:37 -05:00
TheHollidayInn 79101f5eb8 Added and fixed hasEnoughGems test 2015-07-24 17:30:37 -05:00
TheHollidayInn ef9dfac087 Create new function to check for enough gems, added @crookedneighbor 's tests, and added tests to check for enoughGems when user creates a habitrpg challenge 2015-07-24 17:30:37 -05:00
TheHollidayInn 53c21b07a3 Reset enough gems variable if user selects group other than habitrpg 2015-07-24 17:30:36 -05:00
TheHollidayInn fce622ddc7 Added hide and error message when a user tries to create a challenge for HabitRPG group and they have no gems 2015-07-24 17:30:36 -05:00
Sabe Jones 63a8bf63cb Merge pull request #5664 from HabitRPG/sabrecat/death-modal
Kinder, gentler death
2015-07-24 14:36:33 -07:00
Sabe Jones 3adb315184 feat(death): Release candidate
Version to push live for end user feedback. (Pardon the merge conflict garbage included in prior commit; rerunning spritesmith sorted it out!)
2015-07-24 16:24:14 -05:00
Sabe Jones d022a0eb67 Merge branch 'develop' into sabrecat/death-modal
Conflicts:
	common/dist/sprites/habitrpg-shared.css
	common/dist/sprites/spritesmith0.png
	common/dist/sprites/spritesmith2.png
	common/dist/sprites/spritesmith3.css
	common/dist/sprites/spritesmith3.png
	common/dist/sprites/spritesmith4.css
	common/dist/sprites/spritesmith4.png
2015-07-24 16:11:51 -05:00
Blade Barringer 4c316cab72 Merge pull request #5591 from crookedneighbor/analytics-service-server-side
Analytics service - server side
2015-07-24 15:28:24 -05:00
Blade Barringer fca6f91f13 Merge branch 'develop' into analytics-service-server-side 2015-07-24 15:19:31 -05:00
Sabe Jones dc26e1680c Merge pull request #5661 from HabitRPG/sabrecat/mystery
July 2015 subscriber goodies
2015-07-24 12:29:07 -07:00
Blade Barringer 4ea5e0c71a Update newGroup spec helper 2015-07-24 14:03:44 -05:00
Blade Barringer f6bc929ddd Refacor how spec factory overrides works 2015-07-24 11:38:52 -05:00
TheHollidayInn 966e90da4e Added height and width so Vimium can find the checkboxes 2015-07-23 21:20:18 -05:00
Sabe Jones 65c2f5c9d5 fix(death): Gentler wording 2015-07-23 17:08:00 -05:00
Sabe Jones c8982b3513 fix(analytics): Track intro tour steps 1-2 2015-07-23 15:07:37 -05:00
Sabe Jones d32d05e873 feat(mystery): July 2015 goodies
Also makes the mystery box opening notification translatable and adds item graphics to it.
2015-07-23 12:05:13 -05:00
Blade Barringer bfd56b35e1 Revert armoire counting code back to old system
@TODO: work out why it's hpapening and unpend test for new system
2015-07-23 08:43:08 -05:00
Alys c3e2b92546 add all the files I forgot to add for https://github.com/HabitRPG/habitrpg/commit/02cccb01ef1ade15b4eba816148314726e2efb30 (blank placeholder image for collection quests, partial fix for #4936) 2015-07-23 13:58:38 +10:00
Blade Barringer 36a082f4ef chore(i18n): update locales 2015-07-22 21:51:17 -05:00
Blade Barringer d8434a5512 chore(i18n): update locales 2015-07-22 21:24:10 -05:00
Blade Barringer 8a363efc43 Merge branch 'develop' into TheHollidayInn-pet-actions-esc-to-cancel 2015-07-22 17:59:50 -05:00
Blade Barringer f876988cb9 Merge pull request #5642 from crookedneighbor/refactor_member_modal_and_stats_page
Refactor member modal and stats page
2015-07-22 17:46:57 -05:00
Blade Barringer c41271e558 Merge branch 'develop' into refactor_member_modal_and_stats_page 2015-07-22 17:39:39 -05:00
Blade Barringer 7b9102c88c Move gear counting to counting script 2015-07-22 17:37:35 -05:00
Blade Barringer f40cfd2b66 Move all pet counting to shared count scripts 2015-07-22 17:32:12 -05:00
Sabe Jones 0f1c92184c chore(news): iOS update Bailey 2015-07-22 15:42:35 -05:00
TheHollidayInn c61eccaaba Removed if statements and fixed style issues 2015-07-22 15:38:17 -05:00
Sabe Jones 7d622792a8 Merge pull request #5635 from HabitRPG/sabrecat/quests-page
Improve quest drop notification
2015-07-22 10:28:16 -07:00
Sabe Jones 6d52f842ff fix(quest): Move party jump to cb 2015-07-22 11:52:15 -05:00
Blade Barringer de30d6bf0c chore(i18n): update locales 2015-07-22 07:41:49 -05:00
Alys 02cccb01ef add blank placeholder image for collection quests that don't have quest box artwork - partial fix for https://github.com/HabitRPG/habitrpg/issues/4936 2015-07-22 20:48:06 +10:00
TheHollidayInn 107e27a2c6 Deselect food, egg, and potion when hitting the escape key 2015-07-21 21:52:29 -05:00
Blade Barringer 063e53b0ea Added function to count pets that are actually owned 2015-07-21 20:14:15 -05:00
Blade Barringer 20660f50c0 Add count function for remaining items in gear set 2015-07-21 18:06:07 -05:00
Sabe Jones 0313170921 feat(quests): Invite party button 2015-07-21 15:25:34 -05:00
Sabe Jones 5789f22320 WIP(death): Draft with decal 2015-07-21 14:39:08 -05:00
Sabe Jones 0039a17366 WIP(death): More display tweaks 2015-07-21 13:57:13 -05:00
Blade Barringer 73e1764413 Move beast/mount master counts to separate file 2015-07-21 08:13:50 -05:00
Sabe Jones c286d08bc8 WIP(death): New death modal 2015-07-20 16:24:05 -05:00
Sabe Jones 632faafa4f fix(quests): Refactoring
Based on feedback from @crookedneighbor and @gisikw. Removes double ternary in the block that normalizes the item type string, and reverts the notification logic to if/else if format instead of switch/case. Also removes a block of commented-out code once used for death notifications.
2015-07-20 14:17:35 -05:00
Blade Barringer 65c14b1e3f Refactor inventory ctrl variables 2015-07-20 12:51:10 -05:00
Blade Barringer 3d40da4004 Remove countPets and countMounts from codebase 2015-07-20 08:11:00 -05:00
Blade Barringer 610f7faa5c Add test for count beast/mount master progress 2015-07-20 08:04:03 -05:00
Blade Barringer 2695419182 Use better beastMaster / mountMaster counts 2015-07-19 21:51:30 -05:00
Blade Barringer 3643d11d97 Refactor pet and mount count into one method 2015-07-19 20:56:14 -05:00
Blade Barringer aee37b2a0e Swap out pet and mount count with stat calc functions 2015-07-19 20:40:15 -05:00
Blade Barringer 89bfc83b95 Organize stat functions alphabetically 2015-07-19 20:19:16 -05:00
Blade Barringer 11f56d491c Remove close button from menu
Closes #3820
2015-07-19 19:08:48 -05:00
Blade Barringer 1fb068d06d Update test for new quest name 2015-07-19 10:17:03 -05:00
Blade Barringer 054d884154 Merge branch 'develop' into analytics-service-server-side 2015-07-19 10:13:34 -05:00
Blade Barringer 16c6647b34 Bump version number to resolve error message 2015-07-19 10:09:00 -05:00
Blade Barringer 0ce1183652 Automatically sends item name when item is purchased 2015-07-19 10:06:50 -05:00
Blade Barringer a950339f01 Clarify cron 2015-07-19 08:41:45 -05:00
Blade Barringer b49995c676 Allow optional value to be passed in 2015-07-19 08:33:44 -05:00
Blade Barringer deac9619bc Refactor to use object method of sending google data 2015-07-19 08:27:16 -05:00
Blade Barringer a139ca8ba5 Merge branch 'develop' into refactor_member_modal_and_stats_page 2015-07-18 17:10:04 -05:00
Blade Barringer dc2fab14d0 Merge branch 'GitHubSphinx-Sphinx-i18n-db1' into develop 2015-07-18 17:06:26 -05:00
Blade Barringer 4f5626b73b Merge branch 'hairlessbear-fix-ian-popover' into develop 2015-07-18 17:00:32 -05:00
Blade Barringer 4e6c2e7335 Add missing classes 2015-07-18 16:59:54 -05:00
Blade Barringer 4cff85784d Move stats to separate partials 2015-07-18 16:00:09 -05:00
Blade Barringer 9994b27f1e Fix member modal on static/front 2015-07-18 16:00:09 -05:00
Blade Barringer d44dbef859 Move member modal controller to own file 2015-07-18 16:00:08 -05:00
Blade Barringer b716d882b6 Began refactor of stats page 2015-07-18 16:00:08 -05:00
Blade Barringer c784b97586 Create private method for how stats should be displayed 2015-07-18 16:00:08 -05:00
Blade Barringer 53fb0ec8b0 Add display experience function 2015-07-18 16:00:07 -05:00
Blade Barringer f1453d30c4 Add gold display function 2015-07-18 16:00:07 -05:00
Blade Barringer 2eb62de056 Add mpdisplay function 2015-07-18 16:00:07 -05:00
Blade Barringer 17ef7e2885 Add hpDisplay function 2015-07-18 16:00:06 -05:00
Blade Barringer f9304bd28f Move stat calc scripts to angular service 2015-07-18 16:00:06 -05:00
Blade Barringer 3926a6e95a Remove unnecssary semicolons 2015-07-18 16:00:06 -05:00
Blade Barringer 94d476f837 Correct method name 2015-07-18 16:00:06 -05:00
Blade Barringer ff42505d1b Add string 2015-07-18 16:00:05 -05:00
Blade Barringer 2b4e48fbe6 Add stat calc to common 2015-07-18 16:00:05 -05:00
Blade Barringer 20148be288 Watch js files in common folder 2015-07-18 16:00:05 -05:00
Blade Barringer 163b0545e8 Adjustments for error handling 2015-07-18 16:00:04 -05:00
Blade Barringer 6d5b57d139 Add class bonus calc function 2015-07-18 16:00:04 -05:00
Blade Barringer e5428f29c1 Add calculation for equipment stat bonus 2015-07-18 16:00:04 -05:00
Blade Barringer 841923e054 Add level bonus calculation script 2015-07-18 16:00:03 -05:00
Blade Barringer a9757c9dbb Refactor member service; Remove logic in functions that were never used 2015-07-18 16:00:03 -05:00
hairlessbear 6525cd6f8c Revert "First shot at modifying stats.jade attribute table to use ng-repeat"
This reverts commit 0d6bc403d0.
2015-07-18 16:00:03 -05:00
hairlessbear d8f74e5d9f First shot at modifying stats.jade attribute table to use ng-repeat 2015-07-18 16:00:03 -05:00
hairlessbear dbf406c921 Fixes #5623 and fixes #5135 (correctly displays equipment stats in member modals) 2015-07-18 16:00:02 -05:00
carolstone 3fa3b491dc Modified common/script/index.coffee to display dayStart, but send back a
variable of dayStart for processing, instead of having the object directly
updated at the time of edit.

Modified website/views/options/settings.jade to allow a timestamp to be
cast to an iso timestamp because lastCron is saved as an iso timestamp,
and as a straight moment()-based timestamp in order to compare timestamps.

Modified website/public/js/controllers/settingsCtrl.js to do the
following:
   Accept the new proposed dayStart
   Calculate the timestamp of the old dayStart and the new dayStart

     These two steps were necessary because dayStart is an integer between
     and including 0 and 23. I tested and confirmed the current production
     dayStart does not allow 24 to be entered but does allow 0. I was
     careful to NOT change how that worked.

   Cast the old dayStart, the new dayStart and lastCron to the moment()
   version of time so they could be compared.

   Cast the new dayStart to the iso timestamp for storage in lastCron

   The important change is the following:

   if oldDayStart < lastCron AND lastCron < newDayStart then lastCron
   should be set to newDayStart. I modified this to include if oldDayStart
   = lastCron, although I think that's pretty unlikely to be possible.
   When I tested this, my lastCron was a mere 17 seconds after my
   oldDayStart, so it seemed to me that the equal case should be included
   with the less than case.
2015-07-17 21:17:07 -04:00
Matteo Pagliazzi 3fa8ab80b5 chore(i18n): update locales 2015-07-17 15:31:12 +02:00
Matteo Pagliazzi 86eaff7cb0 fix(i18n): string for amazon payments 2015-07-17 15:28:55 +02:00
hairlessbear c61c572887 '.row.col-md-12' changed to '.row: .col-md-12' 2015-07-16 21:10:48 -04:00
hairlessbear eae7f79363 Fixed time traveler items repositioning strangely on window resize 2015-07-16 20:37:14 -04:00
hairlessbear e2073f75b8 Refactored inventory file NPCs to use Bootstrap v3 grid and CSS instead of tables 2015-07-16 20:19:32 -04:00
hairlessbear 6657be51d7 Merge pull request #11 from crookedneighbor/death_to_tables
Change Ian on quests page to not use tables
2015-07-16 19:09:54 -04:00
Sabe Jones 3f8a4a0957 fix(quests): Remove controller instantiation 2015-07-16 16:35:21 -05:00
Sabe Jones ffc441ab82 feat(quests): Improve drop notif 2015-07-16 16:22:49 -05:00
Sabe Jones 2407c9eeb8 feat(quests): Improve buy confirm dialog 2015-07-16 12:56:26 -05:00
Blade Barringer 668a8bb6f6 chore(i18n): update locales 2015-07-16 12:04:10 -05:00
Sabe Jones 73a1c7c596 fix(style): Remove extra class 2015-07-16 11:29:04 -05:00
Sabe Jones e25819f6de feat(party): Conclude invite experiment 2015-07-16 11:22:19 -05:00
Matteo Pagliazzi 695c793f6e Merge pull request #5632 from HabitRPG/paglias/amazon-payments
Amazon Payments: implement one time purchases
2015-07-16 13:24:42 +02:00
GihHubSphinx e48703602a Make colon is stats hideable 2015-07-16 12:00:56 +05:00
GihHubSphinx aa0aec8d4b Revert "New string in stats if gear has no benefits (take 2)"
This reverts commit fdbd18a8ed.
2015-07-16 10:54:17 +05:00
Alys 239f7c9c95 change message on Armoire when it is empty to say that new gear arrives in the first week of the month 2015-07-16 12:56:28 +10:00
Sabe Jones c15f2b1f80 Merge branch 'sabrecat/quests-page' into develop 2015-07-15 14:12:05 -05:00
Sabe Jones 4a54363966 fix(quests): Show info modal for Gold quests 2015-07-15 14:02:49 -05:00
Matteo Pagliazzi e0bfd60eb1 amazon payments: switch to green button 2015-07-15 20:07:17 +02:00
Matteo Pagliazzi ecc98411c7 refactor amazon payments and add one time purchases once again 2015-07-15 20:07:17 +02:00
Matteo Pagliazzi bade139b4b wip amazon payments donation 2015-07-15 20:07:17 +02:00
Matteo Pagliazzi de32461787 feat(amazon-payments): WIP add donations 2015-07-15 20:07:17 +02:00
Blade Barringer 6c6c9b3464 Change Ian on quests page to not use tables 2015-07-15 08:19:39 -05:00
Blade Barringer 8a97b597f5 Resize sea foam image
Fixes #5609
2015-07-15 07:53:12 -05:00
Blade Barringer 3e1f1f191d Merge pull request #5619 from gisikw/habitica-console
Add a 'gulp console' method which preloads Mongo, models
2015-07-15 06:58:04 -05:00
Matteo Pagliazzi 38ac664284 chore(i18n): update locales 2015-07-15 13:17:57 +02:00
hairlessbear a9b3e6bf49 Refactored active time travlers code to move popover closer to NPCs 2015-07-15 01:14:21 -04:00
hairlessbear 4f65bab7bf Refactored inventory files with NPCs to cause popovers to be close to NPC 2015-07-15 01:00:08 -04:00
Alys d8e7108098 moved twoHanded:true out of bracketed region in rancherLasso - it was causing "Error processing the string" 2015-07-15 14:56:57 +10:00
hairlessbear b591428717 Changed number of columns for ian and popover 2015-07-15 00:13:06 -04:00
Alys 9ccab259b0 add message to Inventory/Market (drops) page to explain where quests have gone 2015-07-15 13:29:03 +10:00
Kevin Gisi 9645f08769 Add a 'gulp console' method which preloads Mongo, models, and sets up utility methods 2015-07-14 23:22:02 -04:00
Blade Barringer 0bc5db4885 Merge branch 'aedotj-patch-1' into develop 2015-07-14 21:10:05 -05:00
Blade Barringer 3437975ba3 Change order of quests 2015-07-14 19:44:55 -05:00
Blade Barringer e5a740a74f Adjust spacing 2015-07-14 19:32:45 -05:00
Sabe Jones 32a74471db Merge branch 'sabrecat/quests-page' into develop 2015-07-14 18:56:32 -05:00
Blade Barringer 435d33724b Set test to listen on rootScope.openModal 2015-07-14 18:32:50 -05:00
Blade Barringer 1adb3c479b Merge branch 'blurbs' into develop 2015-07-14 18:21:37 -05:00
Sabe Jones 08e9f4f769 fix(test): Quest buy typo 2015-07-14 17:42:15 -05:00
Sabe Jones 6cad2df6a3 test(quests): Add user.ops.buyQuest test
Also adds the Bailey announcement for the day and implements "locked" quest scrolls for the beginning quests in extant quest chains.
2015-07-14 17:34:01 -05:00
Matteo Pagliazzi 8f9fa7942a fix(settings): use correct value for inactivity emails 2015-07-15 00:13:17 +02:00
Greg G. 1fe900db25 pets.jade: IE better support
It is currently impossible to see how fed a pet is in IE. The width of the .progress-bar-success is "{{user.items.pets["Wolf-Base"]/.5}}%".
Now, it works.
2015-07-14 22:58:24 +02:00
Sabe Jones 5e0d754553 fix(test): Inject Content 2015-07-14 14:55:13 -05:00
Sabe Jones 79b3597693 fix(tests): Buy specific quest keys 2015-07-14 14:27:25 -05:00
Sabe Jones af5b7d4d24 fix(test): Partial tests fix 2015-07-14 14:24:11 -05:00
Sabe Jones eb3a72995c test(quests): Buy quest tests 2015-07-14 12:43:02 -05:00
Sabe Jones 0955d63998 test(quests): Fix tests 2015-07-14 11:46:13 -05:00
Blade Barringer 7ad2839f05 Adjust look of page blurbs 2015-07-14 08:18:02 -05:00
Blade Barringer cdc54038ba Remove bad file encoding 2015-07-14 07:56:53 -05:00
unknown 7e60864d41 Fixing color on blurbs 2015-07-14 07:46:57 -05:00
unknown 1789bf3c6a Making suggests changes to issue 5513 2015-07-14 07:44:51 -05:00
unknown a25296a855 adding more links to heroes blurb and links not included in json 2015-07-14 07:44:51 -05:00
unknown 65b7465081 adding blurbs to pages 2015-07-14 07:44:51 -05:00
Matteo Pagliazzi 6cf0840c71 chore(i18n): update locales 2015-07-14 13:55:03 +02:00
Blade Barringer a01b2756f2 Merge pull request #5605 from hairlessbear/join-party-quest-invite-fix
Invite a new party member to a quest if the quest is still in the invitation stage (fixes #5598)
2015-07-13 22:37:46 -05:00
Sabe Jones 266b6b87e2 test(quests): Quests Service spec WIP
First test on new Quests Service. Also fix Armoire tests to account for new items.
2015-07-13 19:16:29 -05:00
Sabe Jones b9f795529b feat(quests): Dilatory Distress
Implements the "Dilatory Distress" quest chain, purchasable for Gold. Also adds four new items to the Enchanted Armoire.
2015-07-13 18:21:32 -05:00
Alys cb9f5bcff3 Merge pull request #5523 from hairlessbear/update_isOnQuest_logic
Removed user.party.quest.key checks from isOnQuest and added check for user ID in quest members
2015-07-14 08:11:35 +10:00
Sabe Jones 209989d7aa Merge pull request #5601 from crookedneighbor/quests-fix-merge-coflicts
fix merge conflicts for quests refactor
2015-07-13 12:18:27 -07:00
hairlessbear 7223eeb681 Invites a new party member to a quest if the quest is still in the invitation stage (fixes #5598) 2015-07-13 13:01:35 -04:00
Blade Barringer 60e92805dd Remove unneeded comment 2015-07-13 08:36:01 -05:00
Blade Barringer 87f5449267 Merge branch 'develop' into quests-fix-merge-coflicts 2015-07-13 08:20:52 -05:00
Blade Barringer 148e418c8a Change file names to use hyphen syntax 2015-07-13 08:19:15 -05:00
Blade Barringer b01e4489ef Compile sprites 2015-07-12 22:30:46 -05:00
Blade Barringer 6f4b76edc5 Rename rancher armor to rancher robes 2015-07-12 22:25:05 -05:00
Blade Barringer dad6a9527b Added shop versions of armoire stuff 2015-07-12 22:21:39 -05:00
Blade Barringer 9ebf5dee2c Renamed crown sprite 2015-07-12 22:18:08 -05:00
Blade Barringer cb992e1083 Added category to whale quest 2015-07-12 21:16:49 -05:00
Matteo Pagliazzi fefc8ee732 Merge pull request #5600 from gisikw/remove-apdex-check
Remove apdex check from middleware until NR is back
2015-07-12 23:50:35 +02:00
Matteo Pagliazzi 4b170cd4dc chore(i18n): update locales 2015-07-12 23:45:26 +02:00
Blade Barringer fe5bbfadde Remove credit 2015-07-12 14:35:08 -05:00
Blade Barringer 4e9c252367 Removed extraneous jade file 2015-07-12 14:27:53 -05:00
Blade Barringer 0b53da0798 Double-check seasonal shop jades 2015-07-12 14:24:18 -05:00
Blade Barringer 316c3e9c2e Sort out conflicts from develop 2015-07-12 13:51:42 -05:00
Kevin Gisi c82e5a885d Put memory check back in 2015-07-12 13:51:22 -04:00
Kevin Gisi be420a67a0 Remove apdex check from middleware until NR is back 2015-07-12 13:39:16 -04:00
Blade Barringer add35bc17c Correct names of sprites 2015-07-12 12:21:12 -05:00
Blade Barringer 74de248109 Adjust how quest drops are sent 2015-07-12 10:05:00 -05:00
Blade Barringer 284fa03223 Add platform, change itemName to itemKey 2015-07-12 10:03:41 -05:00
Blade Barringer 6ac049cc71 Allow animal ears to be added to costume or equipped gear 2015-07-12 09:23:03 -05:00
Blade Barringer a767cf9a21 Add server_side tests to gulp 2015-07-12 08:50:25 -05:00
Blade Barringer d09b24e1a5 Add sprites to website 2015-07-12 08:24:03 -05:00
Alys 92bfc66c67 fix a bug where if you had "Use Costume" ticked, any Battle Gear or Costume choice would be added to your costume, never to Battle Gear 2015-07-12 18:18:31 +10:00
TheHollidayInn fe6a42b2b7 Escaped second parameter in sparameter in score function 2015-07-11 21:25:00 -05:00
Alys 18db504d2a allow Trivial priority (difficulty) to cause a tiny amount of damage from a boss 2015-07-12 11:05:01 +10:00
Blade Barringer 87dddb178f Merge branch 'duckspeaker-issue-5570-hall-of-heroes-table-resize' into develop 2015-07-11 16:53:09 -05:00
Blade Barringer 18ebbdac67 Remove extra class 2015-07-11 16:52:55 -05:00
Blade Barringer c9ac32231d Remove inventory again 2015-07-11 16:37:26 -05:00
Blade Barringer 4a9ea83d6b Added whale quest back in, refactor 2015-07-11 16:35:16 -05:00
Blade Barringer 4acc0c03a8 Add in changes to equipment and seasonalshop 2015-07-11 16:16:29 -05:00
Blade Barringer b71f68ef32 Merge branch 'develop' into equipment-refactor-merge-into-develop 2015-07-11 15:55:53 -05:00
Blade Barringer 74dee2727e Remove out of date todo 2015-07-11 15:54:09 -05:00
Blade Barringer dccc10aa4d Refactor 2015-07-11 15:05:58 -05:00
Blade Barringer ba13f2d9aa Add locale strings 2015-07-11 15:05:32 -05:00
Blade Barringer eeae12b002 Refactore inventory pages 2015-07-11 13:50:30 -05:00
Blade Barringer 066206f41c Refactored inventory into separate files 2015-07-11 13:13:00 -05:00
Blade Barringer c33a22ceb3 Put locale key creation into private function 2015-07-11 12:07:20 -05:00
Blade Barringer 94cd0bb852 Use user variable 2015-07-11 11:18:19 -05:00
Blade Barringer d2e61bf5ef Change string to str 2015-07-11 11:15:04 -05:00
Blade Barringer cb4b2e43bf Change variable name to itemList 2015-07-11 11:14:50 -05:00
Alys ef496525a1 change white "Report" button to red "Report Violation" button in chat message flag modal 2015-07-11 21:23:39 +10:00
Joe Gallo aabc50e992 surround tables in table-responsive class 2015-07-11 01:19:47 -04:00
Blade Barringer 22f92e5388 Merge pull request #2 from SabreCat/crookedneighbor/analytics-service-server-side
feat(analytics): Server tweaks
2015-07-11 00:19:41 -05:00
Blade Barringer 305414e152 Merge pull request #5553 from Lokeh/Lokeh/maxHealth
maxHealth refactor
2015-07-11 00:18:15 -05:00
Arbixal 48b520509c fixes https://github.com/HabitRPG/habitrpg/issues/5555 2015-07-11 00:15:55 -05:00
Blade Barringer c941511d11 Merge branch 'barbourkd-develop' into develop 2015-07-11 00:11:23 -05:00
Blade Barringer 50a924e470 Add space 2015-07-11 00:11:02 -05:00
Blade Barringer 09d85f39fc Merge pull request #5586 from GitHubSphinx/Sphinx-entry2
Introducing a class for buttons allowing wrapping
2015-07-11 00:07:26 -05:00
Blade Barringer ddf2489664 Merge pull request #5581 from barbourkd/bugfix/5552
Show Extra Notes icon regardless of task ownership.
2015-07-11 00:05:04 -05:00
Blade Barringer 2722651cc8 Merge branch 'GitHubSphinx-Sphinx-entry3' into develop 2015-07-10 23:47:42 -05:00
Blade Barringer 3644d43f0a Remove unnecessary duplication 2015-07-10 23:47:23 -05:00
Blade Barringer ab1870c1aa Merge branch 'TheHollidayInn-groups-remove-message-when-kick' into develop 2015-07-10 23:24:20 -05:00
Blade Barringer cdcc085530 Adjust test 2015-07-10 23:21:23 -05:00
TheHollidayInn acb82f99ce Remove user's group msg notification when they are kicked from the group 2015-07-10 22:39:17 -05:00
Sabe Jones 3bbde2a548 fix(analytics): Include GA label for quest actions 2015-07-10 13:57:46 -05:00
Sabe Jones 175b4fa6e0 fix(analytics): Correct quest key 2015-07-10 13:51:27 -05:00
Sabe Jones 5e89ae200d feat(analytics): Server tweaks
Remove duplicate browser-side tracking for new user registration. Move quest tracking to server side and expand to include all quest accept/reject actions.
2015-07-10 13:47:03 -05:00
GihHubSphinx cc00bd17b3 Don't show unneeded spaces between buttons in chat
Don't show spaces in front of a button in a chat message if button
itself is not shown
2015-07-10 20:47:24 +05:00
Joe Gallo 9367ff80b6 Use bootstrap table-responsive class instead of inline css. 2015-07-10 11:23:33 -04:00
Blade Barringer 8d1231a1ee Remove erroneous var 2015-07-10 09:14:22 -05:00
Matteo Pagliazzi 5e8baf6c92 chore(i18n): update locales 2015-07-10 15:45:58 +02:00
Blade Barringer acb0793baf Correct indentation 2015-07-10 07:49:22 -05:00
Blade Barringer 2f1d3400bc Added additional analytics info 2015-07-10 07:47:52 -05:00
Blade Barringer d9f8e54d1a Remove gogle analytics from export 2015-07-10 07:41:07 -05:00
Blade Barringer 2e6725997d Swap out ga for analytis service in auth controller 2015-07-10 07:40:01 -05:00
Blade Barringer ac02ad3aa2 Update amplitude version 2015-07-10 07:35:45 -05:00
Joe Gallo b708095472 make sure hall of heroes table contents fit as table is resized 2015-07-10 00:23:07 -04:00
Blade Barringer 52620bb69d Impliment analytics in user actions; remove mixpanel 2015-07-09 22:18:37 -05:00
Blade Barringer a6d162bfc0 Update how info is sent to google 2015-07-09 22:17:27 -05:00
Blade Barringer d6444f922b Remove double instantiation 2015-07-09 22:16:50 -05:00
GihHubSphinx 00f7af7807 Introducing a class for buttons allowing wrapping
New .btn-wrap class for buttons with long text allowing wrapping
2015-07-10 02:33:09 +05:00
Sabe Jones 44bcb1c233 Merge pull request #5584 from HabitRPG/sabrecat/derby-day
Derby Day
2015-07-09 12:32:40 -07:00
Sabe Jones d5f97b2781 chore(news): Derby Day Bailey 2015-07-09 14:24:22 -05:00
Sabe Jones 353dcff908 fix(Market): Sell whale eggs 2015-07-09 13:27:16 -05:00
Sabe Jones 6cc0a08dc2 feat(event): Derby Day pet quest 2015-07-09 12:57:43 -05:00
Blade Barringer 7bc74f2c11 Track unsubscription 2015-07-08 21:47:57 -05:00
Kevin Barbour 5a57895077 Show Extra Notes icon regardless of task ownership.
fixes #5552
2015-07-08 20:48:42 -04:00
Kevin Barbour d6aef8ee24 Prevent "Resting in the Inn" message when viewing challenges.
fixes #5559
2015-07-08 20:22:23 -04:00
Sabe Jones c0d35dc472 WIP(quests): Quests page cont'd
Test fixes and addition of function for buying Quests with Gold
2015-07-08 17:43:08 -05:00
Sabe Jones 78d4989544 WIP(event): Summer Splash cont'd
Splits Quests out to a new page. Refactors inventory Jade files and controllers to more manageable structures.
2015-07-08 16:13:23 -05:00
Sabe Jones 46543f9072 feat(event): Derby Day mount 2015-07-08 16:07:37 -05:00
TheHollidayInn 6e7d94a317 Added keyboard selection for rewards and habits 2015-07-08 08:36:00 -05:00
Blade Barringer c92cf58acb Track purchases with analytics service 2015-07-08 08:11:27 -05:00
Blade Barringer f58dbb2a68 Send only analytics for use in cron 2015-07-08 08:10:48 -05:00
Blade Barringer 1c2ec66c93 Add format user data function to analytics server 2015-07-08 08:09:43 -05:00
Blade Barringer 73b2d816d1 Track cron with analytics service 2015-07-08 08:08:45 -05:00
Blade Barringer c4c4f4a3a5 Add analytics to utils 2015-07-08 07:47:52 -05:00
Blade Barringer 7dc64f8448 Update iOS link to point to new app in footer 2015-07-07 21:30:08 -05:00
Blade Barringer d2b74f11dd Create analytics.track 2015-07-07 18:00:41 -05:00
Sabe Jones 3dd2493fed chore(news): iOS release Bailey 2015-07-07 13:27:19 -05:00
TheHollidayInn 0089a260c7 Added opacity to hide input field. Added enter to submit input fields. Added background color change when user focuses task with keyboard 2015-07-06 23:22:35 -05:00
Matteo Pagliazzi fa8e2785bd chore(i18n): update locales 2015-07-06 22:11:26 +02:00
Blade Barringer e6ee4d303c Set up purchase tracking 2015-07-06 08:11:31 -05:00
Matteo Pagliazzi 3a2422086f fix(french): use env.t client side 2015-07-06 13:39:18 +02:00
Blade Barringer fb5ad3830c Merge branch 'develop' of github.com:HabitRPG/habitrpg into develop 2015-07-05 22:06:04 -05:00
Blade Barringer 6553c9b346 Merge branch 'duckspeaker-issue-5563-pin-or-replace-unregistered-packages' into develop 2015-07-05 22:04:07 -05:00
Blade Barringer ed5afb85a5 Alphabetize dependencies in bower.json 2015-07-05 22:01:16 -05:00
Blade Barringer 1ae505eabd Adjust tags for bower; Set github link to main habitrpg org 2015-07-05 21:58:48 -05:00
Blade Barringer fca4ef8d3f Remove changelog; pin to lefnire's version of icalendar 2015-07-05 21:57:39 -05:00
Matteo Pagliazzi 1618534785 chore(i18n): update locales 2015-07-05 20:51:08 +02:00
Alys d7084ce0c8 remove unnecessary default for dailyTask.startDate (website/src/models/task.js gives default); give user's timezone to their task startDate values (possible solution for https://github.com/HabitRPG/habitrpg/issues/5395 https://github.com/HabitRPG/habitrpg/issues/5510 https://github.com/HabitRPG/habitrpg/issues/5549) 2015-07-05 19:22:10 +10:00
Matteo Pagliazzi 2fb25207bb fix(amazon-payments): use lastBillingDate 2015-07-05 11:17:40 +02:00
TheHollidayInn 2946dd5c4a Restyled task when focused with keyboard. 2015-07-04 19:51:51 -05:00
Joe Gallo bd39d378fd update or pin unregistered bower packages 2015-07-04 20:08:21 -04:00
Joe Gallo 4c70cfd8d2 simplify github repo urls in bower packages file 2015-07-04 19:20:24 -04:00
Joe Gallo b8df812621 all possible unregistered packages in package.json replaced/upgraded
(upgrading swagger-node-express breaks api tests)
2015-07-04 19:17:23 -04:00
Will a21f2427e9 jade syntax errors 2015-07-03 22:22:29 -07:00
Will b3a780b720 more places in header.jade needing maxHealth fix 2015-07-03 22:22:28 -07:00
Will 9bcb3b5cbe update model maxHealth 2015-07-03 22:22:28 -07:00
Will 5f6ddd76a7 update view: stats box in header 2015-07-03 22:22:28 -07:00
Will 03eec12fdd update view: stats table 2015-07-03 22:22:28 -07:00
Will 512d248255 update getUser to use shared.maxHealth 2015-07-03 22:22:28 -07:00
Will 4027c99959 maxHealth added to shared scripts 2015-07-03 22:22:28 -07:00
Blade Barringer 12d5515879 Change motivate message 2015-07-03 19:13:31 -05:00
Sabe Jones dc5b7f31d8 fix(build): Pin working zocial CSS commit 2015-07-03 18:19:39 -05:00
Sabe Jones 6845e8caf3 fix(experiment): Style fixes
Corrects the display of Google Experiment variants in the absence of an API callback, and widens the avatar stat bar for users who don't have a party.
2015-07-03 13:46:22 -05:00
Blade Barringer e924157fdf Merge pull request #5508 from Alys/trivial-difficulty
add Trivial difficulty/priority setting to task Advanced Options
2015-07-03 10:08:46 -05:00
Matteo Pagliazzi fb912313b9 fix(amazon-payments): handle declined payments 2015-07-03 16:54:57 +02:00
Matteo Pagliazzi 313ac91020 improve(amazon-payments): do not redirect after cancellation with ?noRedirect=true 2015-07-03 14:56:19 +02:00
Matteo Pagliazzi f6480faf22 chore(i18n): update locales 2015-07-03 10:49:35 +02:00
Blade Barringer 95c29c5c97 Remove one-time bindings 2015-07-02 20:26:31 -05:00
Blade Barringer 33f2ef7cef Simplify start party button 2015-07-02 19:36:58 -05:00
Sabe Jones fb81c79b78 feat(analytics): Invite Friends experiment
Disables the prior landing page Google Experiment and begins a new one involving the placement and captioning of the button for inviting friends to the user's party.
2015-07-02 16:13:22 -05:00
Blade Barringer 4d7a3afc93 Merge branch 'LionC-develop' into develop 2015-07-02 07:58:59 -05:00
Blade Barringer 4bcff71859 Adjust login modal
* Rename loginForm
* Use larger buttons for logging in or registering
* Use fully translated placeholder text
2015-07-02 07:58:11 -05:00
Blade Barringer f2cd6f921c Merge pull request #5543 from hairlessbear/pointer_on_notes_icon
Changed task notes icon from 'span' to 'a' element to cause cursor to show icon as clickable
2015-07-02 07:40:12 -05:00
Blade Barringer fe7642e33a Add find the cub art
Closes #5545
2015-07-01 20:19:46 -05:00
Blade Barringer ba85487b29 Correct naming of backgrounds 2015-07-01 19:50:49 -05:00
Blade Barringer e6f0acba4c Add initial server side analytics service 2015-07-01 18:36:43 -05:00
Blade Barringer 0ac76cfe34 Remove mixpanel mock 2015-07-01 18:32:11 -05:00
hairlessbear ebbc6666a6 Modified broken challenge icon to cause cursor to show item as clickable 2015-07-01 18:00:49 -04:00
hairlessbear 6e5f741e4a Changed task notes from 'span' to 'a' element to cause cursor to show item as clickable 2015-07-01 17:53:45 -04:00
Kevin Gisi 74d51e530f Merge pull request #5541 from alexbragdon/gulp_fail_fix
Gulp Tests now report summaries even when some tests fail.
2015-07-01 15:44:49 -04:00
Sabe Jones d248b74569 fix(event): Splash visual tweaks 2015-07-01 14:21:37 -05:00
Alexander Bragdon d6a7bc36c7 Changes hard tabs to double space soft tabs in the error throwing failure block. 2015-07-01 15:20:47 -04:00
Alexander Bragdon 45ddc77eaa Fixes a typo in test:api:safe, missed semicolon on line 97. 2015-07-01 14:45:27 -04:00
Alexander Bragdon 9b31cf462a Creates safe versions of tests for Common, API, Karma, and E2E that don't pass errors via callback. The summary information will check if any tests failed and throw an error after all tests have been run. 2015-07-01 14:42:43 -04:00
Lion Cilu 5cb6f0f482 Small login form attribute improvements
Added "spellcheck='false'" to username inputs to make it less annoying to use on some devices where some usernames will be "corrected" by default.
Added "required" to user/email and password inputs on the login form.
2015-07-01 20:38:57 +02:00
Sabe Jones d4b5620ada Merge branch 'sabrecat/summer-splash' into develop 2015-07-01 13:13:23 -05:00
Sabe Jones 25dd82ffa0 feat(event): Summer Splash cont'd
Summer backgrounds, the Seafoam transformation item, and announcements for same.
2015-07-01 13:11:53 -05:00
Matteo Pagliazzi 0ea98880be Merge pull request #5537 from HabitRPG/paglias/amazon-payments
feat(amazon-payments): add a lastBillingDate attribute
2015-07-01 19:11:48 +02:00
Matteo Pagliazzi 4e7afcbe94 feat(amazon-payments): add a lastBillingDate attribute 2015-07-01 18:59:51 +02:00
Alexander Bragdon 75c25dc7a9 Rollback of /social/index.jade to reverse previous commits changes and return branch to upstream parity. 2015-07-01 10:13:10 -04:00
Alexander Bragdon cbb0988679 Adds a space to social/index.jade to test development platform and git tracking. 2015-07-01 09:59:48 -04:00
Blade Barringer 851868296f Merge branch 'Alys-guild-list-links-2015-06-28' into develop 2015-06-30 22:40:35 -05:00
Blade Barringer a3f5f626a6 Put h3 and a on one line 2015-06-30 22:39:48 -05:00
Alys eeb9793eb8 Merge pull request #5526 from Alys/cron-fix-yet-again-2015-06-30
make api.shouldDo use the day being checked as the default date instead of today
2015-07-01 13:17:01 +10:00
Matteo Pagliazzi ca36c5c632 Merge pull request #5531 from HabitRPG/paglias/amazon-payments
Amazon Payments Subscriptions
2015-07-01 01:40:27 +02:00
Matteo Pagliazzi 96ec70487f fix(amazon-payments): remove unused config var 2015-07-01 01:39:52 +02:00
Sabe Jones 71d8fd2f0c fix(analytics): Handle missing user object 2015-06-30 17:13:56 -05:00
TheHollidayInn 7719f46e49 Removed style preventing user from selecting tasks with keyboard 2015-06-30 16:54:04 -05:00
Sabe Jones 3d15da61ec fix(analytics): Correct user ID handling 2015-06-30 16:52:18 -05:00
Sabe Jones 46a7591492 Merge branch 'release-june-30th-2015' into develop 2015-06-30 13:39:51 -05:00
Sabe Jones f88c5fb8b5 chore(news): June 30 Bailey 2015-06-30 12:35:16 -05:00
Matteo Pagliazzi 65f4aac23c feat(amazon-payments): working subscriptions, put donations and gifts on hold 2015-06-30 17:59:30 +02:00
Matteo Pagliazzi 8747cf4cce fix(amazon-oayments): use production url 2015-06-30 17:59:30 +02:00
Matteo Pagliazzi dbce6f7676 fix(amazon-payments): use right url in production 2015-06-30 17:59:30 +02:00
Matteo Pagliazzi 271245f1e6 feat(amazon-payments): finalize one time purchases 2015-06-30 17:59:30 +02:00
Matteo Pagliazzi 78cca423f0 feat(amazon-payments): completely refactor client side flow, support subscription widgets WIP 2015-06-30 17:59:30 +02:00
Matteo Pagliazzi e38f8bf4ef amazon payments: wip 2015-06-30 17:59:30 +02:00
Matteo Pagliazzi a377501f64 feat(amazon-payments): wip on donations 2015-06-30 17:59:30 +02:00
Matteo Pagliazzi 6faef6f737 wip amazon payments 2015-06-30 17:59:30 +02:00
Matteo Pagliazzi b0643e7177 WIP: start working on amazon payments 2015-06-30 17:59:30 +02:00
Matteo Pagliazzi cca3e8bfdf chore(i18n): update locales 2015-06-30 17:59:11 +02:00
sablecliff d44a0a1608 Shortened another line using new the object 2015-06-30 17:16:09 +10:00
Alys 2cd34b0f6e make api.shouldDo use the day being checked as the default date instead of today - fixes https://github.com/HabitRPG/habitrpg/issues/5521 2015-06-30 14:28:00 +10:00
Blade Barringer 4304e56e70 Merge pull request #5511 from Alys/use-costume-explanation-2015-06-28
make costume option more noticeable and understandable
2015-06-29 19:25:44 -05:00
Blade Barringer 547523c8f7 Merge branch 'crookedneighbor-blade-refactor-clone-challenges' into release-june-30th-2015 2015-06-29 17:56:42 -05:00
hairlessbear 0094d3267d Fixed equivalency check (added missing '=') 2015-06-29 18:28:08 -04:00
hairlessbear bcfc17dd18 Added check for user id in active quest to 'isOnQuest' 2015-06-29 15:42:45 -04:00
hairlessbear 860e68ee15 Merge remote-tracking branch 'upstream/develop' into update_isOnQuest_logic 2015-06-29 14:57:54 -04:00
Blade Barringer bc837fd4db Moved menu stuff to own controller 2015-06-29 12:39:05 -05:00
hairlessbear 0b1cc5f0ea Removed user.party.quest.key checks from isOnQuest. They are no longer accurate checks due to changes made in #5298 2015-06-29 13:12:29 -04:00
Matteo Pagliazzi 2f48534342 chore(i18n): update locales 2015-06-29 18:14:46 +02:00
Blade Barringer 567ed1f28b Correct seenMessage use in menu
Closes #5519
2015-06-29 08:58:51 -05:00
Blade Barringer 522181890e Added additional check for chatChanged 2015-06-29 08:13:03 -05:00
Alys a946f2b5a5 rename "show more/less" locale keys to be generic; change to those keys for Use Costume text and Custom Day Start text; move Use Costume "show less" link to bottom of section 2015-06-29 21:49:54 +10:00
Alys 03d1f12a7c fix isOnQuest function to correctly check for quest being active - fixes https://github.com/HabitRPG/habitrpg/issues/5518 2015-06-29 19:42:22 +10:00
sablecliff c8dd666939 Implemented changes as suggested by @crookedneighbour
Should be passing all tests now.
2015-06-29 18:11:12 +10:00
Alys a4e9e5dbfc replace Gokul Theme audio files with new versions https://github.com/HabitRPG/habitrpg/pull/5407#issuecomment-116251843 2015-06-29 13:16:14 +10:00
Blade Barringer b72b14fe6c Merge branch 'develop' into hairlessbear-quest_invite_modal_on_user_sync 2015-06-28 21:07:32 -05:00
Alys 11396d4756 make costume option more noticeable and understandable - fixes https://github.com/HabitRPG/habitrpg/issues/5204 2015-06-28 19:40:39 +10:00
Alys b5ca45a713 convert name of guild to link to guild in index list of public guilds 2015-06-28 15:35:37 +10:00
Alys 122920975d add Trivial difficulty/priority setting to task Advanced Options (also remove whitespace at ends of lines) 2015-06-28 14:41:02 +10:00
GihHubSphinx fdbd18a8ed New string in stats if gear has no benefits (take 2) 2015-06-28 09:23:49 +05:00
GihHubSphinx 44a120b577 Revert "New string if gear has no benefits"
This reverts commit c2f0f89f2b.
2015-06-28 09:18:39 +05:00
Blade Barringer 5f29e19aa7 Merge pull request #5452 from gisikw/isolate-directives
Encapsulate directive functions in anonymous functions
2015-06-27 22:33:29 -05:00
Blade Barringer bcf141840d Merge branch 'TheHollidayInn-tasks-search-checklists' into develop 2015-06-27 22:23:08 -05:00
Blade Barringer 4abd7f85f8 Adjustments to PR#5494
* Update filter name to be more accurate
* Add additional tests
* Simplify checklist checking logic
* Prevent errors from multiple matches in checklist
2015-06-27 22:21:50 -05:00
Blade Barringer 5c4732304a Merge pull request #5504 from Alys/cid-2015-06-25
prevent challenge tasks being deleted when challenge ID has been lost
2015-06-27 17:07:10 -05:00
Blade Barringer 2dd7894a2c Merge branch 'image-min' into develop 2015-06-27 16:41:24 -05:00
Alys eceae75631 Merge pull request #5482 from Alys/startDate-fix-2015-06-25
Refactor api.shouldDo and fix https://github.com/HabitRPG/habitrpg/issues/5395
2015-06-28 07:31:04 +10:00
Blade Barringer 7aa2bb0db5 Chore(compile sprites) 2015-06-27 16:24:12 -05:00
Blade Barringer 3262c2d869 Refactored avatar 2015-06-27 16:08:38 -05:00
hairlessbear 9f70598d64 Fix comment typo 2015-06-27 12:40:53 -04:00
hairlessbear 76a0bf48f2 Fix typo 2015-06-27 12:33:04 -04:00
hairlessbear 94abf9ca8c Merge branch 'crookedneighbor-fix_ng-class_for_hb' into refactor_avatar_view 2015-06-27 12:16:56 -04:00
hairlessbear 7616c6d224 Fixed ng-class syntax 2015-06-27 12:16:43 -04:00
hairlessbear 4ba82f80da Added mixin to reduce code duplication 2015-06-27 12:12:01 -04:00
Blade Barringer 6d11de8769 Correct missing one 2015-06-27 10:07:14 -05:00
Blade Barringer 7d92b39790 Correct usage of ng-class 2015-06-27 09:57:59 -05:00
Alys d7a203ccc2 set all daily repeat code and tests to use true/false instead of 1/0 for consistency with DailySchema; comment-out unused default Daily repeat code 2015-06-27 20:06:04 +10:00
Andy Martin 24f35d84e7 add imagemin task to grunt, to shrink file size after spritesmith 2015-06-27 00:13:03 -06:00
Alys 0fc14f129d prevent challenge tasks being deleted when challenge ID (cid) has been lost - possible fix for https://github.com/HabitRPG/habitrpg/issues/4466 2015-06-27 14:19:40 +10:00
hairlessbear 01b3df17af Changed all double-spans in avatar.jade to single spans used ternary operators 2015-06-26 17:15:04 -04:00
GihHubSphinx c2f0f89f2b New string if gear has no benefits 2015-06-26 21:49:48 +05:00
Matteo Pagliazzi fd11b054eb chore(i18n): update locales 2015-06-26 18:17:14 +02:00
GihHubSphinx 3501dbf027 Make gear attributes translatable in stats 2015-06-26 20:49:35 +05:00
sablecliff 96a3653620 Now includes the refactoring into different files.
Currently there a multiple ways to create the string being shown.
This will be changed upon the decision of which is prefered.
I personally prefer the first method, which uses a function inside the
object being created in content.coffee
2015-06-26 19:33:39 +10:00
Andy Martin 0fb911016a shrink spritesmith images to reduce page load 2015-06-25 22:25:14 -06:00
TheHollidayInn 8ba621795a Task filter now searches checklists 2015-06-25 22:33:08 -05:00
Blade Barringer 07541ea7e4 Merge branch 'TheHollidayInn-settings-unsubscribe-email-checkall-fix' into develop 2015-06-25 20:51:19 -05:00
Blade Barringer 08c7ca1833 Refactor email notifications 2015-06-25 20:49:38 -05:00
Kevin Gisi f9ee0657f6 Merge pull request #5493 from gisikw/temporarily-disable-nr
Disable NR to check memory issues
2015-06-25 19:42:31 -04:00
Kevin Gisi e93cb817be Disable NR to check memory issues 2015-06-25 19:21:45 -04:00
Sabe Jones 335acd276c fix(sprites): Reposition snorkely things 2015-06-25 15:08:26 -05:00
Sabe Jones e6b6a5e468 Merge pull request #5487 from HabitRPG/sabrecat/summer-splash
Summer Splash / June Mystery
2015-06-25 11:27:06 -07:00
Sabe Jones e9877b6684 Revert "Update node version"
This reverts commit 837c26415d.
2015-06-25 12:35:23 -05:00
Sabe Jones 775f903c3d feat(events): Limited edition
Summer Splash skins and June mystery item. Also announces the Gokul sound theme.
2015-06-25 11:19:01 -05:00
Matteo Pagliazzi 7f0b826943 chore(i18n): update locales 2015-06-25 11:51:48 +02:00
sablecliff 459d5bfee3 Fixed small error with ternary statement and assignment of string 2015-06-25 19:45:34 +10:00
TheHollidayInn 81a05230e7 Uncheck all email notication options when we click unsubscribe all 2015-06-24 21:38:02 -05:00
Alys 51fb278438 stop changing the task's actual Start Date, move related task Start Date code tothe same place, adjust comments 2015-06-25 12:19:27 +10:00
Alys 9b8b7af7d5 replace api.numDaysApart (not used elsewhere and new to the EveryXDays code) with moment#diff 2015-06-25 12:19:26 +10:00
Alys e7e82a2aed keep startDate as a moment(), fix check for Start Date in future (ignore time, don't do incorrect CDS conversion), add comments 2015-06-25 12:19:26 +10:00
Alys 266055c0d4 rename 'day' variable to 'startOfDayWithCDSTime' (more verbose, sorry, but clearer) 2015-06-25 12:19:26 +10:00
Alys 99bc09fb25 move dayOfWeekNum to correct scope and improve comment 2015-06-25 12:19:26 +10:00
Alys f6cdc57228 move dailyTask.repeat error handling to correct location; add dailyTask.everyX error handling (might not be needed) 2015-06-25 12:19:26 +10:00
Alys bacd35b895 refactor shouldDo check for Daily's startDate being in the future 2015-06-25 12:19:26 +10:00
sablecliff ebcfa849a2 implemented the object and checking function to retrieve objects from it.
At the moment it is only one instance in the rootCtrl.js file but once shown to work and in the proper setout the change will be propograted.
2015-06-25 11:46:19 +10:00
Blade Barringer ac7c1a1436 Merge pull request #5474 from hairlessbear/show_selected_food
Added selectableInventory class to selected food on Pets page
2015-06-24 08:29:03 -05:00
Blade Barringer 2d78f6c838 Remove only from karma test 2015-06-24 08:15:33 -05:00
Kevin Gisi 44c83eb341 Merge pull request #5477 from gisikw/fix-analytics-again
Fix analytics
2015-06-24 03:52:30 -04:00
Kevin Gisi 8c343c1845 *ahem* You saw nothing. 2015-06-24 03:45:25 -04:00
Kevin Gisi c8b5480157 Repair tests to respect setTimeout 2015-06-24 03:41:49 -04:00
Kevin Gisi 01755a6d98 setTimeout all the analytics stuff 2015-06-24 03:23:48 -04:00
Kevin Gisi c7fea86aa5 Revert "Debug all the things"
This reverts commit be79d20864.
2015-06-24 03:21:30 -04:00
Kevin Gisi be79d20864 Debug all the things 2015-06-24 02:33:58 -04:00
hairlessbear 1318cdd1fb Added selectableInventory class to selected food on Pets page 2015-06-23 23:45:51 -04:00
Blade Barringer 095f0f17c0 Merge pull request #5472 from gisikw/api-test-watch
Add gulp test:api:watch
2015-06-23 21:08:33 -05:00
Kevin Gisi 10cb1d651a Add gulp test:api:watch 2015-06-23 21:33:05 -04:00
Sabe Jones 981e1f553f Merge pull request #5468 from HabitRPG/sabrecat/analytics-service
Analytics service
2015-06-23 12:36:22 -07:00
Sabe Jones fcd278c2f6 fix(analytics): Pass tests
Restores the "UUID" property so that tests no longer fail. Corrects various typos in analytics service test. Moves landing page tracking to the Jade file to avoid duplicate tracking.
2015-06-23 10:11:03 -05:00
Sabe Jones 8b04768b37 fix(analytics): Resolve errors
Should correct 400 Bad Request errors with Amplitude and cannot read undefined errors in tmp_static_front.
2015-06-23 09:30:18 -05:00
Matteo Pagliazzi 782ae4f81c chore(i18n): update locales 2015-06-23 10:43:29 +02:00
Matteo Pagliazzi e03bf6a711 fix(i18n): remove unused, empty string that was breaking Transifex 2015-06-23 10:38:30 +02:00
Matteo Pagliazzi 2c41553d7a chore(i18n): update locales 2015-06-23 10:31:10 +02:00
Alys a7e1c30dca remove http from link to fonts.googleapis.com to prevent Mixed Content Warnings - partial fix for #5464 2015-06-23 16:47:18 +10:00
hairlessbear 0e4e7a032a Added explanatory comment 2015-06-22 21:36:06 -04:00
hairlessbear f0ddbae775 Added quest completion modal test for when RSVPNeeded is true; modified quest invite test to use 'to.not.be.calledWith' 2015-06-22 21:33:38 -04:00
hairlessbear c942c10c17 Added a line break 2015-06-22 21:21:38 -04:00
hairlessbear b249e103de Removed duplicated test 2015-06-22 21:04:28 -04:00
hairlessbear f75bbb6e5f Modified 'RSVPNeeded is not true' test to not set user.party.quest.completed because it is not needed for the test 2015-06-22 20:55:50 -04:00
hairlessbear 8026e99219 Added quest completion modal watch tests 2015-06-22 20:48:11 -04:00
hairlessbear c5292e7ff8 Changed 'invite modal does not open' tests to focus on completion modal opening, but being the only modal to open. Also modified the named of two tests to be more intuitive and accurate 2015-06-22 20:33:49 -04:00
hairlessbear 78b5ac4fdc Changed completion modal watch to be on instead of 2015-06-22 20:06:37 -04:00
Sabe Jones f8e3120b3a fix(analytics): Move landing page tracking
...to AuthCtrl
2015-06-22 18:49:15 -05:00
Sabe Jones f5dfa5f015 fix(analytics): Define Analytics on scope 2015-06-22 18:30:47 -05:00
hairlessbear a1a46933eb Merge branch 'crookedneighbor-quest-invite-modal-on-sync' into quest_invite_modal_on_user_sync 2015-06-22 18:08:09 -04:00
Sabe Jones 2ce1daffb8 feat(analytics): call service from app 2015-06-22 16:35:17 -05:00
Sabe Jones 83e0eb374f fix(analytics): Load scripts in factory 2015-06-22 16:32:44 -05:00
Sabe Jones 196490ecb1 WIP(analytics): Enable service 2015-06-22 15:44:33 -05:00
Sabe Jones 56a461c513 Revert "feat(analytics): Analytics service"
This reverts commit 9a0e31db40.
2015-06-22 14:14:33 -05:00
Blade Barringer 78689e6e7c Made analytics mock, adjusted sandbox 2015-06-22 12:52:24 -05:00
Blade Barringer 8579bb86df Merge branch 'develop' into sabrecat/analytics-service 2015-06-22 12:37:17 -05:00
Matteo Pagliazzi afc6fba5bf chore(i18n): update locales 2015-06-22 18:24:37 +02:00
Sabe Jones 9a0e31db40 feat(analytics): Analytics service
Inject Analytics service into controllers where needed. Call Analytics service instead of GA or Mixpanel for tracking within the app.
2015-06-22 11:21:02 -05:00
Kevin Gisi 78b424e247 Encapsulate directive functions in anonymous functions - avoid the global namespace 2015-06-21 23:52:08 -04:00
Blade Barringer f5647ecd76 Wrap task service in anon function 2015-06-21 20:35:45 -05:00
Blade Barringer 10c709a9f2 Merge branch 'develop' into TheHollidayInn-challenges-clone 2015-06-21 20:05:20 -05:00
Blade Barringer b4c4b891a1 Moved sandbox.js to mocks directory 2015-06-21 20:02:48 -05:00
Blade Barringer 7064871557 Create Vagrantfile.example 2015-06-21 19:28:19 -05:00
Blade Barringer 4574501e07 Set base stats lower for vagrantfile 2015-06-21 19:10:36 -05:00
Blade Barringer d98e6081e6 Merge branch 'develop' into kusold-vagrant-more-power 2015-06-21 19:02:43 -05:00
Blade Barringer 38e24571da Merge branch 'develop' into TheHollidayInn-challenges-clone
Take specHelper off of global scope
2015-06-21 18:59:11 -05:00
Blade Barringer 5ab3a80b57 Closes #5360 2015-06-21 17:49:59 -05:00
Blade Barringer a98d9ac29c Merge pull request #5437 from crookedneighbor/add-user-to-analyticsService
Add user to analytics service, rewrite updateUser to match test
2015-06-21 17:22:57 -05:00
Blade Barringer 73f8f48450 Merge branch 'sabrecat/analytics-service' into add-user-to-analyticsService 2015-06-21 17:21:17 -05:00
Blade Barringer 232afffbb8 Merge branch 'develop' into sabrecat/analytics-service 2015-06-21 17:19:12 -05:00
Blade Barringer 34c08e941f Wrap service in anonymous function; put constants at top of file 2015-06-21 17:16:06 -05:00
Blade Barringer fbc466cb29 Create private methods for analytics functions 2015-06-21 17:07:48 -05:00
Blade Barringer 15c08f091d Remove mixpanel from analytics service 2015-06-21 17:07:22 -05:00
Blade Barringer 7ee1899807 Refactore analytics service and tests 2015-06-21 16:39:32 -05:00
Blade Barringer 1be73011eb Merge branch 'develop' into add-user-to-analyticsService 2015-06-21 14:04:17 -05:00
Blade Barringer 54509d234c Clean up groups controller
* Put nullifying variables back in per https://github.com/HabitRPG/habitrpg/pull/5437/files#r32896108
* converted questStart to a hoisted function
2015-06-21 14:02:40 -05:00
Blade Barringer 11fcb54c03 Corrected watch check
https://github.com/hairlessbear/habitrpg/commit/4fc04fea24889d3550cfb01f508466ff56c5ad40#commitcomment-11784493
2015-06-21 10:44:59 -05:00
Alys c6256d7fa1 fix https://github.com/HabitRPG/habitrpg/issues/5439 for the other darned gear types that I freaking forgot about 2015-06-21 17:32:46 +10:00
Alys fc9f511542 allow Body Accessory equipment to be purchased from Seasonal Shop - fixes https://github.com/HabitRPG/habitrpg/issues/5439 2015-06-21 16:37:56 +10:00
Sabe Jones c3b4950314 Merge branch 'sabrecat/summer-splash' into develop 2015-06-20 23:08:03 -05:00
Sabe Jones 3641bea441 feat(event): Summer Splash 2015
Summer seasonal event for 2015, including festive NPC graphics, the summer edition of the Seasonal Shop, and new class equipment available in Rewards.
2015-06-20 23:07:14 -05:00
Blade Barringer 4fc04fea24 Adjustments to PR #5298
* Put watch on $scope
* Check for quest.completed !== true or false
* Add test for quest invite modal watch
2015-06-20 21:10:18 -05:00
Blade Barringer 19f8ca7980 Merge branch 'develop' into hairlessbear-quest_invite_modal_on_user_sync 2015-06-20 17:36:32 -05:00
Blade Barringer 96162b37bd Merge pull request #5433 from gisikw/ultimate-gear-fix
Ultimate gear fix
2015-06-20 17:34:47 -05:00
Blade Barringer 11ba5ad368 Merge branch 'develop' into add-user-to-analyticsService 2015-06-20 16:56:29 -05:00
Blade Barringer 95f1c01b01 Removed more variable assignments that were never getting set 2015-06-20 16:54:33 -05:00
Blade Barringer 68f764bca6 Removed var assignment that is never reached 2015-06-20 16:50:48 -05:00
Blade Barringer d96b362531 Add additional tests for updateUser 2015-06-20 16:37:30 -05:00
Blade Barringer 9008a31c4a Add user to analytics service, rewrite updateUser to match test 2015-06-20 16:04:34 -05:00
Blade Barringer 21b8fc35ba Merge branch 'play-in-the-sandbox' into sabrecat/analytics-service 2015-06-20 16:01:02 -05:00
Blade Barringer 9fea2b5a90 Merge pull request #5435 from gisikw/sabrecat/analytics-service
Repaired specs (stubbing issues)
2015-06-20 16:00:11 -05:00
Blade Barringer 71fad8ca97 Provide user for anaylitcs service test 2015-06-20 15:50:06 -05:00
Blade Barringer ab53391fee Convert analytics service to use sinon.sandbox 2015-06-20 15:00:30 -05:00
Blade Barringer c7615e1cbd Merge branch 'develop' into gisikw-sabrecat/analytics-service 2015-06-20 14:52:28 -05:00
Blade Barringer 944cef4d44 Switch over to using sinon.sandbox in karma specs 2015-06-20 14:48:38 -05:00
Kevin Gisi 266122567d Repaired specs (stubbing issues) 2015-06-20 14:25:34 -04:00
Blade Barringer 970b8d4061 Merge branch 'update-node-version' into develop 2015-06-20 10:51:39 -05:00
Blade Barringer 837c26415d Update node version 2015-06-20 10:02:46 -05:00
Blade Barringer f4ae2b98ff Merge pull request #5432 from hairlessbear/remove_armorSet
Removed unused 'armorSet' attribute in user model
2015-06-20 08:38:31 -05:00
Alys 6eac1174a2 sort eligibleEquipment before choosing random item from Enchaned Armoire - possible partial fix for https://github.com/HabitRPG/habitrpg/issues/5376#issuecomment-111799217 2015-06-20 20:22:27 +10:00
Keith Holliday 824ba3b932 Merge pull request #2 from crookedneighbor/refactor-clone-challenges
Refactor clone challenges
2015-06-19 23:32:41 -07:00
Kevin Gisi f32305458a Fix armoire edge case 2015-06-20 01:58:54 -04:00
Kevin Gisi 951d5417bc Add failing spec for armoire edge case 2015-06-20 01:58:05 -04:00
hairlessbear 02acad9dfc Removed unused 'armorSet' attribute in user model 2015-06-20 01:38:47 -04:00
Blade Barringer a44d760b8f Merge branch 'develop' of github.com:HabitRPG/habitrpg into develop 2015-06-19 23:52:20 -05:00
Blade Barringer 2acf7eb71e Move score tests to separate file 2015-06-19 23:51:37 -05:00
Blade Barringer ddc8508816 Merge branch 'develop' into TheHollidayInn-tasks-api-up-checkoff-todo 2015-06-19 23:00:18 -05:00
Blade Barringer 86f18e9a5a Refactor clone challenges PR 2015-06-19 20:49:24 -05:00
Alys 83089720c8 Update migration script that sets Ultimate Gear object in user accounts to ensure true OR false values for all classes. Ref https://github.com/HabitRPG/habitrpg/issues/5427 2015-06-20 09:17:32 +10:00
Sabe Jones f6fafc5b6d WIP(event): Summer Splash 2015 2015-06-19 10:42:20 -05:00
Blade Barringer deff0d4da2 Merge branch 'develop' into TheHollidayInn-challenges-clone 2015-06-19 07:41:21 -05:00
TheHollidayInn 925cc81425 Removed complete param from creating todos with up and down url and added test for overriding complete parameter 2015-06-18 23:10:50 -05:00
Sabe Jones 86d711bb5e WIP(analytics): Remove Mixpanel 2015-06-18 20:33:54 -05:00
Sabe Jones 3c5ae80e0b WIP(analytics): Move client tracking to service 2015-06-18 15:43:57 -05:00
Alys 07b41d16b6 Revert "Revert "new GSalvadi audio theme, created by NomindTR""
This reverts commit 30a091e14e.
2015-06-18 22:19:35 +10:00
TheHollidayInn caec2d8476 Added editTask function back 2015-06-17 23:04:42 -05:00
TheHollidayInn 838c912906 Moved clone tasks function to task service 2015-06-17 22:22:55 -05:00
TheHollidayInn e9269d332c Removed dateCreated from being cloned in tasks 2015-06-17 21:08:33 -05:00
TheHollidayInn b81024bdd6 Fixed task clone functionality and updated code organization/semantics 2015-06-17 21:08:33 -05:00
TheHollidayInn 9ed3fbf613 Clone gems, all task info, and spacing. 2015-06-17 21:08:33 -05:00
TheHollidayInn c3307dd684 Added clone challenge test 2015-06-17 21:08:33 -05:00
TheHollidayInn 7890abe31a Added clone ability to challenges. 2015-06-17 21:08:03 -05:00
Blade Barringer bcc99791dd Merge branch 'GitHubSphinx-Sphinx-i18n-db1' into develop 2015-06-17 19:13:13 -05:00
Blade Barringer c1b429c8bf Adjust spacing; remove comment 2015-06-17 19:12:49 -05:00
Blade Barringer 4042c1ce7a Merge branch 'GitHubSphinx-Sphinx-entry1' into develop 2015-06-17 19:06:56 -05:00
Blade Barringer 03c1476840 Change location of sellFor strings 2015-06-17 19:06:28 -05:00
Blade Barringer 3ff310294b Hide row if not part of reward; add one-time bindings 2015-06-17 18:57:15 -05:00
Blade Barringer e150a4d4f6 Merge branch 'develop' into hairlessbear-add_quest_rewards_to_pending_quest 2015-06-17 18:51:30 -05:00
Blade Barringer 685c09aa0d Merge branch 'task_service_refactoring_v2' into develop 2015-06-17 18:46:13 -05:00
Sabe Jones ad7e5a6dc9 feat(pets): Cuttlefishies 2015-06-17 17:26:36 -05:00
Alys c404e5ca5e Merge pull request #5420 from HabitRPG/revert-5407-GSalvadi-audio-NOMINDTR-2015-06-15
Temporarily revert "new GSalvadi audio theme, created by NomindTR"
2015-06-18 08:04:35 +10:00
Alys 30a091e14e Revert "new GSalvadi audio theme, created by NomindTR" 2015-06-18 07:39:38 +10:00
hairlessbear 3046bbb0d7 Added quest rewards to pending quest display 2015-06-17 13:21:17 -04:00
Blade Barringer 4da3018ad9 Simplify editTask 2015-06-17 07:51:07 -05:00
Alys 910fc2f213 Merge pull request #5407 from Alys/GSalvadi-audio-NOMINDTR-2015-06-15
new GSalvadi audio theme, created by NomindTR
2015-06-17 21:39:39 +10:00
Blade Barringer e422ea065f Reword tests 2015-06-16 23:16:11 -05:00
Blade Barringer 3ab27f32d2 Refactored editTask into TaskService 2015-06-16 23:11:04 -05:00
TheHollidayInn 3dc3891ec6 Fixed habit tests to create habits and check scoring 2015-06-16 20:19:02 -05:00
Blade Barringer 63e1bdf5fd Merge pull request #5415 from hairlessbear/update_locales_link
Update README.md link in _README_FIRST.md files and add missing _README_FIRST.md files
2015-06-16 19:27:26 -05:00
hairlessbear 205f700c7e Fix links 2015-06-16 18:04:12 -04:00
hairlessbear 73f87213e9 Added _README_FIRST.md files to directories that were missing them 2015-06-16 17:51:54 -04:00
hairlessbear 0b40237b91 Updated README.md link in all _README_FIRST.md files 2015-06-16 17:46:21 -04:00
GihHubSphinx 0cd1ffb794 Fixing button caption for selling Eggs and Potions in the Market 2015-06-16 19:06:53 +05:00
hairlessbear 18fe4b6166 Fix task advanced settings display setting (fixes #5408) 2015-06-16 00:52:48 -04:00
Alys 14983cb996 replace minus Habit and To-Do sounds, rename NomindTR's theme, rename keys for theme since they aren't live yet 2015-06-16 13:10:49 +10:00
GihHubSphinx 071f2796db Adjusting challenges view translation
- Make "Back to all challenges" button translatable
- Allow some flexibility for the line "#_of_gems gem_icon Prize" - this
is made following the practices with linkstart/linkend implementation
- prize "string" is left as is because used as a placeholder
- code comment "prize" had to be moved 1 line up - before the p (as no
room for it is left inside the p) which however seems OK to me, because
the comments above and below has been made the same way before
2015-06-16 02:37:18 +05:00
Phillip Thelen e4a10d70ee Add human readable text to response 2015-06-15 12:57:08 +02:00
Alys b6b2873faf add new GSalvadi audio theme, created by NomindTR 70d88957-673a-4edd-b97e-f1ecb018dd89 https://trello.com/c/tljx8gKC/18-music-sound-effects-v3 13 June 2015 2015-06-15 20:33:14 +10:00
hairlessbear 05effefef1 Merge pull request #7 from crookedneighbor/hairlessbear-quest_invite_modal_on_user_sync
Make party page sync the party automatically (includes hacky fix for #4816)
2015-06-14 22:27:32 -04:00
Blade Barringer 00c50f1212 Fixes #4816 2015-06-14 21:17:18 -05:00
Blade Barringer bb73253e8e Make party page sync the party automatically 2015-06-14 19:26:01 -05:00
hairlessbear 6884263a55 Replaced accept/reject button actions with 'questAccept(party)' and 'questReject(party)' respectively to solve sync issues 2015-06-14 20:21:58 -04:00
hairlessbear fbf1d64a04 Moved accept/reject buttons to the bottom, and simplified logic for quest leader buttons 2015-06-14 20:12:50 -04:00
hairlessbear 22ca76cf40 Added quest accept/reject to pending quest display 2015-06-14 19:46:43 -04:00
hairlessbear dc8cdc1930 Merge pull request #6 from crookedneighbor/hairlessbear-quest_invite_modal_on_user_sync
Hairlessbear quest invite modal on user sync - bring up to date with develop
2015-06-14 18:02:10 -04:00
Blade Barringer 5385471cb2 Fix push notifications test 2015-06-14 17:00:13 -05:00
Blade Barringer 14fe29dd4a Merge branch 'develop' into hairlessbear-quest_invite_modal_on_user_sync 2015-06-14 16:33:38 -05:00
Phillip Thelen 4aa9e81d8a Add data about armoire content to buy response 2015-06-14 18:08:58 +02:00
TheHollidayInn 8d20168b6b Added up and down test to complete and uncomplete a todo respectively. 2015-06-11 23:38:44 -05:00
TheHollidayInn 31f61c05f4 Added tests for using directional tasks endpoints 2015-06-10 23:10:37 -05:00
TheHollidayInn c2614c0447 Moved if statement to assign task completion before saving task to user 2015-06-09 18:48:03 -05:00
Mike Kusold ca35a7ca81 Adding more power for vagrant 2015-06-07 22:27:57 -06:00
hairlessbear 4ef9762e99 Merge pull request #5 from crookedneighbor/blade-hairlessbear-quest_invite_modal_on_user_sync
Refactor chat related things into own service
2015-05-30 18:46:36 -04:00
Blade Barringer fa86cd6d8c Make phrasing of tests consistent 2015-05-30 12:42:31 -05:00
Blade Barringer d21a3b80bf Remove unused dependency 2015-05-30 12:33:51 -05:00
Blade Barringer c1501db292 Refactor chat related things into own service 2015-05-30 12:08:32 -05:00
hairlessbear 4fc0234fd4 Added behavior from #5239 (make quest completion modal always display before quest invite modal) 2015-05-29 18:25:47 -04:00
hairlessbear 177f835353 Merge pull request #4 from crookedneighbor/blade-hairlessbear-quest_invite_modal_on_user_sync
Blade hairlessbear quest invite modal on user sync
2015-05-29 15:36:21 -04:00
Blade Barringer e3bc8805fe Refactor quest functions and add tests 2015-05-29 09:13:36 -05:00
Blade Barringer 42b482cb7e Make user sync after accepting or rejecting a quest 2015-05-28 08:18:08 -05:00
hairlessbear dc8647d6ae Changed all party.quest.key instances in quest invite modal to user.party.quest.key and changed invite modal check 2015-05-27 18:49:35 -04:00
hairlessbear 966f9d2aca Fixed tests using crookedneighbor's code 2015-05-27 12:06:19 -04:00
hairlessbear a0f3e02f74 Set party.quest.key to null on quest reject and quest cancel 2015-05-27 11:52:53 -04:00
hairlessbear cc3d63b858 Fixed rewards on quest invite modal 2015-05-27 10:05:03 -04:00
hairlessbear cfcfb8fd02 Changed invite to RSVPNeeded 2015-05-27 09:18:44 -04:00
hairlessbear 0fa93506f5 Made quest invite modal pop-up on user sync (rewards display currently nonfunctional) 2015-05-26 23:01:29 -04:00
6039 changed files with 159434 additions and 62268 deletions
+9
View File
@@ -0,0 +1,9 @@
{
"presets": ["es2015"],
"plugins": [
["transform-async-to-module-method", {
"module": "bluebird",
"method": "coroutine"
}]
]
}
+1 -1
View File
@@ -1,3 +1,3 @@
{
"directory": "website/public/bower_components"
"directory": "website/client/bower_components"
}
+6
View File
@@ -0,0 +1,6 @@
languages:
JavaScript: true
exclude_paths:
- "database_reports/*"
- "migrations/*"
+7
View File
@@ -0,0 +1,7 @@
option_settings:
- namespace: aws:elasticbeanstalk:command
option_name: Timeout
value: 1800
- namespace: aws:elb:policies
option_name: ConnectionSettingIdleTimeout
value: 900
+16
View File
@@ -0,0 +1,16 @@
commands:
01_sym:
command: "ln -sf $(ls -td /opt/elasticbeanstalk/node-install/node-* | head -1)/bin/node /bin/node"
container_commands:
01_makeBabel:
command: "touch /tmp/.babel.json"
02_ownBabel:
command: "chmod a+rw /tmp/.babel.json"
03_installBower:
command: "$NODE_HOME/bin/npm install -g bower"
04_installGulp:
command: "$NODE_HOME/bin/npm install -g gulp"
05_runBower:
command: "$NODE_HOME/lib/node_modules/bower/bin/bower --config.interactive=false --allow-root install -f"
06_runGulp:
command: "$NODE_HOME/lib/node_modules/gulp/bin/gulp.js build"
+35
View File
@@ -0,0 +1,35 @@
# Compiled and vendored files
common/dist/
common/transpiled-babel/
coverage/
database_reports/
website/build/
website/transpiled-babel/
migrations/*
# The files in website/client/js should be moved out and browserified
website/client/
# Temporarilly disabled. These should be removed when the linting errors are fixed
common/script/content/index.js
common/script/public/**/*.js
website/server/**/api-v2/**/*.js
website/server/routes/payments.js
website/server/routes/pages.js
website/server/middlewares/apiThrottle.js
website/server/middlewares/forceRefresh.js
debug-scripts/*
scripts/*
tasks/*.js
gulpfile.js
Gruntfile.js
newrelic.js
test/api-legacy/**/*
test/common/simulations/**/*
test/content/**/*
test/server_side/**/*
test/spec/**/*
+9
View File
@@ -0,0 +1,9 @@
{
"extends": [
"habitrpg/server",
"habitrpg/babel"
],
"globals": {
"Promise": true
}
}
+15
View File
@@ -0,0 +1,15 @@
# Reporting Bugs
[Please see these instructions for reporting bugs](https://github.com/HabitRPG/habitrpg/issues/2760)
# Pull Request
[Please see these instructions for adding a pull request](http://habitica.wikia.com/wiki/Using_Habitica_Git#Pull_Request)
# Requesting a feature
Habitica uses [Trello](https://trello.com/b/EpoYEYod/habitica) to track feature requests. [Read more](https://trello.com/c/odmhIqyW/440-read-first-table-of-contents).
# Contributing Code
See [Contributing to Habitica](http://habitica.wikia.com/wiki/Contributing_to_Habitica#Coders_.28Web_.26_Mobile.29)
+22
View File
@@ -0,0 +1,22 @@
[//]: # (Before logging this issue, look through common problems at https://github.com/HabitRPG/habitrpg/issue If you find your issue there, read at least the first post to see if there is a workaround for you)
[//]: # (Github is primarily used for reporting bugs. If you have a feature request, use "Help > Request a Feature" so that the feature request can be vetted by the larger Habitica community)
[//]: # (To report a bug in one of the mobile apps, please report it in the correct repository. Android: https://github.com/HabitRPG/habitrpg-android, iOS: https://github.com/HabitRPG/habitrpg-ios)
[//]: # (For more guidelines see https://github.com/HabitRPG/habitrpg/issues/2760)
[//]: # (Fill out relevant information - UUID is found in Settings -> API)
General Info
* UUID:
* Browser:
* OS:
### Description
[//]: # (Describe bug in detail here. Include pictures if helpful.)
#### Console Errors
[//]: # (Include any JavaScript console errors here.)
+13
View File
@@ -0,0 +1,13 @@
[//]: # (Note: See http://habitica.wikia.com/wiki/Using_Habitica_Git#Pull_Request for more info)
[//]: # (Put Issue # or URL here, if applicable. This will automatically close the issue if your PR is merged in)
Fixes put_issue_url_here
### Changes
[//]: # (Describe the changes that were made in detail here. Include pictures if necessary)
[//]: # (Put User ID in here - found in Settings -> API)
----
UUID:
+18 -8
View File
@@ -1,30 +1,40 @@
.DS_Store
website/public/gen
website/public/common
website/client/gen
website/client/common
website/client/apidoc
website/transpiled-babel/
common/transpiled-babel/
node_modules
*.swp
.idea*
config.json
npm-debug.log
npm-debug.log*
lib
website/public/bower_components
website/public/new-stuff.html
website/client/bower_components
website/client/new-stuff.html
website/build
newrelic_agent.log
.bower-tmp
.bower-registry
.bower-cache
.vagrant
Vagrantfile
TODO
*.log
src/*/*.map
src/*/*/*.map
test/*.js
test/*.map
website/public/docs
website/client/docs
*.sublime-workspace
coverage
coverage.html
common/dist/scripts/habitrpg-shared.js
common/dist/scripts/*
common/dist/sprites/habitrpg-shared.css
test/spec/mocks/translations.js
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
-13
View File
@@ -1,13 +0,0 @@
{
"globals": {
"confirm": false
},
"browser": true,
"node": true,
"mocha": true,
"asi": true,
"boss": true,
"newcap": false
}
+1 -1
View File
@@ -2,7 +2,7 @@ node_modules/**
.bower-cache/**
.bower-tmp/**
.bower-registry/**
website/public/**
website/client/**
website/views/**
website/build/**
.git/**
+1
View File
@@ -0,0 +1 @@
4.3.1
+3 -1
View File
@@ -1,7 +1,9 @@
language: node_js
node_js:
- '0.10'
- '4.3.1'
before_install:
- "npm install -g npm@3"
- "npm install -g gulp"
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
- "sudo apt-get update"
-14
View File
@@ -1,14 +0,0 @@
# Reporting Bugs
[Please see these instructions for reporting bugs](https://github.com/HabitRPG/habitrpg/issues/2760)
## Frequently Asked Questions
You might find help with your issue on the [Frequently Asked Questions](http://habitrpg.wikia.com/wiki/FAQ) page.
# Requesting a feature
HabitRPG uses [Trello](https://trello.com/b/EpoYEYod/habitrpg) to track feature requests. [Read more](https://trello.com/c/odmhIqyW/440-read-first-table-of-contents).
# Contributing Code
See [Contributing to HabitRPG](http://habitrpg.wikia.com/wiki/Contributing_to_HabitRPG#Coders_.28Web_.26_Mobile.29)
-77
View File
@@ -1,77 +0,0 @@
# HabitRPG Docs Project
Generated documentation for all of HabitRPG's source files will be kept in the folder and subfolders. If you would like to use the existing documentation, or contribute to the documentation efforts, read on.
## Viewing Docs
You're looking at it!
Unless you are viewing this file directly from GitHub, you should see a list of files and folders to the left of this readme.
If you are working locally, you can goto `localhost:3000/docs/` and view the Docs.
All documentation is generated from comments in the code, into HTML files in the `public/docs/` folder. After you have cloned the HabitRPG repo locally, and done all the `npm install` goodness, the Docs should generate automagickly when you run `grunt run:dev`
## What I do now?
Well if you know Markdown, simply add detailed comments in the code using Markdown syntax.
````
/*
User.js
=======
Defines the user data model (schema) for use via the API.
*/
// Dependencies
// ------------
var mongoose = require("mongoose");
var Schema = mongoose.Schema;
var helpers = require('habitrpg-shared/script/helpers');
var _ = require('lodash');....
````
As you can see, you can use both multiline style comments `/* fancy stuff */` and inline comments `// Ooooh my`.
The exception being end of line comments
`text: String, // example: Wolf `
The above will not be on the "pretty print" side of the Docs, but will stay in the code. An example use case for end of line comments would be for FIXME notes.
Add anything that would be helpful to a developer regarding how to use the functions, variables, and objects associated with HabitRPG.
**All documentation should be committed as pull request to the `docs-project` branch of HabitRPG.** Since we are adding comments directly to the code, I don't want to be editing files used for beta or master. We can merge in the docs after we're sure we didn't break anything.
### jsDoc Syntax
Yes, the generator also supports jsDoc-style comments such as
````
@param {Array} files Array of file paths relative to the `inDir` to generate documentation for.
````
**Important Note:** If you use the `@param` syntax, you must use multiline comment blocks (ie `/* stuff */`), otherwise they won't be parsed like parameters.
This may or may not be useful for HabitRPG. Example use cases:
- Documenting the API
- Javascript Models
## Okay, I added great comments. Now what?
If you're running locally, just re-run `grunt run:dev`. Any changed docs will be automagickly updated.
Once you're satisfied with the output, push your changes to your fork of HabitRPG and issue a Pull Request on the `docs-project` branch.
It's that easy!
## Tech Info
The generator we are using is [Docker](https://github.com/jbt/docker), which is a fork of [Docco](http://jashkenas.github.io/docco/). Docker supports the same wide-range of filetypes, including being able to generate documentation for a whole project, including an index.
We also use the [Grunt-Docker](https://github.com/Prevole/grunt-docker) node module for automatic processing.
## Road Map
- Customize CSS with HabitRPG specific Styling
- Explore possibilities of importing Wiki content
- Specify style guide for consistency of comments
+31 -30
View File
@@ -1,41 +1,42 @@
FROM ubuntu:trusty
MAINTAINER Thibault Cohen <titilambert@gmail.com>
MAINTAINER Sabe Jones <sabe@habitica.com>
ENV DEBIAN_FRONTEND noninteractive
### Init
# Avoid ERROR: invoke-rc.d: policy-rc.d denied execution of start.
RUN echo -e '#!/bin/sh\nexit 0' > /usr/sbin/policy-rc.d
# Install prerequisites
RUN apt-get update
RUN apt-get install -y \
build-essential \
curl \
git \
libfontconfig1 \
libfreetype6 \
libkrb5-dev \
python
### Utils
# Install NodeJS
RUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
RUN apt-get install -y nodejs
RUN apt-get install -y git vim graphicsmagick nodejs phantomjs npm pkgconf libcairo2-dev libjpeg8-dev
# Clean up package management
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*
### Installation
# Install global packages
RUN npm install -g gulp grunt-cli bower
RUN cd /opt && git clone https://github.com/HabitRPG/habitrpg.git
# Clone Habitica repo and install dependencies
WORKDIR /habitrpg
RUN git clone https://github.com/HabitRPG/habitrpg.git /habitrpg
RUN npm install
RUN bower install --allow-root
#RUN cd /opt/habitrpg && git checkout -t origin/develop
# Create environment config file and build directory
RUN cp config.json.example config.json
RUN mkdir -p ./website/build
RUN cd /opt/habitrpg && git pull
RUN cd /opt/habitrpg && npm install -g grunt-cli bower nodemon
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN cd /opt/habitrpg && npm install
# Add config file
ADD ./config.json /opt/habitrpg/
RUN mkdir -p /opt/habitrpg/build
RUN cd /opt/habitrpg && bower install --allow-root
# Run server
RUN cd /opt/habitrpg && grunt build:prod
CMD cd /opt/habitrpg && grunt nodemon
# Start Habitica
EXPOSE 3000
CMD ["npm", "start"]
-64
View File
@@ -1,64 +0,0 @@
<a name="">HabitRPG</a>
# (2014-01-28)
## Documentation
- **rebirth:** Bullet point about repurchase of limited ed gear after Rebirth
([d3f4a561](https://github.com/habitrpg/habitrpg/commits/d3f4a561fdf137e5d8f406bae03be4fef1caff22))
## Bug Fixes
- **#2003:** healer gear not showing
([949cd97b](https://github.com/habitrpg/habitrpg/commits/949cd97b91b42e9450eba559bbfea17e239ab100))
- **#2375:** merge in @SabreCat's stats.jade changes "More elegant show/hide setup for attribute bonuses"
([518f200a](https://github.com/habitrpg/habitrpg/commits/518f200a8fc7373b44ed7d7b5f016d921b0746bd))
- **beastmaster:** fixes #2557, adds opacity to previously-owned pets after they're mounted. You can earn them back again
([5caaff1c](https://github.com/habitrpg/habitrpg/commits/5caaff1cea1a68fe572e7ddf4aac50248b13df5d))
- **bosses:** don't reset progress.up when starting a new quest. We want to be able to carry over damage from the same day a boss battle begins, even if the dailies were completed before battle-start. Fixes #2168
([4efd0f5e](https://github.com/habitrpg/habitrpg/commits/4efd0f5ed8708f2491dd483f93e3d7a268a6337d))
- **classes:**
- misc fixes
([d2121a85](https://github.com/habitrpg/habitrpg/commits/d2121a858716cb5a532a53ee9c5a1adaa74a7f69))
- misc class fixes (not @snicker, ng-if on item store since we dynamically swap it sometimes)
([478be611](https://github.com/habitrpg/habitrpg/commits/478be6111337cd200374f7f31b959725c6a0b945))
- **find_uniq_user:** fix
([ecbe780e](https://github.com/habitrpg/habitrpg/commits/ecbe780e70549b1470504efe052f238c89a9db14))
- **mounts:** Move avatar upward when mounted regardless of pet
([bc1adeb1](https://github.com/habitrpg/habitrpg/commits/bc1adeb1277103a5ca1f756e175ed68bbe837a2f))
- **nodemon:** ignore CHANGELOG.md on watch
([d6c55952](https://github.com/habitrpg/habitrpg/commits/d6c55952da8b49f36e9d8e4570d80931d081343d))
- **party:** Round boss health up instead of to nearest integer
([626da568](https://github.com/habitrpg/habitrpg/commits/626da5681f5ea95700f8ddf40587c7184926971c),
[#2504](https://github.com/habitrpg/habitrpg/issues/2504))
- **paypal:** fixes #2492, remove environment check for now, only have production-mode option. revisit
([1dc68112](https://github.com/habitrpg/habitrpg/commits/1dc68112d131e4ebdec32ddff938eb6311d6565f))
- **profile:** fix bug where empty profile displayed on username click
([0579c432](https://github.com/habitrpg/habitrpg/commits/0579c432489c4a038e8c9f95ea3b285f5abc146f),
[#2465](https://github.com/habitrpg/habitrpg/issues/2465))
- **quests:**
- bug fix to multi-drop
([f478d10c](https://github.com/habitrpg/habitrpg/commits/f478d10c20f816cd104b3f0da814c189957f45f5))
- list multiple rewards in dialog
([e48c7277](https://github.com/habitrpg/habitrpg/commits/e48c7277f8256cf827790aece51e897fe0439374))
- **settings:** reintroduce space between captions and help bubbles stripped during localization
([5ddf09fe](https://github.com/habitrpg/habitrpg/commits/5ddf09fe13c7f8d844c8c47be0fb8f8b2fd1df33))
- **spells:**
- more $rootScope spell-casting bug fixes
([47bd6dcb](https://github.com/habitrpg/habitrpg/commits/47bd6dcb79778d90d6f3ddeb003c3d8e45433333))
- add some spells tests, don't send up body to spell paths
([e0646bb9](https://github.com/habitrpg/habitrpg/commits/e0646bb98d44b6874b5259107c9be5fa34c58933))
- some $rootScope.applying action fixes so cast-ending is immediate instead of waiting on response. Also, slim down party population to the essentials to avoid RequestEntityTooLarge
([c6f7ab8a](https://github.com/habitrpg/habitrpg/commits/c6f7ab8a5c6f4e382208a928b90ba5f4eba9cd37))
- <ESC> to cancel spell-casting
([a1df41ad](https://github.com/habitrpg/habitrpg/commits/a1df41ad8165cd9eb6d2d5d59c7fe404edde716c))
- **stable:** show hatchable combo when petOwned>0 (fyi @deilann)
([51bff238](https://github.com/habitrpg/habitrpg/commits/51bff23885ca0080e7e71ff752daa0950ae923ae))
- **stats:** Better layout for attribute point allocation
([d782fc6b](https://github.com/habitrpg/habitrpg/commits/d782fc6b6a3cd7e90d327c93a5764626b2990c74))
- **tests:**
- include select2 in test manifest
([38b4cea7](https://github.com/habitrpg/habitrpg/commits/38b4cea73299f51c4db7f6b2eb12533d219745f8))
- don't use cluster in tests, else we get "connection refused"
([7a479098](https://github.com/habitrpg/habitrpg/commits/7a479098dc6535654e322c737d80813790967941)
+20 -125
View File
@@ -1,58 +1,8 @@
/*global module:false*/
require('babel-register');
var _ = require('lodash');
module.exports = function(grunt) {
// Ported from shared
// So this sucks. Mobile Safari can't render image files > 1024x1024*3, so we have to break it down to multiple
// files in this hack approach. See https://github.com/Ensighten/grunt-spritesmith/issues/67#issuecomment-34786248
var images = grunt.file.expand('common/img/sprites/spritesmith/**/*.png');
// var totalDims = {width:0,height:0};
// _.each(images, function(img){
// var dims = sizeOf(img);
// if(!dims.width || !dims.height) console.log(dims);
// totalDims.width += dims.width;
// totalDims.height += dims.height;
// })
var COUNT = 7;//Math.ceil( (totalDims.width * totalDims.height) / (1024*1024*3) );
//console.log({totalDims:totalDims,COUNT:COUNT});
var sprite = {};
_.times(COUNT, function(i){
var sliced = images.slice(i * (images.length/COUNT), (i+1) * images.length/COUNT)
sprite[''+i] = {
src: sliced,
dest: 'common/dist/sprites/spritesmith'+i+'.png',
destCss: 'common/dist/sprites/spritesmith'+i+'.css',
engine: 'phantomjssmith',
algorithm: 'binary-tree',
padding:1,
cssTemplate: 'common/css/css.template.mustache',
cssVarMap: function (sprite) {
// For hair, skins, beards, etc. we want to output a '.customize-options.WHATEVER' class, which works as a
// 60x60 image pointing at the proper part of the 90x90 sprite.
// We set up the custom info here, and the template makes use of it.
if (sprite.name.match(/hair|skin|beard|mustach|shirt|flower|^headAccessory_special_\w+Ears/) || sprite.name=='head_0') {
sprite.custom = {
px: {
offset_x: "-" + (sprite.x + 25) + "px",
offset_y: "-" + (sprite.y + 15) + "px",
width: "" + 60 + "px",
height: "" + 60 + "px"
}
}
}
if (~sprite.name.indexOf('shirt'))
sprite.custom.px.offset_y = "-" + (sprite.y + 30) + "px"; // even more for shirts
}
/*,cssOpts: {
cssClass: function (item) {
return '.' + item.name; //'.sprite-' + item.name;
}
}*/
}
});
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
@@ -69,12 +19,9 @@ module.exports = function(grunt) {
},
clean: {
build: ['website/build'],
sprite: ['common/dist/sprites']
build: ['website/build']
},
sprite: sprite,
cssmin: {
dist: {
options: {
@@ -96,34 +43,25 @@ module.exports = function(grunt) {
options: {
compress: false, // AFTER
'include css': true,
paths: ['website/public']
paths: ['website/client']
},
files: {
'website/build/app.css': ['website/public/css/index.styl'],
'website/build/static.css': ['website/public/css/static.styl']
'website/build/app.css': ['website/client/css/index.styl'],
'website/build/static.css': ['website/client/css/static.styl']
}
}
},
browserify: {
dist: {
src: ["common/index.js"],
dest: "common/dist/scripts/habitrpg-shared.js"
},
options: {
transform: ['coffeeify']
//debug: true Huge data uri source map (400kb!)
}
},
copy: {
build: {
files: [
{expand: true, cwd: 'website/public/', src: 'favicon.ico', dest: 'website/build/'},
{expand: true, cwd: 'website/client/', src: 'favicon.ico', dest: 'website/build/'},
{expand: true, cwd: 'website/client/', src: 'favicon_192x192.png', dest: 'website/build/'},
{expand: true, cwd: '', src: 'common/dist/sprites/spritesmith*.png', dest: 'website/build/'},
{expand: true, cwd: '', src: 'common/img/sprites/backer-only/*.gif', dest: 'website/build/'},
{expand: true, cwd: '', src: 'common/img/sprites/npc_ian.gif', dest: 'website/build/'},
{expand: true, cwd: 'website/public/', src: 'bower_components/bootstrap/dist/fonts/*', dest: 'website/build/'}
{expand: true, cwd: '', src: 'common/img/sprites/quest_*.gif', dest: 'website/build/'},
{expand: true, cwd: 'website/client/', src: 'bower_components/bootstrap/dist/fonts/*', dest: 'website/build/'}
]
}
},
@@ -138,42 +76,21 @@ module.exports = function(grunt) {
'website/build/*.js',
'website/build/*.css',
'website/build/favicon.ico',
'website/build/favicon_192x192.png',
'website/build/common/dist/sprites/*.png',
'website/build/common/img/sprites/backer-only/*.gif',
'website/build/common/img/sprites/npc_ian.gif',
'website/build/common/img/sprites/quest_*.gif',
'website/build/bower_components/bootstrap/dist/fonts/*'
],
dest: 'website/build/*.css'
}
},
nodemon: {
dev: {
script: '<%= pkg.main %>'
}
},
watch: {
dev: {
files: ['website/public/**/*.styl', 'common/script/**/*.coffee'], // 'public/**/*.js' Not needed because not in production
tasks: [ 'build:dev' ],
options: {
nospawn: true
}
}
},
concurrent: {
dev: ['nodemon', 'watch'],
options: {
logConcurrentOutput: true
}
}
});
//Load build files from public/manifest.json
grunt.registerTask('loadManifestFiles', 'Load all build files from public/manifest.json', function(){
var files = grunt.file.readJSON('./website/public/manifest.json');
//Load build files from client/manifest.json
grunt.registerTask('loadManifestFiles', 'Load all build files from client/manifest.json', function(){
var files = grunt.file.readJSON('./website/client/manifest.json');
var uglify = {};
var cssmin = {};
@@ -184,7 +101,7 @@ module.exports = function(grunt) {
_.each(files[key].js, function(val){
var path = "./";
if( val.indexOf('common/') == -1)
path = './website/public/';
path = './website/client/';
js.push(path + val);
});
@@ -193,7 +110,7 @@ module.exports = function(grunt) {
_.each(files[key].css, function(val){
var path = "./";
if( val.indexOf('common/') == -1) {
path = (val == 'app.css' || val == 'static.css') ? './website/build/' : './website/public/';
path = (val == 'app.css' || val == 'static.css') ? './website/build/' : './website/client/';
}
css.push(path + val)
});
@@ -205,51 +122,29 @@ module.exports = function(grunt) {
grunt.config.set('cssmin.build.files', cssmin);
// Rewrite urls to relative path
grunt.config.set('cssmin.build.options', {'target': 'website/public/css/whatever-css.css'});
grunt.config.set('cssmin.build.options', {'target': 'website/client/css/whatever-css.css'});
});
// Register tasks.
grunt.registerTask('compile:sprites', ['clean:sprite', 'sprite', 'cssmin']);
grunt.registerTask('build:prod', ['loadManifestFiles', 'clean:build', 'browserify', 'uglify', 'stylus', 'cssmin', 'copy:build', 'hashres','prepare:staticNewStuff']);
grunt.registerTask('build:dev', ['browserify', 'stylus', 'prepare:staticNewStuff']);
grunt.registerTask('build:prod', ['loadManifestFiles', 'clean:build', 'uglify', 'stylus', 'cssmin', 'copy:build', 'hashres']);
grunt.registerTask('build:dev', ['cssmin', 'stylus']);
grunt.registerTask('build:test', ['test:prepare:translations', 'build:dev']);
grunt.registerTask('run:dev', [ 'build:dev', 'concurrent' ]);
grunt.registerTask('test:prepare:translations', function() {
require('coffee-script');
var i18n = require('./website/src/i18n'),
var i18n = require('./website/server/libs/api-v3/i18n'),
fs = require('fs');
fs.writeFileSync('test/spec/mocks/translations.js',
"if(!window.env) window.env = {};\n" +
"window.env.translations = " + JSON.stringify(i18n.translations['en']) + ';');
});
grunt.registerTask('prepare:staticNewStuff', function() {
var jade = require('jade'),
fs = require('fs');
fs.writeFileSync(
'./website/public/new-stuff.html',
jade.compileFile('./website/views/shared/new-stuff.jade')()
);
});
if(process.env.NODE_ENV == 'production')
grunt.registerTask('default', ['build:prod']);
else
grunt.registerTask('default', ['build:dev']);
// Load tasks
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-stylus');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-nodemon');
grunt.loadNpmTasks('grunt-concurrent');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-spritesmith');
grunt.loadNpmTasks('grunt-hashres');
grunt.loadNpmTasks('grunt-karma');
+1 -1
View File
@@ -1 +1 @@
web: ./node_modules/.bin/grunt nodemon;
web: node ./website/transpiled-babel/index.js
+23 -5
View File
@@ -1,12 +1,30 @@
HabitRPG [![Build Status](https://travis-ci.org/HabitRPG/habitrpg.png?branch=develop)](https://travis-ci.org/HabitRPG/habitrpg) [![Code Climate](https://codeclimate.com/github/HabitRPG/habitrpg.png)](https://codeclimate.com/github/HabitRPG/habitrpg) [![Coverage Status](https://coveralls.io/repos/HabitRPG/habitrpg/badge.svg?branch=develop)](https://coveralls.io/r/HabitRPG/habitrpg?branch=develop) [![Bountysource](https://api.bountysource.com/badge/tracker?tracker_id=68393)](https://www.bountysource.com/trackers/68393-habitrpg?utm_source=68393&utm_medium=shield&utm_campaign=TRACKER_BADGE) [![Dependency Status](https://gemnasium.com/HabitRPG/habitrpg.svg)](https://gemnasium.com/HabitRPG/habitrpg)
Habitica [![Build Status](https://travis-ci.org/HabitRPG/habitrpg.svg?branch=develop)](https://travis-ci.org/HabitRPG/habitrpg) [![Code Climate](https://codeclimate.com/github/HabitRPG/habitrpg.svg)](https://codeclimate.com/github/HabitRPG/habitrpg) [![Coverage Status](https://coveralls.io/repos/HabitRPG/habitrpg/badge.svg?branch=develop)](https://coveralls.io/r/HabitRPG/habitrpg?branch=develop) [![Bountysource](https://api.bountysource.com/badge/tracker?tracker_id=68393)](https://www.bountysource.com/trackers/68393-habitrpg?utm_source=68393&utm_medium=shield&utm_campaign=TRACKER_BADGE)
===============
[HabitRPG](https://habitrpg.com) is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.
[Habitica](https://habitica.com) is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.
We need more programmers! Your assistance will be greatly appreciated.
For an introduction to the technologies used and how the software is organised, refer to [Contributing to HabitRPG](http://habitrpg.wikia.com/wiki/Contributing_to_HabitRPG#Coders_.28Web_.26_Mobile.29) - "Coders (Web & Mobile)" section.
For an introduction to the technologies used and how the software is organized, refer to [Contributing to Habitica](http://habitica.wikia.com/wiki/Contributing_to_Habitica#Coders_.28Web_.26_Mobile.29) - "Coders (Web & Mobile)" section.
To set up a local install of HabitRPG for development and testing, see [Setting up HabitRPG locally](http://habitrpg.wikia.com/wiki/Setting_up_HabitRPG_locally), which contains instructions for Windows, *nix / Mac OS, and Vagrant.
To set up a local install of Habitica for development and testing, see [Setting up Habitica Locally](http://habitica.wikia.com/wiki/Setting_up_Habitica_Locally), which contains instructions for Windows, *nix / Mac OS, and Vagrant.
Then read [Guidance for Blacksmiths](http://habitrpg.wikia.com/wiki/Guidance_for_Blacksmiths) for additional instructions and useful tips.
Then read [Guidance for Blacksmiths](http://habitica.wikia.com/wiki/Guidance_for_Blacksmiths) for additional instructions and useful tips.
## Debug Scripts
In the `./debug-scripts/` folder, there are a few files. Here's a sample:
```bash
grant-all-equipment.js
grant-all-mounts.js
grant-all-pets.js
```
You can run them by doing:
```bash
node debug-scripts/name-of-script.js
```
If there are more arguments required to make the script work, it will print out the usage and an explanation of what the script does.
+4 -4
View File
@@ -1,11 +1,11 @@
# Vagrant #
Vagrant is a system to create reproducible and portable development
environments. Because of the variety of systems used for HabitRPG
environments. Because of the variety of systems used for Habitica
development and the various issues developers may encounter setting up
HabitRPG on them, vagrant provides a single development enviroment with
Habitica on them, vagrant provides a single development enviroment with
minimal dependencies on the developer's local platform. It can be used
on a variety of systems including Windows, Mac OS X, and Linux.
Instructions for using the HabitRPG Vagrant environment are in
[Setting up HabitRPG locally](http://habitrpg.wikia.com/wiki/Setting_up_HabitRPG_locally).
Instructions for using the Habitica Vagrant environment are in
[Setting up Habitica Locally](http://habitica.wikia.com/wiki/Setting_up_Habitica_Locally).
Vendored
-18
View File
@@ -1,18 +0,0 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider "virtualbox" do |v|
v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"]
end
config.vm.box = "thepeopleseason/habitrpg"
config.ssh.forward_agent = true
config.vm.hostname = "habitrpg"
config.vm.network "forwarded_port", guest: 3000, host: 3000, auto_correct: true
config.vm.usable_port_range = (3000..3050)
config.vm.provision :shell, :path => "vagrant.sh"
end
+20
View File
@@ -0,0 +1,20 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider "virtualbox" do |v|
v.memory = 768
v.cpus = 1
v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"]
end
config.vm.box = "thepeopleseason/habitrpg"
config.ssh.forward_agent = true
config.vm.hostname = "habitrpg"
config.vm.network "forwarded_port", guest: 3000, host: 3000, auto_correct: true
config.vm.usable_port_range = (3000..3050)
config.vm.provision :shell, :path => "vagrant_scripts/vagrant.sh"
end
-34
View File
@@ -1,34 +0,0 @@
<a name="">My app - Changelog</a>
# (2015-05-08)
## Bug Fixes
- **Spring:** WHO IS LESLIE
([6685e935](watch/commits/6685e93554a1274dedb55dae054e787fb80eb440))
- **invite-friends:** text should be valid for both parties and guilds
([54e82a14](watch/commits/54e82a14a252c3b9923449a7ef7cee6033a5d160))
- **mystery:** It's 2015 now, Sabe
([00252f20](watch/commits/00252f200481f06de9bccd1e55275d5366b03919))
- **scoring:** move gainMP into score
([2fc0cb8f](watch/commits/2fc0cb8fa1b3b5975c16653cb110be2f03b5427e))
- **slimes:** Tweaks and missing sprite
([7d1a58ca](watch/commits/7d1a58ca002af9dac19aba65d6465bd23b28d649))
## Features
- **Spring:** Flung
([d50d4ad8](watch/commits/d50d4ad8bb0f89e39ceb6562e0f8f392f94b5444))
- **emails:** add support for weekly recap emails
([37f7db3c](watch/commits/37f7db3c4e3859d03fd55a44e63819e273a06442))
- **i18n:** upload japanese, serbian and chinese (taiwan)
([ee7ba19e](watch/commits/ee7ba19ed17e72b33cbef8a324266617d384f852))
- **mystery:** April Subscribee Items
([7a7fc968](watch/commits/7a7fc96818ffd7f92738e8c6cc8a59e48d60597d))
- **pets:** Slime Quest
([f13c6cba](watch/commits/f13c6cba0026c645b19a0b1355ba2c5b27f80878))
- **quests:** Boss damage from Habits
([43dcded0](watch/commits/43dcded051b602d8a4efc30eef45365abfd238b4))
- **scoring:** MP gain from Habits and Dailies
([7b22244f](watch/commits/7b22244f0123cf649c9f2aada0811f35a565688d))
-8
View File
@@ -1,8 +0,0 @@
# What's This?
I'm consolidating @litenull's rewrite branch with the old code, and removing files from both sources once they've been
successfully merged into the new platform. While @litenull's "from scratch" approach was really clean, it will take
us longer to implemente all the original features. This approach will (1) let us leverage code we already have, (2) merge
in litenull's hard work from the last few weeks.
Once this archive/ directory is completely empty, we should be fully merged and ready to deploy the rewrite!
-46
View File
@@ -1,46 +0,0 @@
_ = require 'lodash'
moment = require 'moment'
###
Loads JavaScript files from public/vendor/*
Use require() to min / concatinate for faster page load
###
loadJavaScripts = (model) ->
# Turns out you can't have expressions in browserify require() statements
#vendor = '../../public/vendor'
#require "#{vendor}/jquery-ui-1.10.2/jquery-1.9.1"
###
Internal Scripts
###
require "../vendor/jquery.cookie.min.js"
require "../vendor/bootstrap/js/bootstrap.min.js"
require "../vendor/datepicker/js/bootstrap-datepicker"
require "../vendor/bootstrap-tour/bootstrap-tour"
unless (model.get('_mobileDevice') is true)
require "../vendor/sticky"
# note: external script loading is handled in app.on('render') near the bottom of this file (see https://groups.google.com/forum/?fromgroups=#!topic/derbyjs/x8FwdTLEuXo)
# jquery sticky header on scroll, no need for position fixed
initStickyHeader = (model) ->
$('.header-wrap').sticky({topSpacing:0})
module.exports.app = (appExports, model, app) ->
app.on 'render', (ctx) ->
#restoreRefs(model)
unless model.get('_mobileDevice')
setupTooltips(model)
initStickyHeader(model)
setupSortable(model)
$('.datepicker').datepicker({autoclose:true, todayBtn:true})
.on 'changeDate', (ev) ->
#for some reason selecting a date doesn't fire a change event on the field, meaning our changes aren't saved
model.at(ev.target).set 'date', moment(ev.date).format('MM/DD/YYYY')
-239
View File
@@ -1,239 +0,0 @@
_ = require 'lodash'
{helpers} = require 'habitrpg-shared'
async = require 'async'
module.exports.app = (app) ->
###
Sync any updates to challenges since last refresh. Do it after cron, so we don't punish them for new tasks
This is challenge->user sync. user->challenge happens when user interacts with their tasks
###
app.on 'ready', (model) ->
window.setTimeout ->
_.each model.get('groups'), (g) ->
if (@uid in g.members) and g.challenges
_.each(g.challenges, ->app.challenges.syncChalToUser g)
true
, 500
###
Sync user to challenge (when they score, add to statistics)
###
app.model.on "change", "_page.user.priv.tasks.*.value", (id, value, previous, passed) ->
### Sync to challenge, but do it later ###
async.nextTick =>
model = app.model
ctx = {model: model}
task = model.at "_page.user.priv.tasks.#{id}"
tobj = task.get()
pub = model.get "_page.user.pub"
if (chalTask = helpers.taskInChallenge.call ctx, tobj)? and chalTask.get()
chalTask.increment "value", value - previous
chal = model.at "groups.#{tobj.group.id}.challenges.#{tobj.challenge}"
chalUser = -> helpers.indexedAt.call(ctx, chal.path(), 'members', {id:pub.id})
cu = chalUser()
unless cu?.get()
chal.push "members", {id: pub.id, name: model.get(pub.profile.name)}
cu = model.at chalUser()
else
cu.set 'name', pub.profile.name # update their name incase it changed
cu.set "#{tobj.type}s.#{tobj.id}",
value: tobj.value
history: tobj.history
###
Render graphs for user scores when the "Challenges" tab is clicked
###
###
TODO
1) on main tab click or party
* sort & render graphs for party
2) guild -> all guilds
3) public -> all public
###
###
$('#profile-challenges-tab-link').on 'shown', ->
async.each _.toArray(model.get('groups')), (g) ->
async.each _.toArray(g.challenges), (chal) ->
async.each _.toArray(chal.tasks), (task) ->
async.each _.toArray(chal.members), (member) ->
if (history = member?["#{task.type}s"]?[task.id]?.history) and !!history
data = google.visualization.arrayToDataTable _.map(history, (h)-> [h.date,h.value])
options =
backgroundColor: { fill:'transparent' }
width: 150
height: 50
chartArea: width: '80%', height: '80%'
axisTitlePosition: 'none'
legend: position: 'bottom'
hAxis: gridlines: color: 'transparent' # since you can't seem to *remove* gridlines...
vAxis: gridlines: color: 'transparent'
chart = new google.visualization.LineChart $(".challenge-#{chal.id}-member-#{member.id}-history-#{task.id}")[0]
chart.draw(data, options)
###
app.fn
challenges:
###
Create
###
create: (e,el) ->
[type, gid] = [$(el).attr('data-type'), $(el).attr('data-gid')]
cid = @model.id()
@model.set '_page.new.challenge',
id: cid
name: ''
habits: []
dailys: []
todos: []
rewards: []
user:
uid: @uid
name: @pub.get('profile.name')
group: {type, id:gid}
timestamp: +new Date
###
Save
###
save: ->
newChal = @model.get('_page.new.challenge')
[gid, cid] = [newChal.group.id, newChal.id]
@model.push "_page.lists.challenges.#{gid}", newChal, ->
app.browser.growlNotification('Challenge Created','success')
app.challenges.discard()
app.browser.resetDom() # something is going absolutely haywire here, all model data at end of reflist after chal created
###
Toggle Edit
###
toggleEdit: (e, el) ->
path = "_page.editing.challenges.#{$(el).attr('data-id')}"
@model.set path, !@model.get(path)
###
Discard
###
discard: ->
@model.del '_page.new.challenge'
###
Delete
###
delete: (e) ->
return unless confirm("Delete challenge, are you sure?") is true
e.at().remove()
###
Add challenge name as a tag for user
###
syncChalToUser: (chal) ->
return unless chal
### Sync tags ###
tags = @priv.get('tags') or []
idx = _.findIndex tags, {id: chal.id}
if ~idx and (tags[idx].name isnt chal.name)
### update the name - it's been changed since ###
@priv.set "tags.#{idx}.name", chal.name
else
@priv.push 'tags', {id: chal.id, name: chal.name, challenge: true}
tags = {}; tags[chal.id] = true
_.each chal.habits.concat(chal.dailys.concat(chal.todos.concat(chal.rewards))), (task) =>
_.defaults task, { tags, challenge: chal.id, group: {id: chal.group.id, type: chal.group.type} }
path = "tasks.#{task.id}"
if @priv.get path
@priv.set path, _.defaults(@priv.get(path), task)
else
@model.push "_page.lists.tasks.#{@uid}.#{task.type}s", task
true
###
Subscribe
###
subscribe: (e) ->
chal = e.get()
### Add all challenge's tasks to user's tasks ###
currChallenges = @pub.get('challenges')
@pub.unshift('challenges', chal.id) unless currChallenges and ~currChallenges.indexOf(chal.id)
e.at().push "members",
id: @uid
name: @pub.get('profile.name')
app.challenges.syncChalToUser(chal)
###
--------------------------
Unsubscribe functions
--------------------------
###
unsubscribe: (chal, keep=true) ->
### Remove challenge from user ###
i = @pub.get('challenges')?.indexOf(chal.id)
if i? and ~i
@pub.remove("challenges", i, 1)
### Remove user from challenge ###
if ~(i = _.findIndex chal.members, {id: @uid})
@model.remove "groups.#{chal.group.id}.challenges.#{chal.id}.members", i, 1
### Remove tasks from user ###
async.each chal.habits.concat(chal.dailys.concat(chal.todos.concat(chal.rewards))), (task) =>
if keep is true
@priv.del "tasks.#{task.id}.challenge"
else
path = "_page.lists.tasks.#{@uid}.#{task.type}s"
if ~(i = _.findIndex(@model.get(path), {id:task.id}))
@model.remove(path, i, 1)
true
taskUnsubscribe: (e, el) ->
###
since the challenge was deleted, we don't have its data to unsubscribe from - but we have the vestiges on the task
FIXME this is a really dumb way of doing this
###
tasks = @priv.get('tasks')
tobj = tasks[$(el).attr("data-tid")]
deletedChal =
id: tobj.challenge
members: [@uid]
habits: _.where tasks, {type: 'habit', challenge: tobj.challenge}
dailys: _.where tasks, {type: 'daily', challenge: tobj.challenge}
todos: _.where tasks, {type: 'todo', challenge: tobj.challenge}
rewards: _.where tasks, {type: 'reward', challenge: tobj.challenge}
switch $(el).attr('data-action')
when 'keep'
@priv.del "tasks.#{tobj.id}.challenge"
@priv.del "tasks.#{tobj.id}.group"
when 'keep-all'
app.challenges.unsubscribe.call @, deletedChal, true
when 'remove'
path = "_page.lists.tasks.#{@uid}.#{tobj.type}s"
if ~(i = _.findIndex @model.get(path), {id: tobj.id})
@model.remove path, i
when 'remove-all'
app.challenges.unsubscribe.call @, deletedChal, false
challengeUnsubscribe: (e, el) ->
$(el).popover('destroy').popover({
html: true
placement: 'top'
trigger: 'manual'
title: 'Unsubscribe From Challenge And:'
content: """
<a class=challenge-unsubscribe-and-remove>Remove Tasks</a><br/>
<a class=challenge-unsubscribe-and-keep>Keep Tasks</a><br/>
<a class=challenge-unsubscribe-cancel>Cancel</a><br/>
"""
}).popover('show')
$('.challenge-unsubscribe-and-remove').click => app.challenges.unsubscribe.call @, e.get(), false
$('.challenge-unsubscribe-and-keep').click => app.challenges.unsubscribe.call @, e.get(), true
$('[class^=challenge-unsubscribe]').click => $(el).popover('destroy')
-22
View File
@@ -1,22 +0,0 @@
_ = require 'lodash'
module.exports.app = (appExports, model) ->
user = model.at('_user')
appExports.filtersDeleteTag = (e, el) ->
tags = user.get('tags')
tag = e.at "_user.tags." + $(el).attr('data-index')
tagId = tag.get('id')
###something got corrupted, let's clear the corrupt tags###
unless tagId
user.set 'tags', _.filter( tags, ((t)-> t?.id) )
user.set 'filters', {}
return
model.del "_user.filters.#{tagId}"
tag.remove()
### remove tag from all tasks###
_.each user.get("tasks"), (task) -> user.del "tasks.#{task.id}.tags.#{tagId}"; true
-139
View File
@@ -1,139 +0,0 @@
_ = require('lodash')
helpers = require('habitrpg-shared/script/helpers')
module.exports.app = (appExports, model, app) ->
browser = require './browser'
_currentTime = model.at '_currentTime'
_currentTime.setNull +new Date
# Every 60 seconds, reset the current time so that the chat can update relative times
setInterval (->_currentTime.set +new Date), 60000
appExports.groupCreate = (e,el) ->
type = $(el).attr('data-type')
newGroup =
name: model.get("_new.group.name")
description: model.get("_new.group.description")
leader: user.get('id')
members: [user.get('id')]
type: type
# parties - free
if type is 'party'
return model.add 'groups', newGroup, ->location.reload()
# guilds - 4G
unless user.get('balance') >= 1
return $('#more-gems-modal').modal 'show'
if confirm "Create Guild for 4 Gems?"
newGroup.privacy = (model.get("_new.group.privacy") || 'public') if type is 'guild'
newGroup.balance = 1 # they spent $ to open the guild, it goes into their guild bank
model.add 'groups', newGroup, ->
user.incr 'balance', -1, ->location.reload()
appExports.toggleGroupEdit = (e, el) ->
path = "_editing.groups.#{$(el).attr('data-gid')}"
model.set path, !model.get(path)
appExports.toggleLeaderMessageEdit = (e, el) ->
path = "_editing.leaderMessage.#{$(el).attr('data-gid')}"
model.set path, !model.get(path)
appExports.groupAddWebsite = (e, el) ->
test = e.get()
e.at().unshift 'websites', model.get('_newGroupWebsite')
model.del '_newGroupWebsite'
appExports.groupInvite = (e,el) ->
uid = model.get('_groupInvitee').replace(/[\s"]/g, '')
model.set '_groupInvitee', ''
return if _.isEmpty(uid)
model.query('users').publicInfo([uid]).fetch (err, profiles) ->
throw err if err
profile = profiles.at(0).get()
return model.set("_groupError", "User with id #{uid} not found.") unless profile
model.query('groups').withMember(uid).fetch (err, g) ->
throw err if err
group = e.get(); groups = g.get()
{type, name} = group; gid = group.id
groupError = (msg) -> model.set("_groupError", msg)
invite = ->
$.bootstrapGrowl "Invitation Sent."
switch type
when 'guild' then model.push "users.#{uid}.invitations.guilds", {id:gid, name}, ->location.reload()
when 'party' then model.set "users.#{uid}.invitations.party", {id:gid, name}, ->location.reload()
switch type
when 'guild'
if profile.invitations?.guilds and _.find(profile.invitations.guilds, {id:gid})
return groupError("User already invited to that group")
else if uid in group.members
return groupError("User already in that group")
else invite()
when 'party'
if profile.invitations?.party
return groupError("User already pending invitation.")
else if _.find(groups, {type:'party'})
return groupError("User already in a party.")
else invite()
appExports.acceptInvitation = (e,el) ->
gid = e.get('id')
if $(el).attr('data-type') is 'party'
user.set 'invitations.party', null, ->joinGroup(gid)
else
e.at().remove ->joinGroup(gid)
appExports.rejectInvitation = (e, el) ->
clear = -> browser.resetDom(model)
if e.at().path().indexOf('party') != -1
model.del e.at().path(), clear
else e.at().remove clear
appExports.groupLeave = (e,el) ->
if confirm("Leave this group, are you sure?") is true
uid = user.get('id')
group = model.at "groups.#{$(el).attr('data-id')}"
index = group.get('members').indexOf(uid)
if index != -1
group.remove 'members', index, 1, ->
updated = group.get()
# last member out, delete the party
if _.isEmpty(updated.members) and (updated.type is 'party')
group.del ->location.reload()
# assign new leader, so the party is editable #TODO allow old leader to assign new leader, this is just random
else if (updated.leader is uid)
group.set "leader", updated.members[0], ->location.reload()
else location.reload()
###
Chat Functionality
###
model.on 'unshift', '_party.chat', -> $('.chat-message').tooltip()
model.on 'unshift', '_habitrpg.chat', -> $('.chat-message').tooltip()
appExports.chatKeyup = (e, el, next) ->
return next() unless e.keyCode is 13
appExports.sendChat(e, el)
appExports.deleteChatMessage = (e) ->
if confirm("Delete chat message?") is true
e.at().remove() #requires the {#with}
app.on 'render', (ctx) ->
$('#party-tab-link').on 'shown', (e) ->
messages = model.get('_party.chat')
return false unless messages?.length > 0
model.set '_user.party.lastMessageSeen', messages[0].id
appExports.gotoPartyChat = ->
model.set '_gamePane', true, ->
$('#party-tab-link').tab('show')
appExports.assignGroupLeader = (e, el) ->
newLeader = model.get('_new.groupLeader')
if newLeader and (confirm("Assign new leader, you sure?") is true)
e.at().set('leader', newLeader, ->browser.resetDom(model)) if newLeader
-7
View File
@@ -1,7 +0,0 @@
i18n = require 'derby-i18n'
i18n.plurals.add 'he', (n) -> n
i18n.plurals.add 'bg', (n) -> n
i18n.plurals.add 'nl', (n) -> n
module.exports = i18n
-20
View File
@@ -1,20 +0,0 @@
# Translations
i18n = require './i18n'
i18n.localize app,
availableLocales: ['en', 'he', 'bg', 'nl']
defaultLocale: 'en'
urlScheme: false
checkHeader: true
# ========== CONTROLLER FUNCTIONS ==========
ready (model) ->
misc.fixCorruptUser(model) # https://github.com/lefnire/habitrpg/issues/634
# used for things like remove website, chat, etc
exports.removeAt = (e, el) ->
if (confirmMessage = $(el).attr 'data-confirm')?
return unless confirm(confirmMessage) is true
e.at().remove()
browser.resetDom(model) if $(el).attr('data-refresh')
-39
View File
@@ -1,39 +0,0 @@
items = require 'habitrpg-shared/script/items'
_ = require 'lodash'
updateStore = (model) ->
nextItems = items.updateStore(model.get('_user'))
_.each nextItems, (v,k) -> model.set("_items.next.#{k}",v); true
###
server exports
###
module.exports.server = (model) ->
model.set '_items', items.items
updateStore(model)
###
app exports
###
module.exports.app = (appExports, model) ->
misc = require './misc'
model.on "set", "_user.items.*", -> updateStore(model)
appExports.buyItem = (e, el) ->
misc.batchTxn model, (uObj, paths) ->
ret = items.buyItem uObj, $(el).attr('data-type'), {paths}
alert("Not enough GP") if ret is false
appExports.activateRewardsTab = ->
model.set '_activeTabRewards', true
model.set '_activeTabPets', false
appExports.activatePetsTab = ->
model.set '_activeTabPets', true
model.set '_activeTabRewards', false
-152
View File
@@ -1,152 +0,0 @@
_ = require 'lodash'
algos = require 'habitrpg-shared/script/algos'
items = require('habitrpg-shared/script/items').items
helpers = require('habitrpg-shared/script/helpers')
#TODO put this in habitrpg-shared
###
We can't always use refLists, but we often still need to get a positional path by id: eg, users.1234.tasks.5678.value
For arrays (which use indexes, not id-paths), here's a helper function so we can run indexedPath('users',:user.id,'tasks',:task.id,'value)
###
indexedPath = ->
_.reduce arguments, (m,v) =>
return v if !m #first iteration
return "#{m}.#{v}" if _.isString v #string paths
return "#{m}." + _.findIndex(@model.get(m),v)
, ''
taskInChallenge = (task) ->
return undefined unless task?.challenge
@model.at indexedPath.call(@, "groups.#{task.group.id}.challenges", {id:task.challenge}, "#{task.type}s", {id:task.id})
###
algos.score wrapper for habitrpg-helpers to work in Derby. We need to do model.set() instead of simply setting the
object properties, and it's very difficult to diff the two objects and find dot-separated paths to set. So we to first
clone our user object (if we don't do that, it screws with model.on() listeners, ping Tyler for an explaination),
perform the updates while tracking paths, then all the values at those paths
###
module.exports.score = (model, taskId, direction, allowUndo=false) ->
drop = undefined
delta = batchTxn model, (uObj, paths) ->
tObj = uObj.tasks[taskId]
# Stuff for undo
if allowUndo
tObjBefore = _.cloneDeep tObj
tObjBefore.completed = !tObjBefore.completed if tObjBefore.type in ['daily', 'todo']
previousUndo = model.get('_undo')
clearTimeout(previousUndo.timeoutId) if previousUndo?.timeoutId
timeoutId = setTimeout (-> model.del('_undo')), 20000
model.set '_undo', {stats:_.cloneDeep(uObj.stats), task:tObjBefore, timeoutId: timeoutId}
delta = algos.score(uObj, tObj, direction, {paths})
model.set('_streakBonus', uObj._tmp.streakBonus) if uObj._tmp?.streakBonus
drop = uObj._tmp?.drop
# Update challenge statistics
# FIXME put this in it's own batchTxn, make batchTxn model.at() ref aware (not just _user)
# FIXME use reflists for users & challenges
if (chalTask = taskInChallenge.call({model}, tObj)) and chalTask?.get()
model._dontPersist = false
chalTask.incr "value", delta
chal = model.at indexedPath.call({model}, "groups.#{tObj.group.id}.challenges", {id:tObj.challenge})
chalUser = -> indexedPath.call({model}, chal.path(), 'users', {id:uObj.id})
cu = model.at chalUser()
unless cu?.get()
chal.push "users", {id: uObj.id, name: helpers.username(uObj.auth, uObj.profile?.name)}
cu = model.at chalUser()
else
cu.set 'name', helpers.username(uObj.auth, uObj.profile?.name) # update their name incase it changed
cu.set "#{tObj.type}s.#{tObj.id}",
value: tObj.value
history: tObj.history
model._dontPersist = true
, done:->
if drop and $?
model.set '_drop', drop
$('#item-dropped-modal').modal 'show'
delta
###
Cleanup task-corruption (null tasks, rogue/invisible tasks, etc)
Obviously none of this should be happening, but we'll stop-gap until we can find & fix
Gotta love refLists! see https://github.com/lefnire/habitrpg/issues/803 & https://github.com/lefnire/habitrpg/issues/6343
###
module.exports.fixCorruptUser = (model) ->
user = model.at('_user')
tasks = user.get('tasks')
## Remove corrupted tasks
_.each tasks, (task, key) ->
unless task?.id? and task?.type?
user.del("tasks.#{key}")
delete tasks[key]
true
resetDom = false
batchTxn model, (uObj, paths, batch) ->
## fix https://github.com/lefnire/habitrpg/issues/1086
uniqPets = _.uniq(uObj.items.pets)
batch.set('items.pets', uniqPets) if !_.isEqual(uniqPets, uObj.items.pets)
if uObj.invitations?.guilds
uniqInvites = _.uniq(uObj.invitations.guilds)
batch.set('invitations.guilds', uniqInvites) if !_.isEqual(uniqInvites, uObj.invitations.guilds)
## Task List Cleanup
['habit','daily','todo','reward'].forEach (type) ->
# 1. remove duplicates
# 2. restore missing zombie tasks back into list
idList = uObj["#{type}Ids"]
taskIds = _.pluck( _.where(tasks, {type}), 'id')
union = _.union idList, taskIds
# 2. remove empty (grey) tasks
preened = _.filter union, (id) -> id and _.contains(taskIds, id)
# There were indeed issues found, set the new list
if !_.isEqual(idList, preened)
batch.set("#{type}Ids", preened)
console.error uObj.id + "'s #{type}s were corrupt."
true
resetDom = !_.isEmpty(paths)
require('./browser').resetDom(model) if resetDom
module.exports.viewHelpers = (view) ->
#misc
view.fn "percent", (x, y) ->
x=1 if x==0
Math.round(x/y*100)
view.fn 'indexOf', (str1, str2) ->
return false unless str1 && str2
str1.indexOf(str2) != -1
view.fn "round", Math.round
view.fn "floor", Math.floor
view.fn "ceil", Math.ceil
view.fn "truarr", (num) -> num-1
view.fn 'count', (arr) -> arr?.length or 0
view.fn 'int',
get: (num) -> num
set: (num) -> [parseInt(num)]
view.fn 'indexedPath', indexedPath
#iCal
view.fn "encodeiCalLink", helpers.encodeiCalLink
#User
view.fn "gems", (balance) -> balance * 4
#Challenges
view.fn 'taskInChallenge', (task) ->
taskInChallenge.call(@,task)?.get()
view.fn 'taskAttrFromChallenge', (task, attr) ->
taskInChallenge.call(@,task)?.get(attr)
view.fn 'brokenChallengeLink', (task) ->
task?.challenge and !(taskInChallenge.call(@,task)?.get())
view.fn 'challengeMemberScore', (member, tType, tid) ->
Math.round(member["#{tType}s"]?[tid]?.value)
-73
View File
@@ -1,73 +0,0 @@
_ = require 'lodash'
{ randomVal } = require 'habitrpg-shared/script/helpers'
{ pets, hatchingPotions } = require('habitrpg-shared/script/items').items
###
app exports
###
module.exports.app = (appExports, model) ->
user = model.at '_user'
appExports.chooseEgg = (e, el) ->
model.ref '_hatchEgg', e.at()
appExports.hatchEgg = (e, el) ->
hatchingPotionName = $(el).children('select').val()
myHatchingPotion = user.get 'items.hatchingPotions'
egg = model.get '_hatchEgg'
eggs = user.get 'items.eggs'
myPets = user.get 'items.pets'
hatchingPotionIdx = myHatchingPotion.indexOf hatchingPotionName
eggIdx = eggs.indexOf egg
return alert "You don't own that hatching potion yet, complete more tasks!" if hatchingPotionIdx is -1
return alert "You don't own that egg yet, complete more tasks!" if eggIdx is -1
return alert "You already have that pet, hatch a different combo." if myPets and myPets.indexOf("#{egg.name}-#{hatchingPotionName}") != -1
user.push 'items.pets', egg.name + '-' + hatchingPotionName, ->
eggs.splice eggIdx, 1
myHatchingPotion.splice hatchingPotionIdx, 1
user.set 'items.eggs', eggs
user.set 'items.hatchingPotions', myHatchingPotion
alert 'Your egg hatched! Visit your stable to equip your pet.'
#FIXME Bug: this removes from the array properly in the browser, but on refresh is has removed all items from the arrays
# user.remove 'items.hatchingPotions', hatchingPotionIdx, 1
# user.remove 'items.eggs', eggIdx, 1
appExports.choosePet = (e, el, next) ->
petStr = $(el).attr('data-pet')
return next() if user.get('items.pets').indexOf(petStr) == -1
# If user's pet is already active, deselect it
return user.set 'items.currentPet', {} if user.get('items.currentPet.str') is petStr
[name, modifier] = petStr.split('-')
pet = _.find pets, {name: name}
pet.modifier = modifier
pet.str = petStr
user.set 'items.currentPet', pet
appExports.buyHatchingPotion = (e, el) ->
name = $(el).attr 'data-hatchingPotion'
newHatchingPotion = _.find hatchingPotions, {name: name}
gems = user.get('balance') * 4
if gems >= newHatchingPotion.value
if confirm "Buy this hatching potion with #{newHatchingPotion.value} of your #{gems} Gems?"
user.push 'items.hatchingPotions', newHatchingPotion.name
user.set 'balance', (gems - newHatchingPotion.value) / 4
else
$('#more-gems-modal').modal 'show'
appExports.buyEgg = (e, el) ->
name = $(el).attr 'data-egg'
newEgg = _.find pets, {name: name}
gems = user.get('balance') * 4
if gems >= newEgg.value
if confirm "Buy this egg with #{newEgg.value} of your #{gems} Gems?"
user.push 'items.eggs', newEgg
user.set 'balance', (gems - newEgg.value) / 4
else
$('#more-gems-modal').modal 'show'
-29
View File
@@ -1,29 +0,0 @@
algos = require 'habitrpg-shared/script/algos'
helpers = require 'habitrpg-shared/script/helpers'
_ = require 'lodash'
moment = require 'moment'
misc = require './misc'
appExports.clearCompleted = (e, el) ->
completedIds = _.pluck( _.where(model.get('_todoList'), {completed:true}), 'id')
todoIds = user.get('todoIds')
_.each completedIds, (id) -> user.del "tasks.#{id}"; true
user.set 'todoIds', _.difference(todoIds, completedIds)
###
Undo
###
appExports.undo = () ->
undo = model.get '_undo'
clearTimeout(undo.timeoutId) if undo?.timeoutId
model.del '_undo'
_.each undo.stats, (val, key) -> user.set "stats.#{key}", val; true
taskPath = "tasks.#{undo.task.id}"
_.each undo.task, (val, key) ->
return true if key in ['id', 'type'] # strange bugs in this world: https://workflowy.com/shared/a53582ea-43d6-bcce-c719-e134f9bf71fd/
if key is 'completed'
user.pass({cron:true}).set("#{taskPath}.completed",val)
else
user.set "#{taskPath}.#{key}", val
true
-95
View File
@@ -1,95 +0,0 @@
_ = require 'lodash'
{ randomVal } = require 'habitrpg-shared/script/helpers'
{ pets, hatchingPotions } = require('habitrpg-shared/script/items').items
###
Listeners to enabled flags, set notifications to the user when they've unlocked features
###
module.exports.app = (appExports, model) ->
user = model.at('_user')
alreadyShown = (before, after) -> !(!before and after is true)
showPopover = (selector, title, html, placement='bottom') ->
$(selector).popover('destroy')
html += " <a href='#' onClick=\"$('#{selector}').popover('hide');return false;\">[Close]</a>"
$(selector).popover({
title: title
placement: placement
trigger: 'manual'
html: true
content: html
}).popover 'show'
user.on 'set', 'flags.customizationsNotification', (after, before) ->
return if alreadyShown(before,after)
$('.main-herobox').popover('destroy') #remove previous popovers
html = "Click your avatar to customize your appearance."
showPopover '.main-herobox', 'Customize Your Avatar', html, 'bottom'
user.on 'set', 'flags.itemsEnabled', (after, before) ->
return if alreadyShown(before,after)
html = """
<img src='/vendor/BrowserQuest/client/img/1/chest.png' />
Congratulations, you have unlocked the Item Store! You can now buy weapons, armor, potions, etc. Read each item's comment for more information.
"""
showPopover 'div.rewards', 'Item Store Unlocked', html, 'left'
user.on 'set', 'flags.petsEnabled', (after, before) ->
return if alreadyShown(before,after)
html = """
<img src='/img/sprites/wolf_border.png' style='width:30px;height:30px;float:left;padding-right:5px' />
You have unlocked Pets! You can now buy pets with Gems (note, you replenish Gems with real-life money - so chose your pets wisely!)
"""
showPopover '#rewardsTabs', 'Pets Unlocked', html, 'left'
user.on 'set', 'flags.partyEnabled', (after, before) ->
return if user.get('party.current') or alreadyShown(before,after)
html = """
Be social, join a party and play Habit with your friends! You'll be better at your habits with accountability partners. Click User -> Options -> Party, and follow the instructions. LFG anyone?
"""
showPopover '.user-menu', 'Party System', html, 'bottom'
user.on 'set', 'flags.dropsEnabled', (after, before) ->
return if alreadyShown(before,after)
egg = randomVal pets
dontPersist = model._dontPersist
model._dontPersist = false
user.push 'items.eggs', egg
model._dontPersist = dontPersist
$('#drops-enabled-modal').modal 'show'
user.on 'push', 'items.pets', (after, before) ->
return if user.get('achievements.beastMaster')
if before >= 90 # evidently before is the count?
dontPersist = model._dontPersist; model._dontPersist = false
user.set 'achievements.beastMaster', true, (-> model._dontPersist = dontPersist)
$('#beastmaster-achievement-modal').modal('show')
user.on 'set', 'items.*', (after, before) ->
return if user.get('achievements.ultimateGear')
items = user.get('items')
if parseInt(items.weapon) >= 6 and parseInt(items.armor) >= 5 and parseInt(items.head) >= 5 and parseInt(items.shield) >= 5
dontPersist = model._dontPersist; model._dontPersist = false
user.set 'achievements.ultimateGear', true, (->model._dontPersist = dontPersist)
$('#max-gear-achievement-modal').modal('show')
user.on 'set', 'tasks.*.streak', (id, after, before) ->
if after > 0
# 21-day streak, as per the old philosophy of doign a thing 21-days in a row makes a habit
if (after % 21) is 0
dontPersist = model._dontPersist; model._dontPersist = false
user.incr 'achievements.streak', 1, (-> model._dontPersist = dontPersist)
$('#streak-achievement-modal').modal('show')
# they're undoing a task at the 21 mark, take back their badge
else if (before - after is 1) and (before % 21 is 0)
dontPersist = model._dontPersist; model._dontPersist = false
user.incr 'achievements.streak', -1, (-> model._dontPersist = dontPersist)
+27 -26
View File
@@ -9,39 +9,40 @@
"ignore": [
"**/.*",
"node_modules",
"public/bower_components",
"website/client/bower_components",
"test",
"tests"
],
"dependencies": {
"jquery": "~2.1.0",
"jquery.cookie": "~1.4.0",
"Angular-At-Directive": "snicker/Angular-At-Directive#c27bae207aa06d1e",
"BrowserQuest": "browserquest/BrowserQuest#c3a960b03031dad5d",
"angular": "1.3.9",
"angular-ui": "~0.4.0",
"angular-sanitize": "1.3.9",
"angular-bootstrap": "0.13.0",
"angular-filter": "0.5.1",
"angular-loading-bar": "0.6.0",
"angular-resource": "1.3.9",
"angular-ui-utils": "~0.1.0",
"angular-ui-select2": "git://github.com/angular-ui/ui-select2.git",
"angular-bootstrap": "~0.12.0",
"angular-loading-bar": "~0.6.0",
"bootstrap": "~3.1.0",
"bootstrap-growl": "git://github.com/ifightcrime/bootstrap-growl.git#master",
"bootstrap-tour": "~0.10.1",
"BrowserQuest": "git://github.com/browserquest/BrowserQuest.git",
"github-buttons": "git://github.com/mdo/github-buttons.git",
"marked": "~0.2.9",
"Angular-At-Directive": "git://github.com/snicker/Angular-At-Directive#master",
"js-emoji": "git://github.com/snicker/js-emoji#master",
"sticky": "*",
"swagger-ui": "git://github.com/wordnik/swagger-ui.git#v2.0.24",
"angular-sanitize": "1.3.9",
"angular-ui": "0.4.0",
"angular-ui-router": "0.2.13",
"angular-ui-select2": "angular-ui/ui-select2#afa6589a54cb72815f",
"angular-ui-utils": "0.1.0",
"bootstrap": "3.1.0",
"bootstrap-growl": "ifightcrime/bootstrap-growl#162daa41cd1155f",
"bootstrap-tour": "0.10.1",
"css-social-buttons": "samcollins/css-social-buttons#v1.1.1 ",
"github-buttons": "mdo/github-buttons#v3.0.0",
"hello": "1.5.0",
"jquery": "2.1.0",
"jquery-colorbox": "1.4.36",
"jquery-ui": "1.10.3",
"jquery.cookie": "1.4.0",
"js-emoji": "snicker/js-emoji#f25d8a303f",
"ngInfiniteScroll": "1.0.0",
"jquery-colorbox": "~1.4.36",
"pnotify": "~1.3.1",
"jquery-ui": "~1.10.3",
"hello": "~1.5.0",
"css-social-buttons": "https://github.com/samcollins/css-social-buttons.git",
"angular-filter": "~0.5.1",
"angular-ui-router": "~0.2.13"
"pnotify": "1.3.1",
"sticky": "*",
"swagger-ui": "wordnik/swagger-ui#v2.0.24",
"smart-app-banner": "78ef9c0679723b25be1a0ae04f7b4aef7cbced4f",
"habitica-markdown": "^1.1.0"
},
"devDependencies": {
"angular-mocks": "1.3.9"
+4
View File
@@ -0,0 +1,4 @@
{
"extends": "habitrpg/browser"
}
+2 -2
View File
@@ -1,6 +1,6 @@
# Common
Shared resources useful for the multiple HabitRPG repositories, that way all the repositories remain in-sync with common characteristics. Includes things like:
Shared resources useful for the multiple Habitica repositories, that way all the repositories remain in-sync with common characteristics. Includes things like:
* Assets - sprites, images, etc
* CSS - especially, esp. sprite-sheet mapping
@@ -12,5 +12,5 @@ Shared resources useful for the multiple HabitRPG repositories, that way all the
Because of some wonkiness with Heroku, the spritesheet compilation is not part of the production build process and must be done manually when new images are added by running:
``` bash
grunt compile:sprites
npm run sprites
```
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More